Class: Aws::MachineLearning::Types::CreateDataSourceFromS3Input

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#compute_statisticsBoolean

The compute statistics for a ‘DataSource`. The statistics are generated from the observation data referenced by a `DataSource`. Amazon ML uses the statistics internally during `MLModel` training. This parameter must be set to `true` if the `DataSource needs to be used for MLModel training.</p> `

Returns:

  • (Boolean)


464
465
466
467
468
469
470
471
# File 'lib/aws-sdk-machinelearning/types.rb', line 464

class CreateDataSourceFromS3Input < Struct.new(
  :data_source_id,
  :data_source_name,
  :data_spec,
  :compute_statistics)
  SENSITIVE = []
  include Aws::Structure
end

#data_source_idString

A user-supplied identifier that uniquely identifies the ‘DataSource`.

Returns:

  • (String)


464
465
466
467
468
469
470
471
# File 'lib/aws-sdk-machinelearning/types.rb', line 464

class CreateDataSourceFromS3Input < Struct.new(
  :data_source_id,
  :data_source_name,
  :data_spec,
  :compute_statistics)
  SENSITIVE = []
  include Aws::Structure
end

#data_source_nameString

A user-supplied name or description of the ‘DataSource`.

Returns:

  • (String)


464
465
466
467
468
469
470
471
# File 'lib/aws-sdk-machinelearning/types.rb', line 464

class CreateDataSourceFromS3Input < Struct.new(
  :data_source_id,
  :data_source_name,
  :data_spec,
  :compute_statistics)
  SENSITIVE = []
  include Aws::Structure
end

#data_specTypes::S3DataSpec

The data specification of a ‘DataSource`:

  • DataLocationS3 - The Amazon S3 location of the observation data.

  • DataSchemaLocationS3 - The Amazon S3 location of the ‘DataSchema`.

  • DataSchema - A JSON string representing the schema. This is not required if ‘DataSchemaUri` is specified.

  • DataRearrangement - A JSON string that represents the splitting and rearrangement requirements for the ‘Datasource`.

    Sample - ‘ “”splitting“:{”percentBegin“:10,”percentEnd“:60}”`

Returns:



464
465
466
467
468
469
470
471
# File 'lib/aws-sdk-machinelearning/types.rb', line 464

class CreateDataSourceFromS3Input < Struct.new(
  :data_source_id,
  :data_source_name,
  :data_spec,
  :compute_statistics)
  SENSITIVE = []
  include Aws::Structure
end