Module Smaws_Client_Lightsail.SetResourceAccessForBucket

Sets 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 | `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.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 | `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.set_resource_access_for_bucket_request -> (Types.set_resource_access_for_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