aws_sdk_lightsail/client/
get_load_balancer_tls_policies.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 [`GetLoadBalancerTlsPolicies`](crate::operation::get_load_balancer_tls_policies::builders::GetLoadBalancerTlsPoliciesFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`page_token(impl Into<String>)`](crate::operation::get_load_balancer_tls_policies::builders::GetLoadBalancerTlsPoliciesFluentBuilder::page_token) / [`set_page_token(Option<String>)`](crate::operation::get_load_balancer_tls_policies::builders::GetLoadBalancerTlsPoliciesFluentBuilder::set_page_token):<br>required: **false**<br><p>The token to advance to the next page of results from your request.</p> <p>To get a page token, perform an initial <code>GetLoadBalancerTlsPolicies</code> request. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.</p><br>
7    /// - On success, responds with [`GetLoadBalancerTlsPoliciesOutput`](crate::operation::get_load_balancer_tls_policies::GetLoadBalancerTlsPoliciesOutput) with field(s):
8    ///   - [`tls_policies(Option<Vec::<LoadBalancerTlsPolicy>>)`](crate::operation::get_load_balancer_tls_policies::GetLoadBalancerTlsPoliciesOutput::tls_policies): <p>An array of objects that describe the TLS security policies that are available.</p>
9    ///   - [`next_page_token(Option<String>)`](crate::operation::get_load_balancer_tls_policies::GetLoadBalancerTlsPoliciesOutput::next_page_token): <p>The token to advance to the next page of results from your request.</p> <p>A next page token is not returned if there are no more results to display.</p> <p>To get the next page of results, perform another <code>GetLoadBalancerTlsPolicies</code> request and specify the next page token using the <code>pageToken</code> parameter.</p>
10    /// - On failure, responds with [`SdkError<GetLoadBalancerTlsPoliciesError>`](crate::operation::get_load_balancer_tls_policies::GetLoadBalancerTlsPoliciesError)
11    pub fn get_load_balancer_tls_policies(
12        &self,
13    ) -> crate::operation::get_load_balancer_tls_policies::builders::GetLoadBalancerTlsPoliciesFluentBuilder {
14        crate::operation::get_load_balancer_tls_policies::builders::GetLoadBalancerTlsPoliciesFluentBuilder::new(self.handle.clone())
15    }
16}