Struct aws_sdk_devopsguru::types::AnomalousLogGroup
source · #[non_exhaustive]pub struct AnomalousLogGroup {
pub log_group_name: Option<String>,
pub impact_start_time: Option<DateTime>,
pub impact_end_time: Option<DateTime>,
pub number_of_log_lines_scanned: i32,
pub log_anomaly_showcases: Option<Vec<LogAnomalyShowcase>>,
}
Expand description
An Amazon CloudWatch log group that contains log anomalies and is used to generate an insight.
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.log_group_name: Option<String>
The name of the CloudWatch log group.
impact_start_time: Option<DateTime>
The time the anomalous log events began. The impact start time indicates the time of the first log anomaly event that occurs.
impact_end_time: Option<DateTime>
The time the anomalous log events stopped.
number_of_log_lines_scanned: i32
The number of log lines that were scanned for anomalous log events.
log_anomaly_showcases: Option<Vec<LogAnomalyShowcase>>
The log anomalies in the log group. Each log anomaly displayed represents a cluster of similar anomalous log events.
Implementations§
source§impl AnomalousLogGroup
impl AnomalousLogGroup
sourcepub fn log_group_name(&self) -> Option<&str>
pub fn log_group_name(&self) -> Option<&str>
The name of the CloudWatch log group.
sourcepub fn impact_start_time(&self) -> Option<&DateTime>
pub fn impact_start_time(&self) -> Option<&DateTime>
The time the anomalous log events began. The impact start time indicates the time of the first log anomaly event that occurs.
sourcepub fn impact_end_time(&self) -> Option<&DateTime>
pub fn impact_end_time(&self) -> Option<&DateTime>
The time the anomalous log events stopped.
sourcepub fn number_of_log_lines_scanned(&self) -> i32
pub fn number_of_log_lines_scanned(&self) -> i32
The number of log lines that were scanned for anomalous log events.
sourcepub fn log_anomaly_showcases(&self) -> &[LogAnomalyShowcase]
pub fn log_anomaly_showcases(&self) -> &[LogAnomalyShowcase]
The log anomalies in the log group. Each log anomaly displayed represents a cluster of similar anomalous log events.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .log_anomaly_showcases.is_none()
.
source§impl AnomalousLogGroup
impl AnomalousLogGroup
sourcepub fn builder() -> AnomalousLogGroupBuilder
pub fn builder() -> AnomalousLogGroupBuilder
Creates a new builder-style object to manufacture AnomalousLogGroup
.
Trait Implementations§
source§impl Clone for AnomalousLogGroup
impl Clone for AnomalousLogGroup
source§fn clone(&self) -> AnomalousLogGroup
fn clone(&self) -> AnomalousLogGroup
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AnomalousLogGroup
impl Debug for AnomalousLogGroup
source§impl PartialEq for AnomalousLogGroup
impl PartialEq for AnomalousLogGroup
source§fn eq(&self, other: &AnomalousLogGroup) -> bool
fn eq(&self, other: &AnomalousLogGroup) -> bool
self
and other
values to be equal, and is used
by ==
.