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

Description

Creates a scaling plan.

Synopsis

Creating a Request

data CreateScalingPlan Source #

See: newCreateScalingPlan smart constructor.

Constructors

CreateScalingPlan' 

Fields

Instances

Instances details
Eq CreateScalingPlan Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.CreateScalingPlan

Read CreateScalingPlan Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.CreateScalingPlan

Show CreateScalingPlan Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.CreateScalingPlan

Generic CreateScalingPlan Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.CreateScalingPlan

Associated Types

type Rep CreateScalingPlan :: Type -> Type #

NFData CreateScalingPlan Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.CreateScalingPlan

Methods

rnf :: CreateScalingPlan -> () #

Hashable CreateScalingPlan Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.CreateScalingPlan

ToJSON CreateScalingPlan Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.CreateScalingPlan

AWSRequest CreateScalingPlan Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.CreateScalingPlan

Associated Types

type AWSResponse CreateScalingPlan #

ToHeaders CreateScalingPlan Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.CreateScalingPlan

ToPath CreateScalingPlan Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.CreateScalingPlan

ToQuery CreateScalingPlan Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.CreateScalingPlan

type Rep CreateScalingPlan Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.CreateScalingPlan

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

Defined in Amazonka.AutoScalingPlans.CreateScalingPlan

newCreateScalingPlan Source #

Create a value of CreateScalingPlan 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:CreateScalingPlan', createScalingPlan_scalingPlanName - The name of the scaling plan. Names cannot contain vertical bars, colons, or forward slashes.

$sel:applicationSource:CreateScalingPlan', createScalingPlan_applicationSource - A CloudFormation stack or set of tags. You can create one scaling plan per application source.

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

$sel:scalingInstructions:CreateScalingPlan', createScalingPlan_scalingInstructions - The scaling instructions.

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

Request Lenses

createScalingPlan_scalingPlanName :: Lens' CreateScalingPlan Text Source #

The name of the scaling plan. Names cannot contain vertical bars, colons, or forward slashes.

createScalingPlan_applicationSource :: Lens' CreateScalingPlan ApplicationSource Source #

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

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

createScalingPlan_scalingInstructions :: Lens' CreateScalingPlan [ScalingInstruction] Source #

The scaling instructions.

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

Destructuring the Response

data CreateScalingPlanResponse Source #

See: newCreateScalingPlanResponse smart constructor.

Constructors

CreateScalingPlanResponse' 

Fields

  • httpStatus :: Int

    The response's http status code.

  • scalingPlanVersion :: Integer

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

Instances

Instances details
Eq CreateScalingPlanResponse Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.CreateScalingPlan

Read CreateScalingPlanResponse Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.CreateScalingPlan

Show CreateScalingPlanResponse Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.CreateScalingPlan

Generic CreateScalingPlanResponse Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.CreateScalingPlan

Associated Types

type Rep CreateScalingPlanResponse :: Type -> Type #

NFData CreateScalingPlanResponse Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.CreateScalingPlan

type Rep CreateScalingPlanResponse Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.CreateScalingPlan

type Rep CreateScalingPlanResponse = D1 ('MetaData "CreateScalingPlanResponse" "Amazonka.AutoScalingPlans.CreateScalingPlan" "libZSservicesZSamazonka-autoscaling-plansZSamazonka-autoscaling-plans" 'False) (C1 ('MetaCons "CreateScalingPlanResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "scalingPlanVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Integer)))

newCreateScalingPlanResponse Source #

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

$sel:scalingPlanVersion:CreateScalingPlanResponse', createScalingPlanResponse_scalingPlanVersion - The version number of the scaling plan. This value is always 1. Currently, you cannot have multiple scaling plan versions.

Response Lenses

createScalingPlanResponse_scalingPlanVersion :: Lens' CreateScalingPlanResponse Integer Source #

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