amazonka-batch-2.0: Amazon Batch 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.Batch.Types.NodeDetails

Description

 
Synopsis

Documentation

data NodeDetails Source #

An object that represents the details of a multi-node parallel job node.

See: newNodeDetails smart constructor.

Constructors

NodeDetails' 

Fields

  • isMainNode :: Maybe Bool

    Specifies whether the current node is the main node for a multi-node parallel job.

  • nodeIndex :: Maybe Int

    The node index for the node. Node index numbering starts at zero. This index is also available on the node with the AWS_BATCH_JOB_NODE_INDEX environment variable.

Instances

Instances details
FromJSON NodeDetails Source # 
Instance details

Defined in Amazonka.Batch.Types.NodeDetails

Generic NodeDetails Source # 
Instance details

Defined in Amazonka.Batch.Types.NodeDetails

Associated Types

type Rep NodeDetails :: Type -> Type #

Read NodeDetails Source # 
Instance details

Defined in Amazonka.Batch.Types.NodeDetails

Show NodeDetails Source # 
Instance details

Defined in Amazonka.Batch.Types.NodeDetails

NFData NodeDetails Source # 
Instance details

Defined in Amazonka.Batch.Types.NodeDetails

Methods

rnf :: NodeDetails -> () #

Eq NodeDetails Source # 
Instance details

Defined in Amazonka.Batch.Types.NodeDetails

Hashable NodeDetails Source # 
Instance details

Defined in Amazonka.Batch.Types.NodeDetails

type Rep NodeDetails Source # 
Instance details

Defined in Amazonka.Batch.Types.NodeDetails

type Rep NodeDetails = D1 ('MetaData "NodeDetails" "Amazonka.Batch.Types.NodeDetails" "amazonka-batch-2.0-Ey2VZ5obnq65VwmlrJ2r2K" 'False) (C1 ('MetaCons "NodeDetails'" 'PrefixI 'True) (S1 ('MetaSel ('Just "isMainNode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "nodeIndex") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))

newNodeDetails :: NodeDetails Source #

Create a value of NodeDetails 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:isMainNode:NodeDetails', nodeDetails_isMainNode - Specifies whether the current node is the main node for a multi-node parallel job.

$sel:nodeIndex:NodeDetails', nodeDetails_nodeIndex - The node index for the node. Node index numbering starts at zero. This index is also available on the node with the AWS_BATCH_JOB_NODE_INDEX environment variable.

nodeDetails_isMainNode :: Lens' NodeDetails (Maybe Bool) Source #

Specifies whether the current node is the main node for a multi-node parallel job.

nodeDetails_nodeIndex :: Lens' NodeDetails (Maybe Int) Source #

The node index for the node. Node index numbering starts at zero. This index is also available on the node with the AWS_BATCH_JOB_NODE_INDEX environment variable.