backup_start_copy_job: Starts a job to create a one-time copy of the specified...

Description Usage Arguments Value Request syntax

View source: R/backup_operations.R

Description

Starts a job to create a one-time copy of the specified resource.

Usage

1
2
backup_start_copy_job(RecoveryPointArn, SourceBackupVaultName,
  DestinationBackupVaultArn, IamRoleArn, IdempotencyToken, Lifecycle)

Arguments

RecoveryPointArn

[required] An ARN that uniquely identifies a recovery point to use for the copy job; for example, arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.

SourceBackupVaultName

[required] The name of a logical source container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the AWS Region where they are created. They consist of lowercase letters, numbers, and hyphens.

DestinationBackupVaultArn

[required] An Amazon Resource Name (ARN) that uniquely identifies a destination backup vault to copy to; for example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.

IamRoleArn

[required] Specifies the IAM role ARN used to copy the target recovery point; for example, arn:aws:iam::123456789012:role/S3Access.

IdempotencyToken

A customer chosen string that can be used to distinguish between calls to start_copy_job.

Lifecycle

Value

A list with the following syntax:

1
2
3
4
5
6
list(
  CopyJobId = "string",
  CreationDate = as.POSIXct(
    "2015-01-01"
  )
)

Request syntax

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
svc$start_copy_job(
  RecoveryPointArn = "string",
  SourceBackupVaultName = "string",
  DestinationBackupVaultArn = "string",
  IamRoleArn = "string",
  IdempotencyToken = "string",
  Lifecycle = list(
    MoveToColdStorageAfterDays = 123,
    DeleteAfterDays = 123
  )
)

paws.storage documentation built on Aug. 23, 2021, 1:06 a.m.