SageMakerJobStepRetryPolicy | R Documentation |
RetryPolicy for exception thrown by SageMaker Job.
sagemaker.workflow::Entity
-> sagemaker.workflow::RetryPolicy
-> SageMakerJobStepRetryPolicy
exception_type_list
Contains exception_types or failure_reason_types
new()
Initialize SageMakerJobStepRetryPolicy
SageMakerJobStepRetryPolicy$new( exception_types = NULL, failure_reason_types = NULL, backoff_rate = 2, interval_seconds = 1, max_attempts = NULL, expire_after_mins = NULL )
exception_types
(List[SageMakerJobExceptionTypeEnum]): The SageMaker exception to match for this policy. The SageMaker exceptions captured here are the exceptions thrown by synchronously creating the job. For instance the resource limit exception.
failure_reason_types
(List[SageMakerJobExceptionTypeEnum]): the SageMaker failure reason types to match for this policy. The failure reason type is presented in FailureReason field of the Describe response, it indicates the runtime failure reason for a job.
backoff_rate
(float): The multiplier by which the retry interval increases during each attempt (default: 2.0)
interval_seconds
(int): An integer that represents the number of seconds before the first retry attempt (default: 1)
max_attempts
(int): A positive integer that represents the maximum number of retry attempts. (default: None)
expire_after_mins
(int): A positive integer that represents the maximum minute to expire any further retry attempt (default: None)
to_request()
Gets the request structure for retry policy
SageMakerJobStepRetryPolicy$to_request()
clone()
The objects of this class are cloneable with this method.
SageMakerJobStepRetryPolicy$clone(deep = FALSE)
deep
Whether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.