libZSservicesZSamazonka-emrZSamazonka-emr
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.EMR.Types.InstanceFleetStatus

Description

 
Synopsis

Documentation

data InstanceFleetStatus Source #

The status of the instance fleet.

The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions.

See: newInstanceFleetStatus smart constructor.

Constructors

InstanceFleetStatus' 

Fields

  • state :: Maybe InstanceFleetState

    A code representing the instance fleet status.

    • PROVISIONING—The instance fleet is provisioning EC2 resources and is not yet ready to run jobs.
    • BOOTSTRAPPING—EC2 instances and other resources have been provisioned and the bootstrap actions specified for the instances are underway.
    • RUNNING—EC2 instances and other resources are running. They are either executing jobs or waiting to execute jobs.
    • RESIZING—A resize operation is underway. EC2 instances are either being added or removed.
    • SUSPENDED—A resize operation could not complete. Existing EC2 instances are running, but instances can't be added or removed.
    • TERMINATING—The instance fleet is terminating EC2 instances.
    • TERMINATED—The instance fleet is no longer active, and all EC2 instances have been terminated.
  • stateChangeReason :: Maybe InstanceFleetStateChangeReason

    Provides status change reason details for the instance fleet.

  • timeline :: Maybe InstanceFleetTimeline

    Provides historical timestamps for the instance fleet, including the time of creation, the time it became ready to run jobs, and the time of termination.

Instances

Instances details
Eq InstanceFleetStatus Source # 
Instance details

Defined in Amazonka.EMR.Types.InstanceFleetStatus

Read InstanceFleetStatus Source # 
Instance details

Defined in Amazonka.EMR.Types.InstanceFleetStatus

Show InstanceFleetStatus Source # 
Instance details

Defined in Amazonka.EMR.Types.InstanceFleetStatus

Generic InstanceFleetStatus Source # 
Instance details

Defined in Amazonka.EMR.Types.InstanceFleetStatus

Associated Types

type Rep InstanceFleetStatus :: Type -> Type #

NFData InstanceFleetStatus Source # 
Instance details

Defined in Amazonka.EMR.Types.InstanceFleetStatus

Methods

rnf :: InstanceFleetStatus -> () #

Hashable InstanceFleetStatus Source # 
Instance details

Defined in Amazonka.EMR.Types.InstanceFleetStatus

FromJSON InstanceFleetStatus Source # 
Instance details

Defined in Amazonka.EMR.Types.InstanceFleetStatus

type Rep InstanceFleetStatus Source # 
Instance details

Defined in Amazonka.EMR.Types.InstanceFleetStatus

type Rep InstanceFleetStatus = D1 ('MetaData "InstanceFleetStatus" "Amazonka.EMR.Types.InstanceFleetStatus" "libZSservicesZSamazonka-emrZSamazonka-emr" 'False) (C1 ('MetaCons "InstanceFleetStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InstanceFleetState)) :*: (S1 ('MetaSel ('Just "stateChangeReason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InstanceFleetStateChangeReason)) :*: S1 ('MetaSel ('Just "timeline") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InstanceFleetTimeline)))))

newInstanceFleetStatus :: InstanceFleetStatus Source #

Create a value of InstanceFleetStatus 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:state:InstanceFleetStatus', instanceFleetStatus_state - A code representing the instance fleet status.

  • PROVISIONING—The instance fleet is provisioning EC2 resources and is not yet ready to run jobs.
  • BOOTSTRAPPING—EC2 instances and other resources have been provisioned and the bootstrap actions specified for the instances are underway.
  • RUNNING—EC2 instances and other resources are running. They are either executing jobs or waiting to execute jobs.
  • RESIZING—A resize operation is underway. EC2 instances are either being added or removed.
  • SUSPENDED—A resize operation could not complete. Existing EC2 instances are running, but instances can't be added or removed.
  • TERMINATING—The instance fleet is terminating EC2 instances.
  • TERMINATED—The instance fleet is no longer active, and all EC2 instances have been terminated.

$sel:stateChangeReason:InstanceFleetStatus', instanceFleetStatus_stateChangeReason - Provides status change reason details for the instance fleet.

$sel:timeline:InstanceFleetStatus', instanceFleetStatus_timeline - Provides historical timestamps for the instance fleet, including the time of creation, the time it became ready to run jobs, and the time of termination.

instanceFleetStatus_state :: Lens' InstanceFleetStatus (Maybe InstanceFleetState) Source #

A code representing the instance fleet status.

  • PROVISIONING—The instance fleet is provisioning EC2 resources and is not yet ready to run jobs.
  • BOOTSTRAPPING—EC2 instances and other resources have been provisioned and the bootstrap actions specified for the instances are underway.
  • RUNNING—EC2 instances and other resources are running. They are either executing jobs or waiting to execute jobs.
  • RESIZING—A resize operation is underway. EC2 instances are either being added or removed.
  • SUSPENDED—A resize operation could not complete. Existing EC2 instances are running, but instances can't be added or removed.
  • TERMINATING—The instance fleet is terminating EC2 instances.
  • TERMINATED—The instance fleet is no longer active, and all EC2 instances have been terminated.

instanceFleetStatus_stateChangeReason :: Lens' InstanceFleetStatus (Maybe InstanceFleetStateChangeReason) Source #

Provides status change reason details for the instance fleet.

instanceFleetStatus_timeline :: Lens' InstanceFleetStatus (Maybe InstanceFleetTimeline) Source #

Provides historical timestamps for the instance fleet, including the time of creation, the time it became ready to run jobs, and the time of termination.