Class: Aws::DynamoDB::Types::WriteRequest

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

Overview

Represents an operation to perform - either DeleteItem or PutItem. You can only request one of these operations, not both, in a single WriteRequest. If you do need to perform both of these operations, you need to provide two separate WriteRequest objects.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#delete_requestTypes::DeleteRequest

A request to perform a DeleteItem operation.



10542
10543
10544
10545
10546
10547
# File 'gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/types.rb', line 10542

class WriteRequest < Struct.new(
  :put_request,
  :delete_request)
  SENSITIVE = []
  include Aws::Structure
end

#put_requestTypes::PutRequest

A request to perform a PutItem operation.

Returns:



10542
10543
10544
10545
10546
10547
# File 'gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/types.rb', line 10542

class WriteRequest < Struct.new(
  :put_request,
  :delete_request)
  SENSITIVE = []
  include Aws::Structure
end