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.JobTimeout

Description

 
Synopsis

Documentation

data JobTimeout Source #

An object that represents a job timeout configuration.

See: newJobTimeout smart constructor.

Constructors

JobTimeout' 

Fields

  • attemptDurationSeconds :: Maybe Int

    The job timeout time (in seconds) that's measured from the job attempt's startedAt timestamp. After this time passes, Batch terminates your jobs if they aren't finished. The minimum value for the timeout is 60 seconds.

    For array jobs, the timeout applies to the child jobs, not to the parent array job.

    For multi-node parallel (MNP) jobs, the timeout applies to the whole job, not to the individual nodes.

Instances

Instances details
FromJSON JobTimeout Source # 
Instance details

Defined in Amazonka.Batch.Types.JobTimeout

ToJSON JobTimeout Source # 
Instance details

Defined in Amazonka.Batch.Types.JobTimeout

Generic JobTimeout Source # 
Instance details

Defined in Amazonka.Batch.Types.JobTimeout

Associated Types

type Rep JobTimeout :: Type -> Type #

Read JobTimeout Source # 
Instance details

Defined in Amazonka.Batch.Types.JobTimeout

Show JobTimeout Source # 
Instance details

Defined in Amazonka.Batch.Types.JobTimeout

NFData JobTimeout Source # 
Instance details

Defined in Amazonka.Batch.Types.JobTimeout

Methods

rnf :: JobTimeout -> () #

Eq JobTimeout Source # 
Instance details

Defined in Amazonka.Batch.Types.JobTimeout

Hashable JobTimeout Source # 
Instance details

Defined in Amazonka.Batch.Types.JobTimeout

type Rep JobTimeout Source # 
Instance details

Defined in Amazonka.Batch.Types.JobTimeout

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

newJobTimeout :: JobTimeout Source #

Create a value of JobTimeout 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:attemptDurationSeconds:JobTimeout', jobTimeout_attemptDurationSeconds - The job timeout time (in seconds) that's measured from the job attempt's startedAt timestamp. After this time passes, Batch terminates your jobs if they aren't finished. The minimum value for the timeout is 60 seconds.

For array jobs, the timeout applies to the child jobs, not to the parent array job.

For multi-node parallel (MNP) jobs, the timeout applies to the whole job, not to the individual nodes.

jobTimeout_attemptDurationSeconds :: Lens' JobTimeout (Maybe Int) Source #

The job timeout time (in seconds) that's measured from the job attempt's startedAt timestamp. After this time passes, Batch terminates your jobs if they aren't finished. The minimum value for the timeout is 60 seconds.

For array jobs, the timeout applies to the child jobs, not to the parent array job.

For multi-node parallel (MNP) jobs, the timeout applies to the whole job, not to the individual nodes.