Source file io.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
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
(* generated by: awso-codegen generate-all --botocore-data vendor/botocore/botocore/data -o aws --runtime-dir lib/runtime/awso --cli-dir awso-cli *)
open Awso_qapps
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 associate_library_item_review ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.AssociateLibraryItemReview input
let associate_q_app_with_user ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.AssociateQAppWithUser input
let batch_create_category ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.BatchCreateCategory input
let batch_delete_category ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.BatchDeleteCategory input
let batch_update_category ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.BatchUpdateCategory input
let create_library_item ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateLibraryItem input
let create_presigned_url ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreatePresignedUrl input
let create_q_app ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateQApp input
let delete_library_item ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteLibraryItem input
let delete_q_app ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteQApp input
let describe_q_app_permissions ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeQAppPermissions input
let disassociate_library_item_review ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DisassociateLibraryItemReview input
let disassociate_q_app_from_user ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DisassociateQAppFromUser input
let export_q_app_session_data ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ExportQAppSessionData input
let get_library_item ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetLibraryItem input
let get_q_app ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetQApp input
let get_q_app_session ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetQAppSession input
let get_q_app_session_metadata ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetQAppSessionMetadata input
let import_document ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ImportDocument input
let list_categories ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListCategories input
let list_library_items ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListLibraryItems input
let list_q_app_session_data ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListQAppSessionData input
let list_q_apps ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListQApps input
let list_tags_for_resource ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListTagsForResource input
let predict_q_app ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.PredictQApp input
let start_q_app_session ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.StartQAppSession input
let stop_q_app_session ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.StopQAppSession 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_library_item ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateLibraryItem input
let update_library_item_metadata ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateLibraryItemMetadata input
let update_q_app ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateQApp input
let update_q_app_permissions ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateQAppPermissions input
let update_q_app_session ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateQAppSession input
let update_q_app_session_metadata ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateQAppSessionMetadata input