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ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ