Returns a list of tags that are associated with a resource group, specified by an ARN.
Minimum permissions
To run this command, you must have the following permissions:
resource-groups:GetTags
See also: AWS API Documentation
Request Syntax
response = client.get_tags(
Arn='string'
)
[REQUIRED]
The ARN of the resource group whose tags you want to retrieve.
{
'Arn': 'string',
'Tags': {
'string': 'string'
}
}
Response Structure
The ARN of the tagged resource group.
The tags associated with the specified resource group.
Exceptions
ResourceGroups.Client.exceptions.BadRequestException
ResourceGroups.Client.exceptions.ForbiddenException
ResourceGroups.Client.exceptions.NotFoundException
ResourceGroups.Client.exceptions.MethodNotAllowedException
ResourceGroups.Client.exceptions.TooManyRequestsException
ResourceGroups.Client.exceptions.InternalServerErrorException