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.DescribeLogGroups

Contents

Description

Returns all the log groups that are associated with the AWS account making the request. The list returned in the response is ASCII-sorted by log group name.

By default, this operation returns up to 50 log groups. If there are more log groups to list, the response would contain a nextToken value in the response body. You can also limit the number of log groups returned in the response by specifying the limit parameter in the request.

This operation returns paginated results.

Synopsis

Creating a Request

describeLogGroups :: DescribeLogGroups Source #

Creates a value of DescribeLogGroups with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data DescribeLogGroups Source #

See: describeLogGroups smart constructor.

Instances

Eq DescribeLogGroups Source # 
Data DescribeLogGroups Source # 

Methods

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

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

toConstr :: DescribeLogGroups -> Constr #

dataTypeOf :: DescribeLogGroups -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeLogGroups Source # 
Show DescribeLogGroups Source # 
Generic DescribeLogGroups Source # 
Hashable DescribeLogGroups Source # 
NFData DescribeLogGroups Source # 

Methods

rnf :: DescribeLogGroups -> () #

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

Request Lenses

dlgLogGroupNamePrefix :: Lens' DescribeLogGroups (Maybe Text) Source #

Will only return log groups that match the provided logGroupNamePrefix. If you don't specify a value, no prefix filter is applied.

dlgNextToken :: Lens' DescribeLogGroups (Maybe Text) Source #

A string token used for pagination that points to the next page of results. It must be a value obtained from the response of the previous DescribeLogGroups request.

dlgLimit :: Lens' DescribeLogGroups (Maybe Natural) Source #

The maximum number of items returned in the response. If you don't specify a value, the request would return up to 50 items.

Destructuring the Response

describeLogGroupsResponse Source #

Creates a value of DescribeLogGroupsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data DescribeLogGroupsResponse Source #

See: describeLogGroupsResponse smart constructor.

Instances

Eq DescribeLogGroupsResponse Source # 
Data DescribeLogGroupsResponse Source # 

Methods

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

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

toConstr :: DescribeLogGroupsResponse -> Constr #

dataTypeOf :: DescribeLogGroupsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeLogGroupsResponse Source # 
Show DescribeLogGroupsResponse Source # 
Generic DescribeLogGroupsResponse Source # 
NFData DescribeLogGroupsResponse Source # 
type Rep DescribeLogGroupsResponse Source # 
type Rep DescribeLogGroupsResponse = D1 (MetaData "DescribeLogGroupsResponse" "Network.AWS.CloudWatchLogs.DescribeLogGroups" "amazonka-cloudwatch-logs-1.4.4-EgOzOYKUQiWBkTjIo71Lcv" False) (C1 (MetaCons "DescribeLogGroupsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dlgrsLogGroups") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [LogGroup]))) ((:*:) (S1 (MetaSel (Just Symbol "_dlgrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_dlgrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

Response Lenses