Export Revision To S3
A 4-step recipe with Amazon Data Exchange. We can help you get access.
Recipe · 4 steps
Export Revision To S3
with Amazon Data Exchange
Export a revision's assets to S3 and wait for the job to finish.
- Create an EXPORT_REVISIONS_TO_S3 job that writes the revision's assets to the destination bucket.
- Start the export job, transitioning it out of the WAITING state.
- Poll the export job until terminal. Loops while WAITING or IN_PROGRESS, branches to success on COMPLETED and to failure on ERROR or TIMED_OUT.
- Re-read the failed job to capture its error details for reporting.
What you'll need to have ready
- dataSetId: The ID of the data set whose revision is exported.
- revisionId: The ID of the revision to export.
- bucket: The destination S3 bucket for the exported assets.
- keyPattern: The key pattern for naming exported objects.
For your developer
Arazzo workflow amazon-data-exchange:export-revision-to-s3, 4 operations: CreateJob → StartJob → GetJob → GetJob. Specs on APIs.io.