| :mod:`airflow.providers.amazon.aws.operators.dms_stop_task` |
| =========================================================== |
| |
| .. py:module:: airflow.providers.amazon.aws.operators.dms_stop_task |
| |
| |
| Module Contents |
| --------------- |
| |
| .. py:class:: DmsStopTaskOperator(*, replication_task_arn: Optional[str] = None, aws_conn_id: str = 'aws_default', **kwargs) |
| |
| Bases: :class:`airflow.models.BaseOperator` |
| |
| Stops AWS DMS replication task. |
| |
| :param replication_task_arn: Replication task ARN |
| :type replication_task_arn: str |
| :param aws_conn_id: The Airflow connection used for AWS credentials. |
| If this is None or empty then the default boto3 behaviour is used. If |
| running Airflow in a distributed manner and aws_conn_id is None or |
| empty, then default boto3 configuration would be used (and must be |
| maintained on each worker node). |
| :type aws_conn_id: Optional[str] |
| |
| .. attribute:: template_fields |
| :annotation: = ['replication_task_arn'] |
| |
| |
| |
| .. attribute:: template_ext |
| :annotation: = [] |
| |
| |
| |
| .. attribute:: template_fields_renderers |
| |
| |
| |
| |
| |
| .. method:: execute(self, context) |
| |
| Stops AWS DMS replication task from Airflow |
| |
| :return: replication task arn |
| |
| |
| |
| |