blob: 628339619af97a6eeab5a6d4fcc2dc52d6718cb5 [file] [log] [blame]
:mod:`airflow.providers.amazon.aws.operators.dms_delete_task`
=============================================================
.. py:module:: airflow.providers.amazon.aws.operators.dms_delete_task
Module Contents
---------------
.. py:class:: DmsDeleteTaskOperator(*, replication_task_arn: Optional[str] = None, aws_conn_id: str = 'aws_default', **kwargs)
Bases: :class:`airflow.models.BaseOperator`
Deletes AWS DMS replication task.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:DmsDeleteTaskOperator`
: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)
Deletes AWS DMS replication task from Airflow
:return: replication task arn