aws_sdk_backupgateway/client/delete_hypervisor.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 [`DeleteHypervisor`](crate::operation::delete_hypervisor::builders::DeleteHypervisorFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`hypervisor_arn(impl Into<String>)`](crate::operation::delete_hypervisor::builders::DeleteHypervisorFluentBuilder::hypervisor_arn) / [`set_hypervisor_arn(Option<String>)`](crate::operation::delete_hypervisor::builders::DeleteHypervisorFluentBuilder::set_hypervisor_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the hypervisor to delete.</p><br>
7 /// - On success, responds with [`DeleteHypervisorOutput`](crate::operation::delete_hypervisor::DeleteHypervisorOutput) with field(s):
8 /// - [`hypervisor_arn(Option<String>)`](crate::operation::delete_hypervisor::DeleteHypervisorOutput::hypervisor_arn): <p>The Amazon Resource Name (ARN) of the hypervisor you deleted.</p>
9 /// - On failure, responds with [`SdkError<DeleteHypervisorError>`](crate::operation::delete_hypervisor::DeleteHypervisorError)
10 pub fn delete_hypervisor(&self) -> crate::operation::delete_hypervisor::builders::DeleteHypervisorFluentBuilder {
11 crate::operation::delete_hypervisor::builders::DeleteHypervisorFluentBuilder::new(self.handle.clone())
12 }
13}