tag_resource
(**kwargs)¶Adds one or more tags to the specified resource.
Note
The WorkloadArn parameter can be either a workload ARN or a custom lens ARN.
See also: AWS API Documentation
Request Syntax
response = client.tag_resource(
WorkloadArn='string',
Tags={
'string': 'string'
}
)
[REQUIRED]
The ARN for the workload.
[REQUIRED]
The tags for the resource.
dict
Response Syntax
{}
Response Structure
Exceptions
WellArchitected.Client.exceptions.InternalServerException
WellArchitected.Client.exceptions.ResourceNotFoundException