CodeCommit / Client / untag_resource

untag_resource#

CodeCommit.Client.untag_resource(**kwargs)#

Removes tags for a resource in CodeCommit. For a list of valid resources in CodeCommit, see CodeCommit Resources and Operations in the CodeCommit User Guide.

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 which you want to remove tags.

  • tagKeys (list) –

    [REQUIRED]

    The tag key for each tag that you want to remove from the resource.

    • (string) –

Returns:

None

Exceptions

  • CodeCommit.Client.exceptions.RepositoryDoesNotExistException

  • CodeCommit.Client.exceptions.InvalidRepositoryNameException

  • CodeCommit.Client.exceptions.ResourceArnRequiredException

  • CodeCommit.Client.exceptions.InvalidResourceArnException

  • CodeCommit.Client.exceptions.TagKeysListRequiredException

  • CodeCommit.Client.exceptions.InvalidTagKeysListException

  • CodeCommit.Client.exceptions.TooManyTagsException

  • CodeCommit.Client.exceptions.InvalidSystemTagUsageException

  • CodeCommit.Client.exceptions.TagPolicyException