aws_sdk_codeconnections/client/update_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 [`UpdateHost`](crate::operation::update_host::builders::UpdateHostFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`host_arn(impl Into<String>)`](crate::operation::update_host::builders::UpdateHostFluentBuilder::host_arn) / [`set_host_arn(Option<String>)`](crate::operation::update_host::builders::UpdateHostFluentBuilder::set_host_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the host to be updated.</p><br>
7 /// - [`provider_endpoint(impl Into<String>)`](crate::operation::update_host::builders::UpdateHostFluentBuilder::provider_endpoint) / [`set_provider_endpoint(Option<String>)`](crate::operation::update_host::builders::UpdateHostFluentBuilder::set_provider_endpoint):<br>required: **false**<br><p>The URL or endpoint of the host to be updated.</p><br>
8 /// - [`vpc_configuration(VpcConfiguration)`](crate::operation::update_host::builders::UpdateHostFluentBuilder::vpc_configuration) / [`set_vpc_configuration(Option<VpcConfiguration>)`](crate::operation::update_host::builders::UpdateHostFluentBuilder::set_vpc_configuration):<br>required: **false**<br><p>The VPC configuration of the host to be updated. A VPC must be configured and the infrastructure to be represented by the host must already be connected to the VPC.</p><br>
9 /// - On success, responds with [`UpdateHostOutput`](crate::operation::update_host::UpdateHostOutput)
10 /// - On failure, responds with [`SdkError<UpdateHostError>`](crate::operation::update_host::UpdateHostError)
11 pub fn update_host(&self) -> crate::operation::update_host::builders::UpdateHostFluentBuilder {
12 crate::operation::update_host::builders::UpdateHostFluentBuilder::new(self.handle.clone())
13 }
14}