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 |
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.
GetLoadBalancer' | |
|
Instances
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:
$sel:loadBalancerName: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.
GetLoadBalancerResponse' | |
|
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.