libZSservicesZSamazonka-cloudwatch-logsZSamazonka-cloudwatch-logs
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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
Eq DeleteRetentionPolicy Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DeleteRetentionPolicy

Read DeleteRetentionPolicy Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DeleteRetentionPolicy

Show DeleteRetentionPolicy Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DeleteRetentionPolicy

Generic DeleteRetentionPolicy Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DeleteRetentionPolicy

Associated Types

type Rep DeleteRetentionPolicy :: Type -> Type #

NFData DeleteRetentionPolicy Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DeleteRetentionPolicy

Methods

rnf :: DeleteRetentionPolicy -> () #

Hashable DeleteRetentionPolicy Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DeleteRetentionPolicy

ToJSON DeleteRetentionPolicy Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DeleteRetentionPolicy

AWSRequest DeleteRetentionPolicy Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DeleteRetentionPolicy

Associated Types

type AWSResponse 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

type Rep DeleteRetentionPolicy Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DeleteRetentionPolicy

type Rep DeleteRetentionPolicy = D1 ('MetaData "DeleteRetentionPolicy" "Amazonka.CloudWatchLogs.DeleteRetentionPolicy" "libZSservicesZSamazonka-cloudwatch-logsZSamazonka-cloudwatch-logs" 'False) (C1 ('MetaCons "DeleteRetentionPolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "logGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteRetentionPolicy Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DeleteRetentionPolicy

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:

$sel:logGroupName:DeleteRetentionPolicy', deleteRetentionPolicy_logGroupName - The name of the log group.

Request Lenses

Destructuring the Response

data DeleteRetentionPolicyResponse Source #

See: newDeleteRetentionPolicyResponse smart constructor.

Instances

Instances details
Eq DeleteRetentionPolicyResponse Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DeleteRetentionPolicy

Read DeleteRetentionPolicyResponse Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DeleteRetentionPolicy

Show DeleteRetentionPolicyResponse Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DeleteRetentionPolicy

Generic DeleteRetentionPolicyResponse Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DeleteRetentionPolicy

Associated Types

type Rep DeleteRetentionPolicyResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-cloudwatch-logsZSamazonka-cloudwatch-logs" '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.