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 #

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 #

See: describeLogGroups smart constructor.

Instances

Eq DescribeLogGroups # 
Data DescribeLogGroups # 

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 # 
Show DescribeLogGroups # 
Generic DescribeLogGroups # 
Hashable DescribeLogGroups # 
ToJSON DescribeLogGroups # 
NFData DescribeLogGroups # 

Methods

rnf :: DescribeLogGroups -> () #

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

Request Lenses

dlgNextToken :: Lens' DescribeLogGroups (Maybe Text) #

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

dlgLimit :: Lens' DescribeLogGroups (Maybe Natural) #

The maximum number of items returned. If you don't specify a value, the default is up to 50 items.

Destructuring the Response

describeLogGroupsResponse #

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 #

See: describeLogGroupsResponse smart constructor.

Instances

Eq DescribeLogGroupsResponse # 
Data DescribeLogGroupsResponse # 

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 # 
Show DescribeLogGroupsResponse # 
Generic DescribeLogGroupsResponse # 
NFData DescribeLogGroupsResponse # 
type Rep DescribeLogGroupsResponse # 
type Rep DescribeLogGroupsResponse = D1 (MetaData "DescribeLogGroupsResponse" "Network.AWS.CloudWatchLogs.DescribeLogGroups" "amazonka-cloudwatch-logs-1.4.5-9QRzQX2AFAcp9HWg8eJiT" 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

dlgrsResponseStatus :: Lens' DescribeLogGroupsResponse Int #

  • - | The response status code.