DynamoDBv2Action class

Defines an action to write to the Amazon 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. You can use expressions for parameters that are strings. For more information, see Expressions in the AWS IoT Events Developer Guide.

Constructors

DynamoDBv2Action({required String tableName, Payload? payload})
DynamoDBv2Action.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
payload Payload?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tableName String
The name of the DynamoDB table.
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