aws_sdk_networkmanager/client/get_customer_gateway_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 [`GetCustomerGatewayAssociations`](crate::operation::get_customer_gateway_associations::builders::GetCustomerGatewayAssociationsFluentBuilder) operation.
4 /// This operation supports pagination; See [`into_paginator()`](crate::operation::get_customer_gateway_associations::builders::GetCustomerGatewayAssociationsFluentBuilder::into_paginator).
5 ///
6 /// - The fluent builder is configurable:
7 /// - [`global_network_id(impl Into<String>)`](crate::operation::get_customer_gateway_associations::builders::GetCustomerGatewayAssociationsFluentBuilder::global_network_id) / [`set_global_network_id(Option<String>)`](crate::operation::get_customer_gateway_associations::builders::GetCustomerGatewayAssociationsFluentBuilder::set_global_network_id):<br>required: **true**<br><p>The ID of the global network.</p><br>
8 /// - [`customer_gateway_arns(impl Into<String>)`](crate::operation::get_customer_gateway_associations::builders::GetCustomerGatewayAssociationsFluentBuilder::customer_gateway_arns) / [`set_customer_gateway_arns(Option<Vec::<String>>)`](crate::operation::get_customer_gateway_associations::builders::GetCustomerGatewayAssociationsFluentBuilder::set_customer_gateway_arns):<br>required: **false**<br><p>One or more customer gateway Amazon Resource Names (ARNs). The maximum is 10.</p><br>
9 /// - [`max_results(i32)`](crate::operation::get_customer_gateway_associations::builders::GetCustomerGatewayAssociationsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::get_customer_gateway_associations::builders::GetCustomerGatewayAssociationsFluentBuilder::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_customer_gateway_associations::builders::GetCustomerGatewayAssociationsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::get_customer_gateway_associations::builders::GetCustomerGatewayAssociationsFluentBuilder::set_next_token):<br>required: **false**<br><p>The token for the next page of results.</p><br>
11 /// - On success, responds with [`GetCustomerGatewayAssociationsOutput`](crate::operation::get_customer_gateway_associations::GetCustomerGatewayAssociationsOutput) with field(s):
12 /// - [`customer_gateway_associations(Option<Vec::<CustomerGatewayAssociation>>)`](crate::operation::get_customer_gateway_associations::GetCustomerGatewayAssociationsOutput::customer_gateway_associations): <p>The customer gateway associations.</p>
13 /// - [`next_token(Option<String>)`](crate::operation::get_customer_gateway_associations::GetCustomerGatewayAssociationsOutput::next_token): <p>The token for the next page of results.</p>
14 /// - On failure, responds with [`SdkError<GetCustomerGatewayAssociationsError>`](crate::operation::get_customer_gateway_associations::GetCustomerGatewayAssociationsError)
15 pub fn get_customer_gateway_associations(
16 &self,
17 ) -> crate::operation::get_customer_gateway_associations::builders::GetCustomerGatewayAssociationsFluentBuilder {
18 crate::operation::get_customer_gateway_associations::builders::GetCustomerGatewayAssociationsFluentBuilder::new(self.handle.clone())
19 }
20}