class_docstr: Deregister a task definition on AWS ECS.
  
  .. seealso::
      For more information on how to use this operator, take a look at the guide:
      :ref:`howto/operator:EcsDeregisterTaskDefinitionOperator`
  
  :param task_definition: The family and revision (family:revision) or full Amazon Resource Name (ARN)
      of the task definition to deregister. If you use a family name, you must specify a revision.
class_docstr_tok: ["Deregister","a","task","definition","on","AWS","ECS",".","..","seealso",":",":","For","more","information","on","how","to","use","this","operator",",","take","a","look","at","the","guide",":",":","ref",":","`","howto\/operator",":","EcsDeregisterTaskDefinitionOperator","`",":","param","task_definition",":","The","family","and","revision","(","family",":","revision",")","or","full","Amazon","Resource","Name","(","ARN",")","of","the","task","definition","to","deregister",".","If","you","use","a","family","name",",","you","must","specify","a","revision","."]
code: def __init__(
      self,
      *,
      task_definition: str,
      **kwargs,
  ):
      if (
          "wait_for_completion" in kwargs
          or "waiter_delay" in kwargs
          or "waiter_max_attempts" in kwargs
      ):
          warnings.warn(
              "'wait_for_completion' and waiter related params have no effect and are deprecated, "
              "please remove them.",
              AirflowProviderDeprecationWarning,
              stacklevel=2,
          )
          # remove args to not trigger Invalid arguments exception
          kwargs.pop("wait_for_completion", None)
          kwargs.pop("waiter_delay", None)
          kwargs.pop("waiter_max_attempts", None)
  
      super().__init__(**kwargs)
      self.task_definition = task_definition
  
imports: from __future__ import annotations
  import re
  import warnings
  from datetime import timedelta
  from functools import cached_property
  from typing import TYPE_CHECKING, Sequence
  from airflow.configuration import conf
  from airflow.exceptions import AirflowException, AirflowProviderDeprecationWarning
  from airflow.providers.amazon.aws.exceptions import EcsOperatorError, EcsTaskFailToStart
  from airflow.providers.amazon.aws.hooks.base_aws import AwsBaseHook
  from airflow.providers.amazon.aws.hooks.ecs import EcsClusterStates, EcsHook, should_retry_eni
  from airflow.providers.amazon.aws.hooks.logs import AwsLogsHook
  from airflow.providers.amazon.aws.operators.base_aws import AwsBaseOperator
  from airflow.providers.amazon.aws.triggers.ecs import ClusterActiveTrigger, ClusterInactiveTrigger, TaskDoneTrigger
  from airflow.providers.amazon.aws.utils.identifiers import generate_uuid
  from airflow.providers.amazon.aws.utils.mixins import aws_template_fields
  from airflow.providers.amazon.aws.utils.task_log_fetcher import AwsTaskLogFetcher
  from airflow.utils.helpers import prune_dict
label_desc: Use image node_id 1 to create a new EcsDeregisterTaskDefinitionOperator object from inherited base classes: EcsBaseOperator with example: obj = EcsDeregisterTaskDefinitionOperator()