Smaws_Client_Lightsail.UpdateBucketUpdates an existing Amazon Lightsail bucket.
Use this action to update the configuration of an existing bucket, such as versioning, public accessibility, and the Amazon Web Services accounts that can access the bucket.
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 ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.update_bucket_request ->
(Types.update_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
| `RegionSetupInProgressException of
Types.region_setup_in_progress_exception
| `ServiceException of Types.service_exception
| `UnauthenticatedException of Types.unauthenticated_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.update_bucket_request ->
(Types.update_bucket_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