untag_resource

AppConfig.Client.untag_resource(**kwargs)

Deletes a tag key and value from an AppConfig resource.

See also: AWS API Documentation

Request Syntax

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

    [REQUIRED]

    The ARN of the resource for which to remove tags.

  • TagKeys (list) --

    [REQUIRED]

    The tag keys to delete.

    • (string) --
Returns

None

Exceptions

  • AppConfig.Client.exceptions.ResourceNotFoundException
  • AppConfig.Client.exceptions.BadRequestException
  • AppConfig.Client.exceptions.InternalServerException

Examples

The following untag-resource example removes the group1 tag from the specified application.

response = client.untag_resource(
    ResourceArn='arn:aws:appconfig:us-east-1:111122223333:application/339ohji',
    TagKeys=[
        'group1',
    ],
)

print(response)

Expected Output:

{
    'ResponseMetadata': {
        '...': '...',
    },
}