| 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.IoTWireless.ListWirelessGateways
Description
Lists the wireless gateways registered to your AWS account.
Synopsis
- data ListWirelessGateways = ListWirelessGateways' {}
- newListWirelessGateways :: ListWirelessGateways
- listWirelessGateways_maxResults :: Lens' ListWirelessGateways (Maybe Natural)
- listWirelessGateways_nextToken :: Lens' ListWirelessGateways (Maybe Text)
- data ListWirelessGatewaysResponse = ListWirelessGatewaysResponse' {}
- newListWirelessGatewaysResponse :: Int -> ListWirelessGatewaysResponse
- listWirelessGatewaysResponse_nextToken :: Lens' ListWirelessGatewaysResponse (Maybe Text)
- listWirelessGatewaysResponse_wirelessGatewayList :: Lens' ListWirelessGatewaysResponse (Maybe [WirelessGatewayStatistics])
- listWirelessGatewaysResponse_httpStatus :: Lens' ListWirelessGatewaysResponse Int
Creating a Request
data ListWirelessGateways Source #
See: newListWirelessGateways smart constructor.
Constructors
| ListWirelessGateways' | |
Instances
newListWirelessGateways :: ListWirelessGateways Source #
Create a value of ListWirelessGateways 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:ListWirelessGateways', listWirelessGateways_maxResults - The maximum number of results to return in this operation.
ListWirelessGateways, listWirelessGateways_nextToken - To retrieve the next set of results, the nextToken value from a
previous response; otherwise null to receive the first set of
results.
Request Lenses
listWirelessGateways_maxResults :: Lens' ListWirelessGateways (Maybe Natural) Source #
The maximum number of results to return in this operation.
listWirelessGateways_nextToken :: Lens' ListWirelessGateways (Maybe Text) Source #
To retrieve the next set of results, the nextToken value from a
previous response; otherwise null to receive the first set of
results.
Destructuring the Response
data ListWirelessGatewaysResponse Source #
See: newListWirelessGatewaysResponse smart constructor.
Constructors
| ListWirelessGatewaysResponse' | |
Fields
| |
Instances
newListWirelessGatewaysResponse Source #
Create a value of ListWirelessGatewaysResponse 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:
ListWirelessGateways, listWirelessGatewaysResponse_nextToken - The token to use to get the next set of results, or null if there
are no additional results.
$sel:wirelessGatewayList:ListWirelessGatewaysResponse', listWirelessGatewaysResponse_wirelessGatewayList - The ID of the wireless gateway.
$sel:httpStatus:ListWirelessGatewaysResponse', listWirelessGatewaysResponse_httpStatus - The response's http status code.
Response Lenses
listWirelessGatewaysResponse_nextToken :: Lens' ListWirelessGatewaysResponse (Maybe Text) Source #
The token to use to get the next set of results, or null if there are no additional results.
listWirelessGatewaysResponse_wirelessGatewayList :: Lens' ListWirelessGatewaysResponse (Maybe [WirelessGatewayStatistics]) Source #
The ID of the wireless gateway.
listWirelessGatewaysResponse_httpStatus :: Lens' ListWirelessGatewaysResponse Int Source #
The response's http status code.