class Aws::SageMaker::Types::RetryStrategy

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.

@note When making an API call, you may pass RetryStrategy

data as a hash:

    {
      maximum_retry_attempts: 1, # required
    }

@!attribute [rw] maximum_retry_attempts

The number of times to retry the job. When the job is retried, it's
`SecondaryStatus` is changed to `STARTING`.
@return [Integer]

@see docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/RetryStrategy AWS API Documentation

Constants

SENSITIVE