#[non_exhaustive]pub struct NotificationFilterConfig { /* private fields */ }
Expand description
The filter configurations for the Amazon SNS notification topic you use with DevOps Guru. You can choose to specify which events or message types to receive notifications for. You can also choose to specify which severity levels to receive notifications for.
Implementations§
source§impl NotificationFilterConfig
impl NotificationFilterConfig
sourcepub fn severities(&self) -> Option<&[InsightSeverity]>
pub fn severities(&self) -> Option<&[InsightSeverity]>
The severity levels that you want to receive notifications for. For example, you can choose to receive notifications only for insights with HIGH
and MEDIUM
severity levels. For more information, see Understanding insight severities.
sourcepub fn message_types(&self) -> Option<&[NotificationMessageType]>
pub fn message_types(&self) -> Option<&[NotificationMessageType]>
The events that you want to receive notifications for. For example, you can choose to receive notifications only when the severity level is upgraded or a new insight is created.
source§impl NotificationFilterConfig
impl NotificationFilterConfig
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture NotificationFilterConfig
.
Trait Implementations§
source§impl Clone for NotificationFilterConfig
impl Clone for NotificationFilterConfig
source§fn clone(&self) -> NotificationFilterConfig
fn clone(&self) -> NotificationFilterConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for NotificationFilterConfig
impl Debug for NotificationFilterConfig
source§impl PartialEq<NotificationFilterConfig> for NotificationFilterConfig
impl PartialEq<NotificationFilterConfig> for NotificationFilterConfig
source§fn eq(&self, other: &NotificationFilterConfig) -> bool
fn eq(&self, other: &NotificationFilterConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.