amazonka-pipes-2.0: Amazon EventBridge Pipes 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.Pipes.Types.BatchRetryStrategy

Description

 
Synopsis

Documentation

data BatchRetryStrategy Source #

The retry strategy that's associated with a job. For more information, see Automated job retries in the Batch User Guide.

See: newBatchRetryStrategy smart constructor.

Constructors

BatchRetryStrategy' 

Fields

  • attempts :: Maybe Natural

    The number of times to move a job to the RUNNABLE status. If the value of attempts is greater than one, the job is retried on failure the same number of attempts as the value.

Instances

Instances details
FromJSON BatchRetryStrategy Source # 
Instance details

Defined in Amazonka.Pipes.Types.BatchRetryStrategy

ToJSON BatchRetryStrategy Source # 
Instance details

Defined in Amazonka.Pipes.Types.BatchRetryStrategy

Generic BatchRetryStrategy Source # 
Instance details

Defined in Amazonka.Pipes.Types.BatchRetryStrategy

Associated Types

type Rep BatchRetryStrategy :: Type -> Type #

Read BatchRetryStrategy Source # 
Instance details

Defined in Amazonka.Pipes.Types.BatchRetryStrategy

Show BatchRetryStrategy Source # 
Instance details

Defined in Amazonka.Pipes.Types.BatchRetryStrategy

NFData BatchRetryStrategy Source # 
Instance details

Defined in Amazonka.Pipes.Types.BatchRetryStrategy

Methods

rnf :: BatchRetryStrategy -> () #

Eq BatchRetryStrategy Source # 
Instance details

Defined in Amazonka.Pipes.Types.BatchRetryStrategy

Hashable BatchRetryStrategy Source # 
Instance details

Defined in Amazonka.Pipes.Types.BatchRetryStrategy

type Rep BatchRetryStrategy Source # 
Instance details

Defined in Amazonka.Pipes.Types.BatchRetryStrategy

type Rep BatchRetryStrategy = D1 ('MetaData "BatchRetryStrategy" "Amazonka.Pipes.Types.BatchRetryStrategy" "amazonka-pipes-2.0-DDuNjbjVfgsJFLlibzr06i" 'False) (C1 ('MetaCons "BatchRetryStrategy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "attempts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))

newBatchRetryStrategy :: BatchRetryStrategy Source #

Create a value of BatchRetryStrategy 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:attempts:BatchRetryStrategy', batchRetryStrategy_attempts - The number of times to move a job to the RUNNABLE status. If the value of attempts is greater than one, the job is retried on failure the same number of attempts as the value.

batchRetryStrategy_attempts :: Lens' BatchRetryStrategy (Maybe Natural) Source #

The number of times to move a job to the RUNNABLE status. If the value of attempts is greater than one, the job is retried on failure the same number of attempts as the value.