libZSservicesZSamazonka-dlmZSamazonka-dlm
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.DLM.Types.CrossRegionCopyRetainRule

Description

 
Synopsis

Documentation

data CrossRegionCopyRetainRule Source #

Specifies the retention rule for cross-Region snapshot copies.

See: newCrossRegionCopyRetainRule smart constructor.

Constructors

CrossRegionCopyRetainRule' 

Fields

Instances

Instances details
Eq CrossRegionCopyRetainRule Source # 
Instance details

Defined in Amazonka.DLM.Types.CrossRegionCopyRetainRule

Read CrossRegionCopyRetainRule Source # 
Instance details

Defined in Amazonka.DLM.Types.CrossRegionCopyRetainRule

Show CrossRegionCopyRetainRule Source # 
Instance details

Defined in Amazonka.DLM.Types.CrossRegionCopyRetainRule

Generic CrossRegionCopyRetainRule Source # 
Instance details

Defined in Amazonka.DLM.Types.CrossRegionCopyRetainRule

Associated Types

type Rep CrossRegionCopyRetainRule :: Type -> Type #

NFData CrossRegionCopyRetainRule Source # 
Instance details

Defined in Amazonka.DLM.Types.CrossRegionCopyRetainRule

Hashable CrossRegionCopyRetainRule Source # 
Instance details

Defined in Amazonka.DLM.Types.CrossRegionCopyRetainRule

ToJSON CrossRegionCopyRetainRule Source # 
Instance details

Defined in Amazonka.DLM.Types.CrossRegionCopyRetainRule

FromJSON CrossRegionCopyRetainRule Source # 
Instance details

Defined in Amazonka.DLM.Types.CrossRegionCopyRetainRule

type Rep CrossRegionCopyRetainRule Source # 
Instance details

Defined in Amazonka.DLM.Types.CrossRegionCopyRetainRule

type Rep CrossRegionCopyRetainRule = D1 ('MetaData "CrossRegionCopyRetainRule" "Amazonka.DLM.Types.CrossRegionCopyRetainRule" "libZSservicesZSamazonka-dlmZSamazonka-dlm" 'False) (C1 ('MetaCons "CrossRegionCopyRetainRule'" 'PrefixI 'True) (S1 ('MetaSel ('Just "interval") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "intervalUnit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RetentionIntervalUnitValues))))

newCrossRegionCopyRetainRule :: CrossRegionCopyRetainRule Source #

Create a value of CrossRegionCopyRetainRule 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:interval:CrossRegionCopyRetainRule', crossRegionCopyRetainRule_interval - The amount of time to retain each snapshot. The maximum is 100 years. This is equivalent to 1200 months, 5200 weeks, or 36500 days.

$sel:intervalUnit:CrossRegionCopyRetainRule', crossRegionCopyRetainRule_intervalUnit - The unit of time for time-based retention.

crossRegionCopyRetainRule_interval :: Lens' CrossRegionCopyRetainRule (Maybe Natural) Source #

The amount of time to retain each snapshot. The maximum is 100 years. This is equivalent to 1200 months, 5200 weeks, or 36500 days.