| 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.UpdateScalingPlan
Description
Updates the scaling plan for the specified scaling plan.
You cannot update a scaling plan if it is in the process of being created, updated, or deleted.
Synopsis
- updateScalingPlan :: Text -> Integer -> UpdateScalingPlan
- data UpdateScalingPlan
- uspScalingInstructions :: Lens' UpdateScalingPlan [ScalingInstruction]
- uspApplicationSource :: Lens' UpdateScalingPlan (Maybe ApplicationSource)
- uspScalingPlanName :: Lens' UpdateScalingPlan Text
- uspScalingPlanVersion :: Lens' UpdateScalingPlan Integer
- updateScalingPlanResponse :: Int -> UpdateScalingPlanResponse
- data UpdateScalingPlanResponse
- usprsResponseStatus :: Lens' UpdateScalingPlanResponse Int
Creating a Request
Arguments
| :: Text | |
| -> Integer | |
| -> UpdateScalingPlan |
Creates a value of UpdateScalingPlan with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
uspScalingInstructions- The scaling instructions.uspApplicationSource- A CloudFormation stack or set of tags.uspScalingPlanName- The name of the scaling plan.uspScalingPlanVersion- The version number.
data UpdateScalingPlan Source #
See: updateScalingPlan smart constructor.
Instances
Request Lenses
uspScalingInstructions :: Lens' UpdateScalingPlan [ScalingInstruction] Source #
The scaling instructions.
uspApplicationSource :: Lens' UpdateScalingPlan (Maybe ApplicationSource) Source #
A CloudFormation stack or set of tags.
uspScalingPlanName :: Lens' UpdateScalingPlan Text Source #
The name of the scaling plan.
uspScalingPlanVersion :: Lens' UpdateScalingPlan Integer Source #
The version number.
Destructuring the Response
updateScalingPlanResponse Source #
Arguments
| :: Int | |
| -> UpdateScalingPlanResponse |
Creates a value of UpdateScalingPlanResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
usprsResponseStatus- -- | The response status code.
data UpdateScalingPlanResponse Source #
See: updateScalingPlanResponse smart constructor.
Instances
Response Lenses
usprsResponseStatus :: Lens' UpdateScalingPlanResponse Int Source #
- - | The response status code.