EventBridgeScheduler.Client.
tag_resource
(**kwargs)¶Assigns one or more tags (key-value pairs) to the specified EventBridge Scheduler resource. You can only assign tags to schedule groups.
See also: AWS API Documentation
Request Syntax
response = client.tag_resource(
ResourceArn='string',
Tags=[
{
'Key': 'string',
'Value': 'string'
},
]
)
[REQUIRED]
The Amazon Resource Name (ARN) of the schedule group that you are adding tags to.
[REQUIRED]
The list of tags to associate with the schedule group.
Tag to associate with a schedule group.
The key for the tag.
The value for the tag.
dict
Response Syntax
{}
Response Structure
Exceptions
EventBridgeScheduler.Client.exceptions.ValidationException
EventBridgeScheduler.Client.exceptions.InternalServerException
EventBridgeScheduler.Client.exceptions.ConflictException
EventBridgeScheduler.Client.exceptions.ResourceNotFoundException
EventBridgeScheduler.Client.exceptions.ThrottlingException