class_docstr: SageMakerTrigger is fired as deferred class with params to run the task in triggerer.
  
  :param job_name: name of the job to check status
  :param job_type: Type of the sagemaker job whether it is Transform or Training
  :param poke_interval:  polling period in seconds to check for the status
  :param max_attempts: Number of times to poll for query state before returning the current state,
      defaults to None.
  :param aws_conn_id: AWS connection ID for sagemaker
docstr: Serialize SagemakerTrigger arguments and classpath.
docstr_tok: ["Serialize","SagemakerTrigger","arguments","and","classpath","."]
code: def serialize(self) -> tuple[str, dict[str, Any]]:
      """Serialize SagemakerTrigger arguments and classpath."""
      return (
          "airflow.providers.amazon.aws.triggers.sagemaker.SageMakerTrigger",
          {
              "job_name": self.job_name,
              "job_type": self.job_type,
              "poke_interval": self.poke_interval,
              "max_attempts": self.max_attempts,
              "aws_conn_id": self.aws_conn_id,
          },
      )
  
imports: from __future__ import annotations
  import asyncio
  from collections import Counter
  from enum import IntEnum
  from functools import cached_property
  from typing import Any, AsyncIterator
  from botocore.exceptions import WaiterError
  from airflow.exceptions import AirflowException
  from airflow.providers.amazon.aws.hooks.sagemaker import SageMakerHook
  from airflow.providers.amazon.aws.utils.waiter_with_logging import async_wait
  from airflow.triggers.base import BaseTrigger, TriggerEvent
label_desc: Use image node_id 2 for calling the SageMakerTrigger obj's underlying member method code with example usage: obj.serialize() and returns: str,  dict