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
(* 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_fms
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 associate_admin_account ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.AssociateAdminAccount input
let associate_third_party_firewall ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.AssociateThirdPartyFirewall input
let batch_associate_resource ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.BatchAssociateResource input
let batch_disassociate_resource ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.BatchDisassociateResource input
let delete_apps_list ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteAppsList input
let delete_notification_channel ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteNotificationChannel input
let delete_policy ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeletePolicy input
let delete_protocols_list ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteProtocolsList input
let delete_resource_set ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteResourceSet input
let disassociate_admin_account ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DisassociateAdminAccount input
let disassociate_third_party_firewall ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DisassociateThirdPartyFirewall input
let get_admin_account ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetAdminAccount input
let get_admin_scope ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetAdminScope input
let get_apps_list ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetAppsList input
let get_compliance_detail ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetComplianceDetail input
let get_notification_channel ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetNotificationChannel input
let get_policy ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetPolicy input
let get_protection_status ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetProtectionStatus input
let get_protocols_list ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetProtocolsList input
let get_resource_set ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetResourceSet input
let get_third_party_firewall_association_status ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetThirdPartyFirewallAssociationStatus
    input
let get_violation_details ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetViolationDetails input
let list_admin_accounts_for_organization ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListAdminAccountsForOrganization input
let list_admins_managing_account ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListAdminsManagingAccount input
let list_apps_lists ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListAppsLists input
let list_compliance_status ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListComplianceStatus input
let list_discovered_resources ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListDiscoveredResources input
let list_member_accounts ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListMemberAccounts input
let list_policies ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListPolicies input
let list_protocols_lists ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListProtocolsLists input
let list_resource_set_resources ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListResourceSetResources input
let list_resource_sets ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListResourceSets input
let list_tags_for_resource ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListTagsForResource input
let list_third_party_firewall_firewall_policies ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListThirdPartyFirewallFirewallPolicies
    input
let put_admin_account ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.PutAdminAccount input
let put_apps_list ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.PutAppsList input
let put_notification_channel ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.PutNotificationChannel input
let put_policy ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.PutPolicy input
let put_protocols_list ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.PutProtocolsList input
let put_resource_set ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.PutResourceSet 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