KinesisAnalytics / Client / tag_resource
tag_resource#
- KinesisAnalytics.Client.tag_resource(**kwargs)#
Adds one or more key-value tags to a Kinesis Analytics application. Note that the maximum number of application tags includes system tags. The maximum number of user-defined application tags is 50. For more information, see Using Tagging.
See also: AWS API Documentation
Request Syntax
response = client.tag_resource( ResourceARN='string', Tags=[ { 'Key': 'string', 'Value': 'string' }, ] )
- Parameters:
ResourceARN (string) –
[REQUIRED]
The ARN of the application to assign the tags.
Tags (list) –
[REQUIRED]
The key-value tags to assign to the application.
(dict) –
A key-value pair (the value is optional) that you can define and assign to AWS resources. If you specify a tag that already exists, the tag value is replaced with the value that you specify in the request. Note that the maximum number of application tags includes system tags. The maximum number of user-defined application tags is 50. For more information, see Using Tagging.
Key (string) – [REQUIRED]
The key of the key-value tag.
Value (string) –
The value of the key-value tag. The value is optional.
- Return type:
dict
- Returns:
Response Syntax
{}
Response Structure
(dict) –
Exceptions
KinesisAnalytics.Client.exceptions.ResourceNotFoundException
KinesisAnalytics.Client.exceptions.ResourceInUseException
KinesisAnalytics.Client.exceptions.TooManyTagsException
KinesisAnalytics.Client.exceptions.InvalidArgumentException
KinesisAnalytics.Client.exceptions.ConcurrentModificationException