We are excited to announce our new API Documentation.
Protected
List the tags for a resource.
The WorkloadArn parameter can be a workload ARN, a custom lens ARN, or a profile ARN.
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 importconst client = new WellArchitectedClient(config);const input = { // ListTagsForResourceInput WorkloadArn: "STRING_VALUE", // required};const command = new ListTagsForResourceCommand(input);const response = await client.send(command);// { // ListTagsForResourceOutput// Tags: { // TagMap// "<keys>": "STRING_VALUE",// },// };
ListTagsForResourceCommandInput
ListTagsForResourceCommandOutput
input
response
config
InternalServerException (server fault)
There is a problem with the Well-Architected Tool API service.
ResourceNotFoundException (client fault)
The requested resource was not found.
WellArchitectedServiceException
Base exception class for all service exceptions from WellArchitected service.
Readonly
Static
List the tags for a resource.
The WorkloadArn parameter can be a workload ARN, a custom lens ARN, or a profile ARN.
Example
Use a bare-bones client and the command you need to make an API call.
Param
ListTagsForResourceCommandInput
Returns
ListTagsForResourceCommandOutput
See
input
shape.response
shape.config
shape.Throws
InternalServerException (server fault)
There is a problem with the Well-Architected Tool API service.
Throws
ResourceNotFoundException (client fault)
The requested resource was not found.
Throws
WellArchitectedServiceException
Base exception class for all service exceptions from WellArchitected service.