class Aws::IoT::Types::Action
@return [Types::KafkaAction]
(Amazon MSK) or self-managed Apache Kafka cluster.
Send messages to an Amazon Managed Streaming for Apache Kafka
@!attribute [rw] kafka
@return [Types::HttpAction]
Send data to an HTTPS endpoint.
@!attribute [rw] http
@return [Types::TimestreamAction]<br>: docs.aws.amazon.com/iot/latest/developerguide/timestream-rule-action.html<br><br><br><br>the [Timestream] topic rule action documentation.
message into an Amazon Timestream table. For more information, see
The Timestream rule action writes attributes (measures) from an MQTT
@!attribute [rw] timestream
@return [Types::StepFunctionsAction]
Starts execution of a Step Functions state machine.
@!attribute [rw] step_functions
@return [Types::IotSiteWiseAction]
SiteWise asset properties.
Sends data from the MQTT message that triggered the rule to AWS IoT
@!attribute [rw] iot_site_wise
@return [Types::IotEventsAction]
Sends an input to an AWS IoT Events detector.
@!attribute [rw] iot_events
@return [Types::IotAnalyticsAction]
Sends message data to an AWS IoT Analytics channel.
@!attribute [rw] iot_analytics
@return [Types::SalesforceAction]
Send a message to a Salesforce IoT Cloud Input Stream.
@!attribute [rw] salesforce
@return [Types::ElasticsearchAction]
Write data to an Amazon Elasticsearch Service domain.
@!attribute [rw] elasticsearch
@return [Types::CloudwatchLogsAction]
Send data to CloudWatch Logs.
@!attribute [rw] cloudwatch_logs
@return [Types::CloudwatchAlarmAction]
Change the state of a CloudWatch alarm.
@!attribute [rw] cloudwatch_alarm
@return [Types::CloudwatchMetricAction]
Capture a CloudWatch metric.
@!attribute [rw] cloudwatch_metric
@return [Types::FirehoseAction]
Write to an Amazon Kinesis Firehose stream.
@!attribute [rw] firehose
@return [Types::S3Action]
Write to an Amazon S3 bucket.
@!attribute [rw] s3
@return [Types::RepublishAction]
Publish to another MQTT topic.
@!attribute [rw] republish
@return [Types::KinesisAction]
Write data to an Amazon Kinesis stream.
@!attribute [rw] kinesis
@return [Types::SqsAction]
Publish to an Amazon SQS queue.
@!attribute [rw] sqs
@return [Types::SnsAction]
Publish to an Amazon SNS topic.
@!attribute [rw] sns
@return [Types::LambdaAction]
Invoke a Lambda function.
@!attribute [rw] lambda
@return [Types::DynamoDBv2Action]
payload into a separate DynamoDB column.
action. It allows you to write each attribute in an MQTT message
Write to a DynamoDB table. This is a new version of the DynamoDB
@!attribute [rw] dynamo_d_bv_2
@return [Types::DynamoDBAction]
Write to a DynamoDB table.
@!attribute [rw] dynamo_db
}
},
},
“String” => “String”,
client_properties: { # required
partition: “String”,
key: “String”,
topic: “String”, # required
destination_arn: “AwsArn”, # required
kafka: {
},
},
},
role_arn: “AwsArn”, # required
service_name: “ServiceName”, # required
signing_region: “SigningRegion”, # required
sigv4: {
auth: {
],
},
value: “HeaderValue”, # required
key: “HeaderKey”, # required
{
headers: [
confirmation_url: “Url”,
url: “Url”, # required
http: {
},
},
unit: “TimestreamTimestampUnit”, # required
value: “TimestreamTimestampValue”, # required
timestamp: {
],
},
value: “TimestreamDimensionValue”, # required
name: “TimestreamDimensionName”, # required
{
dimensions: [ # required
table_name: “TimestreamTableName”, # required
database_name: “TimestreamDatabaseName”, # required
role_arn: “AwsArn”, # required
timestream: {
},
role_arn: “AwsArn”, # required
state_machine_name: “StateMachineName”, # required
execution_name_prefix: “ExecutionNamePrefix”,
step_functions: {
},
role_arn: “AwsArn”, # required
],
},
],
},
quality: “AssetPropertyQuality”,
},
offset_in_nanos: “AssetPropertyOffsetInNanos”,
time_in_seconds: “AssetPropertyTimeInSeconds”, # required
timestamp: { # required
},
boolean_value: “AssetPropertyBooleanValue”,
double_value: “AssetPropertyDoubleValue”,
integer_value: “AssetPropertyIntegerValue”,
string_value: “AssetPropertyStringValue”,
value: { # required
{
property_values: [ # required
property_alias: “AssetPropertyAlias”,
property_id: “AssetPropertyId”,
asset_id: “AssetId”,
entry_id: “AssetPropertyEntryId”,
{
put_asset_property_value_entries: [ # required
iot_site_wise: {
},
role_arn: “AwsArn”, # required
batch_mode: false,
message_id: “MessageId”,
input_name: “InputName”, # required
iot_events: {
},
role_arn: “AwsArn”,
batch_mode: false,
channel_name: “ChannelName”,
channel_arn: “AwsArn”,
iot_analytics: {
},
url: “SalesforceEndpoint”, # required
token: “SalesforceToken”, # required
salesforce: {
},
id: “ElasticsearchId”, # required
type: “ElasticsearchType”, # required
index: “ElasticsearchIndex”, # required
endpoint: “ElasticsearchEndpoint”, # required
role_arn: “AwsArn”, # required
elasticsearch: {
},
log_group_name: “LogGroupName”, # required
role_arn: “AwsArn”, # required
cloudwatch_logs: {
},
state_value: “StateValue”, # required
state_reason: “StateReason”, # required
alarm_name: “AlarmName”, # required
role_arn: “AwsArn”, # required
cloudwatch_alarm: {
},
metric_timestamp: “String”,
metric_unit: “String”, # required
metric_value: “String”, # required
metric_name: “String”, # required
metric_namespace: “String”, # required
role_arn: “AwsArn”, # required
cloudwatch_metric: {
},
batch_mode: false,
separator: “FirehoseSeparator”,
delivery_stream_name: “DeliveryStreamName”, # required
role_arn: “AwsArn”, # required
firehose: {
},
canned_acl: “private”, # accepts private, public-read, public-read-write, aws-exec-read, authenticated-read, bucket-owner-read, bucket-owner-full-control, log-delivery-write
key: “Key”, # required
bucket_name: “BucketName”, # required
role_arn: “AwsArn”, # required
s3: {
},
qos: 1,
topic: “TopicPattern”, # required
role_arn: “AwsArn”, # required
republish: {
},
partition_key: “PartitionKey”,
stream_name: “StreamName”, # required
role_arn: “AwsArn”, # required
kinesis: {
},
use_base_64: false,
queue_url: “QueueUrl”, # required
role_arn: “AwsArn”, # required
sqs: {
},
message_format: “RAW”, # accepts RAW, JSON
role_arn: “AwsArn”, # required
target_arn: “AwsArn”, # required
sns: {
},
function_arn: “FunctionArn”, # required
lambda: {
},
},
table_name: “TableName”, # required
put_item: { # required
role_arn: “AwsArn”, # required
dynamo_d_bv_2: {
},
payload_field: “PayloadField”,
range_key_type: “STRING”, # accepts STRING, NUMBER
range_key_value: “RangeKeyValue”,
range_key_field: “RangeKeyField”,
hash_key_type: “STRING”, # accepts STRING, NUMBER
hash_key_value: “HashKeyValue”, # required
hash_key_field: “HashKeyField”, # required
operation: “DynamoOperation”,
role_arn: “AwsArn”, # required
table_name: “TableName”, # required
dynamo_db: {
{
data as a hash:
@note When making an API call, you may pass Action
Describes the actions associated with a rule.