Action - Amazon IoT Events
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China.

Action

An action to be performed when the condition is TRUE.

Contents

clearTimer

Information needed to clear the timer.

Type: ClearTimerAction object

Required: No

dynamoDB

Writes to the DynamoDB table that you created. The default action payload contains all attribute-value pairs that have the information about the detector model instance and the event that triggered the action. You can customize the payload. One column of the DynamoDB table receives all attribute-value pairs in the payload that you specify. For more information, see Actions in Amazon IoT Events Developer Guide.

Type: DynamoDBAction object

Required: No

dynamoDBv2

Writes to the DynamoDB table that you created. The default action payload contains all attribute-value pairs that have the information about the detector model instance and the event that triggered the action. You can customize the payload. A separate column of the DynamoDB table receives one attribute-value pair in the payload that you specify. For more information, see Actions in Amazon IoT Events Developer Guide.

Type: DynamoDBv2Action object

Required: No

firehose

Sends information about the detector model instance and the event that triggered the action to an Amazon Kinesis Data Firehose delivery stream.

Type: FirehoseAction object

Required: No

iotEvents

Sends Amazon IoT Events input, which passes information about the detector model instance and the event that triggered the action.

Type: IotEventsAction object

Required: No

iotSiteWise

Sends information about the detector model instance and the event that triggered the action to an asset property in Amazon IoT SiteWise .

Type: IotSiteWiseAction object

Required: No

iotTopicPublish

Publishes an MQTT message with the given topic to the Amazon IoT message broker.

Type: IotTopicPublishAction object

Required: No

lambda

Calls a Lambda function, passing in information about the detector model instance and the event that triggered the action.

Type: LambdaAction object

Required: No

resetTimer

Information needed to reset the timer.

Type: ResetTimerAction object

Required: No

setTimer

Information needed to set the timer.

Type: SetTimerAction object

Required: No

setVariable

Sets a variable to a specified value.

Type: SetVariableAction object

Required: No

sns

Sends an Amazon SNS message.

Type: SNSTopicPublishAction object

Required: No

sqs

Sends information about the detector model instance and the event that triggered the action to an Amazon SQS queue.

Type: SqsAction object

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: