airflow.contrib.sensors.sagemaker_transform_sensor
¶
Module Contents¶
-
class
airflow.contrib.sensors.sagemaker_transform_sensor.
SageMakerTransformSensor
(job_name, *args, **kwargs)[source]¶ Bases:
airflow.contrib.sensors.sagemaker_base_sensor.SageMakerBaseSensor
Asks for the state of the transform state until it reaches a terminal state. The sensor will error if the job errors, throwing a AirflowException containing the failure reason.
- Parameters
job_name (str) – job_name of the transform job instance to check the state of