Skip to content

DynamoDB  >  Structures  >  BatchStatementError

BatchStatementError

Structure Class

BatchStatementError dataclass

An error associated with a statement in a PartiQL batch that was run.

Attributes

code class-attribute instance-attribute
code: BatchStatementErrorCodeEnum | None = None

The error code associated with the failed PartiQL batch statement.

item class-attribute instance-attribute
item: dict[str, AttributeValue] | None = None

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

message class-attribute instance-attribute
message: str | None = None

The error message associated with the PartiQL batch response.