CloudWatch / Client / untag_resource
untag_resource#
- CloudWatch.Client.untag_resource(**kwargs)#
Removes one or more tags from the specified resource.
See also: AWS API Documentation
Request Syntax
response = client.untag_resource( ResourceARN='string', TagKeys=[ 'string', ] )
- Parameters:
ResourceARN (string) –
[REQUIRED]
The ARN of the CloudWatch resource that you’re removing tags from.
The ARN format of an alarm is
arn:aws:cloudwatch:Region:account-id:alarm:alarm-name
The ARN format of a Contributor Insights rule is
arn:aws:cloudwatch:Region:account-id:insight-rule/insight-rule-name
For more information about ARN format, see Resource Types Defined by Amazon CloudWatch in the Amazon Web Services General Reference.
TagKeys (list) –
[REQUIRED]
The list of tag keys to remove from the resource.
(string) –
- Return type:
dict
- Returns:
Response Syntax
{}
Response Structure
(dict) –
Exceptions
CloudWatch.Client.exceptions.InvalidParameterValueException
CloudWatch.Client.exceptions.ResourceNotFoundException
CloudWatch.Client.exceptions.ConcurrentModificationException
CloudWatch.Client.exceptions.InternalServiceFault