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 all load balancers in an account.
This operation returns paginated results.
Synopsis
- data GetLoadBalancers = GetLoadBalancers' {}
- newGetLoadBalancers :: GetLoadBalancers
- getLoadBalancers_pageToken :: Lens' GetLoadBalancers (Maybe Text)
- data GetLoadBalancersResponse = GetLoadBalancersResponse' {}
- newGetLoadBalancersResponse :: Int -> GetLoadBalancersResponse
- getLoadBalancersResponse_nextPageToken :: Lens' GetLoadBalancersResponse (Maybe Text)
- getLoadBalancersResponse_loadBalancers :: Lens' GetLoadBalancersResponse (Maybe [LoadBalancer])
- getLoadBalancersResponse_httpStatus :: Lens' GetLoadBalancersResponse Int
Creating a Request
data GetLoadBalancers Source #
See: newGetLoadBalancers
smart constructor.
Instances
newGetLoadBalancers :: GetLoadBalancers Source #
Create a value of GetLoadBalancers
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:pageToken:GetLoadBalancers'
, getLoadBalancers_pageToken
- The token to advance to the next page of results from your request.
To get a page token, perform an initial GetLoadBalancers
request. If
your results are paginated, the response will return a next page token
that you can specify as the page token in a subsequent request.
Request Lenses
getLoadBalancers_pageToken :: Lens' GetLoadBalancers (Maybe Text) Source #
The token to advance to the next page of results from your request.
To get a page token, perform an initial GetLoadBalancers
request. If
your results are paginated, the response will return a next page token
that you can specify as the page token in a subsequent request.
Destructuring the Response
data GetLoadBalancersResponse Source #
See: newGetLoadBalancersResponse
smart constructor.
GetLoadBalancersResponse' | |
|
Instances
newGetLoadBalancersResponse Source #
Create a value of GetLoadBalancersResponse
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:nextPageToken:GetLoadBalancersResponse'
, getLoadBalancersResponse_nextPageToken
- The token to advance to the next page of results from your request.
A next page token is not returned if there are no more results to display.
To get the next page of results, perform another GetLoadBalancers
request and specify the next page token using the pageToken
parameter.
$sel:loadBalancers:GetLoadBalancersResponse'
, getLoadBalancersResponse_loadBalancers
- An array of LoadBalancer objects describing your load balancers.
$sel:httpStatus:GetLoadBalancersResponse'
, getLoadBalancersResponse_httpStatus
- The response's http status code.
Response Lenses
getLoadBalancersResponse_nextPageToken :: Lens' GetLoadBalancersResponse (Maybe Text) Source #
The token to advance to the next page of results from your request.
A next page token is not returned if there are no more results to display.
To get the next page of results, perform another GetLoadBalancers
request and specify the next page token using the pageToken
parameter.
getLoadBalancersResponse_loadBalancers :: Lens' GetLoadBalancersResponse (Maybe [LoadBalancer]) Source #
An array of LoadBalancer objects describing your load balancers.
getLoadBalancersResponse_httpStatus :: Lens' GetLoadBalancersResponse Int Source #
The response's http status code.