in source/custom-resources/global-table-creator.js [89:99]
async function startStepFunction(stateMachineArn, input) {
try {
return await stepFunctions.startExecution({
stateMachineArn,
input
}).promise();
} catch (error) {
console.error('Error occurred while starting step function.');
throw error;
}
}