Skip to content

DescribeTable

Source: src/AWS/DynamoDB/DescribeTable.ts

Runtime binding for dynamodb:DescribeTable.

Bind this operation to a Table inside a function runtime to get a callable that reads the table’s metadata (key schema, indexes, status, throughput). Provide the DescribeTableHttp layer on the Function to satisfy the binding.

const describeTable = yield* AWS.DynamoDB.DescribeTable(table);
const response = yield* describeTable();
const status = response.Table?.TableStatus;