Skip to content

CancellationReason

Structure Class

CancellationReason dataclass

Bases: _SerdeShape

An ordered list of errors for each item in the request which caused the transaction to get cancelled. The values of the list are ordered according to the ordering of the TransactWriteItems request parameter. If no error occurred for the associated item an error with a Null code and Null message will be present.

Attributes

code class-attribute instance-attribute
code: str | None = ...

Status code for the result of the cancelled transaction.

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

Item in the request which caused the transaction to get cancelled.

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

Cancellation reason message description.