rePostPrivate / Client / tag_resource
tag_resource#
- rePostPrivate.Client.tag_resource(**kwargs)#
Associates tags with an AWS re:Post Private resource. Currently, the only resource that can be tagged is the private re:Post. If you specify a new tag key for the resource, the tag is appended to the list of tags that are associated with the resource. If you specify a tag key that’s already associated with the resource, the new tag value that you specify replaces the previous value for that tag.
See also: AWS API Documentation
Request Syntax
response = client.tag_resource( resourceArn='string', tags={ 'string': 'string' } )
- Parameters:
resourceArn (string) –
[REQUIRED]
The ARN of the resource that the tag is associated with.
tags (dict) –
[REQUIRED]
The list of tag keys and values that must be associated with the resource. You can associate tag keys only, tags (key and values) only, or a combination of tag keys and tags.
(string) –
(string) –
- Return type:
dict
- Returns:
Response Syntax
{}
Response Structure
(dict) –
Exceptions
rePostPrivate.Client.exceptions.AccessDeniedException
rePostPrivate.Client.exceptions.ValidationException
rePostPrivate.Client.exceptions.ResourceNotFoundException
rePostPrivate.Client.exceptions.ThrottlingException
rePostPrivate.Client.exceptions.InternalServerException