aws-sdk-drs 1.117.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
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CreateRecoveryPlanStep`](crate::operation::create_recovery_plan_step::builders::CreateRecoveryPlanStepFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`recovery_plan_arn(impl Into<String>)`](crate::operation::create_recovery_plan_step::builders::CreateRecoveryPlanStepFluentBuilder::recovery_plan_arn) / [`set_recovery_plan_arn(Option<String>)`](crate::operation::create_recovery_plan_step::builders::CreateRecoveryPlanStepFluentBuilder::set_recovery_plan_arn):<br>required: **true**<br><p>The ARN of the Recovery Plan to add the step to.</p><br>
    ///   - [`step_name(impl Into<String>)`](crate::operation::create_recovery_plan_step::builders::CreateRecoveryPlanStepFluentBuilder::step_name) / [`set_step_name(Option<String>)`](crate::operation::create_recovery_plan_step::builders::CreateRecoveryPlanStepFluentBuilder::set_step_name):<br>required: **true**<br>The name of a Recovery Plan Step.<br>
    ///   - [`step_order(i32)`](crate::operation::create_recovery_plan_step::builders::CreateRecoveryPlanStepFluentBuilder::step_order) / [`set_step_order(Option<i32>)`](crate::operation::create_recovery_plan_step::builders::CreateRecoveryPlanStepFluentBuilder::set_step_order):<br>required: **false**<br>The order of a step within a Recovery Plan (1-based).<br>
    ///   - [`configuration(RecoveryPlanStepConfiguration)`](crate::operation::create_recovery_plan_step::builders::CreateRecoveryPlanStepFluentBuilder::configuration) / [`set_configuration(Option<RecoveryPlanStepConfiguration>)`](crate::operation::create_recovery_plan_step::builders::CreateRecoveryPlanStepFluentBuilder::set_configuration):<br>required: **true**<br>Type-specific configuration for a recovery plan step. Exactly one member must be set.<br>
    ///   - [`client_token(impl Into<String>)`](crate::operation::create_recovery_plan_step::builders::CreateRecoveryPlanStepFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::create_recovery_plan_step::builders::CreateRecoveryPlanStepFluentBuilder::set_client_token):<br>required: **false**<br><p>A unique string provided to ensure request idempotency.</p><br>
    /// - On success, responds with [`CreateRecoveryPlanStepOutput`](crate::operation::create_recovery_plan_step::CreateRecoveryPlanStepOutput) with field(s):
    ///   - [`recovery_plan_step(Option<RecoveryPlanStep>)`](crate::operation::create_recovery_plan_step::CreateRecoveryPlanStepOutput::recovery_plan_step): A Recovery Plan Step resource.
    /// - On failure, responds with [`SdkError<CreateRecoveryPlanStepError>`](crate::operation::create_recovery_plan_step::CreateRecoveryPlanStepError)
    pub fn create_recovery_plan_step(&self) -> crate::operation::create_recovery_plan_step::builders::CreateRecoveryPlanStepFluentBuilder {
        crate::operation::create_recovery_plan_step::builders::CreateRecoveryPlanStepFluentBuilder::new(self.handle.clone())
    }
}