class Amazonite::DynamoDB::BatchStatementError

Overview

An error associated with a statement in a PartiQL batch that was run.

Included Modules

Defined in:

dynamodb/batch_statement_error.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(code : BatchStatementErrorCodeEnum | Nil = nil, message : String | Nil = nil, item : Hash(String, AttributeValue) | Nil = nil) #

[View source]
def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def code : BatchStatementErrorCodeEnum | Nil #

The error code associated with the failed PartiQL batch statement.


[View source]
def code=(code : BatchStatementErrorCodeEnum | Nil) #

The error code associated with the failed PartiQL batch statement.


[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def item : Hash(String, AttributeValue) | Nil #

The item which caused the condition check to fail. This will be set if ReturnValuesOnConditionCheckFailure is specified as ALL_OLD.


[View source]
def item=(item : Hash(String, AttributeValue) | Nil) #

The item which caused the condition check to fail. This will be set if ReturnValuesOnConditionCheckFailure is specified as ALL_OLD.


[View source]
def message : String | Nil #

The error message associated with the PartiQL batch response.


[View source]
def message=(message : String | Nil) #

The error message associated with the PartiQL batch response.


[View source]
def validate! : Nil #

[View source]