Skip to content

CreateRequestValidatorRequest

Source code in docs_src/capo_api_gateway/types/create_request_validator_request.py
class CreateRequestValidatorRequest(TypedDict, closed=True):
    rest_api_id: "capo_api_gateway.types.string.String"
    """<p>The string identifier of the associated RestApi.</p>"""
    name: NotRequired["capo_api_gateway.types.string.String"]
    """<p>The name of the to-be-created RequestValidator.</p>"""
    validate_request_body: "capo_api_gateway.types.boolean.Boolean"
    """<p>A Boolean flag to indicate whether to validate request body according to the configured model schema for the method (<code>true</code>) or not (<code>false</code>).</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>"""

name instance-attribute

name: NotRequired[String]

The name of the to-be-created RequestValidator.

rest_api_id instance-attribute

rest_api_id: String

The string identifier of the associated RestApi.

validate_request_body instance-attribute

validate_request_body: Boolean

A Boolean flag to indicate whether to validate request body according to the configured model schema for the method (true) or not (false).

validate_request_parameters instance-attribute

validate_request_parameters: Boolean

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