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
open Awso_appconfig
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 create_application ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateApplication input
let create_configuration_profile ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateConfigurationProfile input
let create_deployment_strategy ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateDeploymentStrategy input
let create_environment ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateEnvironment input
let create_extension ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateExtension input
let create_extension_association ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateExtensionAssociation input
let create_hosted_configuration_version ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateHostedConfigurationVersion input
let delete_application ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteApplication input
let delete_configuration_profile ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteConfigurationProfile input
let delete_deployment_strategy ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteDeploymentStrategy input
let delete_environment ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteEnvironment input
let delete_extension ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteExtension input
let delete_extension_association ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteExtensionAssociation input
let delete_hosted_configuration_version ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteHostedConfigurationVersion input
let get_account_settings ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetAccountSettings input
let get_application ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetApplication input
let get_configuration ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetConfiguration input
let get_configuration_profile ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetConfigurationProfile input
let get_deployment ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetDeployment input
let get_deployment_strategy ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetDeploymentStrategy input
let get_environment ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetEnvironment input
let get_extension ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetExtension input
let get_extension_association ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetExtensionAssociation input
let get_hosted_configuration_version ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetHostedConfigurationVersion input
let list_applications ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListApplications input
let list_configuration_profiles ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListConfigurationProfiles input
let list_deployment_strategies ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListDeploymentStrategies input
let list_deployments ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListDeployments input
let list_environments ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListEnvironments input
let list_extension_associations ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListExtensionAssociations input
let list_extensions ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListExtensions input
let list_hosted_configuration_versions ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListHostedConfigurationVersions input
let list_tags_for_resource ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListTagsForResource input
let start_deployment ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.StartDeployment input
let stop_deployment ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.StopDeployment 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_account_settings ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdateAccountSettings input
let update_application ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdateApplication input
let update_configuration_profile ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdateConfigurationProfile input
let update_deployment_strategy ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdateDeploymentStrategy input
let update_environment ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdateEnvironment input
let update_extension ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdateExtension input
let update_extension_association ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdateExtensionAssociation input
let validate_configuration ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ValidateConfiguration input