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 |
Describes the policies for the specified Auto Scaling group.
This operation returns paginated results.
- describePolicies :: DescribePolicies
- data DescribePolicies
- dpsPolicyNames :: Lens' DescribePolicies [Text]
- dpsNextToken :: Lens' DescribePolicies (Maybe Text)
- dpsAutoScalingGroupName :: Lens' DescribePolicies (Maybe Text)
- dpsMaxRecords :: Lens' DescribePolicies (Maybe Int)
- dpsPolicyTypes :: Lens' DescribePolicies [Text]
- describePoliciesResponse :: Int -> DescribePoliciesResponse
- data DescribePoliciesResponse
- dprsNextToken :: Lens' DescribePoliciesResponse (Maybe Text)
- dprsScalingPolicies :: Lens' DescribePoliciesResponse [ScalingPolicy]
- dprsResponseStatus :: Lens' DescribePoliciesResponse Int
Creating a Request
describePolicies :: DescribePolicies Source #
Creates a value of DescribePolicies
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribePolicies Source #
See: describePolicies
smart constructor.
Request Lenses
dpsPolicyNames :: 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.
dpsNextToken :: Lens' DescribePolicies (Maybe Text) Source #
The token for the next set of items to return. (You received this token from a previous call.)
dpsAutoScalingGroupName :: Lens' DescribePolicies (Maybe Text) Source #
The name of the group.
dpsMaxRecords :: Lens' DescribePolicies (Maybe Int) Source #
The maximum number of items to be returned with each call.
dpsPolicyTypes :: Lens' DescribePolicies [Text] Source #
One or more policy types. Valid values are SimpleScaling
and
StepScaling
.
Destructuring the Response
describePoliciesResponse Source #
Creates a value of DescribePoliciesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribePoliciesResponse Source #
See: describePoliciesResponse
smart constructor.
Response Lenses
dprsNextToken :: 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.
dprsScalingPolicies :: Lens' DescribePoliciesResponse [ScalingPolicy] Source #
The scaling policies.
dprsResponseStatus :: Lens' DescribePoliciesResponse Int Source #
The response status code.