• Create a map for the Delete operation to use transactWrite.

    Returns

    A map in the format { Delete: { ... } }

    Parameters

    • tableName: string

      The name of the table where the item resides

    • key: Record<string, any>

      The primary key of the item to be deleted

    • Optional options: Partial<FacadeDelete>

      The same parameters accepted by the original TransactWriteCommand delete items

    Returns Pick<TransactWriteItem, "Delete">

Generated using TypeDoc