| Copyright | (c) 2013-2015 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.CloudWatchLogs.DeleteRetentionPolicy
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.
Creating a Request
Arguments
| :: Text | |
| -> DeleteRetentionPolicy |
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:
data DeleteRetentionPolicy Source
See: deleteRetentionPolicy smart constructor.
Instances
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.
data DeleteRetentionPolicyResponse Source
See: deleteRetentionPolicyResponse smart constructor.