Create a lambda to be the new entry point to the step-functions state machine, this lambda should receive the channel parameters for video fetching, and should return an array of urls to be fetched.
Remove the current video url fetching logic from the download function, making it more generic, so that it is just a download function, and doesn't decide what to download.
Create a lambda to be the new entry point to the step-functions state machine, this lambda should receive the channel parameters for video fetching, and should return an array of urls to be fetched.
Remove the current video url fetching logic from the download function, making it more generic, so that it is just a download function, and doesn't decide what to download.