aws_sdk_opensearch/client/list_vpc_endpoints.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 [`ListVpcEndpoints`](crate::operation::list_vpc_endpoints::builders::ListVpcEndpointsFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`next_token(impl Into<String>)`](crate::operation::list_vpc_endpoints::builders::ListVpcEndpointsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_vpc_endpoints::builders::ListVpcEndpointsFluentBuilder::set_next_token):<br>required: **false**<br><p>If your initial <code>ListVpcEndpoints</code> operation returns a <code>nextToken</code>, you can include the returned <code>nextToken</code> in subsequent <code>ListVpcEndpoints</code> operations, which returns results in the next page.</p><br>
7 /// - On success, responds with [`ListVpcEndpointsOutput`](crate::operation::list_vpc_endpoints::ListVpcEndpointsOutput) with field(s):
8 /// - [`vpc_endpoint_summary_list(Vec::<VpcEndpointSummary>)`](crate::operation::list_vpc_endpoints::ListVpcEndpointsOutput::vpc_endpoint_summary_list): <p>Information about each endpoint.</p>
9 /// - [`next_token(String)`](crate::operation::list_vpc_endpoints::ListVpcEndpointsOutput::next_token): <p>When <code>nextToken</code> is returned, there are more results available. The value of <code>nextToken</code> is a unique pagination token for each page. Send the request again using the returned token to retrieve the next page.</p>
10 /// - On failure, responds with [`SdkError<ListVpcEndpointsError>`](crate::operation::list_vpc_endpoints::ListVpcEndpointsError)
11 pub fn list_vpc_endpoints(&self) -> crate::operation::list_vpc_endpoints::builders::ListVpcEndpointsFluentBuilder {
12 crate::operation::list_vpc_endpoints::builders::ListVpcEndpointsFluentBuilder::new(self.handle.clone())
13 }
14}