aws_sdk_codeconnections/client/get_host.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 [`GetHost`](crate::operation::get_host::builders::GetHostFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`host_arn(impl Into<String>)`](crate::operation::get_host::builders::GetHostFluentBuilder::host_arn) / [`set_host_arn(Option<String>)`](crate::operation::get_host::builders::GetHostFluentBuilder::set_host_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the requested host.</p><br>
7 /// - On success, responds with [`GetHostOutput`](crate::operation::get_host::GetHostOutput) with field(s):
8 /// - [`name(Option<String>)`](crate::operation::get_host::GetHostOutput::name): <p>The name of the requested host.</p>
9 /// - [`status(Option<String>)`](crate::operation::get_host::GetHostOutput::status): <p>The status of the requested host.</p>
10 /// - [`provider_type(Option<ProviderType>)`](crate::operation::get_host::GetHostOutput::provider_type): <p>The provider type of the requested host, such as GitHub Enterprise Server.</p>
11 /// - [`provider_endpoint(Option<String>)`](crate::operation::get_host::GetHostOutput::provider_endpoint): <p>The endpoint of the infrastructure represented by the requested host.</p>
12 /// - [`vpc_configuration(Option<VpcConfiguration>)`](crate::operation::get_host::GetHostOutput::vpc_configuration): <p>The VPC configuration of the requested host.</p>
13 /// - On failure, responds with [`SdkError<GetHostError>`](crate::operation::get_host::GetHostError)
14 pub fn get_host(&self) -> crate::operation::get_host::builders::GetHostFluentBuilder {
15 crate::operation::get_host::builders::GetHostFluentBuilder::new(self.handle.clone())
16 }
17}