| 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 |
Network.AWS.AutoScalingPlans.DescribeScalingPlanResources
Description
Describes the scalable resources in the specified scaling plan.
Synopsis
- describeScalingPlanResources :: Text -> Integer -> DescribeScalingPlanResources
- data DescribeScalingPlanResources
- dsprNextToken :: Lens' DescribeScalingPlanResources (Maybe Text)
- dsprMaxResults :: Lens' DescribeScalingPlanResources (Maybe Int)
- dsprScalingPlanName :: Lens' DescribeScalingPlanResources Text
- dsprScalingPlanVersion :: Lens' DescribeScalingPlanResources Integer
- describeScalingPlanResourcesResponse :: Int -> DescribeScalingPlanResourcesResponse
- data DescribeScalingPlanResourcesResponse
- dsprrsNextToken :: Lens' DescribeScalingPlanResourcesResponse (Maybe Text)
- dsprrsScalingPlanResources :: Lens' DescribeScalingPlanResourcesResponse [ScalingPlanResource]
- dsprrsResponseStatus :: Lens' DescribeScalingPlanResourcesResponse Int
Creating a Request
describeScalingPlanResources Source #
Creates a value of DescribeScalingPlanResources with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dsprNextToken- The token for the next set of results.dsprMaxResults- The maximum number of scalable resources to return. This value can be between 1 and 50. The default value is 50.dsprScalingPlanName- The name of the scaling plan.dsprScalingPlanVersion- The version of the scaling plan.
data DescribeScalingPlanResources Source #
See: describeScalingPlanResources smart constructor.
Instances
Request Lenses
dsprNextToken :: Lens' DescribeScalingPlanResources (Maybe Text) Source #
The token for the next set of results.
dsprMaxResults :: Lens' DescribeScalingPlanResources (Maybe Int) Source #
The maximum number of scalable resources to return. This value can be between 1 and 50. The default value is 50.
dsprScalingPlanName :: Lens' DescribeScalingPlanResources Text Source #
The name of the scaling plan.
dsprScalingPlanVersion :: Lens' DescribeScalingPlanResources Integer Source #
The version of the scaling plan.
Destructuring the Response
describeScalingPlanResourcesResponse Source #
Arguments
| :: Int | |
| -> DescribeScalingPlanResourcesResponse |
Creates a value of DescribeScalingPlanResourcesResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dsprrsNextToken- The token required to get the next set of results. This value isnullif there are no more results to return.dsprrsScalingPlanResources- Information about the scalable resources.dsprrsResponseStatus- -- | The response status code.
data DescribeScalingPlanResourcesResponse Source #
See: describeScalingPlanResourcesResponse smart constructor.
Instances
Response Lenses
dsprrsNextToken :: 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.
dsprrsScalingPlanResources :: Lens' DescribeScalingPlanResourcesResponse [ScalingPlanResource] Source #
Information about the scalable resources.
dsprrsResponseStatus :: Lens' DescribeScalingPlanResourcesResponse Int Source #
- - | The response status code.