amazonka-cloudwatch-events-2.0: Amazon EventBridge 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.CloudWatchEvents.Types.BatchRetryStrategy

Description

 
Synopsis

Documentation

data BatchRetryStrategy Source #

The retry strategy to use for failed jobs, if the target is an Batch job. If you specify a retry strategy here, it overrides the retry strategy defined in the job definition.

See: newBatchRetryStrategy smart constructor.

Constructors

BatchRetryStrategy' 

Fields

  • attempts :: Maybe Int

    The number of times to attempt to retry, if the job fails. Valid values are 1–10.

Instances

Instances details
FromJSON BatchRetryStrategy Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.BatchRetryStrategy

ToJSON BatchRetryStrategy Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.BatchRetryStrategy

Generic BatchRetryStrategy Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.BatchRetryStrategy

Associated Types

type Rep BatchRetryStrategy :: Type -> Type #

Read BatchRetryStrategy Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.BatchRetryStrategy

Show BatchRetryStrategy Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.BatchRetryStrategy

NFData BatchRetryStrategy Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.BatchRetryStrategy

Methods

rnf :: BatchRetryStrategy -> () #

Eq BatchRetryStrategy Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.BatchRetryStrategy

Hashable BatchRetryStrategy Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.BatchRetryStrategy

type Rep BatchRetryStrategy Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.BatchRetryStrategy

type Rep BatchRetryStrategy = D1 ('MetaData "BatchRetryStrategy" "Amazonka.CloudWatchEvents.Types.BatchRetryStrategy" "amazonka-cloudwatch-events-2.0-GJzRBos1CnlE3BT39axMc5" 'False) (C1 ('MetaCons "BatchRetryStrategy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "attempts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))

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 attempt to retry, if the job fails. Valid values are 1–10.

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

The number of times to attempt to retry, if the job fails. Valid values are 1–10.