list_performance_analysis_report_recommendations
¶
list_performance_analysis_report_recommendations(
service_type: ServiceType,
identifier: IdentifierString,
analysis_report_id: AnalysisReportId,
*,
config_overrides: Optional[PIClientConfig] = None,
recommendation_ids: Optional[RecommendationIdList] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[NextToken] = None,
) -> ListPerformanceAnalysisReportRecommendationsResponse
Retrieves recommendations for a performance analysis report.
Parameters:
-
service_type(ServiceType) –The Amazon Web Services service for which Performance Insights returns metrics. Valid value is
RDS. -
identifier(IdentifierString) –An immutable identifier for a data source that is unique for an Amazon Web Services Region. Performance Insights gathers metrics from this data source. In the console, the identifier is shown as ResourceID. When you call
DescribeDBInstances, the identifier is returned asDbiResourceId.To use a DB instance as a data source, specify its
DbiResourceIdvalue. For example, specifydb-ABCDEFGHIJKLMNOPQRSTU1VW2X. -
analysis_report_id(AnalysisReportId) –A unique identifier of the created analysis report. For example,
report-12345678901234567 -
recommendation_ids(Optional[RecommendationIdList], default:None) –A list of recommendation identifiers to filter the results.
-
max_results(Optional[MaxResults], default:None) –The maximum number of items to return in the response. If more items exist than the specified
MaxResultsvalue, a pagination token is included in the response so that the remaining results can be retrieved. -
next_token(Optional[NextToken], default:None) –An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the token, up to the value specified by
MaxResults.
Raises:
-
InternalServiceError–The request failed due to an unknown error.
-
InvalidArgumentException–One of the arguments provided is invalid for this request.
-
NotAuthorizedException–The user is not authorized to perform this request.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_pi/_services/pi.py
928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 | |