tag_resource

WellArchitected.Client.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'
    }
)
Parameters
  • WorkloadArn (string) --

    [REQUIRED]

    The ARN for the workload.

  • Tags (dict) --

    [REQUIRED]

    The tags for the resource.

    • (string) --
      • (string) --
Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

Exceptions

  • WellArchitected.Client.exceptions.InternalServerException
  • WellArchitected.Client.exceptions.ResourceNotFoundException