
auths objectreturn or this.key = 'value', pass input data to your code viaparams, and maintain state across executions with$checkpoint.async (event, steps) => {}const axios = require('axios')
data = []
// push the response data into the array on each loop
for (let i=1; i < 5; i++) {
let response = await axios.get(`https://swapi.dev/api/people/${i}`)
data.push(response.data)
}
return dataauths objectreturn or this.key = 'value', pass input data to your code viaparams, and maintain state across executions with$checkpoint.async (event, steps) => {}// refer to the return value for a previous step export
// using `steps.STEP_NAME.$return_value. E.g.,
console.log(steps.example.$return_value)