aws-sdk-lightsail 1.107.0

AWS SDK for Amazon Lightsail
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteLoadBalancer`](crate::operation::delete_load_balancer::builders::DeleteLoadBalancerFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`load_balancer_name(impl Into<String>)`](crate::operation::delete_load_balancer::builders::DeleteLoadBalancerFluentBuilder::load_balancer_name) / [`set_load_balancer_name(Option<String>)`](crate::operation::delete_load_balancer::builders::DeleteLoadBalancerFluentBuilder::set_load_balancer_name):<br>required: **true**<br><p>The name of the load balancer you want to delete.</p><br>
    /// - On success, responds with [`DeleteLoadBalancerOutput`](crate::operation::delete_load_balancer::DeleteLoadBalancerOutput) with field(s):
    ///   - [`operations(Option<Vec::<Operation>>)`](crate::operation::delete_load_balancer::DeleteLoadBalancerOutput::operations): <p>An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.</p>
    /// - On failure, responds with [`SdkError<DeleteLoadBalancerError>`](crate::operation::delete_load_balancer::DeleteLoadBalancerError)
    pub fn delete_load_balancer(&self) -> crate::operation::delete_load_balancer::builders::DeleteLoadBalancerFluentBuilder {
        crate::operation::delete_load_balancer::builders::DeleteLoadBalancerFluentBuilder::new(self.handle.clone())
    }
}