libZSservicesZSamazonka-robomakerZSamazonka-robomaker
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.RobOMaker.Types.BatchPolicy

Description

 
Synopsis

Documentation

data BatchPolicy Source #

Information about the batch policy.

See: newBatchPolicy smart constructor.

Constructors

BatchPolicy' 

Fields

  • timeoutInSeconds :: Maybe Integer

    The amount of time, in seconds, to wait for the batch to complete.

    If a batch times out, and there are pending requests that were failing due to an internal failure (like InternalServiceError), they will be moved to the failed list and the batch status will be Failed. If the pending requests were failing for any other reason, the failed pending requests will be moved to the failed list and the batch status will be TimedOut.

  • maxConcurrency :: Maybe Int

    The number of active simulation jobs create as part of the batch that can be in an active state at the same time.

    Active states include: Pending,Preparing, Running, Restarting, RunningFailed and Terminating. All other states are terminal states.

Instances

Instances details
Eq BatchPolicy Source # 
Instance details

Defined in Amazonka.RobOMaker.Types.BatchPolicy

Read BatchPolicy Source # 
Instance details

Defined in Amazonka.RobOMaker.Types.BatchPolicy

Show BatchPolicy Source # 
Instance details

Defined in Amazonka.RobOMaker.Types.BatchPolicy

Generic BatchPolicy Source # 
Instance details

Defined in Amazonka.RobOMaker.Types.BatchPolicy

Associated Types

type Rep BatchPolicy :: Type -> Type #

NFData BatchPolicy Source # 
Instance details

Defined in Amazonka.RobOMaker.Types.BatchPolicy

Methods

rnf :: BatchPolicy -> () #

Hashable BatchPolicy Source # 
Instance details

Defined in Amazonka.RobOMaker.Types.BatchPolicy

ToJSON BatchPolicy Source # 
Instance details

Defined in Amazonka.RobOMaker.Types.BatchPolicy

FromJSON BatchPolicy Source # 
Instance details

Defined in Amazonka.RobOMaker.Types.BatchPolicy

type Rep BatchPolicy Source # 
Instance details

Defined in Amazonka.RobOMaker.Types.BatchPolicy

type Rep BatchPolicy = D1 ('MetaData "BatchPolicy" "Amazonka.RobOMaker.Types.BatchPolicy" "libZSservicesZSamazonka-robomakerZSamazonka-robomaker" 'False) (C1 ('MetaCons "BatchPolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "timeoutInSeconds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "maxConcurrency") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))

newBatchPolicy :: BatchPolicy Source #

Create a value of BatchPolicy 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:timeoutInSeconds:BatchPolicy', batchPolicy_timeoutInSeconds - The amount of time, in seconds, to wait for the batch to complete.

If a batch times out, and there are pending requests that were failing due to an internal failure (like InternalServiceError), they will be moved to the failed list and the batch status will be Failed. If the pending requests were failing for any other reason, the failed pending requests will be moved to the failed list and the batch status will be TimedOut.

$sel:maxConcurrency:BatchPolicy', batchPolicy_maxConcurrency - The number of active simulation jobs create as part of the batch that can be in an active state at the same time.

Active states include: Pending,Preparing, Running, Restarting, RunningFailed and Terminating. All other states are terminal states.

batchPolicy_timeoutInSeconds :: Lens' BatchPolicy (Maybe Integer) Source #

The amount of time, in seconds, to wait for the batch to complete.

If a batch times out, and there are pending requests that were failing due to an internal failure (like InternalServiceError), they will be moved to the failed list and the batch status will be Failed. If the pending requests were failing for any other reason, the failed pending requests will be moved to the failed list and the batch status will be TimedOut.

batchPolicy_maxConcurrency :: Lens' BatchPolicy (Maybe Int) Source #

The number of active simulation jobs create as part of the batch that can be in an active state at the same time.

Active states include: Pending,Preparing, Running, Restarting, RunningFailed and Terminating. All other states are terminal states.