aws_sdk_drs/client/
delete_recovery_instance.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 [`DeleteRecoveryInstance`](crate::operation::delete_recovery_instance::builders::DeleteRecoveryInstanceFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`recovery_instance_id(impl Into<String>)`](crate::operation::delete_recovery_instance::builders::DeleteRecoveryInstanceFluentBuilder::recovery_instance_id) / [`set_recovery_instance_id(Option<String>)`](crate::operation::delete_recovery_instance::builders::DeleteRecoveryInstanceFluentBuilder::set_recovery_instance_id):<br>required: **true**<br><p>The ID of the Recovery Instance to be deleted.</p><br>
7    /// - On success, responds with [`DeleteRecoveryInstanceOutput`](crate::operation::delete_recovery_instance::DeleteRecoveryInstanceOutput)
8    /// - On failure, responds with [`SdkError<DeleteRecoveryInstanceError>`](crate::operation::delete_recovery_instance::DeleteRecoveryInstanceError)
9    pub fn delete_recovery_instance(&self) -> crate::operation::delete_recovery_instance::builders::DeleteRecoveryInstanceFluentBuilder {
10        crate::operation::delete_recovery_instance::builders::DeleteRecoveryInstanceFluentBuilder::new(self.handle.clone())
11    }
12}