Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Returns all the destinations that are associated with the AWS account making the request. The list returned in the response is ASCII-sorted by destination name.
By default, this operation returns up to 50 destinations. If there are more destinations to list, the response would contain a nextToken
value in the response body. You can also limit the number of destinations returned in the response by specifying the limit
parameter in the request.
This operation returns paginated results.
- describeDestinations :: DescribeDestinations
- data DescribeDestinations
- ddNextToken :: Lens' DescribeDestinations (Maybe Text)
- ddLimit :: Lens' DescribeDestinations (Maybe Natural)
- ddDestinationNamePrefix :: Lens' DescribeDestinations (Maybe Text)
- describeDestinationsResponse :: Int -> DescribeDestinationsResponse
- data DescribeDestinationsResponse
- ddrsNextToken :: Lens' DescribeDestinationsResponse (Maybe Text)
- ddrsDestinations :: Lens' DescribeDestinationsResponse [Destination]
- ddrsResponseStatus :: Lens' DescribeDestinationsResponse Int
Creating a Request
describeDestinations :: DescribeDestinations Source #
Creates a value of DescribeDestinations
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeDestinations Source #
See: describeDestinations
smart constructor.
Request Lenses
ddNextToken :: Lens' DescribeDestinations (Maybe Text) Source #
Undocumented member.
ddDestinationNamePrefix :: Lens' DescribeDestinations (Maybe Text) Source #
Will only return destinations that match the provided destinationNamePrefix. If you don't specify a value, no prefix is applied.
Destructuring the Response
describeDestinationsResponse Source #
Creates a value of DescribeDestinationsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeDestinationsResponse Source #
See: describeDestinationsResponse
smart constructor.
Response Lenses
ddrsNextToken :: Lens' DescribeDestinationsResponse (Maybe Text) Source #
Undocumented member.
ddrsDestinations :: Lens' DescribeDestinationsResponse [Destination] Source #
Undocumented member.
ddrsResponseStatus :: Lens' DescribeDestinationsResponse Int Source #
The response status code.