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

    Returns

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

    Parameters

    • tableName: string

      The name of the table where the item resides

    • key: Record<string, any>

      The primary key of the item to be updated

    • updatedValues: Record<string, any>

      A map of attribute name/value pairs with the attributes that must be modified

    • Optional options: Partial<FacadeUpdate>

      The same parameters accepted by the original TransactWriteCommand update items

    Returns Pick<TransactWriteItem, "Update">

Generated using TypeDoc