class
Amazonite::DynamoDB::TransactWriteItemsInput
- Amazonite::DynamoDB::TransactWriteItemsInput
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
dynamodb/transact_write_items_input.crConstructors
- .new(pull : JSON::PullParser)
- .new(transact_items : Array(TransactWriteItem), return_consumed_capacity : ReturnConsumedCapacity | Nil = nil, return_item_collection_metrics : ReturnItemCollectionMetrics | Nil = nil, client_request_token : String | Nil = nil)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#client_request_token : String | Nil
Providing a
ClientRequestTokenmakes the call toTransactWriteItemsidempotent, meaning that multiple identical calls have the same effect as one single call. -
#client_request_token=(client_request_token : String | Nil)
Providing a
ClientRequestTokenmakes the call toTransactWriteItemsidempotent, meaning that multiple identical calls have the same effect as one single call. -
#hash(hasher)
See
Object#hash(hasher) - #return_consumed_capacity : ReturnConsumedCapacity | Nil
- #return_consumed_capacity=(return_consumed_capacity : ReturnConsumedCapacity | Nil)
-
#return_item_collection_metrics : ReturnItemCollectionMetrics | Nil
Determines whether item collection metrics are returned.
-
#return_item_collection_metrics=(return_item_collection_metrics : ReturnItemCollectionMetrics | Nil)
Determines whether item collection metrics are returned.
-
#transact_items : Array(TransactWriteItem)
An ordered array of up to 100
TransactWriteItemobjects, each of which contains aConditionCheck,Put,Update, orDeleteobject. -
#transact_items=(transact_items : Array(TransactWriteItem))
An ordered array of up to 100
TransactWriteItemobjects, each of which contains aConditionCheck,Put,Update, orDeleteobject. - #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
Providing a ClientRequestToken makes the call to TransactWriteItems idempotent, meaning that
multiple identical calls have the same effect as one single call.
Although multiple identical calls using the same client request token produce the same result on
the server (no side effects), the responses to the calls might not be the same. If the
ReturnConsumedCapacity parameter is set, then the initial TransactWriteItems call returns
the amount of write capacity units consumed in making the changes. Subsequent
TransactWriteItems calls with the same client token return the number of read capacity units
consumed in reading the item.
A client request token is valid for 10 minutes after the first request that uses it is completed. After 10 minutes, any request with the same client token is treated as a new request. Do not resubmit the same request with the same client token for more than 10 minutes, or the result might not be idempotent.
If you submit a request with the same client token but a change in other parameters within the
10-minute idempotency window, DynamoDB returns an IdempotentParameterMismatch exception.
Providing a ClientRequestToken makes the call to TransactWriteItems idempotent, meaning that
multiple identical calls have the same effect as one single call.
Although multiple identical calls using the same client request token produce the same result on
the server (no side effects), the responses to the calls might not be the same. If the
ReturnConsumedCapacity parameter is set, then the initial TransactWriteItems call returns
the amount of write capacity units consumed in making the changes. Subsequent
TransactWriteItems calls with the same client token return the number of read capacity units
consumed in reading the item.
A client request token is valid for 10 minutes after the first request that uses it is completed. After 10 minutes, any request with the same client token is treated as a new request. Do not resubmit the same request with the same client token for more than 10 minutes, or the result might not be idempotent.
If you submit a request with the same client token but a change in other parameters within the
10-minute idempotency window, DynamoDB returns an IdempotentParameterMismatch exception.
Determines whether item collection metrics are returned. If set to SIZE, the response includes
statistics about item collections (if any), that were modified during the operation and are
returned in the response. If set to NONE (the default), no statistics are returned.
Determines whether item collection metrics are returned. If set to SIZE, the response includes
statistics about item collections (if any), that were modified during the operation and are
returned in the response. If set to NONE (the default), no statistics are returned.
An ordered array of up to 100 TransactWriteItem objects, each of which contains a
ConditionCheck, Put, Update, or Delete object. These can operate on items in different
tables, but the tables must reside in the same Amazon Web Services account and Region, and no
two of them can operate on the same item.
An ordered array of up to 100 TransactWriteItem objects, each of which contains a
ConditionCheck, Put, Update, or Delete object. These can operate on items in different
tables, but the tables must reside in the same Amazon Web Services account and Region, and no
two of them can operate on the same item.