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 get a single item from 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 AttributesToGet are not supported. Use ProjectionExpression instead.

Inheritance Hierarchy

System.Object
  Amazon.DynamoDBv2.DocumentModel.DocumentOperationRequest
    Amazon.DynamoDBv2.DocumentModel.BaseGetItemDocumentOperationRequest
      Amazon.DynamoDBv2.DocumentModel.GetItemDocumentOperationRequest

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

Syntax

C#
public class GetItemDocumentOperationRequest : BaseGetItemDocumentOperationRequest

The GetItemDocumentOperationRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property ConsistentRead System.Boolean Inherited from Amazon.DynamoDBv2.DocumentModel.BaseGetItemDocumentOperationRequest.
Public Property Key System.Collections.Generic.IDictionary<System.String, Amazon.DynamoDBv2.DocumentModel.DynamoDBEntry>

Gets or sets the key identifying the item in the table. All key components (partition and sort key, if the table has one) must be provided.

Public Property ProjectionExpression Amazon.DynamoDBv2.DocumentModel.Expression Inherited from Amazon.DynamoDBv2.DocumentModel.BaseGetItemDocumentOperationRequest.

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