Skip to content

LimitEntry

Source code in docs_src/capo_bedrock_agentcore_control/types/limit_entry.py
class LimitEntry(TypedDict, closed=True):
    dimensions: "capo_bedrock_agentcore_control.types.dimensions.Dimensions"
    """<p>A map of dimension names to dimension values for this rule entry. Keys must match the parent rate limit's dimension keys. Values may use <code>*</code> as a wildcard, but only in trailing positions based on the dimension keys ordering.</p>"""
    requests: NotRequired[
        "capo_bedrock_agentcore_control.types.rate_configs.RateConfigs"
    ]
    """<p>The request rate limit configuration. Specifies the maximum number of requests allowed per time period.</p>"""
    tokens: NotRequired["capo_bedrock_agentcore_control.types.rate_configs.RateConfigs"]
    """<p>The token rate limit configuration. Specifies the maximum number of tokens allowed per time period.</p>"""
    connections: NotRequired[
        "capo_bedrock_agentcore_control.types.rate_configs.RateConfigs"
    ]
    """<p>The connection rate limit configuration. Specifies the maximum number of concurrent connections allowed.</p>"""

connections instance-attribute

connections: NotRequired[RateConfigs]

The connection rate limit configuration. Specifies the maximum number of concurrent connections allowed.

dimensions instance-attribute

dimensions: Dimensions

A map of dimension names to dimension values for this rule entry. Keys must match the parent rate limit's dimension keys. Values may use * as a wildcard, but only in trailing positions based on the dimension keys ordering.

requests instance-attribute

requests: NotRequired[RateConfigs]

The request rate limit configuration. Specifies the maximum number of requests allowed per time period.

tokens instance-attribute

tokens: NotRequired[RateConfigs]

The token rate limit configuration. Specifies the maximum number of tokens allowed per time period.