You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CreateDataSourceFromS3Input as input to an Aws::Client method, you can use a vanilla Hash:

{
  data_source_id: "EntityId", # required
  data_source_name: "EntityName",
  data_spec: { # required
    data_location_s3: "S3Url", # required
    data_rearrangement: "DataRearrangement",
    data_schema: "DataSchema",
    data_schema_location_s3: "S3Url",
  },
  compute_statistics: false,
}

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.

Returns:

  • (Boolean)

    The compute statistics for a DataSource.

#data_source_idString

A user-supplied identifier that uniquely identifies the DataSource.

Returns:

  • (String)

    A user-supplied identifier that uniquely identifies the DataSource.

#data_source_nameString

A user-supplied name or description of the DataSource.

Returns:

  • (String)

    A user-supplied name or description of the DataSource.

#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: