Struct aws_sdk_rds::types::DbRecommendation
source · #[non_exhaustive]pub struct DbRecommendation {Show 20 fields
pub recommendation_id: Option<String>,
pub type_id: Option<String>,
pub severity: Option<String>,
pub resource_arn: Option<String>,
pub status: Option<String>,
pub created_time: Option<DateTime>,
pub updated_time: Option<DateTime>,
pub detection: Option<String>,
pub recommendation: Option<String>,
pub description: Option<String>,
pub reason: Option<String>,
pub recommended_actions: Option<Vec<RecommendedAction>>,
pub category: Option<String>,
pub source: Option<String>,
pub type_detection: Option<String>,
pub type_recommendation: Option<String>,
pub impact: Option<String>,
pub additional_info: Option<String>,
pub links: Option<Vec<DocLink>>,
pub issue_details: Option<IssueDetails>,
}Expand description
The recommendation for your DB instances, DB clusters, and DB parameter groups.
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.recommendation_id: Option<String>The unique identifier of the recommendation.
type_id: Option<String>A value that indicates the type of recommendation. This value determines how the description is rendered.
severity: Option<String>The severity level of the recommendation. The severity level can help you decide the urgency with which to address the recommendation.
Valid values:
-
high -
medium -
low -
informational
resource_arn: Option<String>The Amazon Resource Name (ARN) of the RDS resource associated with the recommendation.
status: Option<String>The current status of the recommendation.
Valid values:
-
active- The recommendations which are ready for you to apply. -
pending- The applied or scheduled recommendations which are in progress. -
resolved- The recommendations which are completed. -
dismissed- The recommendations that you dismissed.
created_time: Option<DateTime>The time when the recommendation was created. For example, 2023-09-28T01:13:53.931000+00:00.
updated_time: Option<DateTime>The time when the recommendation was last updated.
detection: Option<String>A short description of the issue identified for this recommendation. The description might contain markdown.
recommendation: Option<String>A short description of the recommendation to resolve an issue. The description might contain markdown.
description: Option<String>A detailed description of the recommendation. The description might contain markdown.
reason: Option<String>The reason why this recommendation was created. The information might contain markdown.
recommended_actions: Option<Vec<RecommendedAction>>A list of recommended actions.
category: Option<String>The category of the recommendation.
Valid values:
-
performance efficiency -
security -
reliability -
cost optimization -
operational excellence -
sustainability
source: Option<String>The Amazon Web Services service that generated the recommendations.
type_detection: Option<String>A short description of the recommendation type. The description might contain markdown.
type_recommendation: Option<String>A short description that summarizes the recommendation to fix all the issues of the recommendation type. The description might contain markdown.
impact: Option<String>A short description that explains the possible impact of an issue.
additional_info: Option<String>Additional information about the recommendation. The information might contain markdown.
links: Option<Vec<DocLink>>A link to documentation that provides additional information about the recommendation.
issue_details: Option<IssueDetails>Details of the issue that caused the recommendation.
Implementations§
source§impl DbRecommendation
impl DbRecommendation
sourcepub fn recommendation_id(&self) -> Option<&str>
pub fn recommendation_id(&self) -> Option<&str>
The unique identifier of the recommendation.
sourcepub fn type_id(&self) -> Option<&str>
pub fn type_id(&self) -> Option<&str>
A value that indicates the type of recommendation. This value determines how the description is rendered.
sourcepub fn severity(&self) -> Option<&str>
pub fn severity(&self) -> Option<&str>
The severity level of the recommendation. The severity level can help you decide the urgency with which to address the recommendation.
Valid values:
-
high -
medium -
low -
informational
sourcepub fn resource_arn(&self) -> Option<&str>
pub fn resource_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the RDS resource associated with the recommendation.
sourcepub fn status(&self) -> Option<&str>
pub fn status(&self) -> Option<&str>
The current status of the recommendation.
Valid values:
-
active- The recommendations which are ready for you to apply. -
pending- The applied or scheduled recommendations which are in progress. -
resolved- The recommendations which are completed. -
dismissed- The recommendations that you dismissed.
sourcepub fn created_time(&self) -> Option<&DateTime>
pub fn created_time(&self) -> Option<&DateTime>
The time when the recommendation was created. For example, 2023-09-28T01:13:53.931000+00:00.
sourcepub fn updated_time(&self) -> Option<&DateTime>
pub fn updated_time(&self) -> Option<&DateTime>
The time when the recommendation was last updated.
sourcepub fn detection(&self) -> Option<&str>
pub fn detection(&self) -> Option<&str>
A short description of the issue identified for this recommendation. The description might contain markdown.
sourcepub fn recommendation(&self) -> Option<&str>
pub fn recommendation(&self) -> Option<&str>
A short description of the recommendation to resolve an issue. The description might contain markdown.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A detailed description of the recommendation. The description might contain markdown.
sourcepub fn reason(&self) -> Option<&str>
pub fn reason(&self) -> Option<&str>
The reason why this recommendation was created. The information might contain markdown.
sourcepub fn recommended_actions(&self) -> &[RecommendedAction]
pub fn recommended_actions(&self) -> &[RecommendedAction]
A list of recommended actions.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .recommended_actions.is_none().
sourcepub fn category(&self) -> Option<&str>
pub fn category(&self) -> Option<&str>
The category of the recommendation.
Valid values:
-
performance efficiency -
security -
reliability -
cost optimization -
operational excellence -
sustainability
sourcepub fn source(&self) -> Option<&str>
pub fn source(&self) -> Option<&str>
The Amazon Web Services service that generated the recommendations.
sourcepub fn type_detection(&self) -> Option<&str>
pub fn type_detection(&self) -> Option<&str>
A short description of the recommendation type. The description might contain markdown.
sourcepub fn type_recommendation(&self) -> Option<&str>
pub fn type_recommendation(&self) -> Option<&str>
A short description that summarizes the recommendation to fix all the issues of the recommendation type. The description might contain markdown.
sourcepub fn impact(&self) -> Option<&str>
pub fn impact(&self) -> Option<&str>
A short description that explains the possible impact of an issue.
sourcepub fn additional_info(&self) -> Option<&str>
pub fn additional_info(&self) -> Option<&str>
Additional information about the recommendation. The information might contain markdown.
sourcepub fn links(&self) -> &[DocLink]
pub fn links(&self) -> &[DocLink]
A link to documentation that provides additional information about the recommendation.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .links.is_none().
sourcepub fn issue_details(&self) -> Option<&IssueDetails>
pub fn issue_details(&self) -> Option<&IssueDetails>
Details of the issue that caused the recommendation.
source§impl DbRecommendation
impl DbRecommendation
sourcepub fn builder() -> DbRecommendationBuilder
pub fn builder() -> DbRecommendationBuilder
Creates a new builder-style object to manufacture DbRecommendation.
Trait Implementations§
source§impl Clone for DbRecommendation
impl Clone for DbRecommendation
source§fn clone(&self) -> DbRecommendation
fn clone(&self) -> DbRecommendation
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DbRecommendation
impl Debug for DbRecommendation
source§impl PartialEq for DbRecommendation
impl PartialEq for DbRecommendation
source§fn eq(&self, other: &DbRecommendation) -> bool
fn eq(&self, other: &DbRecommendation) -> bool
self and other values to be equal, and is used
by ==.