Skip to content

RequestValidator

Source code in docs_src/capo_api_gateway/types/request_validator.py
class RequestValidator(TypedDict, closed=True):
    id: NotRequired["capo_api_gateway.types.string.String"]
    """<p>The identifier of this RequestValidator.</p>"""
    name: NotRequired["capo_api_gateway.types.string.String"]
    """<p>The name of this RequestValidator</p>"""
    validate_request_body: "capo_api_gateway.types.boolean.Boolean"
    """<p>A Boolean flag to indicate whether to validate a request body according to the configured Model schema.</p>"""
    validate_request_parameters: "capo_api_gateway.types.boolean.Boolean"
    """<p>A Boolean flag to indicate whether to validate request parameters (<code>true</code>) or not (<code>false</code>).</p>"""

id instance-attribute

id: NotRequired[String]

The identifier of this RequestValidator.

name instance-attribute

name: NotRequired[String]

The name of this RequestValidator

validate_request_body instance-attribute

validate_request_body: Boolean

A Boolean flag to indicate whether to validate a request body according to the configured Model schema.

validate_request_parameters instance-attribute

validate_request_parameters: Boolean

A Boolean flag to indicate whether to validate request parameters (true) or not (false).