amazonka-autoscaling-plans-2.0: Amazon Auto Scaling Plans 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.AutoScalingPlans.DeleteScalingPlan

Description

Deletes the specified scaling plan.

Deleting a scaling plan deletes the underlying ScalingInstruction for all of the scalable resources that are covered by the plan.

If the plan has launched resources or has scaling activities in progress, you must delete those resources separately.

Synopsis

Creating a Request

data DeleteScalingPlan Source #

See: newDeleteScalingPlan smart constructor.

Constructors

DeleteScalingPlan' 

Fields

Instances

Instances details
ToJSON DeleteScalingPlan Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.DeleteScalingPlan

ToHeaders DeleteScalingPlan Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.DeleteScalingPlan

ToPath DeleteScalingPlan Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.DeleteScalingPlan

ToQuery DeleteScalingPlan Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.DeleteScalingPlan

AWSRequest DeleteScalingPlan Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.DeleteScalingPlan

Associated Types

type AWSResponse DeleteScalingPlan #

Generic DeleteScalingPlan Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.DeleteScalingPlan

Associated Types

type Rep DeleteScalingPlan :: Type -> Type #

Read DeleteScalingPlan Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.DeleteScalingPlan

Show DeleteScalingPlan Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.DeleteScalingPlan

NFData DeleteScalingPlan Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.DeleteScalingPlan

Methods

rnf :: DeleteScalingPlan -> () #

Eq DeleteScalingPlan Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.DeleteScalingPlan

Hashable DeleteScalingPlan Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.DeleteScalingPlan

type AWSResponse DeleteScalingPlan Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.DeleteScalingPlan

type Rep DeleteScalingPlan Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.DeleteScalingPlan

type Rep DeleteScalingPlan = D1 ('MetaData "DeleteScalingPlan" "Amazonka.AutoScalingPlans.DeleteScalingPlan" "amazonka-autoscaling-plans-2.0-1ffFjJ7hnaH6GMb2VoWJfu" 'False) (C1 ('MetaCons "DeleteScalingPlan'" 'PrefixI 'True) (S1 ('MetaSel ('Just "scalingPlanName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "scalingPlanVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Integer)))

newDeleteScalingPlan Source #

Create a value of DeleteScalingPlan 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:

DeleteScalingPlan, deleteScalingPlan_scalingPlanName - The name of the scaling plan.

DeleteScalingPlan, deleteScalingPlan_scalingPlanVersion - The version number of the scaling plan. Currently, the only valid value is 1.

Request Lenses

deleteScalingPlan_scalingPlanVersion :: Lens' DeleteScalingPlan Integer Source #

The version number of the scaling plan. Currently, the only valid value is 1.

Destructuring the Response

data DeleteScalingPlanResponse Source #

See: newDeleteScalingPlanResponse smart constructor.

Constructors

DeleteScalingPlanResponse' 

Fields

Instances

Instances details
Generic DeleteScalingPlanResponse Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.DeleteScalingPlan

Associated Types

type Rep DeleteScalingPlanResponse :: Type -> Type #

Read DeleteScalingPlanResponse Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.DeleteScalingPlan

Show DeleteScalingPlanResponse Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.DeleteScalingPlan

NFData DeleteScalingPlanResponse Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.DeleteScalingPlan

Eq DeleteScalingPlanResponse Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.DeleteScalingPlan

type Rep DeleteScalingPlanResponse Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.DeleteScalingPlan

type Rep DeleteScalingPlanResponse = D1 ('MetaData "DeleteScalingPlanResponse" "Amazonka.AutoScalingPlans.DeleteScalingPlan" "amazonka-autoscaling-plans-2.0-1ffFjJ7hnaH6GMb2VoWJfu" 'False) (C1 ('MetaCons "DeleteScalingPlanResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteScalingPlanResponse Source #

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

Response Lenses