getItem
Spec
async getItem<TSource>(
tnmInput: TynamoGetItemInput<TSource>
): Promise<TynamoGetItemOutput<TSource>>;Input
export interface TynamoGetItemInput<TSource> {
Key: TSource;
// Derived from DynamoDB.
ConsistentRead?: ConsistentRead;
ReturnConsumedCapacity?: ReturnConsumedCapacity;
ProjectionExpression?: ProjectionExpression;
ExpressionAttributeNames?: ExpressionAttributeNameMap;
}Name
Type
Info
Key
@DynamoEntity
The key of item.
Output
Name
Type
Info
Item
@DynamoEntity
Result of getItem operation.
Example
Last updated
Was this helpful?