Module Smaws_Client_Lightsail.GetBucketMetricData

Returns 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 | `RegionSetupInProgressException of Types.region_setup_in_progress_exception | `ServiceException of Types.service_exception | `UnauthenticatedException of Types.unauthenticated_exception ] -> string
val 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 | `RegionSetupInProgressException of Types.region_setup_in_progress_exception | `ServiceException of Types.service_exception | `UnauthenticatedException of Types.unauthenticated_exception ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.get_bucket_metric_data_request -> (Types.get_bucket_metric_data_result Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of Types.access_denied_exception | `InvalidInputException of Types.invalid_input_exception | `NotFoundException of Types.not_found_exception | `RegionSetupInProgressException of Types.region_setup_in_progress_exception | `ServiceException of Types.service_exception | `UnauthenticatedException of Types.unauthenticated_exception ] * Smaws_Lib.Response.metadata) Stdlib.result