CloudWatchObservabilityAccessManager / Client / untag_resource
untag_resource#
- CloudWatchObservabilityAccessManager.Client.untag_resource(**kwargs)#
Removes one or more tags from the specified resource.
Warning
Unlike tagging permissions in other Amazon Web Services services, to tag or untag links and sinks you must have the
oam:ResourceTag
permission. Theiam:TagResource
permission does not allow you to tag and untag links and sinks.See also: AWS API Documentation
Request Syntax
response = client.untag_resource( ResourceArn='string', TagKeys=[ 'string', ] )
- Parameters:
ResourceArn (string) –
[REQUIRED]
The ARN of the resource that you’re removing tags from.
The ARN format of a sink is
arn:aws:oam:Region:account-id:sink/sink-id
The ARN format of a link is
arn:aws:oam:Region:account-id:link/link-id
For more information about ARN format, see CloudWatch Logs resources and operations.
TagKeys (list) –
[REQUIRED]
The list of tag keys to remove from the resource.
(string) –
- Return type:
dict
- Returns:
Response Syntax
{}
Response Structure
(dict) –
Exceptions