Smaws_Client_Lightsail.GetBucketsReturns information about one or more Amazon Lightsail buckets. The information returned includes the synchronization status of the Amazon Simple Storage Service (Amazon S3) account-level block public access feature for your Lightsail buckets.
For more information about buckets, see Buckets in Amazon Lightsail in the Amazon Lightsail Developer Guide.
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_buckets_request ->
  (Types.get_buckets_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