Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Returns information about the specified Lightsail load balancer.
Synopsis
- getLoadBalancer :: Text -> GetLoadBalancer
- data GetLoadBalancer
- glbLoadBalancerName :: Lens' GetLoadBalancer Text
- getLoadBalancerResponse :: Int -> GetLoadBalancerResponse
- data GetLoadBalancerResponse
- glbrsLoadBalancer :: Lens' GetLoadBalancerResponse (Maybe LoadBalancer)
- glbrsResponseStatus :: Lens' GetLoadBalancerResponse Int
Creating a Request
Creates a value of GetLoadBalancer
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
glbLoadBalancerName
- The name of the load balancer.
data GetLoadBalancer Source #
See: getLoadBalancer
smart constructor.
Instances
Request Lenses
glbLoadBalancerName :: Lens' GetLoadBalancer Text Source #
The name of the load balancer.
Destructuring the Response
getLoadBalancerResponse Source #
Creates a value of GetLoadBalancerResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
glbrsLoadBalancer
- An object containing information about your load balancer.glbrsResponseStatus
- -- | The response status code.
data GetLoadBalancerResponse Source #
See: getLoadBalancerResponse
smart constructor.
Instances
Response Lenses
glbrsLoadBalancer :: Lens' GetLoadBalancerResponse (Maybe LoadBalancer) Source #
An object containing information about your load balancer.
glbrsResponseStatus :: Lens' GetLoadBalancerResponse Int Source #
- - | The response status code.