| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.GameLift.ListGameServerGroups
Description
Lists a game server groups.
This operation returns paginated results.
Synopsis
- data ListGameServerGroups = ListGameServerGroups' {}
- newListGameServerGroups :: ListGameServerGroups
- listGameServerGroups_limit :: Lens' ListGameServerGroups (Maybe Natural)
- listGameServerGroups_nextToken :: Lens' ListGameServerGroups (Maybe Text)
- 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.
Constructors
| 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:limit:ListGameServerGroups', listGameServerGroups_limit - The game server groups' limit.
ListGameServerGroups, listGameServerGroups_nextToken - Specify the pagination token from a previous request to retrieve the
next page of results.
Request Lenses
listGameServerGroups_limit :: Lens' ListGameServerGroups (Maybe Natural) Source #
The game server groups' limit.
listGameServerGroups_nextToken :: Lens' ListGameServerGroups (Maybe Text) Source #
Specify the pagination token from a previous request to retrieve the next page of results.
Destructuring the Response
data ListGameServerGroupsResponse Source #
See: newListGameServerGroupsResponse smart constructor.
Constructors
| ListGameServerGroupsResponse' | |
Fields
| |
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 - The game server groups' game server groups.
ListGameServerGroups, listGameServerGroupsResponse_nextToken - Specify the pagination token from a previous request to retrieve the
next page of results.
$sel:httpStatus:ListGameServerGroupsResponse', listGameServerGroupsResponse_httpStatus - The response's http status code.
Response Lenses
listGameServerGroupsResponse_gameServerGroups :: Lens' ListGameServerGroupsResponse (Maybe [GameServerGroup]) Source #
The game server groups' game server groups.
listGameServerGroupsResponse_nextToken :: Lens' ListGameServerGroupsResponse (Maybe Text) Source #
Specify the pagination token from a previous request to retrieve the next page of results.
listGameServerGroupsResponse_httpStatus :: Lens' ListGameServerGroupsResponse Int Source #
The response's http status code.