untag_resource

ECRPublic.Client.untag_resource(**kwargs)

Deletes specified tags from a resource.

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 resource to delete tags from. Currently, the supported resource is an Amazon ECR Public repository.

  • tagKeys (list) --

    [REQUIRED]

    The keys of the tags to be removed.

    • (string) --
Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

Exceptions

  • ECRPublic.Client.exceptions.InvalidParameterException
  • ECRPublic.Client.exceptions.InvalidTagParameterException
  • ECRPublic.Client.exceptions.TooManyTagsException
  • ECRPublic.Client.exceptions.RepositoryNotFoundException
  • ECRPublic.Client.exceptions.UnsupportedCommandException
  • ECRPublic.Client.exceptions.ServerException