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

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

  • nextToken :: Maybe Text

    The token for the next set of results.

  • scalingPlanNames :: Maybe [Text]

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

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

Instances

Instances details
ToJSON DescribeScalingPlans Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.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

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 #

Generic DescribeScalingPlans Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.DescribeScalingPlans

Associated Types

type Rep DescribeScalingPlans :: Type -> Type #

Read DescribeScalingPlans Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.DescribeScalingPlans

Show DescribeScalingPlans Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.DescribeScalingPlans

NFData DescribeScalingPlans Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.DescribeScalingPlans

Methods

rnf :: DescribeScalingPlans -> () #

Eq DescribeScalingPlans Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.DescribeScalingPlans

Hashable DescribeScalingPlans Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.DescribeScalingPlans

type AWSResponse 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" "amazonka-autoscaling-plans-2.0-1ffFjJ7hnaH6GMb2VoWJfu" 'False) (C1 ('MetaCons "DescribeScalingPlans'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "applicationSources") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ApplicationSource])) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "scalingPlanNames") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "scalingPlanVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer))))))

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

DescribeScalingPlans, describeScalingPlans_nextToken - The token for the next set of results.

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

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.

Request Lenses

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.

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

The token for the next set of results.

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

Destructuring the Response

data DescribeScalingPlansResponse Source #

See: newDescribeScalingPlansResponse smart constructor.

Constructors

DescribeScalingPlansResponse' 

Fields

Instances

Instances details
Generic DescribeScalingPlansResponse Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.DescribeScalingPlans

Associated Types

type Rep DescribeScalingPlansResponse :: Type -> Type #

Read DescribeScalingPlansResponse Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.DescribeScalingPlans

Show DescribeScalingPlansResponse Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.DescribeScalingPlans

NFData DescribeScalingPlansResponse Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.DescribeScalingPlans

Eq 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" "amazonka-autoscaling-plans-2.0-1ffFjJ7hnaH6GMb2VoWJfu" 'False) (C1 ('MetaCons "DescribeScalingPlansResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "scalingPlans") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ScalingPlan])) :*: 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:

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

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