EmrNotebookExecutionSensor

Amazon

Polls the state of the EMR notebook execution until it reaches any of the target states. If a failure state is reached, the sensor throws an error, and fails the task.

View on GitHub

Last Updated: Jan. 19, 2023

Access Instructions

Install the Amazon provider package into your Airflow environment.

Import the module into your DAG file and instantiate it with your desired params.

Parameters

notebook_execution_idUnique id of the notebook execution to be poked.

Documentation

Polls the state of the EMR notebook execution until it reaches any of the target states. If a failure state is reached, the sensor throws an error, and fails the task.

See also

For more information on how to use this sensor, take a look at the guide: Wait on an EMR notebook execution state

Was this page helpful?