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 |
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.
Synopsis
- 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. The default value is 100 and the maximum value is 100.dlbAutoScalingGroupName
- The name of the Auto Scaling group.
data DescribeLoadBalancers Source #
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. The default value is 100 and the maximum value is 100.
dlbAutoScalingGroupName :: Lens' DescribeLoadBalancers Text Source #
The name of the Auto Scaling 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 #
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.