aws_sdk_arcregionswitch/client/
approve_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 [`ApprovePlanExecutionStep`](crate::operation::approve_plan_execution_step::builders::ApprovePlanExecutionStepFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`plan_arn(impl Into<String>)`](crate::operation::approve_plan_execution_step::builders::ApprovePlanExecutionStepFluentBuilder::plan_arn) / [`set_plan_arn(Option<String>)`](crate::operation::approve_plan_execution_step::builders::ApprovePlanExecutionStepFluentBuilder::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::approve_plan_execution_step::builders::ApprovePlanExecutionStepFluentBuilder::execution_id) / [`set_execution_id(Option<String>)`](crate::operation::approve_plan_execution_step::builders::ApprovePlanExecutionStepFluentBuilder::set_execution_id):<br>required: **true**<br><p>The execution identifier of a plan execution.</p><br>
8    ///   - [`step_name(impl Into<String>)`](crate::operation::approve_plan_execution_step::builders::ApprovePlanExecutionStepFluentBuilder::step_name) / [`set_step_name(Option<String>)`](crate::operation::approve_plan_execution_step::builders::ApprovePlanExecutionStepFluentBuilder::set_step_name):<br>required: **true**<br><p>The name of a step in a plan execution.</p><br>
9    ///   - [`approval(Approval)`](crate::operation::approve_plan_execution_step::builders::ApprovePlanExecutionStepFluentBuilder::approval) / [`set_approval(Option<Approval>)`](crate::operation::approve_plan_execution_step::builders::ApprovePlanExecutionStepFluentBuilder::set_approval):<br>required: **true**<br><p>The status of approval for a plan execution step.</p><br>
10    ///   - [`comment(impl Into<String>)`](crate::operation::approve_plan_execution_step::builders::ApprovePlanExecutionStepFluentBuilder::comment) / [`set_comment(Option<String>)`](crate::operation::approve_plan_execution_step::builders::ApprovePlanExecutionStepFluentBuilder::set_comment):<br>required: **false**<br><p>A comment that you can enter about a plan execution.</p><br>
11    /// - On success, responds with [`ApprovePlanExecutionStepOutput`](crate::operation::approve_plan_execution_step::ApprovePlanExecutionStepOutput)
12    /// - On failure, responds with [`SdkError<ApprovePlanExecutionStepError>`](crate::operation::approve_plan_execution_step::ApprovePlanExecutionStepError)
13    pub fn approve_plan_execution_step(&self) -> crate::operation::approve_plan_execution_step::builders::ApprovePlanExecutionStepFluentBuilder {
14        crate::operation::approve_plan_execution_step::builders::ApprovePlanExecutionStepFluentBuilder::new(self.handle.clone())
15    }
16}