describe_db_recommendations
¶
describe_db_recommendations(
*,
config_overrides: Optional[RDSClientConfig] = None,
last_updated_after: Optional[TStamp] = None,
last_updated_before: Optional[TStamp] = None,
locale: Optional[String] = None,
filters: Optional[FilterList] = None,
max_records: Optional[IntegerOptional] = None,
marker: Optional[String] = None,
) -> DBRecommendationsMessage
Describes the recommendations to resolve the issues for your DB instances, DB clusters, and DB parameter groups.
Parameters:
-
last_updated_after(Optional[TStamp], default:None) –A filter to include only the recommendations that were updated after this specified time.
-
last_updated_before(Optional[TStamp], default:None) –A filter to include only the recommendations that were updated before this specified time.
-
locale(Optional[String], default:None) –The language that you choose to return the list of recommendations.
Valid values:
-
en -
en_UK -
de -
es -
fr -
id -
it -
ja -
ko -
pt_BR -
zh_TW -
zh_CN
-
-
filters(Optional[FilterList], default:None) –A filter that specifies one or more recommendations to describe.
Supported Filters:
-
recommendation-id- Accepts a list of recommendation identifiers. The results list only includes the recommendations whose identifier is one of the specified filter values. -
status- Accepts a list of recommendation statuses.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.
The results list only includes the recommendations whose status is one of the specified filter values.
-
-
severity- Accepts a list of recommendation severities. The results list only includes the recommendations whose severity is one of the specified filter values.Valid values:
-
high -
medium -
low -
informational
-
-
type-id- Accepts a list of recommendation type identifiers. The results list only includes the recommendations whose type is one of the specified filter values. -
dbi-resource-id- Accepts a list of database resource identifiers. The results list only includes the recommendations that generated for the specified databases. -
cluster-resource-id- Accepts a list of cluster resource identifiers. The results list only includes the recommendations that generated for the specified clusters. -
pg-arn- Accepts a list of parameter group ARNs. The results list only includes the recommendations that generated for the specified parameter groups. -
cluster-pg-arn- Accepts a list of cluster parameter group ARNs. The results list only includes the recommendations that generated for the specified cluster parameter groups.
-
-
max_records(Optional[IntegerOptional], default:None) –The maximum number of recommendations to include in the response. If more records exist than the specified
MaxRecordsvalue, a pagination token called a marker is included in the response so that you can retrieve the remaining results. -
marker(Optional[String], default:None) –An optional pagination token provided by a previous
DescribeDBRecommendationsrequest. If this parameter is specified, the response includes only records beyond the marker, up to the value specified byMaxRecords.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_rds/_services/rds.py
7706 7707 7708 7709 7710 7711 7712 7713 7714 7715 7716 7717 7718 7719 7720 7721 7722 7723 7724 7725 7726 7727 7728 7729 7730 7731 7732 7733 7734 7735 7736 7737 7738 7739 7740 7741 7742 7743 7744 7745 7746 7747 7748 7749 7750 7751 7752 7753 7754 7755 7756 7757 7758 7759 7760 7761 7762 7763 7764 7765 7766 7767 7768 | |