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

Description

 
Synopsis

Documentation

data JobTimeout Source #

An object representing a job timeout configuration.

See: newJobTimeout smart constructor.

Constructors

JobTimeout' 

Fields

  • attemptDurationSeconds :: Maybe Int

    The time duration in seconds (measured from the job attempt's startedAt timestamp) after which Batch terminates your jobs if they have not finished. The minimum value for the timeout is 60 seconds.

Instances

Instances details
Eq JobTimeout Source # 
Instance details

Defined in Amazonka.Batch.Types.JobTimeout

Read JobTimeout Source # 
Instance details

Defined in Amazonka.Batch.Types.JobTimeout

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

NFData JobTimeout Source # 
Instance details

Defined in Amazonka.Batch.Types.JobTimeout

Methods

rnf :: JobTimeout -> () #

Hashable JobTimeout Source # 
Instance details

Defined in Amazonka.Batch.Types.JobTimeout

ToJSON JobTimeout Source # 
Instance details

Defined in Amazonka.Batch.Types.JobTimeout

FromJSON 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" "libZSservicesZSamazonka-batchZSamazonka-batch" '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 time duration in seconds (measured from the job attempt's startedAt timestamp) after which Batch terminates your jobs if they have not finished. The minimum value for the timeout is 60 seconds.

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

The time duration in seconds (measured from the job attempt's startedAt timestamp) after which Batch terminates your jobs if they have not finished. The minimum value for the timeout is 60 seconds.