Paws::Backup::UpdateBackupPlan - Arguments for method UpdateBackupPlan on Paws::Backup
This class represents the parameters used for calling the method UpdateBackupPlan on the AWS Backup service. Use the attributes of this class as arguments to method UpdateBackupPlan.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateBackupPlan.
my $backup = Paws->service('Backup'); my $UpdateBackupPlanOutput = $backup->UpdateBackupPlan( BackupPlan => { BackupPlanName => 'MyBackupPlanName', Rules => [ { RuleName => 'MyBackupRuleName', TargetBackupVaultName => 'MyBackupVaultName', CompletionWindowMinutes => 1, # OPTIONAL CopyActions => [ { DestinationBackupVaultArn => 'MyARN', Lifecycle => { DeleteAfterDays => 1, # OPTIONAL MoveToColdStorageAfterDays => 1, # OPTIONAL }, # OPTIONAL }, ... ], # OPTIONAL EnableContinuousBackup => 1, # OPTIONAL Lifecycle => { DeleteAfterDays => 1, # OPTIONAL MoveToColdStorageAfterDays => 1, # OPTIONAL }, # OPTIONAL RecoveryPointTags => { 'MyTagKey' => 'MyTagValue', }, # OPTIONAL ScheduleExpression => 'MyCronExpression', # OPTIONAL StartWindowMinutes => 1, # OPTIONAL }, ... ], AdvancedBackupSettings => [ { BackupOptions => { 'MyBackupOptionKey' => 'MyBackupOptionValue', } , # OPTIONAL ResourceType => 'MyResourceType', # OPTIONAL }, ... ], # OPTIONAL }, BackupPlanId => 'Mystring', ); # Results: my $AdvancedBackupSettings = $UpdateBackupPlanOutput->AdvancedBackupSettings; my $BackupPlanArn = $UpdateBackupPlanOutput->BackupPlanArn; my $BackupPlanId = $UpdateBackupPlanOutput->BackupPlanId; my $CreationDate = $UpdateBackupPlanOutput->CreationDate; my $VersionId = $UpdateBackupPlanOutput->VersionId; # Returns a L<Paws::Backup::UpdateBackupPlanOutput> object.
Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/backup/UpdateBackupPlan
Specifies the body of a backup plan. Includes a BackupPlanName and one or more sets of Rules.
BackupPlanName
Rules
Uniquely identifies a backup plan.
This class forms part of Paws, documenting arguments for method UpdateBackupPlan in Paws::Backup
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
To install Paws, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws
CPAN shell
perl -MCPAN -e shell install Paws
For more information on module installation, please visit the detailed CPAN module installation guide.