amazonka-autoscaling-1.4.5: Amazon Auto Scaling SDK.

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

Network.AWS.AutoScaling

Contents

Description

Auto Scaling

Auto Scaling is designed to automatically launch or terminate EC2 instances based on user-defined policies, schedules, and health checks. Use this service in conjunction with the Amazon CloudWatch and Elastic Load Balancing services.

Synopsis

Service Configuration

autoScaling :: Service #

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

Errors

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

AlreadyExistsFault

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

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

LimitExceededFault

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

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

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

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

InvalidNextToken

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

The NextToken value is not valid.

ScalingActivityInProgressFault

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

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

ResourceContentionFault

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

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

Waiters

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

Operations

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

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

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

DescribeMetricCollectionTypes

DescribeLoadBalancers

PutNotificationConfiguration

DescribeTags (Paginated)

DeleteNotificationConfiguration

PutScalingPolicy

AttachLoadBalancerTargetGroups

DeleteLaunchConfiguration

EnterStandby

SuspendProcesses

SetInstanceHealth

ExitStandby

DescribeTerminationPolicyTypes

DescribeAutoScalingInstances (Paginated)

RecordLifecycleActionHeartbeat

DisableMetricsCollection

DetachInstances

EnableMetricsCollection

DescribeScalingProcessTypes

DeleteTags

DetachLoadBalancerTargetGroups

DescribeLifecycleHooks

DescribeAutoScalingGroups (Paginated)

DeleteScheduledAction

SetDesiredCapacity

DetachLoadBalancers

DescribeAutoScalingNotificationTypes

DescribeScheduledActions (Paginated)

CreateOrUpdateTags

CompleteLifecycleAction

DeletePolicy

AttachInstances

UpdateAutoScalingGroup

DeleteAutoScalingGroup

PutLifecycleHook

DeleteLifecycleHook

ResumeProcesses

ExecutePolicy

DescribeAccountLimits

AttachLoadBalancers

TerminateInstanceInAutoScalingGroup

DescribeLoadBalancerTargetGroups

PutScheduledUpdateGroupAction

SetInstanceProtection

DescribePolicies (Paginated)

DescribeLaunchConfigurations (Paginated)

DescribeScalingActivities (Paginated)

DescribeNotificationConfigurations (Paginated)

DescribeLifecycleHookTypes

DescribeAdjustmentTypes

CreateAutoScalingGroup

CreateLaunchConfiguration

Types

LifecycleState

data LifecycleState #

Instances

Bounded LifecycleState # 
Enum LifecycleState # 
Eq LifecycleState # 
Data LifecycleState # 

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

Associated Types

type Rep LifecycleState :: * -> * #

Hashable LifecycleState # 
NFData LifecycleState # 

Methods

rnf :: LifecycleState -> () #

FromXML LifecycleState # 
ToQuery LifecycleState # 
ToHeader LifecycleState # 
ToByteString LifecycleState # 
FromText LifecycleState # 
ToText LifecycleState # 
type Rep LifecycleState # 
type Rep LifecycleState = D1 (MetaData "LifecycleState" "Network.AWS.AutoScaling.Types.Sum" "amazonka-autoscaling-1.4.5-7eWJWM4Di3O2fihmLpacNP" False) ((:+:) ((:+:) ((:+:) (C1 (MetaCons "Detached" PrefixI False) U1) ((:+:) (C1 (MetaCons "Detaching" PrefixI False) U1) (C1 (MetaCons "EnteringStandby" PrefixI False) U1))) ((:+:) (C1 (MetaCons "InService" PrefixI False) U1) ((:+:) (C1 (MetaCons "Pending" PrefixI False) U1) (C1 (MetaCons "PendingProceed" PrefixI False) U1)))) ((:+:) ((:+:) (C1 (MetaCons "PendingWait" PrefixI False) U1) ((:+:) (C1 (MetaCons "Quarantined" PrefixI False) U1) (C1 (MetaCons "Standby" PrefixI False) U1))) ((:+:) ((:+:) (C1 (MetaCons "Terminated" PrefixI False) U1) (C1 (MetaCons "Terminating" PrefixI False) U1)) ((:+:) (C1 (MetaCons "TerminatingProceed" PrefixI False) U1) (C1 (MetaCons "TerminatingWait" PrefixI False) U1)))))

ScalingActivityStatusCode

data ScalingActivityStatusCode #

Instances

Bounded ScalingActivityStatusCode # 
Enum ScalingActivityStatusCode # 
Eq ScalingActivityStatusCode # 
Data ScalingActivityStatusCode # 

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 # 
Read ScalingActivityStatusCode # 
Show ScalingActivityStatusCode # 
Generic ScalingActivityStatusCode # 
Hashable ScalingActivityStatusCode # 
NFData ScalingActivityStatusCode # 
FromXML ScalingActivityStatusCode # 
ToQuery ScalingActivityStatusCode # 
ToHeader ScalingActivityStatusCode # 
ToByteString ScalingActivityStatusCode # 
FromText ScalingActivityStatusCode # 
ToText ScalingActivityStatusCode # 
type Rep ScalingActivityStatusCode # 
type Rep ScalingActivityStatusCode = D1 (MetaData "ScalingActivityStatusCode" "Network.AWS.AutoScaling.Types.Sum" "amazonka-autoscaling-1.4.5-7eWJWM4Di3O2fihmLpacNP" False) ((:+:) ((:+:) ((:+:) (C1 (MetaCons "Cancelled" PrefixI False) U1) ((:+:) (C1 (MetaCons "Failed" PrefixI False) U1) (C1 (MetaCons "InProgress" PrefixI False) U1))) ((:+:) (C1 (MetaCons "MidLifecycleAction" PrefixI False) U1) ((:+:) (C1 (MetaCons "PendingSpotBidPlacement" PrefixI False) U1) (C1 (MetaCons "PreInService" PrefixI False) U1)))) ((:+:) ((:+:) (C1 (MetaCons "Successful" PrefixI False) U1) ((:+:) (C1 (MetaCons "WaitingForELBConnectionDraining" PrefixI False) U1) (C1 (MetaCons "WaitingForInstanceId" PrefixI False) U1))) ((:+:) (C1 (MetaCons "WaitingForInstanceWarmup" PrefixI False) U1) ((:+:) (C1 (MetaCons "WaitingForSpotInstanceId" PrefixI False) U1) (C1 (MetaCons "WaitingForSpotInstanceRequestId" PrefixI False) U1)))))

Activity

data Activity #

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 # 
Data Activity # 

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 # 
Show Activity # 
Generic Activity # 

Associated Types

type Rep Activity :: * -> * #

Methods

from :: Activity -> Rep Activity x #

to :: Rep Activity x -> Activity #

Hashable Activity # 

Methods

hashWithSalt :: Int -> Activity -> Int #

hash :: Activity -> Int #

NFData Activity # 

Methods

rnf :: Activity -> () #

FromXML Activity # 
type Rep Activity # 

activity #

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) #

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

aStatusMessage :: Lens' Activity (Maybe Text) #

A friendly, more verbose description of the activity status.

aEndTime :: Lens' Activity (Maybe UTCTime) #

The end time of the activity.

aDetails :: Lens' Activity (Maybe Text) #

The details about the activity.

aDescription :: Lens' Activity (Maybe Text) #

A friendly, more verbose description of the activity.

aActivityId :: Lens' Activity Text #

The ID of the activity.

aAutoScalingGroupName :: Lens' Activity Text #

The name of the Auto Scaling group.

aCause :: Lens' Activity Text #

The reason the activity began.

aStartTime :: Lens' Activity UTCTime #

The start time of the activity.

aStatusCode :: Lens' Activity ScalingActivityStatusCode #

The current status of the activity.

AdjustmentType

data AdjustmentType #

Describes a policy adjustment type.

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

See: adjustmentType smart constructor.

Instances

Eq AdjustmentType # 
Data AdjustmentType # 

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 # 
Show AdjustmentType # 
Generic AdjustmentType # 

Associated Types

type Rep AdjustmentType :: * -> * #

Hashable AdjustmentType # 
NFData AdjustmentType # 

Methods

rnf :: AdjustmentType -> () #

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

adjustmentType :: AdjustmentType #

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) #

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

Alarm

data Alarm #

Describes an alarm.

See: alarm smart constructor.

Instances

Eq Alarm # 

Methods

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

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

Data Alarm # 

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 # 
Show Alarm # 

Methods

showsPrec :: Int -> Alarm -> ShowS #

show :: Alarm -> String #

showList :: [Alarm] -> ShowS #

Generic Alarm # 

Associated Types

type Rep Alarm :: * -> * #

Methods

from :: Alarm -> Rep Alarm x #

to :: Rep Alarm x -> Alarm #

Hashable Alarm # 

Methods

hashWithSalt :: Int -> Alarm -> Int #

hash :: Alarm -> Int #

NFData Alarm # 

Methods

rnf :: Alarm -> () #

FromXML Alarm # 

Methods

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

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

alarm :: Alarm #

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) #

The name of the alarm.

aAlarmARN :: Lens' Alarm (Maybe Text) #

The Amazon Resource Name (ARN) of the alarm.

AutoScalingGroup

data AutoScalingGroup #

Describes an Auto Scaling group.

See: autoScalingGroup smart constructor.

Instances

Eq AutoScalingGroup # 
Data AutoScalingGroup # 

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 # 
Show AutoScalingGroup # 
Generic AutoScalingGroup # 
Hashable AutoScalingGroup # 
NFData AutoScalingGroup # 

Methods

rnf :: AutoScalingGroup -> () #

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

autoScalingGroup #

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) #

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

asgTerminationPolicies :: Lens' AutoScalingGroup [Text] #

The termination policies for the group.

asgHealthCheckGracePeriod :: Lens' AutoScalingGroup (Maybe Int) #

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

asgNewInstancesProtectedFromScaleIn :: Lens' AutoScalingGroup (Maybe Bool) #

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

asgVPCZoneIdentifier :: Lens' AutoScalingGroup (Maybe Text) #

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] #

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

asgEnabledMetrics :: Lens' AutoScalingGroup [EnabledMetric] #

The metrics enabled for the group.

asgLaunchConfigurationName :: Lens' AutoScalingGroup (Maybe Text) #

The name of the associated launch configuration.

asgInstances :: Lens' AutoScalingGroup [Instance] #

The EC2 instances associated with the group.

asgAutoScalingGroupARN :: Lens' AutoScalingGroup (Maybe Text) #

The Amazon Resource Name (ARN) of the group.

asgPlacementGroup :: Lens' AutoScalingGroup (Maybe Text) #

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] #

The suspended processes associated with the group.

asgLoadBalancerNames :: Lens' AutoScalingGroup [Text] #

One or more load balancers associated with the group.

asgTags :: Lens' AutoScalingGroup [TagDescription] #

The tags for the group.

asgMinSize :: Lens' AutoScalingGroup Int #

The minimum size of the group.

asgMaxSize :: Lens' AutoScalingGroup Int #

The maximum size of the group.

asgDesiredCapacity :: Lens' AutoScalingGroup Int #

The desired size of the group.

asgDefaultCooldown :: Lens' AutoScalingGroup Int #

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

asgAvailabilityZones :: Lens' AutoScalingGroup (NonEmpty Text) #

One or more Availability Zones for the group.

asgHealthCheckType :: Lens' AutoScalingGroup Text #

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

asgCreatedTime :: Lens' AutoScalingGroup UTCTime #

The date and time the group was created.

AutoScalingInstanceDetails

data AutoScalingInstanceDetails #

Describes an EC2 instance associated with an Auto Scaling group.

See: autoScalingInstanceDetails smart constructor.

Instances

Eq AutoScalingInstanceDetails # 
Data AutoScalingInstanceDetails # 

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 # 
Show AutoScalingInstanceDetails # 
Generic AutoScalingInstanceDetails # 
Hashable AutoScalingInstanceDetails # 
NFData AutoScalingInstanceDetails # 
FromXML AutoScalingInstanceDetails # 
type Rep AutoScalingInstanceDetails # 
type Rep AutoScalingInstanceDetails = D1 (MetaData "AutoScalingInstanceDetails" "Network.AWS.AutoScaling.Types.Product" "amazonka-autoscaling-1.4.5-7eWJWM4Di3O2fihmLpacNP" False) (C1 (MetaCons "AutoScalingInstanceDetails'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_asidLaunchConfigurationName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_asidInstanceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_asidAutoScalingGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_asidAvailabilityZone") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_asidLifecycleState") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) ((:*:) (S1 (MetaSel (Just Symbol "_asidHealthStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_asidProtectedFromScaleIn") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool))))))

autoScalingInstanceDetails #

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) #

The launch configuration associated with the instance.

asidAutoScalingGroupName :: Lens' AutoScalingInstanceDetails Text #

The name of the Auto Scaling group associated with the instance.

asidAvailabilityZone :: Lens' AutoScalingInstanceDetails Text #

The Availability Zone for the instance.

asidLifecycleState :: Lens' AutoScalingInstanceDetails Text #

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

asidHealthStatus :: Lens' AutoScalingInstanceDetails Text #

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 #

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

BlockDeviceMapping

data BlockDeviceMapping #

Describes a block device mapping.

See: blockDeviceMapping smart constructor.

Instances

Eq BlockDeviceMapping # 
Data BlockDeviceMapping # 

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 # 
Show BlockDeviceMapping # 
Generic BlockDeviceMapping # 
Hashable BlockDeviceMapping # 
NFData BlockDeviceMapping # 

Methods

rnf :: BlockDeviceMapping -> () #

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

blockDeviceMapping #

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) #

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

bdmNoDevice :: Lens' BlockDeviceMapping (Maybe Bool) #

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) #

The information about the Amazon EBS volume.

bdmDeviceName :: Lens' BlockDeviceMapping Text #

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

EBS

data EBS #

Describes an Amazon EBS volume.

See: ebs smart constructor.

Instances

Eq EBS # 

Methods

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

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

Data EBS # 

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 # 
Show EBS # 

Methods

showsPrec :: Int -> EBS -> ShowS #

show :: EBS -> String #

showList :: [EBS] -> ShowS #

Generic EBS # 

Associated Types

type Rep EBS :: * -> * #

Methods

from :: EBS -> Rep EBS x #

to :: Rep EBS x -> EBS #

Hashable EBS # 

Methods

hashWithSalt :: Int -> EBS -> Int #

hash :: EBS -> Int #

NFData EBS # 

Methods

rnf :: EBS -> () #

FromXML EBS # 

Methods

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

ToQuery EBS # 

Methods

toQuery :: EBS -> QueryString #

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

ebs :: EBS #

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. Default: 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) #

Indicates whether the volume is deleted on instance termination. Default: true

ebsVolumeSize :: Lens' EBS (Maybe Natural) #

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) #

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) #

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) #

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) #

The ID of the snapshot.

EnabledMetric

data EnabledMetric #

Describes an enabled metric.

See: enabledMetric smart constructor.

Instances

Eq EnabledMetric # 
Data EnabledMetric # 

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 # 
Show EnabledMetric # 
Generic EnabledMetric # 

Associated Types

type Rep EnabledMetric :: * -> * #

Hashable EnabledMetric # 
NFData EnabledMetric # 

Methods

rnf :: EnabledMetric -> () #

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

enabledMetric :: EnabledMetric #

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) #

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

emMetric :: Lens' EnabledMetric (Maybe Text) #

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

Filter

data Filter #

Describes a filter.

See: filter' smart constructor.

Instances

Eq Filter # 

Methods

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

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

Data Filter # 

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 # 
Show Filter # 
Generic Filter # 

Associated Types

type Rep Filter :: * -> * #

Methods

from :: Filter -> Rep Filter x #

to :: Rep Filter x -> Filter #

Hashable Filter # 

Methods

hashWithSalt :: Int -> Filter -> Int #

hash :: Filter -> Int #

NFData Filter # 

Methods

rnf :: Filter -> () #

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

filter' #

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] #

The value of the filter.

fName :: Lens' Filter Text #

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

Instance

data Instance #

Describes an EC2 instance.

See: instance' smart constructor.

Instances

Eq Instance # 
Data Instance # 

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 # 
Show Instance # 
Generic Instance # 

Associated Types

type Rep Instance :: * -> * #

Methods

from :: Instance -> Rep Instance x #

to :: Rep Instance x -> Instance #

Hashable Instance # 

Methods

hashWithSalt :: Int -> Instance -> Int #

hash :: Instance -> Int #

NFData Instance # 

Methods

rnf :: Instance -> () #

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

instance' #

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.
  • 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) #

The launch configuration associated with the instance.

iInstanceId :: Lens' Instance Text #

The ID of the instance.

iAvailabilityZone :: Lens' Instance Text #

The Availability Zone in which the instance is running.

iLifecycleState :: Lens' Instance LifecycleState #

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

iHealthStatus :: Lens' Instance Text #

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 #

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

InstanceMonitoring

data InstanceMonitoring #

Describes whether instance monitoring is enabled.

See: instanceMonitoring smart constructor.

Instances

Eq InstanceMonitoring # 
Data InstanceMonitoring # 

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 # 
Show InstanceMonitoring # 
Generic InstanceMonitoring # 
Hashable InstanceMonitoring # 
NFData InstanceMonitoring # 

Methods

rnf :: InstanceMonitoring -> () #

FromXML InstanceMonitoring # 
ToQuery InstanceMonitoring # 
type Rep InstanceMonitoring # 
type Rep InstanceMonitoring = D1 (MetaData "InstanceMonitoring" "Network.AWS.AutoScaling.Types.Product" "amazonka-autoscaling-1.4.5-7eWJWM4Di3O2fihmLpacNP" True) (C1 (MetaCons "InstanceMonitoring'" PrefixI True) (S1 (MetaSel (Just Symbol "_imEnabled") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Bool))))

instanceMonitoring :: InstanceMonitoring #

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 , instance monitoring is enabled.

imEnabled :: Lens' InstanceMonitoring (Maybe Bool) #

If True , instance monitoring is enabled.

LaunchConfiguration

data LaunchConfiguration #

Describes a launch configuration.

See: launchConfiguration smart constructor.

Instances

Eq LaunchConfiguration # 
Data LaunchConfiguration # 

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 # 
Show LaunchConfiguration # 
Generic LaunchConfiguration # 
Hashable LaunchConfiguration # 
NFData LaunchConfiguration # 

Methods

rnf :: LaunchConfiguration -> () #

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

launchConfiguration #

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) #

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

lcSecurityGroups :: Lens' LaunchConfiguration [Text] #

The security groups to associate with the instances.

lcSpotPrice :: Lens' LaunchConfiguration (Maybe Text) #

The price to bid when launching Spot Instances.

lcInstanceMonitoring :: Lens' LaunchConfiguration (Maybe InstanceMonitoring) #

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

lcKeyName :: Lens' LaunchConfiguration (Maybe Text) #

The name of the key pair.

lcClassicLinkVPCSecurityGroups :: Lens' LaunchConfiguration [Text] #

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) #

The ID of the RAM disk associated with the AMI.

lcKernelId :: Lens' LaunchConfiguration (Maybe Text) #

The ID of the kernel associated with the AMI.

lcEBSOptimized :: Lens' LaunchConfiguration (Maybe Bool) #

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

lcUserData :: Lens' LaunchConfiguration (Maybe Text) #

The user data available to the instances.

lcClassicLinkVPCId :: Lens' LaunchConfiguration (Maybe Text) #

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) #

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

lcLaunchConfigurationARN :: Lens' LaunchConfiguration (Maybe Text) #

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

lcPlacementTenancy :: Lens' LaunchConfiguration (Maybe Text) #

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] #

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

lcLaunchConfigurationName :: Lens' LaunchConfiguration Text #

The name of the launch configuration.

lcImageId :: Lens' LaunchConfiguration Text #

The ID of the Amazon Machine Image (AMI).

lcInstanceType :: Lens' LaunchConfiguration Text #

The instance type for the instances.

lcCreatedTime :: Lens' LaunchConfiguration UTCTime #

The creation date and time for the launch configuration.

LifecycleHook

data LifecycleHook #

Describes a lifecycle hook, which tells Auto Scaling that you want to perform an action when an instance launches or terminates. When you have a lifecycle hook in place, the Auto Scaling group will either:

  • Pause the instance after it launches, but before it is put into service
  • Pause the instance as it terminates, but before it is fully terminated

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

See: lifecycleHook smart constructor.

Instances

Eq LifecycleHook # 
Data LifecycleHook # 

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 # 
Show LifecycleHook # 
Generic LifecycleHook # 

Associated Types

type Rep LifecycleHook :: * -> * #

Hashable LifecycleHook # 
NFData LifecycleHook # 

Methods

rnf :: LifecycleHook -> () #

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

lifecycleHook :: LifecycleHook #

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. The default is 3600 seconds (1 hour). When 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 notification target that Auto Scaling uses to notify you when an instance is in the transition state for the lifecycle hook. This ARN target can be either an SQS queue or an SNS topic. The notification message sent to the target includes the following: * Lifecycle action token * User account ID * Name of the Auto Scaling group * Lifecycle hook name * EC2 instance ID * Lifecycle transition * Notification metadata
  • 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) #

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) #

The name of the lifecycle hook.

lhHeartbeatTimeout :: Lens' LifecycleHook (Maybe Int) #

The maximum time, in seconds, that can elapse before the lifecycle hook times out. The default is 3600 seconds (1 hour). When 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) #

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

lhNotificationMetadata :: Lens' LifecycleHook (Maybe Text) #

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

lhGlobalTimeout :: Lens' LifecycleHook (Maybe Int) #

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) #

The ARN of the notification target that Auto Scaling uses to notify you when an instance is in the transition state for the lifecycle hook. This ARN target can be either an SQS queue or an SNS topic. The notification message sent to the target includes the following: * Lifecycle action token * User account ID * Name of the Auto Scaling group * Lifecycle hook name * EC2 instance ID * Lifecycle transition * Notification metadata

lhLifecycleTransition :: Lens' LifecycleHook (Maybe Text) #

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) #

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

LoadBalancerState

data LoadBalancerState #

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 # 
Data LoadBalancerState # 

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 # 
Show LoadBalancerState # 
Generic LoadBalancerState # 
Hashable LoadBalancerState # 
NFData LoadBalancerState # 

Methods

rnf :: LoadBalancerState -> () #

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

loadBalancerState :: LoadBalancerState #

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) #

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) #

The name of the load balancer.

LoadBalancerTargetGroupState

data LoadBalancerTargetGroupState #

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 # 
Data LoadBalancerTargetGroupState # 

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 # 
Show LoadBalancerTargetGroupState # 
Generic LoadBalancerTargetGroupState # 
Hashable LoadBalancerTargetGroupState # 
NFData LoadBalancerTargetGroupState # 
FromXML LoadBalancerTargetGroupState # 
type Rep LoadBalancerTargetGroupState # 
type Rep LoadBalancerTargetGroupState = D1 (MetaData "LoadBalancerTargetGroupState" "Network.AWS.AutoScaling.Types.Product" "amazonka-autoscaling-1.4.5-7eWJWM4Di3O2fihmLpacNP" False) (C1 (MetaCons "LoadBalancerTargetGroupState'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lbtgsState") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_lbtgsLoadBalancerTargetGroupARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

loadBalancerTargetGroupState :: LoadBalancerTargetGroupState #

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) #

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) #

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

MetricCollectionType

data MetricCollectionType #

Describes a metric.

See: metricCollectionType smart constructor.

Instances

Eq MetricCollectionType # 
Data MetricCollectionType # 

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 # 
Show MetricCollectionType # 
Generic MetricCollectionType # 
Hashable MetricCollectionType # 
NFData MetricCollectionType # 

Methods

rnf :: MetricCollectionType -> () #

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

metricCollectionType :: MetricCollectionType #

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) #

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

MetricGranularityType

data MetricGranularityType #

Describes a granularity of a metric.

See: metricGranularityType smart constructor.

Instances

Eq MetricGranularityType # 
Data MetricGranularityType # 

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 # 
Show MetricGranularityType # 
Generic MetricGranularityType # 
Hashable MetricGranularityType # 
NFData MetricGranularityType # 

Methods

rnf :: MetricGranularityType -> () #

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

metricGranularityType :: MetricGranularityType #

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) #

The granularity. The only valid value is 1Minute .

NotificationConfiguration

data NotificationConfiguration #

Describes a notification.

See: notificationConfiguration smart constructor.

Instances

Eq NotificationConfiguration # 
Data NotificationConfiguration # 

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 # 
Show NotificationConfiguration # 
Generic NotificationConfiguration # 
Hashable NotificationConfiguration # 
NFData NotificationConfiguration # 
FromXML NotificationConfiguration # 
type Rep NotificationConfiguration # 
type Rep NotificationConfiguration = D1 (MetaData "NotificationConfiguration" "Network.AWS.AutoScaling.Types.Product" "amazonka-autoscaling-1.4.5-7eWJWM4Di3O2fihmLpacNP" False) (C1 (MetaCons "NotificationConfiguration'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ncTopicARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_ncAutoScalingGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ncNotificationType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

notificationConfiguration :: NotificationConfiguration #

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 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) #

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

ncNotificationType :: Lens' NotificationConfiguration (Maybe Text) #

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

ProcessType

data ProcessType #

Describes a process type.

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

See: processType smart constructor.

Instances

Eq ProcessType # 
Data ProcessType # 

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 # 
Show ProcessType # 
Generic ProcessType # 

Associated Types

type Rep ProcessType :: * -> * #

Hashable ProcessType # 
NFData ProcessType # 

Methods

rnf :: ProcessType -> () #

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

processType #

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 #

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

ScalingPolicy

data ScalingPolicy #

Describes a scaling policy.

See: scalingPolicy smart constructor.

Instances

Eq ScalingPolicy # 
Data ScalingPolicy # 

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

Associated Types

type Rep ScalingPolicy :: * -> * #

Hashable ScalingPolicy # 
NFData ScalingPolicy # 

Methods

rnf :: ScalingPolicy -> () #

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

scalingPolicy :: ScalingPolicy #

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.
  • 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 associated with this scaling policy.
  • 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 trigger-related 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) #

Available for backward compatibility. Use MinAdjustmentMagnitude instead.

sEstimatedInstanceWarmup :: Lens' ScalingPolicy (Maybe Int) #

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

sPolicyName :: Lens' ScalingPolicy (Maybe Text) #

The name of the scaling policy.

sPolicyType :: Lens' ScalingPolicy (Maybe Text) #

The policy type. Valid values are SimpleScaling and StepScaling .

sStepAdjustments :: Lens' ScalingPolicy [StepAdjustment] #

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

sAdjustmentType :: Lens' ScalingPolicy (Maybe Text) #

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

sAutoScalingGroupName :: Lens' ScalingPolicy (Maybe Text) #

The name of the Auto Scaling group associated with this scaling policy.

sScalingAdjustment :: Lens' ScalingPolicy (Maybe Int) #

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) #

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

sPolicyARN :: Lens' ScalingPolicy (Maybe Text) #

The Amazon Resource Name (ARN) of the policy.

sAlarms :: Lens' ScalingPolicy [Alarm] #

The CloudWatch alarms related to the policy.

sMetricAggregationType :: Lens' ScalingPolicy (Maybe Text) #

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

sMinAdjustmentMagnitude :: Lens' ScalingPolicy (Maybe Int) #

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 #

Contains the parameters for SuspendProcesses and ResumeProcesses.

See: scalingProcessQuery smart constructor.

Instances

Eq ScalingProcessQuery # 
Data ScalingProcessQuery # 

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 # 
Show ScalingProcessQuery # 
Generic ScalingProcessQuery # 
Hashable ScalingProcessQuery # 
NFData ScalingProcessQuery # 

Methods

rnf :: ScalingProcessQuery -> () #

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

scalingProcessQuery #

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 or Amazon Resource Name (ARN) of the Auto Scaling group.

spqScalingProcesses :: Lens' ScalingProcessQuery [Text] #

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 #

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

ScheduledUpdateGroupAction

data ScheduledUpdateGroupAction #

Describes a scheduled update to an Auto Scaling group.

See: scheduledUpdateGroupAction smart constructor.

Instances

Eq ScheduledUpdateGroupAction # 
Data ScheduledUpdateGroupAction # 

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 # 
Show ScheduledUpdateGroupAction # 
Generic ScheduledUpdateGroupAction # 
Hashable ScheduledUpdateGroupAction # 
NFData ScheduledUpdateGroupAction # 
FromXML ScheduledUpdateGroupAction # 
type Rep ScheduledUpdateGroupAction # 
type Rep ScheduledUpdateGroupAction = D1 (MetaData "ScheduledUpdateGroupAction" "Network.AWS.AutoScaling.Types.Product" "amazonka-autoscaling-1.4.5-7eWJWM4Di3O2fihmLpacNP" False) (C1 (MetaCons "ScheduledUpdateGroupAction'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_sugaScheduledActionARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_sugaStartTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ISO8601)))) ((:*:) (S1 (MetaSel (Just Symbol "_sugaTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ISO8601))) ((:*:) (S1 (MetaSel (Just Symbol "_sugaScheduledActionName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_sugaMaxSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_sugaRecurrence") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_sugaDesiredCapacity") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)))) ((:*:) (S1 (MetaSel (Just Symbol "_sugaMinSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))) ((:*:) (S1 (MetaSel (Just Symbol "_sugaAutoScalingGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_sugaEndTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ISO8601))))))))

scheduledUpdateGroupAction :: ScheduledUpdateGroupAction #

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 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) #

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

sugaStartTime :: Lens' ScheduledUpdateGroupAction (Maybe UTCTime) #

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) #

This parameter is deprecated.

sugaScheduledActionName :: Lens' ScheduledUpdateGroupAction (Maybe Text) #

The name of the scheduled action.

sugaMaxSize :: Lens' ScheduledUpdateGroupAction (Maybe Int) #

The maximum size of the group.

sugaRecurrence :: Lens' ScheduledUpdateGroupAction (Maybe Text) #

The recurring schedule for the action.

sugaDesiredCapacity :: Lens' ScheduledUpdateGroupAction (Maybe Int) #

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

sugaMinSize :: Lens' ScheduledUpdateGroupAction (Maybe Int) #

The minimum size of the group.

sugaEndTime :: Lens' ScheduledUpdateGroupAction (Maybe UTCTime) #

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 #

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 # 
Data StepAdjustment # 

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 # 
Show StepAdjustment # 
Generic StepAdjustment # 

Associated Types

type Rep StepAdjustment :: * -> * #

Hashable StepAdjustment # 
NFData StepAdjustment # 

Methods

rnf :: StepAdjustment -> () #

FromXML StepAdjustment # 
ToQuery StepAdjustment # 
type Rep StepAdjustment # 
type Rep StepAdjustment = D1 (MetaData "StepAdjustment" "Network.AWS.AutoScaling.Types.Product" "amazonka-autoscaling-1.4.5-7eWJWM4Di3O2fihmLpacNP" False) (C1 (MetaCons "StepAdjustment'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_saMetricIntervalLowerBound") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Double))) ((:*:) (S1 (MetaSel (Just Symbol "_saMetricIntervalUpperBound") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Double))) (S1 (MetaSel (Just Symbol "_saScalingAdjustment") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

stepAdjustment #

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) #

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) #

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 #

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 #

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

See: suspendedProcess smart constructor.

Instances

Eq SuspendedProcess # 
Data SuspendedProcess # 

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 # 
Show SuspendedProcess # 
Generic SuspendedProcess # 
Hashable SuspendedProcess # 
NFData SuspendedProcess # 

Methods

rnf :: SuspendedProcess -> () #

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

suspendedProcess :: SuspendedProcess #

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) #

The name of the suspended process.

spSuspensionReason :: Lens' SuspendedProcess (Maybe Text) #

The reason that the process was suspended.

Tag

data Tag #

Describes a tag for an Auto Scaling group.

See: tag smart constructor.

Instances

Eq Tag # 

Methods

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

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

Data Tag # 

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 # 
Show Tag # 

Methods

showsPrec :: Int -> Tag -> ShowS #

show :: Tag -> String #

showList :: [Tag] -> ShowS #

Generic Tag # 

Associated Types

type Rep Tag :: * -> * #

Methods

from :: Tag -> Rep Tag x #

to :: Rep Tag x -> Tag #

Hashable Tag # 

Methods

hashWithSalt :: Int -> Tag -> Int #

hash :: Tag -> Int #

NFData Tag # 

Methods

rnf :: Tag -> () #

ToQuery Tag # 

Methods

toQuery :: Tag -> QueryString #

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

tag #

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 #

The tag key.

tagResourceId :: Lens' Tag Text #

The name of the group.

tagResourceType :: Lens' Tag Text #

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

tagPropagateAtLaunch :: Lens' Tag Bool #

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

tagValue :: Lens' Tag Text #

The tag value.

TagDescription

data TagDescription #

Describes a tag for an Auto Scaling group.

See: tagDescription smart constructor.

Instances

Eq TagDescription # 
Data TagDescription # 

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 # 
Show TagDescription # 
Generic TagDescription # 

Associated Types

type Rep TagDescription :: * -> * #

Hashable TagDescription # 
NFData TagDescription # 

Methods

rnf :: TagDescription -> () #

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

tagDescription #

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 #

The name of the group.

tdResourceType :: Lens' TagDescription Text #

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

tdPropagateAtLaunch :: Lens' TagDescription Bool #

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

tdValue :: Lens' TagDescription Text #

The tag value.