Learn R Programming

paws.storage (version 0.1.12)

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

Description

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

Usage

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

Value

A list with the following syntax:

list(
  CopyJobId = "string",
  CreationDate = as.POSIXct(
    "2015-01-01"
  )
)

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

Request syntax

svc$start_copy_job(
  RecoveryPointArn = "string",
  SourceBackupVaultName = "string",
  DestinationBackupVaultArn = "string",
  IamRoleArn = "string",
  IdempotencyToken = "string",
  Lifecycle = list(
    MoveToColdStorageAfterDays = 123,
    DeleteAfterDays = 123
  )
)