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.DeleteDataProtectionPolicy
Description
Deletes the data protection policy from the specified log group.
For more information about data protection policies, see PutDataProtectionPolicy.
Synopsis
- data DeleteDataProtectionPolicy = DeleteDataProtectionPolicy' {}
- newDeleteDataProtectionPolicy :: Text -> DeleteDataProtectionPolicy
- deleteDataProtectionPolicy_logGroupIdentifier :: Lens' DeleteDataProtectionPolicy Text
- data DeleteDataProtectionPolicyResponse = DeleteDataProtectionPolicyResponse' {
- newDeleteDataProtectionPolicyResponse :: DeleteDataProtectionPolicyResponse
Creating a Request
data DeleteDataProtectionPolicy Source #
See: newDeleteDataProtectionPolicy
smart constructor.
Constructors
DeleteDataProtectionPolicy' | |
Fields
|
Instances
newDeleteDataProtectionPolicy Source #
Create a value of DeleteDataProtectionPolicy
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:logGroupIdentifier:DeleteDataProtectionPolicy'
, deleteDataProtectionPolicy_logGroupIdentifier
- The name or ARN of the log group that you want to delete the data
protection policy for.
Request Lenses
deleteDataProtectionPolicy_logGroupIdentifier :: Lens' DeleteDataProtectionPolicy Text Source #
The name or ARN of the log group that you want to delete the data protection policy for.
Destructuring the Response
data DeleteDataProtectionPolicyResponse Source #
See: newDeleteDataProtectionPolicyResponse
smart constructor.
Constructors
DeleteDataProtectionPolicyResponse' | |
Instances
newDeleteDataProtectionPolicyResponse :: DeleteDataProtectionPolicyResponse Source #
Create a value of DeleteDataProtectionPolicyResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.