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 [`DisableGateway`](crate::operation::disable_gateway::builders::DisableGatewayFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`gateway_arn(impl Into<String>)`](crate::operation::disable_gateway::builders::DisableGatewayFluentBuilder::gateway_arn) / [`set_gateway_arn(Option<String>)`](crate::operation::disable_gateway::builders::DisableGatewayFluentBuilder::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 [`DisableGatewayOutput`](crate::operation::disable_gateway::DisableGatewayOutput) with field(s):
    ///   - [`gateway_arn(Option<String>)`](crate::operation::disable_gateway::DisableGatewayOutput::gateway_arn): <p>The unique Amazon Resource Name (ARN) of the disabled gateway.</p>
    /// - On failure, responds with [`SdkError<DisableGatewayError>`](crate::operation::disable_gateway::DisableGatewayError)
    pub fn disable_gateway(&self) -> crate::operation::disable_gateway::builders::DisableGatewayFluentBuilder {
        crate::operation::disable_gateway::builders::DisableGatewayFluentBuilder::new(self.handle.clone())
    }
}