aws_sdk_networkmanager/client/
describe_global_networks.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`DescribeGlobalNetworks`](crate::operation::describe_global_networks::builders::DescribeGlobalNetworksFluentBuilder) operation.
4    /// This operation supports pagination; See [`into_paginator()`](crate::operation::describe_global_networks::builders::DescribeGlobalNetworksFluentBuilder::into_paginator).
5    ///
6    /// - The fluent builder is configurable:
7    ///   - [`global_network_ids(impl Into<String>)`](crate::operation::describe_global_networks::builders::DescribeGlobalNetworksFluentBuilder::global_network_ids) / [`set_global_network_ids(Option<Vec::<String>>)`](crate::operation::describe_global_networks::builders::DescribeGlobalNetworksFluentBuilder::set_global_network_ids):<br>required: **false**<br><p>The IDs of one or more global networks. The maximum is 10.</p><br>
8    ///   - [`max_results(i32)`](crate::operation::describe_global_networks::builders::DescribeGlobalNetworksFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::describe_global_networks::builders::DescribeGlobalNetworksFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to return.</p><br>
9    ///   - [`next_token(impl Into<String>)`](crate::operation::describe_global_networks::builders::DescribeGlobalNetworksFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::describe_global_networks::builders::DescribeGlobalNetworksFluentBuilder::set_next_token):<br>required: **false**<br><p>The token for the next page of results.</p><br>
10    /// - On success, responds with [`DescribeGlobalNetworksOutput`](crate::operation::describe_global_networks::DescribeGlobalNetworksOutput) with field(s):
11    ///   - [`global_networks(Option<Vec::<GlobalNetwork>>)`](crate::operation::describe_global_networks::DescribeGlobalNetworksOutput::global_networks): <p>Information about the global networks.</p>
12    ///   - [`next_token(Option<String>)`](crate::operation::describe_global_networks::DescribeGlobalNetworksOutput::next_token): <p>The token for the next page of results.</p>
13    /// - On failure, responds with [`SdkError<DescribeGlobalNetworksError>`](crate::operation::describe_global_networks::DescribeGlobalNetworksError)
14    pub fn describe_global_networks(&self) -> crate::operation::describe_global_networks::builders::DescribeGlobalNetworksFluentBuilder {
15        crate::operation::describe_global_networks::builders::DescribeGlobalNetworksFluentBuilder::new(self.handle.clone())
16    }
17}