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 |
Describes the specified load balancers or all of your load balancers.
This operation returns paginated results.
Synopsis
- data DescribeLoadBalancers = DescribeLoadBalancers' {}
- newDescribeLoadBalancers :: DescribeLoadBalancers
- describeLoadBalancers_names :: Lens' DescribeLoadBalancers (Maybe [Text])
- describeLoadBalancers_loadBalancerArns :: Lens' DescribeLoadBalancers (Maybe [Text])
- describeLoadBalancers_marker :: Lens' DescribeLoadBalancers (Maybe Text)
- describeLoadBalancers_pageSize :: Lens' DescribeLoadBalancers (Maybe Natural)
- data DescribeLoadBalancersResponse = DescribeLoadBalancersResponse' {
- loadBalancers :: Maybe [LoadBalancer]
- nextMarker :: Maybe Text
- httpStatus :: Int
- newDescribeLoadBalancersResponse :: Int -> DescribeLoadBalancersResponse
- describeLoadBalancersResponse_loadBalancers :: Lens' DescribeLoadBalancersResponse (Maybe [LoadBalancer])
- describeLoadBalancersResponse_nextMarker :: Lens' DescribeLoadBalancersResponse (Maybe Text)
- describeLoadBalancersResponse_httpStatus :: Lens' DescribeLoadBalancersResponse Int
Creating a Request
data DescribeLoadBalancers Source #
See: newDescribeLoadBalancers
smart constructor.
DescribeLoadBalancers' | |
|
Instances
newDescribeLoadBalancers :: DescribeLoadBalancers Source #
Create a value of DescribeLoadBalancers
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:names:DescribeLoadBalancers'
, describeLoadBalancers_names
- The names of the load balancers.
$sel:loadBalancerArns:DescribeLoadBalancers'
, describeLoadBalancers_loadBalancerArns
- The Amazon Resource Names (ARN) of the load balancers. You can specify
up to 20 load balancers in a single call.
$sel:marker:DescribeLoadBalancers'
, describeLoadBalancers_marker
- The marker for the next set of results. (You received this marker from a
previous call.)
$sel:pageSize:DescribeLoadBalancers'
, describeLoadBalancers_pageSize
- The maximum number of results to return with this call.
Request Lenses
describeLoadBalancers_names :: Lens' DescribeLoadBalancers (Maybe [Text]) Source #
The names of the load balancers.
describeLoadBalancers_loadBalancerArns :: Lens' DescribeLoadBalancers (Maybe [Text]) Source #
The Amazon Resource Names (ARN) of the load balancers. You can specify up to 20 load balancers in a single call.
describeLoadBalancers_marker :: Lens' DescribeLoadBalancers (Maybe Text) Source #
The marker for the next set of results. (You received this marker from a previous call.)
describeLoadBalancers_pageSize :: Lens' DescribeLoadBalancers (Maybe Natural) Source #
The maximum number of results to return with this call.
Destructuring the Response
data DescribeLoadBalancersResponse Source #
See: newDescribeLoadBalancersResponse
smart constructor.
DescribeLoadBalancersResponse' | |
|
Instances
newDescribeLoadBalancersResponse Source #
Create a value of DescribeLoadBalancersResponse
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:loadBalancers:DescribeLoadBalancersResponse'
, describeLoadBalancersResponse_loadBalancers
- Information about the load balancers.
$sel:nextMarker:DescribeLoadBalancersResponse'
, describeLoadBalancersResponse_nextMarker
- If there are additional results, this is the marker for the next set of
results. Otherwise, this is null.
$sel:httpStatus:DescribeLoadBalancersResponse'
, describeLoadBalancersResponse_httpStatus
- The response's http status code.
Response Lenses
describeLoadBalancersResponse_loadBalancers :: Lens' DescribeLoadBalancersResponse (Maybe [LoadBalancer]) Source #
Information about the load balancers.
describeLoadBalancersResponse_nextMarker :: Lens' DescribeLoadBalancersResponse (Maybe Text) Source #
If there are additional results, this is the marker for the next set of results. Otherwise, this is null.
describeLoadBalancersResponse_httpStatus :: Lens' DescribeLoadBalancersResponse Int Source #
The response's http status code.