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. The iam: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',
]
)
[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.
[REQUIRED]
The list of tag keys to remove from the resource.
dict
Response Syntax
{}
Response Structure
Exceptions
CloudWatchObservabilityAccessManager.Client.exceptions.ValidationException
CloudWatchObservabilityAccessManager.Client.exceptions.ResourceNotFoundException