• Create a map to put one or more items in a call to batchWrite.

    Returns

    A map in the format { tableName: [ { PutRequest: { ... } }, ...] }

    Parameters

    • tableName: string

      The table where the items will be put

    • item: PutItemInputAttributeMap | PutItemInputAttributeMap[]

      A map of attribute names to values, or a list of maps of attributes and values

    Returns DocumentClient.BatchWriteItemRequestMap

Generated using TypeDoc