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

Contents

Description

Creates a log group with the specified name.

You can create up to 5000 log groups per account.

You must use the following guidelines when naming a log group:

  • Log group names must be unique within a region for an AWS account.
  • Log group names can be between 1 and 512 characters long.
  • Log group names consist of the following characters: a-z, A-Z, 0-9, '_' (underscore), - (hyphen), / (forward slash), and . (period).

Synopsis

Creating a Request

createLogGroup Source #

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

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

data CreateLogGroup Source #

See: createLogGroup smart constructor.

Instances

Eq CreateLogGroup Source # 
Data CreateLogGroup Source # 

Methods

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

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

toConstr :: CreateLogGroup -> Constr #

dataTypeOf :: CreateLogGroup -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateLogGroup Source # 
Show CreateLogGroup Source # 
Generic CreateLogGroup Source # 

Associated Types

type Rep CreateLogGroup :: * -> * #

Hashable CreateLogGroup Source # 
ToJSON CreateLogGroup Source # 
NFData CreateLogGroup Source # 

Methods

rnf :: CreateLogGroup -> () #

AWSRequest CreateLogGroup Source # 
ToPath CreateLogGroup Source # 
ToHeaders CreateLogGroup Source # 
ToQuery CreateLogGroup Source # 
type Rep CreateLogGroup Source # 
type Rep CreateLogGroup = D1 (MetaData "CreateLogGroup" "Network.AWS.CloudWatchLogs.CreateLogGroup" "amazonka-cloudwatch-logs-1.4.5-JoaCELOvIeKI9iDLq1iWip" True) (C1 (MetaCons "CreateLogGroup'" PrefixI True) (S1 (MetaSel (Just Symbol "_clgLogGroupName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs CreateLogGroup Source # 

Request Lenses

clgLogGroupName :: Lens' CreateLogGroup Text Source #

The name of the log group.

Destructuring the Response

createLogGroupResponse :: CreateLogGroupResponse Source #

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

data CreateLogGroupResponse Source #

See: createLogGroupResponse smart constructor.

Instances

Eq CreateLogGroupResponse Source # 
Data CreateLogGroupResponse Source # 

Methods

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

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

toConstr :: CreateLogGroupResponse -> Constr #

dataTypeOf :: CreateLogGroupResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateLogGroupResponse Source # 
Show CreateLogGroupResponse Source # 
Generic CreateLogGroupResponse Source # 
NFData CreateLogGroupResponse Source # 

Methods

rnf :: CreateLogGroupResponse -> () #

type Rep CreateLogGroupResponse Source # 
type Rep CreateLogGroupResponse = D1 (MetaData "CreateLogGroupResponse" "Network.AWS.CloudWatchLogs.CreateLogGroup" "amazonka-cloudwatch-logs-1.4.5-JoaCELOvIeKI9iDLq1iWip" False) (C1 (MetaCons "CreateLogGroupResponse'" PrefixI False) U1)