CodeDeploy / Client / untag_resource
untag_resource#
- CodeDeploy.Client.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 theTagKeys
input parameter.See also: AWS API Documentation
Request Syntax
response = client.untag_resource( ResourceArn='string', TagKeys=[ 'string', ] )
- Parameters:
ResourceArn (string) –
[REQUIRED]
The Amazon Resource Name (ARN) that specifies from which resource to disassociate the tags with the keys in the
TagKeys
input parameter.TagKeys (list) –
[REQUIRED]
A list of keys of
Tag
objects. TheTag
objects identified by the keys are disassociated from the resource specified by theResourceArn
input parameter.(string) –
- Return type:
dict
- Returns:
Response Syntax
{}
Response Structure
(dict) –
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