// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`ListVpcEndpointAssociations`](crate::operation::list_vpc_endpoint_associations::builders::ListVpcEndpointAssociationsFluentBuilder) operation.
/// This operation supports pagination; See [`into_paginator()`](crate::operation::list_vpc_endpoint_associations::builders::ListVpcEndpointAssociationsFluentBuilder::into_paginator).
///
/// - The fluent builder is configurable:
/// - [`next_token(impl Into<String>)`](crate::operation::list_vpc_endpoint_associations::builders::ListVpcEndpointAssociationsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_vpc_endpoint_associations::builders::ListVpcEndpointAssociationsFluentBuilder::set_next_token):<br>required: **false**<br><p>When you request a list of objects with a <code>MaxResults</code> setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Network Firewall returns a <code>NextToken</code> value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.</p><br>
/// - [`max_results(i32)`](crate::operation::list_vpc_endpoint_associations::builders::ListVpcEndpointAssociationsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_vpc_endpoint_associations::builders::ListVpcEndpointAssociationsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of objects that you want Network Firewall to return for this request. If more objects are available, in the response, Network Firewall provides a <code>NextToken</code> value that you can use in a subsequent call to get the next batch of objects.</p><br>
/// - [`firewall_arn(impl Into<String>)`](crate::operation::list_vpc_endpoint_associations::builders::ListVpcEndpointAssociationsFluentBuilder::firewall_arn) / [`set_firewall_arn(Option<String>)`](crate::operation::list_vpc_endpoint_associations::builders::ListVpcEndpointAssociationsFluentBuilder::set_firewall_arn):<br>required: **false**<br><p>The Amazon Resource Name (ARN) of the firewall.</p> <p>If you don't specify this, Network Firewall retrieves all VPC endpoint associations that you have defined.</p><br>
/// - On success, responds with [`ListVpcEndpointAssociationsOutput`](crate::operation::list_vpc_endpoint_associations::ListVpcEndpointAssociationsOutput) with field(s):
/// - [`next_token(Option<String>)`](crate::operation::list_vpc_endpoint_associations::ListVpcEndpointAssociationsOutput::next_token): <p>When you request a list of objects with a <code>MaxResults</code> setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Network Firewall returns a <code>NextToken</code> value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.</p>
/// - [`vpc_endpoint_associations(Option<Vec::<VpcEndpointAssociationMetadata>>)`](crate::operation::list_vpc_endpoint_associations::ListVpcEndpointAssociationsOutput::vpc_endpoint_associations): <p>The VPC endpoint assocation metadata objects for the firewall that you specified. If you didn't specify a firewall, this is all VPC endpoint associations that you have defined.</p> <p>Depending on your setting for max results and the number of firewalls you have, a single call might not be the full list.</p>
/// - On failure, responds with [`SdkError<ListVpcEndpointAssociationsError>`](crate::operation::list_vpc_endpoint_associations::ListVpcEndpointAssociationsError)
pub fn list_vpc_endpoint_associations(
&self,
) -> crate::operation::list_vpc_endpoint_associations::builders::ListVpcEndpointAssociationsFluentBuilder {
crate::operation::list_vpc_endpoint_associations::builders::ListVpcEndpointAssociationsFluentBuilder::new(self.handle.clone())
}
}