pub struct DeleteLoadBalancer { /* private fields */ }
Expand description
Fluent builder constructing a request to DeleteLoadBalancer
.
Deletes the specified load balancer.
If you are attempting to recreate a load balancer, you must reconfigure all settings. The DNS name associated with a deleted load balancer are no longer usable. The name and associated DNS record of the deleted load balancer no longer exist and traffic sent to any of its IP addresses is no longer delivered to your instances.
If the load balancer does not exist or has already been deleted, the call to DeleteLoadBalancer
still succeeds.
Implementations§
source§impl DeleteLoadBalancer
impl DeleteLoadBalancer
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<DeleteLoadBalancer, AwsResponseRetryClassifier>, SdkError<DeleteLoadBalancerError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<DeleteLoadBalancer, AwsResponseRetryClassifier>, SdkError<DeleteLoadBalancerError>>
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<DeleteLoadBalancerOutput, SdkError<DeleteLoadBalancerError>>
pub async fn send(
self
) -> Result<DeleteLoadBalancerOutput, SdkError<DeleteLoadBalancerError>>
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.
Trait Implementations§
source§impl Clone for DeleteLoadBalancer
impl Clone for DeleteLoadBalancer
source§fn clone(&self) -> DeleteLoadBalancer
fn clone(&self) -> DeleteLoadBalancer
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more