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(* 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_codeconnections 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 create_connection ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateConnection input let create_host ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateHost input let create_repository_link ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateRepositoryLink input let create_sync_configuration ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateSyncConfiguration input let delete_connection ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteConnection input let delete_host ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteHost input let delete_repository_link ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteRepositoryLink input let delete_sync_configuration ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteSyncConfiguration input let get_connection ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetConnection input let get_host ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetHost input let get_repository_link ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetRepositoryLink input let get_repository_sync_status ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetRepositorySyncStatus input let get_resource_sync_status ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetResourceSyncStatus input let get_sync_blocker_summary ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetSyncBlockerSummary input let get_sync_configuration ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetSyncConfiguration input let list_connections ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListConnections input let list_hosts ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListHosts input let list_repository_links ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListRepositoryLinks input let list_repository_sync_definitions ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListRepositorySyncDefinitions input let list_sync_configurations ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListSyncConfigurations input let ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListTagsForResource 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_host ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.UpdateHost input let update_repository_link ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.UpdateRepositoryLink input let update_sync_blocker ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.UpdateSyncBlocker input let update_sync_configuration ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.UpdateSyncConfiguration input