PI / Client / delete_performance_analysis_report
delete_performance_analysis_report#
- PI.Client.delete_performance_analysis_report(**kwargs)#
Deletes a performance analysis report.
See also: AWS API Documentation
Request Syntax
response = client.delete_performance_analysis_report( ServiceType='RDS'|'DOCDB', Identifier='string', AnalysisReportId='string' )
- Parameters:
ServiceType (string) –
[REQUIRED]
The Amazon Web Services service for which Performance Insights will return metrics. Valid value is
RDS
.Identifier (string) –
[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 asDbiResourceId
.To use a DB instance as a data source, specify its
DbiResourceId
value. For example, specifydb-ABCDEFGHIJKLMNOPQRSTU1VW2X
.AnalysisReportId (string) –
[REQUIRED]
The unique identifier of the analysis report for deletion.
- Return type:
dict
- Returns:
Response Syntax
{}
Response Structure
(dict) –
Exceptions
PI.Client.exceptions.InvalidArgumentException
PI.Client.exceptions.InternalServiceError
PI.Client.exceptions.NotAuthorizedException