Class: Aws::SageMaker::Types::DataSource

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
lib/aws-sdk-sagemaker/types.rb

Overview

Note:

When making an API call, you may pass DataSource data as a hash:

{
  s3_data_source: {
    s3_data_type: "ManifestFile", # required, accepts ManifestFile, S3Prefix, AugmentedManifestFile
    s3_uri: "S3Uri", # required
    s3_data_distribution_type: "FullyReplicated", # accepts FullyReplicated, ShardedByS3Key
    attribute_names: ["AttributeName"],
  },
  file_system_data_source: {
    file_system_id: "FileSystemId", # required
    file_system_access_mode: "rw", # required, accepts rw, ro
    file_system_type: "EFS", # required, accepts EFS, FSxLustre
    directory_path: "DirectoryPath", # required
  },
}

Describes the location of the channel data.

Instance Attribute Summary collapse

Instance Attribute Details

#file_system_data_sourceTypes::FileSystemDataSource

The file system that is associated with a channel.



5436
5437
5438
5439
5440
# File 'lib/aws-sdk-sagemaker/types.rb', line 5436

class DataSource < Struct.new(
  :s3_data_source,
  :file_system_data_source)
  include Aws::Structure
end

#s3_data_sourceTypes::S3DataSource

The S3 location of the data source that is associated with a channel.

Returns:



5436
5437
5438
5439
5440
# File 'lib/aws-sdk-sagemaker/types.rb', line 5436

class DataSource < Struct.new(
  :s3_data_source,
  :file_system_data_source)
  include Aws::Structure
end