untag_resource
¶
untag_resource(
resource_arn: Arn,
tag_keys: TagKeyList,
*,
config_overrides: Optional[CloudWatchEventsClientConfig] = None,
) -> UntagResourceResponse
Removes one or more tags from the specified EventBridge resource. In Amazon EventBridge (CloudWatch Events), rules and event buses can be tagged.
Parameters:
-
resource_arn(Arn) –The ARN of the EventBridge resource from which you are removing tags.
-
tag_keys(TagKeyList) –The list of tag keys to remove from the resource.
Raises:
-
ConcurrentModificationException–There is concurrent modification on a rule, target, archive, or replay.
-
InternalException–This exception occurs due to unexpected causes.
-
ManagedRuleException–This rule was created by an Amazon Web Services service on behalf of your account. It is managed by that service. If you see this error in response to
DeleteRuleorRemoveTargets, you can use theForceparameter in those calls to delete the rule or remove targets from the rule. You cannot modify these managed rules by usingDisableRule,EnableRule,PutTargets,PutRule,TagResource, orUntagResource. -
ResourceNotFoundException–An entity that you specified does not exist.
-
UnknownServiceError–The service returned an error code this client does not model.