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
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateRecoveryPlan`](crate::operation::update_recovery_plan::builders::UpdateRecoveryPlanFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`recovery_plan_arn(impl Into<String>)`](crate::operation::update_recovery_plan::builders::UpdateRecoveryPlanFluentBuilder::recovery_plan_arn) / [`set_recovery_plan_arn(Option<String>)`](crate::operation::update_recovery_plan::builders::UpdateRecoveryPlanFluentBuilder::set_recovery_plan_arn):<br>required: **true**<br><p>The ARN of the Recovery Plan to update.</p><br>
    ///   - [`name(impl Into<String>)`](crate::operation::update_recovery_plan::builders::UpdateRecoveryPlanFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_recovery_plan::builders::UpdateRecoveryPlanFluentBuilder::set_name):<br>required: **false**<br>The name of a Recovery Plan.<br>
    ///   - [`description(impl Into<String>)`](crate::operation::update_recovery_plan::builders::UpdateRecoveryPlanFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_recovery_plan::builders::UpdateRecoveryPlanFluentBuilder::set_description):<br>required: **false**<br>The description of a Recovery Plan.<br>
    /// - On success, responds with [`UpdateRecoveryPlanOutput`](crate::operation::update_recovery_plan::UpdateRecoveryPlanOutput) with field(s):
    ///   - [`recovery_plan(Option<RecoveryPlan>)`](crate::operation::update_recovery_plan::UpdateRecoveryPlanOutput::recovery_plan): A Recovery Plan resource.
    /// - On failure, responds with [`SdkError<UpdateRecoveryPlanError>`](crate::operation::update_recovery_plan::UpdateRecoveryPlanError)
    pub fn update_recovery_plan(&self) -> crate::operation::update_recovery_plan::builders::UpdateRecoveryPlanFluentBuilder {
        crate::operation::update_recovery_plan::builders::UpdateRecoveryPlanFluentBuilder::new(self.handle.clone())
    }
}