Skip to content

TransactGetItems

Source: src/AWS/DynamoDB/TransactGetItems.ts

Runtime binding for dynamodb:TransactGetItems.

Bind this operation to one or more tables and identify each table in the request with the bound table’s LogicalId.

const transactGetItems = yield* TransactGetItems.bind(
sourceTable,
archiveTable,
);
const response = yield* transactGetItems({
TransactItems: [
{
Get: {
Table: sourceTable.LogicalId,
Key: { pk: { S: "user#1" }, sk: { S: "profile" } },
},
},
],
});