pub struct CreateDataSourceFromS3Input {
pub compute_statistics: Option<bool>,
pub data_source_id: String,
pub data_source_name: Option<String>,
pub data_spec: S3DataSpec,
}Fields§
§compute_statistics: Option<bool>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.
data_source_id: StringA user-supplied identifier that uniquely identifies the DataSource.
data_source_name: Option<String>A user-supplied name or description of the DataSource.
data_spec: S3DataSpecThe 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
DataSchemaUriis specified.-
DataRearrangement - A JSON string that represents the splitting and rearrangement requirements for the
Datasource.Sample -
"{"splitting":{"percentBegin":10,"percentEnd":60}}"
Trait Implementations§
Source§impl Clone for CreateDataSourceFromS3Input
impl Clone for CreateDataSourceFromS3Input
Source§fn clone(&self) -> CreateDataSourceFromS3Input
fn clone(&self) -> CreateDataSourceFromS3Input
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more