Skip to content

BatchStatementError

Source code in docs_src/capo_dynamodb/types/batch_statement_error.py
class BatchStatementError(TypedDict, closed=True):
    code: NotRequired[
        "capo_dynamodb.types.batch_statement_error_code_enum.BatchStatementErrorCodeEnum"
    ]
    """<p> The error code associated with the failed PartiQL batch statement. </p>"""
    message: NotRequired["capo_dynamodb.types.string.String"]
    """<p> The error message associated with the PartiQL batch response. </p>"""
    item: NotRequired["capo_dynamodb.types.attribute_map.AttributeMap"]
    """<p>The item which caused the condition check to fail. This will be set if ReturnValuesOnConditionCheckFailure is specified as <code>ALL_OLD</code>.</p>"""

code instance-attribute

code: NotRequired[BatchStatementErrorCodeEnum]

The error code associated with the failed PartiQL batch statement.

item instance-attribute

item: NotRequired[AttributeMap]

The item which caused the condition check to fail. This will be set if ReturnValuesOnConditionCheckFailure is specified as ALL_OLD.

message instance-attribute

message: NotRequired[String]

The error message associated with the PartiQL batch response.