Smaws_Client_Lightsail.GetBucketMetricDataReturns the data points of a specific metric for an Amazon Lightsail bucket.
Metrics report the utilization of a bucket. View and collect metric data regularly to monitor the number of objects stored in a bucket (including object versions) and the storage space used by those objects.
val error_to_string : 
  [ Smaws_Lib.Protocols.AwsJson.error
  | `AccessDeniedException of Types.access_denied_exception
  | `InvalidInputException of Types.invalid_input_exception
  | `NotFoundException of Types.not_found_exception
  | `ServiceException of Types.service_exception
  | `UnauthenticatedException of Types.unauthenticated_exception ] ->
  stringval request : 
  'http_type Smaws_Lib.Context.t ->
  Types.get_bucket_metric_data_request ->
  (Types.get_bucket_metric_data_result,
    [> Smaws_Lib.Protocols.AwsJson.error
    | `AccessDeniedException of Types.access_denied_exception
    | `InvalidInputException of Types.invalid_input_exception
    | `NotFoundException of Types.not_found_exception
    | `ServiceException of Types.service_exception
    | `UnauthenticatedException of Types.unauthenticated_exception ])
    Stdlib.result