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

Lists the specified log groups. You can list all your log groups or filter the results by prefix. The results are ASCII-sorted by log group name.

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:

  • dlgLogGroupNamePrefix - The prefix to match.
  • dlgNextToken - The token for the next set of items to return. (You received this token from a previous call.)
  • dlgLimit - The maximum number of items returned. If you don't specify a value, the default is up to 50 items.

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

Methods

rnf :: DescribeLogGroups -> () #

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

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

The token for the next set of items to return. (You received this token from a previous call.)

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

The maximum number of items returned. If you don't specify a value, the default is 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.5-JoaCELOvIeKI9iDLq1iWip" 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