LimitEntry
A single rule entry within a rate limit that maps dimension values to rate configurations. Each entry defines the rate limits for a specific combination of dimension values.
Contents
- 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.Type: String to string map
Map Entries: Maximum number of 10 items.
Key Length Constraints: Minimum length of 1. Maximum length of 80.
Key Pattern:
(targetName|toolName|qualifiedModelId|\$\.context\.iam\.principal|\$\.context\.iam\.sourceIdentity|\$\.context\.jwt\.[a-zA-Z_][a-zA-Z0-9_\-\.]{0,61}[a-zA-Z0-9_])Value Length Constraints: Minimum length of 1. Maximum length of 256.
Required: Yes
- connections
-
The connection rate limit configuration. Specifies the maximum number of concurrent connections allowed.
Type: Array of RateConfig objects
Array Members: Fixed number of 1 item.
Required: No
- requests
-
The request rate limit configuration. Specifies the maximum number of requests allowed per time period.
Type: Array of RateConfig objects
Array Members: Fixed number of 1 item.
Required: No
- tokens
-
The token rate limit configuration. Specifies the maximum number of tokens allowed per time period.
Type: Array of RateConfig objects
Array Members: Fixed number of 1 item.
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: