aws_sdk_odb/client/list_odb_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 [`ListOdbNetworks`](crate::operation::list_odb_networks::builders::ListOdbNetworksFluentBuilder) operation.
4 /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_odb_networks::builders::ListOdbNetworksFluentBuilder::into_paginator).
5 ///
6 /// - The fluent builder is configurable:
7 /// - [`max_results(i32)`](crate::operation::list_odb_networks::builders::ListOdbNetworksFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_odb_networks::builders::ListOdbNetworksFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output.</p> <p>Default: <code>10</code></p><br>
8 /// - [`next_token(impl Into<String>)`](crate::operation::list_odb_networks::builders::ListOdbNetworksFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_odb_networks::builders::ListOdbNetworksFluentBuilder::set_next_token):<br>required: **false**<br><p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p><br>
9 /// - On success, responds with [`ListOdbNetworksOutput`](crate::operation::list_odb_networks::ListOdbNetworksOutput) with field(s):
10 /// - [`next_token(Option<String>)`](crate::operation::list_odb_networks::ListOdbNetworksOutput::next_token): <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there are no more items to return.</p>
11 /// - [`odb_networks(Vec::<OdbNetworkSummary>)`](crate::operation::list_odb_networks::ListOdbNetworksOutput::odb_networks): <p>The list of ODB networks.</p>
12 /// - On failure, responds with [`SdkError<ListOdbNetworksError>`](crate::operation::list_odb_networks::ListOdbNetworksError)
13 pub fn list_odb_networks(&self) -> crate::operation::list_odb_networks::builders::ListOdbNetworksFluentBuilder {
14 crate::operation::list_odb_networks::builders::ListOdbNetworksFluentBuilder::new(self.handle.clone())
15 }
16}