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

Description

Updates the specified scaling plan.

You cannot update a scaling plan if it is in the process of being created, updated, or deleted.

Synopsis

Creating a Request

data UpdateScalingPlan Source #

See: newUpdateScalingPlan smart constructor.

Constructors

UpdateScalingPlan' 

Fields

Instances

Instances details
Eq UpdateScalingPlan Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.UpdateScalingPlan

Read UpdateScalingPlan Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.UpdateScalingPlan

Show UpdateScalingPlan Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.UpdateScalingPlan

Generic UpdateScalingPlan Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.UpdateScalingPlan

Associated Types

type Rep UpdateScalingPlan :: Type -> Type #

NFData UpdateScalingPlan Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.UpdateScalingPlan

Methods

rnf :: UpdateScalingPlan -> () #

Hashable UpdateScalingPlan Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.UpdateScalingPlan

ToJSON UpdateScalingPlan Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.UpdateScalingPlan

AWSRequest UpdateScalingPlan Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.UpdateScalingPlan

Associated Types

type AWSResponse UpdateScalingPlan #

ToHeaders UpdateScalingPlan Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.UpdateScalingPlan

ToPath UpdateScalingPlan Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.UpdateScalingPlan

ToQuery UpdateScalingPlan Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.UpdateScalingPlan

type Rep UpdateScalingPlan Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.UpdateScalingPlan

type Rep UpdateScalingPlan = D1 ('MetaData "UpdateScalingPlan" "Amazonka.AutoScalingPlans.UpdateScalingPlan" "libZSservicesZSamazonka-autoscaling-plansZSamazonka-autoscaling-plans" 'False) (C1 ('MetaCons "UpdateScalingPlan'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "scalingInstructions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ScalingInstruction])) :*: S1 ('MetaSel ('Just "applicationSource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ApplicationSource))) :*: (S1 ('MetaSel ('Just "scalingPlanName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "scalingPlanVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Integer))))
type AWSResponse UpdateScalingPlan Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.UpdateScalingPlan

newUpdateScalingPlan Source #

Create a value of UpdateScalingPlan 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:scalingInstructions:UpdateScalingPlan', updateScalingPlan_scalingInstructions - The scaling instructions.

For more information, see ScalingInstruction in the AWS Auto Scaling API Reference.

$sel:applicationSource:UpdateScalingPlan', updateScalingPlan_applicationSource - A CloudFormation stack or set of tags.

For more information, see ApplicationSource in the AWS Auto Scaling API Reference.

$sel:scalingPlanName:UpdateScalingPlan', updateScalingPlan_scalingPlanName - The name of the scaling plan.

$sel:scalingPlanVersion:UpdateScalingPlan', updateScalingPlan_scalingPlanVersion - The version number of the scaling plan. The only valid value is 1. Currently, you cannot have multiple scaling plan versions.

Request Lenses

updateScalingPlan_scalingInstructions :: Lens' UpdateScalingPlan (Maybe [ScalingInstruction]) Source #

The scaling instructions.

For more information, see ScalingInstruction in the AWS Auto Scaling API Reference.

updateScalingPlan_applicationSource :: Lens' UpdateScalingPlan (Maybe ApplicationSource) Source #

A CloudFormation stack or set of tags.

For more information, see ApplicationSource in the AWS Auto Scaling API Reference.

updateScalingPlan_scalingPlanVersion :: Lens' UpdateScalingPlan Integer Source #

The version number of the scaling plan. The only valid value is 1. Currently, you cannot have multiple scaling plan versions.

Destructuring the Response

data UpdateScalingPlanResponse Source #

See: newUpdateScalingPlanResponse smart constructor.

Constructors

UpdateScalingPlanResponse' 

Fields

Instances

Instances details
Eq UpdateScalingPlanResponse Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.UpdateScalingPlan

Read UpdateScalingPlanResponse Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.UpdateScalingPlan

Show UpdateScalingPlanResponse Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.UpdateScalingPlan

Generic UpdateScalingPlanResponse Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.UpdateScalingPlan

Associated Types

type Rep UpdateScalingPlanResponse :: Type -> Type #

NFData UpdateScalingPlanResponse Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.UpdateScalingPlan

type Rep UpdateScalingPlanResponse Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.UpdateScalingPlan

type Rep UpdateScalingPlanResponse = D1 ('MetaData "UpdateScalingPlanResponse" "Amazonka.AutoScalingPlans.UpdateScalingPlan" "libZSservicesZSamazonka-autoscaling-plansZSamazonka-autoscaling-plans" 'False) (C1 ('MetaCons "UpdateScalingPlanResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateScalingPlanResponse Source #

Create a value of UpdateScalingPlanResponse 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:httpStatus:UpdateScalingPlanResponse', updateScalingPlanResponse_httpStatus - The response's http status code.

Response Lenses