libZSservicesZSamazonka-cloudwatch-eventsZSamazonka-cloudwatch-events
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.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
Eq BatchRetryStrategy Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.BatchRetryStrategy

Read BatchRetryStrategy Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.BatchRetryStrategy

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

NFData BatchRetryStrategy Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.BatchRetryStrategy

Methods

rnf :: BatchRetryStrategy -> () #

Hashable BatchRetryStrategy Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.BatchRetryStrategy

ToJSON BatchRetryStrategy Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.BatchRetryStrategy

FromJSON 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" "libZSservicesZSamazonka-cloudwatch-eventsZSamazonka-cloudwatch-events" '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.