#[non_exhaustive]pub struct ModelInputConfiguration {
pub event_type_name: Option<String>,
pub format: Option<ModelInputDataFormat>,
pub use_event_variables: bool,
pub json_input_template: Option<String>,
pub csv_input_template: Option<String>,
}
Expand description
The Amazon SageMaker model input configuration.
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.event_type_name: Option<String>
The event type name.
format: Option<ModelInputDataFormat>
The format of the model input configuration. The format differs depending on if it is passed through to SageMaker or constructed by Amazon Fraud Detector.
use_event_variables: bool
The event variables.
json_input_template: Option<String>
Template for constructing the JSON input-data sent to SageMaker. At event-evaluation, the placeholders for variable names in the template will be replaced with the variable values before being sent to SageMaker.
csv_input_template: Option<String>
Template for constructing the CSV input-data sent to SageMaker. At event-evaluation, the placeholders for variable-names in the template will be replaced with the variable values before being sent to SageMaker.
Implementations§
source§impl ModelInputConfiguration
impl ModelInputConfiguration
sourcepub fn event_type_name(&self) -> Option<&str>
pub fn event_type_name(&self) -> Option<&str>
The event type name.
sourcepub fn format(&self) -> Option<&ModelInputDataFormat>
pub fn format(&self) -> Option<&ModelInputDataFormat>
The format of the model input configuration. The format differs depending on if it is passed through to SageMaker or constructed by Amazon Fraud Detector.
sourcepub fn use_event_variables(&self) -> bool
pub fn use_event_variables(&self) -> bool
The event variables.
sourcepub fn json_input_template(&self) -> Option<&str>
pub fn json_input_template(&self) -> Option<&str>
Template for constructing the JSON input-data sent to SageMaker. At event-evaluation, the placeholders for variable names in the template will be replaced with the variable values before being sent to SageMaker.
sourcepub fn csv_input_template(&self) -> Option<&str>
pub fn csv_input_template(&self) -> Option<&str>
Template for constructing the CSV input-data sent to SageMaker. At event-evaluation, the placeholders for variable-names in the template will be replaced with the variable values before being sent to SageMaker.
source§impl ModelInputConfiguration
impl ModelInputConfiguration
sourcepub fn builder() -> ModelInputConfigurationBuilder
pub fn builder() -> ModelInputConfigurationBuilder
Creates a new builder-style object to manufacture ModelInputConfiguration
.
Trait Implementations§
source§impl Clone for ModelInputConfiguration
impl Clone for ModelInputConfiguration
source§fn clone(&self) -> ModelInputConfiguration
fn clone(&self) -> ModelInputConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ModelInputConfiguration
impl Debug for ModelInputConfiguration
source§impl PartialEq for ModelInputConfiguration
impl PartialEq for ModelInputConfiguration
source§fn eq(&self, other: &ModelInputConfiguration) -> bool
fn eq(&self, other: &ModelInputConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.