aws-sdk-drs 1.116.0

AWS SDK for Elastic Disaster Recovery Service
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CancelRecoveryPlanExecution`](crate::operation::cancel_recovery_plan_execution::builders::CancelRecoveryPlanExecutionFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`recovery_plan_execution_arn(impl Into<String>)`](crate::operation::cancel_recovery_plan_execution::builders::CancelRecoveryPlanExecutionFluentBuilder::recovery_plan_execution_arn) / [`set_recovery_plan_execution_arn(Option<String>)`](crate::operation::cancel_recovery_plan_execution::builders::CancelRecoveryPlanExecutionFluentBuilder::set_recovery_plan_execution_arn):<br>required: **true**<br><p>The ARN of the Recovery Plan execution to cancel.</p><br>
    /// - On success, responds with [`CancelRecoveryPlanExecutionOutput`](crate::operation::cancel_recovery_plan_execution::CancelRecoveryPlanExecutionOutput) with field(s):
    ///   - [`recovery_plan_execution(Option<RecoveryPlanExecution>)`](crate::operation::cancel_recovery_plan_execution::CancelRecoveryPlanExecutionOutput::recovery_plan_execution): <p>The cancelled Recovery Plan execution.</p>
    /// - On failure, responds with [`SdkError<CancelRecoveryPlanExecutionError>`](crate::operation::cancel_recovery_plan_execution::CancelRecoveryPlanExecutionError)
    pub fn cancel_recovery_plan_execution(
        &self,
    ) -> crate::operation::cancel_recovery_plan_execution::builders::CancelRecoveryPlanExecutionFluentBuilder {
        crate::operation::cancel_recovery_plan_execution::builders::CancelRecoveryPlanExecutionFluentBuilder::new(self.handle.clone())
    }
}