libZSservicesZSamazonka-batchZSamazonka-batch
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.Batch.Types.NodeDetails

Description

 
Synopsis

Documentation

data NodeDetails Source #

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

See: newNodeDetails smart constructor.

Constructors

NodeDetails' 

Fields

  • nodeIndex :: Maybe Int

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

  • isMainNode :: Maybe Bool

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

Instances

Instances details
Eq NodeDetails Source # 
Instance details

Defined in Amazonka.Batch.Types.NodeDetails

Read NodeDetails Source # 
Instance details

Defined in Amazonka.Batch.Types.NodeDetails

Show 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 #

NFData NodeDetails Source # 
Instance details

Defined in Amazonka.Batch.Types.NodeDetails

Methods

rnf :: NodeDetails -> () #

Hashable NodeDetails Source # 
Instance details

Defined in Amazonka.Batch.Types.NodeDetails

FromJSON 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" "libZSservicesZSamazonka-batchZSamazonka-batch" 'False) (C1 ('MetaCons "NodeDetails'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nodeIndex") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "isMainNode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

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:nodeIndex:NodeDetails', nodeDetails_nodeIndex - The node index for the node. Node index numbering begins at zero. This index is also available on the node with the AWS_BATCH_JOB_NODE_INDEX environment variable.

$sel:isMainNode:NodeDetails', nodeDetails_isMainNode - 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 begins 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.