Copyright | (c) 2013-2021 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 |
Describes the scalable resources in the specified scaling plan.
This operation returns paginated results.
Synopsis
- data DescribeScalingPlanResources = DescribeScalingPlanResources' {}
- newDescribeScalingPlanResources :: Text -> Integer -> DescribeScalingPlanResources
- describeScalingPlanResources_nextToken :: Lens' DescribeScalingPlanResources (Maybe Text)
- describeScalingPlanResources_maxResults :: Lens' DescribeScalingPlanResources (Maybe Int)
- 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.
DescribeScalingPlanResources' | |
|
Instances
newDescribeScalingPlanResources Source #
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:nextToken:DescribeScalingPlanResources'
, describeScalingPlanResources_nextToken
- The token for the next set of results.
$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.
$sel:scalingPlanName:DescribeScalingPlanResources'
, describeScalingPlanResources_scalingPlanName
- The name of the scaling plan.
$sel:scalingPlanVersion:DescribeScalingPlanResources'
, describeScalingPlanResources_scalingPlanVersion
- The version number of the scaling plan. Currently, the only valid value
is 1
.
Request Lenses
describeScalingPlanResources_nextToken :: Lens' DescribeScalingPlanResources (Maybe Text) Source #
The token for the next set of results.
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_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.
DescribeScalingPlanResourcesResponse' | |
|
Instances
newDescribeScalingPlanResourcesResponse Source #
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:
$sel:nextToken: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.