EntityKeyInput
type EntityKeyInput<Item> = | { key: Partial<Item>;} | { index: { [index: string]: Partial<Item>; };};Input type for building either a DynamoDB primary key or secondary index key.
This is used in cases where the user may want to specify either a full primary key or a secondary index key to identify an item.
Type Parameters
Section titled “Type Parameters”Item