Module Smaws_Client_PI.GetResourceMetrics

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.

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