AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing IotSiteWiseAction as input to an Aws::Client method, you can use a vanilla 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 AWS IoT SiteWise asset properties.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#put_asset_property_value_entriesArray<Types::PutAssetPropertyValueEntry>

A list of asset property value entries.

Returns:

#role_arnString

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

Returns:

  • (String)

    The ARN of the role that grants AWS IoT permission to send an asset property value to AWS IoTSiteWise.