Kafka.Client.
tag_resource
(**kwargs)¶Adds tags to the specified MSK resource.
See also: AWS API Documentation
Request Syntax
response = client.tag_resource(
ResourceArn='string',
Tags={
'string': 'string'
}
)
[REQUIRED]
The Amazon Resource Name (ARN) that uniquely identifies the resource that's associated with the tags.
[REQUIRED]
The key-value pair for the resource tag.
None
Exceptions
Kafka.Client.exceptions.NotFoundException
Kafka.Client.exceptions.BadRequestException
Kafka.Client.exceptions.InternalServerErrorException