list_performance_analysis_reports
async
¶
list_performance_analysis_reports(
service_type: ServiceType,
identifier: IdentifierString,
*,
config_overrides: Optional[AsyncPIClientConfig] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[MaxResults] = None,
list_tags: Optional[Boolean] = None,
) -> ListPerformanceAnalysisReportsResponse
Lists all the analysis reports created for the DB instance. The reports are sorted based on the start time of each 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. -
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. -
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. -
list_tags(Optional[Boolean], default:None) –Specifies whether or not to include the list of tags in the response.
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
1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 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 | |