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
(* 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_databrew
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 batch_delete_recipe_version ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.BatchDeleteRecipeVersion input
let create_dataset ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateDataset input
let create_profile_job ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateProfileJob input
let create_project ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateProject input
let create_recipe ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateRecipe input
let create_recipe_job ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateRecipeJob input
let create_ruleset ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateRuleset input
let create_schedule ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateSchedule input
let delete_dataset ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteDataset input
let delete_job ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteJob input
let delete_project ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteProject input
let delete_recipe_version ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteRecipeVersion input
let delete_ruleset ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteRuleset input
let delete_schedule ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteSchedule input
let describe_dataset ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeDataset input
let describe_job ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeJob input
let describe_job_run ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeJobRun input
let describe_project ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeProject input
let describe_recipe ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeRecipe input
let describe_ruleset ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeRuleset input
let describe_schedule ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeSchedule input
let list_datasets ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListDatasets input
let list_job_runs ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListJobRuns input
let list_jobs ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListJobs input
let list_projects ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListProjects input
let list_recipe_versions ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListRecipeVersions input
let list_recipes ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListRecipes input
let list_rulesets ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListRulesets input
let list_schedules ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListSchedules input
let list_tags_for_resource ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListTagsForResource input
let publish_recipe ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.PublishRecipe input
let send_project_session_action ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.SendProjectSessionAction input
let start_job_run ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.StartJobRun input
let start_project_session ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.StartProjectSession input
let stop_job_run ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.StopJobRun 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_dataset ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateDataset input
let update_profile_job ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateProfileJob input
let update_project ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateProject input
let update_recipe ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateRecipe input
let update_recipe_job ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateRecipeJob input
let update_ruleset ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateRuleset input
let update_schedule ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateSchedule input