start_recovery_plan_execution
async
¶
start_recovery_plan_execution(
recovery_plan_arn: StrictDRSARN,
mode: RecoveryPlanExecutionMode,
*,
config_overrides: Optional[AsyncdrsClientConfig] = None,
client_token: Optional[ClientIdempotencyToken] = None,
source_servers: Optional[RecoveryPlanExecutionSourceServerList] = None,
tags: Optional[TagsMap] = None,
) -> StartRecoveryPlanExecutionResponse
Starts executing a Recovery Plan in DRILL or RECOVERY mode. A plan cannot have more than one execution in a non-terminal status at a time.
Parameters:
-
recovery_plan_arn(StrictDRSARN) –The ARN of the Recovery Plan to execute.
-
mode(RecoveryPlanExecutionMode) –The execution mode (
DRILLorRECOVERY). -
client_token(Optional[ClientIdempotencyToken], default:None) –A unique string provided to ensure request idempotency.
-
source_servers(Optional[RecoveryPlanExecutionSourceServerList], default:None) –Optional list of source servers with specific recovery snapshots. If not provided, the latest snapshot is used for each server.
-
tags(Optional[TagsMap], default:None) –The tags to apply to the Recovery Plan execution.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ConflictException–The request could not be completed due to a conflict with the current state of the target resource.
-
InternalServerException–The request processing has failed because of an unknown error, exception or failure.
-
ResourceNotFoundException–The resource for this operation was not found.
-
ServiceQuotaExceededException–The request could not be completed because its exceeded the service quota.
-
ThrottlingException–The request was denied due to request throttling.
-
UninitializedAccountException–The account performing the request has not been initialized.
-
ValidationException–The input fails to satisfy the constraints specified by the AWS service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_drs/_services/async_drs.py
3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 | |