class_docstr: Runner class, uses a project to create a SagemakerSubmittedRun.
docstr: Initialize the SagemakerRunner.
  
  Arguments:
      api (Api): The API instance.
      backend_config (Dict[str, Any]): The backend configuration.
      environment (AwsEnvironment): The AWS environment.
  
  Raises:
      LaunchError: If the runner cannot be initialized.
docstr_tok: ["Initialize","the","SagemakerRunner",".","Arguments",":","api","(","Api",")",":","The","API","instance",".","backend_config","(","Dict","[","str",",","Any","]",")",":","The","backend","configuration",".","environment","(","AwsEnvironment",")",":","The","AWS","environment",".","Raises",":","LaunchError",":","If","the","runner","can","not","be","initialized","."]
code: def __init__(
      self,
      api: Api,
      backend_config: Dict[str, Any],
      environment: AwsEnvironment,
      registry: AbstractRegistry,
  ) -> None:
      """Initialize the SagemakerRunner.
  
      Arguments:
          api (Api): The API instance.
          backend_config (Dict[str, Any]): The backend configuration.
          environment (AwsEnvironment): The AWS environment.
  
      Raises:
          LaunchError: If the runner cannot be initialized.
      """
      super().__init__(api, backend_config)
      self.environment = environment
      self.registry = registry
  
imports: import asyncio
  import logging
  from typing import Any, Dict, List, Optional, cast
  import wandb
  from wandb.apis.internal import Api
  from wandb.sdk.launch.environment.aws_environment import AwsEnvironment
  from wandb.sdk.launch.errors import LaunchError
  from .._project_spec import EntryPoint, LaunchProject, get_entry_point_command
  from ..builder.build import get_env_vars_dict
  from ..registry.abstract import AbstractRegistry
  from ..utils import LOG_PREFIX, MAX_ENV_LENGTHS, PROJECT_SYNCHRONOUS, event_loop_thread_exec, to_camel_case
  from .abstract import AbstractRun, AbstractRunner, Status
label_desc: Use image node_id 1 to create a new SageMakerRunner object from inherited base classes: AbstractRunner with example: obj = SageMakerRunner(api, backend_config, environment, registry)