airflow.contrib.sensors.sagemaker_endpoint_sensor
¶
Module Contents¶
-
class
airflow.contrib.sensors.sagemaker_endpoint_sensor.
SageMakerEndpointSensor
(endpoint_name, *args, **kwargs)[source]¶ Bases:
airflow.contrib.sensors.sagemaker_base_sensor.SageMakerBaseSensor
Asks for the state of the endpoint state until it reaches a terminal state. If it fails the sensor errors, the task fails.
- Parameters
job_name (str) – job_name of the endpoint instance to check the state of