Values.GetResourceMetricsResponseSourceRetrieve 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.
type nonrec t = {alignedStartTime : ISOTimestamp.t option;The start time for the returned metrics, after alignment to a granular boundary (as specified by PeriodInSeconds). AlignedStartTime will be less than or equal to the value of the user-specified StartTime.
*)alignedEndTime : ISOTimestamp.t option;The end time for the returned metrics, after alignment to a granular boundary (as specified by PeriodInSeconds). AlignedEndTime will be greater than or equal to the value of the user-specified Endtime.
*)identifier : String_.t option;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 as DbiResourceId.
*)metricList : MetricKeyDataPointsList.t option;An array of metric results, where each array element contains all of the data points for a particular dimension.
*)nextToken : NextToken.t option;An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the token, up to the value specified by MaxRecords.
*)}type nonrec error = [ | `InternalServiceError of InternalServiceError.t| `InvalidArgumentException of InvalidArgumentException.t| `NotAuthorizedException of NotAuthorizedException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `InternalServiceError of InternalServiceError.t
| `InvalidArgumentException of InvalidArgumentException.t
| `NotAuthorizedException of NotAuthorizedException.t
| `Unknown_operation_error of string * string option ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `InternalServiceError of InternalServiceError.t
| `InvalidArgumentException of InvalidArgumentException.t
| `NotAuthorizedException of NotAuthorizedException.t
| `Unknown_operation_error of string * string option ]val to_value :
t ->
[> `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `Double of Double.t
| `Timestamp of ISOTimestamp.t ])
list ]
list
| `Structure of
(string
* [> `Map of
([> `String of RequestString.t ]
* [> `String of RequestString.t ])
list
| `String of String_.t ])
list ])
list ]
list
| `String of String_.t
| `Timestamp of ISOTimestamp.t ])
list ]