untag_resource

IAMRolesAnywhere.Client.untag_resource(**kwargs)

Removes tags from the resource.

Required permissions: rolesanywhere:UntagResource .

See also: AWS API Documentation

Request Syntax

response = client.untag_resource(
    resourceArn='string',
    tagKeys=[
        'string',
    ]
)
Parameters
  • resourceArn (string) --

    [REQUIRED]

    The ARN of the resource.

  • tagKeys (list) --

    [REQUIRED]

    A list of keys. Tag keys are the unique identifiers of tags.

    • (string) --
Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

Exceptions

  • IAMRolesAnywhere.Client.exceptions.ValidationException
  • IAMRolesAnywhere.Client.exceptions.ResourceNotFoundException
  • IAMRolesAnywhere.Client.exceptions.AccessDeniedException