CodeGuruProfiler.Client.
tag_resource
(**kwargs)¶Use to assign one or more tags to a 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 that the tags are added to.
[REQUIRED]
The list of tags that are added to the specified resource.
dict
Response Syntax
{}
Response Structure
Exceptions
CodeGuruProfiler.Client.exceptions.InternalServerException
CodeGuruProfiler.Client.exceptions.ValidationException
CodeGuruProfiler.Client.exceptions.ResourceNotFoundException