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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
(* 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_mediatailor
open Awso_sync
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 configure_logs_for_channel ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ConfigureLogsForChannel input
let configure_logs_for_playback_configuration ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ConfigureLogsForPlaybackConfiguration
    input
let create_channel ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateChannel input
let create_live_source ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateLiveSource input
let create_prefetch_schedule ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreatePrefetchSchedule input
let create_program ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateProgram input
let create_source_location ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateSourceLocation input
let create_vod_source ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateVodSource input
let delete_channel ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteChannel input
let delete_channel_policy ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteChannelPolicy input
let delete_function ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteFunction input
let delete_live_source ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteLiveSource input
let delete_playback_configuration ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeletePlaybackConfiguration input
let delete_prefetch_schedule ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeletePrefetchSchedule input
let delete_program ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteProgram input
let delete_source_location ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteSourceLocation input
let delete_vod_source ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteVodSource input
let describe_channel ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeChannel input
let describe_live_source ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeLiveSource input
let describe_program ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeProgram input
let describe_source_location ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeSourceLocation input
let describe_vod_source ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeVodSource input
let get_channel_policy ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetChannelPolicy input
let get_channel_schedule ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetChannelSchedule input
let get_function ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetFunction input
let get_playback_configuration ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetPlaybackConfiguration input
let get_prefetch_schedule ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetPrefetchSchedule input
let list_alerts ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListAlerts input
let list_channels ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListChannels input
let list_functions ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListFunctions input
let list_live_sources ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListLiveSources input
let list_playback_configurations ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListPlaybackConfigurations input
let list_prefetch_schedules ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListPrefetchSchedules input
let list_source_locations ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListSourceLocations input
let list_tags_for_resource ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListTagsForResource input
let list_vod_sources ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListVodSources input
let put_channel_policy ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.PutChannelPolicy input
let put_function ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.PutFunction input
let put_playback_configuration ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.PutPlaybackConfiguration input
let start_channel ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.StartChannel input
let stop_channel ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.StopChannel 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_channel ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateChannel input
let update_live_source ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateLiveSource input
let update_program ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateProgram input
let update_source_location ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateSourceLocation input
let update_vod_source ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateVodSource input