#[non_exhaustive]pub struct GetHealthEventOutput {
pub event_arn: String,
pub event_id: String,
pub started_at: DateTime,
pub ended_at: Option<DateTime>,
pub created_at: Option<DateTime>,
pub last_updated_at: DateTime,
pub impacted_locations: Vec<ImpactedLocation>,
pub status: HealthEventStatus,
pub percent_of_total_traffic_impacted: Option<f64>,
pub impact_type: HealthEventImpactType,
pub health_score_threshold: f64,
/* private fields */
}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.event_arn: StringThe Amazon Resource Name (ARN) of the event.
event_id: StringThe internally generated identifier of a health event.
started_at: DateTimeThe time when a health event started.
ended_at: Option<DateTime>The time when a health event was resolved. If the health event is still active, the end time is not set.
created_at: Option<DateTime>The time when a health event was created.
last_updated_at: DateTimeThe time when a health event was last updated or recalculated.
impacted_locations: Vec<ImpactedLocation>The locations affected by a health event.
status: HealthEventStatusThe status of a health event.
percent_of_total_traffic_impacted: Option<f64>The impact on total traffic that a health event has, in increased latency or reduced availability. This is the percentage of how much latency has increased or availability has decreased during the event, compared to what is typical for traffic from this client location to the Amazon Web Services location using this client network.
impact_type: HealthEventImpactTypeThe type of impairment of a specific health event.
health_score_threshold: f64The threshold percentage for a health score that determines, along with other configuration information, when Internet Monitor creates a health event when there's an internet issue that affects your application end users.
Implementations§
source§impl GetHealthEventOutput
impl GetHealthEventOutput
sourcepub fn started_at(&self) -> &DateTime
pub fn started_at(&self) -> &DateTime
The time when a health event started.
sourcepub fn ended_at(&self) -> Option<&DateTime>
pub fn ended_at(&self) -> Option<&DateTime>
The time when a health event was resolved. If the health event is still active, the end time is not set.
sourcepub fn created_at(&self) -> Option<&DateTime>
pub fn created_at(&self) -> Option<&DateTime>
The time when a health event was created.
sourcepub fn last_updated_at(&self) -> &DateTime
pub fn last_updated_at(&self) -> &DateTime
The time when a health event was last updated or recalculated.
sourcepub fn impacted_locations(&self) -> &[ImpactedLocation]
pub fn impacted_locations(&self) -> &[ImpactedLocation]
The locations affected by a health event.
sourcepub fn status(&self) -> &HealthEventStatus
pub fn status(&self) -> &HealthEventStatus
The status of a health event.
sourcepub fn percent_of_total_traffic_impacted(&self) -> Option<f64>
pub fn percent_of_total_traffic_impacted(&self) -> Option<f64>
The impact on total traffic that a health event has, in increased latency or reduced availability. This is the percentage of how much latency has increased or availability has decreased during the event, compared to what is typical for traffic from this client location to the Amazon Web Services location using this client network.
sourcepub fn impact_type(&self) -> &HealthEventImpactType
pub fn impact_type(&self) -> &HealthEventImpactType
The type of impairment of a specific health event.
sourcepub fn health_score_threshold(&self) -> f64
pub fn health_score_threshold(&self) -> f64
The threshold percentage for a health score that determines, along with other configuration information, when Internet Monitor creates a health event when there's an internet issue that affects your application end users.
source§impl GetHealthEventOutput
impl GetHealthEventOutput
sourcepub fn builder() -> GetHealthEventOutputBuilder
pub fn builder() -> GetHealthEventOutputBuilder
Creates a new builder-style object to manufacture GetHealthEventOutput.
Trait Implementations§
source§impl Clone for GetHealthEventOutput
impl Clone for GetHealthEventOutput
source§fn clone(&self) -> GetHealthEventOutput
fn clone(&self) -> GetHealthEventOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for GetHealthEventOutput
impl Debug for GetHealthEventOutput
source§impl PartialEq for GetHealthEventOutput
impl PartialEq for GetHealthEventOutput
source§fn eq(&self, other: &GetHealthEventOutput) -> bool
fn eq(&self, other: &GetHealthEventOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for GetHealthEventOutput
impl RequestId for GetHealthEventOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.