| Copyright | (c) 2013-2018 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.CloudWatchLogs.DeleteRetentionPolicy
Description
Deletes the specified retention policy.
Log events do not expire if they belong to log groups without a retention policy.
Creating a Request
deleteRetentionPolicy Source #
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:
drpLogGroupName- The name of the log group.
data DeleteRetentionPolicy Source #
See: deleteRetentionPolicy smart constructor.
Instances
Request Lenses
drpLogGroupName :: Lens' DeleteRetentionPolicy Text Source #
The name of the log group.
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.