| 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.GetLoadBalancer
Description
Returns information about the specified Lightsail load balancer.
Synopsis
- data GetLoadBalancer = GetLoadBalancer' {}
- newGetLoadBalancer :: Text -> GetLoadBalancer
- getLoadBalancer_loadBalancerName :: Lens' GetLoadBalancer Text
- data GetLoadBalancerResponse = GetLoadBalancerResponse' {}
- newGetLoadBalancerResponse :: Int -> GetLoadBalancerResponse
- getLoadBalancerResponse_loadBalancer :: Lens' GetLoadBalancerResponse (Maybe LoadBalancer)
- getLoadBalancerResponse_httpStatus :: Lens' GetLoadBalancerResponse Int
Creating a Request
data GetLoadBalancer Source #
See: newGetLoadBalancer smart constructor.
Constructors
| GetLoadBalancer' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> GetLoadBalancer |
Create a value of GetLoadBalancer 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:
GetLoadBalancer, getLoadBalancer_loadBalancerName - The name of the load balancer.
Request Lenses
getLoadBalancer_loadBalancerName :: Lens' GetLoadBalancer Text Source #
The name of the load balancer.
Destructuring the Response
data GetLoadBalancerResponse Source #
See: newGetLoadBalancerResponse smart constructor.
Constructors
| GetLoadBalancerResponse' | |
Fields
| |
Instances
newGetLoadBalancerResponse Source #
Create a value of GetLoadBalancerResponse 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:loadBalancer:GetLoadBalancerResponse', getLoadBalancerResponse_loadBalancer - An object containing information about your load balancer.
$sel:httpStatus:GetLoadBalancerResponse', getLoadBalancerResponse_httpStatus - The response's http status code.
Response Lenses
getLoadBalancerResponse_loadBalancer :: Lens' GetLoadBalancerResponse (Maybe LoadBalancer) Source #
An object containing information about your load balancer.
getLoadBalancerResponse_httpStatus :: Lens' GetLoadBalancerResponse Int Source #
The response's http status code.