aws-sdk-drs 1.118.0

AWS SDK for Elastic Disaster Recovery Service
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CreateRecoveryPlan`](crate::operation::create_recovery_plan::builders::CreateRecoveryPlanFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`name(impl Into<String>)`](crate::operation::create_recovery_plan::builders::CreateRecoveryPlanFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::create_recovery_plan::builders::CreateRecoveryPlanFluentBuilder::set_name):<br>required: **true**<br>The name of a Recovery Plan.<br>
    ///   - [`description(impl Into<String>)`](crate::operation::create_recovery_plan::builders::CreateRecoveryPlanFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::create_recovery_plan::builders::CreateRecoveryPlanFluentBuilder::set_description):<br>required: **false**<br>The description of a Recovery Plan.<br>
    ///   - [`client_token(impl Into<String>)`](crate::operation::create_recovery_plan::builders::CreateRecoveryPlanFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::create_recovery_plan::builders::CreateRecoveryPlanFluentBuilder::set_client_token):<br>required: **false**<br><p>A unique string provided to ensure request idempotency.</p><br>
    ///   - [`tags(impl Into<String>, impl Into<String>)`](crate::operation::create_recovery_plan::builders::CreateRecoveryPlanFluentBuilder::tags) / [`set_tags(Option<HashMap::<String, String>>)`](crate::operation::create_recovery_plan::builders::CreateRecoveryPlanFluentBuilder::set_tags):<br>required: **false**<br><p>The tags to apply to the Recovery Plan.</p><br>
    /// - On success, responds with [`CreateRecoveryPlanOutput`](crate::operation::create_recovery_plan::CreateRecoveryPlanOutput) with field(s):
    ///   - [`recovery_plan(Option<RecoveryPlan>)`](crate::operation::create_recovery_plan::CreateRecoveryPlanOutput::recovery_plan): A Recovery Plan resource.
    /// - On failure, responds with [`SdkError<CreateRecoveryPlanError>`](crate::operation::create_recovery_plan::CreateRecoveryPlanError)
    pub fn create_recovery_plan(&self) -> crate::operation::create_recovery_plan::builders::CreateRecoveryPlanFluentBuilder {
        crate::operation::create_recovery_plan::builders::CreateRecoveryPlanFluentBuilder::new(self.handle.clone())
    }
}