#[non_exhaustive]pub struct CreateModelVersionInput {
pub model_id: Option<String>,
pub model_type: Option<ModelTypeEnum>,
pub training_data_source: Option<TrainingDataSourceEnum>,
pub training_data_schema: Option<TrainingDataSchema>,
pub external_events_detail: Option<ExternalEventsDetail>,
pub ingested_events_detail: Option<IngestedEventsDetail>,
pub tags: Option<Vec<Tag>>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.model_id: Option<String>
The model ID.
model_type: Option<ModelTypeEnum>
The model type.
training_data_source: Option<TrainingDataSourceEnum>
The training data source location in Amazon S3.
training_data_schema: Option<TrainingDataSchema>
The training data schema.
external_events_detail: Option<ExternalEventsDetail>
Details of the external events data used for model version training. Required if trainingDataSource
is EXTERNAL_EVENTS
.
ingested_events_detail: Option<IngestedEventsDetail>
Details of the ingested events data used for model version training. Required if trainingDataSource
is INGESTED_EVENTS
.
A collection of key and value pairs.
Implementations§
source§impl CreateModelVersionInput
impl CreateModelVersionInput
sourcepub fn model_type(&self) -> Option<&ModelTypeEnum>
pub fn model_type(&self) -> Option<&ModelTypeEnum>
The model type.
sourcepub fn training_data_source(&self) -> Option<&TrainingDataSourceEnum>
pub fn training_data_source(&self) -> Option<&TrainingDataSourceEnum>
The training data source location in Amazon S3.
sourcepub fn training_data_schema(&self) -> Option<&TrainingDataSchema>
pub fn training_data_schema(&self) -> Option<&TrainingDataSchema>
The training data schema.
sourcepub fn external_events_detail(&self) -> Option<&ExternalEventsDetail>
pub fn external_events_detail(&self) -> Option<&ExternalEventsDetail>
Details of the external events data used for model version training. Required if trainingDataSource
is EXTERNAL_EVENTS
.
sourcepub fn ingested_events_detail(&self) -> Option<&IngestedEventsDetail>
pub fn ingested_events_detail(&self) -> Option<&IngestedEventsDetail>
Details of the ingested events data used for model version training. Required if trainingDataSource
is INGESTED_EVENTS
.
A collection of key and value pairs.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
source§impl CreateModelVersionInput
impl CreateModelVersionInput
sourcepub fn builder() -> CreateModelVersionInputBuilder
pub fn builder() -> CreateModelVersionInputBuilder
Creates a new builder-style object to manufacture CreateModelVersionInput
.
Trait Implementations§
source§impl Clone for CreateModelVersionInput
impl Clone for CreateModelVersionInput
source§fn clone(&self) -> CreateModelVersionInput
fn clone(&self) -> CreateModelVersionInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateModelVersionInput
impl Debug for CreateModelVersionInput
source§impl PartialEq for CreateModelVersionInput
impl PartialEq for CreateModelVersionInput
source§fn eq(&self, other: &CreateModelVersionInput) -> bool
fn eq(&self, other: &CreateModelVersionInput) -> bool
self
and other
values to be equal, and is used
by ==
.