class_docstr: Placeholder docstring
class_docstr_tok: ["Placeholder","docstring"]
docstr: Return a TrainingInput to represent the training data
code: def records_s3_input(self):
      """Return a TrainingInput to represent the training data"""
      return TrainingInput(
          self.s3_data,
          distribution="ShardedByS3Key",
          s3_data_type=self.s3_data_type,
      )
  
imports: from __future__ import absolute_import
  import json
  import logging
  import tempfile
  from typing import Union, Optional, Dict
  from six.moves.urllib.parse import urlparse
  from sagemaker import image_uris, s3_utils
  from sagemaker.amazon import validation
  from sagemaker.amazon.hyperparameter import Hyperparameter
  from sagemaker.amazon.common import write_numpy_to_dense_tensor
  from sagemaker.deprecations import renamed_warning
  from sagemaker.estimator import EstimatorBase, _TrainingJob
  from sagemaker.inputs import FileSystemInput, TrainingInput
  from sagemaker.utils import sagemaker_timestamp, check_and_get_run_experiment_config
  from sagemaker.workflow.entities import PipelineVariable
  from sagemaker.workflow.pipeline_context import runnable_by_pipeline
  from sagemaker.workflow import is_pipeline_variable
label_desc: Use image node_id 4 for calling the RecordSet obj's underlying member method code with example usage: obj.records_s3_input() and returns: TrainingInput