Not able to solve throttlingException in DynamoDB
问题 I have a lambda function which does a transaction in DynamoDB similar to this. try { const reservationId = genId(); await transactionFn(); return { statusCode: 200, body: JSON.stringify({id: reservationId}) }; async function transactionFn() { try { await docClient.transactWrite({ TransactItems: [ { Put: { TableName: ReservationTable, Item: { reservationId, userId, retryCount: Number(retryCount), } } }, { Update: { TableName: EventDetailsTable, Key: {eventId}, ConditionExpression: 'available >