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.



10534
10535
10536
10537
10538
10539
# File 'gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/types.rb', line 10534

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

#put_requestTypes::PutRequest

A request to perform a PutItem operation.

Returns:



10534
10535
10536
10537
10538
10539
# File 'gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/types.rb', line 10534

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