amazonka-cloudwatch-logs-1.2.0: 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.DeleteLogGroup

Contents

Description

Deletes the log group with the specified name and permanently deletes all the archived log events associated with it.

See: AWS API Reference for DeleteLogGroup.

Synopsis

Creating a Request

deleteLogGroup Source

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

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

Request Lenses

dlgLogGroupName :: Lens' DeleteLogGroup Text Source

The name of the log group to delete.

Destructuring the Response

deleteLogGroupResponse :: DeleteLogGroupResponse Source

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