class
Amazonite::DynamoDB::BatchStatementError
- Amazonite::DynamoDB::BatchStatementError
- Reference
- Object
Overview
An error associated with a statement in a PartiQL batch that was run.
Included Modules
- JSON::Serializable
Defined in:
dynamodb/batch_statement_error.crConstructors
- .new(pull : JSON::PullParser)
- .new(code : BatchStatementErrorCodeEnum | Nil = nil, message : String | Nil = nil, item : Hash(String, AttributeValue) | 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 : BatchStatementErrorCodeEnum | Nil
The error code associated with the failed PartiQL batch statement.
-
#code=(code : BatchStatementErrorCodeEnum | Nil)
The error code associated with the failed PartiQL batch statement.
-
#hash(hasher)
See
Object#hash(hasher) -
#item : Hash(String, AttributeValue) | Nil
The item which caused the condition check to fail.
-
#item=(item : Hash(String, AttributeValue) | Nil)
The item which caused the condition check to fail.
-
#message : String | Nil
The error message associated with the PartiQL batch response.
-
#message=(message : String | Nil)
The error message associated with the PartiQL batch response.
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
The error code associated with the failed PartiQL batch statement.
The error code associated with the failed PartiQL batch statement.
The item which caused the condition check to fail. This will be set if
ReturnValuesOnConditionCheckFailure is specified as ALL_OLD.
The item which caused the condition check to fail. This will be set if
ReturnValuesOnConditionCheckFailure is specified as ALL_OLD.
The error message associated with the PartiQL batch response.