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
ResourceArninput parameter. The tags are identified by the list of keys in theTagKeysinput 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
TagKeysinput parameter.TagKeys (list) –
[REQUIRED]
A list of keys of
Tagobjects. TheTagobjects identified by the keys are disassociated from the resource specified by theResourceArninput parameter.(string) –
- Return type:
dict
- Returns:
Response Syntax
{}Response Structure
(dict) –
Exceptions
CodeDeploy.Client.exceptions.ResourceArnRequiredExceptionCodeDeploy.Client.exceptions.ApplicationDoesNotExistExceptionCodeDeploy.Client.exceptions.DeploymentGroupDoesNotExistExceptionCodeDeploy.Client.exceptions.DeploymentConfigDoesNotExistExceptionCodeDeploy.Client.exceptions.TagRequiredExceptionCodeDeploy.Client.exceptions.InvalidTagsToAddExceptionCodeDeploy.Client.exceptions.ArnNotSupportedExceptionCodeDeploy.Client.exceptions.InvalidArnException