amazonka-autoscaling-1.6.1: Amazon 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.AutoScaling.Types

Contents

Description

 
Synopsis

Service Configuration

autoScaling :: Service Source #

API version 2011-01-01 of the Amazon Auto Scaling SDK configuration.

Errors

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

You already have an Auto Scaling group or launch configuration with this name.

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

You have already reached a limit for your Auto Scaling resources (for example, groups, launch configurations, or lifecycle hooks). For more information, see DescribeAccountLimits .

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

The operation can't be performed because the resource is in use.

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

The NextToken value is not valid.

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

The operation can't be performed because there are scaling activities in progress.

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

You already have a pending update to an Auto Scaling resource (for example, a group, instance, or load balancer).

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

The service-linked role is not yet ready for use.

LifecycleState

data LifecycleState Source #

Instances
Bounded LifecycleState Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Sum

Enum LifecycleState Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Sum

Eq LifecycleState Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Sum

Data LifecycleState Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Sum

Methods

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

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

toConstr :: LifecycleState -> Constr #

dataTypeOf :: LifecycleState -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord LifecycleState Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Sum

Read LifecycleState Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Sum

Show LifecycleState Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Sum

Generic LifecycleState Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Sum

Associated Types

type Rep LifecycleState :: Type -> Type #

Hashable LifecycleState Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Sum

FromXML LifecycleState Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Sum

ToHeader LifecycleState Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Sum

ToQuery LifecycleState Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Sum

ToByteString LifecycleState Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Sum

FromText LifecycleState Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Sum

ToText LifecycleState Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Sum

NFData LifecycleState Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Sum

Methods

rnf :: LifecycleState -> () #

type Rep LifecycleState Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Sum

type Rep LifecycleState = D1 (MetaData "LifecycleState" "Network.AWS.AutoScaling.Types.Sum" "amazonka-autoscaling-1.6.1-AbdWdH026wCXAk2CK79vG" False) (((C1 (MetaCons "Detached" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Detaching" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "EnteringStandby" PrefixI False) (U1 :: Type -> Type))) :+: (C1 (MetaCons "InService" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Pending" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "PendingProceed" PrefixI False) (U1 :: Type -> Type)))) :+: ((C1 (MetaCons "PendingWait" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Quarantined" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Standby" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "Terminated" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Terminating" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "TerminatingProceed" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "TerminatingWait" PrefixI False) (U1 :: Type -> Type)))))

MetricStatistic

data MetricStatistic Source #

Instances
Bounded MetricStatistic Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Sum

Enum MetricStatistic Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Sum

Eq MetricStatistic Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Sum

Data MetricStatistic Source # 
Instance details

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

Read MetricStatistic Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Sum

Show MetricStatistic Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Sum

Generic MetricStatistic Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Sum

Associated Types

type Rep MetricStatistic :: Type -> Type #

Hashable MetricStatistic Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Sum

FromXML MetricStatistic Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Sum

ToHeader MetricStatistic Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Sum

ToQuery MetricStatistic Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Sum

ToByteString MetricStatistic Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Sum

FromText MetricStatistic Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Sum

ToText MetricStatistic Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Sum

NFData MetricStatistic Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Sum

Methods

rnf :: MetricStatistic -> () #

type Rep MetricStatistic Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Sum

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

Enum MetricType Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Sum

Eq MetricType Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Sum

Data MetricType Source # 
Instance details

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

Read MetricType Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Sum

Show MetricType Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Sum

Generic MetricType Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Sum

Associated Types

type Rep MetricType :: Type -> Type #

Hashable MetricType Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Sum

FromXML MetricType Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Sum

ToHeader MetricType Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Sum

ToQuery MetricType Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Sum

ToByteString MetricType Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Sum

FromText MetricType Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Sum

ToText MetricType Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Sum

Methods

toText :: MetricType -> Text #

NFData MetricType Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Sum

Methods

rnf :: MetricType -> () #

type Rep MetricType Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Sum

type Rep MetricType = D1 (MetaData "MetricType" "Network.AWS.AutoScaling.Types.Sum" "amazonka-autoscaling-1.6.1-AbdWdH026wCXAk2CK79vG" False) ((C1 (MetaCons "ALBRequestCountPerTarget" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "ASGAverageCPUUtilization" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "ASGAverageNetworkIn" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "ASGAverageNetworkOut" PrefixI False) (U1 :: Type -> Type)))

ScalingActivityStatusCode

data ScalingActivityStatusCode Source #

Instances
Bounded ScalingActivityStatusCode Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Sum

Enum ScalingActivityStatusCode Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Sum

Eq ScalingActivityStatusCode Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Sum

Data ScalingActivityStatusCode Source # 
Instance details

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

Read ScalingActivityStatusCode Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Sum

Show ScalingActivityStatusCode Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Sum

Generic ScalingActivityStatusCode Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Sum

Associated Types

type Rep ScalingActivityStatusCode :: Type -> Type #

Hashable ScalingActivityStatusCode Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Sum

FromXML ScalingActivityStatusCode Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Sum

ToHeader ScalingActivityStatusCode Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Sum

ToQuery ScalingActivityStatusCode Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Sum

ToByteString ScalingActivityStatusCode Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Sum

FromText ScalingActivityStatusCode Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Sum

ToText ScalingActivityStatusCode Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Sum

NFData ScalingActivityStatusCode Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Sum

type Rep ScalingActivityStatusCode Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Sum

type Rep ScalingActivityStatusCode = D1 (MetaData "ScalingActivityStatusCode" "Network.AWS.AutoScaling.Types.Sum" "amazonka-autoscaling-1.6.1-AbdWdH026wCXAk2CK79vG" False) (((C1 (MetaCons "Cancelled" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Failed" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "InProgress" PrefixI False) (U1 :: Type -> Type))) :+: (C1 (MetaCons "MidLifecycleAction" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "PendingSpotBidPlacement" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "PreInService" PrefixI False) (U1 :: Type -> Type)))) :+: ((C1 (MetaCons "Successful" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "WaitingForELBConnectionDraining" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "WaitingForInstanceId" PrefixI False) (U1 :: Type -> Type))) :+: (C1 (MetaCons "WaitingForInstanceWarmup" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "WaitingForSpotInstanceId" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "WaitingForSpotInstanceRequestId" PrefixI False) (U1 :: Type -> Type)))))

Activity

data Activity Source #

Describes scaling activity, which is a long-running process that represents a change to your Auto Scaling group, such as changing its size or replacing an instance.

See: activity smart constructor.

Instances
Eq Activity Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Data Activity Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Methods

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

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

toConstr :: Activity -> Constr #

dataTypeOf :: Activity -> DataType #

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

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

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

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

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

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

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

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

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

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

Read Activity Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Show Activity Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Generic Activity Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Associated Types

type Rep Activity :: Type -> Type #

Methods

from :: Activity -> Rep Activity x #

to :: Rep Activity x -> Activity #

Hashable Activity Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Methods

hashWithSalt :: Int -> Activity -> Int #

hash :: Activity -> Int #

FromXML Activity Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

NFData Activity Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Methods

rnf :: Activity -> () #

type Rep Activity Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

activity Source #

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

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

aProgress :: Lens' Activity (Maybe Int) Source #

A value between 0 and 100 that indicates the progress of the activity.

aStatusMessage :: Lens' Activity (Maybe Text) Source #

A friendly, more verbose description of the activity status.

aEndTime :: Lens' Activity (Maybe UTCTime) Source #

The end time of the activity.

aDetails :: Lens' Activity (Maybe Text) Source #

The details about the activity.

aDescription :: Lens' Activity (Maybe Text) Source #

A friendly, more verbose description of the activity.

aActivityId :: Lens' Activity Text Source #

The ID of the activity.

aAutoScalingGroupName :: Lens' Activity Text Source #

The name of the Auto Scaling group.

aCause :: Lens' Activity Text Source #

The reason the activity began.

aStartTime :: Lens' Activity UTCTime Source #

The start time of the activity.

aStatusCode :: Lens' Activity ScalingActivityStatusCode Source #

The current status of the activity.

AdjustmentType

data AdjustmentType Source #

Describes a policy adjustment type.

For more information, see Dynamic Scaling in the Auto Scaling User Guide .

See: adjustmentType smart constructor.

Instances
Eq AdjustmentType Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Data AdjustmentType Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

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 #

Read AdjustmentType Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Show AdjustmentType Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Generic AdjustmentType Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Associated Types

type Rep AdjustmentType :: Type -> Type #

Hashable AdjustmentType Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

FromXML AdjustmentType Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

NFData AdjustmentType Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Methods

rnf :: AdjustmentType -> () #

type Rep AdjustmentType Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

type Rep AdjustmentType = D1 (MetaData "AdjustmentType" "Network.AWS.AutoScaling.Types.Product" "amazonka-autoscaling-1.6.1-AbdWdH026wCXAk2CK79vG" True) (C1 (MetaCons "AdjustmentType'" PrefixI True) (S1 (MetaSel (Just "_atAdjustmentType") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))))

adjustmentType :: AdjustmentType Source #

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

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

  • atAdjustmentType - The policy adjustment type. The valid values are ChangeInCapacity , ExactCapacity , and PercentChangeInCapacity .

atAdjustmentType :: Lens' AdjustmentType (Maybe Text) Source #

The policy adjustment type. The valid values are ChangeInCapacity , ExactCapacity , and PercentChangeInCapacity .

Alarm

data Alarm Source #

Describes an alarm.

See: alarm smart constructor.

Instances
Eq Alarm Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Methods

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

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

Data Alarm Source # 
Instance details

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

Show Alarm Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Methods

showsPrec :: Int -> Alarm -> ShowS #

show :: Alarm -> String #

showList :: [Alarm] -> ShowS #

Generic Alarm Source # 
Instance details

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

Methods

hashWithSalt :: Int -> Alarm -> Int #

hash :: Alarm -> Int #

FromXML Alarm Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Methods

parseXML :: [Node] -> Either String Alarm #

NFData Alarm Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Methods

rnf :: Alarm -> () #

type Rep Alarm Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

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

alarm :: 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 (Maybe Text) Source #

The name of the alarm.

aAlarmARN :: Lens' Alarm (Maybe Text) Source #

The Amazon Resource Name (ARN) of the alarm.

AutoScalingGroup

data AutoScalingGroup Source #

Describes an Auto Scaling group.

See: autoScalingGroup smart constructor.

Instances
Eq AutoScalingGroup Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Data AutoScalingGroup Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Methods

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

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

toConstr :: AutoScalingGroup -> Constr #

dataTypeOf :: AutoScalingGroup -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AutoScalingGroup Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Show AutoScalingGroup Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Generic AutoScalingGroup Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Associated Types

type Rep AutoScalingGroup :: Type -> Type #

Hashable AutoScalingGroup Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

FromXML AutoScalingGroup Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

NFData AutoScalingGroup Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Methods

rnf :: AutoScalingGroup -> () #

type Rep AutoScalingGroup Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

type Rep AutoScalingGroup = D1 (MetaData "AutoScalingGroup" "Network.AWS.AutoScaling.Types.Product" "amazonka-autoscaling-1.6.1-AbdWdH026wCXAk2CK79vG" False) (C1 (MetaCons "AutoScalingGroup'" PrefixI True) ((((S1 (MetaSel (Just "_asgStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_asgTerminationPolicies") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 (MetaSel (Just "_asgHealthCheckGracePeriod") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)))) :*: (S1 (MetaSel (Just "_asgServiceLinkedRoleARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_asgNewInstancesProtectedFromScaleIn") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_asgVPCZoneIdentifier") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 (MetaSel (Just "_asgTargetGroupARNs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 (MetaSel (Just "_asgEnabledMetrics") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [EnabledMetric])) :*: S1 (MetaSel (Just "_asgLaunchConfigurationName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_asgInstances") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Instance])) :*: (S1 (MetaSel (Just "_asgLaunchTemplate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe LaunchTemplateSpecification)) :*: S1 (MetaSel (Just "_asgAutoScalingGroupARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))) :*: (((S1 (MetaSel (Just "_asgPlacementGroup") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_asgSuspendedProcesses") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [SuspendedProcess])) :*: S1 (MetaSel (Just "_asgLoadBalancerNames") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])))) :*: (S1 (MetaSel (Just "_asgTags") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [TagDescription])) :*: (S1 (MetaSel (Just "_asgAutoScalingGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_asgMinSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))) :*: ((S1 (MetaSel (Just "_asgMaxSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int) :*: (S1 (MetaSel (Just "_asgDesiredCapacity") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int) :*: S1 (MetaSel (Just "_asgDefaultCooldown") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))) :*: (S1 (MetaSel (Just "_asgAvailabilityZones") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (List1 Text)) :*: (S1 (MetaSel (Just "_asgHealthCheckType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_asgCreatedTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ISO8601)))))))

autoScalingGroup Source #

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

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

asgStatus :: Lens' AutoScalingGroup (Maybe Text) Source #

The current state of the group when DeleteAutoScalingGroup is in progress.

asgTerminationPolicies :: Lens' AutoScalingGroup [Text] Source #

The termination policies for the group.

asgHealthCheckGracePeriod :: Lens' AutoScalingGroup (Maybe Int) Source #

The amount of time, in seconds, that Auto Scaling waits before checking the health status of an EC2 instance that has come into service.

asgServiceLinkedRoleARN :: Lens' AutoScalingGroup (Maybe Text) Source #

The Amazon Resource Name (ARN) of the service-linked role that the Auto Scaling group uses to call other AWS services on your behalf.

asgNewInstancesProtectedFromScaleIn :: Lens' AutoScalingGroup (Maybe Bool) Source #

Indicates whether newly launched instances are protected from termination by Auto Scaling when scaling in.

asgVPCZoneIdentifier :: Lens' AutoScalingGroup (Maybe Text) Source #

One or more subnet IDs, if applicable, separated by commas. If you specify VPCZoneIdentifier and AvailabilityZones , ensure that the Availability Zones of the subnets match the values for AvailabilityZones .

asgTargetGroupARNs :: Lens' AutoScalingGroup [Text] Source #

The Amazon Resource Names (ARN) of the target groups for your load balancer.

asgEnabledMetrics :: Lens' AutoScalingGroup [EnabledMetric] Source #

The metrics enabled for the group.

asgLaunchConfigurationName :: Lens' AutoScalingGroup (Maybe Text) Source #

The name of the associated launch configuration.

asgInstances :: Lens' AutoScalingGroup [Instance] Source #

The EC2 instances associated with the group.

asgAutoScalingGroupARN :: Lens' AutoScalingGroup (Maybe Text) Source #

The Amazon Resource Name (ARN) of the Auto Scaling group.

asgPlacementGroup :: Lens' AutoScalingGroup (Maybe Text) Source #

The name of the placement group into which you'll launch your instances, if any. For more information, see Placement Groups in the Amazon Elastic Compute Cloud User Guide .

asgSuspendedProcesses :: Lens' AutoScalingGroup [SuspendedProcess] Source #

The suspended processes associated with the group.

asgLoadBalancerNames :: Lens' AutoScalingGroup [Text] Source #

One or more load balancers associated with the group.

asgTags :: Lens' AutoScalingGroup [TagDescription] Source #

The tags for the group.

asgAutoScalingGroupName :: Lens' AutoScalingGroup Text Source #

The name of the Auto Scaling group.

asgMinSize :: Lens' AutoScalingGroup Int Source #

The minimum size of the group.

asgMaxSize :: Lens' AutoScalingGroup Int Source #

The maximum size of the group.

asgDesiredCapacity :: Lens' AutoScalingGroup Int Source #

The desired size of the group.

asgDefaultCooldown :: Lens' AutoScalingGroup Int Source #

The amount of time, in seconds, after a scaling activity completes before another scaling activity can start.

asgAvailabilityZones :: Lens' AutoScalingGroup (NonEmpty Text) Source #

One or more Availability Zones for the group.

asgHealthCheckType :: Lens' AutoScalingGroup Text Source #

The service to use for the health checks. The valid values are EC2 and ELB .

asgCreatedTime :: Lens' AutoScalingGroup UTCTime Source #

The date and time the group was created.

AutoScalingInstanceDetails

data AutoScalingInstanceDetails Source #

Describes an EC2 instance associated with an Auto Scaling group.

See: autoScalingInstanceDetails smart constructor.

Instances
Eq AutoScalingInstanceDetails Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Data AutoScalingInstanceDetails Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Methods

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

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

toConstr :: AutoScalingInstanceDetails -> Constr #

dataTypeOf :: AutoScalingInstanceDetails -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AutoScalingInstanceDetails Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Show AutoScalingInstanceDetails Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Generic AutoScalingInstanceDetails Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Associated Types

type Rep AutoScalingInstanceDetails :: Type -> Type #

Hashable AutoScalingInstanceDetails Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

FromXML AutoScalingInstanceDetails Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

NFData AutoScalingInstanceDetails Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

type Rep AutoScalingInstanceDetails Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

type Rep AutoScalingInstanceDetails = D1 (MetaData "AutoScalingInstanceDetails" "Network.AWS.AutoScaling.Types.Product" "amazonka-autoscaling-1.6.1-AbdWdH026wCXAk2CK79vG" False) (C1 (MetaCons "AutoScalingInstanceDetails'" PrefixI True) (((S1 (MetaSel (Just "_asidLaunchConfigurationName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_asidLaunchTemplate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe LaunchTemplateSpecification))) :*: (S1 (MetaSel (Just "_asidInstanceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_asidAutoScalingGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) :*: ((S1 (MetaSel (Just "_asidAvailabilityZone") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_asidLifecycleState") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_asidHealthStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_asidProtectedFromScaleIn") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool)))))

autoScalingInstanceDetails Source #

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

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

asidLaunchConfigurationName :: Lens' AutoScalingInstanceDetails (Maybe Text) Source #

The launch configuration used to launch the instance. This value is not available if you attached the instance to the Auto Scaling group.

asidAutoScalingGroupName :: Lens' AutoScalingInstanceDetails Text Source #

The name of the Auto Scaling group for the instance.

asidAvailabilityZone :: Lens' AutoScalingInstanceDetails Text Source #

The Availability Zone for the instance.

asidLifecycleState :: Lens' AutoScalingInstanceDetails Text Source #

The lifecycle state for the instance. For more information, see Auto Scaling Lifecycle in the Auto Scaling User Guide .

asidHealthStatus :: Lens' AutoScalingInstanceDetails Text Source #

The last reported health status of this instance. Healthy means that the instance is healthy and should remain in service. Unhealthy means that the instance is unhealthy and Auto Scaling should terminate and replace it.

asidProtectedFromScaleIn :: Lens' AutoScalingInstanceDetails Bool Source #

Indicates whether the instance is protected from termination by Auto Scaling when scaling in.

BlockDeviceMapping

data BlockDeviceMapping Source #

Describes a block device mapping.

See: blockDeviceMapping smart constructor.

Instances
Eq BlockDeviceMapping Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Data BlockDeviceMapping Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Methods

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

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

toConstr :: BlockDeviceMapping -> Constr #

dataTypeOf :: BlockDeviceMapping -> DataType #

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

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

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

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

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

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

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

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

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

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

Read BlockDeviceMapping Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Show BlockDeviceMapping Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Generic BlockDeviceMapping Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Associated Types

type Rep BlockDeviceMapping :: Type -> Type #

Hashable BlockDeviceMapping Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

FromXML BlockDeviceMapping Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

ToQuery BlockDeviceMapping Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

NFData BlockDeviceMapping Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Methods

rnf :: BlockDeviceMapping -> () #

type Rep BlockDeviceMapping Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

type Rep BlockDeviceMapping = D1 (MetaData "BlockDeviceMapping" "Network.AWS.AutoScaling.Types.Product" "amazonka-autoscaling-1.6.1-AbdWdH026wCXAk2CK79vG" False) (C1 (MetaCons "BlockDeviceMapping'" PrefixI True) ((S1 (MetaSel (Just "_bdmVirtualName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_bdmNoDevice") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 (MetaSel (Just "_bdmEBS") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe EBS)) :*: S1 (MetaSel (Just "_bdmDeviceName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))

blockDeviceMapping Source #

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

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

  • bdmVirtualName - The name of the virtual device (for example, ephemeral0 ).
  • bdmNoDevice - Suppresses a device mapping. If this parameter is true for the root device, the instance might fail the EC2 health check. Auto Scaling launches a replacement instance if the instance fails the health check.
  • bdmEBS - The information about the Amazon EBS volume.
  • bdmDeviceName - The device name exposed to the EC2 instance (for example, devsdh or xvdh ).

bdmVirtualName :: Lens' BlockDeviceMapping (Maybe Text) Source #

The name of the virtual device (for example, ephemeral0 ).

bdmNoDevice :: Lens' BlockDeviceMapping (Maybe Bool) Source #

Suppresses a device mapping. If this parameter is true for the root device, the instance might fail the EC2 health check. Auto Scaling launches a replacement instance if the instance fails the health check.

bdmEBS :: Lens' BlockDeviceMapping (Maybe EBS) Source #

The information about the Amazon EBS volume.

bdmDeviceName :: Lens' BlockDeviceMapping Text Source #

The device name exposed to the EC2 instance (for example, devsdh or xvdh ).

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.AutoScaling.Types.Product

Data CustomizedMetricSpecification Source # 
Instance details

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

Show CustomizedMetricSpecification Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Generic CustomizedMetricSpecification Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Associated Types

type Rep CustomizedMetricSpecification :: Type -> Type #

Hashable CustomizedMetricSpecification Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

FromXML CustomizedMetricSpecification Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

ToQuery CustomizedMetricSpecification Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

NFData CustomizedMetricSpecification Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

type Rep CustomizedMetricSpecification Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

type Rep CustomizedMetricSpecification = D1 (MetaData "CustomizedMetricSpecification" "Network.AWS.AutoScaling.Types.Product" "amazonka-autoscaling-1.6.1-AbdWdH026wCXAk2CK79vG" 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:

EBS

data EBS Source #

Describes an Amazon EBS volume.

See: ebs smart constructor.

Instances
Eq EBS Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Methods

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

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

Data EBS Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Methods

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

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

toConstr :: EBS -> Constr #

dataTypeOf :: EBS -> DataType #

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

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

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

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

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

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

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

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

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

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

Read EBS Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Show EBS Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Methods

showsPrec :: Int -> EBS -> ShowS #

show :: EBS -> String #

showList :: [EBS] -> ShowS #

Generic EBS Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Associated Types

type Rep EBS :: Type -> Type #

Methods

from :: EBS -> Rep EBS x #

to :: Rep EBS x -> EBS #

Hashable EBS Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Methods

hashWithSalt :: Int -> EBS -> Int #

hash :: EBS -> Int #

FromXML EBS Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Methods

parseXML :: [Node] -> Either String EBS #

ToQuery EBS Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Methods

toQuery :: EBS -> QueryString #

NFData EBS Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Methods

rnf :: EBS -> () #

type Rep EBS Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

type Rep EBS = D1 (MetaData "EBS" "Network.AWS.AutoScaling.Types.Product" "amazonka-autoscaling-1.6.1-AbdWdH026wCXAk2CK79vG" False) (C1 (MetaCons "EBS'" PrefixI True) ((S1 (MetaSel (Just "_ebsDeleteOnTermination") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 (MetaSel (Just "_ebsVolumeSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)) :*: S1 (MetaSel (Just "_ebsIOPS") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)))) :*: (S1 (MetaSel (Just "_ebsEncrypted") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 (MetaSel (Just "_ebsVolumeType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ebsSnapshotId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

ebs :: EBS Source #

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

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

  • ebsDeleteOnTermination - Indicates whether the volume is deleted on instance termination. The default is true .
  • ebsVolumeSize - The volume size, in GiB. For standard volumes, specify a value from 1 to 1,024. For io1 volumes, specify a value from 4 to 16,384. For gp2 volumes, specify a value from 1 to 16,384. If you specify a snapshot, the volume size must be equal to or larger than the snapshot size. Default: If you create a volume from a snapshot and you don't specify a volume size, the default is the snapshot size.
  • ebsIOPS - The number of I/O operations per second (IOPS) to provision for the volume. Constraint: Required when the volume type is io1 .
  • ebsEncrypted - Indicates whether the volume should be encrypted. Encrypted EBS volumes must be attached to instances that support Amazon EBS encryption. Volumes that are created from encrypted snapshots are automatically encrypted. There is no way to create an encrypted volume from an unencrypted snapshot or an unencrypted volume from an encrypted snapshot. For more information, see Amazon EBS Encryption in the Amazon Elastic Compute Cloud User Guide .
  • ebsVolumeType - The volume type. For more information, see Amazon EBS Volume Types in the Amazon Elastic Compute Cloud User Guide . Valid values: standard | io1 | gp2 Default: standard
  • ebsSnapshotId - The ID of the snapshot.

ebsDeleteOnTermination :: Lens' EBS (Maybe Bool) Source #

Indicates whether the volume is deleted on instance termination. The default is true .

ebsVolumeSize :: Lens' EBS (Maybe Natural) Source #

The volume size, in GiB. For standard volumes, specify a value from 1 to 1,024. For io1 volumes, specify a value from 4 to 16,384. For gp2 volumes, specify a value from 1 to 16,384. If you specify a snapshot, the volume size must be equal to or larger than the snapshot size. Default: If you create a volume from a snapshot and you don't specify a volume size, the default is the snapshot size.

ebsIOPS :: Lens' EBS (Maybe Natural) Source #

The number of I/O operations per second (IOPS) to provision for the volume. Constraint: Required when the volume type is io1 .

ebsEncrypted :: Lens' EBS (Maybe Bool) Source #

Indicates whether the volume should be encrypted. Encrypted EBS volumes must be attached to instances that support Amazon EBS encryption. Volumes that are created from encrypted snapshots are automatically encrypted. There is no way to create an encrypted volume from an unencrypted snapshot or an unencrypted volume from an encrypted snapshot. For more information, see Amazon EBS Encryption in the Amazon Elastic Compute Cloud User Guide .

ebsVolumeType :: Lens' EBS (Maybe Text) Source #

The volume type. For more information, see Amazon EBS Volume Types in the Amazon Elastic Compute Cloud User Guide . Valid values: standard | io1 | gp2 Default: standard

ebsSnapshotId :: Lens' EBS (Maybe Text) Source #

The ID of the snapshot.

EnabledMetric

data EnabledMetric Source #

Describes an enabled metric.

See: enabledMetric smart constructor.

Instances
Eq EnabledMetric Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Data EnabledMetric Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Methods

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

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

toConstr :: EnabledMetric -> Constr #

dataTypeOf :: EnabledMetric -> DataType #

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

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

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

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

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

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

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

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

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

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

Read EnabledMetric Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Show EnabledMetric Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Generic EnabledMetric Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Associated Types

type Rep EnabledMetric :: Type -> Type #

Hashable EnabledMetric Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

FromXML EnabledMetric Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

NFData EnabledMetric Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Methods

rnf :: EnabledMetric -> () #

type Rep EnabledMetric Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

type Rep EnabledMetric = D1 (MetaData "EnabledMetric" "Network.AWS.AutoScaling.Types.Product" "amazonka-autoscaling-1.6.1-AbdWdH026wCXAk2CK79vG" False) (C1 (MetaCons "EnabledMetric'" PrefixI True) (S1 (MetaSel (Just "_emGranularity") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_emMetric") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))

enabledMetric :: EnabledMetric Source #

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

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

  • emGranularity - The granularity of the metric. The only valid value is 1Minute .
  • emMetric - One of the following metrics: * GroupMinSize * GroupMaxSize * GroupDesiredCapacity * GroupInServiceInstances * GroupPendingInstances * GroupStandbyInstances * GroupTerminatingInstances * GroupTotalInstances

emGranularity :: Lens' EnabledMetric (Maybe Text) Source #

The granularity of the metric. The only valid value is 1Minute .

emMetric :: Lens' EnabledMetric (Maybe Text) Source #

One of the following metrics: * GroupMinSize * GroupMaxSize * GroupDesiredCapacity * GroupInServiceInstances * GroupPendingInstances * GroupStandbyInstances * GroupTerminatingInstances * GroupTotalInstances

Filter

data Filter Source #

Describes a filter.

See: filter' smart constructor.

Instances
Eq Filter Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Methods

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

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

Data Filter Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Methods

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

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

toConstr :: Filter -> Constr #

dataTypeOf :: Filter -> DataType #

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

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

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

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

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

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

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

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

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

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

Read Filter Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Show Filter Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Generic Filter Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Associated Types

type Rep Filter :: Type -> Type #

Methods

from :: Filter -> Rep Filter x #

to :: Rep Filter x -> Filter #

Hashable Filter Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Methods

hashWithSalt :: Int -> Filter -> Int #

hash :: Filter -> Int #

ToQuery Filter Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

NFData Filter Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Methods

rnf :: Filter -> () #

type Rep Filter Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

type Rep Filter = D1 (MetaData "Filter" "Network.AWS.AutoScaling.Types.Product" "amazonka-autoscaling-1.6.1-AbdWdH026wCXAk2CK79vG" False) (C1 (MetaCons "Filter'" PrefixI True) (S1 (MetaSel (Just "_fValues") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 (MetaSel (Just "_fName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))

filter' Source #

Arguments

:: Text

fName

-> Filter 

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

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

  • fValues - The value of the filter.
  • fName - The name of the filter. The valid values are: "auto-scaling-group" , "key" , "value" , and "propagate-at-launch" .

fValues :: Lens' Filter [Text] Source #

The value of the filter.

fName :: Lens' Filter Text Source #

The name of the filter. The valid values are: "auto-scaling-group" , "key" , "value" , and "propagate-at-launch" .

Instance

data Instance Source #

Describes an EC2 instance.

See: instance' smart constructor.

Instances
Eq Instance Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Data Instance Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Methods

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

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

toConstr :: Instance -> Constr #

dataTypeOf :: Instance -> DataType #

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

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

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

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

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

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

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

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

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

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

Read Instance Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Show Instance Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Generic Instance Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Associated Types

type Rep Instance :: Type -> Type #

Methods

from :: Instance -> Rep Instance x #

to :: Rep Instance x -> Instance #

Hashable Instance Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Methods

hashWithSalt :: Int -> Instance -> Int #

hash :: Instance -> Int #

FromXML Instance Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

NFData Instance Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Methods

rnf :: Instance -> () #

type Rep Instance Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

type Rep Instance = D1 (MetaData "Instance" "Network.AWS.AutoScaling.Types.Product" "amazonka-autoscaling-1.6.1-AbdWdH026wCXAk2CK79vG" False) (C1 (MetaCons "Instance'" PrefixI True) ((S1 (MetaSel (Just "_iLaunchConfigurationName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_iLaunchTemplate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe LaunchTemplateSpecification)) :*: S1 (MetaSel (Just "_iInstanceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) :*: ((S1 (MetaSel (Just "_iAvailabilityZone") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_iLifecycleState") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 LifecycleState)) :*: (S1 (MetaSel (Just "_iHealthStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_iProtectedFromScaleIn") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool)))))

instance' Source #

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

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

  • iLaunchConfigurationName - The launch configuration associated with the instance.
  • iLaunchTemplate - The launch template for the instance.
  • iInstanceId - The ID of the instance.
  • iAvailabilityZone - The Availability Zone in which the instance is running.
  • iLifecycleState - A description of the current lifecycle state. Note that the Quarantined state is not used.
  • iHealthStatus - The last reported health status of the instance. Healthy means that the instance is healthy and should remain in service. Unhealthy means that the instance is unhealthy and Auto Scaling should terminate and replace it.
  • iProtectedFromScaleIn - Indicates whether the instance is protected from termination by Auto Scaling when scaling in.

iLaunchConfigurationName :: Lens' Instance (Maybe Text) Source #

The launch configuration associated with the instance.

iLaunchTemplate :: Lens' Instance (Maybe LaunchTemplateSpecification) Source #

The launch template for the instance.

iInstanceId :: Lens' Instance Text Source #

The ID of the instance.

iAvailabilityZone :: Lens' Instance Text Source #

The Availability Zone in which the instance is running.

iLifecycleState :: Lens' Instance LifecycleState Source #

A description of the current lifecycle state. Note that the Quarantined state is not used.

iHealthStatus :: Lens' Instance Text Source #

The last reported health status of the instance. Healthy means that the instance is healthy and should remain in service. Unhealthy means that the instance is unhealthy and Auto Scaling should terminate and replace it.

iProtectedFromScaleIn :: Lens' Instance Bool Source #

Indicates whether the instance is protected from termination by Auto Scaling when scaling in.

InstanceMonitoring

data InstanceMonitoring Source #

Describes whether detailed monitoring is enabled for the Auto Scaling instances.

See: instanceMonitoring smart constructor.

Instances
Eq InstanceMonitoring Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Data InstanceMonitoring Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Methods

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

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

toConstr :: InstanceMonitoring -> Constr #

dataTypeOf :: InstanceMonitoring -> DataType #

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

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

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

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

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

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

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

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

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

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

Read InstanceMonitoring Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Show InstanceMonitoring Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Generic InstanceMonitoring Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Associated Types

type Rep InstanceMonitoring :: Type -> Type #

Hashable InstanceMonitoring Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

FromXML InstanceMonitoring Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

ToQuery InstanceMonitoring Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

NFData InstanceMonitoring Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Methods

rnf :: InstanceMonitoring -> () #

type Rep InstanceMonitoring Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

type Rep InstanceMonitoring = D1 (MetaData "InstanceMonitoring" "Network.AWS.AutoScaling.Types.Product" "amazonka-autoscaling-1.6.1-AbdWdH026wCXAk2CK79vG" True) (C1 (MetaCons "InstanceMonitoring'" PrefixI True) (S1 (MetaSel (Just "_imEnabled") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Bool))))

instanceMonitoring :: InstanceMonitoring Source #

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

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

  • imEnabled - If true , detailed monitoring is enabled. Otherwise, basic monitoring is enabled.

imEnabled :: Lens' InstanceMonitoring (Maybe Bool) Source #

If true , detailed monitoring is enabled. Otherwise, basic monitoring is enabled.

LaunchConfiguration

data LaunchConfiguration Source #

Describes a launch configuration.

See: launchConfiguration smart constructor.

Instances
Eq LaunchConfiguration Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Data LaunchConfiguration Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Methods

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

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

toConstr :: LaunchConfiguration -> Constr #

dataTypeOf :: LaunchConfiguration -> DataType #

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

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

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

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

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

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

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

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

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

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

Read LaunchConfiguration Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Show LaunchConfiguration Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Generic LaunchConfiguration Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Associated Types

type Rep LaunchConfiguration :: Type -> Type #

Hashable LaunchConfiguration Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

FromXML LaunchConfiguration Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

NFData LaunchConfiguration Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Methods

rnf :: LaunchConfiguration -> () #

type Rep LaunchConfiguration Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

type Rep LaunchConfiguration = D1 (MetaData "LaunchConfiguration" "Network.AWS.AutoScaling.Types.Product" "amazonka-autoscaling-1.6.1-AbdWdH026wCXAk2CK79vG" False) (C1 (MetaCons "LaunchConfiguration'" PrefixI True) ((((S1 (MetaSel (Just "_lcAssociatePublicIPAddress") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_lcSecurityGroups") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 (MetaSel (Just "_lcSpotPrice") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lcInstanceMonitoring") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe InstanceMonitoring)))) :*: ((S1 (MetaSel (Just "_lcKeyName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lcClassicLinkVPCSecurityGroups") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 (MetaSel (Just "_lcRAMDiskId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_lcKernelId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lcEBSOptimized") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))))) :*: (((S1 (MetaSel (Just "_lcUserData") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lcClassicLinkVPCId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_lcIAMInstanceProfile") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_lcLaunchConfigurationARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lcPlacementTenancy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 (MetaSel (Just "_lcBlockDeviceMappings") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [BlockDeviceMapping])) :*: S1 (MetaSel (Just "_lcLaunchConfigurationName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_lcImageId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_lcInstanceType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_lcCreatedTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ISO8601)))))))

launchConfiguration Source #

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

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

  • lcAssociatePublicIPAddress - [EC2-VPC] Indicates whether to assign a public IP address to each instance.
  • lcSecurityGroups - The security groups to associate with the instances.
  • lcSpotPrice - The price to bid when launching Spot Instances.
  • lcInstanceMonitoring - Controls whether instances in this group are launched with detailed (true ) or basic (false ) monitoring.
  • lcKeyName - The name of the key pair.
  • lcClassicLinkVPCSecurityGroups - The IDs of one or more security groups for the VPC specified in ClassicLinkVPCId . This parameter is required if you specify a ClassicLink-enabled VPC, and cannot be used otherwise. For more information, see ClassicLink in the Amazon Elastic Compute Cloud User Guide .
  • lcRAMDiskId - The ID of the RAM disk associated with the AMI.
  • lcKernelId - The ID of the kernel associated with the AMI.
  • lcEBSOptimized - Controls whether the instance is optimized for EBS I/O (true ) or not (false ).
  • lcUserData - The user data available to the instances.
  • lcClassicLinkVPCId - The ID of a ClassicLink-enabled VPC to link your EC2-Classic instances to. This parameter can only be used if you are launching EC2-Classic instances. For more information, see ClassicLink in the Amazon Elastic Compute Cloud User Guide .
  • lcIAMInstanceProfile - The name or Amazon Resource Name (ARN) of the instance profile associated with the IAM role for the instance.
  • lcLaunchConfigurationARN - The Amazon Resource Name (ARN) of the launch configuration.
  • lcPlacementTenancy - The tenancy of the instance, either default or dedicated . An instance with dedicated tenancy runs in an isolated, single-tenant hardware and can only be launched into a VPC.
  • lcBlockDeviceMappings - A block device mapping, which specifies the block devices for the instance.
  • lcLaunchConfigurationName - The name of the launch configuration.
  • lcImageId - The ID of the Amazon Machine Image (AMI).
  • lcInstanceType - The instance type for the instances.
  • lcCreatedTime - The creation date and time for the launch configuration.

lcAssociatePublicIPAddress :: Lens' LaunchConfiguration (Maybe Bool) Source #

EC2-VPC
Indicates whether to assign a public IP address to each instance.

lcSecurityGroups :: Lens' LaunchConfiguration [Text] Source #

The security groups to associate with the instances.

lcSpotPrice :: Lens' LaunchConfiguration (Maybe Text) Source #

The price to bid when launching Spot Instances.

lcInstanceMonitoring :: Lens' LaunchConfiguration (Maybe InstanceMonitoring) Source #

Controls whether instances in this group are launched with detailed (true ) or basic (false ) monitoring.

lcKeyName :: Lens' LaunchConfiguration (Maybe Text) Source #

The name of the key pair.

lcClassicLinkVPCSecurityGroups :: Lens' LaunchConfiguration [Text] Source #

The IDs of one or more security groups for the VPC specified in ClassicLinkVPCId . This parameter is required if you specify a ClassicLink-enabled VPC, and cannot be used otherwise. For more information, see ClassicLink in the Amazon Elastic Compute Cloud User Guide .

lcRAMDiskId :: Lens' LaunchConfiguration (Maybe Text) Source #

The ID of the RAM disk associated with the AMI.

lcKernelId :: Lens' LaunchConfiguration (Maybe Text) Source #

The ID of the kernel associated with the AMI.

lcEBSOptimized :: Lens' LaunchConfiguration (Maybe Bool) Source #

Controls whether the instance is optimized for EBS I/O (true ) or not (false ).

lcUserData :: Lens' LaunchConfiguration (Maybe Text) Source #

The user data available to the instances.

lcClassicLinkVPCId :: Lens' LaunchConfiguration (Maybe Text) Source #

The ID of a ClassicLink-enabled VPC to link your EC2-Classic instances to. This parameter can only be used if you are launching EC2-Classic instances. For more information, see ClassicLink in the Amazon Elastic Compute Cloud User Guide .

lcIAMInstanceProfile :: Lens' LaunchConfiguration (Maybe Text) Source #

The name or Amazon Resource Name (ARN) of the instance profile associated with the IAM role for the instance.

lcLaunchConfigurationARN :: Lens' LaunchConfiguration (Maybe Text) Source #

The Amazon Resource Name (ARN) of the launch configuration.

lcPlacementTenancy :: Lens' LaunchConfiguration (Maybe Text) Source #

The tenancy of the instance, either default or dedicated . An instance with dedicated tenancy runs in an isolated, single-tenant hardware and can only be launched into a VPC.

lcBlockDeviceMappings :: Lens' LaunchConfiguration [BlockDeviceMapping] Source #

A block device mapping, which specifies the block devices for the instance.

lcLaunchConfigurationName :: Lens' LaunchConfiguration Text Source #

The name of the launch configuration.

lcImageId :: Lens' LaunchConfiguration Text Source #

The ID of the Amazon Machine Image (AMI).

lcInstanceType :: Lens' LaunchConfiguration Text Source #

The instance type for the instances.

lcCreatedTime :: Lens' LaunchConfiguration UTCTime Source #

The creation date and time for the launch configuration.

LaunchTemplateSpecification

data LaunchTemplateSpecification Source #

Describes a launch template.

See: launchTemplateSpecification smart constructor.

Instances
Eq LaunchTemplateSpecification Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Data LaunchTemplateSpecification Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Methods

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

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

toConstr :: LaunchTemplateSpecification -> Constr #

dataTypeOf :: LaunchTemplateSpecification -> DataType #

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

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

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

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

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

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

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

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

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

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

Read LaunchTemplateSpecification Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Show LaunchTemplateSpecification Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Generic LaunchTemplateSpecification Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Associated Types

type Rep LaunchTemplateSpecification :: Type -> Type #

Hashable LaunchTemplateSpecification Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

FromXML LaunchTemplateSpecification Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

ToQuery LaunchTemplateSpecification Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

NFData LaunchTemplateSpecification Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

type Rep LaunchTemplateSpecification Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

type Rep LaunchTemplateSpecification = D1 (MetaData "LaunchTemplateSpecification" "Network.AWS.AutoScaling.Types.Product" "amazonka-autoscaling-1.6.1-AbdWdH026wCXAk2CK79vG" False) (C1 (MetaCons "LaunchTemplateSpecification'" PrefixI True) (S1 (MetaSel (Just "_ltsLaunchTemplateName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_ltsLaunchTemplateId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ltsVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

launchTemplateSpecification :: LaunchTemplateSpecification Source #

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

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

  • ltsLaunchTemplateName - The name of the launch template. You must specify either a template name or a template ID.
  • ltsLaunchTemplateId - The ID of the launch template. You must specify either a template ID or a template name.
  • ltsVersion - The version number, > Latest , or > Default . If the value is > Latest , Auto Scaling selects the latest version of the launch template when launching instances. If the value is > Default , Auto Scaling selects the default version of the launch template when launching instances. The default value is > Default .

ltsLaunchTemplateName :: Lens' LaunchTemplateSpecification (Maybe Text) Source #

The name of the launch template. You must specify either a template name or a template ID.

ltsLaunchTemplateId :: Lens' LaunchTemplateSpecification (Maybe Text) Source #

The ID of the launch template. You must specify either a template ID or a template name.

ltsVersion :: Lens' LaunchTemplateSpecification (Maybe Text) Source #

The version number, > Latest , or > Default . If the value is > Latest , Auto Scaling selects the latest version of the launch template when launching instances. If the value is > Default , Auto Scaling selects the default version of the launch template when launching instances. The default value is > Default .

LifecycleHook

data LifecycleHook Source #

Describes a lifecycle hook, which tells Auto Scaling that you want to perform an action whenever it launches instances or whenever it terminates instances.

For more information, see Auto Scaling Lifecycle Hooks in the Auto Scaling User Guide .

See: lifecycleHook smart constructor.

Instances
Eq LifecycleHook Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Data LifecycleHook Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Methods

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

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

toConstr :: LifecycleHook -> Constr #

dataTypeOf :: LifecycleHook -> DataType #

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

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

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

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

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

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

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

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

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

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

Read LifecycleHook Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Show LifecycleHook Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Generic LifecycleHook Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Associated Types

type Rep LifecycleHook :: Type -> Type #

Hashable LifecycleHook Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

FromXML LifecycleHook Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

NFData LifecycleHook Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Methods

rnf :: LifecycleHook -> () #

type Rep LifecycleHook Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

type Rep LifecycleHook = D1 (MetaData "LifecycleHook" "Network.AWS.AutoScaling.Types.Product" "amazonka-autoscaling-1.6.1-AbdWdH026wCXAk2CK79vG" False) (C1 (MetaCons "LifecycleHook'" PrefixI True) (((S1 (MetaSel (Just "_lhDefaultResult") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lhLifecycleHookName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_lhHeartbeatTimeout") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)) :*: S1 (MetaSel (Just "_lhAutoScalingGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_lhNotificationMetadata") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lhGlobalTimeout") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))) :*: (S1 (MetaSel (Just "_lhNotificationTargetARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_lhLifecycleTransition") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lhRoleARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))

lifecycleHook :: LifecycleHook Source #

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

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

  • lhDefaultResult - Defines the action the Auto Scaling group should take when the lifecycle hook timeout elapses or if an unexpected failure occurs. The valid values are CONTINUE and ABANDON . The default value is CONTINUE .
  • lhLifecycleHookName - The name of the lifecycle hook.
  • lhHeartbeatTimeout - The maximum time, in seconds, that can elapse before the lifecycle hook times out. If the lifecycle hook times out, Auto Scaling performs the default action. You can prevent the lifecycle hook from timing out by calling RecordLifecycleActionHeartbeat .
  • lhAutoScalingGroupName - The name of the Auto Scaling group for the lifecycle hook.
  • lhNotificationMetadata - Additional information that you want to include any time Auto Scaling sends a message to the notification target.
  • lhGlobalTimeout - The maximum time, in seconds, that an instance can remain in a Pending:Wait or Terminating:Wait state. The maximum is 172800 seconds (48 hours) or 100 times HeartbeatTimeout , whichever is smaller.
  • lhNotificationTargetARN - The ARN of the target that Auto Scaling sends notifications to when an instance is in the transition state for the lifecycle hook. The notification target can be either an SQS queue or an SNS topic.
  • lhLifecycleTransition - The state of the EC2 instance to which you want to attach the lifecycle hook. For a list of lifecycle hook types, see DescribeLifecycleHookTypes .
  • lhRoleARN - The ARN of the IAM role that allows the Auto Scaling group to publish to the specified notification target.

lhDefaultResult :: Lens' LifecycleHook (Maybe Text) Source #

Defines the action the Auto Scaling group should take when the lifecycle hook timeout elapses or if an unexpected failure occurs. The valid values are CONTINUE and ABANDON . The default value is CONTINUE .

lhLifecycleHookName :: Lens' LifecycleHook (Maybe Text) Source #

The name of the lifecycle hook.

lhHeartbeatTimeout :: Lens' LifecycleHook (Maybe Int) Source #

The maximum time, in seconds, that can elapse before the lifecycle hook times out. If the lifecycle hook times out, Auto Scaling performs the default action. You can prevent the lifecycle hook from timing out by calling RecordLifecycleActionHeartbeat .

lhAutoScalingGroupName :: Lens' LifecycleHook (Maybe Text) Source #

The name of the Auto Scaling group for the lifecycle hook.

lhNotificationMetadata :: Lens' LifecycleHook (Maybe Text) Source #

Additional information that you want to include any time Auto Scaling sends a message to the notification target.

lhGlobalTimeout :: Lens' LifecycleHook (Maybe Int) Source #

The maximum time, in seconds, that an instance can remain in a Pending:Wait or Terminating:Wait state. The maximum is 172800 seconds (48 hours) or 100 times HeartbeatTimeout , whichever is smaller.

lhNotificationTargetARN :: Lens' LifecycleHook (Maybe Text) Source #

The ARN of the target that Auto Scaling sends notifications to when an instance is in the transition state for the lifecycle hook. The notification target can be either an SQS queue or an SNS topic.

lhLifecycleTransition :: Lens' LifecycleHook (Maybe Text) Source #

The state of the EC2 instance to which you want to attach the lifecycle hook. For a list of lifecycle hook types, see DescribeLifecycleHookTypes .

lhRoleARN :: Lens' LifecycleHook (Maybe Text) Source #

The ARN of the IAM role that allows the Auto Scaling group to publish to the specified notification target.

LifecycleHookSpecification

data LifecycleHookSpecification Source #

Describes a lifecycle hook, which tells Auto Scaling that you want to perform an action whenever it launches instances or whenever it terminates instances.

For more information, see Auto Scaling Lifecycle Hooks in the Auto Scaling User Guide .

See: lifecycleHookSpecification smart constructor.

Instances
Eq LifecycleHookSpecification Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Data LifecycleHookSpecification Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Methods

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

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

toConstr :: LifecycleHookSpecification -> Constr #

dataTypeOf :: LifecycleHookSpecification -> DataType #

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

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

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

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

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

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

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

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

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

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

Read LifecycleHookSpecification Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Show LifecycleHookSpecification Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Generic LifecycleHookSpecification Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Associated Types

type Rep LifecycleHookSpecification :: Type -> Type #

Hashable LifecycleHookSpecification Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

ToQuery LifecycleHookSpecification Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

NFData LifecycleHookSpecification Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

type Rep LifecycleHookSpecification Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

type Rep LifecycleHookSpecification = D1 (MetaData "LifecycleHookSpecification" "Network.AWS.AutoScaling.Types.Product" "amazonka-autoscaling-1.6.1-AbdWdH026wCXAk2CK79vG" False) (C1 (MetaCons "LifecycleHookSpecification'" PrefixI True) ((S1 (MetaSel (Just "_lhsDefaultResult") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_lhsHeartbeatTimeout") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)) :*: S1 (MetaSel (Just "_lhsNotificationMetadata") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_lhsNotificationTargetARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lhsRoleARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_lhsLifecycleHookName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_lhsLifecycleTransition") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))

lifecycleHookSpecification Source #

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

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

  • lhsDefaultResult - Defines the action the Auto Scaling group should take when the lifecycle hook timeout elapses or if an unexpected failure occurs. The valid values are CONTINUE and ABANDON .
  • lhsHeartbeatTimeout - The maximum time, in seconds, that can elapse before the lifecycle hook times out. If the lifecycle hook times out, Auto Scaling performs the default action. You can prevent the lifecycle hook from timing out by calling RecordLifecycleActionHeartbeat .
  • lhsNotificationMetadata - Additional information that you want to include any time Auto Scaling sends a message to the notification target.
  • lhsNotificationTargetARN - The ARN of the target that Auto Scaling sends notifications to when an instance is in the transition state for the lifecycle hook. The notification target can be either an SQS queue or an SNS topic.
  • lhsRoleARN - The ARN of the IAM role that allows the Auto Scaling group to publish to the specified notification target.
  • lhsLifecycleHookName - The name of the lifecycle hook.
  • lhsLifecycleTransition - The state of the EC2 instance to which you want to attach the lifecycle hook. For a list of lifecycle hook types, see DescribeLifecycleHookTypes .

lhsDefaultResult :: Lens' LifecycleHookSpecification (Maybe Text) Source #

Defines the action the Auto Scaling group should take when the lifecycle hook timeout elapses or if an unexpected failure occurs. The valid values are CONTINUE and ABANDON .

lhsHeartbeatTimeout :: Lens' LifecycleHookSpecification (Maybe Int) Source #

The maximum time, in seconds, that can elapse before the lifecycle hook times out. If the lifecycle hook times out, Auto Scaling performs the default action. You can prevent the lifecycle hook from timing out by calling RecordLifecycleActionHeartbeat .

lhsNotificationMetadata :: Lens' LifecycleHookSpecification (Maybe Text) Source #

Additional information that you want to include any time Auto Scaling sends a message to the notification target.

lhsNotificationTargetARN :: Lens' LifecycleHookSpecification (Maybe Text) Source #

The ARN of the target that Auto Scaling sends notifications to when an instance is in the transition state for the lifecycle hook. The notification target can be either an SQS queue or an SNS topic.

lhsRoleARN :: Lens' LifecycleHookSpecification (Maybe Text) Source #

The ARN of the IAM role that allows the Auto Scaling group to publish to the specified notification target.

lhsLifecycleTransition :: Lens' LifecycleHookSpecification Text Source #

The state of the EC2 instance to which you want to attach the lifecycle hook. For a list of lifecycle hook types, see DescribeLifecycleHookTypes .

LoadBalancerState

data LoadBalancerState Source #

Describes the state of a Classic Load Balancer.

If you specify a load balancer when creating the Auto Scaling group, the state of the load balancer is InService .

If you attach a load balancer to an existing Auto Scaling group, the initial state is Adding . The state transitions to Added after all instances in the group are registered with the load balancer. If ELB health checks are enabled for the load balancer, the state transitions to InService after at least one instance in the group passes the health check. If EC2 health checks are enabled instead, the load balancer remains in the Added state.

See: loadBalancerState smart constructor.

Instances
Eq LoadBalancerState Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Data LoadBalancerState Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Methods

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

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

toConstr :: LoadBalancerState -> Constr #

dataTypeOf :: LoadBalancerState -> DataType #

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

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

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

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

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

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

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

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

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

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

Read LoadBalancerState Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Show LoadBalancerState Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Generic LoadBalancerState Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Associated Types

type Rep LoadBalancerState :: Type -> Type #

Hashable LoadBalancerState Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

FromXML LoadBalancerState Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

NFData LoadBalancerState Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Methods

rnf :: LoadBalancerState -> () #

type Rep LoadBalancerState Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

type Rep LoadBalancerState = D1 (MetaData "LoadBalancerState" "Network.AWS.AutoScaling.Types.Product" "amazonka-autoscaling-1.6.1-AbdWdH026wCXAk2CK79vG" False) (C1 (MetaCons "LoadBalancerState'" PrefixI True) (S1 (MetaSel (Just "_lbsState") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lbsLoadBalancerName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))

loadBalancerState :: LoadBalancerState Source #

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

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

  • lbsState - One of the following load balancer states: * Adding - The instances in the group are being registered with the load balancer. * Added - All instances in the group are registered with the load balancer. * InService - At least one instance in the group passed an ELB health check. * Removing - The instances in the group are being deregistered from the load balancer. If connection draining is enabled, Elastic Load Balancing waits for in-flight requests to complete before deregistering the instances. * Removed - All instances in the group are deregistered from the load balancer.
  • lbsLoadBalancerName - The name of the load balancer.

lbsState :: Lens' LoadBalancerState (Maybe Text) Source #

One of the following load balancer states: * Adding - The instances in the group are being registered with the load balancer. * Added - All instances in the group are registered with the load balancer. * InService - At least one instance in the group passed an ELB health check. * Removing - The instances in the group are being deregistered from the load balancer. If connection draining is enabled, Elastic Load Balancing waits for in-flight requests to complete before deregistering the instances. * Removed - All instances in the group are deregistered from the load balancer.

lbsLoadBalancerName :: Lens' LoadBalancerState (Maybe Text) Source #

The name of the load balancer.

LoadBalancerTargetGroupState

data LoadBalancerTargetGroupState Source #

Describes the state of a target group.

If you attach a target group to an existing Auto Scaling group, the initial state is Adding . The state transitions to Added after all Auto Scaling instances are registered with the target group. If ELB health checks are enabled, the state transitions to InService after at least one Auto Scaling instance passes the health check. If EC2 health checks are enabled instead, the target group remains in the Added state.

See: loadBalancerTargetGroupState smart constructor.

Instances
Eq LoadBalancerTargetGroupState Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Data LoadBalancerTargetGroupState Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Methods

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

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

toConstr :: LoadBalancerTargetGroupState -> Constr #

dataTypeOf :: LoadBalancerTargetGroupState -> DataType #

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

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

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

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

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

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

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

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

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

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

Read LoadBalancerTargetGroupState Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Show LoadBalancerTargetGroupState Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Generic LoadBalancerTargetGroupState Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Associated Types

type Rep LoadBalancerTargetGroupState :: Type -> Type #

Hashable LoadBalancerTargetGroupState Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

FromXML LoadBalancerTargetGroupState Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

NFData LoadBalancerTargetGroupState Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

type Rep LoadBalancerTargetGroupState Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

type Rep LoadBalancerTargetGroupState = D1 (MetaData "LoadBalancerTargetGroupState" "Network.AWS.AutoScaling.Types.Product" "amazonka-autoscaling-1.6.1-AbdWdH026wCXAk2CK79vG" False) (C1 (MetaCons "LoadBalancerTargetGroupState'" PrefixI True) (S1 (MetaSel (Just "_lbtgsState") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lbtgsLoadBalancerTargetGroupARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))

loadBalancerTargetGroupState :: LoadBalancerTargetGroupState Source #

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

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

  • lbtgsState - The state of the target group. * Adding - The Auto Scaling instances are being registered with the target group. * Added - All Auto Scaling instances are registered with the target group. * InService - At least one Auto Scaling instance passed an ELB health check. * Removing - The Auto Scaling instances are being deregistered from the target group. If connection draining is enabled, Elastic Load Balancing waits for in-flight requests to complete before deregistering the instances. * Removed - All Auto Scaling instances are deregistered from the target group.
  • lbtgsLoadBalancerTargetGroupARN - The Amazon Resource Name (ARN) of the target group.

lbtgsState :: Lens' LoadBalancerTargetGroupState (Maybe Text) Source #

The state of the target group. * Adding - The Auto Scaling instances are being registered with the target group. * Added - All Auto Scaling instances are registered with the target group. * InService - At least one Auto Scaling instance passed an ELB health check. * Removing - The Auto Scaling instances are being deregistered from the target group. If connection draining is enabled, Elastic Load Balancing waits for in-flight requests to complete before deregistering the instances. * Removed - All Auto Scaling instances are deregistered from the target group.

lbtgsLoadBalancerTargetGroupARN :: Lens' LoadBalancerTargetGroupState (Maybe Text) Source #

The Amazon Resource Name (ARN) of the target group.

MetricCollectionType

data MetricCollectionType Source #

Describes a metric.

See: metricCollectionType smart constructor.

Instances
Eq MetricCollectionType Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Data MetricCollectionType Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Methods

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

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

toConstr :: MetricCollectionType -> Constr #

dataTypeOf :: MetricCollectionType -> DataType #

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

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

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

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

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

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

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

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

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

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

Read MetricCollectionType Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Show MetricCollectionType Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Generic MetricCollectionType Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Associated Types

type Rep MetricCollectionType :: Type -> Type #

Hashable MetricCollectionType Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

FromXML MetricCollectionType Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

NFData MetricCollectionType Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Methods

rnf :: MetricCollectionType -> () #

type Rep MetricCollectionType Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

type Rep MetricCollectionType = D1 (MetaData "MetricCollectionType" "Network.AWS.AutoScaling.Types.Product" "amazonka-autoscaling-1.6.1-AbdWdH026wCXAk2CK79vG" True) (C1 (MetaCons "MetricCollectionType'" PrefixI True) (S1 (MetaSel (Just "_mctMetric") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))))

metricCollectionType :: MetricCollectionType Source #

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

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

  • mctMetric - One of the following metrics: * GroupMinSize * GroupMaxSize * GroupDesiredCapacity * GroupInServiceInstances * GroupPendingInstances * GroupStandbyInstances * GroupTerminatingInstances * GroupTotalInstances

mctMetric :: Lens' MetricCollectionType (Maybe Text) Source #

One of the following metrics: * GroupMinSize * GroupMaxSize * GroupDesiredCapacity * GroupInServiceInstances * GroupPendingInstances * GroupStandbyInstances * GroupTerminatingInstances * GroupTotalInstances

MetricDimension

data MetricDimension Source #

Describes the dimension of a metric.

See: metricDimension smart constructor.

Instances
Eq MetricDimension Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Data MetricDimension Source # 
Instance details

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

Show MetricDimension Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Generic MetricDimension Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Associated Types

type Rep MetricDimension :: Type -> Type #

Hashable MetricDimension Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

FromXML MetricDimension Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

ToQuery MetricDimension Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

NFData MetricDimension Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Methods

rnf :: MetricDimension -> () #

type Rep MetricDimension Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

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

MetricGranularityType

data MetricGranularityType Source #

Describes a granularity of a metric.

See: metricGranularityType smart constructor.

Instances
Eq MetricGranularityType Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Data MetricGranularityType Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Methods

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

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

toConstr :: MetricGranularityType -> Constr #

dataTypeOf :: MetricGranularityType -> DataType #

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

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

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

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

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

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

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

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

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

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

Read MetricGranularityType Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Show MetricGranularityType Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Generic MetricGranularityType Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Associated Types

type Rep MetricGranularityType :: Type -> Type #

Hashable MetricGranularityType Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

FromXML MetricGranularityType Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

NFData MetricGranularityType Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Methods

rnf :: MetricGranularityType -> () #

type Rep MetricGranularityType Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

type Rep MetricGranularityType = D1 (MetaData "MetricGranularityType" "Network.AWS.AutoScaling.Types.Product" "amazonka-autoscaling-1.6.1-AbdWdH026wCXAk2CK79vG" True) (C1 (MetaCons "MetricGranularityType'" PrefixI True) (S1 (MetaSel (Just "_mgtGranularity") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))))

metricGranularityType :: MetricGranularityType Source #

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

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

mgtGranularity :: Lens' MetricGranularityType (Maybe Text) Source #

The granularity. The only valid value is 1Minute .

NotificationConfiguration

data NotificationConfiguration Source #

Describes a notification.

See: notificationConfiguration smart constructor.

Instances
Eq NotificationConfiguration Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Data NotificationConfiguration Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Methods

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

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

toConstr :: NotificationConfiguration -> Constr #

dataTypeOf :: NotificationConfiguration -> DataType #

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

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

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

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

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

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

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

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

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

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

Read NotificationConfiguration Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Show NotificationConfiguration Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Generic NotificationConfiguration Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Associated Types

type Rep NotificationConfiguration :: Type -> Type #

Hashable NotificationConfiguration Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

FromXML NotificationConfiguration Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

NFData NotificationConfiguration Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

type Rep NotificationConfiguration Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

type Rep NotificationConfiguration = D1 (MetaData "NotificationConfiguration" "Network.AWS.AutoScaling.Types.Product" "amazonka-autoscaling-1.6.1-AbdWdH026wCXAk2CK79vG" False) (C1 (MetaCons "NotificationConfiguration'" PrefixI True) (S1 (MetaSel (Just "_ncTopicARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_ncAutoScalingGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ncNotificationType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

notificationConfiguration :: NotificationConfiguration Source #

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

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

  • ncTopicARN - The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic.
  • ncAutoScalingGroupName - The name of the Auto Scaling group.
  • ncNotificationType - One of the following event notification types: * autoscaling:EC2_INSTANCE_LAUNCH * autoscaling:EC2_INSTANCE_LAUNCH_ERROR * autoscaling:EC2_INSTANCE_TERMINATE * autoscaling:EC2_INSTANCE_TERMINATE_ERROR * autoscaling:TEST_NOTIFICATION

ncTopicARN :: Lens' NotificationConfiguration (Maybe Text) Source #

The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic.

ncAutoScalingGroupName :: Lens' NotificationConfiguration (Maybe Text) Source #

The name of the Auto Scaling group.

ncNotificationType :: Lens' NotificationConfiguration (Maybe Text) Source #

One of the following event notification types: * autoscaling:EC2_INSTANCE_LAUNCH * autoscaling:EC2_INSTANCE_LAUNCH_ERROR * autoscaling:EC2_INSTANCE_TERMINATE * autoscaling:EC2_INSTANCE_TERMINATE_ERROR * autoscaling:TEST_NOTIFICATION

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.AutoScaling.Types.Product

Data PredefinedMetricSpecification Source # 
Instance details

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

Show PredefinedMetricSpecification Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Generic PredefinedMetricSpecification Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Associated Types

type Rep PredefinedMetricSpecification :: Type -> Type #

Hashable PredefinedMetricSpecification Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

FromXML PredefinedMetricSpecification Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

ToQuery PredefinedMetricSpecification Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

NFData PredefinedMetricSpecification Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

type Rep PredefinedMetricSpecification Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

type Rep PredefinedMetricSpecification = D1 (MetaData "PredefinedMetricSpecification" "Network.AWS.AutoScaling.Types.Product" "amazonka-autoscaling-1.6.1-AbdWdH026wCXAk2CK79vG" 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 - Identifies the resource associated with the metric type. The following predefined metrics are available: * ASGAverageCPUUtilization - average CPU utilization of the Auto Scaling group * ASGAverageNetworkIn - average number of bytes received on all network interfaces by the Auto Scaling group * ASGAverageNetworkOut - average number of bytes sent out on all network interfaces by the Auto Scaling group * ALBRequestCountPerTarget - number of requests completed per target in an Application Load Balancer target group For predefined metric types ASGAverageCPUUtilization , ASGAverageNetworkIn , and ASGAverageNetworkOut , the parameter must not be specified as the resource associated with the metric type is the Auto Scaling group. For predefined metric type ALBRequestCountPerTarget , the parameter must be specified in the format: app/load-balancer-name /load-balancer-id targetgrouptarget-group-name /target-group-id , where app/load-balancer-name /load-balancer-id is the final portion of the load balancer ARN, and targetgroup/target-group-name /target-group-id is the final portion of the target group ARN. The target group must be attached to the Auto Scaling group.
  • pmsPredefinedMetricType - The metric type.

pmsResourceLabel :: Lens' PredefinedMetricSpecification (Maybe Text) Source #

Identifies the resource associated with the metric type. The following predefined metrics are available: * ASGAverageCPUUtilization - average CPU utilization of the Auto Scaling group * ASGAverageNetworkIn - average number of bytes received on all network interfaces by the Auto Scaling group * ASGAverageNetworkOut - average number of bytes sent out on all network interfaces by the Auto Scaling group * ALBRequestCountPerTarget - number of requests completed per target in an Application Load Balancer target group For predefined metric types ASGAverageCPUUtilization , ASGAverageNetworkIn , and ASGAverageNetworkOut , the parameter must not be specified as the resource associated with the metric type is the Auto Scaling group. For predefined metric type ALBRequestCountPerTarget , the parameter must be specified in the format: app/load-balancer-name /load-balancer-id targetgrouptarget-group-name /target-group-id , where app/load-balancer-name /load-balancer-id is the final portion of the load balancer ARN, and targetgroup/target-group-name /target-group-id is the final portion of the target group ARN. The target group must be attached to the Auto Scaling group.

ProcessType

data ProcessType Source #

Describes a process type.

For more information, see Auto Scaling Processes in the Auto Scaling User Guide .

See: processType smart constructor.

Instances
Eq ProcessType Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Data ProcessType Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Methods

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

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

toConstr :: ProcessType -> Constr #

dataTypeOf :: ProcessType -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ProcessType Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Show ProcessType Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Generic ProcessType Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Associated Types

type Rep ProcessType :: Type -> Type #

Hashable ProcessType Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

FromXML ProcessType Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

NFData ProcessType Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Methods

rnf :: ProcessType -> () #

type Rep ProcessType Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

type Rep ProcessType = D1 (MetaData "ProcessType" "Network.AWS.AutoScaling.Types.Product" "amazonka-autoscaling-1.6.1-AbdWdH026wCXAk2CK79vG" True) (C1 (MetaCons "ProcessType'" PrefixI True) (S1 (MetaSel (Just "_ptProcessName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))

processType Source #

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

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

  • ptProcessName - One of the following processes: * Launch * Terminate * AddToLoadBalancer * AlarmNotification * AZRebalance * HealthCheck * ReplaceUnhealthy * ScheduledActions

ptProcessName :: Lens' ProcessType Text Source #

One of the following processes: * Launch * Terminate * AddToLoadBalancer * AlarmNotification * AZRebalance * HealthCheck * ReplaceUnhealthy * ScheduledActions

ScalingPolicy

data ScalingPolicy Source #

Describes a scaling policy.

See: scalingPolicy smart constructor.

Instances
Eq ScalingPolicy Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Data ScalingPolicy Source # 
Instance details

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

Show ScalingPolicy Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Generic ScalingPolicy Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Associated Types

type Rep ScalingPolicy :: Type -> Type #

Hashable ScalingPolicy Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

FromXML ScalingPolicy Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

NFData ScalingPolicy Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Methods

rnf :: ScalingPolicy -> () #

type Rep ScalingPolicy Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

type Rep ScalingPolicy = D1 (MetaData "ScalingPolicy" "Network.AWS.AutoScaling.Types.Product" "amazonka-autoscaling-1.6.1-AbdWdH026wCXAk2CK79vG" False) (C1 (MetaCons "ScalingPolicy'" PrefixI True) (((S1 (MetaSel (Just "_sMinAdjustmentStep") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 (MetaSel (Just "_sEstimatedInstanceWarmup") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)) :*: S1 (MetaSel (Just "_sPolicyName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_sPolicyType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_sStepAdjustments") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [StepAdjustment]))) :*: (S1 (MetaSel (Just "_sTargetTrackingConfiguration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe TargetTrackingConfiguration)) :*: S1 (MetaSel (Just "_sAdjustmentType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 (MetaSel (Just "_sAutoScalingGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_sScalingAdjustment") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)) :*: S1 (MetaSel (Just "_sCooldown") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)))) :*: ((S1 (MetaSel (Just "_sPolicyARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_sAlarms") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Alarm]))) :*: (S1 (MetaSel (Just "_sMetricAggregationType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_sMinAdjustmentMagnitude") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)))))))

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

  • sMinAdjustmentStep - Available for backward compatibility. Use MinAdjustmentMagnitude instead.
  • sEstimatedInstanceWarmup - The estimated time, in seconds, until a newly launched instance can contribute to the CloudWatch metrics.
  • sPolicyName - The name of the scaling policy.
  • sPolicyType - The policy type. Valid values are SimpleScaling and StepScaling .
  • sStepAdjustments - A set of adjustments that enable you to scale based on the size of the alarm breach.
  • sTargetTrackingConfiguration - A target tracking policy.
  • sAdjustmentType - The adjustment type, which specifies how ScalingAdjustment is interpreted. Valid values are ChangeInCapacity , ExactCapacity , and PercentChangeInCapacity .
  • sAutoScalingGroupName - The name of the Auto Scaling group.
  • sScalingAdjustment - The amount by which to scale, based on the specified adjustment type. A positive value adds to the current capacity while a negative number removes from the current capacity.
  • sCooldown - The amount of time, in seconds, after a scaling activity completes before any further dynamic scaling activities can start.
  • sPolicyARN - The Amazon Resource Name (ARN) of the policy.
  • sAlarms - The CloudWatch alarms related to the policy.
  • sMetricAggregationType - The aggregation type for the CloudWatch metrics. Valid values are Minimum , Maximum , and Average .
  • sMinAdjustmentMagnitude - The minimum number of instances to scale. If the value of AdjustmentType is PercentChangeInCapacity , the scaling policy changes the DesiredCapacity of the Auto Scaling group by at least this many instances. Otherwise, the error is ValidationError .

sMinAdjustmentStep :: Lens' ScalingPolicy (Maybe Int) Source #

Available for backward compatibility. Use MinAdjustmentMagnitude instead.

sEstimatedInstanceWarmup :: Lens' ScalingPolicy (Maybe Int) Source #

The estimated time, in seconds, until a newly launched instance can contribute to the CloudWatch metrics.

sPolicyName :: Lens' ScalingPolicy (Maybe Text) Source #

The name of the scaling policy.

sPolicyType :: Lens' ScalingPolicy (Maybe Text) Source #

The policy type. Valid values are SimpleScaling and StepScaling .

sStepAdjustments :: Lens' ScalingPolicy [StepAdjustment] Source #

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

sAdjustmentType :: Lens' ScalingPolicy (Maybe Text) Source #

The adjustment type, which specifies how ScalingAdjustment is interpreted. Valid values are ChangeInCapacity , ExactCapacity , and PercentChangeInCapacity .

sAutoScalingGroupName :: Lens' ScalingPolicy (Maybe Text) Source #

The name of the Auto Scaling group.

sScalingAdjustment :: Lens' ScalingPolicy (Maybe Int) Source #

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

sCooldown :: Lens' ScalingPolicy (Maybe Int) Source #

The amount of time, in seconds, after a scaling activity completes before any further dynamic scaling activities can start.

sPolicyARN :: Lens' ScalingPolicy (Maybe Text) Source #

The Amazon Resource Name (ARN) of the policy.

sAlarms :: Lens' ScalingPolicy [Alarm] Source #

The CloudWatch alarms related to the policy.

sMetricAggregationType :: Lens' ScalingPolicy (Maybe Text) Source #

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

sMinAdjustmentMagnitude :: Lens' ScalingPolicy (Maybe Int) Source #

The minimum number of instances to scale. If the value of AdjustmentType is PercentChangeInCapacity , the scaling policy changes the DesiredCapacity of the Auto Scaling group by at least this many instances. Otherwise, the error is ValidationError .

ScalingProcessQuery

data ScalingProcessQuery Source #

See: scalingProcessQuery smart constructor.

Instances
Eq ScalingProcessQuery Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Data ScalingProcessQuery Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Methods

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

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

toConstr :: ScalingProcessQuery -> Constr #

dataTypeOf :: ScalingProcessQuery -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ScalingProcessQuery Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Show ScalingProcessQuery Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Generic ScalingProcessQuery Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Associated Types

type Rep ScalingProcessQuery :: Type -> Type #

Hashable ScalingProcessQuery Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

ToQuery ScalingProcessQuery Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

NFData ScalingProcessQuery Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Methods

rnf :: ScalingProcessQuery -> () #

type Rep ScalingProcessQuery Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

type Rep ScalingProcessQuery = D1 (MetaData "ScalingProcessQuery" "Network.AWS.AutoScaling.Types.Product" "amazonka-autoscaling-1.6.1-AbdWdH026wCXAk2CK79vG" False) (C1 (MetaCons "ScalingProcessQuery'" PrefixI True) (S1 (MetaSel (Just "_spqScalingProcesses") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 (MetaSel (Just "_spqAutoScalingGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))

scalingProcessQuery Source #

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

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

  • spqScalingProcesses - One or more of the following processes. If you omit this parameter, all processes are specified. * Launch * Terminate * HealthCheck * ReplaceUnhealthy * AZRebalance * AlarmNotification * ScheduledActions * AddToLoadBalancer
  • spqAutoScalingGroupName - The name of the Auto Scaling group.

spqScalingProcesses :: Lens' ScalingProcessQuery [Text] Source #

One or more of the following processes. If you omit this parameter, all processes are specified. * Launch * Terminate * HealthCheck * ReplaceUnhealthy * AZRebalance * AlarmNotification * ScheduledActions * AddToLoadBalancer

spqAutoScalingGroupName :: Lens' ScalingProcessQuery Text Source #

The name of the Auto Scaling group.

ScheduledUpdateGroupAction

data ScheduledUpdateGroupAction Source #

Describes a scheduled update to an Auto Scaling group.

See: scheduledUpdateGroupAction smart constructor.

Instances
Eq ScheduledUpdateGroupAction Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Data ScheduledUpdateGroupAction Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Methods

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

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

toConstr :: ScheduledUpdateGroupAction -> Constr #

dataTypeOf :: ScheduledUpdateGroupAction -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ScheduledUpdateGroupAction Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Show ScheduledUpdateGroupAction Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Generic ScheduledUpdateGroupAction Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Associated Types

type Rep ScheduledUpdateGroupAction :: Type -> Type #

Hashable ScheduledUpdateGroupAction Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

FromXML ScheduledUpdateGroupAction Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

NFData ScheduledUpdateGroupAction Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

type Rep ScheduledUpdateGroupAction Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

type Rep ScheduledUpdateGroupAction = D1 (MetaData "ScheduledUpdateGroupAction" "Network.AWS.AutoScaling.Types.Product" "amazonka-autoscaling-1.6.1-AbdWdH026wCXAk2CK79vG" False) (C1 (MetaCons "ScheduledUpdateGroupAction'" PrefixI True) (((S1 (MetaSel (Just "_sugaScheduledActionARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_sugaStartTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ISO8601))) :*: (S1 (MetaSel (Just "_sugaTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ISO8601)) :*: (S1 (MetaSel (Just "_sugaScheduledActionName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_sugaMaxSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))))) :*: ((S1 (MetaSel (Just "_sugaRecurrence") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_sugaDesiredCapacity") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))) :*: (S1 (MetaSel (Just "_sugaMinSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 (MetaSel (Just "_sugaAutoScalingGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_sugaEndTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ISO8601)))))))

scheduledUpdateGroupAction :: ScheduledUpdateGroupAction Source #

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

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

  • sugaScheduledActionARN - The Amazon Resource Name (ARN) of the scheduled action.
  • sugaStartTime - The date and time that the action is scheduled to begin. This date and time can be up to one month in the future. When StartTime and EndTime are specified with Recurrence , they form the boundaries of when the recurring action will start and stop.
  • sugaTime - This parameter is deprecated.
  • sugaScheduledActionName - The name of the scheduled action.
  • sugaMaxSize - The maximum size of the group.
  • sugaRecurrence - The recurring schedule for the action.
  • sugaDesiredCapacity - The number of instances you prefer to maintain in the group.
  • sugaMinSize - The minimum size of the group.
  • sugaAutoScalingGroupName - The name of the Auto Scaling group.
  • sugaEndTime - The date and time that the action is scheduled to end. This date and time can be up to one month in the future.

sugaScheduledActionARN :: Lens' ScheduledUpdateGroupAction (Maybe Text) Source #

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

sugaStartTime :: Lens' ScheduledUpdateGroupAction (Maybe UTCTime) Source #

The date and time that the action is scheduled to begin. This date and time can be up to one month in the future. When StartTime and EndTime are specified with Recurrence , they form the boundaries of when the recurring action will start and stop.

sugaTime :: Lens' ScheduledUpdateGroupAction (Maybe UTCTime) Source #

This parameter is deprecated.

sugaMaxSize :: Lens' ScheduledUpdateGroupAction (Maybe Int) Source #

The maximum size of the group.

sugaRecurrence :: Lens' ScheduledUpdateGroupAction (Maybe Text) Source #

The recurring schedule for the action.

sugaDesiredCapacity :: Lens' ScheduledUpdateGroupAction (Maybe Int) Source #

The number of instances you prefer to maintain in the group.

sugaMinSize :: Lens' ScheduledUpdateGroupAction (Maybe Int) Source #

The minimum size of the group.

sugaEndTime :: Lens' ScheduledUpdateGroupAction (Maybe UTCTime) Source #

The date and time that the action is scheduled to end. This date and time can be up to one month in the future.

StepAdjustment

data StepAdjustment Source #

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:

  • If you want the adjustment to be triggered 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.
  • If you want the adjustment to be triggered 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.AutoScaling.Types.Product

Data StepAdjustment Source # 
Instance details

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

Show StepAdjustment Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Generic StepAdjustment Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Associated Types

type Rep StepAdjustment :: Type -> Type #

Hashable StepAdjustment Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

FromXML StepAdjustment Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

ToQuery StepAdjustment Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

NFData StepAdjustment Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Methods

rnf :: StepAdjustment -> () #

type Rep StepAdjustment Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

type Rep StepAdjustment = D1 (MetaData "StepAdjustment" "Network.AWS.AutoScaling.Types.Product" "amazonka-autoscaling-1.6.1-AbdWdH026wCXAk2CK79vG" 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 capacity while a negative number removes from the current capacity.

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 capacity while a negative number removes from the current capacity.

SuspendedProcess

data SuspendedProcess Source #

Describes an Auto Scaling process that has been suspended. For more information, see ProcessType .

See: suspendedProcess smart constructor.

Instances
Eq SuspendedProcess Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Data SuspendedProcess Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Methods

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

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

toConstr :: SuspendedProcess -> Constr #

dataTypeOf :: SuspendedProcess -> DataType #

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

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

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

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

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

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

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

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

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

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

Read SuspendedProcess Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Show SuspendedProcess Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Generic SuspendedProcess Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Associated Types

type Rep SuspendedProcess :: Type -> Type #

Hashable SuspendedProcess Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

FromXML SuspendedProcess Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

NFData SuspendedProcess Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Methods

rnf :: SuspendedProcess -> () #

type Rep SuspendedProcess Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

type Rep SuspendedProcess = D1 (MetaData "SuspendedProcess" "Network.AWS.AutoScaling.Types.Product" "amazonka-autoscaling-1.6.1-AbdWdH026wCXAk2CK79vG" False) (C1 (MetaCons "SuspendedProcess'" PrefixI True) (S1 (MetaSel (Just "_spProcessName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_spSuspensionReason") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))

suspendedProcess :: SuspendedProcess Source #

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

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

spProcessName :: Lens' SuspendedProcess (Maybe Text) Source #

The name of the suspended process.

spSuspensionReason :: Lens' SuspendedProcess (Maybe Text) Source #

The reason that the process was suspended.

Tag

data Tag Source #

Describes a tag for an Auto Scaling group.

See: tag smart constructor.

Instances
Eq Tag Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Methods

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

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

Data Tag Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Methods

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

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

toConstr :: Tag -> Constr #

dataTypeOf :: Tag -> DataType #

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

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

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

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

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

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

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

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

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

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

Read Tag Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Show Tag Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Methods

showsPrec :: Int -> Tag -> ShowS #

show :: Tag -> String #

showList :: [Tag] -> ShowS #

Generic Tag Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Associated Types

type Rep Tag :: Type -> Type #

Methods

from :: Tag -> Rep Tag x #

to :: Rep Tag x -> Tag #

Hashable Tag Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Methods

hashWithSalt :: Int -> Tag -> Int #

hash :: Tag -> Int #

ToQuery Tag Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Methods

toQuery :: Tag -> QueryString #

NFData Tag Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Methods

rnf :: Tag -> () #

type Rep Tag Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

type Rep Tag = D1 (MetaData "Tag" "Network.AWS.AutoScaling.Types.Product" "amazonka-autoscaling-1.6.1-AbdWdH026wCXAk2CK79vG" False) (C1 (MetaCons "Tag'" PrefixI True) ((S1 (MetaSel (Just "_tagKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_tagResourceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_tagResourceType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_tagPropagateAtLaunch") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool) :*: S1 (MetaSel (Just "_tagValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))

tag Source #

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

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

tagKey :: Lens' Tag Text Source #

The tag key.

tagResourceId :: Lens' Tag Text Source #

The name of the group.

tagResourceType :: Lens' Tag Text Source #

The type of resource. The only supported value is auto-scaling-group .

tagPropagateAtLaunch :: Lens' Tag Bool Source #

Determines whether the tag is added to new instances as they are launched in the group.

tagValue :: Lens' Tag Text Source #

The tag value.

TagDescription

data TagDescription Source #

Describes a tag for an Auto Scaling group.

See: tagDescription smart constructor.

Instances
Eq TagDescription Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Data TagDescription Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Methods

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

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

toConstr :: TagDescription -> Constr #

dataTypeOf :: TagDescription -> DataType #

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

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

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

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

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

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

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

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

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

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

Read TagDescription Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Show TagDescription Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Generic TagDescription Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Associated Types

type Rep TagDescription :: Type -> Type #

Hashable TagDescription Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

FromXML TagDescription Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

NFData TagDescription Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Methods

rnf :: TagDescription -> () #

type Rep TagDescription Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

type Rep TagDescription = D1 (MetaData "TagDescription" "Network.AWS.AutoScaling.Types.Product" "amazonka-autoscaling-1.6.1-AbdWdH026wCXAk2CK79vG" False) (C1 (MetaCons "TagDescription'" PrefixI True) ((S1 (MetaSel (Just "_tdResourceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_tdResourceType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_tdKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_tdPropagateAtLaunch") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool) :*: S1 (MetaSel (Just "_tdValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))

tagDescription Source #

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

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

tdResourceId :: Lens' TagDescription Text Source #

The name of the group.

tdResourceType :: Lens' TagDescription Text Source #

The type of resource. The only supported value is auto-scaling-group .

tdPropagateAtLaunch :: Lens' TagDescription Bool Source #

Determines whether the tag is added to new instances as they are launched in the group.

TargetTrackingConfiguration

data TargetTrackingConfiguration Source #

Represents a target tracking policy configuration.

See: targetTrackingConfiguration smart constructor.

Instances
Eq TargetTrackingConfiguration Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Data TargetTrackingConfiguration Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Methods

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

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

toConstr :: TargetTrackingConfiguration -> Constr #

dataTypeOf :: TargetTrackingConfiguration -> DataType #

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

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

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

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

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

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

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

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

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

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

Read TargetTrackingConfiguration Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Show TargetTrackingConfiguration Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Generic TargetTrackingConfiguration Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

Associated Types

type Rep TargetTrackingConfiguration :: Type -> Type #

Hashable TargetTrackingConfiguration Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

FromXML TargetTrackingConfiguration Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

ToQuery TargetTrackingConfiguration Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

NFData TargetTrackingConfiguration Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

type Rep TargetTrackingConfiguration Source # 
Instance details

Defined in Network.AWS.AutoScaling.Types.Product

type Rep TargetTrackingConfiguration = D1 (MetaData "TargetTrackingConfiguration" "Network.AWS.AutoScaling.Types.Product" "amazonka-autoscaling-1.6.1-AbdWdH026wCXAk2CK79vG" False) (C1 (MetaCons "TargetTrackingConfiguration'" PrefixI True) ((S1 (MetaSel (Just "_ttcPredefinedMetricSpecification") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe PredefinedMetricSpecification)) :*: S1 (MetaSel (Just "_ttcCustomizedMetricSpecification") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe CustomizedMetricSpecification))) :*: (S1 (MetaSel (Just "_ttcDisableScaleIn") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_ttcTargetValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Double))))

targetTrackingConfiguration Source #

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

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

  • ttcPredefinedMetricSpecification - A predefined metric. You can specify either a predefined metric or a customized metric.
  • ttcCustomizedMetricSpecification - A customized metric.
  • ttcDisableScaleIn - Indicates whether scale in by the target tracking policy is disabled. If scale in is disabled, the target tracking policy won't remove instances from the Auto Scaling group. Otherwise, the target tracking policy can remove instances from the Auto Scaling group. The default is disabled.
  • ttcTargetValue - The target value for the metric.

ttcPredefinedMetricSpecification :: Lens' TargetTrackingConfiguration (Maybe PredefinedMetricSpecification) Source #

A predefined metric. You can specify either a predefined metric or a customized metric.

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

Indicates whether scale in by the target tracking policy is disabled. If scale in is disabled, the target tracking policy won't remove instances from the Auto Scaling group. Otherwise, the target tracking policy can remove instances from the Auto Scaling group. The default is disabled.

ttcTargetValue :: Lens' TargetTrackingConfiguration Double Source #

The target value for the metric.