amazonka-autoscaling-plans-1.6.0: 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 # 
Enum MetricStatistic Source # 
Eq MetricStatistic Source # 
Data MetricStatistic Source # 

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 # 
Read MetricStatistic Source # 
Show MetricStatistic Source # 
Generic MetricStatistic Source # 
Hashable MetricStatistic Source # 
ToJSON MetricStatistic Source # 
FromJSON MetricStatistic Source # 
NFData MetricStatistic Source # 

Methods

rnf :: MetricStatistic -> () #

ToHeader MetricStatistic Source # 
ToQuery MetricStatistic Source # 
ToByteString MetricStatistic Source # 
FromText MetricStatistic Source # 
ToText MetricStatistic Source # 
type Rep MetricStatistic Source # 
type Rep MetricStatistic = D1 * (MetaData "MetricStatistic" "Network.AWS.AutoScalingPlans.Types.Sum" "amazonka-autoscaling-plans-1.6.0-Hfib0l7BxANKcO5yWXZyyN" False) ((:+:) * ((:+:) * (C1 * (MetaCons "Average" PrefixI False) (U1 *)) (C1 * (MetaCons "Maximum" PrefixI False) (U1 *))) ((:+:) * (C1 * (MetaCons "Minimum" PrefixI False) (U1 *)) ((:+:) * (C1 * (MetaCons "SampleCount" PrefixI False) (U1 *)) (C1 * (MetaCons "Sum" PrefixI False) (U1 *)))))

PolicyType

data PolicyType Source #

Constructors

TargetTrackingScaling 

Instances

Bounded PolicyType Source # 
Enum PolicyType Source # 
Eq PolicyType Source # 
Data PolicyType Source # 

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 # 
Read PolicyType Source # 
Show PolicyType Source # 
Generic PolicyType Source # 

Associated Types

type Rep PolicyType :: * -> * #

Hashable PolicyType Source # 
FromJSON PolicyType Source # 
NFData PolicyType Source # 

Methods

rnf :: PolicyType -> () #

ToHeader PolicyType Source # 
ToQuery PolicyType Source # 
ToByteString PolicyType Source # 
FromText PolicyType Source # 
ToText PolicyType Source # 

Methods

toText :: PolicyType -> Text #

type Rep PolicyType Source # 
type Rep PolicyType = D1 * (MetaData "PolicyType" "Network.AWS.AutoScalingPlans.Types.Sum" "amazonka-autoscaling-plans-1.6.0-Hfib0l7BxANKcO5yWXZyyN" False) (C1 * (MetaCons "TargetTrackingScaling" PrefixI False) (U1 *))

ScalableDimension

data ScalableDimension Source #

Instances

Bounded ScalableDimension Source # 
Enum ScalableDimension Source # 
Eq ScalableDimension Source # 
Data ScalableDimension Source # 

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 # 
Read ScalableDimension Source # 
Show ScalableDimension Source # 
Generic ScalableDimension Source # 
Hashable ScalableDimension Source # 
ToJSON ScalableDimension Source # 
FromJSON ScalableDimension Source # 
NFData ScalableDimension Source # 

Methods

rnf :: ScalableDimension -> () #

ToHeader ScalableDimension Source # 
ToQuery ScalableDimension Source # 
ToByteString ScalableDimension Source # 
FromText ScalableDimension Source # 
ToText ScalableDimension Source # 
type Rep ScalableDimension Source # 
type Rep ScalableDimension = D1 * (MetaData "ScalableDimension" "Network.AWS.AutoScalingPlans.Types.Sum" "amazonka-autoscaling-plans-1.6.0-Hfib0l7BxANKcO5yWXZyyN" False) ((:+:) * ((:+:) * ((:+:) * (C1 * (MetaCons "AutoscalingAutoScalingGroupDesiredCapacity" PrefixI False) (U1 *)) (C1 * (MetaCons "DynamodbIndexReadCapacityUnits" PrefixI False) (U1 *))) ((:+:) * (C1 * (MetaCons "DynamodbIndexWriteCapacityUnits" PrefixI False) (U1 *)) (C1 * (MetaCons "DynamodbTableReadCapacityUnits" PrefixI False) (U1 *)))) ((:+:) * ((:+:) * (C1 * (MetaCons "DynamodbTableWriteCapacityUnits" PrefixI False) (U1 *)) (C1 * (MetaCons "EC2SpotFleetRequestTargetCapacity" PrefixI False) (U1 *))) ((:+:) * (C1 * (MetaCons "EcsServiceDesiredCount" PrefixI False) (U1 *)) (C1 * (MetaCons "RDSClusterReadReplicaCount" PrefixI False) (U1 *)))))

ScalingMetricType

data ScalingMetricType Source #

Instances

Bounded ScalingMetricType Source # 
Enum ScalingMetricType Source # 
Eq ScalingMetricType Source # 
Data ScalingMetricType Source # 

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 # 
Read ScalingMetricType Source # 
Show ScalingMetricType Source # 
Generic ScalingMetricType Source # 
Hashable ScalingMetricType Source # 
ToJSON ScalingMetricType Source # 
FromJSON ScalingMetricType Source # 
NFData ScalingMetricType Source # 

Methods

rnf :: ScalingMetricType -> () #

ToHeader ScalingMetricType Source # 
ToQuery ScalingMetricType Source # 
ToByteString ScalingMetricType Source # 
FromText ScalingMetricType Source # 
ToText ScalingMetricType Source # 
type Rep ScalingMetricType Source # 
type Rep ScalingMetricType = D1 * (MetaData "ScalingMetricType" "Network.AWS.AutoScalingPlans.Types.Sum" "amazonka-autoscaling-plans-1.6.0-Hfib0l7BxANKcO5yWXZyyN" False) ((:+:) * ((:+:) * ((:+:) * (C1 * (MetaCons "ALBRequestCountPerTarget" PrefixI False) (U1 *)) ((:+:) * (C1 * (MetaCons "ASGAverageCPUUtilization" PrefixI False) (U1 *)) (C1 * (MetaCons "ASGAverageNetworkIn" PrefixI False) (U1 *)))) ((:+:) * (C1 * (MetaCons "ASGAverageNetworkOut" PrefixI False) (U1 *)) ((:+:) * (C1 * (MetaCons "DynamoDBReadCapacityUtilization" PrefixI False) (U1 *)) (C1 * (MetaCons "DynamoDBWriteCapacityUtilization" PrefixI False) (U1 *))))) ((:+:) * ((:+:) * (C1 * (MetaCons "EC2SpotFleetRequestAverageCPUUtilization" PrefixI False) (U1 *)) ((:+:) * (C1 * (MetaCons "EC2SpotFleetRequestAverageNetworkIn" PrefixI False) (U1 *)) (C1 * (MetaCons "EC2SpotFleetRequestAverageNetworkOut" PrefixI False) (U1 *)))) ((:+:) * ((:+:) * (C1 * (MetaCons "ECSServiceAverageCPUUtilization" PrefixI False) (U1 *)) (C1 * (MetaCons "ECSServiceAverageMemoryUtilization" PrefixI False) (U1 *))) ((:+:) * (C1 * (MetaCons "RDSReaderAverageCPUUtilization" PrefixI False) (U1 *)) (C1 * (MetaCons "RDSReaderAverageDatabaseConnections" PrefixI False) (U1 *))))))

ScalingPlanStatusCode

data ScalingPlanStatusCode Source #

Instances

Bounded ScalingPlanStatusCode Source # 
Enum ScalingPlanStatusCode Source # 
Eq ScalingPlanStatusCode Source # 
Data ScalingPlanStatusCode Source # 

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 # 
Read ScalingPlanStatusCode Source # 
Show ScalingPlanStatusCode Source # 
Generic ScalingPlanStatusCode Source # 
Hashable ScalingPlanStatusCode Source # 
FromJSON ScalingPlanStatusCode Source # 
NFData ScalingPlanStatusCode Source # 

Methods

rnf :: ScalingPlanStatusCode -> () #

ToHeader ScalingPlanStatusCode Source # 
ToQuery ScalingPlanStatusCode Source # 
ToByteString ScalingPlanStatusCode Source # 
FromText ScalingPlanStatusCode Source # 
ToText ScalingPlanStatusCode Source # 
type Rep ScalingPlanStatusCode Source # 
type Rep ScalingPlanStatusCode = D1 * (MetaData "ScalingPlanStatusCode" "Network.AWS.AutoScalingPlans.Types.Sum" "amazonka-autoscaling-plans-1.6.0-Hfib0l7BxANKcO5yWXZyyN" False) ((:+:) * ((:+:) * ((:+:) * (C1 * (MetaCons "SPSCActive" PrefixI False) (U1 *)) (C1 * (MetaCons "SPSCActiveWithProblems" PrefixI False) (U1 *))) ((:+:) * (C1 * (MetaCons "SPSCCreationFailed" PrefixI False) (U1 *)) (C1 * (MetaCons "SPSCCreationInProgress" PrefixI False) (U1 *)))) ((:+:) * ((:+:) * (C1 * (MetaCons "SPSCDeletionFailed" PrefixI False) (U1 *)) (C1 * (MetaCons "SPSCDeletionInProgress" PrefixI False) (U1 *))) ((:+:) * (C1 * (MetaCons "SPSCUpdateFailed" PrefixI False) (U1 *)) (C1 * (MetaCons "SPSCUpdateInProgress" PrefixI False) (U1 *)))))

ScalingStatusCode

data ScalingStatusCode Source #

Instances

Bounded ScalingStatusCode Source # 
Enum ScalingStatusCode Source # 
Eq ScalingStatusCode Source # 
Data ScalingStatusCode Source # 

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 # 
Read ScalingStatusCode Source # 
Show ScalingStatusCode Source # 
Generic ScalingStatusCode Source # 
Hashable ScalingStatusCode Source # 
FromJSON ScalingStatusCode Source # 
NFData ScalingStatusCode Source # 

Methods

rnf :: ScalingStatusCode -> () #

ToHeader ScalingStatusCode Source # 
ToQuery ScalingStatusCode Source # 
ToByteString ScalingStatusCode Source # 
FromText ScalingStatusCode Source # 
ToText ScalingStatusCode Source # 
type Rep ScalingStatusCode Source # 
type Rep ScalingStatusCode = D1 * (MetaData "ScalingStatusCode" "Network.AWS.AutoScalingPlans.Types.Sum" "amazonka-autoscaling-plans-1.6.0-Hfib0l7BxANKcO5yWXZyyN" False) ((:+:) * (C1 * (MetaCons "Active" PrefixI False) (U1 *)) ((:+:) * (C1 * (MetaCons "Inactive" PrefixI False) (U1 *)) (C1 * (MetaCons "PartiallyActive" PrefixI False) (U1 *))))

ServiceNamespace

data ServiceNamespace Source #

Constructors

Autoscaling 
Dynamodb 
EC2 
Ecs 
RDS 

Instances

Bounded ServiceNamespace Source # 
Enum ServiceNamespace Source # 
Eq ServiceNamespace Source # 
Data ServiceNamespace Source # 

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 # 
Read ServiceNamespace Source # 
Show ServiceNamespace Source # 
Generic ServiceNamespace Source # 
Hashable ServiceNamespace Source # 
ToJSON ServiceNamespace Source # 
FromJSON ServiceNamespace Source # 
NFData ServiceNamespace Source # 

Methods

rnf :: ServiceNamespace -> () #

ToHeader ServiceNamespace Source # 
ToQuery ServiceNamespace Source # 
ToByteString ServiceNamespace Source # 
FromText ServiceNamespace Source # 
ToText ServiceNamespace Source # 
type Rep ServiceNamespace Source # 
type Rep ServiceNamespace = D1 * (MetaData "ServiceNamespace" "Network.AWS.AutoScalingPlans.Types.Sum" "amazonka-autoscaling-plans-1.6.0-Hfib0l7BxANKcO5yWXZyyN" False) ((:+:) * ((:+:) * (C1 * (MetaCons "Autoscaling" PrefixI False) (U1 *)) (C1 * (MetaCons "Dynamodb" PrefixI False) (U1 *))) ((:+:) * (C1 * (MetaCons "EC2" PrefixI False) (U1 *)) ((:+:) * (C1 * (MetaCons "Ecs" PrefixI False) (U1 *)) (C1 * (MetaCons "RDS" PrefixI False) (U1 *)))))

ApplicationSource

data ApplicationSource Source #

Represents an application source.

See: applicationSource smart constructor.

Instances

Eq ApplicationSource Source # 
Data ApplicationSource Source # 

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 # 
Show ApplicationSource Source # 
Generic ApplicationSource Source # 
Hashable ApplicationSource Source # 
ToJSON ApplicationSource Source # 
FromJSON ApplicationSource Source # 
NFData ApplicationSource Source # 

Methods

rnf :: ApplicationSource -> () #

type Rep ApplicationSource Source # 
type Rep ApplicationSource = D1 * (MetaData "ApplicationSource" "Network.AWS.AutoScalingPlans.Types.Product" "amazonka-autoscaling-plans-1.6.0-Hfib0l7BxANKcO5yWXZyyN" False) (C1 * (MetaCons "ApplicationSource'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_asTagFilters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [TagFilter]))) (S1 * (MetaSel (Just Symbol "_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 # 
Data CustomizedScalingMetricSpecification Source # 

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 # 
Show CustomizedScalingMetricSpecification Source # 
Generic CustomizedScalingMetricSpecification Source # 
Hashable CustomizedScalingMetricSpecification Source # 
ToJSON CustomizedScalingMetricSpecification Source # 
FromJSON CustomizedScalingMetricSpecification Source # 
NFData CustomizedScalingMetricSpecification Source # 
type Rep CustomizedScalingMetricSpecification Source # 
type Rep CustomizedScalingMetricSpecification = D1 * (MetaData "CustomizedScalingMetricSpecification" "Network.AWS.AutoScalingPlans.Types.Product" "amazonka-autoscaling-plans-1.6.0-Hfib0l7BxANKcO5yWXZyyN" False) (C1 * (MetaCons "CustomizedScalingMetricSpecification'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_csmsDimensions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [MetricDimension]))) (S1 * (MetaSel (Just Symbol "_csmsUnit") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_csmsMetricName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) ((:*:) * (S1 * (MetaSel (Just Symbol "_csmsNamespace") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_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 # 
Data MetricDimension Source # 

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 # 
Show MetricDimension Source # 
Generic MetricDimension Source # 
Hashable MetricDimension Source # 
ToJSON MetricDimension Source # 
FromJSON MetricDimension Source # 
NFData MetricDimension Source # 

Methods

rnf :: MetricDimension -> () #

type Rep MetricDimension Source # 
type Rep MetricDimension = D1 * (MetaData "MetricDimension" "Network.AWS.AutoScalingPlans.Types.Product" "amazonka-autoscaling-plans-1.6.0-Hfib0l7BxANKcO5yWXZyyN" False) (C1 * (MetaCons "MetricDimension'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_mdName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_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 # 
Data PredefinedScalingMetricSpecification Source # 

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 # 
Show PredefinedScalingMetricSpecification Source # 
Generic PredefinedScalingMetricSpecification Source # 
Hashable PredefinedScalingMetricSpecification Source # 
ToJSON PredefinedScalingMetricSpecification Source # 
FromJSON PredefinedScalingMetricSpecification Source # 
NFData PredefinedScalingMetricSpecification Source # 
type Rep PredefinedScalingMetricSpecification Source # 
type Rep PredefinedScalingMetricSpecification = D1 * (MetaData "PredefinedScalingMetricSpecification" "Network.AWS.AutoScalingPlans.Types.Product" "amazonka-autoscaling-plans-1.6.0-Hfib0l7BxANKcO5yWXZyyN" False) (C1 * (MetaCons "PredefinedScalingMetricSpecification'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_psmsResourceLabel") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_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 # 
Data ScalingInstruction Source # 

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 # 
Show ScalingInstruction Source # 
Generic ScalingInstruction Source # 
Hashable ScalingInstruction Source # 
ToJSON ScalingInstruction Source # 
FromJSON ScalingInstruction Source # 
NFData ScalingInstruction Source # 

Methods

rnf :: ScalingInstruction -> () #

type Rep ScalingInstruction Source # 
type Rep ScalingInstruction = D1 * (MetaData "ScalingInstruction" "Network.AWS.AutoScalingPlans.Types.Product" "amazonka-autoscaling-plans-1.6.0-Hfib0l7BxANKcO5yWXZyyN" False) (C1 * (MetaCons "ScalingInstruction'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_siServiceNamespace") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * ServiceNamespace)) ((:*:) * (S1 * (MetaSel (Just Symbol "_siResourceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_siScalableDimension") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * ScalableDimension)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_siMinCapacity") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)) ((:*:) * (S1 * (MetaSel (Just Symbol "_siMaxCapacity") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)) (S1 * (MetaSel (Just Symbol "_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 # 
Data ScalingPlan Source # 

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 # 
Show ScalingPlan Source # 
Generic ScalingPlan Source # 

Associated Types

type Rep ScalingPlan :: * -> * #

Hashable ScalingPlan Source # 
FromJSON ScalingPlan Source # 
NFData ScalingPlan Source # 

Methods

rnf :: ScalingPlan -> () #

type Rep ScalingPlan Source # 
type Rep ScalingPlan = D1 * (MetaData "ScalingPlan" "Network.AWS.AutoScalingPlans.Types.Product" "amazonka-autoscaling-plans-1.6.0-Hfib0l7BxANKcO5yWXZyyN" False) (C1 * (MetaCons "ScalingPlan'" PrefixI True) ((:*:) * ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_spCreationTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe POSIX))) (S1 * (MetaSel (Just Symbol "_spStatusStartTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe POSIX)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_spStatusMessage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_spScalingPlanName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)))) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_spScalingPlanVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Integer)) (S1 * (MetaSel (Just Symbol "_spApplicationSource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * ApplicationSource))) ((:*:) * (S1 * (MetaSel (Just Symbol "_spScalingInstructions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * [ScalingInstruction])) (S1 * (MetaSel (Just Symbol "_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 # 
Data ScalingPlanResource Source # 

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 # 
Show ScalingPlanResource Source # 
Generic ScalingPlanResource Source # 
Hashable ScalingPlanResource Source # 
FromJSON ScalingPlanResource Source # 
NFData ScalingPlanResource Source # 

Methods

rnf :: ScalingPlanResource -> () #

type Rep ScalingPlanResource Source # 
type Rep ScalingPlanResource = D1 * (MetaData "ScalingPlanResource" "Network.AWS.AutoScalingPlans.Types.Product" "amazonka-autoscaling-plans-1.6.0-Hfib0l7BxANKcO5yWXZyyN" False) (C1 * (MetaCons "ScalingPlanResource'" PrefixI True) ((:*:) * ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_sprScalingStatusMessage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_sprScalingPolicies") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [ScalingPolicy])))) ((:*:) * (S1 * (MetaSel (Just Symbol "_sprScalingPlanName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_sprScalingPlanVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Integer)))) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_sprServiceNamespace") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * ServiceNamespace)) (S1 * (MetaSel (Just Symbol "_sprResourceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_sprScalableDimension") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * ScalableDimension)) (S1 * (MetaSel (Just Symbol "_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 # 
Data ScalingPolicy Source # 

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 # 
Show ScalingPolicy Source # 
Generic ScalingPolicy Source # 

Associated Types

type Rep ScalingPolicy :: * -> * #

Hashable ScalingPolicy Source # 
FromJSON ScalingPolicy Source # 
NFData ScalingPolicy Source # 

Methods

rnf :: ScalingPolicy -> () #

type Rep ScalingPolicy Source # 
type Rep ScalingPolicy = D1 * (MetaData "ScalingPolicy" "Network.AWS.AutoScalingPlans.Types.Product" "amazonka-autoscaling-plans-1.6.0-Hfib0l7BxANKcO5yWXZyyN" False) (C1 * (MetaCons "ScalingPolicy'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_spTargetTrackingConfiguration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe TargetTrackingConfiguration))) ((:*:) * (S1 * (MetaSel (Just Symbol "_spPolicyName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_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 # 
Data TagFilter Source # 

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 # 
Show TagFilter Source # 
Generic TagFilter Source # 

Associated Types

type Rep TagFilter :: * -> * #

Hashable TagFilter Source # 
ToJSON TagFilter Source # 
FromJSON TagFilter Source # 
NFData TagFilter Source # 

Methods

rnf :: TagFilter -> () #

type Rep TagFilter Source # 
type Rep TagFilter = D1 * (MetaData "TagFilter" "Network.AWS.AutoScalingPlans.Types.Product" "amazonka-autoscaling-plans-1.6.0-Hfib0l7BxANKcO5yWXZyyN" False) (C1 * (MetaCons "TagFilter'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_tfValues") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Text]))) (S1 * (MetaSel (Just Symbol "_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 # 
Data TargetTrackingConfiguration Source # 

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 # 
Show TargetTrackingConfiguration Source # 
Generic TargetTrackingConfiguration Source # 
Hashable TargetTrackingConfiguration Source # 
ToJSON TargetTrackingConfiguration Source # 
FromJSON TargetTrackingConfiguration Source # 
NFData TargetTrackingConfiguration Source # 
type Rep TargetTrackingConfiguration Source # 
type Rep TargetTrackingConfiguration = D1 * (MetaData "TargetTrackingConfiguration" "Network.AWS.AutoScalingPlans.Types.Product" "amazonka-autoscaling-plans-1.6.0-Hfib0l7BxANKcO5yWXZyyN" False) (C1 * (MetaCons "TargetTrackingConfiguration'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_ttcEstimatedInstanceWarmup") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Int))) ((:*:) * (S1 * (MetaSel (Just Symbol "_ttcPredefinedScalingMetricSpecification") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe PredefinedScalingMetricSpecification))) (S1 * (MetaSel (Just Symbol "_ttcScaleInCooldown") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Int))))) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_ttcDisableScaleIn") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Bool))) (S1 * (MetaSel (Just Symbol "_ttcCustomizedScalingMetricSpecification") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe CustomizedScalingMetricSpecification)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_ttcScaleOutCooldown") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Int))) (S1 * (MetaSel (Just Symbol "_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).