Smaws_Client_Lightsail.SetResourceAccessForBucketSets the Amazon Lightsail resources that can access the specified Lightsail bucket.
Lightsail buckets currently support setting access for Lightsail instances in the same Amazon Web Services Region.
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.set_resource_access_for_bucket_request ->
  (Types.set_resource_access_for_bucket_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