aws_sdk_arcregionswitch/client/
cancel_plan_execution.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`CancelPlanExecution`](crate::operation::cancel_plan_execution::builders::CancelPlanExecutionFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`plan_arn(impl Into<String>)`](crate::operation::cancel_plan_execution::builders::CancelPlanExecutionFluentBuilder::plan_arn) / [`set_plan_arn(Option<String>)`](crate::operation::cancel_plan_execution::builders::CancelPlanExecutionFluentBuilder::set_plan_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the plan.</p><br>
7    ///   - [`execution_id(impl Into<String>)`](crate::operation::cancel_plan_execution::builders::CancelPlanExecutionFluentBuilder::execution_id) / [`set_execution_id(Option<String>)`](crate::operation::cancel_plan_execution::builders::CancelPlanExecutionFluentBuilder::set_execution_id):<br>required: **true**<br><p>The execution identifier of a plan execution.</p><br>
8    ///   - [`comment(impl Into<String>)`](crate::operation::cancel_plan_execution::builders::CancelPlanExecutionFluentBuilder::comment) / [`set_comment(Option<String>)`](crate::operation::cancel_plan_execution::builders::CancelPlanExecutionFluentBuilder::set_comment):<br>required: **false**<br><p>A comment that you can enter about canceling a plan execution step.</p><br>
9    /// - On success, responds with [`CancelPlanExecutionOutput`](crate::operation::cancel_plan_execution::CancelPlanExecutionOutput)
10    /// - On failure, responds with [`SdkError<CancelPlanExecutionError>`](crate::operation::cancel_plan_execution::CancelPlanExecutionError)
11    pub fn cancel_plan_execution(&self) -> crate::operation::cancel_plan_execution::builders::CancelPlanExecutionFluentBuilder {
12        crate::operation::cancel_plan_execution::builders::CancelPlanExecutionFluentBuilder::new(self.handle.clone())
13    }
14}