Skip to content

Commit

Permalink
Update maximum number of operations (#4528)
Browse files Browse the repository at this point in the history
Maximum number of operations of TransactWriteItems API in DynamoDB is currently 100.
See for more info:
https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/transaction-apis.html
  • Loading branch information
tez3998 authored Nov 16, 2023
1 parent ddea890 commit ee8405d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/dynamodb/document_client.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export class DocumentClient {
transactGet(params: DocumentClient.TransactGetItemsInput, callback?: (err: AWSError, data: DocumentClient.TransactGetItemsOutput) => void): Request<DocumentClient.TransactGetItemsOutput, AWSError>;

/**
* Synchronous write operation that groups up to 25 action requests.
* Synchronous write operation that groups up to 100 action requests.
*/
transactWrite(params: DocumentClient.TransactWriteItemsInput, callback?: (err: AWSError, data: DocumentClient.TransactWriteItemsOutput) => void): Request<DocumentClient.TransactWriteItemsOutput, AWSError>;
}
Expand Down
2 changes: 1 addition & 1 deletion lib/dynamodb/document_client.js
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ AWS.DynamoDB.DocumentClient = AWS.util.inherit({
},

/**
* Synchronous write operation that groups up to 25 action requests.
* Synchronous write operation that groups up to 100 action requests.
*
* Supply the same parameters as {AWS.DynamoDB.transactWriteItems} with
* `AttributeValue`s substituted by native JavaScript types.
Expand Down

0 comments on commit ee8405d

Please sign in to comment.