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 Risposte
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
con risposta un mese fa
profile picture
ESPERTO
verificato un mese fa
  • 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.

con risposta un mese fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande