CleanRoomsService / Client / tag_resource
tag_resource#
- CleanRoomsService.Client.tag_resource(**kwargs)#
Tags a 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) associated with the resource you want to tag.
tags (dict) –
[REQUIRED]
A map of objects specifying each key name and value.
(string) –
(string) –
- Return type:
dict
- Returns:
Response Syntax
{}
Response Structure
(dict) –
Exceptions
CleanRoomsService.Client.exceptions.ResourceNotFoundException
CleanRoomsService.Client.exceptions.ValidationException