aws_sdk_arcregionswitch/client/
update_plan_execution_step.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 [`UpdatePlanExecutionStep`](crate::operation::update_plan_execution_step::builders::UpdatePlanExecutionStepFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`plan_arn(impl Into<String>)`](crate::operation::update_plan_execution_step::builders::UpdatePlanExecutionStepFluentBuilder::plan_arn) / [`set_plan_arn(Option<String>)`](crate::operation::update_plan_execution_step::builders::UpdatePlanExecutionStepFluentBuilder::set_plan_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the plan containing the execution step to update.</p><br>
7    ///   - [`execution_id(impl Into<String>)`](crate::operation::update_plan_execution_step::builders::UpdatePlanExecutionStepFluentBuilder::execution_id) / [`set_execution_id(Option<String>)`](crate::operation::update_plan_execution_step::builders::UpdatePlanExecutionStepFluentBuilder::set_execution_id):<br>required: **true**<br><p>The unique identifier of the plan execution containing the step to update.</p><br>
8    ///   - [`comment(impl Into<String>)`](crate::operation::update_plan_execution_step::builders::UpdatePlanExecutionStepFluentBuilder::comment) / [`set_comment(Option<String>)`](crate::operation::update_plan_execution_step::builders::UpdatePlanExecutionStepFluentBuilder::set_comment):<br>required: **true**<br><p>An optional comment about the plan execution.</p><br>
9    ///   - [`step_name(impl Into<String>)`](crate::operation::update_plan_execution_step::builders::UpdatePlanExecutionStepFluentBuilder::step_name) / [`set_step_name(Option<String>)`](crate::operation::update_plan_execution_step::builders::UpdatePlanExecutionStepFluentBuilder::set_step_name):<br>required: **true**<br><p>The name of the execution step to update.</p><br>
10    ///   - [`action_to_take(UpdatePlanExecutionStepAction)`](crate::operation::update_plan_execution_step::builders::UpdatePlanExecutionStepFluentBuilder::action_to_take) / [`set_action_to_take(Option<UpdatePlanExecutionStepAction>)`](crate::operation::update_plan_execution_step::builders::UpdatePlanExecutionStepFluentBuilder::set_action_to_take):<br>required: **true**<br><p>The updated action to take for the step. This can be used to skip or retry a step.</p><br>
11    /// - On success, responds with [`UpdatePlanExecutionStepOutput`](crate::operation::update_plan_execution_step::UpdatePlanExecutionStepOutput)
12    /// - On failure, responds with [`SdkError<UpdatePlanExecutionStepError>`](crate::operation::update_plan_execution_step::UpdatePlanExecutionStepError)
13    pub fn update_plan_execution_step(&self) -> crate::operation::update_plan_execution_step::builders::UpdatePlanExecutionStepFluentBuilder {
14        crate::operation::update_plan_execution_step::builders::UpdatePlanExecutionStepFluentBuilder::new(self.handle.clone())
15    }
16}