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

Contents

Description

AWS Auto Scaling

Use AWS Auto Scaling to quickly discover all the scalable AWS resources for your application and configure dynamic scaling for your scalable resources.

To get started, create a scaling plan with a set of instructions used to configure dynamic scaling for the scalable resources in your application. AWS Auto Scaling creates target tracking scaling policies for the scalable resources in your scaling plan. Target tracking scaling policies adjust the capacity of your scalable resource as required to maintain resource utilization at the target value that you specified.

Synopsis

Service Configuration

autoScalingPlans :: Service Source #

API version 2018-01-06 of the Amazon Auto Scaling Plans SDK configuration.

Errors

Error matchers are designed for use with the functions provided by Control.Exception.Lens. This allows catching (and rethrowing) service specific errors returned by AutoScalingPlans.

ValidationException

_ValidationException :: AsError a => Getting (First ServiceError) a ServiceError Source #

An exception was thrown for a validation issue. Review the parameters provided.

InvalidNextTokenException

_InvalidNextTokenException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The token provided is not valid.

ConcurrentUpdateException

_ConcurrentUpdateException :: AsError a => Getting (First ServiceError) a ServiceError Source #

Concurrent updates caused an exception, for example, if you request an update to a scaling plan that already has a pending update.

InternalServiceException

_InternalServiceException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The service encountered an internal error.

ObjectNotFoundException

_ObjectNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The specified object could not be found.

LimitExceededException

_LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #

Your account exceeded a limit. This exception is thrown when a per-account resource limit is exceeded.

Waiters

Waiters poll by repeatedly sending a request until some remote success condition configured by the Wait specification is fulfilled. The Wait specification determines how many attempts should be made, in addition to delay and retry strategies.

Operations

Some AWS operations return results that are incomplete and require subsequent requests in order to obtain the entire result set. The process of sending subsequent requests to continue where a previous request left off is called pagination. For example, the ListObjects operation of Amazon S3 returns up to 1000 objects at a time, and you must send subsequent requests with the appropriate Marker in order to retrieve the next page of results.

Operations that have an AWSPager instance can transparently perform subsequent requests, correctly setting Markers and other request facets to iterate through the entire result set of a truncated API operation. Operations which support this have an additional note in the documentation.

Many operations have the ability to filter results on the server side. See the individual operation parameters for details.

DescribeScalingPlanResources

CreateScalingPlan

DeleteScalingPlan

UpdateScalingPlan

DescribeScalingPlans

Types

MetricStatistic

data MetricStatistic Source #

Instances
Bounded MetricStatistic Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

Enum MetricStatistic Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

Eq MetricStatistic Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

Data MetricStatistic Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

Methods

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

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

toConstr :: MetricStatistic -> Constr #

dataTypeOf :: MetricStatistic -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord MetricStatistic Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

Read MetricStatistic Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

Show MetricStatistic Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

Generic MetricStatistic Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

Associated Types

type Rep MetricStatistic :: Type -> Type #

Hashable MetricStatistic Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

ToJSON MetricStatistic Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

FromJSON MetricStatistic Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

ToHeader MetricStatistic Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

ToQuery MetricStatistic Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

ToByteString MetricStatistic Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

FromText MetricStatistic Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

ToText MetricStatistic Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

NFData MetricStatistic Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

Methods

rnf :: MetricStatistic -> () #

type Rep MetricStatistic Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

type Rep MetricStatistic = D1 (MetaData "MetricStatistic" "Network.AWS.AutoScalingPlans.Types.Sum" "amazonka-autoscaling-plans-1.6.1-3rcFdmqTtPU4fbtBlqlD3N" False) ((C1 (MetaCons "Average" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Maximum" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "Minimum" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "SampleCount" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Sum" PrefixI False) (U1 :: Type -> Type))))

PolicyType

data PolicyType Source #

Constructors

TargetTrackingScaling 
Instances
Bounded PolicyType Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

Enum PolicyType Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

Eq PolicyType Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

Data PolicyType Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

Methods

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

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

toConstr :: PolicyType -> Constr #

dataTypeOf :: PolicyType -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord PolicyType Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

Read PolicyType Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

Show PolicyType Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

Generic PolicyType Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

Associated Types

type Rep PolicyType :: Type -> Type #

Hashable PolicyType Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

FromJSON PolicyType Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

ToHeader PolicyType Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

ToQuery PolicyType Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

ToByteString PolicyType Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

FromText PolicyType Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

ToText PolicyType Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

Methods

toText :: PolicyType -> Text #

NFData PolicyType Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

Methods

rnf :: PolicyType -> () #

type Rep PolicyType Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

type Rep PolicyType = D1 (MetaData "PolicyType" "Network.AWS.AutoScalingPlans.Types.Sum" "amazonka-autoscaling-plans-1.6.1-3rcFdmqTtPU4fbtBlqlD3N" False) (C1 (MetaCons "TargetTrackingScaling" PrefixI False) (U1 :: Type -> Type))

ScalableDimension

data ScalableDimension Source #

Instances
Bounded ScalableDimension Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

Enum ScalableDimension Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

Eq ScalableDimension Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

Data ScalableDimension Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

Methods

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

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

toConstr :: ScalableDimension -> Constr #

dataTypeOf :: ScalableDimension -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord ScalableDimension Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

Read ScalableDimension Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

Show ScalableDimension Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

Generic ScalableDimension Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

Associated Types

type Rep ScalableDimension :: Type -> Type #

Hashable ScalableDimension Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

ToJSON ScalableDimension Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

FromJSON ScalableDimension Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

ToHeader ScalableDimension Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

ToQuery ScalableDimension Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

ToByteString ScalableDimension Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

FromText ScalableDimension Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

ToText ScalableDimension Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

NFData ScalableDimension Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

Methods

rnf :: ScalableDimension -> () #

type Rep ScalableDimension Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

type Rep ScalableDimension = D1 (MetaData "ScalableDimension" "Network.AWS.AutoScalingPlans.Types.Sum" "amazonka-autoscaling-plans-1.6.1-3rcFdmqTtPU4fbtBlqlD3N" False) (((C1 (MetaCons "AutoscalingAutoScalingGroupDesiredCapacity" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "DynamodbIndexReadCapacityUnits" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "DynamodbIndexWriteCapacityUnits" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "DynamodbTableReadCapacityUnits" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "DynamodbTableWriteCapacityUnits" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "EC2SpotFleetRequestTargetCapacity" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "EcsServiceDesiredCount" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "RDSClusterReadReplicaCount" PrefixI False) (U1 :: Type -> Type))))

ScalingMetricType

data ScalingMetricType Source #

Instances
Bounded ScalingMetricType Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

Enum ScalingMetricType Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

Eq ScalingMetricType Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

Data ScalingMetricType Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

Methods

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

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

toConstr :: ScalingMetricType -> Constr #

dataTypeOf :: ScalingMetricType -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord ScalingMetricType Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

Read ScalingMetricType Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

Show ScalingMetricType Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

Generic ScalingMetricType Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

Associated Types

type Rep ScalingMetricType :: Type -> Type #

Hashable ScalingMetricType Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

ToJSON ScalingMetricType Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

FromJSON ScalingMetricType Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

ToHeader ScalingMetricType Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

ToQuery ScalingMetricType Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

ToByteString ScalingMetricType Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

FromText ScalingMetricType Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

ToText ScalingMetricType Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

NFData ScalingMetricType Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

Methods

rnf :: ScalingMetricType -> () #

type Rep ScalingMetricType Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

type Rep ScalingMetricType = D1 (MetaData "ScalingMetricType" "Network.AWS.AutoScalingPlans.Types.Sum" "amazonka-autoscaling-plans-1.6.1-3rcFdmqTtPU4fbtBlqlD3N" False) (((C1 (MetaCons "ALBRequestCountPerTarget" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "ASGAverageCPUUtilization" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "ASGAverageNetworkIn" PrefixI False) (U1 :: Type -> Type))) :+: (C1 (MetaCons "ASGAverageNetworkOut" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "DynamoDBReadCapacityUtilization" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "DynamoDBWriteCapacityUtilization" PrefixI False) (U1 :: Type -> Type)))) :+: ((C1 (MetaCons "EC2SpotFleetRequestAverageCPUUtilization" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "EC2SpotFleetRequestAverageNetworkIn" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "EC2SpotFleetRequestAverageNetworkOut" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "ECSServiceAverageCPUUtilization" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "ECSServiceAverageMemoryUtilization" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "RDSReaderAverageCPUUtilization" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "RDSReaderAverageDatabaseConnections" PrefixI False) (U1 :: Type -> Type)))))

ScalingPlanStatusCode

data ScalingPlanStatusCode Source #

Instances
Bounded ScalingPlanStatusCode Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

Enum ScalingPlanStatusCode Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

Eq ScalingPlanStatusCode Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

Data ScalingPlanStatusCode Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

Methods

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

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

toConstr :: ScalingPlanStatusCode -> Constr #

dataTypeOf :: ScalingPlanStatusCode -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord ScalingPlanStatusCode Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

Read ScalingPlanStatusCode Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

Show ScalingPlanStatusCode Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

Generic ScalingPlanStatusCode Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

Associated Types

type Rep ScalingPlanStatusCode :: Type -> Type #

Hashable ScalingPlanStatusCode Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

FromJSON ScalingPlanStatusCode Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

ToHeader ScalingPlanStatusCode Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

ToQuery ScalingPlanStatusCode Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

ToByteString ScalingPlanStatusCode Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

FromText ScalingPlanStatusCode Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

ToText ScalingPlanStatusCode Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

NFData ScalingPlanStatusCode Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

Methods

rnf :: ScalingPlanStatusCode -> () #

type Rep ScalingPlanStatusCode Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

type Rep ScalingPlanStatusCode = D1 (MetaData "ScalingPlanStatusCode" "Network.AWS.AutoScalingPlans.Types.Sum" "amazonka-autoscaling-plans-1.6.1-3rcFdmqTtPU4fbtBlqlD3N" False) (((C1 (MetaCons "SPSCActive" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "SPSCActiveWithProblems" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "SPSCCreationFailed" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "SPSCCreationInProgress" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "SPSCDeletionFailed" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "SPSCDeletionInProgress" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "SPSCUpdateFailed" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "SPSCUpdateInProgress" PrefixI False) (U1 :: Type -> Type))))

ScalingStatusCode

data ScalingStatusCode Source #

Instances
Bounded ScalingStatusCode Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

Enum ScalingStatusCode Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

Eq ScalingStatusCode Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

Data ScalingStatusCode Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

Methods

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

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

toConstr :: ScalingStatusCode -> Constr #

dataTypeOf :: ScalingStatusCode -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord ScalingStatusCode Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

Read ScalingStatusCode Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

Show ScalingStatusCode Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

Generic ScalingStatusCode Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

Associated Types

type Rep ScalingStatusCode :: Type -> Type #

Hashable ScalingStatusCode Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

FromJSON ScalingStatusCode Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

ToHeader ScalingStatusCode Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

ToQuery ScalingStatusCode Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

ToByteString ScalingStatusCode Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

FromText ScalingStatusCode Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

ToText ScalingStatusCode Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

NFData ScalingStatusCode Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

Methods

rnf :: ScalingStatusCode -> () #

type Rep ScalingStatusCode Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

type Rep ScalingStatusCode = D1 (MetaData "ScalingStatusCode" "Network.AWS.AutoScalingPlans.Types.Sum" "amazonka-autoscaling-plans-1.6.1-3rcFdmqTtPU4fbtBlqlD3N" False) (C1 (MetaCons "Active" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Inactive" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "PartiallyActive" PrefixI False) (U1 :: Type -> Type)))

ServiceNamespace

data ServiceNamespace Source #

Constructors

Autoscaling 
Dynamodb 
EC2 
Ecs 
RDS 
Instances
Bounded ServiceNamespace Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

Enum ServiceNamespace Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

Eq ServiceNamespace Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

Data ServiceNamespace Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

Methods

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

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

toConstr :: ServiceNamespace -> Constr #

dataTypeOf :: ServiceNamespace -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord ServiceNamespace Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

Read ServiceNamespace Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

Show ServiceNamespace Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

Generic ServiceNamespace Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

Associated Types

type Rep ServiceNamespace :: Type -> Type #

Hashable ServiceNamespace Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

ToJSON ServiceNamespace Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

FromJSON ServiceNamespace Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

ToHeader ServiceNamespace Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

ToQuery ServiceNamespace Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

ToByteString ServiceNamespace Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

FromText ServiceNamespace Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

ToText ServiceNamespace Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

NFData ServiceNamespace Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

Methods

rnf :: ServiceNamespace -> () #

type Rep ServiceNamespace Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Sum

type Rep ServiceNamespace = D1 (MetaData "ServiceNamespace" "Network.AWS.AutoScalingPlans.Types.Sum" "amazonka-autoscaling-plans-1.6.1-3rcFdmqTtPU4fbtBlqlD3N" False) ((C1 (MetaCons "Autoscaling" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Dynamodb" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "EC2" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Ecs" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "RDS" PrefixI False) (U1 :: Type -> Type))))

ApplicationSource

data ApplicationSource Source #

Represents an application source.

See: applicationSource smart constructor.

Instances
Eq ApplicationSource Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

Data ApplicationSource Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

Methods

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

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

toConstr :: ApplicationSource -> Constr #

dataTypeOf :: ApplicationSource -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ApplicationSource Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

Show ApplicationSource Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

Generic ApplicationSource Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

Associated Types

type Rep ApplicationSource :: Type -> Type #

Hashable ApplicationSource Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

ToJSON ApplicationSource Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

FromJSON ApplicationSource Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

NFData ApplicationSource Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

Methods

rnf :: ApplicationSource -> () #

type Rep ApplicationSource Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

type Rep ApplicationSource = D1 (MetaData "ApplicationSource" "Network.AWS.AutoScalingPlans.Types.Product" "amazonka-autoscaling-plans-1.6.1-3rcFdmqTtPU4fbtBlqlD3N" False) (C1 (MetaCons "ApplicationSource'" PrefixI True) (S1 (MetaSel (Just "_asTagFilters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [TagFilter])) :*: S1 (MetaSel (Just "_asCloudFormationStackARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))

applicationSource :: ApplicationSource Source #

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

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

asTagFilters :: Lens' ApplicationSource [TagFilter] Source #

A set of tags (up to 50).

asCloudFormationStackARN :: Lens' ApplicationSource (Maybe Text) Source #

The Amazon Resource Name (ARN) of a CloudFormation stack.

CustomizedScalingMetricSpecification

data CustomizedScalingMetricSpecification Source #

Represents a customized metric for a target tracking policy.

See: customizedScalingMetricSpecification smart constructor.

Instances
Eq CustomizedScalingMetricSpecification Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

Data CustomizedScalingMetricSpecification Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

Methods

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

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

toConstr :: CustomizedScalingMetricSpecification -> Constr #

dataTypeOf :: CustomizedScalingMetricSpecification -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CustomizedScalingMetricSpecification Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

Show CustomizedScalingMetricSpecification Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

Generic CustomizedScalingMetricSpecification Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

Hashable CustomizedScalingMetricSpecification Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

ToJSON CustomizedScalingMetricSpecification Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

FromJSON CustomizedScalingMetricSpecification Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

NFData CustomizedScalingMetricSpecification Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

type Rep CustomizedScalingMetricSpecification Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

type Rep CustomizedScalingMetricSpecification = D1 (MetaData "CustomizedScalingMetricSpecification" "Network.AWS.AutoScalingPlans.Types.Product" "amazonka-autoscaling-plans-1.6.1-3rcFdmqTtPU4fbtBlqlD3N" False) (C1 (MetaCons "CustomizedScalingMetricSpecification'" PrefixI True) ((S1 (MetaSel (Just "_csmsDimensions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [MetricDimension])) :*: S1 (MetaSel (Just "_csmsUnit") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_csmsMetricName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_csmsNamespace") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_csmsStatistic") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 MetricStatistic)))))

customizedScalingMetricSpecification Source #

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

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

MetricDimension

data MetricDimension Source #

Represents a dimension for a customized metric.

See: metricDimension smart constructor.

Instances
Eq MetricDimension Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

Data MetricDimension Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

Methods

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

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

toConstr :: MetricDimension -> Constr #

dataTypeOf :: MetricDimension -> DataType #

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

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

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

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

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

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

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

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

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

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

Read MetricDimension Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

Show MetricDimension Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

Generic MetricDimension Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

Associated Types

type Rep MetricDimension :: Type -> Type #

Hashable MetricDimension Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

ToJSON MetricDimension Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

FromJSON MetricDimension Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

NFData MetricDimension Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

Methods

rnf :: MetricDimension -> () #

type Rep MetricDimension Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

type Rep MetricDimension = D1 (MetaData "MetricDimension" "Network.AWS.AutoScalingPlans.Types.Product" "amazonka-autoscaling-plans-1.6.1-3rcFdmqTtPU4fbtBlqlD3N" False) (C1 (MetaCons "MetricDimension'" PrefixI True) (S1 (MetaSel (Just "_mdName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_mdValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))

metricDimension Source #

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

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

  • mdName - The name of the dimension.
  • mdValue - The value of the dimension.

mdName :: Lens' MetricDimension Text Source #

The name of the dimension.

mdValue :: Lens' MetricDimension Text Source #

The value of the dimension.

PredefinedScalingMetricSpecification

data PredefinedScalingMetricSpecification Source #

Represents a predefined metric for a target tracking policy.

See: predefinedScalingMetricSpecification smart constructor.

Instances
Eq PredefinedScalingMetricSpecification Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

Data PredefinedScalingMetricSpecification Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

Methods

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

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

toConstr :: PredefinedScalingMetricSpecification -> Constr #

dataTypeOf :: PredefinedScalingMetricSpecification -> DataType #

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

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

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

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

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

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

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

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

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

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

Read PredefinedScalingMetricSpecification Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

Show PredefinedScalingMetricSpecification Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

Generic PredefinedScalingMetricSpecification Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

Hashable PredefinedScalingMetricSpecification Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

ToJSON PredefinedScalingMetricSpecification Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

FromJSON PredefinedScalingMetricSpecification Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

NFData PredefinedScalingMetricSpecification Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

type Rep PredefinedScalingMetricSpecification Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

type Rep PredefinedScalingMetricSpecification = D1 (MetaData "PredefinedScalingMetricSpecification" "Network.AWS.AutoScalingPlans.Types.Product" "amazonka-autoscaling-plans-1.6.1-3rcFdmqTtPU4fbtBlqlD3N" False) (C1 (MetaCons "PredefinedScalingMetricSpecification'" PrefixI True) (S1 (MetaSel (Just "_psmsResourceLabel") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_psmsPredefinedScalingMetricType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ScalingMetricType)))

predefinedScalingMetricSpecification Source #

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

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

psmsResourceLabel :: Lens' PredefinedScalingMetricSpecification (Maybe Text) Source #

Identifies the resource associated with the metric type. You can't specify a resource label unless the metric type is ALBRequestCountPerTarget and there is a target group for an Application Load Balancer attached to the Auto Scaling group, Spot Fleet request, or ECS service. The format is appload-balancer-nameload-balancer-idtargetgrouptarget-group-nametarget-group-id, where: * appload-balancer-nameload-balancer-id is the final portion of the load balancer ARN * targetgrouptarget-group-name/target-group-id is the final portion of the target group ARN.

psmsPredefinedScalingMetricType :: Lens' PredefinedScalingMetricSpecification ScalingMetricType Source #

The metric type. The ALBRequestCountPerTarget metric type applies only to Auto Scaling groups, Sport Fleet requests, and ECS services.

ScalingInstruction

data ScalingInstruction Source #

Specifies the scaling configuration for a scalable resource.

See: scalingInstruction smart constructor.

Instances
Eq ScalingInstruction Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

Data ScalingInstruction Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

Methods

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

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

toConstr :: ScalingInstruction -> Constr #

dataTypeOf :: ScalingInstruction -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ScalingInstruction Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

Show ScalingInstruction Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

Generic ScalingInstruction Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

Associated Types

type Rep ScalingInstruction :: Type -> Type #

Hashable ScalingInstruction Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

ToJSON ScalingInstruction Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

FromJSON ScalingInstruction Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

NFData ScalingInstruction Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

Methods

rnf :: ScalingInstruction -> () #

type Rep ScalingInstruction Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

type Rep ScalingInstruction = D1 (MetaData "ScalingInstruction" "Network.AWS.AutoScalingPlans.Types.Product" "amazonka-autoscaling-plans-1.6.1-3rcFdmqTtPU4fbtBlqlD3N" False) (C1 (MetaCons "ScalingInstruction'" PrefixI True) ((S1 (MetaSel (Just "_siServiceNamespace") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ServiceNamespace) :*: (S1 (MetaSel (Just "_siResourceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_siScalableDimension") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ScalableDimension))) :*: (S1 (MetaSel (Just "_siMinCapacity") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int) :*: (S1 (MetaSel (Just "_siMaxCapacity") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int) :*: S1 (MetaSel (Just "_siTargetTrackingConfigurations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [TargetTrackingConfiguration])))))

scalingInstruction Source #

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

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

  • siServiceNamespace - The namespace of the AWS service.
  • siResourceId - The ID of the resource. This string consists of the resource type and unique identifier. * Auto Scaling group - The resource type is autoScalingGroup and the unique identifier is the name of the Auto Scaling group. Example: autoScalingGroup/my-asg . * ECS service - The resource type is service and the unique identifier is the cluster name and service name. Example: servicedefaultsample-webapp . * Spot fleet request - The resource type is spot-fleet-request and the unique identifier is the Spot fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE . * DynamoDB table - The resource type is table and the unique identifier is the resource ID. Example: table/my-table . * DynamoDB global secondary index - The resource type is index and the unique identifier is the resource ID. Example: tablemy-tableindex/my-table-index . * Aurora DB cluster - The resource type is cluster and the unique identifier is the cluster name. Example: cluster:my-db-cluster .
  • siScalableDimension - The scalable dimension associated with the resource. * autoscaling:autoScalingGroup:DesiredCapacity - The desired capacity of an Auto Scaling group. * ecs:service:DesiredCount - The desired task count of an ECS service. * ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot fleet request. * dynamodb:table:ReadCapacityUnits - The provisioned read capacity for a DynamoDB table. * dynamodb:table:WriteCapacityUnits - The provisioned write capacity for a DynamoDB table. * dynamodb:index:ReadCapacityUnits - The provisioned read capacity for a DynamoDB global secondary index. * dynamodb:index:WriteCapacityUnits - The provisioned write capacity for a DynamoDB global secondary index. * rds:cluster:ReadReplicaCount - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition.
  • siMinCapacity - The minimum value to scale to in response to a scale in event.
  • siMaxCapacity - The maximum value to scale to in response to a scale out event.
  • siTargetTrackingConfigurations - The target tracking scaling policies (up to 10).

siResourceId :: Lens' ScalingInstruction Text Source #

The ID of the resource. This string consists of the resource type and unique identifier. * Auto Scaling group - The resource type is autoScalingGroup and the unique identifier is the name of the Auto Scaling group. Example: autoScalingGroup/my-asg . * ECS service - The resource type is service and the unique identifier is the cluster name and service name. Example: servicedefaultsample-webapp . * Spot fleet request - The resource type is spot-fleet-request and the unique identifier is the Spot fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE . * DynamoDB table - The resource type is table and the unique identifier is the resource ID. Example: table/my-table . * DynamoDB global secondary index - The resource type is index and the unique identifier is the resource ID. Example: tablemy-tableindex/my-table-index . * Aurora DB cluster - The resource type is cluster and the unique identifier is the cluster name. Example: cluster:my-db-cluster .

siScalableDimension :: Lens' ScalingInstruction ScalableDimension Source #

The scalable dimension associated with the resource. * autoscaling:autoScalingGroup:DesiredCapacity - The desired capacity of an Auto Scaling group. * ecs:service:DesiredCount - The desired task count of an ECS service. * ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot fleet request. * dynamodb:table:ReadCapacityUnits - The provisioned read capacity for a DynamoDB table. * dynamodb:table:WriteCapacityUnits - The provisioned write capacity for a DynamoDB table. * dynamodb:index:ReadCapacityUnits - The provisioned read capacity for a DynamoDB global secondary index. * dynamodb:index:WriteCapacityUnits - The provisioned write capacity for a DynamoDB global secondary index. * rds:cluster:ReadReplicaCount - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition.

siMinCapacity :: Lens' ScalingInstruction Int Source #

The minimum value to scale to in response to a scale in event.

siMaxCapacity :: Lens' ScalingInstruction Int Source #

The maximum value to scale to in response to a scale out event.

siTargetTrackingConfigurations :: Lens' ScalingInstruction [TargetTrackingConfiguration] Source #

The target tracking scaling policies (up to 10).

ScalingPlan

data ScalingPlan Source #

Represents a scaling plan.

See: scalingPlan smart constructor.

Instances
Eq ScalingPlan Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

Data ScalingPlan Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

Methods

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

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

toConstr :: ScalingPlan -> Constr #

dataTypeOf :: ScalingPlan -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ScalingPlan Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

Show ScalingPlan Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

Generic ScalingPlan Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

Associated Types

type Rep ScalingPlan :: Type -> Type #

Hashable ScalingPlan Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

FromJSON ScalingPlan Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

NFData ScalingPlan Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

Methods

rnf :: ScalingPlan -> () #

type Rep ScalingPlan Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

type Rep ScalingPlan = D1 (MetaData "ScalingPlan" "Network.AWS.AutoScalingPlans.Types.Product" "amazonka-autoscaling-plans-1.6.1-3rcFdmqTtPU4fbtBlqlD3N" False) (C1 (MetaCons "ScalingPlan'" PrefixI True) (((S1 (MetaSel (Just "_spCreationTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 (MetaSel (Just "_spStatusStartTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 (MetaSel (Just "_spStatusMessage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_spScalingPlanName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) :*: ((S1 (MetaSel (Just "_spScalingPlanVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Integer) :*: S1 (MetaSel (Just "_spApplicationSource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ApplicationSource)) :*: (S1 (MetaSel (Just "_spScalingInstructions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [ScalingInstruction]) :*: S1 (MetaSel (Just "_spStatusCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ScalingPlanStatusCode)))))

scalingPlan Source #

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

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

  • spCreationTime - The Unix timestamp when the scaling plan was created.
  • spStatusStartTime - The Unix timestamp when the scaling plan entered the current status.
  • spStatusMessage - A simple message about the current status of the scaling plan.
  • spScalingPlanName - The name of the scaling plan.
  • spScalingPlanVersion - The version of the scaling plan.
  • spApplicationSource - The application source.
  • spScalingInstructions - The scaling instructions.
  • spStatusCode - The status of the scaling plan. * Active - The scaling plan is active. * ActiveWithProblems - The scaling plan is active, but the scaling configuration for one or more resources could not be applied. * CreationInProgress - The scaling plan is being created. * CreationFailed - The scaling plan could not be created. * DeletionInProgress - The scaling plan is being deleted. * DeletionFailed - The scaling plan could not be deleted.

spCreationTime :: Lens' ScalingPlan (Maybe UTCTime) Source #

The Unix timestamp when the scaling plan was created.

spStatusStartTime :: Lens' ScalingPlan (Maybe UTCTime) Source #

The Unix timestamp when the scaling plan entered the current status.

spStatusMessage :: Lens' ScalingPlan (Maybe Text) Source #

A simple message about the current status of the scaling plan.

spScalingPlanName :: Lens' ScalingPlan Text Source #

The name of the scaling plan.

spScalingPlanVersion :: Lens' ScalingPlan Integer Source #

The version of the scaling plan.

spStatusCode :: Lens' ScalingPlan ScalingPlanStatusCode Source #

The status of the scaling plan. * Active - The scaling plan is active. * ActiveWithProblems - The scaling plan is active, but the scaling configuration for one or more resources could not be applied. * CreationInProgress - The scaling plan is being created. * CreationFailed - The scaling plan could not be created. * DeletionInProgress - The scaling plan is being deleted. * DeletionFailed - The scaling plan could not be deleted.

ScalingPlanResource

data ScalingPlanResource Source #

Represents a scalable resource.

See: scalingPlanResource smart constructor.

Instances
Eq ScalingPlanResource Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

Data ScalingPlanResource Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

Methods

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

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

toConstr :: ScalingPlanResource -> Constr #

dataTypeOf :: ScalingPlanResource -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ScalingPlanResource Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

Show ScalingPlanResource Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

Generic ScalingPlanResource Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

Associated Types

type Rep ScalingPlanResource :: Type -> Type #

Hashable ScalingPlanResource Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

FromJSON ScalingPlanResource Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

NFData ScalingPlanResource Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

Methods

rnf :: ScalingPlanResource -> () #

type Rep ScalingPlanResource Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

type Rep ScalingPlanResource = D1 (MetaData "ScalingPlanResource" "Network.AWS.AutoScalingPlans.Types.Product" "amazonka-autoscaling-plans-1.6.1-3rcFdmqTtPU4fbtBlqlD3N" False) (C1 (MetaCons "ScalingPlanResource'" PrefixI True) (((S1 (MetaSel (Just "_sprScalingStatusMessage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_sprScalingPolicies") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ScalingPolicy]))) :*: (S1 (MetaSel (Just "_sprScalingPlanName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_sprScalingPlanVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Integer))) :*: ((S1 (MetaSel (Just "_sprServiceNamespace") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ServiceNamespace) :*: S1 (MetaSel (Just "_sprResourceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_sprScalableDimension") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ScalableDimension) :*: S1 (MetaSel (Just "_sprScalingStatusCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ScalingStatusCode)))))

scalingPlanResource Source #

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

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

  • sprScalingStatusMessage - A simple message about the current scaling status of the resource.
  • sprScalingPolicies - The scaling policies.
  • sprScalingPlanName - The name of the scaling plan.
  • sprScalingPlanVersion - The version of the scaling plan.
  • sprServiceNamespace - The namespace of the AWS service.
  • sprResourceId - The ID of the resource. This string consists of the resource type and unique identifier. * Auto Scaling group - The resource type is autoScalingGroup and the unique identifier is the name of the Auto Scaling group. Example: autoScalingGroup/my-asg . * ECS service - The resource type is service and the unique identifier is the cluster name and service name. Example: servicedefaultsample-webapp . * Spot fleet request - The resource type is spot-fleet-request and the unique identifier is the Spot fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE . * DynamoDB table - The resource type is table and the unique identifier is the resource ID. Example: table/my-table . * DynamoDB global secondary index - The resource type is index and the unique identifier is the resource ID. Example: tablemy-tableindex/my-table-index . * Aurora DB cluster - The resource type is cluster and the unique identifier is the cluster name. Example: cluster:my-db-cluster .
  • sprScalableDimension - The scalable dimension for the resource. * autoscaling:autoScalingGroup:DesiredCapacity - The desired capacity of an Auto Scaling group. * ecs:service:DesiredCount - The desired task count of an ECS service. * ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot fleet request. * dynamodb:table:ReadCapacityUnits - The provisioned read capacity for a DynamoDB table. * dynamodb:table:WriteCapacityUnits - The provisioned write capacity for a DynamoDB table. * dynamodb:index:ReadCapacityUnits - The provisioned read capacity for a DynamoDB global secondary index. * dynamodb:index:WriteCapacityUnits - The provisioned write capacity for a DynamoDB global secondary index. * rds:cluster:ReadReplicaCount - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition.
  • sprScalingStatusCode - The scaling status of the resource. * Active - The scaling configuration is active. * Inactive - The scaling configuration is not active because the scaling plan is being created or the scaling configuration could not be applied. Check the status message for more information. * PartiallyActive - The scaling configuration is partially active because the scaling plan is being created or deleted or the scaling configuration could not be fully applied. Check the status message for more information.

sprScalingStatusMessage :: Lens' ScalingPlanResource (Maybe Text) Source #

A simple message about the current scaling status of the resource.

sprScalingPlanName :: Lens' ScalingPlanResource Text Source #

The name of the scaling plan.

sprScalingPlanVersion :: Lens' ScalingPlanResource Integer Source #

The version of the scaling plan.

sprResourceId :: Lens' ScalingPlanResource Text Source #

The ID of the resource. This string consists of the resource type and unique identifier. * Auto Scaling group - The resource type is autoScalingGroup and the unique identifier is the name of the Auto Scaling group. Example: autoScalingGroup/my-asg . * ECS service - The resource type is service and the unique identifier is the cluster name and service name. Example: servicedefaultsample-webapp . * Spot fleet request - The resource type is spot-fleet-request and the unique identifier is the Spot fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE . * DynamoDB table - The resource type is table and the unique identifier is the resource ID. Example: table/my-table . * DynamoDB global secondary index - The resource type is index and the unique identifier is the resource ID. Example: tablemy-tableindex/my-table-index . * Aurora DB cluster - The resource type is cluster and the unique identifier is the cluster name. Example: cluster:my-db-cluster .

sprScalableDimension :: Lens' ScalingPlanResource ScalableDimension Source #

The scalable dimension for the resource. * autoscaling:autoScalingGroup:DesiredCapacity - The desired capacity of an Auto Scaling group. * ecs:service:DesiredCount - The desired task count of an ECS service. * ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot fleet request. * dynamodb:table:ReadCapacityUnits - The provisioned read capacity for a DynamoDB table. * dynamodb:table:WriteCapacityUnits - The provisioned write capacity for a DynamoDB table. * dynamodb:index:ReadCapacityUnits - The provisioned read capacity for a DynamoDB global secondary index. * dynamodb:index:WriteCapacityUnits - The provisioned write capacity for a DynamoDB global secondary index. * rds:cluster:ReadReplicaCount - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition.

sprScalingStatusCode :: Lens' ScalingPlanResource ScalingStatusCode Source #

The scaling status of the resource. * Active - The scaling configuration is active. * Inactive - The scaling configuration is not active because the scaling plan is being created or the scaling configuration could not be applied. Check the status message for more information. * PartiallyActive - The scaling configuration is partially active because the scaling plan is being created or deleted or the scaling configuration could not be fully applied. Check the status message for more information.

ScalingPolicy

data ScalingPolicy Source #

Represents a scaling policy.

See: scalingPolicy smart constructor.

Instances
Eq ScalingPolicy Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

Data ScalingPolicy Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

Methods

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

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

toConstr :: ScalingPolicy -> Constr #

dataTypeOf :: ScalingPolicy -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ScalingPolicy Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

Show ScalingPolicy Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

Generic ScalingPolicy Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

Associated Types

type Rep ScalingPolicy :: Type -> Type #

Hashable ScalingPolicy Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

FromJSON ScalingPolicy Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

NFData ScalingPolicy Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

Methods

rnf :: ScalingPolicy -> () #

type Rep ScalingPolicy Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

type Rep ScalingPolicy = D1 (MetaData "ScalingPolicy" "Network.AWS.AutoScalingPlans.Types.Product" "amazonka-autoscaling-plans-1.6.1-3rcFdmqTtPU4fbtBlqlD3N" False) (C1 (MetaCons "ScalingPolicy'" PrefixI True) (S1 (MetaSel (Just "_spTargetTrackingConfiguration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe TargetTrackingConfiguration)) :*: (S1 (MetaSel (Just "_spPolicyName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_spPolicyType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 PolicyType))))

scalingPolicy Source #

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

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

spPolicyName :: Lens' ScalingPolicy Text Source #

The name of the scaling policy.

spPolicyType :: Lens' ScalingPolicy PolicyType Source #

The type of scaling policy.

TagFilter

data TagFilter Source #

Represents a tag.

See: tagFilter smart constructor.

Instances
Eq TagFilter Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

Data TagFilter Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

Methods

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

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

toConstr :: TagFilter -> Constr #

dataTypeOf :: TagFilter -> DataType #

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

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

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

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

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

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

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

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

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

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

Read TagFilter Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

Show TagFilter Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

Generic TagFilter Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

Associated Types

type Rep TagFilter :: Type -> Type #

Hashable TagFilter Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

ToJSON TagFilter Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

FromJSON TagFilter Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

NFData TagFilter Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

Methods

rnf :: TagFilter -> () #

type Rep TagFilter Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

type Rep TagFilter = D1 (MetaData "TagFilter" "Network.AWS.AutoScalingPlans.Types.Product" "amazonka-autoscaling-plans-1.6.1-3rcFdmqTtPU4fbtBlqlD3N" False) (C1 (MetaCons "TagFilter'" PrefixI True) (S1 (MetaSel (Just "_tfValues") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 (MetaSel (Just "_tfKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))

tagFilter :: TagFilter Source #

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

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

tfValues :: Lens' TagFilter [Text] Source #

The tag values (0 to 20).

TargetTrackingConfiguration

data TargetTrackingConfiguration Source #

Represents a target tracking scaling policy.

See: targetTrackingConfiguration smart constructor.

Instances
Eq TargetTrackingConfiguration Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

Data TargetTrackingConfiguration Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

Methods

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

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

toConstr :: TargetTrackingConfiguration -> Constr #

dataTypeOf :: TargetTrackingConfiguration -> DataType #

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

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

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

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

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

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

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

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

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

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

Read TargetTrackingConfiguration Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

Show TargetTrackingConfiguration Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

Generic TargetTrackingConfiguration Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

Associated Types

type Rep TargetTrackingConfiguration :: Type -> Type #

Hashable TargetTrackingConfiguration Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

ToJSON TargetTrackingConfiguration Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

FromJSON TargetTrackingConfiguration Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

NFData TargetTrackingConfiguration Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

type Rep TargetTrackingConfiguration Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.Types.Product

type Rep TargetTrackingConfiguration = D1 (MetaData "TargetTrackingConfiguration" "Network.AWS.AutoScalingPlans.Types.Product" "amazonka-autoscaling-plans-1.6.1-3rcFdmqTtPU4fbtBlqlD3N" False) (C1 (MetaCons "TargetTrackingConfiguration'" PrefixI True) ((S1 (MetaSel (Just "_ttcEstimatedInstanceWarmup") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 (MetaSel (Just "_ttcPredefinedScalingMetricSpecification") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe PredefinedScalingMetricSpecification)) :*: S1 (MetaSel (Just "_ttcScaleInCooldown") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)))) :*: ((S1 (MetaSel (Just "_ttcDisableScaleIn") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_ttcCustomizedScalingMetricSpecification") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe CustomizedScalingMetricSpecification))) :*: (S1 (MetaSel (Just "_ttcScaleOutCooldown") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)) :*: S1 (MetaSel (Just "_ttcTargetValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Double)))))

targetTrackingConfiguration Source #

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

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

  • ttcEstimatedInstanceWarmup - The estimated time, in seconds, until a newly launched instance can contribute to the CloudWatch metrics. This value is used only if the resource is an Auto Scaling group.
  • ttcPredefinedScalingMetricSpecification - A predefined metric.
  • ttcScaleInCooldown - The amount of time, in seconds, after a scale in activity completes before another scale in activity can start. This value is not used if the scalable resource is an Auto Scaling group. The cooldown period is used to block subsequent scale in requests until it has expired. The intention is to scale in conservatively to protect your application's availability. However, if another alarm triggers a scale out policy during the cooldown period after a scale-in, AWS Auto Scaling scales out your scalable target immediately.
  • ttcDisableScaleIn - Indicates whether scale in by the target tracking policy is disabled. If the value is true , scale in is disabled and the target tracking policy won't remove capacity from the scalable resource. Otherwise, scale in is enabled and the target tracking policy can remove capacity from the scalable resource. The default value is false .
  • ttcCustomizedScalingMetricSpecification - A customized metric.
  • ttcScaleOutCooldown - The amount of time, in seconds, after a scale out activity completes before another scale out activity can start. This value is not used if the scalable resource is an Auto Scaling group. While the cooldown period is in effect, the capacity that has been added by the previous scale out event that initiated the cooldown is calculated as part of the desired capacity for the next scale out. The intention is to continuously (but not excessively) scale out.
  • ttcTargetValue - The target value for the metric. The range is 8.515920e-109 to 1.174271e+108 (Base 10) or 2e-360 to 2e360 (Base 2).

ttcEstimatedInstanceWarmup :: Lens' TargetTrackingConfiguration (Maybe Int) Source #

The estimated time, in seconds, until a newly launched instance can contribute to the CloudWatch metrics. This value is used only if the resource is an Auto Scaling group.

ttcScaleInCooldown :: Lens' TargetTrackingConfiguration (Maybe Int) Source #

The amount of time, in seconds, after a scale in activity completes before another scale in activity can start. This value is not used if the scalable resource is an Auto Scaling group. The cooldown period is used to block subsequent scale in requests until it has expired. The intention is to scale in conservatively to protect your application's availability. However, if another alarm triggers a scale out policy during the cooldown period after a scale-in, AWS Auto Scaling scales out your scalable target immediately.

ttcDisableScaleIn :: Lens' TargetTrackingConfiguration (Maybe Bool) Source #

Indicates whether scale in by the target tracking policy is disabled. If the value is true , scale in is disabled and the target tracking policy won't remove capacity from the scalable resource. Otherwise, scale in is enabled and the target tracking policy can remove capacity from the scalable resource. The default value is false .

ttcScaleOutCooldown :: Lens' TargetTrackingConfiguration (Maybe Int) Source #

The amount of time, in seconds, after a scale out activity completes before another scale out activity can start. This value is not used if the scalable resource is an Auto Scaling group. While the cooldown period is in effect, the capacity that has been added by the previous scale out event that initiated the cooldown is calculated as part of the desired capacity for the next scale out. The intention is to continuously (but not excessively) scale out.

ttcTargetValue :: Lens' TargetTrackingConfiguration Double Source #

The target value for the metric. The range is 8.515920e-109 to 1.174271e+108 (Base 10) or 2e-360 to 2e360 (Base 2).