aws-sdk-drs 1.115.0

AWS SDK for Elastic Disaster Recovery Service
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetRecoveryPlan`](crate::operation::get_recovery_plan::builders::GetRecoveryPlanFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`recovery_plan_arn(impl Into<String>)`](crate::operation::get_recovery_plan::builders::GetRecoveryPlanFluentBuilder::recovery_plan_arn) / [`set_recovery_plan_arn(Option<String>)`](crate::operation::get_recovery_plan::builders::GetRecoveryPlanFluentBuilder::set_recovery_plan_arn):<br>required: **true**<br><p>The ARN of the Recovery Plan to retrieve.</p><br>
    /// - On success, responds with [`GetRecoveryPlanOutput`](crate::operation::get_recovery_plan::GetRecoveryPlanOutput) with field(s):
    ///   - [`recovery_plan(Option<RecoveryPlan>)`](crate::operation::get_recovery_plan::GetRecoveryPlanOutput::recovery_plan): A Recovery Plan resource.
    /// - On failure, responds with [`SdkError<GetRecoveryPlanError>`](crate::operation::get_recovery_plan::GetRecoveryPlanError)
    pub fn get_recovery_plan(&self) -> crate::operation::get_recovery_plan::builders::GetRecoveryPlanFluentBuilder {
        crate::operation::get_recovery_plan::builders::GetRecoveryPlanFluentBuilder::new(self.handle.clone())
    }
}