aws_sdk_iotsitewise/client/
update_gateway.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 [`UpdateGateway`](crate::operation::update_gateway::builders::UpdateGatewayFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`gateway_id(impl Into<String>)`](crate::operation::update_gateway::builders::UpdateGatewayFluentBuilder::gateway_id) / [`set_gateway_id(Option<String>)`](crate::operation::update_gateway::builders::UpdateGatewayFluentBuilder::set_gateway_id):<br>required: **true**<br><p>The ID of the gateway to update.</p><br>
7    ///   - [`gateway_name(impl Into<String>)`](crate::operation::update_gateway::builders::UpdateGatewayFluentBuilder::gateway_name) / [`set_gateway_name(Option<String>)`](crate::operation::update_gateway::builders::UpdateGatewayFluentBuilder::set_gateway_name):<br>required: **true**<br><p>A unique name for the gateway.</p><br>
8    /// - On success, responds with [`UpdateGatewayOutput`](crate::operation::update_gateway::UpdateGatewayOutput)
9    /// - On failure, responds with [`SdkError<UpdateGatewayError>`](crate::operation::update_gateway::UpdateGatewayError)
10    pub fn update_gateway(&self) -> crate::operation::update_gateway::builders::UpdateGatewayFluentBuilder {
11        crate::operation::update_gateway::builders::UpdateGatewayFluentBuilder::new(self.handle.clone())
12    }
13}