Skip to content

RDS  >  Operations  >  modify_db_recommendation

modify_db_recommendation

Operation

modify_db_recommendation async

modify_db_recommendation(input: ModifyDBRecommendationInput, plugins: list[Plugin] | None = None) -> ModifyDBRecommendationOutput

Updates the recommendation status and recommended action status for the specified recommendation.

Parameters:

Name Type Description Default
input ModifyDBRecommendationInput

An instance of ModifyDBRecommendationInput.

required
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None

Returns:

Type Description
ModifyDBRecommendationOutput

An instance of ModifyDBRecommendationOutput.

Input

ModifyDBRecommendationInput dataclass

Bases: _SerdeShape

Dataclass for ModifyDBRecommendationInput structure.

Attributes

locale class-attribute instance-attribute
locale: str | None = ...

The language of the modified recommendation.

recommendation_id class-attribute instance-attribute
recommendation_id: str | None = ...

The identifier of the recommendation to update.

recommended_action_updates class-attribute instance-attribute
recommended_action_updates: list[RecommendedActionUpdate] | None = ...

The list of recommended action status to update. You can update multiple recommended actions at one time.

status class-attribute instance-attribute
status: str | None = ...

The recommendation status to update.

Valid values:

  • active

  • dismissed

Output

ModifyDBRecommendationOutput dataclass

Bases: _SerdeShape

Dataclass for ModifyDBRecommendationOutput structure.

Attributes

db_recommendation class-attribute instance-attribute
db_recommendation: DBRecommendation | None = ...

The recommendation for your DB instances, DB clusters, and DB parameter groups.

response_metadata class-attribute instance-attribute
response_metadata: ResponseMetadata = ...

Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.