aws-sdk-drs 1.118.0

AWS SDK for Elastic Disaster Recovery Service
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateRecoveryPlanExecutionStep`](crate::operation::update_recovery_plan_execution_step::builders::UpdateRecoveryPlanExecutionStepFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`recovery_plan_execution_step_arn(impl Into<String>)`](crate::operation::update_recovery_plan_execution_step::builders::UpdateRecoveryPlanExecutionStepFluentBuilder::recovery_plan_execution_step_arn) / [`set_recovery_plan_execution_step_arn(Option<String>)`](crate::operation::update_recovery_plan_execution_step::builders::UpdateRecoveryPlanExecutionStepFluentBuilder::set_recovery_plan_execution_step_arn):<br>required: **true**<br><p>The ARN of the execution step to update.</p><br>
    ///   - [`status(RecoveryPlanExecutionStepStatus)`](crate::operation::update_recovery_plan_execution_step::builders::UpdateRecoveryPlanExecutionStepFluentBuilder::status) / [`set_status(Option<RecoveryPlanExecutionStepStatus>)`](crate::operation::update_recovery_plan_execution_step::builders::UpdateRecoveryPlanExecutionStepFluentBuilder::set_status):<br>required: **false**<br>Only SKIPPED is accepted. Step must be in NOT_STARTED or FAILED status.<br>
    ///   - [`servers(RecoveryPlanServer)`](crate::operation::update_recovery_plan_execution_step::builders::UpdateRecoveryPlanExecutionStepFluentBuilder::servers) / [`set_servers(Option<Vec::<RecoveryPlanServer>>)`](crate::operation::update_recovery_plan_execution_step::builders::UpdateRecoveryPlanExecutionStepFluentBuilder::set_servers):<br>required: **false**<br>Full replacement of the server list. Only allowed when the step is in NOT_STARTED status (Server type steps only).<br>
    ///   - [`wait_duration_minutes(i32)`](crate::operation::update_recovery_plan_execution_step::builders::UpdateRecoveryPlanExecutionStepFluentBuilder::wait_duration_minutes) / [`set_wait_duration_minutes(Option<i32>)`](crate::operation::update_recovery_plan_execution_step::builders::UpdateRecoveryPlanExecutionStepFluentBuilder::set_wait_duration_minutes):<br>required: **false**<br>Updated wait duration. Only allowed when the step is in NOT_STARTED status (Wait type steps only).<br>
    /// - On success, responds with [`UpdateRecoveryPlanExecutionStepOutput`](crate::operation::update_recovery_plan_execution_step::UpdateRecoveryPlanExecutionStepOutput) with field(s):
    ///   - [`recovery_plan_execution_step(Option<RecoveryPlanExecutionStep>)`](crate::operation::update_recovery_plan_execution_step::UpdateRecoveryPlanExecutionStepOutput::recovery_plan_execution_step): A Recovery Plan Execution Step resource.
    /// - On failure, responds with [`SdkError<UpdateRecoveryPlanExecutionStepError>`](crate::operation::update_recovery_plan_execution_step::UpdateRecoveryPlanExecutionStepError)
    pub fn update_recovery_plan_execution_step(
        &self,
    ) -> crate::operation::update_recovery_plan_execution_step::builders::UpdateRecoveryPlanExecutionStepFluentBuilder {
        crate::operation::update_recovery_plan_execution_step::builders::UpdateRecoveryPlanExecutionStepFluentBuilder::new(self.handle.clone())
    }
}