SavingsPlans.Client.
tag_resource
(**kwargs)¶Adds the specified tags to the specified resource.
See also: AWS API Documentation
Request Syntax
response = client.tag_resource(
resourceArn='string',
tags={
'string': 'string'
}
)
[REQUIRED]
The Amazon Resource Name (ARN) of the resource.
[REQUIRED]
One or more tags. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
dict
Response Syntax
{}
Response Structure
Exceptions
SavingsPlans.Client.exceptions.ResourceNotFoundException
SavingsPlans.Client.exceptions.ServiceQuotaExceededException
SavingsPlans.Client.exceptions.ValidationException
SavingsPlans.Client.exceptions.InternalServerException