GlobalAccelerator.Client.
tag_resource
(**kwargs)¶Add tags to an accelerator resource.
For more information, see Tagging in Global Accelerator in the Global Accelerator Developer Guide .
See also: AWS API Documentation
Request Syntax
response = client.tag_resource(
ResourceArn='string',
Tags=[
{
'Key': 'string',
'Value': 'string'
},
]
)
[REQUIRED]
The Amazon Resource Name (ARN) of the Global Accelerator resource to add tags to. An ARN uniquely identifies a resource.
[REQUIRED]
The tags to add to a resource. A tag consists of a key and a value that you define.
A complex type that contains a Tag
key and Tag
value.
A string that contains a Tag
key.
A string that contains a Tag
value.
dict
Response Syntax
{}
Response Structure
Exceptions
GlobalAccelerator.Client.exceptions.AcceleratorNotFoundException
GlobalAccelerator.Client.exceptions.InternalServiceErrorException
GlobalAccelerator.Client.exceptions.InvalidArgumentException