async
params => {
}
const buffer = Buffer.from(params.data, 'base64');
this.data = buffer.toString('utf8');
auths
objectreturn
or this.key = 'value'
, pass input data to your code viaparams
, and maintain state across executions with$checkpoint.async
(event, steps) => {
}
const parser = require('fast-xml-parser');
let valid = false
if (parser.validate(steps.base64_decode_string.data) === true) {
valid = true
}
$respond({
body: {
valid,
}
})