| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.AutoScalingPlans.DescribeScalingPlans
Description
Describes one or more of your scaling plans.
This operation returns paginated results.
Synopsis
- data DescribeScalingPlans = DescribeScalingPlans' {}
- newDescribeScalingPlans :: DescribeScalingPlans
- describeScalingPlans_applicationSources :: Lens' DescribeScalingPlans (Maybe [ApplicationSource])
- describeScalingPlans_maxResults :: Lens' DescribeScalingPlans (Maybe Int)
- describeScalingPlans_nextToken :: Lens' DescribeScalingPlans (Maybe Text)
- describeScalingPlans_scalingPlanNames :: Lens' DescribeScalingPlans (Maybe [Text])
- describeScalingPlans_scalingPlanVersion :: Lens' DescribeScalingPlans (Maybe Integer)
- data DescribeScalingPlansResponse = DescribeScalingPlansResponse' {
- nextToken :: Maybe Text
- scalingPlans :: Maybe [ScalingPlan]
- httpStatus :: Int
- newDescribeScalingPlansResponse :: Int -> DescribeScalingPlansResponse
- describeScalingPlansResponse_nextToken :: Lens' DescribeScalingPlansResponse (Maybe Text)
- describeScalingPlansResponse_scalingPlans :: Lens' DescribeScalingPlansResponse (Maybe [ScalingPlan])
- describeScalingPlansResponse_httpStatus :: Lens' DescribeScalingPlansResponse Int
Creating a Request
data DescribeScalingPlans Source #
See: newDescribeScalingPlans smart constructor.
Constructors
| DescribeScalingPlans' | |
Fields
| |
Instances
newDescribeScalingPlans :: DescribeScalingPlans Source #
Create a value of DescribeScalingPlans with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:applicationSources:DescribeScalingPlans', describeScalingPlans_applicationSources - The sources for the applications (up to 10). If you specify scaling plan
names, you cannot specify application sources.
$sel:maxResults:DescribeScalingPlans', describeScalingPlans_maxResults - The maximum number of scalable resources to return. This value can be
between 1 and 50. The default value is 50.
DescribeScalingPlans, describeScalingPlans_nextToken - The token for the next set of results.
$sel:scalingPlanNames:DescribeScalingPlans', describeScalingPlans_scalingPlanNames - The names of the scaling plans (up to 10). If you specify application
sources, you cannot specify scaling plan names.
DescribeScalingPlans, describeScalingPlans_scalingPlanVersion - The version number of the scaling plan. Currently, the only valid value
is 1.
If you specify a scaling plan version, you must also specify a scaling plan name.
Request Lenses
describeScalingPlans_applicationSources :: Lens' DescribeScalingPlans (Maybe [ApplicationSource]) Source #
The sources for the applications (up to 10). If you specify scaling plan names, you cannot specify application sources.
describeScalingPlans_maxResults :: 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.
describeScalingPlans_nextToken :: Lens' DescribeScalingPlans (Maybe Text) Source #
The token for the next set of results.
describeScalingPlans_scalingPlanNames :: Lens' DescribeScalingPlans (Maybe [Text]) Source #
The names of the scaling plans (up to 10). If you specify application sources, you cannot specify scaling plan names.
describeScalingPlans_scalingPlanVersion :: Lens' DescribeScalingPlans (Maybe Integer) Source #
The version number of the scaling plan. Currently, the only valid value
is 1.
If you specify a scaling plan version, you must also specify a scaling plan name.
Destructuring the Response
data DescribeScalingPlansResponse Source #
See: newDescribeScalingPlansResponse smart constructor.
Constructors
| DescribeScalingPlansResponse' | |
Fields
| |
Instances
newDescribeScalingPlansResponse Source #
Create a value of DescribeScalingPlansResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
DescribeScalingPlans, describeScalingPlansResponse_nextToken - The token required to get the next set of results. This value is null
if there are no more results to return.
$sel:scalingPlans:DescribeScalingPlansResponse', describeScalingPlansResponse_scalingPlans - Information about the scaling plans.
$sel:httpStatus:DescribeScalingPlansResponse', describeScalingPlansResponse_httpStatus - The response's http status code.
Response Lenses
describeScalingPlansResponse_nextToken :: 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.
describeScalingPlansResponse_scalingPlans :: Lens' DescribeScalingPlansResponse (Maybe [ScalingPlan]) Source #
Information about the scaling plans.
describeScalingPlansResponse_httpStatus :: Lens' DescribeScalingPlansResponse Int Source #
The response's http status code.