RecycleBin / Client / untag_resource

untag_resource#

RecycleBin.Client.untag_resource(**kwargs)#

Unassigns a tag from a retention rule.

See also: AWS API Documentation

Request Syntax

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

    [REQUIRED]

    The Amazon Resource Name (ARN) of the retention rule.

  • TagKeys (list) –

    [REQUIRED]

    The tag keys of the tags to unassign. All tags that have the specified tag key are unassigned.

    • (string) –

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • RecycleBin.Client.exceptions.ValidationException

  • RecycleBin.Client.exceptions.InternalServerException

  • RecycleBin.Client.exceptions.ResourceNotFoundException