Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
__This operation is used with the GameLift FleetIQ solution and game server groups.__
Retrieves information on all game servers groups that exist in the current AWS account for the selected Region. Use the pagination parameters to retrieve results in a set of sequential segments.
Learn more
Related actions
CreateGameServerGroup | ListGameServerGroups | DescribeGameServerGroup | UpdateGameServerGroup | DeleteGameServerGroup | ResumeGameServerGroup | SuspendGameServerGroup | DescribeGameServerInstances | All APIs by task
This operation returns paginated results.
Synopsis
- data ListGameServerGroups = ListGameServerGroups' {}
- newListGameServerGroups :: ListGameServerGroups
- listGameServerGroups_nextToken :: Lens' ListGameServerGroups (Maybe Text)
- listGameServerGroups_limit :: Lens' ListGameServerGroups (Maybe Natural)
- data ListGameServerGroupsResponse = ListGameServerGroupsResponse' {}
- newListGameServerGroupsResponse :: Int -> ListGameServerGroupsResponse
- listGameServerGroupsResponse_gameServerGroups :: Lens' ListGameServerGroupsResponse (Maybe [GameServerGroup])
- listGameServerGroupsResponse_nextToken :: Lens' ListGameServerGroupsResponse (Maybe Text)
- listGameServerGroupsResponse_httpStatus :: Lens' ListGameServerGroupsResponse Int
Creating a Request
data ListGameServerGroups Source #
See: newListGameServerGroups
smart constructor.
ListGameServerGroups' | |
|
Instances
newListGameServerGroups :: ListGameServerGroups Source #
Create a value of ListGameServerGroups
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextToken:ListGameServerGroups'
, listGameServerGroups_nextToken
- A token that indicates the start of the next sequential page of results.
Use the token that is returned with a previous call to this operation.
To start at the beginning of the result set, do not specify a value.
$sel:limit:ListGameServerGroups'
, listGameServerGroups_limit
- The maximum number of results to return. Use this parameter with
NextToken
to get results as a set of sequential pages.
Request Lenses
listGameServerGroups_nextToken :: Lens' ListGameServerGroups (Maybe Text) Source #
A token that indicates the start of the next sequential page of results. Use the token that is returned with a previous call to this operation. To start at the beginning of the result set, do not specify a value.
listGameServerGroups_limit :: Lens' ListGameServerGroups (Maybe Natural) Source #
The maximum number of results to return. Use this parameter with
NextToken
to get results as a set of sequential pages.
Destructuring the Response
data ListGameServerGroupsResponse Source #
See: newListGameServerGroupsResponse
smart constructor.
ListGameServerGroupsResponse' | |
|
Instances
newListGameServerGroupsResponse Source #
Create a value of ListGameServerGroupsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:gameServerGroups:ListGameServerGroupsResponse'
, listGameServerGroupsResponse_gameServerGroups
- A collection of game server group objects that match the request.
$sel:nextToken:ListGameServerGroups'
, listGameServerGroupsResponse_nextToken
- A token that indicates where to resume retrieving results on the next
call to this operation. If no token is returned, these results represent
the end of the list.
$sel:httpStatus:ListGameServerGroupsResponse'
, listGameServerGroupsResponse_httpStatus
- The response's http status code.
Response Lenses
listGameServerGroupsResponse_gameServerGroups :: Lens' ListGameServerGroupsResponse (Maybe [GameServerGroup]) Source #
A collection of game server group objects that match the request.
listGameServerGroupsResponse_nextToken :: Lens' ListGameServerGroupsResponse (Maybe Text) Source #
A token that indicates where to resume retrieving results on the next call to this operation. If no token is returned, these results represent the end of the list.
listGameServerGroupsResponse_httpStatus :: Lens' ListGameServerGroupsResponse Int Source #
The response's http status code.