amazonka-application-autoscaling-2.0: Amazon Application Auto Scaling SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.ApplicationAutoScaling.Types.NotScaledReason

Description

 
Synopsis

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

Instances details
FromJSON NotScaledReason Source # 
Instance details

Defined in Amazonka.ApplicationAutoScaling.Types.NotScaledReason

Generic NotScaledReason Source # 
Instance details

Defined in Amazonka.ApplicationAutoScaling.Types.NotScaledReason

Associated Types

type Rep NotScaledReason :: Type -> Type #

Read NotScaledReason Source # 
Instance details

Defined in Amazonka.ApplicationAutoScaling.Types.NotScaledReason

Show NotScaledReason Source # 
Instance details

Defined in Amazonka.ApplicationAutoScaling.Types.NotScaledReason

NFData NotScaledReason Source # 
Instance details

Defined in Amazonka.ApplicationAutoScaling.Types.NotScaledReason

Methods

rnf :: NotScaledReason -> () #

Eq NotScaledReason Source # 
Instance details

Defined in Amazonka.ApplicationAutoScaling.Types.NotScaledReason

Hashable NotScaledReason Source # 
Instance details

Defined in Amazonka.ApplicationAutoScaling.Types.NotScaledReason

type Rep NotScaledReason Source # 
Instance details

Defined in Amazonka.ApplicationAutoScaling.Types.NotScaledReason

type Rep NotScaledReason = D1 ('MetaData "NotScaledReason" "Amazonka.ApplicationAutoScaling.Types.NotScaledReason" "amazonka-application-autoscaling-2.0-47S5RXZpuYuHCojBdpy5IU" 'False) (C1 ('MetaCons "NotScaledReason'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "currentCapacity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "maxCapacity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))) :*: (S1 ('MetaSel ('Just "minCapacity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "code") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newNotScaledReason Source #

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_code :: Lens' NotScaledReason Text Source #

A code that represents the reason for not scaling.

Valid values:

  • AutoScalingAnticipatedFlapping
  • TargetServicePutResourceAsUnscalable
  • AlreadyAtMaxCapacity
  • AlreadyAtMinCapacity
  • AlreadyAtDesiredCapacity