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.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
Eq DeleteScalingPlan Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.DeleteScalingPlan

Read DeleteScalingPlan Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.DeleteScalingPlan

Show DeleteScalingPlan Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.DeleteScalingPlan

Generic DeleteScalingPlan Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.DeleteScalingPlan

Associated Types

type Rep DeleteScalingPlan :: Type -> Type #

NFData DeleteScalingPlan Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.DeleteScalingPlan

Methods

rnf :: DeleteScalingPlan -> () #

Hashable DeleteScalingPlan Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.DeleteScalingPlan

ToJSON DeleteScalingPlan Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.DeleteScalingPlan

AWSRequest DeleteScalingPlan Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.DeleteScalingPlan

Associated Types

type AWSResponse 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

type Rep DeleteScalingPlan Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.DeleteScalingPlan

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

Defined in Amazonka.AutoScalingPlans.DeleteScalingPlan

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:

$sel:scalingPlanName:DeleteScalingPlan', deleteScalingPlan_scalingPlanName - The name of the scaling plan.

$sel:scalingPlanVersion: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
Eq DeleteScalingPlanResponse Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.DeleteScalingPlan

Read DeleteScalingPlanResponse Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.DeleteScalingPlan

Show DeleteScalingPlanResponse Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.DeleteScalingPlan

Generic DeleteScalingPlanResponse Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.DeleteScalingPlan

Associated Types

type Rep DeleteScalingPlanResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-autoscaling-plansZSamazonka-autoscaling-plans" '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