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

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 parameter, all processes are specified.

  • autoScalingGroupName :: Text

    The name of the Auto Scaling group.

Instances

Instances details
Eq SuspendProcesses Source # 
Instance details

Defined in Amazonka.AutoScaling.SuspendProcesses

Read SuspendProcesses Source # 
Instance details

Defined in Amazonka.AutoScaling.SuspendProcesses

Show SuspendProcesses Source # 
Instance details

Defined in Amazonka.AutoScaling.SuspendProcesses

Generic SuspendProcesses Source # 
Instance details

Defined in Amazonka.AutoScaling.SuspendProcesses

Associated Types

type Rep SuspendProcesses :: Type -> Type #

NFData SuspendProcesses Source # 
Instance details

Defined in Amazonka.AutoScaling.SuspendProcesses

Methods

rnf :: SuspendProcesses -> () #

Hashable SuspendProcesses Source # 
Instance details

Defined in Amazonka.AutoScaling.SuspendProcesses

AWSRequest SuspendProcesses Source # 
Instance details

Defined in Amazonka.AutoScaling.SuspendProcesses

Associated Types

type AWSResponse SuspendProcesses #

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

type Rep SuspendProcesses Source # 
Instance details

Defined in Amazonka.AutoScaling.SuspendProcesses

type Rep SuspendProcesses = D1 ('MetaData "SuspendProcesses" "Amazonka.AutoScaling.SuspendProcesses" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" '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)))
type AWSResponse SuspendProcesses Source # 
Instance details

Defined in Amazonka.AutoScaling.SuspendProcesses

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:

$sel:scalingProcesses:SuspendProcesses', suspendProcesses_scalingProcesses - One or more of the following processes:

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

If you omit this parameter, all processes are specified.

$sel:autoScalingGroupName: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 parameter, all processes are specified.

Destructuring the Response

data SuspendProcessesResponse Source #

See: newSuspendProcessesResponse smart constructor.

Instances

Instances details
Eq SuspendProcessesResponse Source # 
Instance details

Defined in Amazonka.AutoScaling.SuspendProcesses

Read SuspendProcessesResponse Source # 
Instance details

Defined in Amazonka.AutoScaling.SuspendProcesses

Show SuspendProcessesResponse Source # 
Instance details

Defined in Amazonka.AutoScaling.SuspendProcesses

Generic SuspendProcessesResponse Source # 
Instance details

Defined in Amazonka.AutoScaling.SuspendProcesses

Associated Types

type Rep SuspendProcessesResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" '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.