PiClient

interface PiClient : SdkClient

Amazon RDS Performance Insights

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.

Properties

Link copied to clipboard
abstract override val config: PiClient.Config

PiClient's configuration

Functions

Link copied to clipboard

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

Link copied to clipboard
Link copied to clipboard

For a specific time period, retrieve the top N dimension keys for a metric.

Link copied to clipboard

Get the attributes of the specified dimension group for a DB instance or data source. For example, if you specify a SQL ID, GetDimensionKeyDetails retrieves the full text of the dimension db.sql.statement associated with this ID. This operation is useful because GetResourceMetrics and DescribeDimensionKeys don't support retrieval of large SQL statement text, lock snapshots, and execution plans.

Link copied to clipboard

Retrieves the report including the report ID, status, time details, and the insights with recommendations. The report status can be RUNNING, SUCCEEDED, or FAILED. The insights include the description and recommendation fields.

Link copied to clipboard

Retrieve the metadata for different features. For example, the metadata might indicate that a feature is turned on or off on a specific DB instance.

Link copied to clipboard

Retrieve Performance Insights metrics for a set of data sources over a time period. You can provide specific dimension groups and dimensions, and provide filtering criteria for each group. You must specify an aggregate function for each metric.

Link copied to clipboard

Retrieve the dimensions that can be queried for each specified metric type on a specified DB instance.

Link copied to clipboard

Retrieve metrics of the specified types that can be queried for a specified DB instance.

Link copied to clipboard

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

Link copied to clipboard

Retrieves all the metadata tags associated with Amazon RDS Performance Insights resource.

Link copied to clipboard
abstract suspend fun tagResource(input: TagResourceRequest): TagResourceResponse

Adds metadata tags to the Amazon RDS Performance Insights resource.

Link copied to clipboard

Deletes the metadata tags from the Amazon RDS Performance Insights resource.

Inherited functions

Link copied to clipboard
expect abstract fun close()
Link copied to clipboard

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

Link copied to clipboard

Deletes a performance analysis report.

Link copied to clipboard

For a specific time period, retrieve the top N dimension keys for a metric.

Link copied to clipboard

Get the attributes of the specified dimension group for a DB instance or data source. For example, if you specify a SQL ID, GetDimensionKeyDetails retrieves the full text of the dimension db.sql.statement associated with this ID. This operation is useful because GetResourceMetrics and DescribeDimensionKeys don't support retrieval of large SQL statement text, lock snapshots, and execution plans.

Link copied to clipboard

Retrieves the report including the report ID, status, time details, and the insights with recommendations. The report status can be RUNNING, SUCCEEDED, or FAILED. The insights include the description and recommendation fields.

Link copied to clipboard

Retrieve the metadata for different features. For example, the metadata might indicate that a feature is turned on or off on a specific DB instance.

Link copied to clipboard

Retrieve Performance Insights metrics for a set of data sources over a time period. You can provide specific dimension groups and dimensions, and provide filtering criteria for each group. You must specify an aggregate function for each metric.

Link copied to clipboard

Retrieve the dimensions that can be queried for each specified metric type on a specified DB instance.

Link copied to clipboard

Retrieve metrics of the specified types that can be queried for a specified DB instance.

Link copied to clipboard

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

Link copied to clipboard

Retrieves all the metadata tags associated with Amazon RDS Performance Insights resource.

Link copied to clipboard
inline suspend fun PiClient.tagResource(crossinline block: TagResourceRequest.Builder.() -> Unit): TagResourceResponse

Adds metadata tags to the Amazon RDS Performance Insights resource.

Link copied to clipboard
inline suspend fun PiClient.untagResource(crossinline block: UntagResourceRequest.Builder.() -> Unit): UntagResourceResponse

Deletes the metadata tags from the Amazon RDS Performance Insights resource.

Link copied to clipboard

Create a copy of the client with one or more configuration values overridden. This method allows the caller to perform scoped config overrides for one or more client operations.