pub struct AlarmModelVersionSummary {
pub alarm_model_arn: Option<String>,
pub alarm_model_name: Option<String>,
pub alarm_model_version: Option<String>,
pub creation_time: Option<f64>,
pub last_update_time: Option<f64>,
pub role_arn: Option<String>,
pub status: Option<String>,
pub status_message: Option<String>,
}
Expand description
Contains a summary of an alarm model version.
Fields
alarm_model_arn: Option<String>
The ARN of the alarm model. For more information, see Amazon Resource Names (ARNs) in the AWS General Reference.
alarm_model_name: Option<String>
The name of the alarm model.
alarm_model_version: Option<String>
The version of the alarm model.
creation_time: Option<f64>
The time the alarm model was created, in the Unix epoch format.
last_update_time: Option<f64>
The time the alarm model was last updated, in the Unix epoch format.
role_arn: Option<String>
The ARN of the IAM role that allows the alarm to perform actions and access AWS resources. For more information, see Amazon Resource Names (ARNs) in the AWS General Reference.
status: Option<String>
The status of the alarm model. The status can be one of the following values:
-
ACTIVE
- The alarm model is active and it's ready to evaluate data. -
ACTIVATING
- AWS IoT Events is activating your alarm model. Activating an alarm model can take up to a few minutes. -
INACTIVE
- The alarm model is inactive, so it isn't ready to evaluate data. Check your alarm model information and update the alarm model. -
FAILED
- You couldn't create or update the alarm model. Check your alarm model information and try again.
status_message: Option<String>
Contains information about the status of the alarm model version.
Trait Implementations
sourceimpl Clone for AlarmModelVersionSummary
impl Clone for AlarmModelVersionSummary
sourcefn clone(&self) -> AlarmModelVersionSummary
fn clone(&self) -> AlarmModelVersionSummary
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 AlarmModelVersionSummary
impl Debug for AlarmModelVersionSummary
sourceimpl Default for AlarmModelVersionSummary
impl Default for AlarmModelVersionSummary
sourcefn default() -> AlarmModelVersionSummary
fn default() -> AlarmModelVersionSummary
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for AlarmModelVersionSummary
impl<'de> Deserialize<'de> for AlarmModelVersionSummary
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<AlarmModelVersionSummary> for AlarmModelVersionSummary
impl PartialEq<AlarmModelVersionSummary> for AlarmModelVersionSummary
sourcefn eq(&self, other: &AlarmModelVersionSummary) -> bool
fn eq(&self, other: &AlarmModelVersionSummary) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AlarmModelVersionSummary) -> bool
fn ne(&self, other: &AlarmModelVersionSummary) -> bool
This method tests for !=
.
impl StructuralPartialEq for AlarmModelVersionSummary
Auto Trait Implementations
impl RefUnwindSafe for AlarmModelVersionSummary
impl Send for AlarmModelVersionSummary
impl Sync for AlarmModelVersionSummary
impl Unpin for AlarmModelVersionSummary
impl UnwindSafe for AlarmModelVersionSummary
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