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
(* 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_elasticbeanstalk
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 abort_environment_update ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.AbortEnvironmentUpdate input
let apply_environment_managed_action ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ApplyEnvironmentManagedAction input
let associate_environment_operations_role ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.AssociateEnvironmentOperationsRole input
let check_d_n_s_availability ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CheckDNSAvailability input
let compose_environments ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ComposeEnvironments input
let create_application ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateApplication input
let create_application_version ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateApplicationVersion input
let create_configuration_template ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateConfigurationTemplate input
let create_environment ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateEnvironment input
let create_platform_version ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreatePlatformVersion input
let create_storage_location ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateStorageLocation input
let delete_application ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteApplication input
let delete_application_version ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteApplicationVersion input
let delete_configuration_template ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteConfigurationTemplate input
let delete_environment_configuration ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteEnvironmentConfiguration input
let delete_platform_version ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeletePlatformVersion input
let describe_account_attributes ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeAccountAttributes input
let describe_application_versions ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeApplicationVersions input
let describe_applications ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeApplications input
let describe_configuration_options ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeConfigurationOptions input
let describe_configuration_settings ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeConfigurationSettings input
let describe_environment_health ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeEnvironmentHealth input
let describe_environment_managed_action_history ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeEnvironmentManagedActionHistory
    input
let describe_environment_managed_actions ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeEnvironmentManagedActions input
let describe_environment_resources ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeEnvironmentResources input
let describe_environments ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeEnvironments input
let describe_events ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeEvents input
let describe_instances_health ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeInstancesHealth input
let describe_platform_version ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribePlatformVersion input
let disassociate_environment_operations_role ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DisassociateEnvironmentOperationsRole
    input
let list_available_solution_stacks ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListAvailableSolutionStacks input
let list_platform_branches ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListPlatformBranches input
let list_platform_versions ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListPlatformVersions input
let list_tags_for_resource ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListTagsForResource input
let rebuild_environment ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.RebuildEnvironment input
let request_environment_info ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.RequestEnvironmentInfo input
let restart_app_server ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.RestartAppServer input
let retrieve_environment_info ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.RetrieveEnvironmentInfo input
let swap_environment_c_n_a_m_es ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.SwapEnvironmentCNAMEs input
let terminate_environment ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.TerminateEnvironment input
let update_application ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateApplication input
let update_application_resource_lifecycle ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateApplicationResourceLifecycle input
let update_application_version ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateApplicationVersion input
let update_configuration_template ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateConfigurationTemplate input
let update_environment ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateEnvironment input
let update_tags_for_resource ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateTagsForResource input
let validate_configuration_settings ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ValidateConfigurationSettings input