Retrieves all tags that are assigned to a GameLift resource. Resource tags are used to organize Amazon Web Services resources for a range of purposes. This operation handles the permissions necessary to manage tags for the following GameLift resource types:
To list tags for a resource, specify the unique ARN value for the resource.
Learn more
Tagging Amazon Web Services Resources in the Amazon Web Services General Reference
Amazon Web Services Tagging Strategies
Related actions
See also: AWS API Documentation
Request Syntax
response = client.list_tags_for_resource(
ResourceARN='string'
)
[REQUIRED]
The Amazon Resource Name ( ARN ) that is assigned to and uniquely identifies the GameLift resource that you want to retrieve tags for. GameLift resource ARNs are included in the data object for the resource, which can be retrieved by calling a List or Describe operation for the resource type.
{
'Tags': [
{
'Key': 'string',
'Value': 'string'
},
]
}
Response Structure
The collection of tags that have been assigned to the specified resource.
A label that can be assigned to a GameLift resource.
Learn moreTagging Amazon Web Services Resources in the Amazon Web Services General Reference
Amazon Web Services Tagging Strategies
Related actions
The key for a developer-defined key:value pair for tagging an Amazon Web Services resource.
The value for a developer-defined key:value pair for tagging an Amazon Web Services resource.
Exceptions
GameLift.Client.exceptions.NotFoundException
GameLift.Client.exceptions.InvalidRequestException
GameLift.Client.exceptions.TaggingFailedException
GameLift.Client.exceptions.InternalServiceException