Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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:
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.