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
show all
Defined in:
(unknown)

Overview

Note:

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

Instance Attribute Details

#asset_idString

The ID of the AWS IoT SiteWise asset. You must specify either a propertyAlias or both an aliasId and a propertyId. Accepts substitution templates.

Returns:

  • (String)

    The ID of the AWS IoT SiteWise asset.

#entry_idString

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.

Returns:

  • (String)

    Optional.

#property_aliasString

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.

Returns:

  • (String)

    The name of the property alias associated with your asset property.

#property_idString

The ID of the asset\'s property. You must specify either a propertyAlias or both an aliasId and a propertyId. Accepts substitution templates.

Returns:

  • (String)

    The ID of the asset\'s property.

#property_valuesArray<Types::AssetPropertyValue>

A list of property values to insert that each contain timestamp, quality, and value (TQV) information.

Returns:

  • (Array<Types::AssetPropertyValue>)

    A list of property values to insert that each contain timestamp, quality, and value (TQV) information.