Skip to content

ServiceJobRetryStrategy

Source code in docs_src/capo_batch/types/service_job_retry_strategy.py
class ServiceJobRetryStrategy(TypedDict, closed=True):
    attempts: NotRequired["capo_batch.types.integer.Integer"]
    """<p>The number of times to move a service job to <code>RUNNABLE</code> status. You can specify between 1 and 10 attempts.</p>"""
    evaluate_on_exit: NotRequired[
        "capo_batch.types.service_job_evaluate_on_exit_list.ServiceJobEvaluateOnExitList"
    ]
    """<p>Array of <code>ServiceJobEvaluateOnExit</code> objects that specify conditions under which the service job should be retried or failed.</p>"""

attempts instance-attribute

attempts: NotRequired[Integer]

The number of times to move a service job to RUNNABLE status. You can specify between 1 and 10 attempts.

evaluate_on_exit instance-attribute

evaluate_on_exit: NotRequired[ServiceJobEvaluateOnExitList]

Array of ServiceJobEvaluateOnExit objects that specify conditions under which the service job should be retried or failed.