1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListGateways`](crate::operation::list_gateways::builders::ListGatewaysFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_gateways::builders::ListGatewaysFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`gateway_group_arn(impl Into<String>)`](crate::operation::list_gateways::builders::ListGatewaysFluentBuilder::gateway_group_arn) / [`set_gateway_group_arn(Option<String>)`](crate::operation::list_gateways::builders::ListGatewaysFluentBuilder::set_gateway_group_arn):<br>required: **false**<br><p>The gateway group ARN for which to list gateways.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_gateways::builders::ListGatewaysFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_gateways::builders::ListGatewaysFluentBuilder::set_next_token):<br>required: **false**<br><p>The token used to paginate though multiple pages of gateway summaries.</p><br>
    ///   - [`max_results(i32)`](crate::operation::list_gateways::builders::ListGatewaysFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_gateways::builders::ListGatewaysFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of gateway summaries to return. The default is 50.</p><br>
    /// - On success, responds with [`ListGatewaysOutput`](crate::operation::list_gateways::ListGatewaysOutput) with field(s):
    ///   - [`gateways(Option<Vec::<GatewaySummary>>)`](crate::operation::list_gateways::ListGatewaysOutput::gateways): <p>The gateways in the list.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_gateways::ListGatewaysOutput::next_token): <p>The token used to paginate though multiple pages of gateway summaries.</p>
    /// - On failure, responds with [`SdkError<ListGatewaysError>`](crate::operation::list_gateways::ListGatewaysError)
    #[deprecated(note = "Alexa For Business is no longer supported")]
    pub fn list_gateways(&self) -> crate::operation::list_gateways::builders::ListGatewaysFluentBuilder {
        crate::operation::list_gateways::builders::ListGatewaysFluentBuilder::new(self.handle.clone())
    }
}