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

Description

 
Synopsis

Documentation

data RetryPolicy Source #

A RetryPolicy object that includes information about the retry policy settings.

See: newRetryPolicy smart constructor.

Constructors

RetryPolicy' 

Fields

  • maximumEventAgeInSeconds :: Maybe Natural

    The maximum amount of time, in seconds, to continue to make retry attempts.

  • maximumRetryAttempts :: Maybe Natural

    The maximum number of retry attempts to make before the request fails. Retry attempts continue until either the maximum number of attempts is made or until the duration of the MaximumEventAgeInSeconds is met.

Instances

Instances details
Eq RetryPolicy Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.RetryPolicy

Read RetryPolicy Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.RetryPolicy

Show RetryPolicy Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.RetryPolicy

Generic RetryPolicy Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.RetryPolicy

Associated Types

type Rep RetryPolicy :: Type -> Type #

NFData RetryPolicy Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.RetryPolicy

Methods

rnf :: RetryPolicy -> () #

Hashable RetryPolicy Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.RetryPolicy

ToJSON RetryPolicy Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.RetryPolicy

FromJSON RetryPolicy Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.RetryPolicy

type Rep RetryPolicy Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.RetryPolicy

type Rep RetryPolicy = D1 ('MetaData "RetryPolicy" "Amazonka.CloudWatchEvents.Types.RetryPolicy" "libZSservicesZSamazonka-cloudwatch-eventsZSamazonka-cloudwatch-events" 'False) (C1 ('MetaCons "RetryPolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maximumEventAgeInSeconds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "maximumRetryAttempts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))

newRetryPolicy :: RetryPolicy Source #

Create a value of RetryPolicy 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:maximumEventAgeInSeconds:RetryPolicy', retryPolicy_maximumEventAgeInSeconds - The maximum amount of time, in seconds, to continue to make retry attempts.

$sel:maximumRetryAttempts:RetryPolicy', retryPolicy_maximumRetryAttempts - The maximum number of retry attempts to make before the request fails. Retry attempts continue until either the maximum number of attempts is made or until the duration of the MaximumEventAgeInSeconds is met.

retryPolicy_maximumEventAgeInSeconds :: Lens' RetryPolicy (Maybe Natural) Source #

The maximum amount of time, in seconds, to continue to make retry attempts.

retryPolicy_maximumRetryAttempts :: Lens' RetryPolicy (Maybe Natural) Source #

The maximum number of retry attempts to make before the request fails. Retry attempts continue until either the maximum number of attempts is made or until the duration of the MaximumEventAgeInSeconds is met.