amazonka-cloudwatch-logs-1.4.4: 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:

data DescribeDestinations Source #

See: describeDestinations smart constructor.

Instances

Eq DescribeDestinations Source # 
Data DescribeDestinations Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DescribeDestinations -> c DescribeDestinations #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DescribeDestinations #

toConstr :: DescribeDestinations -> Constr #

dataTypeOf :: DescribeDestinations -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DescribeDestinations) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DescribeDestinations) #

gmapT :: (forall b. Data b => b -> b) -> DescribeDestinations -> DescribeDestinations #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DescribeDestinations -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DescribeDestinations -> r #

gmapQ :: (forall d. Data d => d -> u) -> DescribeDestinations -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DescribeDestinations -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DescribeDestinations -> m DescribeDestinations #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeDestinations -> m DescribeDestinations #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeDestinations -> m DescribeDestinations #

Read DescribeDestinations Source # 
Show DescribeDestinations Source # 
Generic DescribeDestinations Source # 
Hashable DescribeDestinations Source # 
NFData DescribeDestinations Source # 

Methods

rnf :: DescribeDestinations -> () #

AWSPager DescribeDestinations Source # 
AWSRequest DescribeDestinations Source # 
ToPath DescribeDestinations Source # 
ToHeaders DescribeDestinations Source # 
ToQuery DescribeDestinations Source # 
ToJSON DescribeDestinations Source # 
type Rep DescribeDestinations Source # 
type Rep DescribeDestinations = D1 (MetaData "DescribeDestinations" "Network.AWS.CloudWatchLogs.DescribeDestinations" "amazonka-cloudwatch-logs-1.4.4-EgOzOYKUQiWBkTjIo71Lcv" False) (C1 (MetaCons "DescribeDestinations'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ddNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_ddLimit") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))) (S1 (MetaSel (Just Symbol "_ddDestinationNamePrefix") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Rs DescribeDestinations Source # 

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:

data DescribeDestinationsResponse Source #

See: describeDestinationsResponse smart constructor.

Instances

Eq DescribeDestinationsResponse Source # 
Data DescribeDestinationsResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DescribeDestinationsResponse -> c DescribeDestinationsResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DescribeDestinationsResponse #

toConstr :: DescribeDestinationsResponse -> Constr #

dataTypeOf :: DescribeDestinationsResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DescribeDestinationsResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DescribeDestinationsResponse) #

gmapT :: (forall b. Data b => b -> b) -> DescribeDestinationsResponse -> DescribeDestinationsResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DescribeDestinationsResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DescribeDestinationsResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> DescribeDestinationsResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DescribeDestinationsResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DescribeDestinationsResponse -> m DescribeDestinationsResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeDestinationsResponse -> m DescribeDestinationsResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeDestinationsResponse -> m DescribeDestinationsResponse #

Read DescribeDestinationsResponse Source # 
Show DescribeDestinationsResponse Source # 
Generic DescribeDestinationsResponse Source # 
NFData DescribeDestinationsResponse Source # 
type Rep DescribeDestinationsResponse Source # 
type Rep DescribeDestinationsResponse = D1 (MetaData "DescribeDestinationsResponse" "Network.AWS.CloudWatchLogs.DescribeDestinations" "amazonka-cloudwatch-logs-1.4.4-EgOzOYKUQiWBkTjIo71Lcv" False) (C1 (MetaCons "DescribeDestinationsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ddrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_ddrsDestinations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Destination]))) (S1 (MetaSel (Just Symbol "_ddrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

Response Lenses