amazonka-cloudwatch-logs-1.6.1: 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.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 # 
Instance details

Defined in Network.AWS.CloudWatchLogs.DescribeLogGroups

Data DescribeLogGroups Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.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 Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.DescribeLogGroups

Show DescribeLogGroups Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.DescribeLogGroups

Generic DescribeLogGroups Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.DescribeLogGroups

Associated Types

type Rep DescribeLogGroups :: Type -> Type #

Hashable DescribeLogGroups Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.DescribeLogGroups

ToJSON DescribeLogGroups Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.DescribeLogGroups

AWSPager DescribeLogGroups Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.DescribeLogGroups

AWSRequest DescribeLogGroups Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.DescribeLogGroups

Associated Types

type Rs DescribeLogGroups :: Type #

ToHeaders DescribeLogGroups Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.DescribeLogGroups

ToPath DescribeLogGroups Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.DescribeLogGroups

ToQuery DescribeLogGroups Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.DescribeLogGroups

NFData DescribeLogGroups Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.DescribeLogGroups

Methods

rnf :: DescribeLogGroups -> () #

type Rep DescribeLogGroups Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.DescribeLogGroups

type Rep DescribeLogGroups = D1 (MetaData "DescribeLogGroups" "Network.AWS.CloudWatchLogs.DescribeLogGroups" "amazonka-cloudwatch-logs-1.6.1-3MDuvRaDmjeBjiAkGx8qXs" False) (C1 (MetaCons "DescribeLogGroups'" PrefixI True) (S1 (MetaSel (Just "_dlgLogGroupNamePrefix") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_dlgNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_dlgLimit") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)))))
type Rs DescribeLogGroups Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.DescribeLogGroups

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 # 
Instance details

Defined in Network.AWS.CloudWatchLogs.DescribeLogGroups

Data DescribeLogGroupsResponse Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.DescribeLogGroups

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 # 
Instance details

Defined in Network.AWS.CloudWatchLogs.DescribeLogGroups

Show DescribeLogGroupsResponse Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.DescribeLogGroups

Generic DescribeLogGroupsResponse Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.DescribeLogGroups

Associated Types

type Rep DescribeLogGroupsResponse :: Type -> Type #

NFData DescribeLogGroupsResponse Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.DescribeLogGroups

type Rep DescribeLogGroupsResponse Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.DescribeLogGroups

type Rep DescribeLogGroupsResponse = D1 (MetaData "DescribeLogGroupsResponse" "Network.AWS.CloudWatchLogs.DescribeLogGroups" "amazonka-cloudwatch-logs-1.6.1-3MDuvRaDmjeBjiAkGx8qXs" False) (C1 (MetaCons "DescribeLogGroupsResponse'" PrefixI True) (S1 (MetaSel (Just "_dlgrsLogGroups") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [LogGroup])) :*: (S1 (MetaSel (Just "_dlgrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_dlgrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses