describe_db_recommendations
async
¶
describe_db_recommendations(
*,
config_overrides: Optional[AsyncRDSClientConfig] = 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/async_rds.py
7794 7795 7796 7797 7798 7799 7800 7801 7802 7803 7804 7805 7806 7807 7808 7809 7810 7811 7812 7813 7814 7815 7816 7817 7818 7819 7820 7821 7822 7823 7824 7825 7826 7827 7828 7829 7830 7831 7832 7833 7834 7835 7836 7837 7838 7839 7840 7841 7842 7843 7844 7845 7846 7847 7848 7849 7850 7851 7852 7853 7854 7855 7856 7857 | |