Skip to content

ThrottlingReason

Source code in docs_src/capo_polly/types/throttling_reason.py
class ThrottlingReason(TypedDict, closed=True):
    reason: NotRequired[
        "capo_polly.types.coral_availability_throttling_reason.CoralAvailabilityThrottlingReason"
    ]
    """<p>The reason code explaining why the request was throttled.</p>"""
    resource: NotRequired[
        "capo_polly.types.coral_availability_throttled_resource.CoralAvailabilityThrottledResource"
    ]
    """<p>The resource that caused the throttling.</p>"""

reason instance-attribute

reason: NotRequired[CoralAvailabilityThrottlingReason]

The reason code explaining why the request was throttled.

resource instance-attribute

resource: NotRequired[CoralAvailabilityThrottledResource]

The resource that caused the throttling.