class_docstr: Interact with Amazon Elastic Container Service (ECS).
  
  Provide thin wrapper around :external+boto3:py:class:`boto3.client("ecs") <ECS.Client>`.
  
  Additional arguments (such as ``aws_conn_id``) may be specified and
  are passed down to the underlying AwsBaseHook.
  
  .. seealso::
      - :class:`airflow.providers.amazon.aws.hooks.base_aws.AwsBaseHook`
      - `Amazon Elastic Container Service         <https://docs.aws.amazon.com/AmazonECS/latest/APIReference/Welcome.html>`__
class_docstr_tok: ["Interact","with","Amazon","Elastic","Container","Service","(","ECS",")",".","Provide","thin","wrapper","around",":","external+boto3",":","py",":","class",":","`","boto3.client","(","``","ecs","''",")","<","ECS.Client",">","`",".","Additional","arguments","(","such","as","``","aws_conn_id","``",")","may","be","specified","and","are","passed","down","to","the","underlying","AwsBaseHook",".","..","seealso",":",":","-",":","class",":","`","airflow.providers.amazon.aws.hooks.base_aws.AwsBaseHook","`","-","`","Amazon","Elastic","Container","Service","<","https",":","\/\/docs.aws.amazon.com\/AmazonECS\/latest\/APIReference\/Welcome.html",">","`","__"]
code: def __init__(self, *args, **kwargs) -> None:
      kwargs["client_type"] = "ecs"
      super().__init__(*args, **kwargs)
  
imports: from __future__ import annotations
  from typing import TYPE_CHECKING
  from airflow.providers.amazon.aws.exceptions import EcsOperatorError, EcsTaskFailToStart
  from airflow.providers.amazon.aws.hooks.base_aws import AwsGenericHook
  from airflow.providers.amazon.aws.utils import _StringCompareEnum
  from airflow.typing_compat import Protocol, runtime_checkable
label_desc: Use image node_id 1 to create a new EcsHook object from inherited base classes: AwsGenericHook with example: obj = EcsHook()