You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::IoT::Types::PutAssetPropertyValueEntry
- Inherits:
-
Struct
- Object
- Struct
- Aws::IoT::Types::PutAssetPropertyValueEntry
- Defined in:
- (unknown)
Overview
When passing PutAssetPropertyValueEntry as input to an Aws::Client method, you can use a vanilla Hash:
{
entry_id: "AssetPropertyEntryId",
asset_id: "AssetId",
property_id: "AssetPropertyId",
property_alias: "AssetPropertyAlias",
property_values: [ # required
{
value: { # required
string_value: "AssetPropertyStringValue",
integer_value: "AssetPropertyIntegerValue",
double_value: "AssetPropertyDoubleValue",
boolean_value: "AssetPropertyBooleanValue",
},
timestamp: { # required
time_in_seconds: "AssetPropertyTimeInSeconds", # required
offset_in_nanos: "AssetPropertyOffsetInNanos",
},
quality: "AssetPropertyQuality",
},
],
}
An asset property value entry containing the following information.
Instance Attribute Summary collapse
-
#asset_id ⇒ String
The ID of the AWS IoT SiteWise asset.
-
#entry_id ⇒ String
Optional.
-
#property_alias ⇒ String
The name of the property alias associated with your asset property.
-
#property_id ⇒ String
The ID of the asset\'s property.
-
#property_values ⇒ Array<Types::AssetPropertyValue>
A list of property values to insert that each contain timestamp, quality, and value (TQV) information.
Instance Attribute Details
#asset_id ⇒ String
The ID of the AWS IoT SiteWise asset. You must specify either a
propertyAlias
or both an aliasId
and a propertyId
. Accepts
substitution templates.
#entry_id ⇒ String
Optional. A unique identifier for this entry that you can define to better track which message caused an error in case of failure. Accepts substitution templates. Defaults to a new UUID.
#property_alias ⇒ String
The name of the property alias associated with your asset property. You
must specify either a propertyAlias
or both an aliasId
and a
propertyId
. Accepts substitution templates.
#property_id ⇒ String
The ID of the asset\'s property. You must specify either a
propertyAlias
or both an aliasId
and a propertyId
. Accepts
substitution templates.
#property_values ⇒ Array<Types::AssetPropertyValue>
A list of property values to insert that each contain timestamp, quality, and value (TQV) information.