amazonka-cloudwatch-logs-1.4.0: Amazon CloudWatch Logs SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.CloudWatchLogs.DescribeDestinations

Contents

Description

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.

Synopsis

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:

Request Lenses

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:

Response Lenses