Values.GetInstanceMetricDataResultSourceReturns the data points for the specified Amazon Lightsail instance metric, given an instance name. Metrics report the utilization of your resources, and the error counts generated by them. Monitor and collect metric data regularly to maintain the reliability, availability, and performance of your resources.
type nonrec t = {metricName : InstanceMetricName.t option;The name of the metric returned.
*)metricData : MetricDatapointList.t option;An array of objects that describe the metric data returned.
*)}type nonrec error = [ | `AccessDeniedException of AccessDeniedException.t| `AccountSetupInProgressException of AccountSetupInProgressException.t| `InvalidInputException of InvalidInputException.t| `NotFoundException of NotFoundException.t| `OperationFailureException of OperationFailureException.t| `RegionSetupInProgressException of RegionSetupInProgressException.t| `ServiceException of ServiceException.t| `UnauthenticatedException of UnauthenticatedException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `AccessDeniedException of AccessDeniedException.t
| `AccountSetupInProgressException of AccountSetupInProgressException.t
| `InvalidInputException of InvalidInputException.t
| `NotFoundException of NotFoundException.t
| `OperationFailureException of OperationFailureException.t
| `RegionSetupInProgressException of RegionSetupInProgressException.t
| `ServiceException of ServiceException.t
| `UnauthenticatedException of UnauthenticatedException.t
| `Unknown_operation_error of string * string option ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `AccessDeniedException of AccessDeniedException.t
| `AccountSetupInProgressException of AccountSetupInProgressException.t
| `InvalidInputException of InvalidInputException.t
| `NotFoundException of NotFoundException.t
| `OperationFailureException of OperationFailureException.t
| `RegionSetupInProgressException of RegionSetupInProgressException.t
| `ServiceException of ServiceException.t
| `UnauthenticatedException of UnauthenticatedException.t
| `Unknown_operation_error of string * string option ]val to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `List of
[> `Structure of
(string
* [> `Double of Double.t
| `Enum of string
| `Timestamp of Timestamp.t ])
list ]
list ])
list ]