Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ListTagsCommand

Lists the tags for the trail or event data store in the current region.

example

Use a bare-bones client and the command you need to make an API call.

import { CloudTrailClient, ListTagsCommand } from "@aws-sdk/client-cloudtrail"; // ES Modules import
// const { CloudTrailClient, ListTagsCommand } = require("@aws-sdk/client-cloudtrail"); // CommonJS import
const client = new CloudTrailClient(config);
const command = new ListTagsCommand(input);
const response = await client.send(command);
see

ListTagsCommandInput for command's input shape.

see

ListTagsCommandOutput for command's response shape.

see

config for CloudTrailClient's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly input

input: ListTagsCommandInput

Readonly middlewareStack

middlewareStack: IMiddlewareStack<ListTagsCommandInput, ListTagsCommandOutput>