ChimeSDKMeetings / Client / untag_resource

untag_resource#

ChimeSDKMeetings.Client.untag_resource(**kwargs)#

Removes the specified tags from the specified resources. When you specify a tag key, the action removes both that key and its associated value. The operation succeeds even if you attempt to remove tags from a resource that were already removed. Note the following:

  • To remove tags from a resource, you need the necessary permissions for the service that the resource belongs to as well as permissions for removing tags. For more information, see the documentation for the service whose resource you want to untag.

  • You can only tag resources that are located in the specified Amazon Web Services Region for the calling Amazon Web Services account.

Minimum permissions

In addition to the tag:UntagResources permission required by this operation, you must also have the remove tags permission defined by the service that created the resource. For example, to remove the tags from an Amazon EC2 instance using the UntagResources operation, you must have both of the following permissions:

tag:UntagResource

ChimeSDKMeetings:DeleteTags

See also: AWS API Documentation

Request Syntax

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

    [REQUIRED]

    The ARN of the resource that you’re removing tags from.

  • TagKeys (list) –

    [REQUIRED]

    The tag keys being removed from the resources.

    • (string) –

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • ChimeSDKMeetings.Client.exceptions.BadRequestException

  • ChimeSDKMeetings.Client.exceptions.ForbiddenException

  • ChimeSDKMeetings.Client.exceptions.UnauthorizedException

  • ChimeSDKMeetings.Client.exceptions.LimitExceededException

  • ChimeSDKMeetings.Client.exceptions.ServiceUnavailableException

  • ChimeSDKMeetings.Client.exceptions.ServiceFailureException

  • ChimeSDKMeetings.Client.exceptions.ThrottlingException

  • ChimeSDKMeetings.Client.exceptions.ResourceNotFoundException