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 [`StartGateway`](crate::operation::start_gateway::builders::StartGatewayFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`gateway_arn(impl Into<String>)`](crate::operation::start_gateway::builders::StartGatewayFluentBuilder::gateway_arn) / [`set_gateway_arn(Option<String>)`](crate::operation::start_gateway::builders::StartGatewayFluentBuilder::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 [`StartGatewayOutput`](crate::operation::start_gateway::StartGatewayOutput) with field(s):
    ///   - [`gateway_arn(Option<String>)`](crate::operation::start_gateway::StartGatewayOutput::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<StartGatewayError>`](crate::operation::start_gateway::StartGatewayError)
    pub fn start_gateway(&self) -> crate::operation::start_gateway::builders::StartGatewayFluentBuilder {
        crate::operation::start_gateway::builders::StartGatewayFluentBuilder::new(self.handle.clone())
    }
}