| :py:mod:`airflow.providers.amazon.aws.sensors.glue_crawler` |
| =========================================================== |
| |
| .. py:module:: airflow.providers.amazon.aws.sensors.glue_crawler |
| |
| |
| Module Contents |
| --------------- |
| |
| Classes |
| ~~~~~~~ |
| |
| .. autoapisummary:: |
| |
| airflow.providers.amazon.aws.sensors.glue_crawler.GlueCrawlerSensor |
| airflow.providers.amazon.aws.sensors.glue_crawler.AwsGlueCrawlerSensor |
| |
| |
| |
| |
| .. py:class:: GlueCrawlerSensor(*, crawler_name, aws_conn_id = 'aws_default', **kwargs) |
| |
| Bases: :py:obj:`airflow.sensors.base.BaseSensorOperator` |
| |
| Waits for an AWS Glue crawler to reach any of the statuses below |
| 'FAILED', 'CANCELLED', 'SUCCEEDED' |
| |
| .. seealso:: |
| For more information on how to use this sensor, take a look at the guide: |
| :ref:`howto/sensor:GlueCrawlerSensor` |
| |
| :param crawler_name: The AWS Glue crawler unique name |
| :param aws_conn_id: aws connection to use, defaults to 'aws_default' |
| |
| .. py:method:: poke(self, context) |
| |
| Function that the sensors defined while deriving this class should |
| override. |
| |
| |
| .. py:method:: get_hook(self) |
| |
| Returns a new or pre-existing GlueCrawlerHook |
| |
| |
| |
| .. py:class:: AwsGlueCrawlerSensor(*args, **kwargs) |
| |
| Bases: :py:obj:`GlueCrawlerSensor` |
| |
| This sensor is deprecated. Please use |
| :class:`airflow.providers.amazon.aws.sensors.glue_crawler.GlueCrawlerSensor`. |
| |
| |