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 ==
.impl StructuralPartialEq for AnomalousLogGroup
Auto Trait Implementations§
impl Freeze for AnomalousLogGroup
impl RefUnwindSafe for AnomalousLogGroup
impl Send for AnomalousLogGroup
impl Sync for AnomalousLogGroup
impl Unpin for AnomalousLogGroup
impl UnwindSafe for AnomalousLogGroup
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