Class: Aws::SageMaker::Types::RetryStrategy

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb

Overview

Note:

When making an API call, you may pass RetryStrategy data as a hash:

{
  maximum_retry_attempts: 1, # required
}

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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#maximum_retry_attemptsInteger

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

Returns:

  • (Integer)


34159
34160
34161
34162
34163
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 34159

class RetryStrategy < Struct.new(
  :maximum_retry_attempts)
  SENSITIVE = []
  include Aws::Structure
end