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 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.
DeleteDataProtectionPolicy' | |
|
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.
Instances
Generic DeleteDataProtectionPolicyResponse Source # | |
Read DeleteDataProtectionPolicyResponse Source # | |
Show DeleteDataProtectionPolicyResponse Source # | |
NFData DeleteDataProtectionPolicyResponse Source # | |
Defined in Amazonka.CloudWatchLogs.DeleteDataProtectionPolicy rnf :: DeleteDataProtectionPolicyResponse -> () # | |
Eq DeleteDataProtectionPolicyResponse Source # | |
type Rep DeleteDataProtectionPolicyResponse Source # | |
Defined in Amazonka.CloudWatchLogs.DeleteDataProtectionPolicy type Rep DeleteDataProtectionPolicyResponse = D1 ('MetaData "DeleteDataProtectionPolicyResponse" "Amazonka.CloudWatchLogs.DeleteDataProtectionPolicy" "amazonka-cloudwatch-logs-2.0-6gvDalNFsfE8djZ4aTfA4V" 'False) (C1 ('MetaCons "DeleteDataProtectionPolicyResponse'" 'PrefixI 'False) (U1 :: Type -> Type)) |
newDeleteDataProtectionPolicyResponse :: DeleteDataProtectionPolicyResponse Source #
Create a value of DeleteDataProtectionPolicyResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.