Module Values.GetInstanceMetricDataResultSource

Returns 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.

Sourcetype nonrec t = {
  1. metricName : InstanceMetricName.t option;
    (*

    The name of the metric returned.

    *)
  2. metricData : MetricDatapointList.t option;
    (*

    An array of objects that describe the metric data returned.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `AccountSetupInProgressException of AccountSetupInProgressException.t
  3. | `InvalidInputException of InvalidInputException.t
  4. | `NotFoundException of NotFoundException.t
  5. | `OperationFailureException of OperationFailureException.t
  6. | `RegionSetupInProgressException of RegionSetupInProgressException.t
  7. | `ServiceException of ServiceException.t
  8. | `UnauthenticatedException of UnauthenticatedException.t
  9. | `Unknown_operation_error of string * string option
]
Sourceval make : ?metricName:??? -> ?metricData:??? -> unit -> t
Sourceval 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 ]
Sourceval 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 ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval 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 ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t