Struct aws_sdk_eks::types::Insight
source · #[non_exhaustive]pub struct Insight {
pub id: Option<String>,
pub name: Option<String>,
pub category: Option<Category>,
pub kubernetes_version: Option<String>,
pub last_refresh_time: Option<DateTime>,
pub last_transition_time: Option<DateTime>,
pub description: Option<String>,
pub insight_status: Option<InsightStatus>,
pub recommendation: Option<String>,
pub additional_info: Option<HashMap<String, String>>,
pub resources: Option<Vec<InsightResourceDetail>>,
pub category_specific_summary: Option<InsightCategorySpecificSummary>,
}
Expand description
A check that provides recommendations to remedy potential upgrade-impacting issues.
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.id: Option<String>
The ID of the insight.
name: Option<String>
The name of the insight.
category: Option<Category>
The category of the insight.
kubernetes_version: Option<String>
The Kubernetes minor version associated with an insight if applicable.
last_refresh_time: Option<DateTime>
The time Amazon EKS last successfully completed a refresh of this insight check on the cluster.
last_transition_time: Option<DateTime>
The time the status of the insight last changed.
description: Option<String>
The description of the insight which includes alert criteria, remediation recommendation, and additional resources (contains Markdown).
insight_status: Option<InsightStatus>
An object containing more detail on the status of the insight resource.
recommendation: Option<String>
A summary of how to remediate the finding of this insight if applicable.
additional_info: Option<HashMap<String, String>>
Links to sources that provide additional context on the insight.
resources: Option<Vec<InsightResourceDetail>>
The details about each resource listed in the insight check result.
category_specific_summary: Option<InsightCategorySpecificSummary>
Summary information that relates to the category of the insight. Currently only returned with certain insights having category UPGRADE_READINESS
.
Implementations§
source§impl Insight
impl Insight
sourcepub fn kubernetes_version(&self) -> Option<&str>
pub fn kubernetes_version(&self) -> Option<&str>
The Kubernetes minor version associated with an insight if applicable.
sourcepub fn last_refresh_time(&self) -> Option<&DateTime>
pub fn last_refresh_time(&self) -> Option<&DateTime>
The time Amazon EKS last successfully completed a refresh of this insight check on the cluster.
sourcepub fn last_transition_time(&self) -> Option<&DateTime>
pub fn last_transition_time(&self) -> Option<&DateTime>
The time the status of the insight last changed.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the insight which includes alert criteria, remediation recommendation, and additional resources (contains Markdown).
sourcepub fn insight_status(&self) -> Option<&InsightStatus>
pub fn insight_status(&self) -> Option<&InsightStatus>
An object containing more detail on the status of the insight resource.
sourcepub fn recommendation(&self) -> Option<&str>
pub fn recommendation(&self) -> Option<&str>
A summary of how to remediate the finding of this insight if applicable.
sourcepub fn additional_info(&self) -> Option<&HashMap<String, String>>
pub fn additional_info(&self) -> Option<&HashMap<String, String>>
Links to sources that provide additional context on the insight.
sourcepub fn resources(&self) -> &[InsightResourceDetail]
pub fn resources(&self) -> &[InsightResourceDetail]
The details about each resource listed in the insight check result.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .resources.is_none()
.
sourcepub fn category_specific_summary(
&self
) -> Option<&InsightCategorySpecificSummary>
pub fn category_specific_summary( &self ) -> Option<&InsightCategorySpecificSummary>
Summary information that relates to the category of the insight. Currently only returned with certain insights having category UPGRADE_READINESS
.