aws_sdk_vpclattice/client/
list_resource_gateways.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListResourceGateways`](crate::operation::list_resource_gateways::builders::ListResourceGatewaysFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_resource_gateways::builders::ListResourceGatewaysFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`max_results(i32)`](crate::operation::list_resource_gateways::builders::ListResourceGatewaysFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_resource_gateways::builders::ListResourceGatewaysFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum page size.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_resource_gateways::builders::ListResourceGatewaysFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_resource_gateways::builders::ListResourceGatewaysFluentBuilder::set_next_token):<br>required: **false**<br><p>If there are additional results, a pagination token for the next page of results.</p><br>
    /// - On success, responds with [`ListResourceGatewaysOutput`](crate::operation::list_resource_gateways::ListResourceGatewaysOutput) with field(s):
    ///   - [`items(Option<Vec::<ResourceGatewaySummary>>)`](crate::operation::list_resource_gateways::ListResourceGatewaysOutput::items): <p>Information about the resource gateways.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_resource_gateways::ListResourceGatewaysOutput::next_token): <p>If there are additional results, a pagination token for the next page of results.</p>
    /// - On failure, responds with [`SdkError<ListResourceGatewaysError>`](crate::operation::list_resource_gateways::ListResourceGatewaysError)
    pub fn list_resource_gateways(&self) -> crate::operation::list_resource_gateways::builders::ListResourceGatewaysFluentBuilder {
        crate::operation::list_resource_gateways::builders::ListResourceGatewaysFluentBuilder::new(self.handle.clone())
    }
}