amazonka-dlm-2.0: Amazon Data Lifecycle Manager 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.DLM.Types.ArchiveRule

Description

 
Synopsis

Documentation

data ArchiveRule Source #

[Snapshot policies only] Specifies a snapshot archiving rule for a schedule.

See: newArchiveRule smart constructor.

Constructors

ArchiveRule' 

Fields

Instances

Instances details
FromJSON ArchiveRule Source # 
Instance details

Defined in Amazonka.DLM.Types.ArchiveRule

ToJSON ArchiveRule Source # 
Instance details

Defined in Amazonka.DLM.Types.ArchiveRule

Generic ArchiveRule Source # 
Instance details

Defined in Amazonka.DLM.Types.ArchiveRule

Associated Types

type Rep ArchiveRule :: Type -> Type #

Read ArchiveRule Source # 
Instance details

Defined in Amazonka.DLM.Types.ArchiveRule

Show ArchiveRule Source # 
Instance details

Defined in Amazonka.DLM.Types.ArchiveRule

NFData ArchiveRule Source # 
Instance details

Defined in Amazonka.DLM.Types.ArchiveRule

Methods

rnf :: ArchiveRule -> () #

Eq ArchiveRule Source # 
Instance details

Defined in Amazonka.DLM.Types.ArchiveRule

Hashable ArchiveRule Source # 
Instance details

Defined in Amazonka.DLM.Types.ArchiveRule

type Rep ArchiveRule Source # 
Instance details

Defined in Amazonka.DLM.Types.ArchiveRule

type Rep ArchiveRule = D1 ('MetaData "ArchiveRule" "Amazonka.DLM.Types.ArchiveRule" "amazonka-dlm-2.0-KlPkRzsIoa0q62N0Ereji" 'False) (C1 ('MetaCons "ArchiveRule'" 'PrefixI 'True) (S1 ('MetaSel ('Just "retainRule") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ArchiveRetainRule)))

newArchiveRule Source #

Create a value of ArchiveRule 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:retainRule:ArchiveRule', archiveRule_retainRule - Information about the retention period for the snapshot archiving rule.

archiveRule_retainRule :: Lens' ArchiveRule ArchiveRetainRule Source #

Information about the retention period for the snapshot archiving rule.