AWS SDK Version 4 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Represents a request to put (create or replace) an item in a DynamoDB table using the Document Model. This class introduces a modern expression-based API that replaces legacy parameter-based approaches. Legacy parameters such as Expected are not supported. Use ConditionalExpression instead.

Inheritance Hierarchy

System.Object
  Amazon.DynamoDBv2.DocumentModel.DocumentOperationRequest
    Amazon.DynamoDBv2.DocumentModel.PutItemDocumentOperationRequest

Namespace: Amazon.DynamoDBv2.DocumentModel
Assembly: AWSSDK.DynamoDBv2.dll
Version: 3.x.y.z

Syntax

C#
public class PutItemDocumentOperationRequest : DocumentOperationRequest

The PutItemDocumentOperationRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property ConditionalExpression Amazon.DynamoDBv2.DocumentModel.Expression

Gets or sets the conditional expression specifying when the item should be put.

Public Property Document Amazon.DynamoDBv2.DocumentModel.Document

Gets or sets the document to be put in the table.

Public Property ReturnValues Amazon.DynamoDBv2.DocumentModel.ReturnValues

Flag specifying what values should be returned.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.7.2 and newer