Skip to content

ListAssetProperties

Source: src/AWS/IoTSiteWise/ListAssetProperties.ts

Runtime binding for iotsitewise:ListAssetProperties — page through the bound asset’s property summaries (ids, aliases, paths) from a deployed Lambda or Task.

Provide the ListAssetPropertiesHttp implementation layer on the Function effect, bind the asset in the init phase, then call the returned client at runtime. Pass filter: "ALL" to include properties inherited from composite models.

// init
const listProperties = yield* AWS.IoTSiteWise.ListAssetProperties(asset);
// runtime
const { assetPropertySummaries } = yield* listProperties({ filter: "ALL" });
// on the Function effect:
// .pipe(Effect.provide(AWS.IoTSiteWise.ListAssetPropertiesHttp))