Skip to content

List Performance Analysis Reports

pi_list_performance_analysis_reports R Documentation

Lists all the analysis reports created for the DB instance

Description

Lists all the analysis reports created for the DB instance. The reports are sorted based on the start time of each report.

Usage

pi_list_performance_analysis_reports(ServiceType, Identifier, NextToken,
  MaxResults, ListTags)

Arguments

ServiceType

[required] The Amazon Web Services service for which Performance Insights returns metrics. Valid value is RDS.

Identifier

[required] 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 as DbiResourceId.

To use a DB instance as a data source, specify its DbiResourceId value. For example, specify db-ABCDEFGHIJKLMNOPQRSTU1VW2X.

NextToken

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.

MaxResults

The maximum number of items to return in the response. If more items exist than the specified MaxResults value, a pagination token is included in the response so that the remaining results can be retrieved.

ListTags

Specifies whether or not to include the list of tags in the response.

Value

A list with the following syntax:

list(
  AnalysisReports = list(
    list(
      AnalysisReportId = "string",
      CreateTime = as.POSIXct(
        "2015-01-01"
      ),
      StartTime = as.POSIXct(
        "2015-01-01"
      ),
      EndTime = as.POSIXct(
        "2015-01-01"
      ),
      Status = "RUNNING"|"SUCCEEDED"|"FAILED",
      Tags = list(
        list(
          Key = "string",
          Value = "string"
        )
      )
    )
  ),
  NextToken = "string"
)

Request syntax

svc$list_performance_analysis_reports(
  ServiceType = "RDS"|"DOCDB",
  Identifier = "string",
  NextToken = "string",
  MaxResults = 123,
  ListTags = TRUE|FALSE
)