aws-sdk-drs 1.114.0

AWS SDK for Elastic Disaster Recovery Service
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`StartRecoveryPlanExecution`](crate::operation::start_recovery_plan_execution::builders::StartRecoveryPlanExecutionFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`recovery_plan_arn(impl Into<String>)`](crate::operation::start_recovery_plan_execution::builders::StartRecoveryPlanExecutionFluentBuilder::recovery_plan_arn) / [`set_recovery_plan_arn(Option<String>)`](crate::operation::start_recovery_plan_execution::builders::StartRecoveryPlanExecutionFluentBuilder::set_recovery_plan_arn):<br>required: **true**<br><p>The ARN of the Recovery Plan to execute.</p><br>
    ///   - [`mode(RecoveryPlanExecutionMode)`](crate::operation::start_recovery_plan_execution::builders::StartRecoveryPlanExecutionFluentBuilder::mode) / [`set_mode(Option<RecoveryPlanExecutionMode>)`](crate::operation::start_recovery_plan_execution::builders::StartRecoveryPlanExecutionFluentBuilder::set_mode):<br>required: **true**<br><p>The execution mode (<code>DRILL</code> or <code>RECOVERY</code>).</p><br>
    ///   - [`client_token(impl Into<String>)`](crate::operation::start_recovery_plan_execution::builders::StartRecoveryPlanExecutionFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::start_recovery_plan_execution::builders::StartRecoveryPlanExecutionFluentBuilder::set_client_token):<br>required: **false**<br><p>A unique string provided to ensure request idempotency.</p><br>
    ///   - [`source_servers(RecoveryPlanExecutionSourceServer)`](crate::operation::start_recovery_plan_execution::builders::StartRecoveryPlanExecutionFluentBuilder::source_servers) / [`set_source_servers(Option<Vec::<RecoveryPlanExecutionSourceServer>>)`](crate::operation::start_recovery_plan_execution::builders::StartRecoveryPlanExecutionFluentBuilder::set_source_servers):<br>required: **false**<br><p>Optional list of source servers with specific recovery snapshots. If not provided, the latest snapshot is used for each server.</p><br>
    ///   - [`tags(impl Into<String>, impl Into<String>)`](crate::operation::start_recovery_plan_execution::builders::StartRecoveryPlanExecutionFluentBuilder::tags) / [`set_tags(Option<HashMap::<String, String>>)`](crate::operation::start_recovery_plan_execution::builders::StartRecoveryPlanExecutionFluentBuilder::set_tags):<br>required: **false**<br><p>The tags to apply to the Recovery Plan execution.</p><br>
    /// - On success, responds with [`StartRecoveryPlanExecutionOutput`](crate::operation::start_recovery_plan_execution::StartRecoveryPlanExecutionOutput) with field(s):
    ///   - [`recovery_plan_execution(Option<RecoveryPlanExecution>)`](crate::operation::start_recovery_plan_execution::StartRecoveryPlanExecutionOutput::recovery_plan_execution): <p>The started Recovery Plan execution.</p>
    /// - On failure, responds with [`SdkError<StartRecoveryPlanExecutionError>`](crate::operation::start_recovery_plan_execution::StartRecoveryPlanExecutionError)
    pub fn start_recovery_plan_execution(
        &self,
    ) -> crate::operation::start_recovery_plan_execution::builders::StartRecoveryPlanExecutionFluentBuilder {
        crate::operation::start_recovery_plan_execution::builders::StartRecoveryPlanExecutionFluentBuilder::new(self.handle.clone())
    }
}