• Deletes a single item in a table by primary key by delegating to DeleteCommand.

    Returns

    The same response returned by send()ing this command

    Parameters

    • tableName: string

      The name of the table from which to delete the item

    • key: Record<string, any>

      A map of attribute names to values, representing the primary key of the item to delete

    • Optional options: Partial<FacadeDeleteItemInput>

      The options accepted by the original DeleteCommand class, plus an optional condition field that generates ConditionExpression

    Returns Promise<DeleteCommandOutput>

Generated using TypeDoc