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.GetItemDocumentOperationRequest

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

Syntax

C#
public class GetItemDocumentOperationRequest : DocumentOperationRequest

The GetItemDocumentOperationRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property ConsistentRead System.Boolean

Gets or sets the consistent read flag. Strongly consistent reads are only valid for tables and local secondary indexes.

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

Gets or sets the projection expression specifying which attributes should be retrieved. If null, all attributes are 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