class_docstr: Poll an Emr Serverless application and wait for it to be deleted.
  
  :param application_id: The ID of the application being polled.
  :waiter_delay: polling period in seconds to check for the status
  :param waiter_max_attempts: The maximum number of attempts to be made
  :param aws_conn_id: Reference to AWS connection id
class_docstr_tok: ["Poll","an","Emr","Serverless","application","and","wait","for","it","to","be","deleted",".",":","param","application_id",":","The","ID","of","the","application","being","polled",".",":","waiter_delay",":","polling","period","in","seconds","to","check","for","the","status",":","param","waiter_max_attempts",":","The","maximum","number","of","attempts","to","be","made",":","param","aws_conn_id",":","Reference","to","AWS","connection","id"]
code: def __init__(
      self,
      application_id: str,
      waiter_delay: int = 30,
      waiter_max_attempts: int = 60,
      aws_conn_id: str = "aws_default",
  ) -> None:
      super().__init__(
          serialized_fields={"application_id": application_id},
          waiter_name="serverless_app_terminated",
          waiter_args={"applicationId": application_id},
          failure_message="Application failed to start",
          status_message="Application status is",
          status_queries=[
              "application.state",
              "application.stateDetails",
          ],
          return_key="application_id",
          return_value=application_id,
          waiter_delay=waiter_delay,
          waiter_max_attempts=waiter_max_attempts,
          aws_conn_id=aws_conn_id,
      )
  
imports: from __future__ import annotations
  import warnings
  from typing import TYPE_CHECKING
  from airflow.exceptions import AirflowProviderDeprecationWarning
  from airflow.providers.amazon.aws.hooks.emr import EmrContainerHook, EmrHook, EmrServerlessHook
  from airflow.providers.amazon.aws.triggers.base import AwsBaseWaiterTrigger
label_desc: Use image node_id 1 to create a new EmrServerlessDeleteApplicationTrigger object from inherited base classes: AwsBaseWaiterTrigger with example: obj = EmrServerlessDeleteApplicationTrigger(application_id, waiter_delay, waiter_max_attempts, aws_conn_id)