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 |
Describes the specified scaling plans or all of your scaling plans.
Synopsis
- describeScalingPlans :: DescribeScalingPlans
- data DescribeScalingPlans
- dScalingPlanVersion :: Lens' DescribeScalingPlans (Maybe Integer)
- dScalingPlanNames :: Lens' DescribeScalingPlans [Text]
- dNextToken :: Lens' DescribeScalingPlans (Maybe Text)
- dApplicationSources :: Lens' DescribeScalingPlans [ApplicationSource]
- dMaxResults :: Lens' DescribeScalingPlans (Maybe Int)
- describeScalingPlansResponse :: Int -> DescribeScalingPlansResponse
- data DescribeScalingPlansResponse
- drsScalingPlans :: Lens' DescribeScalingPlansResponse [ScalingPlan]
- drsNextToken :: Lens' DescribeScalingPlansResponse (Maybe Text)
- drsResponseStatus :: Lens' DescribeScalingPlansResponse Int
Creating a Request
describeScalingPlans :: DescribeScalingPlans Source #
Creates a value of DescribeScalingPlans
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dScalingPlanVersion
- The version of the scaling plan. If you specify a scaling plan version, you must also specify a scaling plan name.dScalingPlanNames
- The names of the scaling plans (up to 10). If you specify application sources, you cannot specify scaling plan names.dNextToken
- The token for the next set of results.dApplicationSources
- The sources for the applications (up to 10). If you specify scaling plan names, you cannot specify application sources.dMaxResults
- The maximum number of scalable resources to return. This value can be between 1 and 50. The default value is 50.
data DescribeScalingPlans Source #
See: describeScalingPlans
smart constructor.
Instances
Request Lenses
dScalingPlanVersion :: Lens' DescribeScalingPlans (Maybe Integer) Source #
The version of the scaling plan. If you specify a scaling plan version, you must also specify a scaling plan name.
dScalingPlanNames :: Lens' DescribeScalingPlans [Text] Source #
The names of the scaling plans (up to 10). If you specify application sources, you cannot specify scaling plan names.
dNextToken :: Lens' DescribeScalingPlans (Maybe Text) Source #
The token for the next set of results.
dApplicationSources :: Lens' DescribeScalingPlans [ApplicationSource] Source #
The sources for the applications (up to 10). If you specify scaling plan names, you cannot specify application sources.
dMaxResults :: Lens' DescribeScalingPlans (Maybe Int) Source #
The maximum number of scalable resources to return. This value can be between 1 and 50. The default value is 50.
Destructuring the Response
describeScalingPlansResponse Source #
Creates a value of DescribeScalingPlansResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
drsScalingPlans
- Information about the scaling plans.drsNextToken
- The token required to get the next set of results. This value isnull
if there are no more results to return.drsResponseStatus
- -- | The response status code.
data DescribeScalingPlansResponse Source #
See: describeScalingPlansResponse
smart constructor.
Instances
Response Lenses
drsScalingPlans :: Lens' DescribeScalingPlansResponse [ScalingPlan] Source #
Information about the scaling plans.
drsNextToken :: Lens' DescribeScalingPlansResponse (Maybe Text) Source #
The token required to get the next set of results. This value is null
if there are no more results to return.
drsResponseStatus :: Lens' DescribeScalingPlansResponse Int Source #
- - | The response status code.