| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Lightsail.DeleteLoadBalancer
Description
Deletes a Lightsail load balancer and all its associated SSL/TLS certificates. Once the load balancer is deleted, you will need to create a new load balancer, create a new certificate, and verify domain ownership again.
The delete load balancer operation supports tag-based access control
via resource tags applied to the resource identified by
load balancer name. For more information, see the
Amazon Lightsail Developer Guide.
Synopsis
- data DeleteLoadBalancer = DeleteLoadBalancer' {}
- newDeleteLoadBalancer :: Text -> DeleteLoadBalancer
- deleteLoadBalancer_loadBalancerName :: Lens' DeleteLoadBalancer Text
- data DeleteLoadBalancerResponse = DeleteLoadBalancerResponse' {
- operations :: Maybe [Operation]
- httpStatus :: Int
- newDeleteLoadBalancerResponse :: Int -> DeleteLoadBalancerResponse
- deleteLoadBalancerResponse_operations :: Lens' DeleteLoadBalancerResponse (Maybe [Operation])
- deleteLoadBalancerResponse_httpStatus :: Lens' DeleteLoadBalancerResponse Int
Creating a Request
data DeleteLoadBalancer Source #
See: newDeleteLoadBalancer smart constructor.
Constructors
| DeleteLoadBalancer' | |
Fields
| |
Instances
newDeleteLoadBalancer Source #
Arguments
| :: Text | |
| -> DeleteLoadBalancer |
Create a value of DeleteLoadBalancer with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
DeleteLoadBalancer, deleteLoadBalancer_loadBalancerName - The name of the load balancer you want to delete.
Request Lenses
deleteLoadBalancer_loadBalancerName :: Lens' DeleteLoadBalancer Text Source #
The name of the load balancer you want to delete.
Destructuring the Response
data DeleteLoadBalancerResponse Source #
See: newDeleteLoadBalancerResponse smart constructor.
Constructors
| DeleteLoadBalancerResponse' | |
Fields
| |
Instances
newDeleteLoadBalancerResponse Source #
Create a value of DeleteLoadBalancerResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:operations:DeleteLoadBalancerResponse', deleteLoadBalancerResponse_operations - 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.
$sel:httpStatus:DeleteLoadBalancerResponse', deleteLoadBalancerResponse_httpStatus - The response's http status code.
Response Lenses
deleteLoadBalancerResponse_operations :: Lens' DeleteLoadBalancerResponse (Maybe [Operation]) Source #
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.
deleteLoadBalancerResponse_httpStatus :: Lens' DeleteLoadBalancerResponse Int Source #
The response's http status code.