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 paginated list of gateways.
This operation returns paginated results.
Synopsis
- data ListGateways = ListGateways' {}
- newListGateways :: ListGateways
- listGateways_nextToken :: Lens' ListGateways (Maybe Text)
- listGateways_maxResults :: Lens' ListGateways (Maybe Natural)
- data ListGatewaysResponse = ListGatewaysResponse' {}
- newListGatewaysResponse :: Int -> ListGatewaysResponse
- listGatewaysResponse_nextToken :: Lens' ListGatewaysResponse (Maybe Text)
- listGatewaysResponse_httpStatus :: Lens' ListGatewaysResponse Int
- listGatewaysResponse_gatewaySummaries :: Lens' ListGatewaysResponse [GatewaySummary]
Creating a Request
data ListGateways Source #
See: newListGateways
smart constructor.
Instances
newListGateways :: ListGateways Source #
Create a value of ListGateways
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:ListGateways'
, listGateways_nextToken
- The token to be used for the next set of paginated results.
$sel:maxResults:ListGateways'
, listGateways_maxResults
- The maximum number of results to return for each paginated request.
Default: 50
Request Lenses
listGateways_nextToken :: Lens' ListGateways (Maybe Text) Source #
The token to be used for the next set of paginated results.
listGateways_maxResults :: Lens' ListGateways (Maybe Natural) Source #
The maximum number of results to return for each paginated request.
Default: 50
Destructuring the Response
data ListGatewaysResponse Source #
See: newListGatewaysResponse
smart constructor.
ListGatewaysResponse' | |
|
Instances
newListGatewaysResponse Source #
Create a value of ListGatewaysResponse
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:ListGateways'
, listGatewaysResponse_nextToken
- The token for the next set of results, or null if there are no
additional results.
$sel:httpStatus:ListGatewaysResponse'
, listGatewaysResponse_httpStatus
- The response's http status code.
$sel:gatewaySummaries:ListGatewaysResponse'
, listGatewaysResponse_gatewaySummaries
- A list that summarizes each gateway.
Response Lenses
listGatewaysResponse_nextToken :: Lens' ListGatewaysResponse (Maybe Text) Source #
The token for the next set of results, or null if there are no additional results.
listGatewaysResponse_httpStatus :: Lens' ListGatewaysResponse Int Source #
The response's http status code.
listGatewaysResponse_gatewaySummaries :: Lens' ListGatewaysResponse [GatewaySummary] Source #
A list that summarizes each gateway.