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.
Namespace: Amazon.DynamoDBv2.DocumentModel
Assembly: AWSSDK.DynamoDBv2.dll
Version: 3.x.y.z
public class GetItemDocumentOperationRequest : DocumentOperationRequest
The GetItemDocumentOperationRequest type exposes the following members
| Name | Description | |
|---|---|---|
|
GetItemDocumentOperationRequest() |
| Name | Type | Description | |
|---|---|---|---|
|
ConsistentRead | System.Boolean |
Gets or sets the consistent read flag. Strongly consistent reads are only valid for tables and local secondary indexes. |
|
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. |
|
ProjectionExpression | Amazon.DynamoDBv2.DocumentModel.Expression |
Gets or sets the projection expression specifying which attributes should be retrieved. If null, all attributes are returned. |
.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