blob: 3504dd10ba742410b95e886f4955ec021c01bd68 [file] [log] [blame]
:py:mod:`airflow.providers.amazon.aws.sensors.glue`
===================================================
.. py:module:: airflow.providers.amazon.aws.sensors.glue
Module Contents
---------------
Classes
~~~~~~~
.. autoapisummary::
airflow.providers.amazon.aws.sensors.glue.GlueJobSensor
.. py:class:: GlueJobSensor(*, job_name, run_id, verbose = False, aws_conn_id = 'aws_default', **kwargs)
Bases: :py:obj:`airflow.sensors.base.BaseSensorOperator`
Waits for an AWS Glue Job to reach any of the status below
'FAILED', 'STOPPED', 'SUCCEEDED'
.. seealso::
For more information on how to use this sensor, take a look at the guide:
:ref:`howto/sensor:GlueJobSensor`
:param job_name: The AWS Glue Job unique name
:param run_id: The AWS Glue current running job identifier
:param verbose: If True, more Glue Job Run logs show in the Airflow Task Logs. (default: False)
.. py:attribute:: template_fields
:annotation: :Sequence[str] = ['job_name', 'run_id']
.. py:method:: poke(context)
Function that the sensors defined while deriving this class should
override.