deleteItem
Spec
async deleteItem(
tnmInput: TynamoDeleteItemInput<TSource>
): Promise<TynamoDeleteItemOutput<TSource>>Input
export interface TynamoDeleteItemInput<TSource> {
Key: Partial<TSource>;
ExpressionAttributeValues?: any;
// Derived from DynamoDB.
ReturnValues?: ReturnValue;
ReturnConsumedCapacity?: ReturnConsumedCapacity;
ReturnItemCollectionMetrics?: ReturnItemCollectionMetrics;
ConditionExpression?: ConditionExpression;
ExpressionAttributeNames?: ExpressionAttributeNameMap;
}Name
Type
Info
Key
@DynamoEntity
The key of item.
ExpressionAttributeValues
@DynamoEntity
Value used for expression.
Output
Name
Type
Info
Attributes
@DynamoEntity
Result of deleteItem operation.
Example
Last updated
Was this helpful?