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

Description

 
Synopsis

Documentation

data FastRestoreRule Source #

Specifies a rule for enabling fast snapshot restore. You can enable fast snapshot restore based on either a count or a time interval.

See: newFastRestoreRule smart constructor.

Constructors

FastRestoreRule' 

Fields

Instances

Instances details
Eq FastRestoreRule Source # 
Instance details

Defined in Amazonka.DLM.Types.FastRestoreRule

Read FastRestoreRule Source # 
Instance details

Defined in Amazonka.DLM.Types.FastRestoreRule

Show FastRestoreRule Source # 
Instance details

Defined in Amazonka.DLM.Types.FastRestoreRule

Generic FastRestoreRule Source # 
Instance details

Defined in Amazonka.DLM.Types.FastRestoreRule

Associated Types

type Rep FastRestoreRule :: Type -> Type #

NFData FastRestoreRule Source # 
Instance details

Defined in Amazonka.DLM.Types.FastRestoreRule

Methods

rnf :: FastRestoreRule -> () #

Hashable FastRestoreRule Source # 
Instance details

Defined in Amazonka.DLM.Types.FastRestoreRule

ToJSON FastRestoreRule Source # 
Instance details

Defined in Amazonka.DLM.Types.FastRestoreRule

FromJSON FastRestoreRule Source # 
Instance details

Defined in Amazonka.DLM.Types.FastRestoreRule

type Rep FastRestoreRule Source # 
Instance details

Defined in Amazonka.DLM.Types.FastRestoreRule

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

newFastRestoreRule Source #

Create a value of FastRestoreRule 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:count:FastRestoreRule', fastRestoreRule_count - The number of snapshots to be enabled with fast snapshot restore.

$sel:interval:FastRestoreRule', fastRestoreRule_interval - The amount of time to enable fast snapshot restore. The maximum is 100 years. This is equivalent to 1200 months, 5200 weeks, or 36500 days.

$sel:intervalUnit:FastRestoreRule', fastRestoreRule_intervalUnit - The unit of time for enabling fast snapshot restore.

$sel:availabilityZones:FastRestoreRule', fastRestoreRule_availabilityZones - The Availability Zones in which to enable fast snapshot restore.

fastRestoreRule_count :: Lens' FastRestoreRule (Maybe Natural) Source #

The number of snapshots to be enabled with fast snapshot restore.

fastRestoreRule_interval :: Lens' FastRestoreRule (Maybe Natural) Source #

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

fastRestoreRule_intervalUnit :: Lens' FastRestoreRule (Maybe RetentionIntervalUnitValues) Source #

The unit of time for enabling fast snapshot restore.

fastRestoreRule_availabilityZones :: Lens' FastRestoreRule (NonEmpty Text) Source #

The Availability Zones in which to enable fast snapshot restore.