imagebuilder / Client / tag_resource
tag_resource#
- imagebuilder.Client.tag_resource(**kwargs)#
Adds a tag to 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) of the resource that you want to tag.
tags (dict) –
[REQUIRED]
The tags to apply to the resource.
(string) –
(string) –
- Return type:
dict
- Returns:
Response Syntax
{}
Response Structure
(dict) –
Exceptions
imagebuilder.Client.exceptions.ServiceException
imagebuilder.Client.exceptions.InvalidParameterException
imagebuilder.Client.exceptions.ResourceNotFoundException