Class: PutAssetPropertyValueEntry

aws-greengrass-core-sdk.StreamManager~PutAssetPropertyValueEntry(entryId, assetId, propertyId, propertyAlias, propertyValues)

Contains a list of value updates for a IoTSiteWise asset property in the list of asset entries consumed by the BatchPutAssetPropertyValue API. See https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_BatchPutAssetPropertyValue.html.

Constructor

new PutAssetPropertyValueEntry(entryId, assetId, propertyId, propertyAlias, propertyValues)

Parameters:
Name Type Default Description
entryId String null The user specified ID for the entry. You can use this ID to identify which entries failed.
assetId String null The ID of the asset to update.
propertyId String null The ID of the asset property for this entry.
propertyAlias String null The property alias that identifies the property, such as an OPC-UA server data stream path (for example, /company/windfarm/3/turbine/7/temperature). For more information, see https://docs.aws.amazon.com/iot-sitewise/latest/userguide/connect-data-streams.html.
propertyValues Array.<aws-greengrass-core-sdk.StreamManager.AssetPropertyValue> null The list of property values to upload. You can specify up to 10 values.
Source:

Members

assetId

The ID of the asset to update.
Source:

assetId

Source:

entryId

The user specified ID for the entry. You can use this ID to identify which entries failed.
Source:

entryId

Source:

propertyAlias

The property alias that identifies the property, such as an OPC-UA server data stream path (for example, /company/windfarm/3/turbine/7/temperature). For more information, see https://docs.aws.amazon.com/iot-sitewise/latest/userguide/connect-data-streams.html.
Source:

propertyAlias

Source:

propertyId

The ID of the asset property for this entry.
Source:

propertyId

Source:

propertyValues

The list of property values to upload. You can specify up to 10 values.
Source:

propertyValues

Source:

Methods

withAssetId(value) → {aws-greengrass-core-sdk.StreamManager.PutAssetPropertyValueEntry}

Parameters:
Name Type Description
value String The ID of the asset to update.
Source:
Returns:
Type
aws-greengrass-core-sdk.StreamManager.PutAssetPropertyValueEntry

withEntryId(value) → {aws-greengrass-core-sdk.StreamManager.PutAssetPropertyValueEntry}

Parameters:
Name Type Description
value String The user specified ID for the entry. You can use this ID to identify which entries failed.
Source:
Returns:
Type
aws-greengrass-core-sdk.StreamManager.PutAssetPropertyValueEntry

withPropertyAlias(value) → {aws-greengrass-core-sdk.StreamManager.PutAssetPropertyValueEntry}

Parameters:
Name Type Description
value String The property alias that identifies the property, such as an OPC-UA server data stream path (for example, /company/windfarm/3/turbine/7/temperature). For more information, see https://docs.aws.amazon.com/iot-sitewise/latest/userguide/connect-data-streams.html.
Source:
Returns:
Type
aws-greengrass-core-sdk.StreamManager.PutAssetPropertyValueEntry

withPropertyId(value) → {aws-greengrass-core-sdk.StreamManager.PutAssetPropertyValueEntry}

Parameters:
Name Type Description
value String The ID of the asset property for this entry.
Source:
Returns:
Type
aws-greengrass-core-sdk.StreamManager.PutAssetPropertyValueEntry

withPropertyValues(value) → {aws-greengrass-core-sdk.StreamManager.PutAssetPropertyValueEntry}

Parameters:
Name Type Description
value Array.<aws-greengrass-core-sdk.StreamManager.AssetPropertyValue> The list of property values to upload. You can specify up to 10 values.
Source:
Returns:
Type
aws-greengrass-core-sdk.StreamManager.PutAssetPropertyValueEntry