Struct aws_sdk_iot::model::DynamoDBv2Action
source · #[non_exhaustive]pub struct DynamoDBv2Action { /* private fields */ }
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.
Implementations§
source§impl DynamoDBv2Action
impl DynamoDBv2Action
sourcepub fn role_arn(&self) -> Option<&str>
pub fn role_arn(&self) -> Option<&str>
The ARN of the IAM role that grants access to the DynamoDB table.
sourcepub fn put_item(&self) -> Option<&PutItemInput>
pub fn put_item(&self) -> 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.
source§impl DynamoDBv2Action
impl DynamoDBv2Action
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DynamoDBv2Action
.
Trait Implementations§
source§impl Clone for DynamoDBv2Action
impl Clone for DynamoDBv2Action
source§fn clone(&self) -> DynamoDBv2Action
fn clone(&self) -> DynamoDBv2Action
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DynamoDBv2Action
impl Debug for DynamoDBv2Action
source§impl PartialEq<DynamoDBv2Action> for DynamoDBv2Action
impl PartialEq<DynamoDBv2Action> for DynamoDBv2Action
source§fn eq(&self, other: &DynamoDBv2Action) -> bool
fn eq(&self, other: &DynamoDBv2Action) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.