ManagedintegrationsforIoTDeviceManagement / Client / tag_resource
tag_resource¶
- ManagedintegrationsforIoTDeviceManagement.Client.tag_resource(**kwargs)¶
Adds tags to a specified resource.
See also: AWS API Documentation
Request Syntax
response = client.tag_resource( ResourceArn='string', Tags={ 'string': 'string' } )
- Parameters:
ResourceArn (string) –
[REQUIRED]
The Amazon Resource Name (ARN) of the resource to which to add tags.
Tags (dict) –
[REQUIRED]
A set of key/value pairs that are used to manage the resource.
(string) –
(string) –
- Return type:
dict
- Returns:
Response Syntax
{}Response Structure
(dict) –
Exceptions
ManagedintegrationsforIoTDeviceManagement.Client.exceptions.UnauthorizedExceptionManagedintegrationsforIoTDeviceManagement.Client.exceptions.ConflictExceptionManagedintegrationsforIoTDeviceManagement.Client.exceptions.InvalidRequestExceptionManagedintegrationsforIoTDeviceManagement.Client.exceptions.ResourceNotFoundExceptionManagedintegrationsforIoTDeviceManagement.Client.exceptions.ThrottlingException