| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.IoT.Types.DynamoDBv2Action
Description
Documentation
data DynamoDBv2Action Source #
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.
See: newDynamoDBv2Action smart constructor.
Constructors
| DynamoDBv2Action' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> PutItemInput | |
| -> DynamoDBv2Action |
Create a value of DynamoDBv2Action with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:roleArn:DynamoDBv2Action', dynamoDBv2Action_roleArn - The ARN of the IAM role that grants access to the DynamoDB table.
$sel:putItem:DynamoDBv2Action', dynamoDBv2Action_putItem - 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.
dynamoDBv2Action_roleArn :: Lens' DynamoDBv2Action Text Source #
The ARN of the IAM role that grants access to the DynamoDB table.
dynamoDBv2Action_putItem :: Lens' DynamoDBv2Action PutItemInput Source #
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.