Skip to content

RateLimiterStatus

Source code in docs_src/capo_direct_connect/types/rate_limiter_status.py
class RateLimiterStatus(TypedDict, closed=True):
    max_allowed: "capo_direct_connect.types.count.Count"
    """<p>The maximum number of rate limiters allowed on the connection.</p>"""
    in_use: "capo_direct_connect.types.count.Count"
    """<p>The number of rate limiters currently in use on the connection.</p>"""
    remaining: "capo_direct_connect.types.count.Count"
    """<p>The number of rate limiters remaining (available) on the connection.</p>"""
    total_bandwidth: NotRequired["capo_direct_connect.types.bandwidth.Bandwidth"]
    """<p>The total bandwidth allocated across all rate limiters on the connection.</p>"""

in_use instance-attribute

in_use: Count

The number of rate limiters currently in use on the connection.

max_allowed instance-attribute

max_allowed: Count

The maximum number of rate limiters allowed on the connection.

remaining instance-attribute

remaining: Count

The number of rate limiters remaining (available) on the connection.

total_bandwidth instance-attribute

total_bandwidth: NotRequired[Bandwidth]

The total bandwidth allocated across all rate limiters on the connection.