| Copyright | (c) 2013-2016 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.AutoScaling.DescribeLoadBalancers
Description
Describes the load balancers for the specified Auto Scaling group.
Note that this operation describes only Classic load balancers. If you have Application load balancers, use DescribeLoadBalancerTargetGroups instead.
- describeLoadBalancers :: Text -> DescribeLoadBalancers
- data DescribeLoadBalancers
- dlbNextToken :: Lens' DescribeLoadBalancers (Maybe Text)
- dlbMaxRecords :: Lens' DescribeLoadBalancers (Maybe Int)
- dlbAutoScalingGroupName :: Lens' DescribeLoadBalancers Text
- describeLoadBalancersResponse :: Int -> DescribeLoadBalancersResponse
- data DescribeLoadBalancersResponse
- dlbrsLoadBalancers :: Lens' DescribeLoadBalancersResponse [LoadBalancerState]
- dlbrsNextToken :: Lens' DescribeLoadBalancersResponse (Maybe Text)
- dlbrsResponseStatus :: Lens' DescribeLoadBalancersResponse Int
Creating a Request
describeLoadBalancers Source #
Arguments
| :: Text | |
| -> DescribeLoadBalancers |
Creates a value of DescribeLoadBalancers with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dlbNextToken- The token for the next set of items to return. (You received this token from a previous call.)dlbMaxRecords- The maximum number of items to return with this call.dlbAutoScalingGroupName- The name of the group.
data DescribeLoadBalancers Source #
Contains the parameters for DescribeLoadBalancers.
See: describeLoadBalancers smart constructor.
Instances
Request Lenses
dlbNextToken :: Lens' DescribeLoadBalancers (Maybe Text) Source #
The token for the next set of items to return. (You received this token from a previous call.)
dlbMaxRecords :: Lens' DescribeLoadBalancers (Maybe Int) Source #
The maximum number of items to return with this call.
dlbAutoScalingGroupName :: Lens' DescribeLoadBalancers Text Source #
The name of the group.
Destructuring the Response
describeLoadBalancersResponse Source #
Arguments
| :: Int | |
| -> DescribeLoadBalancersResponse |
Creates a value of DescribeLoadBalancersResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dlbrsLoadBalancers- The load balancers.dlbrsNextToken- The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.dlbrsResponseStatus- -- | The response status code.
data DescribeLoadBalancersResponse Source #
Contains the output of DescribeLoadBalancers.
See: describeLoadBalancersResponse smart constructor.
Instances
Response Lenses
dlbrsLoadBalancers :: Lens' DescribeLoadBalancersResponse [LoadBalancerState] Source #
The load balancers.
dlbrsNextToken :: Lens' DescribeLoadBalancersResponse (Maybe Text) Source #
The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
dlbrsResponseStatus :: Lens' DescribeLoadBalancersResponse Int Source #
- - | The response status code.