1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ShutdownGateway`](crate::operation::shutdown_gateway::builders::ShutdownGatewayFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`gateway_arn(impl Into<String>)`](crate::operation::shutdown_gateway::builders::ShutdownGatewayFluentBuilder::gateway_arn) / [`set_gateway_arn(Option<String>)`](crate::operation::shutdown_gateway::builders::ShutdownGatewayFluentBuilder::set_gateway_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the gateway. Use the <code>ListGateways</code> operation to return a list of gateways for your account and Amazon Web Services Region.</p><br>
    /// - On success, responds with [`ShutdownGatewayOutput`](crate::operation::shutdown_gateway::ShutdownGatewayOutput) with field(s):
    ///   - [`gateway_arn(Option<String>)`](crate::operation::shutdown_gateway::ShutdownGatewayOutput::gateway_arn): <p>The Amazon Resource Name (ARN) of the gateway. Use the <code>ListGateways</code> operation to return a list of gateways for your account and Amazon Web Services Region.</p>
    /// - On failure, responds with [`SdkError<ShutdownGatewayError>`](crate::operation::shutdown_gateway::ShutdownGatewayError)
    pub fn shutdown_gateway(&self) -> crate::operation::shutdown_gateway::builders::ShutdownGatewayFluentBuilder {
        crate::operation::shutdown_gateway::builders::ShutdownGatewayFluentBuilder::new(self.handle.clone())
    }
}