Export training data to Amazon S3 when called
Recipe ToolsData ParserMarketingUtilitiesDeveloper Tool
What it does
When someone calls this automation, it downloads source data from Amazon S3 and validates it against a schema. If validation passes, clean data uploads to a destination bucket; if it fails, an error response returns instead.
Who it's for
Data and analytics teams who need to prepare training datasets in Amazon S3 without manual file handling.
How teams use this
Prepare datasets for model training
Download raw data from a source bucket, validate it matches the training schema, and stage it in a destination bucket ready for machine learning pipelines. The team avoids manual file transfers and schema mismatches.
Integrate with data pipeline workflows
Call this automation from upstream data pipeline processes so validated training data flows directly into Amazon S3 without intermediate steps. Only the calling workflow changes, not this automation.
Add data quality checks before upload
Extend the validation step to include additional schema rules, row counts, or data type checks before the file reaches the destination bucket. Set stricter conditions on what passes validation.
How it works
- Receive the call to stage data. This automation starts when someone calls it with source and destination bucket references for the training dataset.
- Download source data from Amazon S3. Retrieve the file contents from the source bucket location so the data can be validated before upload to the destination.
- Validate data against schema. Call the CSV Data Validator to check the downloaded file for errors and compliance with the expected format and structure.
- Upload clean data to destination bucket. If validation passes, parse the destination reference and upload the file contents to the destination bucket in Amazon S3.
- Return the result. Send back a success response if data was staged, or an error response if validation failed at any step in the flow.