class_docstr: Poll an Emr Serverless job run and wait for it to be completed.
  
  :param application_id: The ID of the application the job in being run on.
  :param job_id: The ID of the job run.
  :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","job","run","and","wait","for","it","to","be","completed",".",":","param","application_id",":","The","ID","of","the","application","the","job","in","being","run","on",".",":","param","job_id",":","The","ID","of","the","job","run",".",":","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,
      job_id: str | None,
      waiter_delay: int = 30,
      waiter_max_attempts: int = 60,
      aws_conn_id: str = "aws_default",
  ) -> None:
      super().__init__(
          serialized_fields={
              "application_id": application_id,
              "job_id": job_id,
          },
          waiter_name="serverless_job_completed",
          waiter_args={
              "applicationId": application_id,
              "jobRunId": job_id,
          },
          failure_message="Serverless Job failed",
          status_message="Serverless Job status is",
          status_queries=["jobRun.state", "jobRun.stateDetails"],
          return_key="job_id",
          return_value=job_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 EmrServerlessStartJobTrigger object from inherited base classes: AwsBaseWaiterTrigger with example: obj = EmrServerlessStartJobTrigger(application_id, job_id, waiter_delay, waiter_max_attempts, aws_conn_id)