WellArchitected / Client / tag_resource

tag_resource#

WellArchitected.Client.tag_resource(**kwargs)#

Adds one or more tags to the specified resource.

Note

The WorkloadArn parameter can be a workload ARN, a custom lens ARN, a profile ARN, or review template 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