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
open Awso_migrationhubstrategy
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 get_application_component_details ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetApplicationComponentDetails input
let get_application_component_strategies ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetApplicationComponentStrategies input
let get_assessment ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetAssessment input
let get_import_file_task ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetImportFileTask input
let get_latest_assessment_id ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetLatestAssessmentId input
let get_portfolio_preferences ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetPortfolioPreferences input
let get_portfolio_summary ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetPortfolioSummary input
let get_recommendation_report_details ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetRecommendationReportDetails input
let get_server_details ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetServerDetails input
let get_server_strategies ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetServerStrategies input
let list_analyzable_servers ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListAnalyzableServers input
let list_application_components ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListApplicationComponents input
let list_collectors ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListCollectors input
let list_import_file_task ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListImportFileTask input
let list_servers ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListServers input
let put_portfolio_preferences ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.PutPortfolioPreferences input
let start_assessment ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.StartAssessment input
let start_import_file_task ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.StartImportFileTask input
let start_recommendation_report_generation ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.StartRecommendationReportGeneration input
let stop_assessment ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.StopAssessment input
let update_application_component_config ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdateApplicationComponentConfig input
let update_server_config ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdateServerConfig input