tag_resource
(**kwargs)¶Adds 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 to apply a tag to.
[REQUIRED]
The tags to be added to a resource.
dict
Response Syntax
{}
Response Structure
Exceptions
Inspector2.Client.exceptions.BadRequestException
Inspector2.Client.exceptions.ValidationException
Inspector2.Client.exceptions.ResourceNotFoundException
Inspector2.Client.exceptions.ThrottlingException
Inspector2.Client.exceptions.InternalServerException