list_performance_analysis_report_recommendations
async
¶
list_performance_analysis_report_recommendations(
service_type: ServiceType,
identifier: IdentifierString,
analysis_report_id: AnalysisReportId,
*,
config_overrides: Optional[AsyncPIClientConfig] = 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/async_pi.py
1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 | |