Class: Aws::DynamoDB::Types::WriteRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::DynamoDB::Types::WriteRequest
- 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
-
#delete_request ⇒ Types::DeleteRequest
A request to perform a ‘DeleteItem` operation.
-
#put_request ⇒ Types::PutRequest
A request to perform a ‘PutItem` operation.
Instance Attribute Details
#delete_request ⇒ Types::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_request ⇒ Types::PutRequest
A request to perform a ‘PutItem` 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 |