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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
(* 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_cleanroomsml
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 cancel_trained_model ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CancelTrainedModel input
let cancel_trained_model_inference_job ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CancelTrainedModelInferenceJob input
let create_audience_model ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateAudienceModel input
let create_configured_audience_model ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateConfiguredAudienceModel input
let create_configured_model_algorithm ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateConfiguredModelAlgorithm input
let create_configured_model_algorithm_association ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateConfiguredModelAlgorithmAssociation
    input
let create_m_l_input_channel ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateMLInputChannel input
let create_trained_model ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateTrainedModel input
let create_training_dataset ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateTrainingDataset input
let delete_audience_generation_job ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteAudienceGenerationJob input
let delete_audience_model ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteAudienceModel input
let delete_configured_audience_model ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteConfiguredAudienceModel input
let delete_configured_audience_model_policy ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteConfiguredAudienceModelPolicy input
let delete_configured_model_algorithm ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteConfiguredModelAlgorithm input
let delete_configured_model_algorithm_association ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteConfiguredModelAlgorithmAssociation
    input
let delete_m_l_configuration ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteMLConfiguration input
let delete_m_l_input_channel_data ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteMLInputChannelData input
let delete_trained_model_output ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteTrainedModelOutput input
let delete_training_dataset ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteTrainingDataset input
let get_audience_generation_job ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetAudienceGenerationJob input
let get_audience_model ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetAudienceModel input
let get_collaboration_configured_model_algorithm_association ?endpoint_url
  ?cfg input =
  eval ?endpoint_url ?cfg
    Endpoints.GetCollaborationConfiguredModelAlgorithmAssociation input
let get_collaboration_m_l_input_channel ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetCollaborationMLInputChannel input
let get_collaboration_trained_model ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetCollaborationTrainedModel input
let get_configured_audience_model ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetConfiguredAudienceModel input
let get_configured_audience_model_policy ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetConfiguredAudienceModelPolicy input
let get_configured_model_algorithm ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetConfiguredModelAlgorithm input
let get_configured_model_algorithm_association ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetConfiguredModelAlgorithmAssociation
    input
let get_m_l_configuration ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetMLConfiguration input
let get_m_l_input_channel ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetMLInputChannel input
let get_trained_model ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetTrainedModel input
let get_trained_model_inference_job ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetTrainedModelInferenceJob input
let get_training_dataset ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetTrainingDataset input
let list_audience_export_jobs ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListAudienceExportJobs input
let list_audience_generation_jobs ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListAudienceGenerationJobs input
let list_audience_models ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListAudienceModels input
let list_collaboration_configured_model_algorithm_associations ?endpoint_url
  ?cfg input =
  eval ?endpoint_url ?cfg
    Endpoints.ListCollaborationConfiguredModelAlgorithmAssociations input
let list_collaboration_m_l_input_channels ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListCollaborationMLInputChannels input
let list_collaboration_trained_model_export_jobs ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListCollaborationTrainedModelExportJobs
    input
let list_collaboration_trained_model_inference_jobs ?endpoint_url ?cfg input
  =
  eval ?endpoint_url ?cfg
    Endpoints.ListCollaborationTrainedModelInferenceJobs input
let list_collaboration_trained_models ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListCollaborationTrainedModels input
let list_configured_audience_models ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListConfiguredAudienceModels input
let list_configured_model_algorithm_associations ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListConfiguredModelAlgorithmAssociations
    input
let list_configured_model_algorithms ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListConfiguredModelAlgorithms input
let list_m_l_input_channels ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListMLInputChannels input
let list_tags_for_resource ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListTagsForResource input
let list_trained_model_inference_jobs ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListTrainedModelInferenceJobs input
let list_trained_model_versions ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListTrainedModelVersions input
let list_trained_models ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListTrainedModels input
let list_training_datasets ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListTrainingDatasets input
let put_configured_audience_model_policy ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.PutConfiguredAudienceModelPolicy input
let put_m_l_configuration ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.PutMLConfiguration input
let start_audience_export_job ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.StartAudienceExportJob input
let start_audience_generation_job ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.StartAudienceGenerationJob input
let start_trained_model_export_job ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.StartTrainedModelExportJob input
let start_trained_model_inference_job ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.StartTrainedModelInferenceJob 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_configured_audience_model ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateConfiguredAudienceModel input