GameLift / Client / list_tags_for_resource
list_tags_for_resource#
- GameLift.Client.list_tags_for_resource(**kwargs)#
Retrieves all tags assigned to a Amazon GameLift resource. Use resource tags to organize Amazon Web Services resources for a range of purposes. This operation handles the permissions necessary to manage tags for Amazon GameLift resources that support tagging.
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' )
- Parameters:
ResourceARN (string) –
[REQUIRED]
The Amazon Resource Name ( ARN) that uniquely identifies the Amazon GameLift resource that you want to retrieve tags for. Amazon GameLift includes resource ARNs in the data object for the resource. You can retrieve the ARN by calling a
List
orDescribe
operation for the resource type.- Return type:
dict
- Returns:
Response Syntax
{ 'Tags': [ { 'Key': 'string', 'Value': 'string' }, ] }
Response Structure
(dict) –
Tags (list) –
The collection of tags assigned to the resource.
(dict) –
A label that you can assign to a Amazon GameLift resource.
Learn more
Tagging Amazon Web Services Resources in the Amazon Web Services General Reference
Amazon Web Services Tagging Strategies
Related actions
Key (string) –
The key for a developer-defined key value pair for tagging an Amazon Web Services resource.
Value (string) –
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