pub struct DescribeLoadBalancerPolicies { /* private fields */ }
Expand description
Fluent builder constructing a request to DescribeLoadBalancerPolicies
.
Describes the specified policies.
If you specify a load balancer name, the action returns the descriptions of all policies created for the load balancer. If you specify a policy name associated with your load balancer, the action returns the description of that policy. If you don't specify a load balancer name, the action returns descriptions of the specified sample policies, or descriptions of all sample policies. The names of the sample policies have the ELBSample-
prefix.
Implementations§
source§impl DescribeLoadBalancerPolicies
impl DescribeLoadBalancerPolicies
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<DescribeLoadBalancerPolicies, AwsResponseRetryClassifier>, SdkError<DescribeLoadBalancerPoliciesError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<DescribeLoadBalancerPolicies, AwsResponseRetryClassifier>, SdkError<DescribeLoadBalancerPoliciesError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<DescribeLoadBalancerPoliciesOutput, SdkError<DescribeLoadBalancerPoliciesError>>
pub async fn send(
self
) -> Result<DescribeLoadBalancerPoliciesOutput, SdkError<DescribeLoadBalancerPoliciesError>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn load_balancer_name(self, input: impl Into<String>) -> Self
pub fn load_balancer_name(self, input: impl Into<String>) -> Self
The name of the load balancer.
sourcepub fn set_load_balancer_name(self, input: Option<String>) -> Self
pub fn set_load_balancer_name(self, input: Option<String>) -> Self
The name of the load balancer.
sourcepub fn policy_names(self, input: impl Into<String>) -> Self
pub fn policy_names(self, input: impl Into<String>) -> Self
Appends an item to PolicyNames
.
To override the contents of this collection use set_policy_names
.
The names of the policies.
sourcepub fn set_policy_names(self, input: Option<Vec<String>>) -> Self
pub fn set_policy_names(self, input: Option<Vec<String>>) -> Self
The names of the policies.
Trait Implementations§
source§impl Clone for DescribeLoadBalancerPolicies
impl Clone for DescribeLoadBalancerPolicies
source§fn clone(&self) -> DescribeLoadBalancerPolicies
fn clone(&self) -> DescribeLoadBalancerPolicies
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more