PI#
Client#
- class PI.Client#
A low-level client representing AWS Performance Insights (PI)
Amazon RDS Performance Insights enables you to monitor and explore different dimensions of database load based on data captured from a running DB instance. The guide provides detailed information about Performance Insights data types, parameters and errors.
When Performance Insights is enabled, the Amazon RDS Performance Insights API provides visibility into the performance of your DB instance. Amazon CloudWatch provides the authoritative source for Amazon Web Services service-vended monitoring metrics. Performance Insights offers a domain-specific view of DB load.
DB load is measured as average active sessions. Performance Insights provides the data to API consumers as a two-dimensional time-series dataset. The time dimension provides DB load data for each time point in the queried time range. Each time point decomposes overall load in relation to the requested dimensions, measured at that time point. Examples include SQL, Wait event, User, and Host.
To learn more about Performance Insights and Amazon Aurora DB instances, go to the Amazon Aurora User Guide .
To learn more about Performance Insights and Amazon RDS DB instances, go to the Amazon RDS User Guide .
To learn more about Performance Insights and Amazon DocumentDB clusters, go to the Amazon DocumentDB Developer Guide .
client = session.create_client('pi')
These are the available methods:
- can_paginate
- close
- create_performance_analysis_report
- delete_performance_analysis_report
- describe_dimension_keys
- get_dimension_key_details
- get_paginator
- get_performance_analysis_report
- get_resource_metadata
- get_resource_metrics
- get_waiter
- list_available_resource_dimensions
- list_available_resource_metrics
- list_performance_analysis_reports
- list_tags_for_resource
- tag_resource
- untag_resource
Client Exceptions#
Client exceptions are available on a client instance via the exceptions
property. For more detailed instructions and examples on the exact usage of client exceptions, see the error handling user guide.
The available client exceptions are: