AWSDynamoDBTransactWriteItemsInput Class Reference
|Inherits from||AWSRequest : AWSModel : AWSMTLModel|
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 may 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, and subsequent
TransactWriteItems calls with the same client token return the amount 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 completes. 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 may 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
@property (nonatomic, strong) NSString *clientRequestToken
Determines the level of detail about provisioned throughput consumption that is returned in the response:
INDEXES- The response includes the aggregate
ConsumedCapacityfor the operation, together with
ConsumedCapacityfor each table and secondary index that was accessed.
Note that some operations, such as
BatchGetItem, do not access any indexes at all. In these cases, specifying
INDEXESwill only return
ConsumedCapacityinformation for table(s).
TOTAL- The response includes only the aggregate
ConsumedCapacityfor the operation.
ConsumedCapacitydetails are included in the response.
@property (nonatomic, assign) AWSDynamoDBReturnConsumedCapacity returnConsumedCapacity
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.
@property (nonatomic, assign) AWSDynamoDBReturnItemCollectionMetrics returnItemCollectionMetrics
An ordered array of up to 10
TransactWriteItem objects, each of which contains a
Delete object. These can operate on items in different tables, but the tables must reside in the same AWS account and region, and no two of them can operate on the same item.
@property (nonatomic, strong) NSArray<AWSDynamoDBTransactWriteItem*> *transactItems