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.

Puts a document into DynamoDB, using optional configs.

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

Syntax

C#
public abstract Boolean TryPutItem(
         PutItemDocumentOperationRequest request
)

Parameters

request
Type: Amazon.DynamoDBv2.DocumentModel.PutItemDocumentOperationRequest

The PutItemDocumentOperationRequest object containing all parameters for the PutItem operation.

Return Value


Type: Boolean
True if put is successful or false if the condition was not met.

Version Information

.NET Framework:
Supported in: 4.7.2 and newer