package awskit-s3

  1. Overview
  2. Docs
S3 client core — objects, buckets, multipart, and policies

Install

dune-project
 Dependency

Authors

Maintainers

Sources

awskit-v0.1.0.tbz
sha256=788e91d57b9eed047bdef011aec476e94588be20e2e2f1b8495cf48b1a90cf0f
sha512=0d441d599f3f3efb766270258bb4d8c9cd660943eb7f90ced0ec6f61a6790f5fb8977ca5cf87f466d84701ee34dbfdf81fe5043b568a2236411f577e698c6d1e

doc/src/awskit-s3/storage_class.ml.html

Source file storage_class.ml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
type t =
  | Standard
  | Standard_ia
  | Onezone_ia
  | Intelligent_tiering
  | Glacier
  | Glacier_ir
  | Deep_archive

let to_string = function
  | Standard -> "STANDARD"
  | Standard_ia -> "STANDARD_IA"
  | Onezone_ia -> "ONEZONE_IA"
  | Intelligent_tiering -> "INTELLIGENT_TIERING"
  | Glacier -> "GLACIER"
  | Glacier_ir -> "GLACIER_IR"
  | Deep_archive -> "DEEP_ARCHIVE"

let of_string = function
  | "STANDARD" -> Some Standard
  | "STANDARD_IA" -> Some Standard_ia
  | "ONEZONE_IA" -> Some Onezone_ia
  | "INTELLIGENT_TIERING" -> Some Intelligent_tiering
  | "GLACIER" -> Some Glacier
  | "GLACIER_IR" -> Some Glacier_ir
  | "DEEP_ARCHIVE" -> Some Deep_archive
  | _ -> None