IoTAnalytics / Client / tag_resource
tag_resource#
- IoTAnalytics.Client.tag_resource(**kwargs)#
Adds to or modifies the tags of the given resource. Tags are metadata that can be used to manage a resource.
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 resource whose tags you want to modify.
tags (list) –
[REQUIRED]
The new or modified tags for the resource.
(dict) –
A set of key-value pairs that are used to manage the resource.
key (string) – [REQUIRED]
The tag’s key.
value (string) – [REQUIRED]
The tag’s value.
- Return type:
dict
- Returns:
Response Syntax
{}
Response Structure
(dict) –
Exceptions
IoTAnalytics.Client.exceptions.InvalidRequestException
IoTAnalytics.Client.exceptions.InternalFailureException
IoTAnalytics.Client.exceptions.ServiceUnavailableException
IoTAnalytics.Client.exceptions.ThrottlingException
IoTAnalytics.Client.exceptions.LimitExceededException
IoTAnalytics.Client.exceptions.ResourceNotFoundException