| 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.ApplicationAutoScaling.Types.NotScaledReason
Description
Synopsis
- data NotScaledReason = NotScaledReason' {
- currentCapacity :: Maybe Int
- maxCapacity :: Maybe Int
- minCapacity :: Maybe Int
- code :: Text
- newNotScaledReason :: Text -> NotScaledReason
- notScaledReason_currentCapacity :: Lens' NotScaledReason (Maybe Int)
- notScaledReason_maxCapacity :: Lens' NotScaledReason (Maybe Int)
- notScaledReason_minCapacity :: Lens' NotScaledReason (Maybe Int)
- notScaledReason_code :: Lens' NotScaledReason Text
Documentation
data NotScaledReason Source #
Describes the reason for an activity that isn't scaled (/not scaled activity/), in machine-readable format. For help interpreting the not scaled reason details, see Scaling activities for Application Auto Scaling.
See: newNotScaledReason smart constructor.
Constructors
| NotScaledReason' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> NotScaledReason |
Create a value of NotScaledReason 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:currentCapacity:NotScaledReason', notScaledReason_currentCapacity - The current capacity.
$sel:maxCapacity:NotScaledReason', notScaledReason_maxCapacity - The maximum capacity.
$sel:minCapacity:NotScaledReason', notScaledReason_minCapacity - The minimum capacity.
$sel:code:NotScaledReason', notScaledReason_code - A code that represents the reason for not scaling.
Valid values:
- AutoScalingAnticipatedFlapping
- TargetServicePutResourceAsUnscalable
- AlreadyAtMaxCapacity
- AlreadyAtMinCapacity
- AlreadyAtDesiredCapacity
notScaledReason_currentCapacity :: Lens' NotScaledReason (Maybe Int) Source #
The current capacity.
notScaledReason_maxCapacity :: Lens' NotScaledReason (Maybe Int) Source #
The maximum capacity.
notScaledReason_minCapacity :: Lens' NotScaledReason (Maybe Int) Source #
The minimum capacity.
notScaledReason_code :: Lens' NotScaledReason Text Source #
A code that represents the reason for not scaling.
Valid values:
- AutoScalingAnticipatedFlapping
- TargetServicePutResourceAsUnscalable
- AlreadyAtMaxCapacity
- AlreadyAtMinCapacity
- AlreadyAtDesiredCapacity