Skip to main content

aws_sdk_elbproxy/client/
list_proxy_versions.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 [`ListProxyVersions`](crate::operation::list_proxy_versions::builders::ListProxyVersionsFluentBuilder) operation.
4    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_proxy_versions::builders::ListProxyVersionsFluentBuilder::into_paginator).
5    ///
6    /// - The fluent builder is configurable:
7    ///   - [`r#type(ProxyType)`](crate::operation::list_proxy_versions::builders::ListProxyVersionsFluentBuilder::type) / [`set_type(Option<ProxyType>)`](crate::operation::list_proxy_versions::builders::ListProxyVersionsFluentBuilder::set_type):<br>required: **true**<br>The type of proxy.<br>
8    ///   - [`max_results(i32)`](crate::operation::list_proxy_versions::builders::ListProxyVersionsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_proxy_versions::builders::ListProxyVersionsFluentBuilder::set_max_results):<br>required: **false**<br>The maximum number of results to return.<br>
9    ///   - [`next_token(impl Into<String>)`](crate::operation::list_proxy_versions::builders::ListProxyVersionsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_proxy_versions::builders::ListProxyVersionsFluentBuilder::set_next_token):<br>required: **false**<br>A pagination token for the next page of results.<br>
10    /// - On success, responds with [`ListProxyVersionsOutput`](crate::operation::list_proxy_versions::ListProxyVersionsOutput) with field(s):
11    ///   - [`items(Vec::<ProxyVersionSummary>)`](crate::operation::list_proxy_versions::ListProxyVersionsOutput::items): Information about the proxy versions.
12    ///   - [`next_token(Option<String>)`](crate::operation::list_proxy_versions::ListProxyVersionsOutput::next_token): If there are additional results, a pagination token for the next page of results.
13    /// - On failure, responds with [`SdkError<ListProxyVersionsError>`](crate::operation::list_proxy_versions::ListProxyVersionsError)
14    pub fn list_proxy_versions(&self) -> crate::operation::list_proxy_versions::builders::ListProxyVersionsFluentBuilder {
15        crate::operation::list_proxy_versions::builders::ListProxyVersionsFluentBuilder::new(self.handle.clone())
16    }
17}