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.DeleteRetentionPolicy

Contents

Description

Deletes the retention policy of the specified log group. Log events would not expire if they belong to log groups without a retention policy.

See: AWS API Reference for DeleteRetentionPolicy.

Synopsis

Creating a Request

deleteRetentionPolicy Source

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

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

Request Lenses

drpLogGroupName :: Lens' DeleteRetentionPolicy Text Source

The name of the log group that is associated with the retention policy to delete.

Destructuring the Response

deleteRetentionPolicyResponse :: DeleteRetentionPolicyResponse Source

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