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

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

Network.AWS.CloudWatchLogs.DescribeDestinations

Contents

Description

Lists all your destinations. The results are ASCII-sorted by destination name.

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:

  • 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

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 # 
ToJSON DescribeDestinations Source # 
NFData DescribeDestinations Source # 

Methods

rnf :: DescribeDestinations -> () #

AWSPager DescribeDestinations Source # 
AWSRequest DescribeDestinations Source # 
ToHeaders DescribeDestinations Source # 
ToPath DescribeDestinations Source # 
ToQuery DescribeDestinations Source # 
type Rep DescribeDestinations Source # 
type Rep DescribeDestinations = D1 * (MetaData "DescribeDestinations" "Network.AWS.CloudWatchLogs.DescribeDestinations" "amazonka-cloudwatch-logs-1.6.0-HcMszQeKJF6Iux4ovYYZri" 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

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 #

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.6.0-HcMszQeKJF6Iux4ovYYZri" 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 DecidedStrict) (Rec0 * Int)))))

Response Lenses