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 |
Retrieves a list of gateway group summaries. Use GetGatewayGroup to retrieve details of a specific gateway group.
Synopsis
- data ListGatewayGroups = ListGatewayGroups' {}
- newListGatewayGroups :: ListGatewayGroups
- listGatewayGroups_nextToken :: Lens' ListGatewayGroups (Maybe Text)
- listGatewayGroups_maxResults :: Lens' ListGatewayGroups (Maybe Natural)
- data ListGatewayGroupsResponse = ListGatewayGroupsResponse' {}
- newListGatewayGroupsResponse :: Int -> ListGatewayGroupsResponse
- listGatewayGroupsResponse_gatewayGroups :: Lens' ListGatewayGroupsResponse (Maybe [GatewayGroupSummary])
- listGatewayGroupsResponse_nextToken :: Lens' ListGatewayGroupsResponse (Maybe Text)
- listGatewayGroupsResponse_httpStatus :: Lens' ListGatewayGroupsResponse Int
Creating a Request
data ListGatewayGroups Source #
See: newListGatewayGroups
smart constructor.
Instances
newListGatewayGroups :: ListGatewayGroups Source #
Create a value of ListGatewayGroups
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:ListGatewayGroups'
, listGatewayGroups_nextToken
- The token used to paginate though multiple pages of gateway group
summaries.
$sel:maxResults:ListGatewayGroups'
, listGatewayGroups_maxResults
- The maximum number of gateway group summaries to return. The default is
50.
Request Lenses
listGatewayGroups_nextToken :: Lens' ListGatewayGroups (Maybe Text) Source #
The token used to paginate though multiple pages of gateway group summaries.
listGatewayGroups_maxResults :: Lens' ListGatewayGroups (Maybe Natural) Source #
The maximum number of gateway group summaries to return. The default is 50.
Destructuring the Response
data ListGatewayGroupsResponse Source #
See: newListGatewayGroupsResponse
smart constructor.
ListGatewayGroupsResponse' | |
|
Instances
newListGatewayGroupsResponse Source #
Create a value of ListGatewayGroupsResponse
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:gatewayGroups:ListGatewayGroupsResponse'
, listGatewayGroupsResponse_gatewayGroups
- The gateway groups in the list.
$sel:nextToken:ListGatewayGroups'
, listGatewayGroupsResponse_nextToken
- The token used to paginate though multiple pages of gateway group
summaries.
$sel:httpStatus:ListGatewayGroupsResponse'
, listGatewayGroupsResponse_httpStatus
- The response's http status code.
Response Lenses
listGatewayGroupsResponse_gatewayGroups :: Lens' ListGatewayGroupsResponse (Maybe [GatewayGroupSummary]) Source #
The gateway groups in the list.
listGatewayGroupsResponse_nextToken :: Lens' ListGatewayGroupsResponse (Maybe Text) Source #
The token used to paginate though multiple pages of gateway group summaries.
listGatewayGroupsResponse_httpStatus :: Lens' ListGatewayGroupsResponse Int Source #
The response's http status code.