GameLift.Paginator.
ListLocations
¶paginator = client.get_paginator('list_locations')
paginate
(**kwargs)¶Creates an iterator that will paginate through responses from GameLift.Client.list_locations()
.
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
Filters=[
'AWS'|'CUSTOM',
],
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
Filters the list for AWS
or CUSTOM
locations.
A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken
will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken
from a previous response.
dict
Response Syntax
{
'Locations': [
{
'LocationName': 'string',
'LocationArn': 'string'
},
],
}
Response Structure
(dict) --
Locations (list) --
A collection of locations.
(dict) --
Properties of a location
LocationName (string) --
The location's name.
LocationArn (string) --
The Amazon Resource Name ( ARN ) that is assigned to a GameLift location resource and uniquely identifies it. ARNs are unique across all Regions. Format is arn:aws:gamelift:<region>::location/location-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912
.