| Copyright | (c) 2013-2018 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 |
| Language | Haskell2010 |
Network.AWS.CloudWatchLogs.DescribeDestinations
Description
Lists all your destinations. The results are ASCII-sorted by destination name.
This operation returns paginated results.
Synopsis
- 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:
ddNextToken- The token for the next set of items to return. (You received this token from a previous call.)ddLimit- The maximum number of items returned. If you don't specify a value, the default is up to 50 items.ddDestinationNamePrefix- The prefix to match. If you don't specify a value, no prefix filter is applied.
data DescribeDestinations Source #
See: describeDestinations smart constructor.
Instances
Request Lenses
ddNextToken :: Lens' DescribeDestinations (Maybe Text) Source #
The token for the next set of items to return. (You received this token from a previous call.)
ddLimit :: 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.
ddDestinationNamePrefix :: Lens' DescribeDestinations (Maybe Text) Source #
The prefix to match. If you don't specify a value, no prefix filter is applied.
Destructuring the Response
describeDestinationsResponse Source #
Arguments
| :: Int | |
| -> DescribeDestinationsResponse |
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:
ddrsNextToken- Undocumented member.ddrsDestinations- The destinations.ddrsResponseStatus- -- | The response status code.
data DescribeDestinationsResponse Source #
See: describeDestinationsResponse smart constructor.
Instances
Response Lenses
ddrsNextToken :: Lens' DescribeDestinationsResponse (Maybe Text) Source #
Undocumented member.
ddrsDestinations :: Lens' DescribeDestinationsResponse [Destination] Source #
The destinations.
ddrsResponseStatus :: Lens' DescribeDestinationsResponse Int Source #
- - | The response status code.