Skip to content

ValidationError

Source code in docs_src/capo_ec2/types/validation_error.py
class ValidationError(TypedDict, closed=True):
    code: NotRequired["capo_ec2.types.string.String"]
    """<p>The error code that indicates why the parameter or parameter combination is not valid. For more information about error codes, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html">Error codes</a>.</p>"""
    message: NotRequired["capo_ec2.types.string.String"]
    """<p>The error message that describes why the parameter or parameter combination is not valid. For more information about error messages, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html">Error codes</a>.</p>"""

code instance-attribute

code: NotRequired[String]

The error code that indicates why the parameter or parameter combination is not valid. For more information about error codes, see Error codes.

message instance-attribute

message: NotRequired[String]

The error message that describes why the parameter or parameter combination is not valid. For more information about error messages, see Error codes.