Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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.
RetryStrategy' | |
|
Instances
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
.