Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ListTagsForResourceCommand

List the tags for a resource.

The WorkloadArn parameter can be either a workload ARN or a custom lens ARN.

example

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

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

ListTagsForResourceCommandInput for command's input shape.

see

ListTagsForResourceCommandOutput for command's response shape.

see

config for WellArchitectedClient's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly input

input: ListTagsForResourceCommandInput

Readonly middlewareStack