Struct aws_sdk_iot::model::DynamoDBv2Action [−][src]
#[non_exhaustive]pub struct DynamoDBv2Action {
pub role_arn: Option<String>,
pub put_item: Option<PutItemInput>,
}
Expand description
Describes an action to write to a DynamoDB table.
This DynamoDB action writes each attribute in the message payload into it's own column in the DynamoDB table.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.role_arn: Option<String>
The ARN of the IAM role that grants access to the DynamoDB table.
put_item: Option<PutItemInput>
Specifies the DynamoDB table to which the message data will be written. For example:
{ "dynamoDBv2": { "roleArn": "aws:iam:12341251:my-role" "putItem": { "tableName":
"my-table" } } }
Each attribute in the message payload will be written to a separate column in the DynamoDB database.
Implementations
The ARN of the IAM role that grants access to the DynamoDB table.
Specifies the DynamoDB table to which the message data will be written. For example:
{ "dynamoDBv2": { "roleArn": "aws:iam:12341251:my-role" "putItem": { "tableName":
"my-table" } } }
Each attribute in the message payload will be written to a separate column in the DynamoDB database.
Creates a new builder-style object to manufacture DynamoDBv2Action
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for DynamoDBv2Action
impl Send for DynamoDBv2Action
impl Sync for DynamoDBv2Action
impl Unpin for DynamoDBv2Action
impl UnwindSafe for DynamoDBv2Action
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more