Skip to content

DynamoDB  >  Structures  >  CancellationReason

CancellationReason

Structure Class

CancellationReason dataclass

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 = None

Status code for the result of the cancelled transaction.

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

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

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

Cancellation reason message description.