| 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 |
Amazonka.CloudWatchLogs.DeleteRetentionPolicy
Description
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.
Constructors
| DeleteRetentionPolicy' | |
Fields
| |
Instances
newDeleteRetentionPolicy Source #
Arguments
| :: Text | |
| -> DeleteRetentionPolicy |
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.
Constructors
| DeleteRetentionPolicyResponse' | |
Instances
| Generic DeleteRetentionPolicyResponse Source # | |
Defined in Amazonka.CloudWatchLogs.DeleteRetentionPolicy Associated Types type Rep DeleteRetentionPolicyResponse :: Type -> Type # | |
| Read DeleteRetentionPolicyResponse Source # | |
| Show DeleteRetentionPolicyResponse Source # | |
Defined in Amazonka.CloudWatchLogs.DeleteRetentionPolicy Methods showsPrec :: Int -> DeleteRetentionPolicyResponse -> ShowS # show :: DeleteRetentionPolicyResponse -> String # showList :: [DeleteRetentionPolicyResponse] -> ShowS # | |
| NFData DeleteRetentionPolicyResponse Source # | |
Defined in Amazonka.CloudWatchLogs.DeleteRetentionPolicy Methods rnf :: DeleteRetentionPolicyResponse -> () # | |
| Eq DeleteRetentionPolicyResponse Source # | |
| type Rep DeleteRetentionPolicyResponse Source # | |
newDeleteRetentionPolicyResponse :: DeleteRetentionPolicyResponse Source #
Create a value of DeleteRetentionPolicyResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.