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 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112(* 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_finspace 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_environment ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateEnvironment input let create_kx_changeset ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateKxChangeset input let create_kx_cluster ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateKxCluster input let create_kx_database ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateKxDatabase input let create_kx_dataview ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateKxDataview input let create_kx_environment ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateKxEnvironment input let create_kx_scaling_group ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateKxScalingGroup input let create_kx_user ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateKxUser input let create_kx_volume ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateKxVolume input let delete_environment ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteEnvironment input let delete_kx_cluster ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteKxCluster input let delete_kx_cluster_node ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteKxClusterNode input let delete_kx_database ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteKxDatabase input let delete_kx_dataview ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteKxDataview input let delete_kx_environment ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteKxEnvironment input let delete_kx_scaling_group ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteKxScalingGroup input let delete_kx_user ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteKxUser input let delete_kx_volume ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteKxVolume input let get_environment ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetEnvironment input let get_kx_changeset ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetKxChangeset input let get_kx_cluster ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetKxCluster input let get_kx_connection_string ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetKxConnectionString input let get_kx_database ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetKxDatabase input let get_kx_dataview ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetKxDataview input let get_kx_environment ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetKxEnvironment input let get_kx_scaling_group ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetKxScalingGroup input let get_kx_user ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetKxUser input let get_kx_volume ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetKxVolume input let list_environments ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListEnvironments input let list_kx_changesets ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListKxChangesets input let list_kx_cluster_nodes ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListKxClusterNodes input let list_kx_clusters ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListKxClusters input let list_kx_databases ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListKxDatabases input let list_kx_dataviews ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListKxDataviews input let list_kx_environments ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListKxEnvironments input let list_kx_scaling_groups ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListKxScalingGroups input let list_kx_users ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListKxUsers input let list_kx_volumes ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListKxVolumes 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_environment ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.UpdateEnvironment input let update_kx_cluster_code_configuration ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.UpdateKxClusterCodeConfiguration input let update_kx_cluster_databases ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.UpdateKxClusterDatabases input let update_kx_database ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.UpdateKxDatabase input let update_kx_dataview ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.UpdateKxDataview input let update_kx_environment ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.UpdateKxEnvironment input let update_kx_environment_network ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.UpdateKxEnvironmentNetwork input let update_kx_user ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.UpdateKxUser input let update_kx_volume ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.UpdateKxVolume input