WellArchitected / Client / untag_resource

untag_resource#

WellArchitected.Client.untag_resource(**kwargs)#

Deletes specified tags from a resource.

Note

The WorkloadArn parameter can be a workload ARN, a custom lens ARN, a profile ARN, or review template ARN.

To specify multiple tags, use separate tagKeys parameters, for example:

DELETE /tags/WorkloadArn?tagKeys=key1&tagKeys=key2

See also: AWS API Documentation

Request Syntax

response = client.untag_resource(
    WorkloadArn='string',
    TagKeys=[
        'string',
    ]
)
Parameters:
  • WorkloadArn (string) –

    [REQUIRED]

    The ARN for the workload.

  • TagKeys (list) –

    [REQUIRED]

    A list of tag keys. Existing tags of the resource whose keys are members of this list are removed from the resource.

    • (string) –

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • WellArchitected.Client.exceptions.InternalServerException

  • WellArchitected.Client.exceptions.ResourceNotFoundException