aws_sdk_backup/client/
get_restore_testing_plan.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 [`GetRestoreTestingPlan`](crate::operation::get_restore_testing_plan::builders::GetRestoreTestingPlanFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`restore_testing_plan_name(impl Into<String>)`](crate::operation::get_restore_testing_plan::builders::GetRestoreTestingPlanFluentBuilder::restore_testing_plan_name) / [`set_restore_testing_plan_name(Option<String>)`](crate::operation::get_restore_testing_plan::builders::GetRestoreTestingPlanFluentBuilder::set_restore_testing_plan_name):<br>required: **true**<br><p>Required unique name of the restore testing plan.</p><br>
7    /// - On success, responds with [`GetRestoreTestingPlanOutput`](crate::operation::get_restore_testing_plan::GetRestoreTestingPlanOutput) with field(s):
8    ///   - [`restore_testing_plan(Option<RestoreTestingPlanForGet>)`](crate::operation::get_restore_testing_plan::GetRestoreTestingPlanOutput::restore_testing_plan): <p>Specifies the body of a restore testing plan. Includes <code>RestoreTestingPlanName</code>.</p>
9    /// - On failure, responds with [`SdkError<GetRestoreTestingPlanError>`](crate::operation::get_restore_testing_plan::GetRestoreTestingPlanError)
10    pub fn get_restore_testing_plan(&self) -> crate::operation::get_restore_testing_plan::builders::GetRestoreTestingPlanFluentBuilder {
11        crate::operation::get_restore_testing_plan::builders::GetRestoreTestingPlanFluentBuilder::new(self.handle.clone())
12    }
13}