update_request_validator¶
Operation¶
update_request_validator
async
¶
update_request_validator(input: UpdateRequestValidatorInput, plugins: list[Plugin] | None = None) -> UpdateRequestValidatorOutput
Updates a RequestValidator of a given RestApi.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
UpdateRequestValidatorInput
|
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 |
|---|---|
UpdateRequestValidatorOutput
|
An instance of |
Input¶
UpdateRequestValidatorInput
dataclass
¶
Updates a RequestValidator of a given RestApi.
Attributes¶
patch_operations
class-attribute
instance-attribute
¶
patch_operations: list[PatchOperation] | None = None
For more information about supported patch operations, see Patch Operations.
Output¶
UpdateRequestValidatorOutput
dataclass
¶
A set of validation rules for incoming Method requests.
Attributes¶
id
class-attribute
instance-attribute
¶
id: str | None = None
The identifier of this RequestValidator.