libZSservicesZSamazonka-autoscaling-plansZSamazonka-autoscaling-plans
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.AutoScalingPlans.Types.ScalingPlan

Description

 
Synopsis

Documentation

data ScalingPlan Source #

Represents a scaling plan.

See: newScalingPlan smart constructor.

Constructors

ScalingPlan' 

Fields

  • creationTime :: Maybe POSIX

    The Unix time stamp when the scaling plan was created.

  • statusStartTime :: Maybe POSIX

    The Unix time stamp when the scaling plan entered the current status.

  • statusMessage :: Maybe Text

    A simple message about the current status of the scaling plan.

  • scalingPlanName :: Text

    The name of the scaling plan.

  • scalingPlanVersion :: Integer

    The version number of the scaling plan.

  • applicationSource :: ApplicationSource

    A CloudFormation stack or a set of tags. You can create one scaling plan per application source.

  • scalingInstructions :: [ScalingInstruction]

    The scaling instructions.

  • statusCode :: ScalingPlanStatusCode

    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.

Instances

Instances details
Eq ScalingPlan Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.Types.ScalingPlan

Read ScalingPlan Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.Types.ScalingPlan

Show ScalingPlan Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.Types.ScalingPlan

Generic ScalingPlan Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.Types.ScalingPlan

Associated Types

type Rep ScalingPlan :: Type -> Type #

NFData ScalingPlan Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.Types.ScalingPlan

Methods

rnf :: ScalingPlan -> () #

Hashable ScalingPlan Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.Types.ScalingPlan

FromJSON ScalingPlan Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.Types.ScalingPlan

type Rep ScalingPlan Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.Types.ScalingPlan

type Rep ScalingPlan = D1 ('MetaData "ScalingPlan" "Amazonka.AutoScalingPlans.Types.ScalingPlan" "libZSservicesZSamazonka-autoscaling-plansZSamazonka-autoscaling-plans" 'False) (C1 ('MetaCons "ScalingPlan'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "statusStartTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "statusMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "scalingPlanName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: ((S1 ('MetaSel ('Just "scalingPlanVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Integer) :*: S1 ('MetaSel ('Just "applicationSource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ApplicationSource)) :*: (S1 ('MetaSel ('Just "scalingInstructions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [ScalingInstruction]) :*: S1 ('MetaSel ('Just "statusCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ScalingPlanStatusCode)))))

newScalingPlan Source #

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:statusStartTime:ScalingPlan', scalingPlan_statusStartTime - The Unix time stamp when the scaling plan entered the current status.

$sel:statusMessage:ScalingPlan', scalingPlan_statusMessage - A simple message about the current status of the scaling plan.

$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_statusStartTime :: Lens' ScalingPlan (Maybe UTCTime) Source #

The Unix time stamp when the scaling plan entered the current status.

scalingPlan_statusMessage :: Lens' ScalingPlan (Maybe Text) Source #

A simple message about the current status of the scaling plan.

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_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.