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
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 #
See: deleteRetentionPolicy
smart constructor.
Instances
Request Lenses
drpLogGroupName :: Lens' DeleteRetentionPolicy Text #
The name of the log group.
Destructuring the Response
deleteRetentionPolicyResponse :: DeleteRetentionPolicyResponse #
Creates a value of DeleteRetentionPolicyResponse
with the minimum fields required to make a request.
data DeleteRetentionPolicyResponse #
See: deleteRetentionPolicyResponse
smart constructor.