class_docstr: Creates AWS DMS replication task.
  
  .. seealso::
      For more information on how to use this operator, take a look at the guide:
      :ref:`howto/operator:DmsCreateTaskOperator`
  
  :param replication_task_id: Replication task id
  :param source_endpoint_arn: Source endpoint ARN
  :param target_endpoint_arn: Target endpoint ARN
  :param replication_instance_arn: Replication instance ARN
  :param table_mappings: Table mappings
  :param migration_type: Migration type ('full-load'|'cdc'|'full-load-and-cdc'), full-load by default.
  :param create_task_kwargs: Extra arguments for DMS replication task creation.
  :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).
  :param region_name: AWS region_name. If not specified then the default boto3 behaviour is used.
  :param verify: Whether or not to verify SSL certificates. See:
      https://boto3.amazonaws.com/v1/documentation/api/latest/reference/core/session.html
  :param botocore_config: Configuration dictionary (key-values) for botocore client. See:
      https://botocore.amazonaws.com/v1/documentation/api/latest/reference/config.html
docstr: Create AWS DMS replication task from Airflow.
  
  :return: replication task arn
docstr_tok: ["Create","AWS","DMS","replication","task","from","Airflow",".",":","return",":","replication","task","arn"]
code: def execute(self, context: Context):
      """
      Create AWS DMS replication task from Airflow.
  
      :return: replication task arn
      """
      task_arn = self.hook.create_replication_task(
          replication_task_id=self.replication_task_id,
          source_endpoint_arn=self.source_endpoint_arn,
          target_endpoint_arn=self.target_endpoint_arn,
          replication_instance_arn=self.replication_instance_arn,
          migration_type=self.migration_type,
          table_mappings=self.table_mappings,
          **self.create_task_kwargs,
      )
      self.log.info(
          "DMS replication task(%s) is ready.", self.replication_task_id
      )
  
      return task_arn
  
imports: from __future__ import annotations
  from typing import TYPE_CHECKING, Sequence
  from airflow.providers.amazon.aws.hooks.dms import DmsHook
  from airflow.providers.amazon.aws.operators.base_aws import AwsBaseOperator
  from airflow.providers.amazon.aws.utils.mixins import aws_template_fields
label_desc: Use image node_id 2 for calling the DmsCreateTaskOperator obj's underlying member method code with example usage: obj.execute(context) and returns: task_arn