#[non_exhaustive]pub struct UpdateModelVersionInput {
pub model_id: Option<String>,
pub model_type: Option<ModelTypeEnum>,
pub major_version_number: Option<String>,
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.
major_version_number: Option<String>
The major version number.
external_events_detail: Option<ExternalEventsDetail>
The details of the external events data used for training the model version. Required if trainingDataSource
is EXTERNAL_EVENTS
.
ingested_events_detail: Option<IngestedEventsDetail>
The details of the ingested event used for training the model version. Required if your trainingDataSource
is INGESTED_EVENTS
.
A collection of key and value pairs.
Implementations§
source§impl UpdateModelVersionInput
impl UpdateModelVersionInput
sourcepub fn model_type(&self) -> Option<&ModelTypeEnum>
pub fn model_type(&self) -> Option<&ModelTypeEnum>
The model type.
sourcepub fn major_version_number(&self) -> Option<&str>
pub fn major_version_number(&self) -> Option<&str>
The major version number.
sourcepub fn external_events_detail(&self) -> Option<&ExternalEventsDetail>
pub fn external_events_detail(&self) -> Option<&ExternalEventsDetail>
The details of the external events data used for training the model version. Required if trainingDataSource
is EXTERNAL_EVENTS
.
sourcepub fn ingested_events_detail(&self) -> Option<&IngestedEventsDetail>
pub fn ingested_events_detail(&self) -> Option<&IngestedEventsDetail>
The details of the ingested event used for training the model version. Required if your 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 UpdateModelVersionInput
impl UpdateModelVersionInput
sourcepub fn builder() -> UpdateModelVersionInputBuilder
pub fn builder() -> UpdateModelVersionInputBuilder
Creates a new builder-style object to manufacture UpdateModelVersionInput
.
Trait Implementations§
source§impl Clone for UpdateModelVersionInput
impl Clone for UpdateModelVersionInput
source§fn clone(&self) -> UpdateModelVersionInput
fn clone(&self) -> UpdateModelVersionInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateModelVersionInput
impl Debug for UpdateModelVersionInput
source§impl PartialEq for UpdateModelVersionInput
impl PartialEq for UpdateModelVersionInput
source§fn eq(&self, other: &UpdateModelVersionInput) -> bool
fn eq(&self, other: &UpdateModelVersionInput) -> bool
self
and other
values to be equal, and is used
by ==
.