Skip to content

Create Performance Analysis Report

pi_create_performance_analysis_report R Documentation

Creates a new performance analysis report for a specific time period for the DB instance

Description

Creates a new performance analysis report for a specific time period for the DB instance.

Usage

pi_create_performance_analysis_report(ServiceType, Identifier,
  StartTime, EndTime, Tags)

Arguments

ServiceType

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

Identifier

[required] An immutable, Amazon Web Services Region-unique identifier for a data source. Performance Insights gathers metrics from this data source.

To use an Amazon RDS instance as a data source, you specify its DbiResourceId value. For example, specify db-ADECBTYHKTSAUMUZQYPDS2GW4A.

StartTime

[required] The start time defined for the analysis report.

EndTime

[required] The end time defined for the analysis report.

Tags

The metadata assigned to the analysis report consisting of a key-value pair.

Value

A list with the following syntax:

list(
  AnalysisReportId = "string"
)

Request syntax

svc$create_performance_analysis_report(
  ServiceType = "RDS"|"DOCDB",
  Identifier = "string",
  StartTime = as.POSIXct(
    "2015-01-01"
  ),
  EndTime = as.POSIXct(
    "2015-01-01"
  ),
  Tags = list(
    list(
      Key = "string",
      Value = "string"
    )
  )
)