The question I was trying to ask by email was about whether the following flow for
Mandrill is possible in a Python CDK. I have played around a bit, but this flow seems to be outside of what’s possible, please let me know if that is the case:
1. POST
https://mandrillapp.com/api/1.0/exports/activity
a. Input - date_from, date_to
b. Output - export id
2. POST
https://mandrillapp.com/api/1.0/exports/info
a. Input - export id from exports/activity response
b. Output - state (in progress | complete), result (null | s3 url)
c. Will need to be queried until state = complete and an s3 url is provided
3. GET s3 url
a. Downloads a zip file from an s3 location provided from exports/info response
4. Unzip s3 download
a. Containing csv files, each with a maximum of 1000 lines
b. Csv files will contain data exported between the date_from and date_to inputs from the exports/activity query