amazonka-backup-2.0: Amazon Backup 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.Backup.Types.BackupPlanInput

Description

 
Synopsis

Documentation

data BackupPlanInput 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.

See: newBackupPlanInput smart constructor.

Constructors

BackupPlanInput' 

Fields

  • advancedBackupSettings :: Maybe [AdvancedBackupSetting]

    Specifies a list of BackupOptions for each resource type. These settings are only available for Windows Volume Shadow Copy Service (VSS) backup jobs.

  • backupPlanName :: Text

    The display name of a backup plan. Must contain 1 to 50 alphanumeric or '-_.' characters.

  • rules :: [BackupRuleInput]

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

Instances

Instances details
ToJSON BackupPlanInput Source # 
Instance details

Defined in Amazonka.Backup.Types.BackupPlanInput

Generic BackupPlanInput Source # 
Instance details

Defined in Amazonka.Backup.Types.BackupPlanInput

Associated Types

type Rep BackupPlanInput :: Type -> Type #

Show BackupPlanInput Source # 
Instance details

Defined in Amazonka.Backup.Types.BackupPlanInput

NFData BackupPlanInput Source # 
Instance details

Defined in Amazonka.Backup.Types.BackupPlanInput

Methods

rnf :: BackupPlanInput -> () #

Eq BackupPlanInput Source # 
Instance details

Defined in Amazonka.Backup.Types.BackupPlanInput

Hashable BackupPlanInput Source # 
Instance details

Defined in Amazonka.Backup.Types.BackupPlanInput

type Rep BackupPlanInput Source # 
Instance details

Defined in Amazonka.Backup.Types.BackupPlanInput

type Rep BackupPlanInput = D1 ('MetaData "BackupPlanInput" "Amazonka.Backup.Types.BackupPlanInput" "amazonka-backup-2.0-LovIt41tphM6jvgQJhTyRf" 'False) (C1 ('MetaCons "BackupPlanInput'" '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 [BackupRuleInput]))))

newBackupPlanInput Source #

Create a value of BackupPlanInput 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:BackupPlanInput', backupPlanInput_advancedBackupSettings - Specifies a list of BackupOptions for each resource type. These settings are only available for Windows Volume Shadow Copy Service (VSS) backup jobs.

$sel:backupPlanName:BackupPlanInput', backupPlanInput_backupPlanName - The display name of a backup plan. Must contain 1 to 50 alphanumeric or '-_.' characters.

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

backupPlanInput_advancedBackupSettings :: Lens' BackupPlanInput (Maybe [AdvancedBackupSetting]) Source #

Specifies a list of BackupOptions for each resource type. These settings are only available for Windows Volume Shadow Copy Service (VSS) backup jobs.

backupPlanInput_backupPlanName :: Lens' BackupPlanInput Text Source #

The display name of a backup plan. Must contain 1 to 50 alphanumeric or '-_.' characters.

backupPlanInput_rules :: Lens' BackupPlanInput [BackupRuleInput] Source #

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