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 all load balancers in an account.
If you are describing a long list of load balancers, you can paginate the output to make the list more manageable. You can use the pageToken and nextPageToken values to retrieve the next items in the list.
Synopsis
- getLoadBalancers :: GetLoadBalancers
- data GetLoadBalancers
- glbPageToken :: Lens' GetLoadBalancers (Maybe Text)
- getLoadBalancersResponse :: Int -> GetLoadBalancersResponse
- data GetLoadBalancersResponse
- glbsrsNextPageToken :: Lens' GetLoadBalancersResponse (Maybe Text)
- glbsrsLoadBalancers :: Lens' GetLoadBalancersResponse [LoadBalancer]
- glbsrsResponseStatus :: Lens' GetLoadBalancersResponse Int
Creating a Request
getLoadBalancers :: GetLoadBalancers Source #
Creates a value of GetLoadBalancers
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
glbPageToken
- A token used for paginating the results from your GetLoadBalancers request.
data GetLoadBalancers Source #
See: getLoadBalancers
smart constructor.
Instances
Request Lenses
glbPageToken :: Lens' GetLoadBalancers (Maybe Text) Source #
A token used for paginating the results from your GetLoadBalancers request.
Destructuring the Response
getLoadBalancersResponse Source #
Creates a value of GetLoadBalancersResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
glbsrsNextPageToken
- A token used for advancing to the next page of results from your GetLoadBalancers request.glbsrsLoadBalancers
- An array of LoadBalancer objects describing your load balancers.glbsrsResponseStatus
- -- | The response status code.
data GetLoadBalancersResponse Source #
See: getLoadBalancersResponse
smart constructor.
Instances
Response Lenses
glbsrsNextPageToken :: Lens' GetLoadBalancersResponse (Maybe Text) Source #
A token used for advancing to the next page of results from your GetLoadBalancers request.
glbsrsLoadBalancers :: Lens' GetLoadBalancersResponse [LoadBalancer] Source #
An array of LoadBalancer objects describing your load balancers.
glbsrsResponseStatus :: Lens' GetLoadBalancersResponse Int Source #
- - | The response status code.