amazonka-application-autoscaling-1.6.1: Amazon Application Auto Scaling 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.ApplicationAutoScaling

Contents

Description

With Application Auto Scaling, you can configure automatic scaling for your scalable AWS resources. You can use Application Auto Scaling to accomplish the following tasks:

  • Define scaling policies to automatically scale your AWS resources
  • Scale your resources in response to CloudWatch alarms
  • Schedule one-time or recurring scaling actions
  • View the history of your scaling events

Application Auto Scaling can scale the following AWS resources:

To configure automatic scaling for multiple resources across multiple services, use AWS Auto Scaling to create a scaling plan for your application. For more information, see AWS Auto Scaling .

For a list of supported regions, see AWS Regions and Endpoints: Application Auto Scaling in the AWS General Reference .

Synopsis

Service Configuration

applicationAutoScaling :: Service Source #

API version 2016-02-06 of the Amazon Application Auto Scaling 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 ApplicationAutoScaling.

ValidationException

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

An exception was thrown for a validation issue. Review the available parameters for the API request.

FailedResourceAccessException

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

Failed access to resources caused an exception. This exception is thrown when Application Auto Scaling is unable to retrieve the alarms associated with a scaling policy due to a client error, for example, if the role ARN specified for a scalable target does not have permission to call the CloudWatch DescribeAlarms on your behalf.

InvalidNextTokenException

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

The next token supplied was invalid.

ConcurrentUpdateException

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

Concurrent updates caused an exception, for example, if you request an update to an Application Auto Scaling resource 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. For any operation that depends on the existence of a scalable target, this exception is thrown if the scalable target with the specified service namespace, resource ID, and scalable dimension does not exist. For any operation that deletes or deregisters a resource, this exception is thrown if the resource cannot be found.

LimitExceededException

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

A per-account resource limit is exceeded. For more information, see Application Auto Scaling Limits .

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.

DeleteScalingPolicy

PutScalingPolicy

RegisterScalableTarget

DescribeScalingPolicies (Paginated)

PutScheduledAction

DeleteScheduledAction

DescribeScheduledActions

DescribeScalableTargets (Paginated)

DescribeScalingActivities (Paginated)

DeregisterScalableTarget

Types

AdjustmentType

data AdjustmentType Source #

Instances
Bounded AdjustmentType Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

Enum AdjustmentType Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

Eq AdjustmentType Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

Data AdjustmentType Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

Methods

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

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

toConstr :: AdjustmentType -> Constr #

dataTypeOf :: AdjustmentType -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord AdjustmentType Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

Read AdjustmentType Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

Show AdjustmentType Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

Generic AdjustmentType Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

Associated Types

type Rep AdjustmentType :: Type -> Type #

Hashable AdjustmentType Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

ToJSON AdjustmentType Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

FromJSON AdjustmentType Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

ToHeader AdjustmentType Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

ToQuery AdjustmentType Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

ToByteString AdjustmentType Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

FromText AdjustmentType Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

ToText AdjustmentType Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

NFData AdjustmentType Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

Methods

rnf :: AdjustmentType -> () #

type Rep AdjustmentType Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

type Rep AdjustmentType = D1 (MetaData "AdjustmentType" "Network.AWS.ApplicationAutoScaling.Types.Sum" "amazonka-application-autoscaling-1.6.1-Ev8NynEC12oENiC08b24gQ" False) (C1 (MetaCons "ChangeInCapacity" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "ExactCapacity" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "PercentChangeInCapacity" PrefixI False) (U1 :: Type -> Type)))

MetricAggregationType

data MetricAggregationType Source #

Instances
Bounded MetricAggregationType Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

Enum MetricAggregationType Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

Eq MetricAggregationType Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

Data MetricAggregationType Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

Methods

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

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

toConstr :: MetricAggregationType -> Constr #

dataTypeOf :: MetricAggregationType -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord MetricAggregationType Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

Read MetricAggregationType Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

Show MetricAggregationType Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

Generic MetricAggregationType Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

Associated Types

type Rep MetricAggregationType :: Type -> Type #

Hashable MetricAggregationType Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

ToJSON MetricAggregationType Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

FromJSON MetricAggregationType Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

ToHeader MetricAggregationType Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

ToQuery MetricAggregationType Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

ToByteString MetricAggregationType Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

FromText MetricAggregationType Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

ToText MetricAggregationType Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

NFData MetricAggregationType Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

Methods

rnf :: MetricAggregationType -> () #

type Rep MetricAggregationType Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

type Rep MetricAggregationType = D1 (MetaData "MetricAggregationType" "Network.AWS.ApplicationAutoScaling.Types.Sum" "amazonka-application-autoscaling-1.6.1-Ev8NynEC12oENiC08b24gQ" False) (C1 (MetaCons "MATAverage" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "MATMaximum" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "MATMinimum" PrefixI False) (U1 :: Type -> Type)))

MetricStatistic

data MetricStatistic Source #

Instances
Bounded MetricStatistic Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

Enum MetricStatistic Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

Eq MetricStatistic Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

Data MetricStatistic Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.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.ApplicationAutoScaling.Types.Sum

Read MetricStatistic Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

Show MetricStatistic Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

Generic MetricStatistic Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

Associated Types

type Rep MetricStatistic :: Type -> Type #

Hashable MetricStatistic Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

ToJSON MetricStatistic Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

FromJSON MetricStatistic Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

ToHeader MetricStatistic Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

ToQuery MetricStatistic Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

ToByteString MetricStatistic Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

FromText MetricStatistic Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

ToText MetricStatistic Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

NFData MetricStatistic Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

Methods

rnf :: MetricStatistic -> () #

type Rep MetricStatistic Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

type Rep MetricStatistic = D1 (MetaData "MetricStatistic" "Network.AWS.ApplicationAutoScaling.Types.Sum" "amazonka-application-autoscaling-1.6.1-Ev8NynEC12oENiC08b24gQ" 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))))

MetricType

data MetricType Source #

Instances
Bounded MetricType Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

Enum MetricType Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

Eq MetricType Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

Data MetricType Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

Methods

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

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

toConstr :: MetricType -> Constr #

dataTypeOf :: MetricType -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord MetricType Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

Read MetricType Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

Show MetricType Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

Generic MetricType Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

Associated Types

type Rep MetricType :: Type -> Type #

Hashable MetricType Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

ToJSON MetricType Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

FromJSON MetricType Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

ToHeader MetricType Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

ToQuery MetricType Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

ToByteString MetricType Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

FromText MetricType Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

ToText MetricType Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

Methods

toText :: MetricType -> Text #

NFData MetricType Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

Methods

rnf :: MetricType -> () #

type Rep MetricType Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

type Rep MetricType = D1 (MetaData "MetricType" "Network.AWS.ApplicationAutoScaling.Types.Sum" "amazonka-application-autoscaling-1.6.1-Ev8NynEC12oENiC08b24gQ" False) (((C1 (MetaCons "ALBRequestCountPerTarget" 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) :+: C1 (MetaCons "SageMakerVariantInvocationsPerInstance" PrefixI False) (U1 :: Type -> Type)))))

PolicyType

data PolicyType Source #

Instances
Bounded PolicyType Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

Enum PolicyType Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

Eq PolicyType Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

Data PolicyType Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.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.ApplicationAutoScaling.Types.Sum

Read PolicyType Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

Show PolicyType Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

Generic PolicyType Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

Associated Types

type Rep PolicyType :: Type -> Type #

Hashable PolicyType Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

ToJSON PolicyType Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

FromJSON PolicyType Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

ToHeader PolicyType Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

ToQuery PolicyType Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

ToByteString PolicyType Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

FromText PolicyType Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

ToText PolicyType Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

Methods

toText :: PolicyType -> Text #

NFData PolicyType Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

Methods

rnf :: PolicyType -> () #

type Rep PolicyType Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

type Rep PolicyType = D1 (MetaData "PolicyType" "Network.AWS.ApplicationAutoScaling.Types.Sum" "amazonka-application-autoscaling-1.6.1-Ev8NynEC12oENiC08b24gQ" False) (C1 (MetaCons "StepScaling" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "TargetTrackingScaling" PrefixI False) (U1 :: Type -> Type))

ScalableDimension

data ScalableDimension Source #

Instances
Bounded ScalableDimension Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

Enum ScalableDimension Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

Eq ScalableDimension Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

Data ScalableDimension Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.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.ApplicationAutoScaling.Types.Sum

Read ScalableDimension Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

Show ScalableDimension Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

Generic ScalableDimension Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

Associated Types

type Rep ScalableDimension :: Type -> Type #

Hashable ScalableDimension Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

ToJSON ScalableDimension Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

FromJSON ScalableDimension Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

ToHeader ScalableDimension Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

ToQuery ScalableDimension Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

ToByteString ScalableDimension Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

FromText ScalableDimension Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

ToText ScalableDimension Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

NFData ScalableDimension Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

Methods

rnf :: ScalableDimension -> () #

type Rep ScalableDimension Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

type Rep ScalableDimension = D1 (MetaData "ScalableDimension" "Network.AWS.ApplicationAutoScaling.Types.Sum" "amazonka-application-autoscaling-1.6.1-Ev8NynEC12oENiC08b24gQ" False) (((C1 (MetaCons "AppstreamFleetDesiredCapacity" 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 "ElasticmapreduceInstancegroupInstanceCount" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "RDSClusterReadReplicaCount" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "SagemakerVariantDesiredInstanceCount" PrefixI False) (U1 :: Type -> Type)))))

ScalingActivityStatusCode

data ScalingActivityStatusCode Source #

Instances
Bounded ScalingActivityStatusCode Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

Enum ScalingActivityStatusCode Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

Eq ScalingActivityStatusCode Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

Data ScalingActivityStatusCode Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

Methods

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

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

toConstr :: ScalingActivityStatusCode -> Constr #

dataTypeOf :: ScalingActivityStatusCode -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord ScalingActivityStatusCode Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

Read ScalingActivityStatusCode Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

Show ScalingActivityStatusCode Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

Generic ScalingActivityStatusCode Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

Associated Types

type Rep ScalingActivityStatusCode :: Type -> Type #

Hashable ScalingActivityStatusCode Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

FromJSON ScalingActivityStatusCode Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

ToHeader ScalingActivityStatusCode Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

ToQuery ScalingActivityStatusCode Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

ToByteString ScalingActivityStatusCode Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

FromText ScalingActivityStatusCode Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

ToText ScalingActivityStatusCode Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

NFData ScalingActivityStatusCode Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

type Rep ScalingActivityStatusCode Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

type Rep ScalingActivityStatusCode = D1 (MetaData "ScalingActivityStatusCode" "Network.AWS.ApplicationAutoScaling.Types.Sum" "amazonka-application-autoscaling-1.6.1-Ev8NynEC12oENiC08b24gQ" False) ((C1 (MetaCons "Failed" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "InProgress" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Overridden" PrefixI False) (U1 :: Type -> Type))) :+: (C1 (MetaCons "Pending" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Successful" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Unfulfilled" PrefixI False) (U1 :: Type -> Type))))

ServiceNamespace

data ServiceNamespace Source #

Instances
Bounded ServiceNamespace Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

Enum ServiceNamespace Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

Eq ServiceNamespace Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

Data ServiceNamespace Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.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.ApplicationAutoScaling.Types.Sum

Read ServiceNamespace Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

Show ServiceNamespace Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

Generic ServiceNamespace Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

Associated Types

type Rep ServiceNamespace :: Type -> Type #

Hashable ServiceNamespace Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

ToJSON ServiceNamespace Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

FromJSON ServiceNamespace Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

ToHeader ServiceNamespace Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

ToQuery ServiceNamespace Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

ToByteString ServiceNamespace Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

FromText ServiceNamespace Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

ToText ServiceNamespace Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

NFData ServiceNamespace Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

Methods

rnf :: ServiceNamespace -> () #

type Rep ServiceNamespace Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Sum

type Rep ServiceNamespace = D1 (MetaData "ServiceNamespace" "Network.AWS.ApplicationAutoScaling.Types.Sum" "amazonka-application-autoscaling-1.6.1-Ev8NynEC12oENiC08b24gQ" False) ((C1 (MetaCons "Appstream" 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 "Elasticmapreduce" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "RDS" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Sagemaker" PrefixI False) (U1 :: Type -> Type))))

Alarm

data Alarm Source #

Represents a CloudWatch alarm associated with a scaling policy.

See: alarm smart constructor.

Instances
Eq Alarm Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

Methods

(==) :: Alarm -> Alarm -> Bool #

(/=) :: Alarm -> Alarm -> Bool #

Data Alarm Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

Methods

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

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

toConstr :: Alarm -> Constr #

dataTypeOf :: Alarm -> DataType #

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

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

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

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

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

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

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

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

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

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

Read Alarm Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

Show Alarm Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

Methods

showsPrec :: Int -> Alarm -> ShowS #

show :: Alarm -> String #

showList :: [Alarm] -> ShowS #

Generic Alarm Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

Associated Types

type Rep Alarm :: Type -> Type #

Methods

from :: Alarm -> Rep Alarm x #

to :: Rep Alarm x -> Alarm #

Hashable Alarm Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

Methods

hashWithSalt :: Int -> Alarm -> Int #

hash :: Alarm -> Int #

FromJSON Alarm Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

NFData Alarm Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

Methods

rnf :: Alarm -> () #

type Rep Alarm Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

type Rep Alarm = D1 (MetaData "Alarm" "Network.AWS.ApplicationAutoScaling.Types.Product" "amazonka-application-autoscaling-1.6.1-Ev8NynEC12oENiC08b24gQ" False) (C1 (MetaCons "Alarm'" PrefixI True) (S1 (MetaSel (Just "_aAlarmName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_aAlarmARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))

alarm Source #

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

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

aAlarmName :: Lens' Alarm Text Source #

The name of the alarm.

aAlarmARN :: Lens' Alarm Text Source #

The Amazon Resource Name (ARN) of the alarm.

CustomizedMetricSpecification

data CustomizedMetricSpecification Source #

Configures a customized metric for a target tracking policy.

See: customizedMetricSpecification smart constructor.

Instances
Eq CustomizedMetricSpecification Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

Data CustomizedMetricSpecification Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

Methods

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

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

toConstr :: CustomizedMetricSpecification -> Constr #

dataTypeOf :: CustomizedMetricSpecification -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CustomizedMetricSpecification Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

Show CustomizedMetricSpecification Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

Generic CustomizedMetricSpecification Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

Associated Types

type Rep CustomizedMetricSpecification :: Type -> Type #

Hashable CustomizedMetricSpecification Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

ToJSON CustomizedMetricSpecification Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

FromJSON CustomizedMetricSpecification Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

NFData CustomizedMetricSpecification Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

type Rep CustomizedMetricSpecification Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

type Rep CustomizedMetricSpecification = D1 (MetaData "CustomizedMetricSpecification" "Network.AWS.ApplicationAutoScaling.Types.Product" "amazonka-application-autoscaling-1.6.1-Ev8NynEC12oENiC08b24gQ" False) (C1 (MetaCons "CustomizedMetricSpecification'" PrefixI True) ((S1 (MetaSel (Just "_cmsDimensions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [MetricDimension])) :*: S1 (MetaSel (Just "_cmsUnit") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_cmsMetricName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_cmsNamespace") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_cmsStatistic") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 MetricStatistic)))))

customizedMetricSpecification Source #

Creates a value of CustomizedMetricSpecification 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 #

Describes the dimension of a metric.

See: metricDimension smart constructor.

Instances
Eq MetricDimension Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

Data MetricDimension Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.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.ApplicationAutoScaling.Types.Product

Show MetricDimension Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

Generic MetricDimension Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

Associated Types

type Rep MetricDimension :: Type -> Type #

Hashable MetricDimension Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

ToJSON MetricDimension Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

FromJSON MetricDimension Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

NFData MetricDimension Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

Methods

rnf :: MetricDimension -> () #

type Rep MetricDimension Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

type Rep MetricDimension = D1 (MetaData "MetricDimension" "Network.AWS.ApplicationAutoScaling.Types.Product" "amazonka-application-autoscaling-1.6.1-Ev8NynEC12oENiC08b24gQ" 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.

PredefinedMetricSpecification

data PredefinedMetricSpecification Source #

Configures a predefined metric for a target tracking policy.

See: predefinedMetricSpecification smart constructor.

Instances
Eq PredefinedMetricSpecification Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

Data PredefinedMetricSpecification Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

Methods

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

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

toConstr :: PredefinedMetricSpecification -> Constr #

dataTypeOf :: PredefinedMetricSpecification -> DataType #

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

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

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

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

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

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

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

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

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

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

Read PredefinedMetricSpecification Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

Show PredefinedMetricSpecification Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

Generic PredefinedMetricSpecification Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

Associated Types

type Rep PredefinedMetricSpecification :: Type -> Type #

Hashable PredefinedMetricSpecification Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

ToJSON PredefinedMetricSpecification Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

FromJSON PredefinedMetricSpecification Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

NFData PredefinedMetricSpecification Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

type Rep PredefinedMetricSpecification Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

type Rep PredefinedMetricSpecification = D1 (MetaData "PredefinedMetricSpecification" "Network.AWS.ApplicationAutoScaling.Types.Product" "amazonka-application-autoscaling-1.6.1-Ev8NynEC12oENiC08b24gQ" False) (C1 (MetaCons "PredefinedMetricSpecification'" PrefixI True) (S1 (MetaSel (Just "_pmsResourceLabel") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pmsPredefinedMetricType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 MetricType)))

predefinedMetricSpecification Source #

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

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

pmsResourceLabel :: Lens' PredefinedMetricSpecification (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 attached to the 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.

pmsPredefinedMetricType :: Lens' PredefinedMetricSpecification MetricType Source #

The metric type. The ALBRequestCountPerTarget metric type applies only to Spot fleet requests and ECS services.

ScalableTarget

data ScalableTarget Source #

Represents a scalable target.

See: scalableTarget smart constructor.

Instances
Eq ScalableTarget Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

Data ScalableTarget Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

Methods

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

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

toConstr :: ScalableTarget -> Constr #

dataTypeOf :: ScalableTarget -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ScalableTarget Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

Show ScalableTarget Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

Generic ScalableTarget Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

Associated Types

type Rep ScalableTarget :: Type -> Type #

Hashable ScalableTarget Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

FromJSON ScalableTarget Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

NFData ScalableTarget Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

Methods

rnf :: ScalableTarget -> () #

type Rep ScalableTarget Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

type Rep ScalableTarget = D1 (MetaData "ScalableTarget" "Network.AWS.ApplicationAutoScaling.Types.Product" "amazonka-application-autoscaling-1.6.1-Ev8NynEC12oENiC08b24gQ" False) (C1 (MetaCons "ScalableTarget'" PrefixI True) ((S1 (MetaSel (Just "_stServiceNamespace") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ServiceNamespace) :*: (S1 (MetaSel (Just "_stResourceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_stScalableDimension") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ScalableDimension))) :*: ((S1 (MetaSel (Just "_stMinCapacity") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int) :*: S1 (MetaSel (Just "_stMaxCapacity") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)) :*: (S1 (MetaSel (Just "_stRoleARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_stCreationTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 POSIX)))))

scalableTarget Source #

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

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

  • stServiceNamespace - The namespace of the AWS service. For more information, see AWS Service Namespaces in the Amazon Web Services General Reference .
  • stResourceId - The identifier of the resource associated with the scalable target. This string consists of the resource type and unique identifier. * 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 . * EMR cluster - The resource type is instancegroup and the unique identifier is the cluster ID and instance group ID. Example: instancegroupj-2EEZNYKUA1NTVig-1791Y4E1L8YI0 . * AppStream 2.0 fleet - The resource type is fleet and the unique identifier is the fleet name. Example: fleet/sample-fleet . * 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 . * Amazon SageMaker endpoint variants - The resource type is variant and the unique identifier is the resource ID. Example: endpointmy-end-pointvariant/KMeansClustering .
  • stScalableDimension - The scalable dimension associated with the scalable target. This string consists of the service namespace, resource type, and scaling property. * ecs:service:DesiredCount - The desired task count of an ECS service. * ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot fleet request. * elasticmapreduce:instancegroup:InstanceCount - The instance count of an EMR Instance Group. * appstream:fleet:DesiredCapacity - The desired capacity of an AppStream 2.0 fleet. * 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. * sagemaker:variant:DesiredInstanceCount - The number of EC2 instances for an Amazon SageMaker model endpoint variant.
  • stMinCapacity - The minimum value to scale to in response to a scale in event.
  • stMaxCapacity - The maximum value to scale to in response to a scale out event.
  • stRoleARN - The ARN of an IAM role that allows Application Auto Scaling to modify the scalable target on your behalf.
  • stCreationTime - The Unix timestamp for when the scalable target was created.

stServiceNamespace :: Lens' ScalableTarget ServiceNamespace Source #

The namespace of the AWS service. For more information, see AWS Service Namespaces in the Amazon Web Services General Reference .

stResourceId :: Lens' ScalableTarget Text Source #

The identifier of the resource associated with the scalable target. This string consists of the resource type and unique identifier. * 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 . * EMR cluster - The resource type is instancegroup and the unique identifier is the cluster ID and instance group ID. Example: instancegroupj-2EEZNYKUA1NTVig-1791Y4E1L8YI0 . * AppStream 2.0 fleet - The resource type is fleet and the unique identifier is the fleet name. Example: fleet/sample-fleet . * 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 . * Amazon SageMaker endpoint variants - The resource type is variant and the unique identifier is the resource ID. Example: endpointmy-end-pointvariant/KMeansClustering .

stScalableDimension :: Lens' ScalableTarget ScalableDimension Source #

The scalable dimension associated with the scalable target. This string consists of the service namespace, resource type, and scaling property. * ecs:service:DesiredCount - The desired task count of an ECS service. * ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot fleet request. * elasticmapreduce:instancegroup:InstanceCount - The instance count of an EMR Instance Group. * appstream:fleet:DesiredCapacity - The desired capacity of an AppStream 2.0 fleet. * 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. * sagemaker:variant:DesiredInstanceCount - The number of EC2 instances for an Amazon SageMaker model endpoint variant.

stMinCapacity :: Lens' ScalableTarget Int Source #

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

stMaxCapacity :: Lens' ScalableTarget Int Source #

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

stRoleARN :: Lens' ScalableTarget Text Source #

The ARN of an IAM role that allows Application Auto Scaling to modify the scalable target on your behalf.

stCreationTime :: Lens' ScalableTarget UTCTime Source #

The Unix timestamp for when the scalable target was created.

ScalableTargetAction

data ScalableTargetAction Source #

Represents the minimum and maximum capacity for a scheduled action.

See: scalableTargetAction smart constructor.

Instances
Eq ScalableTargetAction Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

Data ScalableTargetAction Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

Methods

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

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

toConstr :: ScalableTargetAction -> Constr #

dataTypeOf :: ScalableTargetAction -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ScalableTargetAction Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

Show ScalableTargetAction Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

Generic ScalableTargetAction Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

Associated Types

type Rep ScalableTargetAction :: Type -> Type #

Hashable ScalableTargetAction Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

ToJSON ScalableTargetAction Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

FromJSON ScalableTargetAction Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

NFData ScalableTargetAction Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

Methods

rnf :: ScalableTargetAction -> () #

type Rep ScalableTargetAction Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

type Rep ScalableTargetAction = D1 (MetaData "ScalableTargetAction" "Network.AWS.ApplicationAutoScaling.Types.Product" "amazonka-application-autoscaling-1.6.1-Ev8NynEC12oENiC08b24gQ" False) (C1 (MetaCons "ScalableTargetAction'" PrefixI True) (S1 (MetaSel (Just "_staMaxCapacity") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)) :*: S1 (MetaSel (Just "_staMinCapacity") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))))

scalableTargetAction :: ScalableTargetAction Source #

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

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

ScalingActivity

data ScalingActivity Source #

Represents a scaling activity.

See: scalingActivity smart constructor.

Instances
Eq ScalingActivity Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

Data ScalingActivity Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

Methods

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

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

toConstr :: ScalingActivity -> Constr #

dataTypeOf :: ScalingActivity -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ScalingActivity Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

Show ScalingActivity Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

Generic ScalingActivity Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

Associated Types

type Rep ScalingActivity :: Type -> Type #

Hashable ScalingActivity Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

FromJSON ScalingActivity Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

NFData ScalingActivity Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

Methods

rnf :: ScalingActivity -> () #

type Rep ScalingActivity Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

scalingActivity Source #

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

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

  • sStatusMessage - A simple message about the current status of the scaling activity.
  • sEndTime - The Unix timestamp for when the scaling activity ended.
  • sDetails - The details about the scaling activity.
  • sActivityId - The unique identifier of the scaling activity.
  • sServiceNamespace - The namespace of the AWS service. For more information, see AWS Service Namespaces in the Amazon Web Services General Reference .
  • sResourceId - The identifier of the resource associated with the scaling activity. This string consists of the resource type and unique identifier. * 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 . * EMR cluster - The resource type is instancegroup and the unique identifier is the cluster ID and instance group ID. Example: instancegroupj-2EEZNYKUA1NTVig-1791Y4E1L8YI0 . * AppStream 2.0 fleet - The resource type is fleet and the unique identifier is the fleet name. Example: fleet/sample-fleet . * 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 . * Amazon SageMaker endpoint variants - The resource type is variant and the unique identifier is the resource ID. Example: endpointmy-end-pointvariant/KMeansClustering .
  • sScalableDimension - The scalable dimension. This string consists of the service namespace, resource type, and scaling property. * ecs:service:DesiredCount - The desired task count of an ECS service. * ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot fleet request. * elasticmapreduce:instancegroup:InstanceCount - The instance count of an EMR Instance Group. * appstream:fleet:DesiredCapacity - The desired capacity of an AppStream 2.0 fleet. * 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. * sagemaker:variant:DesiredInstanceCount - The number of EC2 instances for an Amazon SageMaker model endpoint variant.
  • sDescription - A simple description of what action the scaling activity intends to accomplish.
  • sCause - A simple description of what caused the scaling activity to happen.
  • sStartTime - The Unix timestamp for when the scaling activity began.
  • sStatusCode - Indicates the status of the scaling activity.

sStatusMessage :: Lens' ScalingActivity (Maybe Text) Source #

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

sEndTime :: Lens' ScalingActivity (Maybe UTCTime) Source #

The Unix timestamp for when the scaling activity ended.

sDetails :: Lens' ScalingActivity (Maybe Text) Source #

The details about the scaling activity.

sActivityId :: Lens' ScalingActivity Text Source #

The unique identifier of the scaling activity.

sServiceNamespace :: Lens' ScalingActivity ServiceNamespace Source #

The namespace of the AWS service. For more information, see AWS Service Namespaces in the Amazon Web Services General Reference .

sResourceId :: Lens' ScalingActivity Text Source #

The identifier of the resource associated with the scaling activity. This string consists of the resource type and unique identifier. * 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 . * EMR cluster - The resource type is instancegroup and the unique identifier is the cluster ID and instance group ID. Example: instancegroupj-2EEZNYKUA1NTVig-1791Y4E1L8YI0 . * AppStream 2.0 fleet - The resource type is fleet and the unique identifier is the fleet name. Example: fleet/sample-fleet . * 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 . * Amazon SageMaker endpoint variants - The resource type is variant and the unique identifier is the resource ID. Example: endpointmy-end-pointvariant/KMeansClustering .

sScalableDimension :: Lens' ScalingActivity ScalableDimension Source #

The scalable dimension. This string consists of the service namespace, resource type, and scaling property. * ecs:service:DesiredCount - The desired task count of an ECS service. * ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot fleet request. * elasticmapreduce:instancegroup:InstanceCount - The instance count of an EMR Instance Group. * appstream:fleet:DesiredCapacity - The desired capacity of an AppStream 2.0 fleet. * 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. * sagemaker:variant:DesiredInstanceCount - The number of EC2 instances for an Amazon SageMaker model endpoint variant.

sDescription :: Lens' ScalingActivity Text Source #

A simple description of what action the scaling activity intends to accomplish.

sCause :: Lens' ScalingActivity Text Source #

A simple description of what caused the scaling activity to happen.

sStartTime :: Lens' ScalingActivity UTCTime Source #

The Unix timestamp for when the scaling activity began.

sStatusCode :: Lens' ScalingActivity ScalingActivityStatusCode Source #

Indicates the status of the scaling activity.

ScalingPolicy

data ScalingPolicy Source #

Represents a scaling policy.

See: scalingPolicy smart constructor.

Instances
Eq ScalingPolicy Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

Data ScalingPolicy Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.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.ApplicationAutoScaling.Types.Product

Show ScalingPolicy Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

Generic ScalingPolicy Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

Associated Types

type Rep ScalingPolicy :: Type -> Type #

Hashable ScalingPolicy Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

FromJSON ScalingPolicy Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

NFData ScalingPolicy Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

Methods

rnf :: ScalingPolicy -> () #

type Rep ScalingPolicy Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

type Rep ScalingPolicy = D1 (MetaData "ScalingPolicy" "Network.AWS.ApplicationAutoScaling.Types.Product" "amazonka-application-autoscaling-1.6.1-Ev8NynEC12oENiC08b24gQ" False) (C1 (MetaCons "ScalingPolicy'" PrefixI True) (((S1 (MetaSel (Just "_spTargetTrackingScalingPolicyConfiguration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe TargetTrackingScalingPolicyConfiguration)) :*: S1 (MetaSel (Just "_spStepScalingPolicyConfiguration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe StepScalingPolicyConfiguration))) :*: (S1 (MetaSel (Just "_spAlarms") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Alarm])) :*: (S1 (MetaSel (Just "_spPolicyARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_spPolicyName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))) :*: ((S1 (MetaSel (Just "_spServiceNamespace") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ServiceNamespace) :*: S1 (MetaSel (Just "_spResourceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_spScalableDimension") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ScalableDimension) :*: (S1 (MetaSel (Just "_spPolicyType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 PolicyType) :*: S1 (MetaSel (Just "_spCreationTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 POSIX))))))

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:

  • spTargetTrackingScalingPolicyConfiguration - A target tracking policy.
  • spStepScalingPolicyConfiguration - A step scaling policy.
  • spAlarms - The CloudWatch alarms associated with the scaling policy.
  • spPolicyARN - The Amazon Resource Name (ARN) of the scaling policy.
  • spPolicyName - The name of the scaling policy.
  • spServiceNamespace - The namespace of the AWS service. For more information, see AWS Service Namespaces in the Amazon Web Services General Reference .
  • spResourceId - The identifier of the resource associated with the scaling policy. This string consists of the resource type and unique identifier. * 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 . * EMR cluster - The resource type is instancegroup and the unique identifier is the cluster ID and instance group ID. Example: instancegroupj-2EEZNYKUA1NTVig-1791Y4E1L8YI0 . * AppStream 2.0 fleet - The resource type is fleet and the unique identifier is the fleet name. Example: fleet/sample-fleet . * 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 . * Amazon SageMaker endpoint variants - The resource type is variant and the unique identifier is the resource ID. Example: endpointmy-end-pointvariant/KMeansClustering .
  • spScalableDimension - The scalable dimension. This string consists of the service namespace, resource type, and scaling property. * ecs:service:DesiredCount - The desired task count of an ECS service. * ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot fleet request. * elasticmapreduce:instancegroup:InstanceCount - The instance count of an EMR Instance Group. * appstream:fleet:DesiredCapacity - The desired capacity of an AppStream 2.0 fleet. * 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. * sagemaker:variant:DesiredInstanceCount - The number of EC2 instances for an Amazon SageMaker model endpoint variant.
  • spPolicyType - The scaling policy type.
  • spCreationTime - The Unix timestamp for when the scaling policy was created.

spAlarms :: Lens' ScalingPolicy [Alarm] Source #

The CloudWatch alarms associated with the scaling policy.

spPolicyARN :: Lens' ScalingPolicy Text Source #

The Amazon Resource Name (ARN) of the scaling policy.

spPolicyName :: Lens' ScalingPolicy Text Source #

The name of the scaling policy.

spServiceNamespace :: Lens' ScalingPolicy ServiceNamespace Source #

The namespace of the AWS service. For more information, see AWS Service Namespaces in the Amazon Web Services General Reference .

spResourceId :: Lens' ScalingPolicy Text Source #

The identifier of the resource associated with the scaling policy. This string consists of the resource type and unique identifier. * 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 . * EMR cluster - The resource type is instancegroup and the unique identifier is the cluster ID and instance group ID. Example: instancegroupj-2EEZNYKUA1NTVig-1791Y4E1L8YI0 . * AppStream 2.0 fleet - The resource type is fleet and the unique identifier is the fleet name. Example: fleet/sample-fleet . * 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 . * Amazon SageMaker endpoint variants - The resource type is variant and the unique identifier is the resource ID. Example: endpointmy-end-pointvariant/KMeansClustering .

spScalableDimension :: Lens' ScalingPolicy ScalableDimension Source #

The scalable dimension. This string consists of the service namespace, resource type, and scaling property. * ecs:service:DesiredCount - The desired task count of an ECS service. * ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot fleet request. * elasticmapreduce:instancegroup:InstanceCount - The instance count of an EMR Instance Group. * appstream:fleet:DesiredCapacity - The desired capacity of an AppStream 2.0 fleet. * 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. * sagemaker:variant:DesiredInstanceCount - The number of EC2 instances for an Amazon SageMaker model endpoint variant.

spPolicyType :: Lens' ScalingPolicy PolicyType Source #

The scaling policy type.

spCreationTime :: Lens' ScalingPolicy UTCTime Source #

The Unix timestamp for when the scaling policy was created.

ScheduledAction

data ScheduledAction Source #

Represents a scheduled action.

See: scheduledAction smart constructor.

Instances
Eq ScheduledAction Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

Data ScheduledAction Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

Methods

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

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

toConstr :: ScheduledAction -> Constr #

dataTypeOf :: ScheduledAction -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ScheduledAction Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

Show ScheduledAction Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

Generic ScheduledAction Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

Associated Types

type Rep ScheduledAction :: Type -> Type #

Hashable ScheduledAction Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

FromJSON ScheduledAction Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

NFData ScheduledAction Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

Methods

rnf :: ScheduledAction -> () #

type Rep ScheduledAction Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

type Rep ScheduledAction = D1 (MetaData "ScheduledAction" "Network.AWS.ApplicationAutoScaling.Types.Product" "amazonka-application-autoscaling-1.6.1-Ev8NynEC12oENiC08b24gQ" False) (C1 (MetaCons "ScheduledAction'" PrefixI True) (((S1 (MetaSel (Just "_saScalableDimension") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ScalableDimension)) :*: S1 (MetaSel (Just "_saStartTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 (MetaSel (Just "_saEndTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 (MetaSel (Just "_saScalableTargetAction") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ScalableTargetAction)) :*: S1 (MetaSel (Just "_saScheduledActionName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))) :*: ((S1 (MetaSel (Just "_saScheduledActionARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_saServiceNamespace") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ServiceNamespace)) :*: (S1 (MetaSel (Just "_saSchedule") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_saResourceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_saCreationTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 POSIX))))))

scheduledAction Source #

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

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

  • saScalableDimension - The scalable dimension. This string consists of the service namespace, resource type, and scaling property. * ecs:service:DesiredCount - The desired task count of an ECS service. * ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot fleet request. * elasticmapreduce:instancegroup:InstanceCount - The instance count of an EMR Instance Group. * appstream:fleet:DesiredCapacity - The desired capacity of an AppStream 2.0 fleet. * 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. * sagemaker:variant:DesiredInstanceCount - The number of EC2 instances for an Amazon SageMaker model endpoint variant.
  • saStartTime - The date and time that the action is scheduled to begin.
  • saEndTime - The date and time that the action is scheduled to end.
  • saScalableTargetAction - The new minimum and maximum capacity. You can set both values or just one. During the scheduled time, if the current capacity is below the minimum capacity, Application Auto Scaling scales out to the minimum capacity. If the current capacity is above the maximum capacity, Application Auto Scaling scales in to the maximum capacity.
  • saScheduledActionName - The name of the scheduled action.
  • saScheduledActionARN - The Amazon Resource Name (ARN) of the scheduled action.
  • saServiceNamespace - The namespace of the AWS service. For more information, see AWS Service Namespaces in the Amazon Web Services General Reference .
  • saSchedule - The schedule for this action. The following formats are supported: * At expressions - at(yyyy -mm -dd Thh :mm :ss ) * Rate expressions - rate(value unit ) * Cron expressions - cron(fields ) At expressions are useful for one-time schedules. Specify the time, in UTC. For rate expressions, value is a positive integer and unit is minute | minutes | hour | hours | day | days . For more information about cron expressions, see Cron .
  • saResourceId - The identifier of the resource associated with the scaling policy. This string consists of the resource type and unique identifier. * 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 . * EMR cluster - The resource type is instancegroup and the unique identifier is the cluster ID and instance group ID. Example: instancegroupj-2EEZNYKUA1NTVig-1791Y4E1L8YI0 . * AppStream 2.0 fleet - The resource type is fleet and the unique identifier is the fleet name. Example: fleet/sample-fleet . * 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 . * Amazon SageMaker endpoint variants - The resource type is variant and the unique identifier is the resource ID. Example: endpointmy-end-pointvariant/KMeansClustering .
  • saCreationTime - The date and time that the scheduled action was created.

saScalableDimension :: Lens' ScheduledAction (Maybe ScalableDimension) Source #

The scalable dimension. This string consists of the service namespace, resource type, and scaling property. * ecs:service:DesiredCount - The desired task count of an ECS service. * ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot fleet request. * elasticmapreduce:instancegroup:InstanceCount - The instance count of an EMR Instance Group. * appstream:fleet:DesiredCapacity - The desired capacity of an AppStream 2.0 fleet. * 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. * sagemaker:variant:DesiredInstanceCount - The number of EC2 instances for an Amazon SageMaker model endpoint variant.

saStartTime :: Lens' ScheduledAction (Maybe UTCTime) Source #

The date and time that the action is scheduled to begin.

saEndTime :: Lens' ScheduledAction (Maybe UTCTime) Source #

The date and time that the action is scheduled to end.

saScalableTargetAction :: Lens' ScheduledAction (Maybe ScalableTargetAction) Source #

The new minimum and maximum capacity. You can set both values or just one. During the scheduled time, if the current capacity is below the minimum capacity, Application Auto Scaling scales out to the minimum capacity. If the current capacity is above the maximum capacity, Application Auto Scaling scales in to the maximum capacity.

saScheduledActionName :: Lens' ScheduledAction Text Source #

The name of the scheduled action.

saScheduledActionARN :: Lens' ScheduledAction Text Source #

The Amazon Resource Name (ARN) of the scheduled action.

saServiceNamespace :: Lens' ScheduledAction ServiceNamespace Source #

The namespace of the AWS service. For more information, see AWS Service Namespaces in the Amazon Web Services General Reference .

saSchedule :: Lens' ScheduledAction Text Source #

The schedule for this action. The following formats are supported: * At expressions - at(yyyy -mm -dd Thh :mm :ss ) * Rate expressions - rate(value unit ) * Cron expressions - cron(fields ) At expressions are useful for one-time schedules. Specify the time, in UTC. For rate expressions, value is a positive integer and unit is minute | minutes | hour | hours | day | days . For more information about cron expressions, see Cron .

saResourceId :: Lens' ScheduledAction Text Source #

The identifier of the resource associated with the scaling policy. This string consists of the resource type and unique identifier. * 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 . * EMR cluster - The resource type is instancegroup and the unique identifier is the cluster ID and instance group ID. Example: instancegroupj-2EEZNYKUA1NTVig-1791Y4E1L8YI0 . * AppStream 2.0 fleet - The resource type is fleet and the unique identifier is the fleet name. Example: fleet/sample-fleet . * 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 . * Amazon SageMaker endpoint variants - The resource type is variant and the unique identifier is the resource ID. Example: endpointmy-end-pointvariant/KMeansClustering .

saCreationTime :: Lens' ScheduledAction UTCTime Source #

The date and time that the scheduled action was created.

StepAdjustment

data StepAdjustment Source #

Represents a step adjustment for a StepScalingPolicyConfiguration . Describes an adjustment based on the difference between the value of the aggregated CloudWatch metric and the breach threshold that you've defined for the alarm.

For the following examples, suppose that you have an alarm with a breach threshold of 50:

  • To trigger the adjustment when the metric is greater than or equal to 50 and less than 60, specify a lower bound of 0 and an upper bound of 10.
  • To trigger the adjustment when the metric is greater than 40 and less than or equal to 50, specify a lower bound of -10 and an upper bound of 0.

There are a few rules for the step adjustments for your step policy:

  • The ranges of your step adjustments can't overlap or have a gap.
  • At most one step adjustment can have a null lower bound. If one step adjustment has a negative lower bound, then there must be a step adjustment with a null lower bound.
  • At most one step adjustment can have a null upper bound. If one step adjustment has a positive upper bound, then there must be a step adjustment with a null upper bound.
  • The upper and lower bound can't be null in the same step adjustment.

See: stepAdjustment smart constructor.

Instances
Eq StepAdjustment Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

Data StepAdjustment Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

Methods

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

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

toConstr :: StepAdjustment -> Constr #

dataTypeOf :: StepAdjustment -> DataType #

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

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

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

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

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

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

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

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

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

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

Read StepAdjustment Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

Show StepAdjustment Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

Generic StepAdjustment Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

Associated Types

type Rep StepAdjustment :: Type -> Type #

Hashable StepAdjustment Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

ToJSON StepAdjustment Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

FromJSON StepAdjustment Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

NFData StepAdjustment Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

Methods

rnf :: StepAdjustment -> () #

type Rep StepAdjustment Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

type Rep StepAdjustment = D1 (MetaData "StepAdjustment" "Network.AWS.ApplicationAutoScaling.Types.Product" "amazonka-application-autoscaling-1.6.1-Ev8NynEC12oENiC08b24gQ" False) (C1 (MetaCons "StepAdjustment'" PrefixI True) (S1 (MetaSel (Just "_saMetricIntervalLowerBound") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Double)) :*: (S1 (MetaSel (Just "_saMetricIntervalUpperBound") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Double)) :*: S1 (MetaSel (Just "_saScalingAdjustment") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

stepAdjustment Source #

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

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

  • saMetricIntervalLowerBound - The lower bound for the difference between the alarm threshold and the CloudWatch metric. If the metric value is above the breach threshold, the lower bound is inclusive (the metric must be greater than or equal to the threshold plus the lower bound). Otherwise, it is exclusive (the metric must be greater than the threshold plus the lower bound). A null value indicates negative infinity.
  • saMetricIntervalUpperBound - The upper bound for the difference between the alarm threshold and the CloudWatch metric. If the metric value is above the breach threshold, the upper bound is exclusive (the metric must be less than the threshold plus the upper bound). Otherwise, it is inclusive (the metric must be less than or equal to the threshold plus the upper bound). A null value indicates positive infinity. The upper bound must be greater than the lower bound.
  • saScalingAdjustment - The amount by which to scale, based on the specified adjustment type. A positive value adds to the current scalable dimension while a negative number removes from the current scalable dimension.

saMetricIntervalLowerBound :: Lens' StepAdjustment (Maybe Double) Source #

The lower bound for the difference between the alarm threshold and the CloudWatch metric. If the metric value is above the breach threshold, the lower bound is inclusive (the metric must be greater than or equal to the threshold plus the lower bound). Otherwise, it is exclusive (the metric must be greater than the threshold plus the lower bound). A null value indicates negative infinity.

saMetricIntervalUpperBound :: Lens' StepAdjustment (Maybe Double) Source #

The upper bound for the difference between the alarm threshold and the CloudWatch metric. If the metric value is above the breach threshold, the upper bound is exclusive (the metric must be less than the threshold plus the upper bound). Otherwise, it is inclusive (the metric must be less than or equal to the threshold plus the upper bound). A null value indicates positive infinity. The upper bound must be greater than the lower bound.

saScalingAdjustment :: Lens' StepAdjustment Int Source #

The amount by which to scale, based on the specified adjustment type. A positive value adds to the current scalable dimension while a negative number removes from the current scalable dimension.

StepScalingPolicyConfiguration

data StepScalingPolicyConfiguration Source #

Represents a step scaling policy configuration.

See: stepScalingPolicyConfiguration smart constructor.

Instances
Eq StepScalingPolicyConfiguration Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

Data StepScalingPolicyConfiguration Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

Methods

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

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

toConstr :: StepScalingPolicyConfiguration -> Constr #

dataTypeOf :: StepScalingPolicyConfiguration -> DataType #

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

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

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

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

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

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

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

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

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

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

Read StepScalingPolicyConfiguration Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

Show StepScalingPolicyConfiguration Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

Generic StepScalingPolicyConfiguration Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

Associated Types

type Rep StepScalingPolicyConfiguration :: Type -> Type #

Hashable StepScalingPolicyConfiguration Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

ToJSON StepScalingPolicyConfiguration Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

FromJSON StepScalingPolicyConfiguration Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

NFData StepScalingPolicyConfiguration Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

type Rep StepScalingPolicyConfiguration Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

type Rep StepScalingPolicyConfiguration = D1 (MetaData "StepScalingPolicyConfiguration" "Network.AWS.ApplicationAutoScaling.Types.Product" "amazonka-application-autoscaling-1.6.1-Ev8NynEC12oENiC08b24gQ" False) (C1 (MetaCons "StepScalingPolicyConfiguration'" PrefixI True) ((S1 (MetaSel (Just "_sspcStepAdjustments") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [StepAdjustment])) :*: S1 (MetaSel (Just "_sspcAdjustmentType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AdjustmentType))) :*: (S1 (MetaSel (Just "_sspcCooldown") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 (MetaSel (Just "_sspcMetricAggregationType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe MetricAggregationType)) :*: S1 (MetaSel (Just "_sspcMinAdjustmentMagnitude") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))))))

stepScalingPolicyConfiguration :: StepScalingPolicyConfiguration Source #

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

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

  • sspcStepAdjustments - A set of adjustments that enable you to scale based on the size of the alarm breach.
  • sspcAdjustmentType - The adjustment type, which specifies how the ScalingAdjustment parameter in a StepAdjustment is interpreted.
  • sspcCooldown - The amount of time, in seconds, after a scaling activity completes where previous trigger-related scaling activities can influence future scaling events. For scale out policies, 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. For example, an alarm triggers a step scaling policy to scale out an Amazon ECS service by 2 tasks, the scaling activity completes successfully, and a cooldown period of 5 minutes starts. During the Cooldown period, if the alarm triggers the same policy again but at a more aggressive step adjustment to scale out the service by 3 tasks, the 2 tasks that were added in the previous scale out event are considered part of that capacity and only 1 additional task is added to the desired count. For scale in policies, 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, Application Auto Scaling scales out your scalable target immediately.
  • sspcMetricAggregationType - The aggregation type for the CloudWatch metrics. Valid values are Minimum , Maximum , and Average .
  • sspcMinAdjustmentMagnitude - The minimum number to adjust your scalable dimension as a result of a scaling activity. If the adjustment type is PercentChangeInCapacity , the scaling policy changes the scalable dimension of the scalable target by this amount.

sspcStepAdjustments :: Lens' StepScalingPolicyConfiguration [StepAdjustment] Source #

A set of adjustments that enable you to scale based on the size of the alarm breach.

sspcAdjustmentType :: Lens' StepScalingPolicyConfiguration (Maybe AdjustmentType) Source #

The adjustment type, which specifies how the ScalingAdjustment parameter in a StepAdjustment is interpreted.

sspcCooldown :: Lens' StepScalingPolicyConfiguration (Maybe Int) Source #

The amount of time, in seconds, after a scaling activity completes where previous trigger-related scaling activities can influence future scaling events. For scale out policies, 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. For example, an alarm triggers a step scaling policy to scale out an Amazon ECS service by 2 tasks, the scaling activity completes successfully, and a cooldown period of 5 minutes starts. During the Cooldown period, if the alarm triggers the same policy again but at a more aggressive step adjustment to scale out the service by 3 tasks, the 2 tasks that were added in the previous scale out event are considered part of that capacity and only 1 additional task is added to the desired count. For scale in policies, 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, Application Auto Scaling scales out your scalable target immediately.

sspcMetricAggregationType :: Lens' StepScalingPolicyConfiguration (Maybe MetricAggregationType) Source #

The aggregation type for the CloudWatch metrics. Valid values are Minimum , Maximum , and Average .

sspcMinAdjustmentMagnitude :: Lens' StepScalingPolicyConfiguration (Maybe Int) Source #

The minimum number to adjust your scalable dimension as a result of a scaling activity. If the adjustment type is PercentChangeInCapacity , the scaling policy changes the scalable dimension of the scalable target by this amount.

TargetTrackingScalingPolicyConfiguration

data TargetTrackingScalingPolicyConfiguration Source #

Represents a target tracking scaling policy configuration.

See: targetTrackingScalingPolicyConfiguration smart constructor.

Instances
Eq TargetTrackingScalingPolicyConfiguration Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

Data TargetTrackingScalingPolicyConfiguration Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

Methods

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

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

toConstr :: TargetTrackingScalingPolicyConfiguration -> Constr #

dataTypeOf :: TargetTrackingScalingPolicyConfiguration -> DataType #

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

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

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

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

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

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

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

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

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

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

Read TargetTrackingScalingPolicyConfiguration Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

Show TargetTrackingScalingPolicyConfiguration Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

Generic TargetTrackingScalingPolicyConfiguration Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

Hashable TargetTrackingScalingPolicyConfiguration Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

ToJSON TargetTrackingScalingPolicyConfiguration Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

FromJSON TargetTrackingScalingPolicyConfiguration Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

NFData TargetTrackingScalingPolicyConfiguration Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

type Rep TargetTrackingScalingPolicyConfiguration Source # 
Instance details

Defined in Network.AWS.ApplicationAutoScaling.Types.Product

type Rep TargetTrackingScalingPolicyConfiguration = D1 (MetaData "TargetTrackingScalingPolicyConfiguration" "Network.AWS.ApplicationAutoScaling.Types.Product" "amazonka-application-autoscaling-1.6.1-Ev8NynEC12oENiC08b24gQ" False) (C1 (MetaCons "TargetTrackingScalingPolicyConfiguration'" PrefixI True) ((S1 (MetaSel (Just "_ttspcPredefinedMetricSpecification") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe PredefinedMetricSpecification)) :*: (S1 (MetaSel (Just "_ttspcScaleInCooldown") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)) :*: S1 (MetaSel (Just "_ttspcCustomizedMetricSpecification") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe CustomizedMetricSpecification)))) :*: (S1 (MetaSel (Just "_ttspcDisableScaleIn") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 (MetaSel (Just "_ttspcScaleOutCooldown") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)) :*: S1 (MetaSel (Just "_ttspcTargetValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Double)))))

targetTrackingScalingPolicyConfiguration Source #

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

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

  • ttspcPredefinedMetricSpecification - A predefined metric.
  • ttspcScaleInCooldown - The amount of time, in seconds, after a scale in activity completes before another scale in activity can start. 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, Application Auto Scaling scales out your scalable target immediately.
  • ttspcCustomizedMetricSpecification - A customized metric.
  • ttspcDisableScaleIn - 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 .
  • ttspcScaleOutCooldown - The amount of time, in seconds, after a scale out activity completes before another scale out activity can start. 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.
  • ttspcTargetValue - 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).

ttspcScaleInCooldown :: Lens' TargetTrackingScalingPolicyConfiguration (Maybe Int) Source #

The amount of time, in seconds, after a scale in activity completes before another scale in activity can start. 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, Application Auto Scaling scales out your scalable target immediately.

ttspcDisableScaleIn :: Lens' TargetTrackingScalingPolicyConfiguration (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 .

ttspcScaleOutCooldown :: Lens' TargetTrackingScalingPolicyConfiguration (Maybe Int) Source #

The amount of time, in seconds, after a scale out activity completes before another scale out activity can start. 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.

ttspcTargetValue :: Lens' TargetTrackingScalingPolicyConfiguration 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).