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