| Safe Haskell | None | 
|---|---|
| Language | Haskell2010 | 
Network.AWS.AutoScaling.DescribePolicies
Description
Describes the policies for the specified Auto Scaling group.
You can specify a maximum number of items to be returned with a single call.
 If there are more items to return, the call returns a token. To get the next
 set of items, repeat the call with the returned token in the NextToken
 parameter.
http://docs.aws.amazon.com/AutoScaling/latest/APIReference/API_DescribePolicies.html
- data DescribePolicies
- describePolicies :: DescribePolicies
- dp1AutoScalingGroupName :: Lens' DescribePolicies (Maybe Text)
- dp1MaxRecords :: Lens' DescribePolicies (Maybe Int)
- dp1NextToken :: Lens' DescribePolicies (Maybe Text)
- dp1PolicyNames :: Lens' DescribePolicies [Text]
- data DescribePoliciesResponse
- describePoliciesResponse :: DescribePoliciesResponse
- dprNextToken :: Lens' DescribePoliciesResponse (Maybe Text)
- dprScalingPolicies :: Lens' DescribePoliciesResponse [ScalingPolicy]
Request
data DescribePolicies Source
Request constructor
describePolicies :: DescribePolicies Source
DescribePolicies constructor.
The fields accessible through corresponding lenses are:
Request lenses
dp1AutoScalingGroupName :: Lens' DescribePolicies (Maybe Text) Source
The name of the group.
dp1MaxRecords :: Lens' DescribePolicies (Maybe Int) Source
The maximum number of items to be returned with each call.
dp1NextToken :: Lens' DescribePolicies (Maybe Text) Source
The token for the next set of items to return. (You received this token from a previous call.)
dp1PolicyNames :: Lens' DescribePolicies [Text] Source
One or more policy names or policy ARNs to be described. If you omit this list, all policy names are described. If an group name is provided, the results are limited to that group. This list is limited to 50 items. If you specify an unknown policy name, it is ignored with no error.
Response
Response constructor
describePoliciesResponse :: DescribePoliciesResponse Source
DescribePoliciesResponse constructor.
The fields accessible through corresponding lenses are:
Response lenses
dprNextToken :: Lens' DescribePoliciesResponse (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.
dprScalingPolicies :: Lens' DescribePoliciesResponse [ScalingPolicy] Source
The scaling policies.