untag_resource

MarketplaceCatalog.Client.untag_resource(**kwargs)

Removes a tag or list of tags from a resource (either an entity or change set ).

See also: AWS API Documentation

Request Syntax

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

    [REQUIRED]

    Required. The Amazon Resource Name (ARN) associated with the resource you want to remove the tag from.

  • TagKeys (list) --

    [REQUIRED]

    Required. A list of key names of tags to be removed. Number of strings allowed: 0-256.

    • (string) --
Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

Exceptions

  • MarketplaceCatalog.Client.exceptions.ResourceNotFoundException
  • MarketplaceCatalog.Client.exceptions.InternalServiceException
  • MarketplaceCatalog.Client.exceptions.AccessDeniedException
  • MarketplaceCatalog.Client.exceptions.ValidationException
  • MarketplaceCatalog.Client.exceptions.ThrottlingException