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
(* 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_compute_optimizer
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 delete_recommendation_preferences ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteRecommendationPreferences input
let describe_recommendation_export_jobs ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeRecommendationExportJobs input
let export_auto_scaling_group_recommendations ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ExportAutoScalingGroupRecommendations
    input
let export_e_b_s_volume_recommendations ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ExportEBSVolumeRecommendations input
let export_e_c2_instance_recommendations ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ExportEC2InstanceRecommendations input
let export_e_c_s_service_recommendations ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ExportECSServiceRecommendations input
let export_idle_recommendations ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ExportIdleRecommendations input
let export_lambda_function_recommendations ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ExportLambdaFunctionRecommendations input
let export_license_recommendations ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ExportLicenseRecommendations input
let export_r_d_s_database_recommendations ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ExportRDSDatabaseRecommendations input
let get_auto_scaling_group_recommendations ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetAutoScalingGroupRecommendations input
let get_e_b_s_volume_recommendations ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetEBSVolumeRecommendations input
let get_e_c2_instance_recommendations ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetEC2InstanceRecommendations input
let get_e_c2_recommendation_projected_metrics ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetEC2RecommendationProjectedMetrics
    input
let get_e_c_s_service_recommendation_projected_metrics ?endpoint_url ?cfg
  input =
  eval ?endpoint_url ?cfg
    Endpoints.GetECSServiceRecommendationProjectedMetrics input
let get_e_c_s_service_recommendations ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetECSServiceRecommendations input
let get_effective_recommendation_preferences ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetEffectiveRecommendationPreferences
    input
let get_enrollment_status ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetEnrollmentStatus input
let get_enrollment_statuses_for_organization ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetEnrollmentStatusesForOrganization
    input
let get_idle_recommendations ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetIdleRecommendations input
let get_lambda_function_recommendations ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetLambdaFunctionRecommendations input
let get_license_recommendations ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetLicenseRecommendations input
let get_r_d_s_database_recommendation_projected_metrics ?endpoint_url ?cfg
  input =
  eval ?endpoint_url ?cfg
    Endpoints.GetRDSDatabaseRecommendationProjectedMetrics input
let get_r_d_s_database_recommendations ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetRDSDatabaseRecommendations input
let get_recommendation_preferences ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetRecommendationPreferences input
let get_recommendation_summaries ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetRecommendationSummaries input
let put_recommendation_preferences ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.PutRecommendationPreferences input
let update_enrollment_status ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateEnrollmentStatus input