Skip to content

ListTagsOfResource

Source: src/AWS/DynamoDB/ListTagsOfResource.ts

Runtime binding for dynamodb:ListTagsOfResource.

Bind this operation to a Table inside a function runtime to get a callable that lists the table’s tags, automatically injecting the table ARN. Provide the ListTagsOfResourceHttp layer on the Function to satisfy the binding.

const listTagsOfResource = yield* AWS.DynamoDB.ListTagsOfResource(table);
const response = yield* listTagsOfResource();
const tags = response.Tags;