ACM / Client / untag_resource

untag_resource

ACM.Client.untag_resource(**kwargs)

Removes one or more tags from an ACM resource.

Note

Use this action for all ACM resource types except the certificate resource type. For certificate resources, use RemoveTagsFromCertificate instead.

To add one or more tags, use the TagResource action. To view all of the tags that have been applied to a resource, use the ListTagsForResource action.

See also: AWS API Documentation

Request Syntax

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

    [REQUIRED]

    The ARN of the ACM resource from which the tag is to be removed.

  • TagKeys (list) –

    [REQUIRED]

    The key of each tag to remove.

    • (string) –

Returns:

None

Exceptions

  • ACM.Client.exceptions.ValidationException

  • ACM.Client.exceptions.ResourceNotFoundException