Module Values_0.DynamoDBv2ActionSource

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.

Sourcetype nonrec t = {
  1. roleArn : AwsArn.t;
    (*

    The ARN of the IAM role that grants access to the DynamoDB table.

    *)
  2. putItem : PutItemInput.t;
    (*

    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.

    *)
}
Sourceval context_ : string
Sourceval make : roleArn:AwsArn.t -> putItem:PutItemInput.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of AwsArn.t | `Structure of (string * [> `String of TableName.t ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t