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 |
Retrieves a paginated list of gateways.
This operation returns paginated results.
Synopsis
- data ListGateways = ListGateways' {}
- newListGateways :: ListGateways
- listGateways_maxResults :: Lens' ListGateways (Maybe Natural)
- listGateways_nextToken :: Lens' ListGateways (Maybe Text)
- 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:maxResults:ListGateways'
, listGateways_maxResults
- The maximum number of results to return for each paginated request.
Default: 50
ListGateways
, listGateways_nextToken
- The token to be used for the next set of paginated results.
Request Lenses
listGateways_maxResults :: Lens' ListGateways (Maybe Natural) Source #
The maximum number of results to return for each paginated request.
Default: 50
listGateways_nextToken :: Lens' ListGateways (Maybe Text) Source #
The token to be used for the next set of paginated results.
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:
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.