aws_sdk_backup/client/update_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 [`UpdateRestoreTestingPlan`](crate::operation::update_restore_testing_plan::builders::UpdateRestoreTestingPlanFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`restore_testing_plan(RestoreTestingPlanForUpdate)`](crate::operation::update_restore_testing_plan::builders::UpdateRestoreTestingPlanFluentBuilder::restore_testing_plan) / [`set_restore_testing_plan(Option<RestoreTestingPlanForUpdate>)`](crate::operation::update_restore_testing_plan::builders::UpdateRestoreTestingPlanFluentBuilder::set_restore_testing_plan):<br>required: **true**<br><p>Specifies the body of a restore testing plan.</p><br>
7 /// - [`restore_testing_plan_name(impl Into<String>)`](crate::operation::update_restore_testing_plan::builders::UpdateRestoreTestingPlanFluentBuilder::restore_testing_plan_name) / [`set_restore_testing_plan_name(Option<String>)`](crate::operation::update_restore_testing_plan::builders::UpdateRestoreTestingPlanFluentBuilder::set_restore_testing_plan_name):<br>required: **true**<br><p>The name of the restore testing plan name.</p><br>
8 /// - On success, responds with [`UpdateRestoreTestingPlanOutput`](crate::operation::update_restore_testing_plan::UpdateRestoreTestingPlanOutput) with field(s):
9 /// - [`creation_time(DateTime)`](crate::operation::update_restore_testing_plan::UpdateRestoreTestingPlanOutput::creation_time): <p>The time the resource testing plan was created.</p>
10 /// - [`restore_testing_plan_arn(String)`](crate::operation::update_restore_testing_plan::UpdateRestoreTestingPlanOutput::restore_testing_plan_arn): <p>Unique ARN (Amazon Resource Name) of the restore testing plan.</p>
11 /// - [`restore_testing_plan_name(String)`](crate::operation::update_restore_testing_plan::UpdateRestoreTestingPlanOutput::restore_testing_plan_name): <p>The name cannot be changed after creation. The name consists of only alphanumeric characters and underscores. Maximum length is 50.</p>
12 /// - [`update_time(DateTime)`](crate::operation::update_restore_testing_plan::UpdateRestoreTestingPlanOutput::update_time): <p>The time the update completed for the restore testing plan.</p>
13 /// - On failure, responds with [`SdkError<UpdateRestoreTestingPlanError>`](crate::operation::update_restore_testing_plan::UpdateRestoreTestingPlanError)
14 pub fn update_restore_testing_plan(&self) -> crate::operation::update_restore_testing_plan::builders::UpdateRestoreTestingPlanFluentBuilder {
15 crate::operation::update_restore_testing_plan::builders::UpdateRestoreTestingPlanFluentBuilder::new(self.handle.clone())
16 }
17}