pub struct DeleteLoadBalancer { /* private fields */ }
Expand description
Fluent builder constructing a request to DeleteLoadBalancer
.
Deletes the specified Application Load Balancer, Network Load Balancer, or Gateway Load Balancer. Deleting a load balancer also deletes its listeners.
You can't delete a load balancer if deletion protection is enabled. If the load balancer does not exist or has already been deleted, the call succeeds.
Deleting a load balancer does not affect its registered targets. For example, your EC2 instances continue to run and are still registered to their target groups. If you no longer need these EC2 instances, you can stop or terminate them.
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_arn(self, input: impl Into<String>) -> Self
pub fn load_balancer_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the load balancer.
sourcepub fn set_load_balancer_arn(self, input: Option<String>) -> Self
pub fn set_load_balancer_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) 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