untag_resource
(**kwargs)¶Disassociates a resource from a list of tags. The resource is identified by the ResourceArn
input parameter. The tags are identified by the list of keys in the TagKeys
input parameter.
See also: AWS API Documentation
Request Syntax
response = client.untag_resource(
ResourceArn='string',
TagKeys=[
'string',
]
)
[REQUIRED]
The Amazon Resource Name (ARN) that specifies from which resource to disassociate the tags with the keys in the TagKeys
input parameter.
[REQUIRED]
A list of keys of Tag
objects. The Tag
objects identified by the keys are disassociated from the resource specified by the ResourceArn
input parameter.
dict
Response Syntax
{}
Response Structure
Exceptions
CodeDeploy.Client.exceptions.ResourceArnRequiredException
CodeDeploy.Client.exceptions.ApplicationDoesNotExistException
CodeDeploy.Client.exceptions.DeploymentGroupDoesNotExistException
CodeDeploy.Client.exceptions.DeploymentConfigDoesNotExistException
CodeDeploy.Client.exceptions.TagRequiredException
CodeDeploy.Client.exceptions.InvalidTagsToAddException
CodeDeploy.Client.exceptions.ArnNotSupportedException
CodeDeploy.Client.exceptions.InvalidArnException