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

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

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

LimitExceededFault

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

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

ResourceInUseFault

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

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

InvalidNextToken

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

The NextToken value is not valid.

ScalingActivityInProgressFault

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

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

ResourceContentionFault

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

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

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

Instances

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

Methods

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

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

toConstr :: LifecycleState -> Constr #

dataTypeOf :: LifecycleState -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord LifecycleState Source # 
Read LifecycleState Source # 
Show LifecycleState Source # 
Generic LifecycleState Source # 

Associated Types

type Rep LifecycleState :: * -> * #

Hashable LifecycleState Source # 
NFData LifecycleState Source # 

Methods

rnf :: LifecycleState -> () #

ToHeader LifecycleState Source # 
FromXML LifecycleState Source # 
ToQuery LifecycleState Source # 
ToByteString LifecycleState Source # 
FromText LifecycleState Source # 
ToText LifecycleState Source # 
type Rep LifecycleState Source # 
type Rep LifecycleState = D1 (MetaData "LifecycleState" "Network.AWS.AutoScaling.Types.Sum" "amazonka-autoscaling-1.4.5-8yDHjz7ddEsEeD2f2YA1qk" 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 Source #

Instances

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

Methods

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

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

toConstr :: ScalingActivityStatusCode -> Constr #

dataTypeOf :: ScalingActivityStatusCode -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord ScalingActivityStatusCode Source # 
Read ScalingActivityStatusCode Source # 
Show ScalingActivityStatusCode Source # 
Generic ScalingActivityStatusCode Source # 
Hashable ScalingActivityStatusCode Source # 
NFData ScalingActivityStatusCode Source # 
ToHeader ScalingActivityStatusCode Source # 
FromXML ScalingActivityStatusCode Source # 
ToQuery ScalingActivityStatusCode Source # 
ToByteString ScalingActivityStatusCode Source # 
FromText ScalingActivityStatusCode Source # 
ToText ScalingActivityStatusCode Source # 
type Rep ScalingActivityStatusCode Source # 
type Rep ScalingActivityStatusCode = D1 (MetaData "ScalingActivityStatusCode" "Network.AWS.AutoScaling.Types.Sum" "amazonka-autoscaling-1.4.5-8yDHjz7ddEsEeD2f2YA1qk" 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 Source #

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

See: activity smart constructor.

Instances

Eq Activity Source # 
Data Activity Source # 

Methods

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

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

toConstr :: Activity -> Constr #

dataTypeOf :: Activity -> DataType #

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

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

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

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

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

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

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

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

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

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

Read Activity Source # 
Show Activity Source # 
Generic Activity Source # 

Associated Types

type Rep Activity :: * -> * #

Methods

from :: Activity -> Rep Activity x #

to :: Rep Activity x -> Activity #

Hashable Activity Source # 

Methods

hashWithSalt :: Int -> Activity -> Int #

hash :: Activity -> Int #

NFData Activity Source # 

Methods

rnf :: Activity -> () #

FromXML Activity Source # 
type Rep Activity Source # 

activity Source #

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

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

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

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

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

A friendly, more verbose description of the activity status.

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

The end time of the activity.

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

The details about the activity.

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

A friendly, more verbose description of the activity.

aActivityId :: Lens' Activity Text Source #

The ID of the activity.

aAutoScalingGroupName :: Lens' Activity Text Source #

The name of the Auto Scaling group.

aCause :: Lens' Activity Text Source #

The reason the activity began.

aStartTime :: Lens' Activity UTCTime Source #

The start time of the activity.

aStatusCode :: Lens' Activity ScalingActivityStatusCode Source #

The current status of the activity.

AdjustmentType

data AdjustmentType Source #

Describes a policy adjustment type.

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

See: adjustmentType smart constructor.

Instances

Eq AdjustmentType Source # 
Data AdjustmentType Source # 

Methods

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

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

toConstr :: AdjustmentType -> Constr #

dataTypeOf :: AdjustmentType -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AdjustmentType Source # 
Show AdjustmentType Source # 
Generic AdjustmentType Source # 

Associated Types

type Rep AdjustmentType :: * -> * #

Hashable AdjustmentType Source # 
NFData AdjustmentType Source # 

Methods

rnf :: AdjustmentType -> () #

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

adjustmentType :: AdjustmentType Source #

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

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

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

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

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

Alarm

data Alarm Source #

Describes an alarm.

See: alarm smart constructor.

Instances

Eq Alarm Source # 

Methods

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

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

Data Alarm Source # 

Methods

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

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

toConstr :: Alarm -> Constr #

dataTypeOf :: Alarm -> DataType #

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

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

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

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

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

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

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

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

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

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

Read Alarm Source # 
Show Alarm Source # 

Methods

showsPrec :: Int -> Alarm -> ShowS #

show :: Alarm -> String #

showList :: [Alarm] -> ShowS #

Generic Alarm Source # 

Associated Types

type Rep Alarm :: * -> * #

Methods

from :: Alarm -> Rep Alarm x #

to :: Rep Alarm x -> Alarm #

Hashable Alarm Source # 

Methods

hashWithSalt :: Int -> Alarm -> Int #

hash :: Alarm -> Int #

NFData Alarm Source # 

Methods

rnf :: Alarm -> () #

FromXML Alarm Source # 

Methods

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

type Rep Alarm Source # 
type Rep Alarm = D1 (MetaData "Alarm" "Network.AWS.AutoScaling.Types.Product" "amazonka-autoscaling-1.4.5-8yDHjz7ddEsEeD2f2YA1qk" 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 Source #

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

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

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

The name of the alarm.

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

The Amazon Resource Name (ARN) of the alarm.

AutoScalingGroup

data AutoScalingGroup Source #

Describes an Auto Scaling group.

See: autoScalingGroup smart constructor.

Instances

Eq AutoScalingGroup Source # 
Data AutoScalingGroup Source # 

Methods

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

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

toConstr :: AutoScalingGroup -> Constr #

dataTypeOf :: AutoScalingGroup -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AutoScalingGroup Source # 
Show AutoScalingGroup Source # 
Generic AutoScalingGroup Source # 
Hashable AutoScalingGroup Source # 
NFData AutoScalingGroup Source # 

Methods

rnf :: AutoScalingGroup -> () #

FromXML AutoScalingGroup Source # 
type Rep AutoScalingGroup Source # 
type Rep AutoScalingGroup = D1 (MetaData "AutoScalingGroup" "Network.AWS.AutoScaling.Types.Product" "amazonka-autoscaling-1.4.5-8yDHjz7ddEsEeD2f2YA1qk" 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 Source #

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

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

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

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

asgTerminationPolicies :: Lens' AutoScalingGroup [Text] Source #

The termination policies for the group.

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

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

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

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

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

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

asgTargetGroupARNs :: Lens' AutoScalingGroup [Text] Source #

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

asgEnabledMetrics :: Lens' AutoScalingGroup [EnabledMetric] Source #

The metrics enabled for the group.

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

The name of the associated launch configuration.

asgInstances :: Lens' AutoScalingGroup [Instance] Source #

The EC2 instances associated with the group.

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

The Amazon Resource Name (ARN) of the group.

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

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

asgSuspendedProcesses :: Lens' AutoScalingGroup [SuspendedProcess] Source #

The suspended processes associated with the group.

asgLoadBalancerNames :: Lens' AutoScalingGroup [Text] Source #

One or more load balancers associated with the group.

asgTags :: Lens' AutoScalingGroup [TagDescription] Source #

The tags for the group.

asgMinSize :: Lens' AutoScalingGroup Int Source #

The minimum size of the group.

asgMaxSize :: Lens' AutoScalingGroup Int Source #

The maximum size of the group.

asgDesiredCapacity :: Lens' AutoScalingGroup Int Source #

The desired size of the group.

asgDefaultCooldown :: Lens' AutoScalingGroup Int Source #

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

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

One or more Availability Zones for the group.

asgHealthCheckType :: Lens' AutoScalingGroup Text Source #

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

asgCreatedTime :: Lens' AutoScalingGroup UTCTime Source #

The date and time the group was created.

AutoScalingInstanceDetails

data AutoScalingInstanceDetails Source #

Describes an EC2 instance associated with an Auto Scaling group.

See: autoScalingInstanceDetails smart constructor.

Instances

Eq AutoScalingInstanceDetails Source # 
Data AutoScalingInstanceDetails Source # 

Methods

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

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

toConstr :: AutoScalingInstanceDetails -> Constr #

dataTypeOf :: AutoScalingInstanceDetails -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AutoScalingInstanceDetails Source # 
Show AutoScalingInstanceDetails Source # 
Generic AutoScalingInstanceDetails Source # 
Hashable AutoScalingInstanceDetails Source # 
NFData AutoScalingInstanceDetails Source # 
FromXML AutoScalingInstanceDetails Source # 
type Rep AutoScalingInstanceDetails Source # 
type Rep AutoScalingInstanceDetails = D1 (MetaData "AutoScalingInstanceDetails" "Network.AWS.AutoScaling.Types.Product" "amazonka-autoscaling-1.4.5-8yDHjz7ddEsEeD2f2YA1qk" 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 Source #

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

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

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

The launch configuration associated with the instance.

asidAutoScalingGroupName :: Lens' AutoScalingInstanceDetails Text Source #

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

asidAvailabilityZone :: Lens' AutoScalingInstanceDetails Text Source #

The Availability Zone for the instance.

asidLifecycleState :: Lens' AutoScalingInstanceDetails Text Source #

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

asidHealthStatus :: Lens' AutoScalingInstanceDetails Text Source #

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

asidProtectedFromScaleIn :: Lens' AutoScalingInstanceDetails Bool Source #

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

BlockDeviceMapping

data BlockDeviceMapping Source #

Describes a block device mapping.

See: blockDeviceMapping smart constructor.

Instances

Eq BlockDeviceMapping Source # 
Data BlockDeviceMapping Source # 

Methods

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

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

toConstr :: BlockDeviceMapping -> Constr #

dataTypeOf :: BlockDeviceMapping -> DataType #

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

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

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

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

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

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

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

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

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

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

Read BlockDeviceMapping Source # 
Show BlockDeviceMapping Source # 
Generic BlockDeviceMapping Source # 
Hashable BlockDeviceMapping Source # 
NFData BlockDeviceMapping Source # 

Methods

rnf :: BlockDeviceMapping -> () #

FromXML BlockDeviceMapping Source # 
ToQuery BlockDeviceMapping Source # 
type Rep BlockDeviceMapping Source # 
type Rep BlockDeviceMapping = D1 (MetaData "BlockDeviceMapping" "Network.AWS.AutoScaling.Types.Product" "amazonka-autoscaling-1.4.5-8yDHjz7ddEsEeD2f2YA1qk" 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 Source #

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

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

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

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

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

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

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

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

The information about the Amazon EBS volume.

bdmDeviceName :: Lens' BlockDeviceMapping Text Source #

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

EBS

data EBS Source #

Describes an Amazon EBS volume.

See: ebs smart constructor.

Instances

Eq EBS Source # 

Methods

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

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

Data EBS Source # 

Methods

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

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

toConstr :: EBS -> Constr #

dataTypeOf :: EBS -> DataType #

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

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

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

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

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

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

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

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

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

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

Read EBS Source # 
Show EBS Source # 

Methods

showsPrec :: Int -> EBS -> ShowS #

show :: EBS -> String #

showList :: [EBS] -> ShowS #

Generic EBS Source # 

Associated Types

type Rep EBS :: * -> * #

Methods

from :: EBS -> Rep EBS x #

to :: Rep EBS x -> EBS #

Hashable EBS Source # 

Methods

hashWithSalt :: Int -> EBS -> Int #

hash :: EBS -> Int #

NFData EBS Source # 

Methods

rnf :: EBS -> () #

FromXML EBS Source # 

Methods

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

ToQuery EBS Source # 

Methods

toQuery :: EBS -> QueryString #

type Rep EBS Source # 
type Rep EBS = D1 (MetaData "EBS" "Network.AWS.AutoScaling.Types.Product" "amazonka-autoscaling-1.4.5-8yDHjz7ddEsEeD2f2YA1qk" 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 Source #

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

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

  • ebsDeleteOnTermination - Indicates whether the volume is deleted on instance termination. 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) Source #

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

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

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

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

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

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

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

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

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

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

The ID of the snapshot.

EnabledMetric

data EnabledMetric Source #

Describes an enabled metric.

See: enabledMetric smart constructor.

Instances

Eq EnabledMetric Source # 
Data EnabledMetric Source # 

Methods

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

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

toConstr :: EnabledMetric -> Constr #

dataTypeOf :: EnabledMetric -> DataType #

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

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

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

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

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

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

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

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

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

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

Read EnabledMetric Source # 
Show EnabledMetric Source # 
Generic EnabledMetric Source # 

Associated Types

type Rep EnabledMetric :: * -> * #

Hashable EnabledMetric Source # 
NFData EnabledMetric Source # 

Methods

rnf :: EnabledMetric -> () #

FromXML EnabledMetric Source # 
type Rep EnabledMetric Source # 
type Rep EnabledMetric = D1 (MetaData "EnabledMetric" "Network.AWS.AutoScaling.Types.Product" "amazonka-autoscaling-1.4.5-8yDHjz7ddEsEeD2f2YA1qk" 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 Source #

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

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

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

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

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

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

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

Filter

data Filter Source #

Describes a filter.

See: filter' smart constructor.

Instances

Eq Filter Source # 

Methods

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

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

Data Filter Source # 

Methods

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

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

toConstr :: Filter -> Constr #

dataTypeOf :: Filter -> DataType #

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

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

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

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

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

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

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

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

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

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

Read Filter Source # 
Show Filter Source # 
Generic Filter Source # 

Associated Types

type Rep Filter :: * -> * #

Methods

from :: Filter -> Rep Filter x #

to :: Rep Filter x -> Filter #

Hashable Filter Source # 

Methods

hashWithSalt :: Int -> Filter -> Int #

hash :: Filter -> Int #

NFData Filter Source # 

Methods

rnf :: Filter -> () #

ToQuery Filter Source # 
type Rep Filter Source # 
type Rep Filter = D1 (MetaData "Filter" "Network.AWS.AutoScaling.Types.Product" "amazonka-autoscaling-1.4.5-8yDHjz7ddEsEeD2f2YA1qk" 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' Source #

Arguments

:: Text

fName

-> Filter 

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

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

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

fValues :: Lens' Filter [Text] Source #

The value of the filter.

fName :: Lens' Filter Text Source #

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

Instance

data Instance Source #

Describes an EC2 instance.

See: instance' smart constructor.

Instances

Eq Instance Source # 
Data Instance Source # 

Methods

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

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

toConstr :: Instance -> Constr #

dataTypeOf :: Instance -> DataType #

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

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

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

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

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

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

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

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

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

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

Read Instance Source # 
Show Instance Source # 
Generic Instance Source # 

Associated Types

type Rep Instance :: * -> * #

Methods

from :: Instance -> Rep Instance x #

to :: Rep Instance x -> Instance #

Hashable Instance Source # 

Methods

hashWithSalt :: Int -> Instance -> Int #

hash :: Instance -> Int #

NFData Instance Source # 

Methods

rnf :: Instance -> () #

FromXML Instance Source # 
type Rep Instance Source # 
type Rep Instance = D1 (MetaData "Instance" "Network.AWS.AutoScaling.Types.Product" "amazonka-autoscaling-1.4.5-8yDHjz7ddEsEeD2f2YA1qk" 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' Source #

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

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

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

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

The launch configuration associated with the instance.

iInstanceId :: Lens' Instance Text Source #

The ID of the instance.

iAvailabilityZone :: Lens' Instance Text Source #

The Availability Zone in which the instance is running.

iLifecycleState :: Lens' Instance LifecycleState Source #

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

iHealthStatus :: Lens' Instance Text Source #

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

iProtectedFromScaleIn :: Lens' Instance Bool Source #

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

InstanceMonitoring

data InstanceMonitoring Source #

Describes whether instance monitoring is enabled.

See: instanceMonitoring smart constructor.

Instances

Eq InstanceMonitoring Source # 
Data InstanceMonitoring Source # 

Methods

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

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

toConstr :: InstanceMonitoring -> Constr #

dataTypeOf :: InstanceMonitoring -> DataType #

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

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

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

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

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

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

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

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

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

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

Read InstanceMonitoring Source # 
Show InstanceMonitoring Source # 
Generic InstanceMonitoring Source # 
Hashable InstanceMonitoring Source # 
NFData InstanceMonitoring Source # 

Methods

rnf :: InstanceMonitoring -> () #

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

instanceMonitoring :: InstanceMonitoring Source #

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

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

  • imEnabled - If True , instance monitoring is enabled.

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

If True , instance monitoring is enabled.

LaunchConfiguration

data LaunchConfiguration Source #

Describes a launch configuration.

See: launchConfiguration smart constructor.

Instances

Eq LaunchConfiguration Source # 
Data LaunchConfiguration Source # 

Methods

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

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

toConstr :: LaunchConfiguration -> Constr #

dataTypeOf :: LaunchConfiguration -> DataType #

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

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

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

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

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

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

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

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

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

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

Read LaunchConfiguration Source # 
Show LaunchConfiguration Source # 
Generic LaunchConfiguration Source # 
Hashable LaunchConfiguration Source # 
NFData LaunchConfiguration Source # 

Methods

rnf :: LaunchConfiguration -> () #

FromXML LaunchConfiguration Source # 
type Rep LaunchConfiguration Source # 
type Rep LaunchConfiguration = D1 (MetaData "LaunchConfiguration" "Network.AWS.AutoScaling.Types.Product" "amazonka-autoscaling-1.4.5-8yDHjz7ddEsEeD2f2YA1qk" 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 Source #

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

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

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

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

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

lcSecurityGroups :: Lens' LaunchConfiguration [Text] Source #

The security groups to associate with the instances.

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

The price to bid when launching Spot Instances.

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

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

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

The name of the key pair.

lcClassicLinkVPCSecurityGroups :: Lens' LaunchConfiguration [Text] Source #

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

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

The ID of the RAM disk associated with the AMI.

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

The ID of the kernel associated with the AMI.

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

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

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

The user data available to the instances.

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

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

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

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

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

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

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

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

lcBlockDeviceMappings :: Lens' LaunchConfiguration [BlockDeviceMapping] Source #

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

lcLaunchConfigurationName :: Lens' LaunchConfiguration Text Source #

The name of the launch configuration.

lcImageId :: Lens' LaunchConfiguration Text Source #

The ID of the Amazon Machine Image (AMI).

lcInstanceType :: Lens' LaunchConfiguration Text Source #

The instance type for the instances.

lcCreatedTime :: Lens' LaunchConfiguration UTCTime Source #

The creation date and time for the launch configuration.

LifecycleHook

data LifecycleHook Source #

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 Source # 
Data LifecycleHook Source # 

Methods

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

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

toConstr :: LifecycleHook -> Constr #

dataTypeOf :: LifecycleHook -> DataType #

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

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

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

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

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

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

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

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

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

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

Read LifecycleHook Source # 
Show LifecycleHook Source # 
Generic LifecycleHook Source # 

Associated Types

type Rep LifecycleHook :: * -> * #

Hashable LifecycleHook Source # 
NFData LifecycleHook Source # 

Methods

rnf :: LifecycleHook -> () #

FromXML LifecycleHook Source # 
type Rep LifecycleHook Source # 
type Rep LifecycleHook = D1 (MetaData "LifecycleHook" "Network.AWS.AutoScaling.Types.Product" "amazonka-autoscaling-1.4.5-8yDHjz7ddEsEeD2f2YA1qk" 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 Source #

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

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

  • lhDefaultResult - Defines the action the Auto Scaling group should take when the lifecycle hook timeout elapses or if an unexpected failure occurs. The valid values are CONTINUE and ABANDON . The default value is CONTINUE .
  • lhLifecycleHookName - The name of the lifecycle hook.
  • lhHeartbeatTimeout - The maximum time, in seconds, that can elapse before the lifecycle hook times out. 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) Source #

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

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

The name of the lifecycle hook.

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

The maximum time, in seconds, that can elapse before the lifecycle hook times out. 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) Source #

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

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

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

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

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

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

The ARN of the 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) Source #

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

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

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

LoadBalancerState

data LoadBalancerState Source #

Describes the state of a Classic load balancer.

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

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

See: loadBalancerState smart constructor.

Instances

Eq LoadBalancerState Source # 
Data LoadBalancerState Source # 

Methods

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

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

toConstr :: LoadBalancerState -> Constr #

dataTypeOf :: LoadBalancerState -> DataType #

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

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

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

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

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

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

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

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

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

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

Read LoadBalancerState Source # 
Show LoadBalancerState Source # 
Generic LoadBalancerState Source # 
Hashable LoadBalancerState Source # 
NFData LoadBalancerState Source # 

Methods

rnf :: LoadBalancerState -> () #

FromXML LoadBalancerState Source # 
type Rep LoadBalancerState Source # 
type Rep LoadBalancerState = D1 (MetaData "LoadBalancerState" "Network.AWS.AutoScaling.Types.Product" "amazonka-autoscaling-1.4.5-8yDHjz7ddEsEeD2f2YA1qk" 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 Source #

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

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

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

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

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

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

The name of the load balancer.

LoadBalancerTargetGroupState

data LoadBalancerTargetGroupState Source #

Describes the state of a target group.

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

See: loadBalancerTargetGroupState smart constructor.

Instances

Eq LoadBalancerTargetGroupState Source # 
Data LoadBalancerTargetGroupState Source # 

Methods

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

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

toConstr :: LoadBalancerTargetGroupState -> Constr #

dataTypeOf :: LoadBalancerTargetGroupState -> DataType #

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

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

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

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

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

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

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

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

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

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

Read LoadBalancerTargetGroupState Source # 
Show LoadBalancerTargetGroupState Source # 
Generic LoadBalancerTargetGroupState Source # 
Hashable LoadBalancerTargetGroupState Source # 
NFData LoadBalancerTargetGroupState Source # 
FromXML LoadBalancerTargetGroupState Source # 
type Rep LoadBalancerTargetGroupState Source # 
type Rep LoadBalancerTargetGroupState = D1 (MetaData "LoadBalancerTargetGroupState" "Network.AWS.AutoScaling.Types.Product" "amazonka-autoscaling-1.4.5-8yDHjz7ddEsEeD2f2YA1qk" 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 Source #

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

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

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

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

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

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

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

MetricCollectionType

data MetricCollectionType Source #

Describes a metric.

See: metricCollectionType smart constructor.

Instances

Eq MetricCollectionType Source # 
Data MetricCollectionType Source # 

Methods

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

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

toConstr :: MetricCollectionType -> Constr #

dataTypeOf :: MetricCollectionType -> DataType #

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

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

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

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

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

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

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

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

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

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

Read MetricCollectionType Source # 
Show MetricCollectionType Source # 
Generic MetricCollectionType Source # 
Hashable MetricCollectionType Source # 
NFData MetricCollectionType Source # 

Methods

rnf :: MetricCollectionType -> () #

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

metricCollectionType :: MetricCollectionType Source #

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

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

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

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

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

MetricGranularityType

data MetricGranularityType Source #

Describes a granularity of a metric.

See: metricGranularityType smart constructor.

Instances

Eq MetricGranularityType Source # 
Data MetricGranularityType Source # 

Methods

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

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

toConstr :: MetricGranularityType -> Constr #

dataTypeOf :: MetricGranularityType -> DataType #

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

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

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

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

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

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

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

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

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

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

Read MetricGranularityType Source # 
Show MetricGranularityType Source # 
Generic MetricGranularityType Source # 
Hashable MetricGranularityType Source # 
NFData MetricGranularityType Source # 

Methods

rnf :: MetricGranularityType -> () #

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

metricGranularityType :: MetricGranularityType Source #

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

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

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

The granularity. The only valid value is 1Minute .

NotificationConfiguration

data NotificationConfiguration Source #

Describes a notification.

See: notificationConfiguration smart constructor.

Instances

Eq NotificationConfiguration Source # 
Data NotificationConfiguration Source # 

Methods

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

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

toConstr :: NotificationConfiguration -> Constr #

dataTypeOf :: NotificationConfiguration -> DataType #

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

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

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

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

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

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

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

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

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

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

Read NotificationConfiguration Source # 
Show NotificationConfiguration Source # 
Generic NotificationConfiguration Source # 
Hashable NotificationConfiguration Source # 
NFData NotificationConfiguration Source # 
FromXML NotificationConfiguration Source # 
type Rep NotificationConfiguration Source # 
type Rep NotificationConfiguration = D1 (MetaData "NotificationConfiguration" "Network.AWS.AutoScaling.Types.Product" "amazonka-autoscaling-1.4.5-8yDHjz7ddEsEeD2f2YA1qk" 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 Source #

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

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

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

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

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

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

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

ProcessType

data ProcessType Source #

Describes a process type.

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

See: processType smart constructor.

Instances

Eq ProcessType Source # 
Data ProcessType Source # 

Methods

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

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

toConstr :: ProcessType -> Constr #

dataTypeOf :: ProcessType -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ProcessType Source # 
Show ProcessType Source # 
Generic ProcessType Source # 

Associated Types

type Rep ProcessType :: * -> * #

Hashable ProcessType Source # 
NFData ProcessType Source # 

Methods

rnf :: ProcessType -> () #

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

processType Source #

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

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

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

ptProcessName :: Lens' ProcessType Text Source #

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

ScalingPolicy

data ScalingPolicy Source #

Describes a scaling policy.

See: scalingPolicy smart constructor.

Instances

Eq ScalingPolicy Source # 
Data ScalingPolicy Source # 

Methods

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

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

toConstr :: ScalingPolicy -> Constr #

dataTypeOf :: ScalingPolicy -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ScalingPolicy Source # 
Show ScalingPolicy Source # 
Generic ScalingPolicy Source # 

Associated Types

type Rep ScalingPolicy :: * -> * #

Hashable ScalingPolicy Source # 
NFData ScalingPolicy Source # 

Methods

rnf :: ScalingPolicy -> () #

FromXML ScalingPolicy Source # 
type Rep ScalingPolicy Source # 
type Rep ScalingPolicy = D1 (MetaData "ScalingPolicy" "Network.AWS.AutoScaling.Types.Product" "amazonka-autoscaling-1.4.5-8yDHjz7ddEsEeD2f2YA1qk" 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 Source #

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

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

  • sMinAdjustmentStep - Available for backward compatibility. Use MinAdjustmentMagnitude instead.
  • sEstimatedInstanceWarmup - The estimated time, in seconds, until a newly launched instance can contribute to the CloudWatch metrics.
  • sPolicyName - The name of the scaling policy.
  • sPolicyType - The policy type. Valid values are SimpleScaling and StepScaling .
  • sStepAdjustments - A set of adjustments that enable you to scale based on the size of the alarm breach.
  • 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) Source #

Available for backward compatibility. Use MinAdjustmentMagnitude instead.

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

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

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

The name of the scaling policy.

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

The policy type. Valid values are SimpleScaling and StepScaling .

sStepAdjustments :: Lens' ScalingPolicy [StepAdjustment] Source #

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

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

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

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

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

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

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

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

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

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

The Amazon Resource Name (ARN) of the policy.

sAlarms :: Lens' ScalingPolicy [Alarm] Source #

The CloudWatch alarms related to the policy.

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

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

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

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

ScalingProcessQuery

data ScalingProcessQuery Source #

Contains the parameters for SuspendProcesses and ResumeProcesses.

See: scalingProcessQuery smart constructor.

Instances

Eq ScalingProcessQuery Source # 
Data ScalingProcessQuery Source # 

Methods

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

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

toConstr :: ScalingProcessQuery -> Constr #

dataTypeOf :: ScalingProcessQuery -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ScalingProcessQuery Source # 
Show ScalingProcessQuery Source # 
Generic ScalingProcessQuery Source # 
Hashable ScalingProcessQuery Source # 
NFData ScalingProcessQuery Source # 

Methods

rnf :: ScalingProcessQuery -> () #

ToQuery ScalingProcessQuery Source # 
type Rep ScalingProcessQuery Source # 
type Rep ScalingProcessQuery = D1 (MetaData "ScalingProcessQuery" "Network.AWS.AutoScaling.Types.Product" "amazonka-autoscaling-1.4.5-8yDHjz7ddEsEeD2f2YA1qk" 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 Source #

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

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

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

spqScalingProcesses :: Lens' ScalingProcessQuery [Text] Source #

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

spqAutoScalingGroupName :: Lens' ScalingProcessQuery Text Source #

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

ScheduledUpdateGroupAction

data ScheduledUpdateGroupAction Source #

Describes a scheduled update to an Auto Scaling group.

See: scheduledUpdateGroupAction smart constructor.

Instances

Eq ScheduledUpdateGroupAction Source # 
Data ScheduledUpdateGroupAction Source # 

Methods

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

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

toConstr :: ScheduledUpdateGroupAction -> Constr #

dataTypeOf :: ScheduledUpdateGroupAction -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ScheduledUpdateGroupAction Source # 
Show ScheduledUpdateGroupAction Source # 
Generic ScheduledUpdateGroupAction Source # 
Hashable ScheduledUpdateGroupAction Source # 
NFData ScheduledUpdateGroupAction Source # 
FromXML ScheduledUpdateGroupAction Source # 
type Rep ScheduledUpdateGroupAction Source # 
type Rep ScheduledUpdateGroupAction = D1 (MetaData "ScheduledUpdateGroupAction" "Network.AWS.AutoScaling.Types.Product" "amazonka-autoscaling-1.4.5-8yDHjz7ddEsEeD2f2YA1qk" 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 Source #

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

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

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

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

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

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

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

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

This parameter is deprecated.

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

The maximum size of the group.

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

The recurring schedule for the action.

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

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

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

The minimum size of the group.

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

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

StepAdjustment

data StepAdjustment Source #

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

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

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

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

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

See: stepAdjustment smart constructor.

Instances

Eq StepAdjustment Source # 
Data StepAdjustment Source # 

Methods

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

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

toConstr :: StepAdjustment -> Constr #

dataTypeOf :: StepAdjustment -> DataType #

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

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

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

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

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

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

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

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

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

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

Read StepAdjustment Source # 
Show StepAdjustment Source # 
Generic StepAdjustment Source # 

Associated Types

type Rep StepAdjustment :: * -> * #

Hashable StepAdjustment Source # 
NFData StepAdjustment Source # 

Methods

rnf :: StepAdjustment -> () #

FromXML StepAdjustment Source # 
ToQuery StepAdjustment Source # 
type Rep StepAdjustment Source # 
type Rep StepAdjustment = D1 (MetaData "StepAdjustment" "Network.AWS.AutoScaling.Types.Product" "amazonka-autoscaling-1.4.5-8yDHjz7ddEsEeD2f2YA1qk" 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 Source #

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

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

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

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

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

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

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

saScalingAdjustment :: Lens' StepAdjustment Int Source #

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

SuspendedProcess

data SuspendedProcess Source #

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

See: suspendedProcess smart constructor.

Instances

Eq SuspendedProcess Source # 
Data SuspendedProcess Source # 

Methods

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

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

toConstr :: SuspendedProcess -> Constr #

dataTypeOf :: SuspendedProcess -> DataType #

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

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

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

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

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

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

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

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

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

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

Read SuspendedProcess Source # 
Show SuspendedProcess Source # 
Generic SuspendedProcess Source # 
Hashable SuspendedProcess Source # 
NFData SuspendedProcess Source # 

Methods

rnf :: SuspendedProcess -> () #

FromXML SuspendedProcess Source # 
type Rep SuspendedProcess Source # 
type Rep SuspendedProcess = D1 (MetaData "SuspendedProcess" "Network.AWS.AutoScaling.Types.Product" "amazonka-autoscaling-1.4.5-8yDHjz7ddEsEeD2f2YA1qk" 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 Source #

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

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

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

The name of the suspended process.

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

The reason that the process was suspended.

Tag

data Tag Source #

Describes a tag for an Auto Scaling group.

See: tag smart constructor.

Instances

Eq Tag Source # 

Methods

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

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

Data Tag Source # 

Methods

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

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

toConstr :: Tag -> Constr #

dataTypeOf :: Tag -> DataType #

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

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

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

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

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

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

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

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

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

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

Read Tag Source # 
Show Tag Source # 

Methods

showsPrec :: Int -> Tag -> ShowS #

show :: Tag -> String #

showList :: [Tag] -> ShowS #

Generic Tag Source # 

Associated Types

type Rep Tag :: * -> * #

Methods

from :: Tag -> Rep Tag x #

to :: Rep Tag x -> Tag #

Hashable Tag Source # 

Methods

hashWithSalt :: Int -> Tag -> Int #

hash :: Tag -> Int #

NFData Tag Source # 

Methods

rnf :: Tag -> () #

ToQuery Tag Source # 

Methods

toQuery :: Tag -> QueryString #

type Rep Tag Source # 
type Rep Tag = D1 (MetaData "Tag" "Network.AWS.AutoScaling.Types.Product" "amazonka-autoscaling-1.4.5-8yDHjz7ddEsEeD2f2YA1qk" 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 Source #

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

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

tagKey :: Lens' Tag Text Source #

The tag key.

tagResourceId :: Lens' Tag Text Source #

The name of the group.

tagResourceType :: Lens' Tag Text Source #

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

tagPropagateAtLaunch :: Lens' Tag Bool Source #

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

tagValue :: Lens' Tag Text Source #

The tag value.

TagDescription

data TagDescription Source #

Describes a tag for an Auto Scaling group.

See: tagDescription smart constructor.

Instances

Eq TagDescription Source # 
Data TagDescription Source # 

Methods

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

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

toConstr :: TagDescription -> Constr #

dataTypeOf :: TagDescription -> DataType #

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

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

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

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

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

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

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

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

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

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

Read TagDescription Source # 
Show TagDescription Source # 
Generic TagDescription Source # 

Associated Types

type Rep TagDescription :: * -> * #

Hashable TagDescription Source # 
NFData TagDescription Source # 

Methods

rnf :: TagDescription -> () #

FromXML TagDescription Source # 
type Rep TagDescription Source # 
type Rep TagDescription = D1 (MetaData "TagDescription" "Network.AWS.AutoScaling.Types.Product" "amazonka-autoscaling-1.4.5-8yDHjz7ddEsEeD2f2YA1qk" 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 Source #

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

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

tdResourceId :: Lens' TagDescription Text Source #

The name of the group.

tdResourceType :: Lens' TagDescription Text Source #

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

tdPropagateAtLaunch :: Lens' TagDescription Bool Source #

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