| 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.DescribeScalingPlanResources
Description
Describes the scalable resources in the specified scaling plan.
This operation returns paginated results.
Synopsis
- data DescribeScalingPlanResources = DescribeScalingPlanResources' {}
- newDescribeScalingPlanResources :: Text -> Integer -> DescribeScalingPlanResources
- describeScalingPlanResources_maxResults :: Lens' DescribeScalingPlanResources (Maybe Int)
- describeScalingPlanResources_nextToken :: Lens' DescribeScalingPlanResources (Maybe Text)
- describeScalingPlanResources_scalingPlanName :: Lens' DescribeScalingPlanResources Text
- describeScalingPlanResources_scalingPlanVersion :: Lens' DescribeScalingPlanResources Integer
- data DescribeScalingPlanResourcesResponse = DescribeScalingPlanResourcesResponse' {}
- newDescribeScalingPlanResourcesResponse :: Int -> DescribeScalingPlanResourcesResponse
- describeScalingPlanResourcesResponse_nextToken :: Lens' DescribeScalingPlanResourcesResponse (Maybe Text)
- describeScalingPlanResourcesResponse_scalingPlanResources :: Lens' DescribeScalingPlanResourcesResponse (Maybe [ScalingPlanResource])
- describeScalingPlanResourcesResponse_httpStatus :: Lens' DescribeScalingPlanResourcesResponse Int
Creating a Request
data DescribeScalingPlanResources Source #
See: newDescribeScalingPlanResources smart constructor.
Constructors
| DescribeScalingPlanResources' | |
Fields
| |
Instances
newDescribeScalingPlanResources Source #
Arguments
| :: Text | |
| -> Integer | |
| -> DescribeScalingPlanResources |
Create a value of DescribeScalingPlanResources 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:maxResults:DescribeScalingPlanResources', describeScalingPlanResources_maxResults - The maximum number of scalable resources to return. The value must be
between 1 and 50. The default value is 50.
DescribeScalingPlanResources, describeScalingPlanResources_nextToken - The token for the next set of results.
DescribeScalingPlanResources, describeScalingPlanResources_scalingPlanName - The name of the scaling plan.
DescribeScalingPlanResources, describeScalingPlanResources_scalingPlanVersion - The version number of the scaling plan. Currently, the only valid value
is 1.
Request Lenses
describeScalingPlanResources_maxResults :: Lens' DescribeScalingPlanResources (Maybe Int) Source #
The maximum number of scalable resources to return. The value must be between 1 and 50. The default value is 50.
describeScalingPlanResources_nextToken :: Lens' DescribeScalingPlanResources (Maybe Text) Source #
The token for the next set of results.
describeScalingPlanResources_scalingPlanName :: Lens' DescribeScalingPlanResources Text Source #
The name of the scaling plan.
describeScalingPlanResources_scalingPlanVersion :: Lens' DescribeScalingPlanResources Integer Source #
The version number of the scaling plan. Currently, the only valid value
is 1.
Destructuring the Response
data DescribeScalingPlanResourcesResponse Source #
See: newDescribeScalingPlanResourcesResponse smart constructor.
Constructors
| DescribeScalingPlanResourcesResponse' | |
Fields
| |
Instances
newDescribeScalingPlanResourcesResponse Source #
Arguments
| :: Int | |
| -> DescribeScalingPlanResourcesResponse |
Create a value of DescribeScalingPlanResourcesResponse 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:
DescribeScalingPlanResources, describeScalingPlanResourcesResponse_nextToken - The token required to get the next set of results. This value is null
if there are no more results to return.
$sel:scalingPlanResources:DescribeScalingPlanResourcesResponse', describeScalingPlanResourcesResponse_scalingPlanResources - Information about the scalable resources.
$sel:httpStatus:DescribeScalingPlanResourcesResponse', describeScalingPlanResourcesResponse_httpStatus - The response's http status code.
Response Lenses
describeScalingPlanResourcesResponse_nextToken :: Lens' DescribeScalingPlanResourcesResponse (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.
describeScalingPlanResourcesResponse_scalingPlanResources :: Lens' DescribeScalingPlanResourcesResponse (Maybe [ScalingPlanResource]) Source #
Information about the scalable resources.
describeScalingPlanResourcesResponse_httpStatus :: Lens' DescribeScalingPlanResourcesResponse Int Source #
The response's http status code.