aws_sdk_backupgateway/client/
get_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 [`GetHypervisor`](crate::operation::get_hypervisor::builders::GetHypervisorFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`hypervisor_arn(impl Into<String>)`](crate::operation::get_hypervisor::builders::GetHypervisorFluentBuilder::hypervisor_arn) / [`set_hypervisor_arn(Option<String>)`](crate::operation::get_hypervisor::builders::GetHypervisorFluentBuilder::set_hypervisor_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the hypervisor.</p><br>
7    /// - On success, responds with [`GetHypervisorOutput`](crate::operation::get_hypervisor::GetHypervisorOutput) with field(s):
8    ///   - [`hypervisor(Option<HypervisorDetails>)`](crate::operation::get_hypervisor::GetHypervisorOutput::hypervisor): <p>Details about the requested hypervisor.</p>
9    /// - On failure, responds with [`SdkError<GetHypervisorError>`](crate::operation::get_hypervisor::GetHypervisorError)
10    pub fn get_hypervisor(&self) -> crate::operation::get_hypervisor::builders::GetHypervisorFluentBuilder {
11        crate::operation::get_hypervisor::builders::GetHypervisorFluentBuilder::new(self.handle.clone())
12    }
13}