Struct aws_sdk_applicationinsights::types::Observation
source · #[non_exhaustive]pub struct Observation { /* private fields */ }
Expand description
Describes an anomaly or error with the application.
Implementations§
source§impl Observation
impl Observation
sourcepub fn start_time(&self) -> Option<&DateTime>
pub fn start_time(&self) -> Option<&DateTime>
The time when the observation was first detected, in epoch seconds.
sourcepub fn end_time(&self) -> Option<&DateTime>
pub fn end_time(&self) -> Option<&DateTime>
The time when the observation ended, in epoch seconds.
sourcepub fn source_type(&self) -> Option<&str>
pub fn source_type(&self) -> Option<&str>
The source type of the observation.
sourcepub fn source_arn(&self) -> Option<&str>
pub fn source_arn(&self) -> Option<&str>
The source resource ARN of the observation.
sourcepub fn line_time(&self) -> Option<&DateTime>
pub fn line_time(&self) -> Option<&DateTime>
The timestamp in the CloudWatch Logs that specifies when the matched line occurred.
sourcepub fn log_filter(&self) -> Option<&LogFilter>
pub fn log_filter(&self) -> Option<&LogFilter>
The log filter of the observation.
sourcepub fn metric_namespace(&self) -> Option<&str>
pub fn metric_namespace(&self) -> Option<&str>
The namespace of the observation metric.
sourcepub fn metric_name(&self) -> Option<&str>
pub fn metric_name(&self) -> Option<&str>
The name of the observation metric.
sourcepub fn cloud_watch_event_id(&self) -> Option<&str>
pub fn cloud_watch_event_id(&self) -> Option<&str>
The ID of the CloudWatch Event-based observation related to the detected problem.
sourcepub fn cloud_watch_event_source(&self) -> Option<&CloudWatchEventSource>
pub fn cloud_watch_event_source(&self) -> Option<&CloudWatchEventSource>
The source of the CloudWatch Event.
sourcepub fn cloud_watch_event_detail_type(&self) -> Option<&str>
pub fn cloud_watch_event_detail_type(&self) -> Option<&str>
The detail type of the CloudWatch Event-based observation, for example, EC2 Instance State-change Notification
.
sourcepub fn health_event_arn(&self) -> Option<&str>
pub fn health_event_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the AWS Health Event-based observation.
sourcepub fn health_service(&self) -> Option<&str>
pub fn health_service(&self) -> Option<&str>
The service to which the AWS Health Event belongs, such as EC2.
sourcepub fn health_event_type_code(&self) -> Option<&str>
pub fn health_event_type_code(&self) -> Option<&str>
The type of the AWS Health event, for example, AWS_EC2_POWER_CONNECTIVITY_ISSUE
.
sourcepub fn health_event_type_category(&self) -> Option<&str>
pub fn health_event_type_category(&self) -> Option<&str>
The category of the AWS Health event, such as issue
.
sourcepub fn health_event_description(&self) -> Option<&str>
pub fn health_event_description(&self) -> Option<&str>
The description of the AWS Health event provided by the service, such as Amazon EC2.
sourcepub fn code_deploy_deployment_id(&self) -> Option<&str>
pub fn code_deploy_deployment_id(&self) -> Option<&str>
The deployment ID of the CodeDeploy-based observation related to the detected problem.
sourcepub fn code_deploy_deployment_group(&self) -> Option<&str>
pub fn code_deploy_deployment_group(&self) -> Option<&str>
The deployment group to which the CodeDeploy deployment belongs.
sourcepub fn code_deploy_state(&self) -> Option<&str>
pub fn code_deploy_state(&self) -> Option<&str>
The status of the CodeDeploy deployment, for example SUCCESS
or FAILURE
.
sourcepub fn code_deploy_application(&self) -> Option<&str>
pub fn code_deploy_application(&self) -> Option<&str>
The CodeDeploy application to which the deployment belongs.
sourcepub fn code_deploy_instance_group_id(&self) -> Option<&str>
pub fn code_deploy_instance_group_id(&self) -> Option<&str>
The instance group to which the CodeDeploy instance belongs.
sourcepub fn ec2_state(&self) -> Option<&str>
pub fn ec2_state(&self) -> Option<&str>
The state of the instance, such as STOPPING
or TERMINATING
.
sourcepub fn rds_event_categories(&self) -> Option<&str>
pub fn rds_event_categories(&self) -> Option<&str>
The category of an RDS event.
sourcepub fn rds_event_message(&self) -> Option<&str>
pub fn rds_event_message(&self) -> Option<&str>
The message of an RDS event.
sourcepub fn s3_event_name(&self) -> Option<&str>
pub fn s3_event_name(&self) -> Option<&str>
The name of the S3 CloudWatch Event-based observation.
sourcepub fn states_execution_arn(&self) -> Option<&str>
pub fn states_execution_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the step function execution-based observation.
sourcepub fn states_arn(&self) -> Option<&str>
pub fn states_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the step function-based observation.
sourcepub fn states_status(&self) -> Option<&str>
pub fn states_status(&self) -> Option<&str>
The status of the step function-related observation.
sourcepub fn states_input(&self) -> Option<&str>
pub fn states_input(&self) -> Option<&str>
The input to the step function-based observation.
sourcepub fn ebs_event(&self) -> Option<&str>
pub fn ebs_event(&self) -> Option<&str>
The type of EBS CloudWatch event, such as createVolume
, deleteVolume
or attachVolume
.
sourcepub fn ebs_result(&self) -> Option<&str>
pub fn ebs_result(&self) -> Option<&str>
The result of an EBS CloudWatch event, such as failed
or succeeded
.
sourcepub fn ebs_request_id(&self) -> Option<&str>
pub fn ebs_request_id(&self) -> Option<&str>
The request ID of an EBS CloudWatch event.
sourcepub fn x_ray_fault_percent(&self) -> Option<i32>
pub fn x_ray_fault_percent(&self) -> Option<i32>
The X-Ray request fault percentage for this node.
sourcepub fn x_ray_throttle_percent(&self) -> Option<i32>
pub fn x_ray_throttle_percent(&self) -> Option<i32>
The X-Ray request throttle percentage for this node.
sourcepub fn x_ray_error_percent(&self) -> Option<i32>
pub fn x_ray_error_percent(&self) -> Option<i32>
The X-Ray request error percentage for this node.
sourcepub fn x_ray_request_count(&self) -> Option<i32>
pub fn x_ray_request_count(&self) -> Option<i32>
The X-Ray request count for this node.
sourcepub fn x_ray_request_average_latency(&self) -> Option<i64>
pub fn x_ray_request_average_latency(&self) -> Option<i64>
The X-Ray node request average latency for this node.
sourcepub fn x_ray_node_name(&self) -> Option<&str>
pub fn x_ray_node_name(&self) -> Option<&str>
The name of the X-Ray node.
sourcepub fn x_ray_node_type(&self) -> Option<&str>
pub fn x_ray_node_type(&self) -> Option<&str>
The type of the X-Ray node.
source§impl Observation
impl Observation
sourcepub fn builder() -> ObservationBuilder
pub fn builder() -> ObservationBuilder
Creates a new builder-style object to manufacture Observation
.
Trait Implementations§
source§impl Clone for Observation
impl Clone for Observation
source§fn clone(&self) -> Observation
fn clone(&self) -> Observation
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for Observation
impl Debug for Observation
source§impl PartialEq<Observation> for Observation
impl PartialEq<Observation> for Observation
source§fn eq(&self, other: &Observation) -> bool
fn eq(&self, other: &Observation) -> bool
self
and other
values to be equal, and is used
by ==
.