Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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.
DeleteLoadBalancer' | |
|
Instances
newDeleteLoadBalancer Source #
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:
$sel:loadBalancerName: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.
DeleteLoadBalancerResponse' | |
|
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.