|
| 1 | +**To list performance analysis reports for a database** |
| 2 | + |
| 3 | +The following ``list-performance-analysis-reports`` example lists performance analysis reports for the database ``db-abcdefg123456789``. The response lists all the reports with the report ID, status, and time period details. :: |
| 4 | + |
| 5 | + aws pi list-performance-analysis-reports \ |
| 6 | + --service-type RDS \ |
| 7 | + --identifier db-abcdefg123456789 |
| 8 | + |
| 9 | +Output:: |
| 10 | + |
| 11 | + { |
| 12 | + "AnalysisReports": [ |
| 13 | + { |
| 14 | + "Status": "Succeeded", |
| 15 | + "EndTime": 1680587086.584, |
| 16 | + "CreateTime": 1680587087.139, |
| 17 | + "StartTime": 1680583486.584, |
| 18 | + "AnalysisReportId": "report-0d99cc91c4422ee61" |
| 19 | + }, |
| 20 | + { |
| 21 | + "Status": "Succeeded", |
| 22 | + "EndTime": 1681491137.914, |
| 23 | + "CreateTime": 1681491145.973, |
| 24 | + "StartTime": 1681487537.914, |
| 25 | + "AnalysisReportId": "report-002633115cc002233" |
| 26 | + }, |
| 27 | + { |
| 28 | + "Status": "Succeeded", |
| 29 | + "EndTime": 1681493499.849, |
| 30 | + "CreateTime": 1681493507.762, |
| 31 | + "StartTime": 1681489899.849, |
| 32 | + "AnalysisReportId": "report-043b1e006b47246f9" |
| 33 | + }, |
| 34 | + { |
| 35 | + "Status": "InProgress", |
| 36 | + "EndTime": 1682979503.0, |
| 37 | + "CreateTime": 1682979618.994, |
| 38 | + "StartTime": 1682969503.0, |
| 39 | + "AnalysisReportId": "report-01ad15f9b88bcbd56" |
| 40 | + } |
| 41 | + ] |
| 42 | + } |
| 43 | + |
| 44 | +For more information about performance analysis reports, see `Analyzing database performance for a period of time <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.UsingDashboard.AnalyzePerformanceTimePeriod.html>`__ in the *Amazon RDS User Guide* and `Analyzing database performance for a period of time <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_PerfInsights.UsingDashboard.AnalyzePerformanceTimePeriod.html>`__ in the *Amazon Aurora User Guide*. |
0 commit comments