amazonka-cloudwatch-logs-2.0: Amazon CloudWatch Logs SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.CloudWatchLogs.DeleteDataProtectionPolicy

Description

Deletes the data protection policy from the specified log group.

For more information about data protection policies, see PutDataProtectionPolicy.

Synopsis

Creating a Request

data DeleteDataProtectionPolicy Source #

See: newDeleteDataProtectionPolicy smart constructor.

Constructors

DeleteDataProtectionPolicy' 

Fields

  • logGroupIdentifier :: Text

    The name or ARN of the log group that you want to delete the data protection policy for.

Instances

Instances details
ToJSON DeleteDataProtectionPolicy Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DeleteDataProtectionPolicy

ToHeaders DeleteDataProtectionPolicy Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DeleteDataProtectionPolicy

ToPath DeleteDataProtectionPolicy Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DeleteDataProtectionPolicy

ToQuery DeleteDataProtectionPolicy Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DeleteDataProtectionPolicy

AWSRequest DeleteDataProtectionPolicy Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DeleteDataProtectionPolicy

Generic DeleteDataProtectionPolicy Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DeleteDataProtectionPolicy

Associated Types

type Rep DeleteDataProtectionPolicy :: Type -> Type #

Read DeleteDataProtectionPolicy Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DeleteDataProtectionPolicy

Show DeleteDataProtectionPolicy Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DeleteDataProtectionPolicy

NFData DeleteDataProtectionPolicy Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DeleteDataProtectionPolicy

Eq DeleteDataProtectionPolicy Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DeleteDataProtectionPolicy

Hashable DeleteDataProtectionPolicy Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DeleteDataProtectionPolicy

type AWSResponse DeleteDataProtectionPolicy Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DeleteDataProtectionPolicy

type Rep DeleteDataProtectionPolicy Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DeleteDataProtectionPolicy

type Rep DeleteDataProtectionPolicy = D1 ('MetaData "DeleteDataProtectionPolicy" "Amazonka.CloudWatchLogs.DeleteDataProtectionPolicy" "amazonka-cloudwatch-logs-2.0-6gvDalNFsfE8djZ4aTfA4V" 'False) (C1 ('MetaCons "DeleteDataProtectionPolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "logGroupIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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 #

Instances

Instances details
Generic DeleteDataProtectionPolicyResponse Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DeleteDataProtectionPolicy

Associated Types

type Rep DeleteDataProtectionPolicyResponse :: Type -> Type #

Read DeleteDataProtectionPolicyResponse Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DeleteDataProtectionPolicy

Show DeleteDataProtectionPolicyResponse Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DeleteDataProtectionPolicy

NFData DeleteDataProtectionPolicyResponse Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DeleteDataProtectionPolicy

Eq DeleteDataProtectionPolicyResponse Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DeleteDataProtectionPolicy

type Rep DeleteDataProtectionPolicyResponse Source # 
Instance details

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.