amazonka-athena-2.0: Amazon Athena 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.Athena.Types.ExecutorsSummary

Description

 
Synopsis

Documentation

data ExecutorsSummary Source #

Contains summary information about an executor.

See: newExecutorsSummary smart constructor.

Constructors

ExecutorsSummary' 

Fields

  • executorSize :: Maybe Integer

    The smallest unit of compute that a session can request from Athena. Size is measured in data processing unit (DPU) values, a relative measure of processing power.

  • executorState :: Maybe ExecutorState

    The processing state of the executor. A description of each state follows.

    CREATING - The executor is being started, including acquiring resources.

    CREATED - The executor has been started.

    REGISTERED - The executor has been registered.

    TERMINATING - The executor is in the process of shutting down.

    TERMINATED - The executor is no longer running.

    FAILED - Due to a failure, the executor is no longer running.

  • executorType :: Maybe ExecutorType

    The type of executor used for the application (COORDINATOR, GATEWAY, or WORKER).

  • startDateTime :: Maybe Integer

    The date and time that the executor started.

  • terminationDateTime :: Maybe Integer

    The date and time that the executor was terminated.

  • executorId :: Text

    The UUID of the executor.

Instances

Instances details
FromJSON ExecutorsSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.ExecutorsSummary

Generic ExecutorsSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.ExecutorsSummary

Associated Types

type Rep ExecutorsSummary :: Type -> Type #

Read ExecutorsSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.ExecutorsSummary

Show ExecutorsSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.ExecutorsSummary

NFData ExecutorsSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.ExecutorsSummary

Methods

rnf :: ExecutorsSummary -> () #

Eq ExecutorsSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.ExecutorsSummary

Hashable ExecutorsSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.ExecutorsSummary

type Rep ExecutorsSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.ExecutorsSummary

type Rep ExecutorsSummary = D1 ('MetaData "ExecutorsSummary" "Amazonka.Athena.Types.ExecutorsSummary" "amazonka-athena-2.0-1BJA3HTvHJNEzwQRaEw59w" 'False) (C1 ('MetaCons "ExecutorsSummary'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "executorSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: (S1 ('MetaSel ('Just "executorState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ExecutorState)) :*: S1 ('MetaSel ('Just "executorType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ExecutorType)))) :*: (S1 ('MetaSel ('Just "startDateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: (S1 ('MetaSel ('Just "terminationDateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "executorId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newExecutorsSummary Source #

Create a value of ExecutorsSummary 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:executorSize:ExecutorsSummary', executorsSummary_executorSize - The smallest unit of compute that a session can request from Athena. Size is measured in data processing unit (DPU) values, a relative measure of processing power.

$sel:executorState:ExecutorsSummary', executorsSummary_executorState - The processing state of the executor. A description of each state follows.

CREATING - The executor is being started, including acquiring resources.

CREATED - The executor has been started.

REGISTERED - The executor has been registered.

TERMINATING - The executor is in the process of shutting down.

TERMINATED - The executor is no longer running.

FAILED - Due to a failure, the executor is no longer running.

$sel:executorType:ExecutorsSummary', executorsSummary_executorType - The type of executor used for the application (COORDINATOR, GATEWAY, or WORKER).

$sel:startDateTime:ExecutorsSummary', executorsSummary_startDateTime - The date and time that the executor started.

$sel:terminationDateTime:ExecutorsSummary', executorsSummary_terminationDateTime - The date and time that the executor was terminated.

$sel:executorId:ExecutorsSummary', executorsSummary_executorId - The UUID of the executor.

executorsSummary_executorSize :: Lens' ExecutorsSummary (Maybe Integer) Source #

The smallest unit of compute that a session can request from Athena. Size is measured in data processing unit (DPU) values, a relative measure of processing power.

executorsSummary_executorState :: Lens' ExecutorsSummary (Maybe ExecutorState) Source #

The processing state of the executor. A description of each state follows.

CREATING - The executor is being started, including acquiring resources.

CREATED - The executor has been started.

REGISTERED - The executor has been registered.

TERMINATING - The executor is in the process of shutting down.

TERMINATED - The executor is no longer running.

FAILED - Due to a failure, the executor is no longer running.

executorsSummary_executorType :: Lens' ExecutorsSummary (Maybe ExecutorType) Source #

The type of executor used for the application (COORDINATOR, GATEWAY, or WORKER).

executorsSummary_startDateTime :: Lens' ExecutorsSummary (Maybe Integer) Source #

The date and time that the executor started.

executorsSummary_terminationDateTime :: Lens' ExecutorsSummary (Maybe Integer) Source #

The date and time that the executor was terminated.