amazonka-cloudwatch-logs-1.3.2: Amazon CloudWatch Logs SDK.

Copyright(c) 2013-2015 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.

See: AWS API Reference for CreateLogStream.

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:

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.