create_performance_analysis_report
¶
create_performance_analysis_report(
service_type: ServiceType,
identifier: IdentifierString,
start_time: ISOTimestamp,
*,
config_overrides: Optional[PIClientConfig] = None,
end_time: Optional[ISOTimestamp] = None,
tags: Optional[TagList] = None,
) -> CreatePerformanceAnalysisReportResponse
Creates a new performance analysis report for a specific time period for the DB instance.
Parameters:
-
service_type(ServiceType) –The Amazon Web Services service for which Performance Insights will return metrics. Valid value is
RDS. -
identifier(IdentifierString) –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
DbiResourceIdvalue. For example, specifydb-ADECBTYHKTSAUMUZQYPDS2GW4A. -
start_time(ISOTimestamp) –The start time defined for the analysis report.
-
end_time(Optional[ISOTimestamp], default:None) –The end time defined for the analysis report.
-
tags(Optional[TagList], default:None) –The metadata assigned to the analysis report consisting of a key-value pair.
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.