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 all your destinations. The results are ASCII-sorted by destination name.
This operation returns paginated results.
Synopsis
- data DescribeDestinations = DescribeDestinations' {}
- newDescribeDestinations :: DescribeDestinations
- describeDestinations_nextToken :: Lens' DescribeDestinations (Maybe Text)
- describeDestinations_limit :: Lens' DescribeDestinations (Maybe Natural)
- describeDestinations_destinationNamePrefix :: Lens' DescribeDestinations (Maybe Text)
- data DescribeDestinationsResponse = DescribeDestinationsResponse' {
- nextToken :: Maybe Text
- destinations :: Maybe [Destination]
- httpStatus :: Int
- newDescribeDestinationsResponse :: Int -> DescribeDestinationsResponse
- describeDestinationsResponse_nextToken :: Lens' DescribeDestinationsResponse (Maybe Text)
- describeDestinationsResponse_destinations :: Lens' DescribeDestinationsResponse (Maybe [Destination])
- describeDestinationsResponse_httpStatus :: Lens' DescribeDestinationsResponse Int
Creating a Request
data DescribeDestinations Source #
See: newDescribeDestinations
smart constructor.
DescribeDestinations' | |
|
Instances
newDescribeDestinations :: DescribeDestinations Source #
Create a value of DescribeDestinations
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:DescribeDestinations'
, describeDestinations_nextToken
- The token for the next set of items to return. (You received this token
from a previous call.)
$sel:limit:DescribeDestinations'
, describeDestinations_limit
- The maximum number of items returned. If you don't specify a value, the
default is up to 50 items.
$sel:destinationNamePrefix:DescribeDestinations'
, describeDestinations_destinationNamePrefix
- The prefix to match. If you don't specify a value, no prefix filter is
applied.
Request Lenses
describeDestinations_nextToken :: Lens' DescribeDestinations (Maybe Text) Source #
The token for the next set of items to return. (You received this token from a previous call.)
describeDestinations_limit :: Lens' DescribeDestinations (Maybe Natural) Source #
The maximum number of items returned. If you don't specify a value, the default is up to 50 items.
describeDestinations_destinationNamePrefix :: Lens' DescribeDestinations (Maybe Text) Source #
The prefix to match. If you don't specify a value, no prefix filter is applied.
Destructuring the Response
data DescribeDestinationsResponse Source #
See: newDescribeDestinationsResponse
smart constructor.
DescribeDestinationsResponse' | |
|
Instances
newDescribeDestinationsResponse Source #
Create a value of DescribeDestinationsResponse
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:DescribeDestinations'
, describeDestinationsResponse_nextToken
- Undocumented member.
$sel:destinations:DescribeDestinationsResponse'
, describeDestinationsResponse_destinations
- The destinations.
$sel:httpStatus:DescribeDestinationsResponse'
, describeDestinationsResponse_httpStatus
- The response's http status code.
Response Lenses
describeDestinationsResponse_nextToken :: Lens' DescribeDestinationsResponse (Maybe Text) Source #
Undocumented member.
describeDestinationsResponse_destinations :: Lens' DescribeDestinationsResponse (Maybe [Destination]) Source #
The destinations.
describeDestinationsResponse_httpStatus :: Lens' DescribeDestinationsResponse Int Source #
The response's http status code.