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

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



10724
10725
10726
10727
10728
10729
# File 'lib/aws-sdk-dynamodb/types.rb', line 10724

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

#put_requestTypes::PutRequest

A request to perform a ‘PutItem` operation.

Returns:



10724
10725
10726
10727
10728
10729
# File 'lib/aws-sdk-dynamodb/types.rb', line 10724

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