package aws-s3

  1. Overview
  2. Docs
type vendor
type t =
  1. | Ap_northeast_1
  2. | Ap_northeast_2
  3. | Ap_northeast_3
  4. | Ap_southeast_1
  5. | Ap_southeast_2
  6. | Ap_south_1
  7. | Eu_central_1
  8. | Cn_northwest_1
  9. | Cn_north_1
  10. | Eu_west_1
  11. | Eu_west_2
  12. | Eu_west_3
  13. | Sa_east_1
  14. | Us_east_1
  15. | Us_east_2
  16. | Us_west_1
  17. | Us_west_2
  18. | Ca_central_1
  19. | Other of string
  20. | Vendor of vendor
val vendor : region_name:string -> host:string -> port:int -> t
val minio : host:string -> port:int -> t
type endpoint = {
  1. inet : [ `V4 | `V6 ];
  2. scheme : [ `Http | `Https ];
  3. host : string;
  4. port : int;
  5. region : t;
}
val endpoint : inet:[ `V4 | `V6 ] -> scheme:[ `Http | `Https ] -> t -> endpoint
val to_string : t -> string
val of_string : string -> t
val of_host : string -> t