Copyright | (c) 2013-2021 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 |
Deletes the specified retention policy.
Log events do not expire if they belong to log groups without a retention policy.
Synopsis
- data DeleteRetentionPolicy = DeleteRetentionPolicy' {
- logGroupName :: Text
- newDeleteRetentionPolicy :: Text -> DeleteRetentionPolicy
- deleteRetentionPolicy_logGroupName :: Lens' DeleteRetentionPolicy Text
- data DeleteRetentionPolicyResponse = DeleteRetentionPolicyResponse' {
- newDeleteRetentionPolicyResponse :: DeleteRetentionPolicyResponse
Creating a Request
data DeleteRetentionPolicy Source #
See: newDeleteRetentionPolicy
smart constructor.
DeleteRetentionPolicy' | |
|
Instances
newDeleteRetentionPolicy Source #
Create a value of DeleteRetentionPolicy
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:logGroupName:DeleteRetentionPolicy'
, deleteRetentionPolicy_logGroupName
- The name of the log group.
Request Lenses
deleteRetentionPolicy_logGroupName :: Lens' DeleteRetentionPolicy Text Source #
The name of the log group.
Destructuring the Response
data DeleteRetentionPolicyResponse Source #
See: newDeleteRetentionPolicyResponse
smart constructor.
Instances
newDeleteRetentionPolicyResponse :: DeleteRetentionPolicyResponse Source #
Create a value of DeleteRetentionPolicyResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.