pub struct DescribeAlarmModelResponse {Show 15 fields
pub alarm_capabilities: Option<AlarmCapabilities>,
pub alarm_event_actions: Option<AlarmEventActions>,
pub alarm_model_arn: Option<String>,
pub alarm_model_description: Option<String>,
pub alarm_model_name: Option<String>,
pub alarm_model_version: Option<String>,
pub alarm_notification: Option<AlarmNotification>,
pub alarm_rule: Option<AlarmRule>,
pub creation_time: Option<f64>,
pub key: Option<String>,
pub last_update_time: Option<f64>,
pub role_arn: Option<String>,
pub severity: Option<i64>,
pub status: Option<String>,
pub status_message: Option<String>,
}
Fields
alarm_capabilities: Option<AlarmCapabilities>
Contains the configuration information of alarm state changes.
alarm_event_actions: Option<AlarmEventActions>
Contains information about one or more alarm actions.
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_description: Option<String>
The description of the alarm model.
alarm_model_name: Option<String>
The name of the alarm model.
alarm_model_version: Option<String>
The version of the alarm model.
alarm_notification: Option<AlarmNotification>
Contains information about one or more notification actions.
alarm_rule: Option<AlarmRule>
Defines when your alarm is invoked.
creation_time: Option<f64>
The time the alarm model was created, in the Unix epoch format.
key: Option<String>
An input attribute used as a key to create an alarm. AWS IoT Events routes inputs associated with this key to the alarm.
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.
severity: Option<i64>
A non-negative integer that reflects the severity level of the alarm.
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.
Trait Implementations
sourceimpl Clone for DescribeAlarmModelResponse
impl Clone for DescribeAlarmModelResponse
sourcefn clone(&self) -> DescribeAlarmModelResponse
fn clone(&self) -> DescribeAlarmModelResponse
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 DescribeAlarmModelResponse
impl Debug for DescribeAlarmModelResponse
sourceimpl Default for DescribeAlarmModelResponse
impl Default for DescribeAlarmModelResponse
sourcefn default() -> DescribeAlarmModelResponse
fn default() -> DescribeAlarmModelResponse
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for DescribeAlarmModelResponse
impl<'de> Deserialize<'de> for DescribeAlarmModelResponse
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<DescribeAlarmModelResponse> for DescribeAlarmModelResponse
impl PartialEq<DescribeAlarmModelResponse> for DescribeAlarmModelResponse
sourcefn eq(&self, other: &DescribeAlarmModelResponse) -> bool
fn eq(&self, other: &DescribeAlarmModelResponse) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DescribeAlarmModelResponse) -> bool
fn ne(&self, other: &DescribeAlarmModelResponse) -> bool
This method tests for !=
.
impl StructuralPartialEq for DescribeAlarmModelResponse
Auto Trait Implementations
impl RefUnwindSafe for DescribeAlarmModelResponse
impl Send for DescribeAlarmModelResponse
impl Sync for DescribeAlarmModelResponse
impl Unpin for DescribeAlarmModelResponse
impl UnwindSafe for DescribeAlarmModelResponse
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