package smaws-clients

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Source file builders.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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
[@@@warning "-39"]
open Types
let make_task 
  ?(progress_percent : int option)
  ?(status_detail : string option)
  ~(status : status)
  () : task = { progress_percent; status_detail; status; 
}

let make_resource_attribute 
  ~(value : string) ~(type_ : resource_attribute_type) ()
: resource_attribute = { value; type_; 
}

let make_put_resource_attributes_result  () : put_resource_attributes_result
= ()

let make_put_resource_attributes_request 
  ?(dry_run : bool option)
  ~(resource_attribute_list : resource_attribute list)
  ~(migration_task_name : string)
  ~(progress_update_stream : string)
  () : put_resource_attributes_request = {
  dry_run;
  resource_attribute_list;
  migration_task_name;
  progress_update_stream;
   }

let make_progress_update_stream_summary 
  ?(progress_update_stream_name : string option) ()
: progress_update_stream_summary = { progress_update_stream_name; 
}

let make_notify_migration_task_state_result  ()
: notify_migration_task_state_result =
()

let make_notify_migration_task_state_request 
  ?(dry_run : bool option)
  ~(next_update_seconds : int)
  ~(update_date_time : float)
  ~(task : task)
  ~(migration_task_name : string)
  ~(progress_update_stream : string)
  () : notify_migration_task_state_request = {
  dry_run;
  next_update_seconds;
  update_date_time;
  task;
  migration_task_name;
  progress_update_stream;
   }

let make_notify_application_state_result  ()
: notify_application_state_result =
()

let make_notify_application_state_request 
  ?(dry_run : bool option)
  ?(update_date_time : float option)
  ~(status : application_status)
  ~(application_id : string)
  () : notify_application_state_request = {
  dry_run; update_date_time; status; application_id; 
}

let make_migration_task_summary 
  ?(update_date_time : float option)
  ?(status_detail : string option)
  ?(progress_percent : int option)
  ?(status : status option)
  ?(migration_task_name : string option)
  ?(progress_update_stream : string option)
  () : migration_task_summary = {
  update_date_time;
  status_detail;
  progress_percent;
  status;
  migration_task_name;
  progress_update_stream;
   }

let make_migration_task 
  ?(resource_attribute_list : resource_attribute list option)
  ?(update_date_time : float option)
  ?(task : task option)
  ?(migration_task_name : string option)
  ?(progress_update_stream : string option)
  () : migration_task = {
  resource_attribute_list;
  update_date_time;
  task;
  migration_task_name;
  progress_update_stream;
   }

let make_list_progress_update_streams_result 
  ?(next_token : string option)
  ?(progress_update_stream_summary_list : progress_update_stream_summary list option)
  () : list_progress_update_streams_result = {
  next_token; progress_update_stream_summary_list; 
}

let make_list_progress_update_streams_request 
  ?(max_results : int option) ?(next_token : string option) ()
: list_progress_update_streams_request = { max_results; next_token; 
}

let make_list_migration_tasks_result 
  ?(migration_task_summary_list : migration_task_summary list option)
  ?(next_token : string option)
  () : list_migration_tasks_result = {
  migration_task_summary_list; next_token; 
}

let make_list_migration_tasks_request 
  ?(resource_name : string option)
  ?(max_results : int option)
  ?(next_token : string option)
  () : list_migration_tasks_request = {
  resource_name; max_results; next_token;  }

let make_discovered_resource 
  ?(description : string option) ~(configuration_id : string) ()
: discovered_resource = { description; configuration_id; 
}

let make_list_discovered_resources_result 
  ?(discovered_resource_list : discovered_resource list option)
  ?(next_token : string option)
  () : list_discovered_resources_result = {
  discovered_resource_list; next_token; 
}

let make_list_discovered_resources_request 
  ?(max_results : int option)
  ?(next_token : string option)
  ~(migration_task_name : string)
  ~(progress_update_stream : string)
  () : list_discovered_resources_request = {
  max_results; next_token; migration_task_name; progress_update_stream; 
}

let make_created_artifact  ?(description : string option) ~(name : string) ()
: created_artifact = { description; name; 
}

let make_list_created_artifacts_result 
  ?(created_artifact_list : created_artifact list option)
  ?(next_token : string option)
  () : list_created_artifacts_result = { created_artifact_list; next_token; 
}

let make_list_created_artifacts_request 
  ?(max_results : int option)
  ?(next_token : string option)
  ~(migration_task_name : string)
  ~(progress_update_stream : string)
  () : list_created_artifacts_request = {
  max_results; next_token; migration_task_name; progress_update_stream; 
}

let make_application_state 
  ?(last_updated_time : float option)
  ?(application_status : application_status option)
  ?(application_id : string option)
  () : application_state = {
  last_updated_time; application_status; application_id; 
}

let make_list_application_states_result 
  ?(next_token : string option)
  ?(application_state_list : application_state list option)
  () : list_application_states_result = {
  next_token; application_state_list; 
}

let make_list_application_states_request 
  ?(max_results : int option)
  ?(next_token : string option)
  ?(application_ids : string list option)
  () : list_application_states_request = {
  max_results; next_token; application_ids; 
}

let make_import_migration_task_result  () : import_migration_task_result =
()

let make_import_migration_task_request 
  ?(dry_run : bool option)
  ~(migration_task_name : string)
  ~(progress_update_stream : string)
  () : import_migration_task_request = {
  dry_run; migration_task_name; progress_update_stream; 
}

let make_disassociate_discovered_resource_result  ()
: disassociate_discovered_resource_result =
()

let make_disassociate_discovered_resource_request 
  ?(dry_run : bool option)
  ~(configuration_id : string)
  ~(migration_task_name : string)
  ~(progress_update_stream : string)
  () : disassociate_discovered_resource_request = {
  dry_run; configuration_id; migration_task_name; progress_update_stream; 
}

let make_disassociate_created_artifact_result  ()
: disassociate_created_artifact_result =
()

let make_disassociate_created_artifact_request 
  ?(dry_run : bool option)
  ~(created_artifact_name : string)
  ~(migration_task_name : string)
  ~(progress_update_stream : string)
  () : disassociate_created_artifact_request = {
  dry_run;
  created_artifact_name;
  migration_task_name;
  progress_update_stream;
   }

let make_describe_migration_task_result 
  ?(migration_task : migration_task option) ()
: describe_migration_task_result = { migration_task; 
}

let make_describe_migration_task_request 
  ~(migration_task_name : string) ~(progress_update_stream : string) ()
: describe_migration_task_request = {
  migration_task_name; progress_update_stream; 
}

let make_describe_application_state_result 
  ?(last_updated_time : float option)
  ?(application_status : application_status option)
  () : describe_application_state_result = {
  last_updated_time; application_status; 
}

let make_describe_application_state_request  ~(application_id : string) ()
: describe_application_state_request = { application_id; 
}

let make_delete_progress_update_stream_result  ()
: delete_progress_update_stream_result =
()

let make_delete_progress_update_stream_request 
  ?(dry_run : bool option) ~(progress_update_stream_name : string) ()
: delete_progress_update_stream_request = {
  dry_run; progress_update_stream_name; 
}

let make_create_progress_update_stream_result  ()
: create_progress_update_stream_result =
()

let make_create_progress_update_stream_request 
  ?(dry_run : bool option) ~(progress_update_stream_name : string) ()
: create_progress_update_stream_request = {
  dry_run; progress_update_stream_name; 
}

let make_associate_discovered_resource_result  ()
: associate_discovered_resource_result =
()

let make_associate_discovered_resource_request 
  ?(dry_run : bool option)
  ~(discovered_resource : discovered_resource)
  ~(migration_task_name : string)
  ~(progress_update_stream : string)
  () : associate_discovered_resource_request = {
  dry_run; discovered_resource; migration_task_name; progress_update_stream; 
}

let make_associate_created_artifact_result  ()
: associate_created_artifact_result =
()

let make_associate_created_artifact_request 
  ?(dry_run : bool option)
  ~(created_artifact : created_artifact)
  ~(migration_task_name : string)
  ~(progress_update_stream : string)
  () : associate_created_artifact_request = {
  dry_run; created_artifact; migration_task_name; progress_update_stream; 
}

OCaml

Innovation. Community. Security.