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
(* 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_amplify
open Awso_lwt
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_app ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateApp input
let create_backend_environment ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateBackendEnvironment input
let create_branch ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateBranch input
let create_deployment ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateDeployment input
let create_domain_association ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateDomainAssociation input
let create_webhook ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateWebhook input
let delete_app ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteApp input
let delete_backend_environment ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteBackendEnvironment input
let delete_branch ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteBranch input
let delete_domain_association ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteDomainAssociation input
let delete_job ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteJob input
let delete_webhook ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteWebhook input
let generate_access_logs ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GenerateAccessLogs input
let get_app ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetApp input
let get_artifact_url ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetArtifactUrl input
let get_backend_environment ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetBackendEnvironment input
let get_branch ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetBranch input
let get_domain_association ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetDomainAssociation input
let get_job ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetJob input
let get_webhook ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetWebhook input
let list_apps ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListApps input
let list_artifacts ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListArtifacts input
let list_backend_environments ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListBackendEnvironments input
let list_branches ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListBranches input
let list_domain_associations ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListDomainAssociations input
let list_jobs ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListJobs input
let list_tags_for_resource ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListTagsForResource input
let list_webhooks ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListWebhooks input
let start_deployment ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.StartDeployment input
let start_job ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.StartJob input
let stop_job ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.StopJob 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_app ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateApp input
let update_branch ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateBranch input
let update_domain_association ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateDomainAssociation input
let update_webhook ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateWebhook input