This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from lib import appsync | |
def lambda_handler(event, context): | |
print(event) | |
input = { | |
'name': 'test123', | |
'description': 'some cool description' | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const Promise = require("bluebird"); | |
const sequentialPromise = require("./sequentialPromise.js"); | |
/** | |
* @param {!string | !Array.<!string>} txHash, a transaction hash or an array of transaction hashes. | |
* @param {Number} interval, in seconds. | |
* @returns {!Promise.<!object> | !Promise.<!Array.<!object>>} the receipt or an array of receipts. | |
*/ | |
module.exports = function getTransactionReceiptMined(txHash, interval) { | |
const self = this; |