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
83
84
85
86
87
(* 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_outposts
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 cancel_capacity_task ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CancelCapacityTask input
let cancel_order ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CancelOrder input
let create_order ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateOrder input
let create_outpost ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateOutpost input
let create_renewal ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateRenewal input
let create_site ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateSite input
let delete_outpost ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteOutpost input
let delete_site ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteSite input
let get_capacity_task ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetCapacityTask input
let get_catalog_item ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetCatalogItem input
let get_connection ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetConnection input
let get_order ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetOrder input
let get_outpost ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetOutpost input
let get_outpost_billing_information ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetOutpostBillingInformation input
let get_outpost_instance_types ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetOutpostInstanceTypes input
let get_outpost_supported_instance_types ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetOutpostSupportedInstanceTypes input
let get_renewal_pricing ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetRenewalPricing input
let get_site ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetSite input
let get_site_address ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetSiteAddress input
let list_asset_instances ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListAssetInstances input
let list_assets ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListAssets input
let list_blocking_instances_for_capacity_task ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListBlockingInstancesForCapacityTask
    input
let list_capacity_tasks ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListCapacityTasks input
let list_catalog_items ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListCatalogItems input
let list_orders ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListOrders input
let list_outposts ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListOutposts input
let list_sites ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListSites input
let list_tags_for_resource ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListTagsForResource input
let start_capacity_task ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.StartCapacityTask input
let start_connection ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.StartConnection input
let start_outpost_decommission ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.StartOutpostDecommission 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_outpost ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateOutpost input
let update_site ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateSite input
let update_site_address ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateSiteAddress input
let update_site_rack_physical_properties ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateSiteRackPhysicalProperties input