amazonka-cloudwatch-logs-1.6.0: 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.CreateLogStream

Contents

Description

Creates a log stream for the specified log group.

There is no limit on the number of log streams that you can create for a log group.

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

  • Log stream names must be unique within the log group.
  • Log stream names can be between 1 and 512 characters long.
  • The : (colon) and * (asterisk) characters are not allowed.

Synopsis

Creating a Request

createLogStream Source #

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

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

data CreateLogStream Source #

See: createLogStream smart constructor.

Instances

Eq CreateLogStream Source # 
Data CreateLogStream Source # 

Methods

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

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

toConstr :: CreateLogStream -> Constr #

dataTypeOf :: CreateLogStream -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateLogStream Source # 
Show CreateLogStream Source # 
Generic CreateLogStream Source # 
Hashable CreateLogStream Source # 
ToJSON CreateLogStream Source # 
NFData CreateLogStream Source # 

Methods

rnf :: CreateLogStream -> () #

AWSRequest CreateLogStream Source # 
ToHeaders CreateLogStream Source # 
ToPath CreateLogStream Source # 
ToQuery CreateLogStream Source # 
type Rep CreateLogStream Source # 
type Rep CreateLogStream = D1 * (MetaData "CreateLogStream" "Network.AWS.CloudWatchLogs.CreateLogStream" "amazonka-cloudwatch-logs-1.6.0-HcMszQeKJF6Iux4ovYYZri" False) (C1 * (MetaCons "CreateLogStream'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_clsLogGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_clsLogStreamName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))
type Rs CreateLogStream Source # 

Request Lenses

clsLogGroupName :: Lens' CreateLogStream Text Source #

The name of the log group.

clsLogStreamName :: Lens' CreateLogStream Text Source #

The name of the log stream.

Destructuring the Response

createLogStreamResponse :: CreateLogStreamResponse Source #

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

data CreateLogStreamResponse Source #

See: createLogStreamResponse smart constructor.

Instances

Eq CreateLogStreamResponse Source # 
Data CreateLogStreamResponse Source # 

Methods

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

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

toConstr :: CreateLogStreamResponse -> Constr #

dataTypeOf :: CreateLogStreamResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateLogStreamResponse Source # 
Show CreateLogStreamResponse Source # 
Generic CreateLogStreamResponse Source # 
NFData CreateLogStreamResponse Source # 

Methods

rnf :: CreateLogStreamResponse -> () #

type Rep CreateLogStreamResponse Source # 
type Rep CreateLogStreamResponse = D1 * (MetaData "CreateLogStreamResponse" "Network.AWS.CloudWatchLogs.CreateLogStream" "amazonka-cloudwatch-logs-1.6.0-HcMszQeKJF6Iux4ovYYZri" False) (C1 * (MetaCons "CreateLogStreamResponse'" PrefixI False) (U1 *))