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

Description

Describes one or more of your scaling plans.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeScalingPlans Source #

See: newDescribeScalingPlans smart constructor.

Constructors

DescribeScalingPlans' 

Fields

  • scalingPlanVersion :: Maybe Integer

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

    If you specify a scaling plan version, you must also specify a scaling plan name.

  • scalingPlanNames :: Maybe [Text]

    The names of the scaling plans (up to 10). If you specify application sources, you cannot specify scaling plan names.

  • nextToken :: Maybe Text

    The token for the next set of results.

  • applicationSources :: Maybe [ApplicationSource]

    The sources for the applications (up to 10). If you specify scaling plan names, you cannot specify application sources.

  • maxResults :: Maybe Int

    The maximum number of scalable resources to return. This value can be between 1 and 50. The default value is 50.

Instances

Instances details
Eq DescribeScalingPlans Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.DescribeScalingPlans

Read DescribeScalingPlans Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.DescribeScalingPlans

Show DescribeScalingPlans Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.DescribeScalingPlans

Generic DescribeScalingPlans Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.DescribeScalingPlans

Associated Types

type Rep DescribeScalingPlans :: Type -> Type #

NFData DescribeScalingPlans Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.DescribeScalingPlans

Methods

rnf :: DescribeScalingPlans -> () #

Hashable DescribeScalingPlans Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.DescribeScalingPlans

ToJSON DescribeScalingPlans Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.DescribeScalingPlans

AWSPager DescribeScalingPlans Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.DescribeScalingPlans

AWSRequest DescribeScalingPlans Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.DescribeScalingPlans

Associated Types

type AWSResponse DescribeScalingPlans #

ToHeaders DescribeScalingPlans Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.DescribeScalingPlans

ToPath DescribeScalingPlans Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.DescribeScalingPlans

ToQuery DescribeScalingPlans Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.DescribeScalingPlans

type Rep DescribeScalingPlans Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.DescribeScalingPlans

type Rep DescribeScalingPlans = D1 ('MetaData "DescribeScalingPlans" "Amazonka.AutoScalingPlans.DescribeScalingPlans" "libZSservicesZSamazonka-autoscaling-plansZSamazonka-autoscaling-plans" 'False) (C1 ('MetaCons "DescribeScalingPlans'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "scalingPlanVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "scalingPlanNames") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "applicationSources") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ApplicationSource])) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))))
type AWSResponse DescribeScalingPlans Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.DescribeScalingPlans

newDescribeScalingPlans :: DescribeScalingPlans Source #

Create a value of DescribeScalingPlans 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:scalingPlanVersion:DescribeScalingPlans', describeScalingPlans_scalingPlanVersion - The version number of the scaling plan. Currently, the only valid value is 1.

If you specify a scaling plan version, you must also specify a scaling plan name.

$sel:scalingPlanNames:DescribeScalingPlans', describeScalingPlans_scalingPlanNames - The names of the scaling plans (up to 10). If you specify application sources, you cannot specify scaling plan names.

$sel:nextToken:DescribeScalingPlans', describeScalingPlans_nextToken - The token for the next set of results.

$sel:applicationSources:DescribeScalingPlans', describeScalingPlans_applicationSources - The sources for the applications (up to 10). If you specify scaling plan names, you cannot specify application sources.

$sel:maxResults:DescribeScalingPlans', describeScalingPlans_maxResults - The maximum number of scalable resources to return. This value can be between 1 and 50. The default value is 50.

Request Lenses

describeScalingPlans_scalingPlanVersion :: Lens' DescribeScalingPlans (Maybe Integer) Source #

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

If you specify a scaling plan version, you must also specify a scaling plan name.

describeScalingPlans_scalingPlanNames :: Lens' DescribeScalingPlans (Maybe [Text]) Source #

The names of the scaling plans (up to 10). If you specify application sources, you cannot specify scaling plan names.

describeScalingPlans_nextToken :: Lens' DescribeScalingPlans (Maybe Text) Source #

The token for the next set of results.

describeScalingPlans_applicationSources :: Lens' DescribeScalingPlans (Maybe [ApplicationSource]) Source #

The sources for the applications (up to 10). If you specify scaling plan names, you cannot specify application sources.

describeScalingPlans_maxResults :: Lens' DescribeScalingPlans (Maybe Int) Source #

The maximum number of scalable resources to return. This value can be between 1 and 50. The default value is 50.

Destructuring the Response

data DescribeScalingPlansResponse Source #

See: newDescribeScalingPlansResponse smart constructor.

Constructors

DescribeScalingPlansResponse' 

Fields

Instances

Instances details
Eq DescribeScalingPlansResponse Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.DescribeScalingPlans

Read DescribeScalingPlansResponse Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.DescribeScalingPlans

Show DescribeScalingPlansResponse Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.DescribeScalingPlans

Generic DescribeScalingPlansResponse Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.DescribeScalingPlans

Associated Types

type Rep DescribeScalingPlansResponse :: Type -> Type #

NFData DescribeScalingPlansResponse Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.DescribeScalingPlans

type Rep DescribeScalingPlansResponse Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.DescribeScalingPlans

type Rep DescribeScalingPlansResponse = D1 ('MetaData "DescribeScalingPlansResponse" "Amazonka.AutoScalingPlans.DescribeScalingPlans" "libZSservicesZSamazonka-autoscaling-plansZSamazonka-autoscaling-plans" 'False) (C1 ('MetaCons "DescribeScalingPlansResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "scalingPlans") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ScalingPlan])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDescribeScalingPlansResponse Source #

Create a value of DescribeScalingPlansResponse 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:scalingPlans:DescribeScalingPlansResponse', describeScalingPlansResponse_scalingPlans - Information about the scaling plans.

$sel:nextToken:DescribeScalingPlans', describeScalingPlansResponse_nextToken - The token required to get the next set of results. This value is null if there are no more results to return.

$sel:httpStatus:DescribeScalingPlansResponse', describeScalingPlansResponse_httpStatus - The response's http status code.

Response Lenses

describeScalingPlansResponse_nextToken :: Lens' DescribeScalingPlansResponse (Maybe Text) Source #

The token required to get the next set of results. This value is null if there are no more results to return.