amazonka-autoscaling-2.0: Amazon Auto Scaling SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.AutoScaling.SuspendProcesses

Description

Suspends the specified auto scaling processes, or all processes, for the specified Auto Scaling group.

If you suspend either the Launch or Terminate process types, it can prevent other process types from functioning properly. For more information, see Suspending and resuming scaling processes in the Amazon EC2 Auto Scaling User Guide.

To resume processes that have been suspended, call the ResumeProcesses API.

Synopsis

Creating a Request

data SuspendProcesses Source #

See: newSuspendProcesses smart constructor.

Constructors

SuspendProcesses' 

Fields

  • scalingProcesses :: Maybe [Text]

    One or more of the following processes:

    • Launch
    • Terminate
    • AddToLoadBalancer
    • AlarmNotification
    • AZRebalance
    • HealthCheck
    • InstanceRefresh
    • ReplaceUnhealthy
    • ScheduledActions

    If you omit this property, all processes are specified.

  • autoScalingGroupName :: Text

    The name of the Auto Scaling group.

Instances

Instances details
ToHeaders SuspendProcesses Source # 
Instance details

Defined in Amazonka.AutoScaling.SuspendProcesses

ToPath SuspendProcesses Source # 
Instance details

Defined in Amazonka.AutoScaling.SuspendProcesses

ToQuery SuspendProcesses Source # 
Instance details

Defined in Amazonka.AutoScaling.SuspendProcesses

AWSRequest SuspendProcesses Source # 
Instance details

Defined in Amazonka.AutoScaling.SuspendProcesses

Associated Types

type AWSResponse SuspendProcesses #

Generic SuspendProcesses Source # 
Instance details

Defined in Amazonka.AutoScaling.SuspendProcesses

Associated Types

type Rep SuspendProcesses :: Type -> Type #

Read SuspendProcesses Source # 
Instance details

Defined in Amazonka.AutoScaling.SuspendProcesses

Show SuspendProcesses Source # 
Instance details

Defined in Amazonka.AutoScaling.SuspendProcesses

NFData SuspendProcesses Source # 
Instance details

Defined in Amazonka.AutoScaling.SuspendProcesses

Methods

rnf :: SuspendProcesses -> () #

Eq SuspendProcesses Source # 
Instance details

Defined in Amazonka.AutoScaling.SuspendProcesses

Hashable SuspendProcesses Source # 
Instance details

Defined in Amazonka.AutoScaling.SuspendProcesses

type AWSResponse SuspendProcesses Source # 
Instance details

Defined in Amazonka.AutoScaling.SuspendProcesses

type Rep SuspendProcesses Source # 
Instance details

Defined in Amazonka.AutoScaling.SuspendProcesses

type Rep SuspendProcesses = D1 ('MetaData "SuspendProcesses" "Amazonka.AutoScaling.SuspendProcesses" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "SuspendProcesses'" 'PrefixI 'True) (S1 ('MetaSel ('Just "scalingProcesses") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "autoScalingGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newSuspendProcesses Source #

Create a value of SuspendProcesses with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

SuspendProcesses, suspendProcesses_scalingProcesses - One or more of the following processes:

  • Launch
  • Terminate
  • AddToLoadBalancer
  • AlarmNotification
  • AZRebalance
  • HealthCheck
  • InstanceRefresh
  • ReplaceUnhealthy
  • ScheduledActions

If you omit this property, all processes are specified.

SuspendProcesses, suspendProcesses_autoScalingGroupName - The name of the Auto Scaling group.

Request Lenses

suspendProcesses_scalingProcesses :: Lens' SuspendProcesses (Maybe [Text]) Source #

One or more of the following processes:

  • Launch
  • Terminate
  • AddToLoadBalancer
  • AlarmNotification
  • AZRebalance
  • HealthCheck
  • InstanceRefresh
  • ReplaceUnhealthy
  • ScheduledActions

If you omit this property, all processes are specified.

Destructuring the Response

data SuspendProcessesResponse Source #

See: newSuspendProcessesResponse smart constructor.

Instances

Instances details
Generic SuspendProcessesResponse Source # 
Instance details

Defined in Amazonka.AutoScaling.SuspendProcesses

Associated Types

type Rep SuspendProcessesResponse :: Type -> Type #

Read SuspendProcessesResponse Source # 
Instance details

Defined in Amazonka.AutoScaling.SuspendProcesses

Show SuspendProcessesResponse Source # 
Instance details

Defined in Amazonka.AutoScaling.SuspendProcesses

NFData SuspendProcessesResponse Source # 
Instance details

Defined in Amazonka.AutoScaling.SuspendProcesses

Eq SuspendProcessesResponse Source # 
Instance details

Defined in Amazonka.AutoScaling.SuspendProcesses

type Rep SuspendProcessesResponse Source # 
Instance details

Defined in Amazonka.AutoScaling.SuspendProcesses

type Rep SuspendProcessesResponse = D1 ('MetaData "SuspendProcessesResponse" "Amazonka.AutoScaling.SuspendProcesses" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "SuspendProcessesResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newSuspendProcessesResponse :: SuspendProcessesResponse Source #

Create a value of SuspendProcessesResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.