AutoMLJobStatus event EventBridge

0

I am creating an auto ML Job using API and I would like to trigger a lambda when this job is complete using Event Bridge. I am logging all the aws.sagemaker events and I don't seem to find a specific event for when the auto ML job is completed like how I get when I use the describe auto ml job endpoint where I get status like so "AutoMLJobStatus": "Completed", "AutoMLJobSecondaryStatus": "Completed"

2 回答
0

One way is to use S3 trigger when AutoML job saves artifacts to a specified S3 bucket at job completion: https://docs.aws.amazon.com/AmazonS3/latest/userguide/EventBridge.html

There is also a processing job state change in SageMaker that you can connect with EventBridge as well: https://docs.aws.amazon.com/sagemaker/latest/dg/automating-sagemaker-with-eventbridge.html#processing-job-state

AWS
已回答 1 个月前
profile picture
专家
已审核 1 个月前
  • I am exploring a solution by processing all the event bridge events from source aws.sagemaker, this lambda requests the API to describe the auto ML job to understand if "AutoMLJobStatus": "Completed" , but the last event I receive I still do not have the completed status. I tried with only processing job state and I still can't get the final event when the auto ml is completed. I wish I had a specific event for autopilot since we have that status on describe request api.

0

The solution for me was to trigger the lambda for all event sourced from sagemaker, and describe the auto ml job to check if it is completed. I had to add a sleep of 10 seconds when I receive the last event otherwise the auto ml job is not yet on a completed state. Hope AWS can create this event in the future.

已回答 1 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则

相关内容