• Deletes a single item in a table by primary key by delegating to DocumentClient.delete.

    Returns

    The same response returned by delete().promise()

    Parameters

    • tableName: string

      The name of the table from which to delete the item

    • key: Key

      A map of attribute names to values, representing the primary key of the item to delete

    • Optional options: Partial<FacadeUpdateItemInput>

      The options accepted by the original delete method, plus an optional condition field that generates ConditionExpression

    Returns Promise<PromiseResult<DeleteItemOutput, AWSError>>

Generated using TypeDoc