#[non_exhaustive]pub struct CreateDetectorModelInput {
pub detector_model_name: Option<String>,
pub detector_model_definition: Option<DetectorModelDefinition>,
pub detector_model_description: Option<String>,
pub key: Option<String>,
pub role_arn: Option<String>,
pub tags: Option<Vec<Tag>>,
pub evaluation_method: Option<EvaluationMethod>,
}
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_definition: Option<DetectorModelDefinition>
Information that defines how the detectors operate.
detector_model_description: Option<String>
A brief description of the detector model.
key: Option<String>
The input attribute key used to identify a device or system to create a detector (an instance of the detector model) and then to route each input received to the appropriate detector (instance). This parameter uses a JSON-path expression in the message payload of each input to specify the attribute-value pair that is used to identify the device associated with the input.
role_arn: Option<String>
The ARN of the role that grants permission to AWS IoT Events to perform its operations.
Metadata that can be used to manage the detector model.
evaluation_method: Option<EvaluationMethod>
Information about the order in which events are evaluated and how actions are executed.
Implementations§
source§impl CreateDetectorModelInput
impl CreateDetectorModelInput
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_definition(&self) -> Option<&DetectorModelDefinition>
pub fn detector_model_definition(&self) -> Option<&DetectorModelDefinition>
Information that defines how the detectors operate.
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 key(&self) -> Option<&str>
pub fn key(&self) -> Option<&str>
The input attribute key used to identify a device or system to create a detector (an instance of the detector model) and then to route each input received to the appropriate detector (instance). This parameter uses a JSON-path expression in the message payload of each input to specify the attribute-value pair that is used to identify the device associated with the input.
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.
Metadata that can be used to manage the detector model.
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()
.
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 CreateDetectorModelInput
impl CreateDetectorModelInput
sourcepub fn builder() -> CreateDetectorModelInputBuilder
pub fn builder() -> CreateDetectorModelInputBuilder
Creates a new builder-style object to manufacture CreateDetectorModelInput
.
Trait Implementations§
source§impl Clone for CreateDetectorModelInput
impl Clone for CreateDetectorModelInput
source§fn clone(&self) -> CreateDetectorModelInput
fn clone(&self) -> CreateDetectorModelInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateDetectorModelInput
impl Debug for CreateDetectorModelInput
source§impl PartialEq for CreateDetectorModelInput
impl PartialEq for CreateDetectorModelInput
source§fn eq(&self, other: &CreateDetectorModelInput) -> bool
fn eq(&self, other: &CreateDetectorModelInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateDetectorModelInput
Auto Trait Implementations§
impl Freeze for CreateDetectorModelInput
impl RefUnwindSafe for CreateDetectorModelInput
impl Send for CreateDetectorModelInput
impl Sync for CreateDetectorModelInput
impl Unpin for CreateDetectorModelInput
impl UnwindSafe for CreateDetectorModelInput
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