amazonka-cloudwatch-logs-1.0.1: 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.CreateLogGroup

Contents

Description

Creates a new log group with the specified name. The name of the log group must be unique within a region for an AWS account. You can create up to 500 log groups per account.

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

  • Log group names can be between 1 and 512 characters long.
  • Allowed characters are a-z, A-Z, 0-9, '_' (underscore), '-' (hyphen), '/' (forward slash), and '.' (period).

See: AWS API Reference for CreateLogGroup.

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:

Request Lenses

clgLogGroupName :: Lens' CreateLogGroup Text Source

The name of the log group to create.

Destructuring the Response

createLogGroupResponse :: CreateLogGroupResponse Source

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