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',
]
)
[REQUIRED]
The ARN of the resource for which to remove tags.
[REQUIRED]
The tag keys to delete.
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': {
'...': '...',
},
}