NAME
Paws::Backup::UpdateBackupPlan - Arguments for method UpdateBackupPlan on Paws::Backup
DESCRIPTION
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.
SYNOPSIS
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
ATTRIBUTES
REQUIRED BackupPlan => Paws::Backup::BackupPlanInput
Specifies the body of a backup plan. Includes a BackupPlanName
and one or more sets of Rules
.
REQUIRED BackupPlanId => Str
Uniquely identifies a backup plan.
SEE ALSO
This class forms part of Paws, documenting arguments for method UpdateBackupPlan in Paws::Backup
BUGS and CONTRIBUTIONS
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