• Creates a new item, or replaces an old item with a new item by delegating to PutCommand.

    Returns

    The same response returned by send()ing this command

    Parameters

    • tableName: string

      The name of the table to contain the item

    • item: Record<string, any>

      A map of attribute name/value pairs, one for each attribute

    • Optional options: Partial<FacadePutItemInput>

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

    Returns Promise<PutCommandOutput>

Generated using TypeDoc