Skip to content

Api Gateway  >  Operations  >  delete_request_validator

delete_request_validator

Operation

delete_request_validator async

delete_request_validator(input: DeleteRequestValidatorInput, plugins: list[Plugin] | None = None) -> DeleteRequestValidatorOutput

Deletes a RequestValidator of a given RestApi.

Parameters:

Name Type Description Default
input DeleteRequestValidatorInput

An instance of DeleteRequestValidatorInput.

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
DeleteRequestValidatorOutput

An instance of DeleteRequestValidatorOutput.

Input

DeleteRequestValidatorInput dataclass

Deletes a specified RequestValidator of a given RestApi.

Attributes

request_validator_id class-attribute instance-attribute
request_validator_id: str | None = None

The identifier of the RequestValidator to be deleted.

rest_api_id class-attribute instance-attribute
rest_api_id: str | None = None

The string identifier of the associated RestApi.

Output

DeleteRequestValidatorOutput dataclass

Dataclass for DeleteRequestValidatorOutput structure.