update_gateway_rate_limit¶
Operation¶
update_gateway_rate_limit
async
¶
update_gateway_rate_limit(input: UpdateGatewayRateLimitInput, plugins: list[Plugin] | None = None) -> UpdateGatewayRateLimitOutput
Updates the entries of a gateway rate limit. The dimension keys are immutable after creation.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
UpdateGatewayRateLimitInput
|
An instance of |
required |
plugins
|
list[Plugin] | None
|
A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations. |
None
|
Returns:
| Type | Description |
|---|---|
UpdateGatewayRateLimitOutput
|
An instance of |
Input¶
UpdateGatewayRateLimitInput
dataclass
¶
Dataclass for UpdateGatewayRateLimitInput structure.
Attributes¶
description
class-attribute
instance-attribute
¶
description: str | None = None
The updated human-readable description for this rate limit.
entries
class-attribute
instance-attribute
¶
entries: list[LimitEntry] | None = None
The updated rule entries. The dimension keys are immutable after creation and cannot be changed.
Output¶
UpdateGatewayRateLimitOutput
dataclass
¶
Shared fields for GatewayRateLimit responses.
Attributes¶
description
class-attribute
instance-attribute
¶
description: str | None = None
The human-readable description of the rate limit.
dimension_keys
instance-attribute
¶
The ordered list of dimension key names that define the scope of this rate limit.
entries
instance-attribute
¶
entries: list[LimitEntry]
The list of rule entries that map dimension values to rate configurations.