aws_sdk_networkmanager/client/
get_connect_peer_associations.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 [`GetConnectPeerAssociations`](crate::operation::get_connect_peer_associations::builders::GetConnectPeerAssociationsFluentBuilder) operation.
4    /// This operation supports pagination; See [`into_paginator()`](crate::operation::get_connect_peer_associations::builders::GetConnectPeerAssociationsFluentBuilder::into_paginator).
5    ///
6    /// - The fluent builder is configurable:
7    ///   - [`global_network_id(impl Into<String>)`](crate::operation::get_connect_peer_associations::builders::GetConnectPeerAssociationsFluentBuilder::global_network_id) / [`set_global_network_id(Option<String>)`](crate::operation::get_connect_peer_associations::builders::GetConnectPeerAssociationsFluentBuilder::set_global_network_id):<br>required: **true**<br><p>The ID of the global network.</p><br>
8    ///   - [`connect_peer_ids(impl Into<String>)`](crate::operation::get_connect_peer_associations::builders::GetConnectPeerAssociationsFluentBuilder::connect_peer_ids) / [`set_connect_peer_ids(Option<Vec::<String>>)`](crate::operation::get_connect_peer_associations::builders::GetConnectPeerAssociationsFluentBuilder::set_connect_peer_ids):<br>required: **false**<br><p>The IDs of the Connect peers.</p><br>
9    ///   - [`max_results(i32)`](crate::operation::get_connect_peer_associations::builders::GetConnectPeerAssociationsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::get_connect_peer_associations::builders::GetConnectPeerAssociationsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to return.</p><br>
10    ///   - [`next_token(impl Into<String>)`](crate::operation::get_connect_peer_associations::builders::GetConnectPeerAssociationsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::get_connect_peer_associations::builders::GetConnectPeerAssociationsFluentBuilder::set_next_token):<br>required: **false**<br><p>The token for the next page of results.</p><br>
11    /// - On success, responds with [`GetConnectPeerAssociationsOutput`](crate::operation::get_connect_peer_associations::GetConnectPeerAssociationsOutput) with field(s):
12    ///   - [`connect_peer_associations(Option<Vec::<ConnectPeerAssociation>>)`](crate::operation::get_connect_peer_associations::GetConnectPeerAssociationsOutput::connect_peer_associations): <p>Displays a list of Connect peer associations.</p>
13    ///   - [`next_token(Option<String>)`](crate::operation::get_connect_peer_associations::GetConnectPeerAssociationsOutput::next_token): <p>The token for the next page of results.</p>
14    /// - On failure, responds with [`SdkError<GetConnectPeerAssociationsError>`](crate::operation::get_connect_peer_associations::GetConnectPeerAssociationsError)
15    pub fn get_connect_peer_associations(
16        &self,
17    ) -> crate::operation::get_connect_peer_associations::builders::GetConnectPeerAssociationsFluentBuilder {
18        crate::operation::get_connect_peer_associations::builders::GetConnectPeerAssociationsFluentBuilder::new(self.handle.clone())
19    }
20}