Class: Aws::IoTSiteWise::Types::PutAssetPropertyValueEntry

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb

Overview

Note:

When making an API call, you may pass PutAssetPropertyValueEntry data as a hash:

{
  entry_id: "EntryId", # required
  asset_id: "ID",
  property_id: "ID",
  property_alias: "AssetPropertyAlias",
  property_values: [ # required
    {
      value: { # required
        string_value: "PropertyValueStringValue",
        integer_value: 1,
        double_value: 1.0,
        boolean_value: false,
      },
      timestamp: { # required
        time_in_seconds: 1, # required
        offset_in_nanos: 1,
      },
      quality: "GOOD", # accepts GOOD, BAD, UNCERTAIN
    },
  ],
}

Contains a list of value updates for an asset property in the list of asset entries consumed by the BatchPutAssetPropertyValue API operation.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#asset_idString

The ID of the asset to update.

Returns:

  • (String)


4363
4364
4365
4366
4367
4368
4369
4370
4371
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 4363

class PutAssetPropertyValueEntry < Struct.new(
  :entry_id,
  :asset_id,
  :property_id,
  :property_alias,
  :property_values)
  SENSITIVE = []
  include Aws::Structure
end

#entry_idString

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

Returns:

  • (String)


4363
4364
4365
4366
4367
4368
4369
4370
4371
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 4363

class PutAssetPropertyValueEntry < Struct.new(
  :entry_id,
  :asset_id,
  :property_id,
  :property_alias,
  :property_values)
  SENSITIVE = []
  include Aws::Structure
end

#property_aliasString

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 Mapping industrial data streams to asset properties in the AWS IoT SiteWise User Guide.

Returns:

  • (String)


4363
4364
4365
4366
4367
4368
4369
4370
4371
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 4363

class PutAssetPropertyValueEntry < Struct.new(
  :entry_id,
  :asset_id,
  :property_id,
  :property_alias,
  :property_values)
  SENSITIVE = []
  include Aws::Structure
end

#property_idString

The ID of the asset property for this entry.

Returns:

  • (String)


4363
4364
4365
4366
4367
4368
4369
4370
4371
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 4363

class PutAssetPropertyValueEntry < Struct.new(
  :entry_id,
  :asset_id,
  :property_id,
  :property_alias,
  :property_values)
  SENSITIVE = []
  include Aws::Structure
end

#property_valuesArray<Types::AssetPropertyValue>

The list of property values to upload. You can specify up to 10 propertyValues array elements.

Returns:



4363
4364
4365
4366
4367
4368
4369
4370
4371
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 4363

class PutAssetPropertyValueEntry < Struct.new(
  :entry_id,
  :asset_id,
  :property_id,
  :property_alias,
  :property_values)
  SENSITIVE = []
  include Aws::Structure
end