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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
open Awso_s3tables
open Awso_lwt
module Io = Http.Io
let eval ?endpoint_url ?cfg endpoint input =
Io.bind (Io.resolve_cfg cfg)
(fun cfg ->
let meth = Endpoints.method_of_endpoint endpoint in
let uri = Endpoints.uri_of_endpoint endpoint input in
Io.map
(Io.call ?endpoint_url ~cfg ~service:Values.service meth
(Endpoints.to_request endpoint input) uri)
(fun resp_result -> Endpoints.of_response endpoint resp_result))
let create_namespace ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateNamespace input
let create_table ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateTable input
let create_table_bucket ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateTableBucket input
let delete_namespace ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteNamespace input
let delete_table ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteTable input
let delete_table_bucket ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteTableBucket input
let delete_table_bucket_encryption ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteTableBucketEncryption input
let delete_table_bucket_metrics_configuration ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteTableBucketMetricsConfiguration
input
let delete_table_bucket_policy ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteTableBucketPolicy input
let delete_table_bucket_replication ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteTableBucketReplication input
let delete_table_policy ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteTablePolicy input
let delete_table_replication ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteTableReplication input
let get_namespace ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetNamespace input
let get_table ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetTable input
let get_table_bucket ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetTableBucket input
let get_table_bucket_encryption ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetTableBucketEncryption input
let get_table_bucket_maintenance_configuration ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetTableBucketMaintenanceConfiguration
input
let get_table_bucket_metrics_configuration ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetTableBucketMetricsConfiguration input
let get_table_bucket_policy ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetTableBucketPolicy input
let get_table_bucket_replication ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetTableBucketReplication input
let get_table_bucket_storage_class ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetTableBucketStorageClass input
let get_table_encryption ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetTableEncryption input
let get_table_maintenance_configuration ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetTableMaintenanceConfiguration input
let get_table_maintenance_job_status ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetTableMaintenanceJobStatus input
let get_table_metadata_location ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetTableMetadataLocation input
let get_table_policy ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetTablePolicy input
let get_table_record_expiration_configuration ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetTableRecordExpirationConfiguration
input
let get_table_record_expiration_job_status ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetTableRecordExpirationJobStatus input
let get_table_replication ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetTableReplication input
let get_table_replication_status ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetTableReplicationStatus input
let get_table_storage_class ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetTableStorageClass input
let list_namespaces ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListNamespaces input
let list_table_buckets ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListTableBuckets input
let list_tables ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListTables input
let list_tags_for_resource ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListTagsForResource input
let put_table_bucket_encryption ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.PutTableBucketEncryption input
let put_table_bucket_maintenance_configuration ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.PutTableBucketMaintenanceConfiguration
input
let put_table_bucket_metrics_configuration ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.PutTableBucketMetricsConfiguration input
let put_table_bucket_policy ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.PutTableBucketPolicy input
let put_table_bucket_replication ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.PutTableBucketReplication input
let put_table_bucket_storage_class ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.PutTableBucketStorageClass input
let put_table_maintenance_configuration ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.PutTableMaintenanceConfiguration input
let put_table_policy ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.PutTablePolicy input
let put_table_record_expiration_configuration ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.PutTableRecordExpirationConfiguration
input
let put_table_replication ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.PutTableReplication input
let rename_table ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.RenameTable input
let tag_resource ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.TagResource input
let untag_resource ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UntagResource input
let update_table_metadata_location ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdateTableMetadataLocation input