class_docstr: Accepts file source parameters for conversion to request dict.
class_docstr_tok: ["Accepts","file","source","parameters","for","conversion","to","request","dict","."]
docstr: Initialize a ``FileSource`` instance and turn parameters into dict.
  
  Args:
      s3_uri (str or PipelineVariable): The S3 URI of the metric
      content_digest (str or PipelineVariable): The digest of the metric
          (default: None)
      content_type (str or PipelineVariable): Specifies the type of content
          in S3 URI (default: None)
docstr_tok: ["Initialize","a","``","FileSource","``","instance","and","turn","parameters","into","dict",".","Args",":","s3_uri","(","str","or","PipelineVariable",")",":","The","S3","URI","of","the","metric","content_digest","(","str","or","PipelineVariable",")",":","The","digest","of","the","metric","(","default",":","None",")","content_type","(","str","or","PipelineVariable",")",":","Specifies","the","type","of","content","in","S3","URI","(","default",":","None",")"]
code: def __init__(
      self,
      s3_uri: Union[str, PipelineVariable],
      content_digest: Optional[Union[str, PipelineVariable]] = None,
      content_type: Optional[Union[str, PipelineVariable]] = None,
  ):
      """Initialize a ``FileSource`` instance and turn parameters into dict.
  
      Args:
          s3_uri (str or PipelineVariable): The S3 URI of the metric
          content_digest (str or PipelineVariable): The digest of the metric
              (default: None)
          content_type (str or PipelineVariable): Specifies the type of content
              in S3 URI (default: None)
      """
      self.content_type = content_type
      self.s3_uri = s3_uri
      self.content_digest = content_digest
  
file_path: sagemaker-python-sdk/src/sagemaker/model_metrics.py
imports: from __future__ import absolute_import
  from typing import Optional, Union
  from sagemaker.workflow.entities import PipelineVariable
label_desc: Use image node_id 1 to create a new FileSource object from inherited base classes: object with example: obj = FileSource(s3_uri, content_digest, content_type)