BillingandCostManagementPricingCalculator / Client / tag_resource
tag_resource#
- BillingandCostManagementPricingCalculator.Client.tag_resource(**kwargs)#
Adds one or more tags to a specified resource.
See also: AWS API Documentation
Request Syntax
response = client.tag_resource( arn='string', tags={ 'string': 'string' } )
- Parameters:
arn (string) –
[REQUIRED]
The Amazon Resource Name (ARN) of the resource to add tags to.
tags (dict) –
[REQUIRED]
The tags to add to the resource.
(string) –
(string) –
- Return type:
dict
- Returns:
Response Syntax
{}
Response Structure
(dict) –
Exceptions
BillingandCostManagementPricingCalculator.Client.exceptions.ValidationException
BillingandCostManagementPricingCalculator.Client.exceptions.ServiceQuotaExceededException
BillingandCostManagementPricingCalculator.Client.exceptions.InternalServerException
BillingandCostManagementPricingCalculator.Client.exceptions.ResourceNotFoundException
BillingandCostManagementPricingCalculator.Client.exceptions.AccessDeniedException
BillingandCostManagementPricingCalculator.Client.exceptions.ThrottlingException