AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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)


31776
31777
31778
31779
31780
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 31776

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