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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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)


924
925
926
927
928
929
930
# File 'lib/aws-sdk-dynamodb/types.rb', line 924

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:



924
925
926
927
928
929
930
# File 'lib/aws-sdk-dynamodb/types.rb', line 924

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

#messageString

The error message associated with the PartiQL batch response.

Returns:

  • (String)


924
925
926
927
928
929
930
# File 'lib/aws-sdk-dynamodb/types.rb', line 924

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