Skip to content

RetryPolicy

Source code in docs_src/capo_emr_serverless/types/retry_policy.py
class RetryPolicy(TypedDict, closed=True):
    max_attempts: NotRequired["capo_emr_serverless.types.attempt_number.AttemptNumber"]
    """<p>Maximum number of attempts for the job run. This parameter is only applicable for <code>BATCH</code> mode.</p>"""
    max_failed_attempts_per_hour: NotRequired["int"]
    """<p>Maximum number of failed attempts per hour. This [arameter is only applicable for <code>STREAMING</code> mode.</p>"""

max_attempts instance-attribute

max_attempts: NotRequired[AttemptNumber]

Maximum number of attempts for the job run. This parameter is only applicable for BATCH mode.

max_failed_attempts_per_hour instance-attribute

max_failed_attempts_per_hour: NotRequired[int]

Maximum number of failed attempts per hour. This [arameter is only applicable for STREAMING mode.