libZSservicesZSamazonka-sagemakerZSamazonka-sagemaker
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.SageMaker.Types.RetryStrategy

Description

 
Synopsis

Documentation

data RetryStrategy Source #

The retry strategy to use when a training job fails due to an InternalServerError. RetryStrategy is specified as part of the CreateTrainingJob and CreateHyperParameterTuningJob requests. You can add the StoppingCondition parameter to the request to limit the training time for the complete job.

See: newRetryStrategy smart constructor.

Constructors

RetryStrategy' 

Fields

  • maximumRetryAttempts :: Natural

    The number of times to retry the job. When the job is retried, it's SecondaryStatus is changed to STARTING.

Instances

Instances details
Eq RetryStrategy Source # 
Instance details

Defined in Amazonka.SageMaker.Types.RetryStrategy

Read RetryStrategy Source # 
Instance details

Defined in Amazonka.SageMaker.Types.RetryStrategy

Show RetryStrategy Source # 
Instance details

Defined in Amazonka.SageMaker.Types.RetryStrategy

Generic RetryStrategy Source # 
Instance details

Defined in Amazonka.SageMaker.Types.RetryStrategy

Associated Types

type Rep RetryStrategy :: Type -> Type #

NFData RetryStrategy Source # 
Instance details

Defined in Amazonka.SageMaker.Types.RetryStrategy

Methods

rnf :: RetryStrategy -> () #

Hashable RetryStrategy Source # 
Instance details

Defined in Amazonka.SageMaker.Types.RetryStrategy

ToJSON RetryStrategy Source # 
Instance details

Defined in Amazonka.SageMaker.Types.RetryStrategy

FromJSON RetryStrategy Source # 
Instance details

Defined in Amazonka.SageMaker.Types.RetryStrategy

type Rep RetryStrategy Source # 
Instance details

Defined in Amazonka.SageMaker.Types.RetryStrategy

type Rep RetryStrategy = D1 ('MetaData "RetryStrategy" "Amazonka.SageMaker.Types.RetryStrategy" "libZSservicesZSamazonka-sagemakerZSamazonka-sagemaker" 'False) (C1 ('MetaCons "RetryStrategy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maximumRetryAttempts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural)))

newRetryStrategy Source #

Create a value of RetryStrategy 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:maximumRetryAttempts:RetryStrategy', retryStrategy_maximumRetryAttempts - The number of times to retry the job. When the job is retried, it's SecondaryStatus is changed to STARTING.

retryStrategy_maximumRetryAttempts :: Lens' RetryStrategy Natural Source #

The number of times to retry the job. When the job is retried, it's SecondaryStatus is changed to STARTING.