Struct aws_sdk_rds::types::RecommendedAction
source · #[non_exhaustive]pub struct RecommendedAction {
pub action_id: Option<String>,
pub title: Option<String>,
pub description: Option<String>,
pub operation: Option<String>,
pub parameters: Option<Vec<RecommendedActionParameter>>,
pub apply_modes: Option<Vec<String>>,
pub status: Option<String>,
pub issue_details: Option<IssueDetails>,
pub context_attributes: Option<Vec<ContextAttribute>>,
}Expand description
The recommended actions to apply to resolve the issues associated with 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.action_id: Option<String>The unique identifier of the recommended action.
title: Option<String>A short description to summarize the action. The description might contain markdown.
description: Option<String>A detailed description of the action. The description might contain markdown.
operation: Option<String>An API operation for the action.
parameters: Option<Vec<RecommendedActionParameter>>The parameters for the API operation.
apply_modes: Option<Vec<String>>The methods to apply the recommended action.
Valid values:
-
manual- The action requires you to resolve the recommendation manually. -
immediately- The action is applied immediately. -
next-maintainance-window- The action is applied during the next scheduled maintainance.
status: Option<String>The status of the action.
-
ready -
applied -
scheduled -
resolved
issue_details: Option<IssueDetails>The details of the issue.
context_attributes: Option<Vec<ContextAttribute>>The supporting attributes to explain the recommended action.
Implementations§
source§impl RecommendedAction
impl RecommendedAction
sourcepub fn title(&self) -> Option<&str>
pub fn title(&self) -> Option<&str>
A short description to summarize the action. The description might contain markdown.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A detailed description of the action. The description might contain markdown.
sourcepub fn parameters(&self) -> &[RecommendedActionParameter]
pub fn parameters(&self) -> &[RecommendedActionParameter]
The parameters for the API operation.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .parameters.is_none().
sourcepub fn apply_modes(&self) -> &[String]
pub fn apply_modes(&self) -> &[String]
The methods to apply the recommended action.
Valid values:
-
manual- The action requires you to resolve the recommendation manually. -
immediately- The action is applied immediately. -
next-maintainance-window- The action is applied during the next scheduled maintainance.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .apply_modes.is_none().
sourcepub fn status(&self) -> Option<&str>
pub fn status(&self) -> Option<&str>
The status of the action.
-
ready -
applied -
scheduled -
resolved
sourcepub fn issue_details(&self) -> Option<&IssueDetails>
pub fn issue_details(&self) -> Option<&IssueDetails>
The details of the issue.
sourcepub fn context_attributes(&self) -> &[ContextAttribute]
pub fn context_attributes(&self) -> &[ContextAttribute]
The supporting attributes to explain the recommended action.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .context_attributes.is_none().
source§impl RecommendedAction
impl RecommendedAction
sourcepub fn builder() -> RecommendedActionBuilder
pub fn builder() -> RecommendedActionBuilder
Creates a new builder-style object to manufacture RecommendedAction.
Trait Implementations§
source§impl Clone for RecommendedAction
impl Clone for RecommendedAction
source§fn clone(&self) -> RecommendedAction
fn clone(&self) -> RecommendedAction
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for RecommendedAction
impl Debug for RecommendedAction
source§impl PartialEq for RecommendedAction
impl PartialEq for RecommendedAction
source§fn eq(&self, other: &RecommendedAction) -> bool
fn eq(&self, other: &RecommendedAction) -> bool
self and other values to be equal, and is used
by ==.