amazonka-cloudwatch-logs- Amazon CloudWatch Logs SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <>
Portabilitynon-portable (GHC extensions)
Safe HaskellNone




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.


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.