Class: Aws::DynamoDB::Types::BatchStatementError

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/types.rb

Overview

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#codeString

The error code associated with the failed PartiQL batch statement.

Returns:

  • (String)


929
930
931
932
933
934
935
# File 'gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/types.rb', line 929

class BatchStatementError < Struct.new(
  :code,
  :message,
  :item)
  SENSITIVE = []
  include Aws::Structure
end

#itemHash<String,Types::AttributeValue>

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

Returns:



929
930
931
932
933
934
935
# File 'gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/types.rb', line 929

class BatchStatementError < Struct.new(
  :code,
  :message,
  :item)
  SENSITIVE = []
  include Aws::Structure
end

#messageString

The error message associated with the PartiQL batch response.

Returns:

  • (String)


929
930
931
932
933
934
935
# File 'gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/types.rb', line 929

class BatchStatementError < Struct.new(
  :code,
  :message,
  :item)
  SENSITIVE = []
  include Aws::Structure
end