Struct aws_sdk_devopsguru::types::LogAnomalyClass
source · #[non_exhaustive]pub struct LogAnomalyClass {
pub log_stream_name: Option<String>,
pub log_anomaly_type: Option<LogAnomalyType>,
pub log_anomaly_token: Option<String>,
pub log_event_id: Option<String>,
pub explanation: Option<String>,
pub number_of_log_lines_occurrences: i32,
pub log_event_timestamp: Option<DateTime>,
}
Expand description
Information about an anomalous log event found within a log group.
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_stream_name: Option<String>
The name of the Amazon CloudWatch log stream that the anomalous log event belongs to. A log stream is a sequence of log events that share the same source.
log_anomaly_type: Option<LogAnomalyType>
The type of log anomaly that has been detected.
log_anomaly_token: Option<String>
The token where the anomaly was detected. This may refer to an exception or another location, or it may be blank for log anomalies such as format anomalies.
log_event_id: Option<String>
The ID of the log event.
explanation: Option<String>
The explanation for why the log event is considered an anomaly.
number_of_log_lines_occurrences: i32
The number of log lines where this anomalous log event occurs.
log_event_timestamp: Option<DateTime>
The time of the first occurrence of the anomalous log event.
Implementations§
source§impl LogAnomalyClass
impl LogAnomalyClass
sourcepub fn log_stream_name(&self) -> Option<&str>
pub fn log_stream_name(&self) -> Option<&str>
The name of the Amazon CloudWatch log stream that the anomalous log event belongs to. A log stream is a sequence of log events that share the same source.
sourcepub fn log_anomaly_type(&self) -> Option<&LogAnomalyType>
pub fn log_anomaly_type(&self) -> Option<&LogAnomalyType>
The type of log anomaly that has been detected.
sourcepub fn log_anomaly_token(&self) -> Option<&str>
pub fn log_anomaly_token(&self) -> Option<&str>
The token where the anomaly was detected. This may refer to an exception or another location, or it may be blank for log anomalies such as format anomalies.
sourcepub fn log_event_id(&self) -> Option<&str>
pub fn log_event_id(&self) -> Option<&str>
The ID of the log event.
sourcepub fn explanation(&self) -> Option<&str>
pub fn explanation(&self) -> Option<&str>
The explanation for why the log event is considered an anomaly.
sourcepub fn number_of_log_lines_occurrences(&self) -> i32
pub fn number_of_log_lines_occurrences(&self) -> i32
The number of log lines where this anomalous log event occurs.
sourcepub fn log_event_timestamp(&self) -> Option<&DateTime>
pub fn log_event_timestamp(&self) -> Option<&DateTime>
The time of the first occurrence of the anomalous log event.
source§impl LogAnomalyClass
impl LogAnomalyClass
sourcepub fn builder() -> LogAnomalyClassBuilder
pub fn builder() -> LogAnomalyClassBuilder
Creates a new builder-style object to manufacture LogAnomalyClass
.
Trait Implementations§
source§impl Clone for LogAnomalyClass
impl Clone for LogAnomalyClass
source§fn clone(&self) -> LogAnomalyClass
fn clone(&self) -> LogAnomalyClass
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for LogAnomalyClass
impl Debug for LogAnomalyClass
source§impl PartialEq for LogAnomalyClass
impl PartialEq for LogAnomalyClass
source§fn eq(&self, other: &LogAnomalyClass) -> bool
fn eq(&self, other: &LogAnomalyClass) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LogAnomalyClass
Auto Trait Implementations§
impl Freeze for LogAnomalyClass
impl RefUnwindSafe for LogAnomalyClass
impl Send for LogAnomalyClass
impl Sync for LogAnomalyClass
impl Unpin for LogAnomalyClass
impl UnwindSafe for LogAnomalyClass
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