| 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.ListDestinations
Description
Lists the destinations registered to your AWS account.
Synopsis
- data ListDestinations = ListDestinations' {}
- newListDestinations :: ListDestinations
- listDestinations_maxResults :: Lens' ListDestinations (Maybe Natural)
- listDestinations_nextToken :: Lens' ListDestinations (Maybe Text)
- data ListDestinationsResponse = ListDestinationsResponse' {
- destinationList :: Maybe [Destinations]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListDestinationsResponse :: Int -> ListDestinationsResponse
- listDestinationsResponse_destinationList :: Lens' ListDestinationsResponse (Maybe [Destinations])
- listDestinationsResponse_nextToken :: Lens' ListDestinationsResponse (Maybe Text)
- listDestinationsResponse_httpStatus :: Lens' ListDestinationsResponse Int
Creating a Request
data ListDestinations Source #
See: newListDestinations smart constructor.
Constructors
| ListDestinations' | |
Instances
newListDestinations :: ListDestinations Source #
Create a value of ListDestinations 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:ListDestinations', listDestinations_maxResults - The maximum number of results to return in this operation.
ListDestinations, listDestinations_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
listDestinations_maxResults :: Lens' ListDestinations (Maybe Natural) Source #
The maximum number of results to return in this operation.
listDestinations_nextToken :: Lens' ListDestinations (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 ListDestinationsResponse Source #
See: newListDestinationsResponse smart constructor.
Constructors
| ListDestinationsResponse' | |
Fields
| |
Instances
newListDestinationsResponse Source #
Create a value of ListDestinationsResponse 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:destinationList:ListDestinationsResponse', listDestinationsResponse_destinationList - The list of destinations.
ListDestinations, listDestinationsResponse_nextToken - The token to use to get the next set of results, or null if there
are no additional results.
$sel:httpStatus:ListDestinationsResponse', listDestinationsResponse_httpStatus - The response's http status code.
Response Lenses
listDestinationsResponse_destinationList :: Lens' ListDestinationsResponse (Maybe [Destinations]) Source #
The list of destinations.
listDestinationsResponse_nextToken :: Lens' ListDestinationsResponse (Maybe Text) Source #
The token to use to get the next set of results, or null if there are no additional results.
listDestinationsResponse_httpStatus :: Lens' ListDestinationsResponse Int Source #
The response's http status code.