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 |
Grants permission to list destinations
This operation returns paginated results.
Synopsis
- data ListDestinations = ListDestinations' {}
- newListDestinations :: Text -> ListDestinations
- listDestinations_maxResults :: Lens' ListDestinations (Maybe Natural)
- listDestinations_nextToken :: Lens' ListDestinations (Maybe Text)
- listDestinations_state :: Lens' ListDestinations (Maybe DestinationState)
- listDestinations_site :: Lens' ListDestinations Text
- data ListDestinationsResponse = ListDestinationsResponse' {
- destinations :: Maybe [Destination]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListDestinationsResponse :: Int -> ListDestinationsResponse
- listDestinationsResponse_destinations :: Lens' ListDestinationsResponse (Maybe [Destination])
- listDestinationsResponse_nextToken :: Lens' ListDestinationsResponse (Maybe Text)
- listDestinationsResponse_httpStatus :: Lens' ListDestinationsResponse Int
Creating a Request
data ListDestinations Source #
See: newListDestinations
smart constructor.
Instances
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
- Undocumented member.
ListDestinations
, listDestinations_nextToken
- Undocumented member.
ListDestinations
, listDestinations_state
- Undocumented member.
ListDestinations
, listDestinations_site
- Undocumented member.
Request Lenses
listDestinations_maxResults :: Lens' ListDestinations (Maybe Natural) Source #
Undocumented member.
listDestinations_nextToken :: Lens' ListDestinations (Maybe Text) Source #
Undocumented member.
listDestinations_state :: Lens' ListDestinations (Maybe DestinationState) Source #
Undocumented member.
listDestinations_site :: Lens' ListDestinations Text Source #
Undocumented member.
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:destinations:ListDestinationsResponse'
, listDestinationsResponse_destinations
- Undocumented member.
ListDestinations
, listDestinationsResponse_nextToken
- Undocumented member.
$sel:httpStatus:ListDestinationsResponse'
, listDestinationsResponse_httpStatus
- The response's http status code.
Response Lenses
listDestinationsResponse_destinations :: Lens' ListDestinationsResponse (Maybe [Destination]) Source #
Undocumented member.
listDestinationsResponse_nextToken :: Lens' ListDestinationsResponse (Maybe Text) Source #
Undocumented member.
listDestinationsResponse_httpStatus :: Lens' ListDestinationsResponse Int Source #
The response's http status code.