Skip to content

ValidationFailure

Source code in docs_src/capo_opensearch/types/validation_failure.py
class ValidationFailure(TypedDict, closed=True):
    code: NotRequired["capo_opensearch.types.string.String"]
    """<p>The error code of the failure.</p>"""
    message: NotRequired["capo_opensearch.types.string.String"]
    """<p>A message corresponding to the failure.</p>"""
    severity: NotRequired[
        "capo_opensearch.types.validation_failure_severity.ValidationFailureSeverity"
    ]
    """<p>The severity of the validation failure.</p>"""

code instance-attribute

code: NotRequired[String]

The error code of the failure.

message instance-attribute

message: NotRequired[String]

A message corresponding to the failure.

severity instance-attribute

severity: NotRequired[ValidationFailureSeverity]

The severity of the validation failure.