| 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.Types.ScalingPlan
Description
Synopsis
- data ScalingPlan = ScalingPlan' {}
- newScalingPlan :: Text -> Integer -> ApplicationSource -> ScalingPlanStatusCode -> ScalingPlan
- scalingPlan_creationTime :: Lens' ScalingPlan (Maybe UTCTime)
- scalingPlan_statusMessage :: Lens' ScalingPlan (Maybe Text)
- scalingPlan_statusStartTime :: Lens' ScalingPlan (Maybe UTCTime)
- scalingPlan_scalingPlanName :: Lens' ScalingPlan Text
- scalingPlan_scalingPlanVersion :: Lens' ScalingPlan Integer
- scalingPlan_applicationSource :: Lens' ScalingPlan ApplicationSource
- scalingPlan_scalingInstructions :: Lens' ScalingPlan [ScalingInstruction]
- scalingPlan_statusCode :: Lens' ScalingPlan ScalingPlanStatusCode
Documentation
data ScalingPlan Source #
Represents a scaling plan.
See: newScalingPlan smart constructor.
Constructors
| ScalingPlan' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Integer | |
| -> ApplicationSource | |
| -> ScalingPlanStatusCode | |
| -> ScalingPlan |
Create a value of ScalingPlan 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:creationTime:ScalingPlan', scalingPlan_creationTime - The Unix time stamp when the scaling plan was created.
$sel:statusMessage:ScalingPlan', scalingPlan_statusMessage - A simple message about the current status of the scaling plan.
$sel:statusStartTime:ScalingPlan', scalingPlan_statusStartTime - The Unix time stamp when the scaling plan entered the current status.
$sel:scalingPlanName:ScalingPlan', scalingPlan_scalingPlanName - The name of the scaling plan.
$sel:scalingPlanVersion:ScalingPlan', scalingPlan_scalingPlanVersion - The version number of the scaling plan.
$sel:applicationSource:ScalingPlan', scalingPlan_applicationSource - A CloudFormation stack or a set of tags. You can create one scaling plan
per application source.
$sel:scalingInstructions:ScalingPlan', scalingPlan_scalingInstructions - The scaling instructions.
$sel:statusCode:ScalingPlan', scalingPlan_statusCode - The status of the scaling plan.
Active- The scaling plan is active.ActiveWithProblems- The scaling plan is active, but the scaling configuration for one or more resources could not be applied.CreationInProgress- The scaling plan is being created.CreationFailed- The scaling plan could not be created.DeletionInProgress- The scaling plan is being deleted.DeletionFailed- The scaling plan could not be deleted.UpdateInProgress- The scaling plan is being updated.UpdateFailed- The scaling plan could not be updated.
scalingPlan_creationTime :: Lens' ScalingPlan (Maybe UTCTime) Source #
The Unix time stamp when the scaling plan was created.
scalingPlan_statusMessage :: Lens' ScalingPlan (Maybe Text) Source #
A simple message about the current status of the scaling plan.
scalingPlan_statusStartTime :: Lens' ScalingPlan (Maybe UTCTime) Source #
The Unix time stamp when the scaling plan entered the current status.
scalingPlan_scalingPlanName :: Lens' ScalingPlan Text Source #
The name of the scaling plan.
scalingPlan_scalingPlanVersion :: Lens' ScalingPlan Integer Source #
The version number of the scaling plan.
scalingPlan_applicationSource :: Lens' ScalingPlan ApplicationSource Source #
A CloudFormation stack or a set of tags. You can create one scaling plan per application source.
scalingPlan_scalingInstructions :: Lens' ScalingPlan [ScalingInstruction] Source #
The scaling instructions.
scalingPlan_statusCode :: Lens' ScalingPlan ScalingPlanStatusCode Source #
The status of the scaling plan.
Active- The scaling plan is active.ActiveWithProblems- The scaling plan is active, but the scaling configuration for one or more resources could not be applied.CreationInProgress- The scaling plan is being created.CreationFailed- The scaling plan could not be created.DeletionInProgress- The scaling plan is being deleted.DeletionFailed- The scaling plan could not be deleted.UpdateInProgress- The scaling plan is being updated.UpdateFailed- The scaling plan could not be updated.