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
open Awso_glacier
open Awso_async
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 abort_multipart_upload ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.AbortMultipartUpload input
let abort_vault_lock ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.AbortVaultLock input
let add_tags_to_vault ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.AddTagsToVault input
let complete_multipart_upload ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CompleteMultipartUpload input
let complete_vault_lock ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CompleteVaultLock input
let create_vault ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateVault input
let delete_archive ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteArchive input
let delete_vault ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteVault input
let delete_vault_access_policy ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteVaultAccessPolicy input
let delete_vault_notifications ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteVaultNotifications input
let describe_job ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DescribeJob input
let describe_vault ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DescribeVault input
let get_data_retrieval_policy ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetDataRetrievalPolicy input
let get_job_output ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetJobOutput input
let get_vault_access_policy ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetVaultAccessPolicy input
let get_vault_lock ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetVaultLock input
let get_vault_notifications ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetVaultNotifications input
let initiate_job ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.InitiateJob input
let initiate_multipart_upload ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.InitiateMultipartUpload input
let initiate_vault_lock ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.InitiateVaultLock input
let list_jobs ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListJobs input
let list_multipart_uploads ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListMultipartUploads input
let list_parts ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListParts input
let list_provisioned_capacity ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListProvisionedCapacity input
let list_tags_for_vault ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListTagsForVault input
let list_vaults ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListVaults input
let purchase_provisioned_capacity ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.PurchaseProvisionedCapacity input
let remove_tags_from_vault ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.RemoveTagsFromVault input
let set_data_retrieval_policy ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.SetDataRetrievalPolicy input
let set_vault_access_policy ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.SetVaultAccessPolicy input
let set_vault_notifications ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.SetVaultNotifications input
let upload_archive ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UploadArchive input
let upload_multipart_part ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UploadMultipartPart input