libZSservicesZSamazonka-backupZSamazonka-backup
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.Backup.Types.BackupPlan

Description

 
Synopsis

Documentation

data BackupPlan Source #

Contains an optional backup plan display name and an array of BackupRule objects, each of which specifies a backup rule. Each rule in a backup plan is a separate scheduled task and can back up a different selection of Amazon Web Services resources.

See: newBackupPlan smart constructor.

Constructors

BackupPlan' 

Fields

Instances

Instances details
Eq BackupPlan Source # 
Instance details

Defined in Amazonka.Backup.Types.BackupPlan

Show BackupPlan Source # 
Instance details

Defined in Amazonka.Backup.Types.BackupPlan

Generic BackupPlan Source # 
Instance details

Defined in Amazonka.Backup.Types.BackupPlan

Associated Types

type Rep BackupPlan :: Type -> Type #

NFData BackupPlan Source # 
Instance details

Defined in Amazonka.Backup.Types.BackupPlan

Methods

rnf :: BackupPlan -> () #

Hashable BackupPlan Source # 
Instance details

Defined in Amazonka.Backup.Types.BackupPlan

FromJSON BackupPlan Source # 
Instance details

Defined in Amazonka.Backup.Types.BackupPlan

type Rep BackupPlan Source # 
Instance details

Defined in Amazonka.Backup.Types.BackupPlan

type Rep BackupPlan = D1 ('MetaData "BackupPlan" "Amazonka.Backup.Types.BackupPlan" "libZSservicesZSamazonka-backupZSamazonka-backup" 'False) (C1 ('MetaCons "BackupPlan'" 'PrefixI 'True) (S1 ('MetaSel ('Just "advancedBackupSettings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AdvancedBackupSetting])) :*: (S1 ('MetaSel ('Just "backupPlanName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "rules") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [BackupRule]))))

newBackupPlan Source #

Create a value of BackupPlan 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:advancedBackupSettings:BackupPlan', backupPlan_advancedBackupSettings - Contains a list of BackupOptions for each resource type.

$sel:backupPlanName:BackupPlan', backupPlan_backupPlanName - The display name of a backup plan.

$sel:rules:BackupPlan', backupPlan_rules - An array of BackupRule objects, each of which specifies a scheduled task that is used to back up a selection of resources.

backupPlan_advancedBackupSettings :: Lens' BackupPlan (Maybe [AdvancedBackupSetting]) Source #

Contains a list of BackupOptions for each resource type.

backupPlan_backupPlanName :: Lens' BackupPlan Text Source #

The display name of a backup plan.

backupPlan_rules :: Lens' BackupPlan [BackupRule] Source #

An array of BackupRule objects, each of which specifies a scheduled task that is used to back up a selection of resources.