Skip to content

RateConfig

Source code in docs_src/capo_bedrock_agentcore_control/types/rate_config.py
class RateConfig(TypedDict, closed=True):
    rate: "float"
    """<p>The rate value for the limit. For request limits, this is the number of requests allowed per period. For token limits, this is the number of tokens allowed per period. For connection limits, this is the number of concurrent connections allowed.</p>"""
    period: "capo_bedrock_agentcore_control.types.period.Period"
    """<p>The time period for the rate limit. Valid values:</p> <ul> <li> <p> <code>second</code>—Measures the rate limit over a one-second window.</p> </li> <li> <p> <code>minute</code>—Measures the rate limit over a one-minute window.</p> </li> </ul>"""

period instance-attribute

period: Period

The time period for the rate limit. Valid values:

  • second—Measures the rate limit over a one-second window.

  • minute—Measures the rate limit over a one-minute window.

rate instance-attribute

rate: float

The rate value for the limit. For request limits, this is the number of requests allowed per period. For token limits, this is the number of tokens allowed per period. For connection limits, this is the number of concurrent connections allowed.