Module Smaws_Client_PI.GetResourceMetrics

val request : Smaws_Lib.Context.t -> get_resource_metrics_request -> (get_resource_metrics_response, [> Smaws_Lib.Protocols.AwsJson.error | `InternalServiceError of internal_service_error | `InvalidArgumentException of invalid_argument_exception | `NotAuthorizedException of not_authorized_exception ]) Stdlib.result

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.

Each response element returns a maximum of 500 bytes. For larger elements, such as SQL statements, only the first 500 bytes are returned.