You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::DynamoDB::Types::CancellationReason

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

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.

Instance Attribute Summary collapse

Instance Attribute Details

#codeString

Status code for the result of the cancelled transaction.

Returns:

  • (String)

    Status code for the result of the cancelled transaction.

#itemHash<String,Types::AttributeValue>

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

Returns:

  • (Hash<String,Types::AttributeValue>)

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

#messageString

Cancellation reason message description.

Returns:

  • (String)

    Cancellation reason message description.