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

Contents

Description

Creates a new log stream in the specified log group. The name of the log stream must be unique within the log group. There is no limit on the number of log streams that can exist in a log group.

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

  • Log stream names can be between 1 and 512 characters long.
  • The ':' colon character is 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 # 
ToQuery CreateLogStream Source # 
ToPath CreateLogStream Source # 
ToHeaders CreateLogStream Source # 
type Rep CreateLogStream Source # 
type Rep CreateLogStream = D1 (MetaData "CreateLogStream" "Network.AWS.CloudWatchLogs.CreateLogStream" "amazonka-cloudwatch-logs-1.4.1-8BlvwEM356M5ywRJfrJow6" 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 under which the log stream is to be created.

clsLogStreamName :: Lens' CreateLogStream Text Source #

The name of the log stream to create.

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.4.1-8BlvwEM356M5ywRJfrJow6" False) (C1 (MetaCons "CreateLogStreamResponse'" PrefixI False) U1)