Class: Aws::IoT::Types::IotSiteWiseAction

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

Overview

Note:

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

{
  put_asset_property_value_entries: [ # required
    {
      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",
        },
      ],
    },
  ],
  role_arn: "AwsArn", # required
}

Describes an action to send data from an MQTT message that triggered the rule to IoT SiteWise asset properties.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#put_asset_property_value_entriesArray<Types::PutAssetPropertyValueEntry>

A list of asset property value entries.



9874
9875
9876
9877
9878
9879
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 9874

class IotSiteWiseAction < Struct.new(
  :put_asset_property_value_entries,
  :role_arn)
  SENSITIVE = []
  include Aws::Structure
end

#role_arnString

The ARN of the role that grants IoT permission to send an asset property value to IoT SiteWise. ("Action": "iotsitewise:BatchPutAssetPropertyValue"). The trust policy can restrict access to specific asset hierarchy paths.

Returns:

  • (String)


9874
9875
9876
9877
9878
9879
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 9874

class IotSiteWiseAction < Struct.new(
  :put_asset_property_value_entries,
  :role_arn)
  SENSITIVE = []
  include Aws::Structure
end