libZSservicesZSamazonka-configZSamazonka-config
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.Config.Types.RetentionConfiguration

Description

 
Synopsis

Documentation

data RetentionConfiguration Source #

An object with the name of the retention configuration and the retention period in days. The object stores the configuration for data retention in Config.

See: newRetentionConfiguration smart constructor.

Constructors

RetentionConfiguration' 

Fields

  • name :: Text

    The name of the retention configuration object.

  • retentionPeriodInDays :: Natural

    Number of days Config stores your historical information.

    Currently, only applicable to the configuration item history.

Instances

Instances details
Eq RetentionConfiguration Source # 
Instance details

Defined in Amazonka.Config.Types.RetentionConfiguration

Read RetentionConfiguration Source # 
Instance details

Defined in Amazonka.Config.Types.RetentionConfiguration

Show RetentionConfiguration Source # 
Instance details

Defined in Amazonka.Config.Types.RetentionConfiguration

Generic RetentionConfiguration Source # 
Instance details

Defined in Amazonka.Config.Types.RetentionConfiguration

Associated Types

type Rep RetentionConfiguration :: Type -> Type #

NFData RetentionConfiguration Source # 
Instance details

Defined in Amazonka.Config.Types.RetentionConfiguration

Methods

rnf :: RetentionConfiguration -> () #

Hashable RetentionConfiguration Source # 
Instance details

Defined in Amazonka.Config.Types.RetentionConfiguration

FromJSON RetentionConfiguration Source # 
Instance details

Defined in Amazonka.Config.Types.RetentionConfiguration

type Rep RetentionConfiguration Source # 
Instance details

Defined in Amazonka.Config.Types.RetentionConfiguration

type Rep RetentionConfiguration = D1 ('MetaData "RetentionConfiguration" "Amazonka.Config.Types.RetentionConfiguration" "libZSservicesZSamazonka-configZSamazonka-config" 'False) (C1 ('MetaCons "RetentionConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "retentionPeriodInDays") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural)))

newRetentionConfiguration Source #

Create a value of RetentionConfiguration 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:name:RetentionConfiguration', retentionConfiguration_name - The name of the retention configuration object.

$sel:retentionPeriodInDays:RetentionConfiguration', retentionConfiguration_retentionPeriodInDays - Number of days Config stores your historical information.

Currently, only applicable to the configuration item history.

retentionConfiguration_name :: Lens' RetentionConfiguration Text Source #

The name of the retention configuration object.

retentionConfiguration_retentionPeriodInDays :: Lens' RetentionConfiguration Natural Source #

Number of days Config stores your historical information.

Currently, only applicable to the configuration item history.