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

    Returns

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

    Parameters

    • tableName: string

      The name of the table that should contain the item

    • key: Key

      The primary key of the item to be checked

    • condition: AttributeMap

      An object describing the comparisons to generate ConditionExpression, ExpressionAttributeNames, and ExpressionAttributeValues

    • Optional options: Partial<ConditionCheck>

      The same parameters accepted by the original Document.transactWrite condition check items

    Returns { ConditionCheck: ConditionCheck }

    • ConditionCheck: ConditionCheck

Generated using TypeDoc