modify_db_recommendation¶
Operation¶
modify_db_recommendation
¶
modify_db_recommendation(request: ModifyDBRecommendationInput | ModifyDBRecommendationInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[ModifyDBRecommendationInputDict]) -> ModifyDBRecommendationOutput
Updates the recommendation status and recommended action status for the specified recommendation.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
request
|
ModifyDBRecommendationInput | ModifyDBRecommendationInputDict | None
|
The input as a model or dictionary. Pass this or keyword arguments, not both. |
None
|
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
|
**kwargs
|
Unpack[ModifyDBRecommendationInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
ModifyDBRecommendationOutput
|
An instance of |
modify_db_recommendation
async
¶
modify_db_recommendation(request: ModifyDBRecommendationInput | ModifyDBRecommendationInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[ModifyDBRecommendationInputDict]) -> ModifyDBRecommendationOutput
Updates the recommendation status and recommended action status for the specified recommendation.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
request
|
ModifyDBRecommendationInput | ModifyDBRecommendationInputDict | None
|
The input as a model or dictionary. Pass this or keyword arguments, not both. |
None
|
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
|
**kwargs
|
Unpack[ModifyDBRecommendationInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
ModifyDBRecommendationOutput
|
An instance of |
Input¶
Pass the input as keyword arguments, a positional dictionary, or a positional model object. Pass plugins separately as a keyword argument.
ModifyDBRecommendationInputDict
¶
Bases: TypedDict
Dictionary form of ModifyDBRecommendationInput.
Attributes¶
recommendation_id
instance-attribute
¶
The identifier of the recommendation to update.
recommended_action_updates
instance-attribute
¶
recommended_action_updates: Sequence[RecommendedActionUpdate | RecommendedActionUpdateDict] | None
The list of recommended action status to update. You can update multiple recommended actions at one time.
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.
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
¶
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.