Copyright | (c) 2013-2015 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 |
Describes one or more Auto Scaling groups. If a list of names is not provided, the call describes all Auto Scaling groups.
See: AWS API Reference for DescribeAutoScalingGroups.
This operation returns paginated results.
- describeAutoScalingGroups :: DescribeAutoScalingGroups
- data DescribeAutoScalingGroups
- dasgAutoScalingGroupNames :: Lens' DescribeAutoScalingGroups [Text]
- dasgNextToken :: Lens' DescribeAutoScalingGroups (Maybe Text)
- dasgMaxRecords :: Lens' DescribeAutoScalingGroups (Maybe Int)
- describeAutoScalingGroupsResponse :: Int -> DescribeAutoScalingGroupsResponse
- data DescribeAutoScalingGroupsResponse
- dasgrsNextToken :: Lens' DescribeAutoScalingGroupsResponse (Maybe Text)
- dasgrsStatus :: Lens' DescribeAutoScalingGroupsResponse Int
- dasgrsAutoScalingGroups :: Lens' DescribeAutoScalingGroupsResponse [AutoScalingGroup]
Creating a Request
describeAutoScalingGroups :: DescribeAutoScalingGroups Source
Creates a value of DescribeAutoScalingGroups
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeAutoScalingGroups Source
See: describeAutoScalingGroups
smart constructor.
Request Lenses
dasgAutoScalingGroupNames :: Lens' DescribeAutoScalingGroups [Text] Source
The group names.
dasgNextToken :: Lens' DescribeAutoScalingGroups (Maybe Text) Source
The token for the next set of items to return. (You received this token from a previous call.)
dasgMaxRecords :: Lens' DescribeAutoScalingGroups (Maybe Int) Source
The maximum number of items to return with this call.
Destructuring the Response
describeAutoScalingGroupsResponse Source
Creates a value of DescribeAutoScalingGroupsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeAutoScalingGroupsResponse Source
See: describeAutoScalingGroupsResponse
smart constructor.
Response Lenses
dasgrsNextToken :: Lens' DescribeAutoScalingGroupsResponse (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.
dasgrsStatus :: Lens' DescribeAutoScalingGroupsResponse Int Source
The response status code.