amazonka-autoscaling-plans-1.6.1: Amazon Auto Scaling Plans SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.AutoScalingPlans.DescribeScalingPlans

Contents

Description

Describes the specified scaling plans or all of your scaling plans.

Synopsis

Creating a Request

describeScalingPlans :: DescribeScalingPlans Source #

Creates a value of DescribeScalingPlans with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • dScalingPlanVersion - The version of the scaling plan. If you specify a scaling plan version, you must also specify a scaling plan name.
  • dScalingPlanNames - The names of the scaling plans (up to 10). If you specify application sources, you cannot specify scaling plan names.
  • dNextToken - The token for the next set of results.
  • dApplicationSources - The sources for the applications (up to 10). If you specify scaling plan names, you cannot specify application sources.
  • dMaxResults - The maximum number of scalable resources to return. This value can be between 1 and 50. The default value is 50.

data DescribeScalingPlans Source #

See: describeScalingPlans smart constructor.

Instances
Eq DescribeScalingPlans Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.DescribeScalingPlans

Data DescribeScalingPlans Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.DescribeScalingPlans

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DescribeScalingPlans -> c DescribeScalingPlans #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DescribeScalingPlans #

toConstr :: DescribeScalingPlans -> Constr #

dataTypeOf :: DescribeScalingPlans -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DescribeScalingPlans) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DescribeScalingPlans) #

gmapT :: (forall b. Data b => b -> b) -> DescribeScalingPlans -> DescribeScalingPlans #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DescribeScalingPlans -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DescribeScalingPlans -> r #

gmapQ :: (forall d. Data d => d -> u) -> DescribeScalingPlans -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DescribeScalingPlans -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DescribeScalingPlans -> m DescribeScalingPlans #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeScalingPlans -> m DescribeScalingPlans #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeScalingPlans -> m DescribeScalingPlans #

Read DescribeScalingPlans Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.DescribeScalingPlans

Show DescribeScalingPlans Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.DescribeScalingPlans

Generic DescribeScalingPlans Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.DescribeScalingPlans

Associated Types

type Rep DescribeScalingPlans :: Type -> Type #

Hashable DescribeScalingPlans Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.DescribeScalingPlans

ToJSON DescribeScalingPlans Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.DescribeScalingPlans

AWSRequest DescribeScalingPlans Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.DescribeScalingPlans

Associated Types

type Rs DescribeScalingPlans :: Type #

ToHeaders DescribeScalingPlans Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.DescribeScalingPlans

ToPath DescribeScalingPlans Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.DescribeScalingPlans

ToQuery DescribeScalingPlans Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.DescribeScalingPlans

NFData DescribeScalingPlans Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.DescribeScalingPlans

Methods

rnf :: DescribeScalingPlans -> () #

type Rep DescribeScalingPlans Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.DescribeScalingPlans

type Rep DescribeScalingPlans = D1 (MetaData "DescribeScalingPlans" "Network.AWS.AutoScalingPlans.DescribeScalingPlans" "amazonka-autoscaling-plans-1.6.1-3rcFdmqTtPU4fbtBlqlD3N" False) (C1 (MetaCons "DescribeScalingPlans'" PrefixI True) ((S1 (MetaSel (Just "_dScalingPlanVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 (MetaSel (Just "_dScalingPlanNames") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 (MetaSel (Just "_dNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_dApplicationSources") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ApplicationSource])) :*: S1 (MetaSel (Just "_dMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))))))
type Rs DescribeScalingPlans Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.DescribeScalingPlans

Request Lenses

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

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

dScalingPlanNames :: Lens' DescribeScalingPlans [Text] Source #

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

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

The token for the next set of results.

dApplicationSources :: Lens' DescribeScalingPlans [ApplicationSource] Source #

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

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

describeScalingPlansResponse Source #

Creates a value of DescribeScalingPlansResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • drsScalingPlans - Information about the scaling plans.
  • drsNextToken - The token required to get the next set of results. This value is null if there are no more results to return.
  • drsResponseStatus - -- | The response status code.

data DescribeScalingPlansResponse Source #

See: describeScalingPlansResponse smart constructor.

Instances
Eq DescribeScalingPlansResponse Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.DescribeScalingPlans

Data DescribeScalingPlansResponse Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.DescribeScalingPlans

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DescribeScalingPlansResponse -> c DescribeScalingPlansResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DescribeScalingPlansResponse #

toConstr :: DescribeScalingPlansResponse -> Constr #

dataTypeOf :: DescribeScalingPlansResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DescribeScalingPlansResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DescribeScalingPlansResponse) #

gmapT :: (forall b. Data b => b -> b) -> DescribeScalingPlansResponse -> DescribeScalingPlansResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DescribeScalingPlansResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DescribeScalingPlansResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> DescribeScalingPlansResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DescribeScalingPlansResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DescribeScalingPlansResponse -> m DescribeScalingPlansResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeScalingPlansResponse -> m DescribeScalingPlansResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeScalingPlansResponse -> m DescribeScalingPlansResponse #

Read DescribeScalingPlansResponse Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.DescribeScalingPlans

Show DescribeScalingPlansResponse Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.DescribeScalingPlans

Generic DescribeScalingPlansResponse Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.DescribeScalingPlans

Associated Types

type Rep DescribeScalingPlansResponse :: Type -> Type #

NFData DescribeScalingPlansResponse Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.DescribeScalingPlans

type Rep DescribeScalingPlansResponse Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.DescribeScalingPlans

type Rep DescribeScalingPlansResponse = D1 (MetaData "DescribeScalingPlansResponse" "Network.AWS.AutoScalingPlans.DescribeScalingPlans" "amazonka-autoscaling-plans-1.6.1-3rcFdmqTtPU4fbtBlqlD3N" False) (C1 (MetaCons "DescribeScalingPlansResponse'" PrefixI True) (S1 (MetaSel (Just "_drsScalingPlans") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ScalingPlan])) :*: (S1 (MetaSel (Just "_drsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_drsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

drsScalingPlans :: Lens' DescribeScalingPlansResponse [ScalingPlan] Source #

Information about the scaling plans.

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