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.



10652
10653
10654
10655
10656
10657
# File 'lib/aws-sdk-dynamodb/types.rb', line 10652

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

#put_requestTypes::PutRequest

A request to perform a ‘PutItem` operation.

Returns:



10652
10653
10654
10655
10656
10657
# File 'lib/aws-sdk-dynamodb/types.rb', line 10652

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