Action class

An action to be performed when the condition is TRUE.

Constructors

Action({ClearTimerAction? clearTimer, DynamoDBAction? dynamoDB, DynamoDBv2Action? dynamoDBv2, FirehoseAction? firehose, IotEventsAction? iotEvents, IotSiteWiseAction? iotSiteWise, IotTopicPublishAction? iotTopicPublish, LambdaAction? lambda, ResetTimerAction? resetTimer, SetTimerAction? setTimer, SetVariableAction? setVariable, SNSTopicPublishAction? sns, SqsAction? sqs})
Action.fromJson(Map<String, dynamic> json)
factory

Properties

clearTimer ClearTimerAction?
Information needed to clear the timer.
final
dynamoDB DynamoDBAction?
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 also 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 AWS IoT Events Developer Guide.
final
dynamoDBv2 DynamoDBv2Action?
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 also 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 AWS IoT Events Developer Guide.
final
firehose FirehoseAction?
Sends information about the detector model instance and the event that triggered the action to an Amazon Kinesis Data Firehose delivery stream.
final
hashCode int
The hash code for this object.
no setterinherited
iotEvents IotEventsAction?
Sends AWS IoT Events input, which passes information about the detector model instance and the event that triggered the action.
final
iotSiteWise IotSiteWiseAction?
Sends information about the detector model instance and the event that triggered the action to an asset property in AWS IoT SiteWise .
final
iotTopicPublish IotTopicPublishAction?
Publishes an MQTT message with the given topic to the AWS IoT message broker.
final
lambda LambdaAction?
Calls a Lambda function, passing in information about the detector model instance and the event that triggered the action.
final
resetTimer ResetTimerAction?
Information needed to reset the timer.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
setTimer SetTimerAction?
Information needed to set the timer.
final
setVariable SetVariableAction?
Sets a variable to a specified value.
final
sns SNSTopicPublishAction?
Sends an Amazon SNS message.
final
sqs SqsAction?
Sends information about the detector model instance and the event that triggered the action to an Amazon SQS queue.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited