package awso-async
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(* 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_ivs 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 batch_get_channel ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.BatchGetChannel input let batch_get_stream_key ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.BatchGetStreamKey input let batch_start_viewer_session_revocation ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.BatchStartViewerSessionRevocation input let create_ad_configuration ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateAdConfiguration input let create_channel ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateChannel input let create_playback_restriction_policy ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreatePlaybackRestrictionPolicy input let create_recording_configuration ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateRecordingConfiguration input let create_stream_key ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateStreamKey input let delete_ad_configuration ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteAdConfiguration input let delete_channel ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteChannel input let delete_playback_key_pair ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeletePlaybackKeyPair input let delete_playback_restriction_policy ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeletePlaybackRestrictionPolicy input let delete_recording_configuration ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteRecordingConfiguration input let delete_stream_key ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteStreamKey input let get_ad_configuration ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetAdConfiguration input let get_channel ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetChannel input let get_playback_key_pair ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetPlaybackKeyPair input let get_playback_restriction_policy ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetPlaybackRestrictionPolicy input let get_recording_configuration ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetRecordingConfiguration input let get_stream ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetStream input let get_stream_key ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetStreamKey input let get_stream_session ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetStreamSession input let import_playback_key_pair ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ImportPlaybackKeyPair input let insert_ad_break ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.InsertAdBreak input let list_ad_configurations ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListAdConfigurations input let list_channels ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListChannels input let list_playback_key_pairs ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListPlaybackKeyPairs input let list_playback_restriction_policies ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListPlaybackRestrictionPolicies input let list_recording_configurations ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListRecordingConfigurations input let list_stream_keys ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListStreamKeys input let list_stream_sessions ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListStreamSessions input let list_streams ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListStreams input let ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListTagsForResource input let put_metadata ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.PutMetadata input let start_viewer_session_revocation ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.StartViewerSessionRevocation input let stop_stream ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.StopStream 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_playback_restriction_policy ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.UpdatePlaybackRestrictionPolicy input