Skip to content

GetItem

Source: src/AWS/DynamoDB/GetItem.ts

Runtime binding for dynamodb:GetItem.

Bind this operation to a Table inside a function runtime to get a callable that automatically injects the table name.

const getItem = yield* GetItem.bind(table);
const response = yield* getItem({
Key: {
pk: { S: "user#123" },
},
});