// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`UpdateDirectConnectGateway`](crate::operation::update_direct_connect_gateway::builders::UpdateDirectConnectGatewayFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`direct_connect_gateway_id(impl Into<String>)`](crate::operation::update_direct_connect_gateway::builders::UpdateDirectConnectGatewayFluentBuilder::direct_connect_gateway_id) / [`set_direct_connect_gateway_id(Option<String>)`](crate::operation::update_direct_connect_gateway::builders::UpdateDirectConnectGatewayFluentBuilder::set_direct_connect_gateway_id):<br>required: **true**<br><p>The ID of the Direct Connect gateway to update.</p><br>
/// - [`new_direct_connect_gateway_name(impl Into<String>)`](crate::operation::update_direct_connect_gateway::builders::UpdateDirectConnectGatewayFluentBuilder::new_direct_connect_gateway_name) / [`set_new_direct_connect_gateway_name(Option<String>)`](crate::operation::update_direct_connect_gateway::builders::UpdateDirectConnectGatewayFluentBuilder::set_new_direct_connect_gateway_name):<br>required: **true**<br><p>The new name for the Direct Connect gateway.</p><br>
/// - On success, responds with [`UpdateDirectConnectGatewayOutput`](crate::operation::update_direct_connect_gateway::UpdateDirectConnectGatewayOutput) with field(s):
/// - [`direct_connect_gateway(Option<DirectConnectGateway>)`](crate::operation::update_direct_connect_gateway::UpdateDirectConnectGatewayOutput::direct_connect_gateway): <p>Information about a Direct Connect gateway, which enables you to connect virtual interfaces and virtual private gateway or transit gateways.</p>
/// - On failure, responds with [`SdkError<UpdateDirectConnectGatewayError>`](crate::operation::update_direct_connect_gateway::UpdateDirectConnectGatewayError)
pub fn update_direct_connect_gateway(
&self,
) -> crate::operation::update_direct_connect_gateway::builders::UpdateDirectConnectGatewayFluentBuilder {
crate::operation::update_direct_connect_gateway::builders::UpdateDirectConnectGatewayFluentBuilder::new(self.handle.clone())
}
}