#[non_exhaustive]pub struct DetectorModelConfiguration {
pub detector_model_name: Option<String>,
pub detector_model_version: Option<String>,
pub detector_model_description: Option<String>,
pub detector_model_arn: Option<String>,
pub role_arn: Option<String>,
pub creation_time: Option<DateTime>,
pub last_update_time: Option<DateTime>,
pub status: Option<DetectorModelVersionStatus>,
pub key: Option<String>,
pub evaluation_method: Option<EvaluationMethod>,
}
Expand description
Information about how the detector model is configured.
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.detector_model_name: Option<String>
The name of the detector model.
detector_model_version: Option<String>
The version of the detector model.
detector_model_description: Option<String>
A brief description of the detector model.
detector_model_arn: Option<String>
The ARN of the detector model.
role_arn: Option<String>
The ARN of the role that grants permission to AWS IoT Events to perform its operations.
creation_time: Option<DateTime>
The time the detector model was created.
last_update_time: Option<DateTime>
The time the detector model was last updated.
status: Option<DetectorModelVersionStatus>
The status of the detector model.
key: Option<String>
The value used to identify a detector instance. When a device or system sends input, a new detector instance with a unique key value is created. AWS IoT Events can continue to route input to its corresponding detector instance based on this identifying information.
This parameter uses a JSON-path expression to select the attribute-value pair in the message payload that is used for identification. To route the message to the correct detector instance, the device must send a message payload that contains the same attribute-value.
evaluation_method: Option<EvaluationMethod>
Information about the order in which events are evaluated and how actions are executed.
Implementations§
source§impl DetectorModelConfiguration
impl DetectorModelConfiguration
sourcepub fn detector_model_name(&self) -> Option<&str>
pub fn detector_model_name(&self) -> Option<&str>
The name of the detector model.
sourcepub fn detector_model_version(&self) -> Option<&str>
pub fn detector_model_version(&self) -> Option<&str>
The version of the detector model.
sourcepub fn detector_model_description(&self) -> Option<&str>
pub fn detector_model_description(&self) -> Option<&str>
A brief description of the detector model.
sourcepub fn detector_model_arn(&self) -> Option<&str>
pub fn detector_model_arn(&self) -> Option<&str>
The ARN of the detector model.
sourcepub fn role_arn(&self) -> Option<&str>
pub fn role_arn(&self) -> Option<&str>
The ARN of the role that grants permission to AWS IoT Events to perform its operations.
sourcepub fn creation_time(&self) -> Option<&DateTime>
pub fn creation_time(&self) -> Option<&DateTime>
The time the detector model was created.
sourcepub fn last_update_time(&self) -> Option<&DateTime>
pub fn last_update_time(&self) -> Option<&DateTime>
The time the detector model was last updated.
sourcepub fn status(&self) -> Option<&DetectorModelVersionStatus>
pub fn status(&self) -> Option<&DetectorModelVersionStatus>
The status of the detector model.
sourcepub fn key(&self) -> Option<&str>
pub fn key(&self) -> Option<&str>
The value used to identify a detector instance. When a device or system sends input, a new detector instance with a unique key value is created. AWS IoT Events can continue to route input to its corresponding detector instance based on this identifying information.
This parameter uses a JSON-path expression to select the attribute-value pair in the message payload that is used for identification. To route the message to the correct detector instance, the device must send a message payload that contains the same attribute-value.
sourcepub fn evaluation_method(&self) -> Option<&EvaluationMethod>
pub fn evaluation_method(&self) -> Option<&EvaluationMethod>
Information about the order in which events are evaluated and how actions are executed.
source§impl DetectorModelConfiguration
impl DetectorModelConfiguration
sourcepub fn builder() -> DetectorModelConfigurationBuilder
pub fn builder() -> DetectorModelConfigurationBuilder
Creates a new builder-style object to manufacture DetectorModelConfiguration
.
Trait Implementations§
source§impl Clone for DetectorModelConfiguration
impl Clone for DetectorModelConfiguration
source§fn clone(&self) -> DetectorModelConfiguration
fn clone(&self) -> DetectorModelConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DetectorModelConfiguration
impl Debug for DetectorModelConfiguration
source§impl PartialEq for DetectorModelConfiguration
impl PartialEq for DetectorModelConfiguration
source§fn eq(&self, other: &DetectorModelConfiguration) -> bool
fn eq(&self, other: &DetectorModelConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DetectorModelConfiguration
Auto Trait Implementations§
impl Freeze for DetectorModelConfiguration
impl RefUnwindSafe for DetectorModelConfiguration
impl Send for DetectorModelConfiguration
impl Sync for DetectorModelConfiguration
impl Unpin for DetectorModelConfiguration
impl UnwindSafe for DetectorModelConfiguration
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more