pub struct ModelInputConfiguration {
pub csv_input_template: Option<String>,
pub event_type_name: Option<String>,
pub format: Option<String>,
pub json_input_template: Option<String>,
pub use_event_variables: bool,
}
Expand description
The Amazon SageMaker model input configuration.
Fields
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.
event_type_name: Option<String>
The event type name.
format: Option<String>
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.
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.
use_event_variables: bool
The event variables.
Trait Implementations
sourceimpl Clone for ModelInputConfiguration
impl Clone for ModelInputConfiguration
sourcefn clone(&self) -> ModelInputConfiguration
fn clone(&self) -> ModelInputConfiguration
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ModelInputConfiguration
impl Debug for ModelInputConfiguration
sourceimpl Default for ModelInputConfiguration
impl Default for ModelInputConfiguration
sourcefn default() -> ModelInputConfiguration
fn default() -> ModelInputConfiguration
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ModelInputConfiguration
impl<'de> Deserialize<'de> for ModelInputConfiguration
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<ModelInputConfiguration> for ModelInputConfiguration
impl PartialEq<ModelInputConfiguration> for ModelInputConfiguration
sourcefn eq(&self, other: &ModelInputConfiguration) -> bool
fn eq(&self, other: &ModelInputConfiguration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ModelInputConfiguration) -> bool
fn ne(&self, other: &ModelInputConfiguration) -> bool
This method tests for !=
.
sourceimpl Serialize for ModelInputConfiguration
impl Serialize for ModelInputConfiguration
impl StructuralPartialEq for ModelInputConfiguration
Auto Trait Implementations
impl RefUnwindSafe for ModelInputConfiguration
impl Send for ModelInputConfiguration
impl Sync for ModelInputConfiguration
impl Unpin for ModelInputConfiguration
impl UnwindSafe for ModelInputConfiguration
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more