class Aws::MachineLearning::Types::CreateDataSourceFromS3Input
@note When making an API call, you may pass CreateDataSourceFromS3Input
data as a 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, }
@!attribute [rw] data_source_id
A user-supplied identifier that uniquely identifies the `DataSource`. @return [String]
@!attribute [rw] data_source_name
A user-supplied name or description of the `DataSource`. @return [String]
@!attribute [rw] data_spec
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\}\}"` @return [Types::S3DataSpec]
@!attribute [rw] compute_statistics
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> ` @return [Boolean]
Constants
- SENSITIVE