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

    Returns

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

    Parameters

    • tableName: string

      The name of the table to write the item in

    • item: Record<string, any>

      An object with the item's attributes

    • Optional options: Partial<FacadePut>

      The same parameters accepted by the original TransactWriteCommand put items

    Returns Pick<TransactWriteItem, "Put">

Generated using TypeDoc