Budgets / Client / tag_resource
tag_resource#
- Budgets.Client.tag_resource(**kwargs)#
Creates tags for a budget or budget action resource.
See also: AWS API Documentation
Request Syntax
response = client.tag_resource( ResourceARN='string', ResourceTags=[ { 'Key': 'string', 'Value': 'string' }, ] )
- Parameters:
ResourceARN (string) –
[REQUIRED]
The unique identifier for the resource.
ResourceTags (list) –
[REQUIRED]
The tags associated with the resource.
(dict) –
The tag structure that contains a tag key and value.
Key (string) – [REQUIRED]
The key that’s associated with the tag.
Value (string) – [REQUIRED]
The value that’s associated with the tag.
- Return type:
dict
- Returns:
Response Syntax
{}
Response Structure
(dict) –
Exceptions
Budgets.Client.exceptions.ThrottlingException
Budgets.Client.exceptions.ServiceQuotaExceededException
Budgets.Client.exceptions.NotFoundException
Budgets.Client.exceptions.AccessDeniedException
Budgets.Client.exceptions.InternalErrorException
Budgets.Client.exceptions.InvalidParameterException