KinesisAnalyticsV2 / Client / tag_resource
tag_resource#
- KinesisAnalyticsV2.Client.tag_resource(**kwargs)#
Adds one or more key-value tags to a Managed Service for Apache Flink 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 Amazon 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
KinesisAnalyticsV2.Client.exceptions.ResourceNotFoundException
KinesisAnalyticsV2.Client.exceptions.ResourceInUseException
KinesisAnalyticsV2.Client.exceptions.TooManyTagsException
KinesisAnalyticsV2.Client.exceptions.InvalidArgumentException
KinesisAnalyticsV2.Client.exceptions.ConcurrentModificationException