class
Amazonite::DynamoDB::CancellationReason
- Amazonite::DynamoDB::CancellationReason
- Reference
- Object
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.
Included Modules
- JSON::Serializable
Defined in:
dynamodb/cancellation_reason.crConstructors
- .new(pull : JSON::PullParser)
- .new(item : Hash(String, AttributeValue) | Nil = nil, code : String | Nil = nil, message : String | Nil = nil)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#code : String | Nil
Status code for the result of the cancelled transaction.
-
#code=(code : String | Nil)
Status code for the result of the cancelled transaction.
-
#hash(hasher)
See
Object#hash(hasher) -
#item : Hash(String, AttributeValue) | Nil
Item in the request which caused the transaction to get cancelled.
-
#item=(item : Hash(String, AttributeValue) | Nil)
Item in the request which caused the transaction to get cancelled.
-
#message : String | Nil
Cancellation reason message description.
-
#message=(message : String | Nil)
Cancellation reason message description.
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
Item in the request which caused the transaction to get cancelled.
Item in the request which caused the transaction to get cancelled.