start_copy_job
async
¶
start_copy_job(
recovery_point_arn: ARN,
source_backup_vault_name: BackupVaultName,
destination_backup_vault_arn: ARN,
iam_role_arn: IAMRoleArn,
*,
config_overrides: Optional[AsyncBackupClientConfig] = None,
idempotency_token: Optional[string] = None,
lifecycle: Optional[Lifecycle] = None,
) -> StartCopyJobOutput
Starts a job to create a one-time copy of the specified resource.
Does not support continuous backups.
See Copy job retry for information on how Backup retries copy job operations.
Parameters:
-
recovery_point_arn(ARN) –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.
-
source_backup_vault_name(BackupVaultName) –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 Amazon Web Services Region where they are created.
-
destination_backup_vault_arn(ARN) –An Amazon Resource Name (ARN) that uniquely identifies a destination backup vault to copy to; for example,
arn:aws:backup:us-east-1:123456789012:backup-vault:aBackupVault. -
iam_role_arn(IAMRoleArn) –Specifies the IAM role ARN used to copy the target recovery point; for example,
arn:aws:iam::123456789012:role/S3Access. -
idempotency_token(Optional[string], default:None) –A customer-chosen string that you can use to distinguish between otherwise identical calls to
StartCopyJob. Retrying a successful request with the same idempotency token results in a success message with no action taken.
Raises:
-
InvalidParameterValueException–Indicates that something is wrong with a parameter's value. For example, the value is out of range.
-
InvalidRequestException–Indicates that something is wrong with the input to the request. For example, a parameter is of the wrong type.
-
LimitExceededException–A limit in the request has been exceeded; for example, a maximum number of items allowed in a request.
-
MissingParameterValueException–Indicates that a required parameter is missing.
-
ResourceNotFoundException–A resource that is required for the action doesn't exist.
-
ServiceUnavailableException–The request failed due to a temporary failure of the server.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_backup/_services/async_backup.py
7405 7406 7407 7408 7409 7410 7411 7412 7413 7414 7415 7416 7417 7418 7419 7420 7421 7422 7423 7424 7425 7426 7427 7428 7429 7430 7431 7432 7433 7434 7435 7436 7437 7438 7439 7440 7441 7442 7443 7444 7445 7446 7447 7448 7449 7450 7451 7452 7453 7454 7455 7456 7457 7458 7459 7460 7461 7462 7463 7464 7465 7466 7467 7468 7469 7470 7471 | |