aws_sdk_ec2/client/
describe_route_server_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 [`DescribeRouteServerEndpoints`](crate::operation::describe_route_server_endpoints::builders::DescribeRouteServerEndpointsFluentBuilder) operation.
4    /// This operation supports pagination; See [`into_paginator()`](crate::operation::describe_route_server_endpoints::builders::DescribeRouteServerEndpointsFluentBuilder::into_paginator).
5    ///
6    /// - The fluent builder is configurable:
7    ///   - [`route_server_endpoint_ids(impl Into<String>)`](crate::operation::describe_route_server_endpoints::builders::DescribeRouteServerEndpointsFluentBuilder::route_server_endpoint_ids) / [`set_route_server_endpoint_ids(Option<Vec::<String>>)`](crate::operation::describe_route_server_endpoints::builders::DescribeRouteServerEndpointsFluentBuilder::set_route_server_endpoint_ids):<br>required: **false**<br><p>The IDs of the route server endpoints to describe.</p><br>
8    ///   - [`next_token(impl Into<String>)`](crate::operation::describe_route_server_endpoints::builders::DescribeRouteServerEndpointsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::describe_route_server_endpoints::builders::DescribeRouteServerEndpointsFluentBuilder::set_next_token):<br>required: **false**<br><p>The token for the next page of results.</p><br>
9    ///   - [`max_results(i32)`](crate::operation::describe_route_server_endpoints::builders::DescribeRouteServerEndpointsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::describe_route_server_endpoints::builders::DescribeRouteServerEndpointsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to return with a single call.</p><br>
10    ///   - [`filters(Filter)`](crate::operation::describe_route_server_endpoints::builders::DescribeRouteServerEndpointsFluentBuilder::filters) / [`set_filters(Option<Vec::<Filter>>)`](crate::operation::describe_route_server_endpoints::builders::DescribeRouteServerEndpointsFluentBuilder::set_filters):<br>required: **false**<br><p>One or more filters to apply to the describe request.</p><br>
11    ///   - [`dry_run(bool)`](crate::operation::describe_route_server_endpoints::builders::DescribeRouteServerEndpointsFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::describe_route_server_endpoints::builders::DescribeRouteServerEndpointsFluentBuilder::set_dry_run):<br>required: **false**<br><p>A check for whether you have the required permissions for the action without actually making the request and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p><br>
12    /// - On success, responds with [`DescribeRouteServerEndpointsOutput`](crate::operation::describe_route_server_endpoints::DescribeRouteServerEndpointsOutput) with field(s):
13    ///   - [`route_server_endpoints(Option<Vec::<RouteServerEndpoint>>)`](crate::operation::describe_route_server_endpoints::DescribeRouteServerEndpointsOutput::route_server_endpoints): <p>Information about the described route server endpoints.</p>
14    ///   - [`next_token(Option<String>)`](crate::operation::describe_route_server_endpoints::DescribeRouteServerEndpointsOutput::next_token): <p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>
15    /// - On failure, responds with [`SdkError<DescribeRouteServerEndpointsError>`](crate::operation::describe_route_server_endpoints::DescribeRouteServerEndpointsError)
16    pub fn describe_route_server_endpoints(
17        &self,
18    ) -> crate::operation::describe_route_server_endpoints::builders::DescribeRouteServerEndpointsFluentBuilder {
19        crate::operation::describe_route_server_endpoints::builders::DescribeRouteServerEndpointsFluentBuilder::new(self.handle.clone())
20    }
21}