aws_sdk_backup/client/create_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 [`CreateRestoreTestingPlan`](crate::operation::create_restore_testing_plan::builders::CreateRestoreTestingPlanFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`creator_request_id(impl Into<String>)`](crate::operation::create_restore_testing_plan::builders::CreateRestoreTestingPlanFluentBuilder::creator_request_id) / [`set_creator_request_id(Option<String>)`](crate::operation::create_restore_testing_plan::builders::CreateRestoreTestingPlanFluentBuilder::set_creator_request_id):<br>required: **false**<br><p>This is a unique string that identifies the request and allows failed requests to be retriedwithout the risk of running the operation twice. This parameter is optional. If used, this parameter must contain 1 to 50 alphanumeric or '-_.' characters.</p><br>
7 /// - [`restore_testing_plan(RestoreTestingPlanForCreate)`](crate::operation::create_restore_testing_plan::builders::CreateRestoreTestingPlanFluentBuilder::restore_testing_plan) / [`set_restore_testing_plan(Option<RestoreTestingPlanForCreate>)`](crate::operation::create_restore_testing_plan::builders::CreateRestoreTestingPlanFluentBuilder::set_restore_testing_plan):<br>required: **true**<br><p>A restore testing plan must contain a unique <code>RestoreTestingPlanName</code> string you create and must contain a <code>ScheduleExpression</code> cron. You may optionally include a <code>StartWindowHours</code> integer and a <code>CreatorRequestId</code> string.</p> <p>The <code>RestoreTestingPlanName</code> is a unique string that is the name of the restore testing plan. This cannot be changed after creation, and it must consist of only alphanumeric characters and underscores.</p><br>
8 /// - [`tags(impl Into<String>, impl Into<String>)`](crate::operation::create_restore_testing_plan::builders::CreateRestoreTestingPlanFluentBuilder::tags) / [`set_tags(Option<HashMap::<String, String>>)`](crate::operation::create_restore_testing_plan::builders::CreateRestoreTestingPlanFluentBuilder::set_tags):<br>required: **false**<br><p>The tags to assign to the restore testing plan.</p><br>
9 /// - On success, responds with [`CreateRestoreTestingPlanOutput`](crate::operation::create_restore_testing_plan::CreateRestoreTestingPlanOutput) with field(s):
10 /// - [`creation_time(DateTime)`](crate::operation::create_restore_testing_plan::CreateRestoreTestingPlanOutput::creation_time): <p>The date and time a restore testing plan was created, in Unix format and Coordinated Universal Time (UTC). The value of <code>CreationTime</code> is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087AM.</p>
11 /// - [`restore_testing_plan_arn(String)`](crate::operation::create_restore_testing_plan::CreateRestoreTestingPlanOutput::restore_testing_plan_arn): <p>An Amazon Resource Name (ARN) that uniquely identifies the created restore testing plan.</p>
12 /// - [`restore_testing_plan_name(String)`](crate::operation::create_restore_testing_plan::CreateRestoreTestingPlanOutput::restore_testing_plan_name): <p>This unique string is the name of the restore testing plan.</p> <p>The name cannot be changed after creation. The name consists of only alphanumeric characters and underscores. Maximum length is 50.</p>
13 /// - On failure, responds with [`SdkError<CreateRestoreTestingPlanError>`](crate::operation::create_restore_testing_plan::CreateRestoreTestingPlanError)
14 pub fn create_restore_testing_plan(&self) -> crate::operation::create_restore_testing_plan::builders::CreateRestoreTestingPlanFluentBuilder {
15 crate::operation::create_restore_testing_plan::builders::CreateRestoreTestingPlanFluentBuilder::new(self.handle.clone())
16 }
17}