Struct aws_sdk_sagemaker::model::RetryStrategy [−][src]
#[non_exhaustive]pub struct RetryStrategy {
pub maximum_retry_attempts: i32,
}
Expand description
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.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.maximum_retry_attempts: i32
The number of times to retry the job. When the job is retried, it's
SecondaryStatus
is changed to STARTING
.
Implementations
The number of times to retry the job. When the job is retried, it's
SecondaryStatus
is changed to STARTING
.
Creates a new builder-style object to manufacture RetryStrategy
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for RetryStrategy
impl Send for RetryStrategy
impl Sync for RetryStrategy
impl Unpin for RetryStrategy
impl UnwindSafe for RetryStrategy
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more