EventBridgeV2 / Client / tag_resource
tag_resource¶
- EventBridgeV2.Client.tag_resource(**kwargs)¶
Adds or replaces tags on an event bus, subscriber, or event source.
See also: AWS API Documentation
Request Syntax
response = client.tag_resource( ResourceArn='string', Tags={ 'string': 'string' } )
- Parameters:
ResourceArn (string) –
[REQUIRED]
ARN for an EventBridge resource that supports tagging: event buses, subscribers, and event sources.
Tags (dict) –
[REQUIRED]
Tags attached to a resource, as key-value pairs.
(string) –
(string) –
- Return type:
dict
- Returns:
Response Syntax
{}Response Structure
(dict) –
Exceptions
EventBridgeV2.Client.exceptions.LimitExceededExceptionEventBridgeV2.Client.exceptions.AccessDeniedExceptionEventBridgeV2.Client.exceptions.ResourceNotFoundExceptionEventBridgeV2.Client.exceptions.ThrottlingExceptionEventBridgeV2.Client.exceptions.InvalidInputExceptionEventBridgeV2.Client.exceptions.InternalExceptionEventBridgeV2.Client.exceptions.ConcurrentModificationExceptionEventBridgeV2.Client.exceptions.InvalidStateException