class_docstr: Handle creating, starting and waiting for Amazon SageMaker jobs to finish.
  
  This class shouldn't be directly instantiated.
  
  Subclasses must define a way to create, start and wait for an Amazon
  SageMaker job.
class_docstr_tok: ["Handle","creating",",","starting","and","waiting","for","Amazon","SageMaker","jobs","to","finish",".","This","class","should","n't","be","directly","instantiated",".","Subclasses","must","define","a","way","to","create",",","start","and","wait","for","an","Amazon","SageMaker","job","."]
docstr: Placeholder docstring
docstr_tok: ["Placeholder","docstring"]
code: def _format_model_uri_input(model_uri, validate_uri=True):
      """Placeholder docstring"""
      if (
          isinstance(model_uri, string_types)
          and validate_uri
          and model_uri.startswith("s3://")
      ):
          return TrainingInput(
              model_uri,
              input_mode="File",
              distribution="FullyReplicated",
              content_type="application/x-sagemaker-model",
          )
      if (
          isinstance(model_uri, string_types)
          and validate_uri
          and model_uri.startswith("file://")
      ):
          return file_input(model_uri)
      if isinstance(model_uri, string_types) and validate_uri:
          raise ValueError(
              'Model URI must be a valid S3 or FILE URI: must start with "s3://" or '
              '"file://'
          )
      if isinstance(model_uri, string_types):
          return TrainingInput(
              model_uri,
              input_mode="File",
              distribution="FullyReplicated",
              content_type="application/x-sagemaker-model",
          )
      raise ValueError(
          "Cannot format model URI {}. Expecting str".format(model_uri)
      )
  
imports: from __future__ import absolute_import
  from abc import abstractmethod
  from six import string_types
  from sagemaker.inputs import FileSystemInput, TrainingInput
  from sagemaker.local import file_input
  from sagemaker.workflow import is_pipeline_variable
label_desc: Use image node_id 11 for calling the _Job obj's underlying member method code with example usage: obj._format_model_uri_input(model_uri, validate_uri) and returns: TrainingInput, file_input, TrainingInput