New feature: Amazon Bedrock Data Automation now supports synchronous invocation.

Amazon Bedrock Data Automation API Updates
The Amazon Bedrock Data Automation (BDA) feature now provides a streamlined API workflow for processing your data across various modalities. This workflow includes creating a project, invoking the analysis, and retrieving the results. To get custom output, provide the Blueprint ARN when invoking the analysis operation.
Create a Data Automation Project
To start processing files with BDA, create a Data Automation Project using the CreateDataAutomationProject operation or the Amazon Bedrock Console. When using the API, define your configuration settings for the file type you intend to process. Here's an example configuration for images:
{
"standardOutputConfiguration": {
"image": {
"state": "ENABLED",
"extraction": {
"category": {
"state": "ENABLED",
"types": [
"CONTENT_MODERATION",
"TEXT_DETECTION"
]
},
"boundingBox": {
"state": "ENABLED"
}
},
"generativeField": {
"state": "ENABLED",
"types": [
"IMAGE_SUMMARY",
"IAB"
]
}
}
}
}
The API validates the input configuration and creates a new project with a unique ARN. Default settings apply if no parameters are provided.
- Limit: Number of projects per AWS account
- Note: Certain combinations of settings may not be allowed or may require additional permissions
Invoke Data Automation Async
Use the InvokeDataAutomationAsync operation to start processing files in a specified S3 bucket. This API initiates asynchronous processing and returns a job ID for tracking. Errors occur if the project doesn't exist, the caller lacks necessary permissions, or the input files aren't in a supported format.
Invoke Data Automation (Sync)
Alternatively, use the InvokeDataAutomation operation for synchronous processing of images. This API returns structured insights in the response. Errors occur if the project doesn't exist, the caller lacks necessary permissions, or the input files aren't in a supported format. If the analyzed image is semantically classified as a document, an error will be raised.
Get Data Automation Status
Use the GetDataAutomationStatus API to monitor the progress of your job and retrieve results once processing is complete. The API accepts the invocation ARN returned by InvokeDataAutomationAsync. It checks the current status of the job and returns relevant information. Once the job is complete, it provides the location of the results in S3.
Source: AWS release notes
If you need further guidance on AWS, our experts are available at AWS@westloop.io. You may also reach us by submitting the Contact Us form.



