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.DeleteRetentionPolicy

Description

Deletes the specified retention policy.

Log events do not expire if they belong to log groups without a retention policy.

Synopsis

Creating a Request

data DeleteRetentionPolicy Source #

See: newDeleteRetentionPolicy smart constructor.

Constructors

DeleteRetentionPolicy' 

Fields

Instances

Instances details
ToJSON DeleteRetentionPolicy Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DeleteRetentionPolicy

ToHeaders DeleteRetentionPolicy Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DeleteRetentionPolicy

ToPath DeleteRetentionPolicy Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DeleteRetentionPolicy

ToQuery DeleteRetentionPolicy Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DeleteRetentionPolicy

AWSRequest DeleteRetentionPolicy Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DeleteRetentionPolicy

Associated Types

type AWSResponse DeleteRetentionPolicy #

Generic DeleteRetentionPolicy Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DeleteRetentionPolicy

Associated Types

type Rep DeleteRetentionPolicy :: Type -> Type #

Read DeleteRetentionPolicy Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DeleteRetentionPolicy

Show DeleteRetentionPolicy Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DeleteRetentionPolicy

NFData DeleteRetentionPolicy Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DeleteRetentionPolicy

Methods

rnf :: DeleteRetentionPolicy -> () #

Eq DeleteRetentionPolicy Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DeleteRetentionPolicy

Hashable DeleteRetentionPolicy Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DeleteRetentionPolicy

type AWSResponse DeleteRetentionPolicy Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DeleteRetentionPolicy

type Rep DeleteRetentionPolicy Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DeleteRetentionPolicy

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

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

Destructuring the Response

data DeleteRetentionPolicyResponse Source #

See: newDeleteRetentionPolicyResponse smart constructor.

Instances

Instances details
Generic DeleteRetentionPolicyResponse Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DeleteRetentionPolicy

Associated Types

type Rep DeleteRetentionPolicyResponse :: Type -> Type #

Read DeleteRetentionPolicyResponse Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DeleteRetentionPolicy

Show DeleteRetentionPolicyResponse Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DeleteRetentionPolicy

NFData DeleteRetentionPolicyResponse Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DeleteRetentionPolicy

Eq DeleteRetentionPolicyResponse Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DeleteRetentionPolicy

type Rep DeleteRetentionPolicyResponse Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DeleteRetentionPolicy

type Rep DeleteRetentionPolicyResponse = D1 ('MetaData "DeleteRetentionPolicyResponse" "Amazonka.CloudWatchLogs.DeleteRetentionPolicy" "amazonka-cloudwatch-logs-2.0-6gvDalNFsfE8djZ4aTfA4V" 'False) (C1 ('MetaCons "DeleteRetentionPolicyResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newDeleteRetentionPolicyResponse :: DeleteRetentionPolicyResponse Source #

Create a value of DeleteRetentionPolicyResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.