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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
(* 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_guardduty
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 accept_administrator_invitation ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.AcceptAdministratorInvitation input
let accept_invitation ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.AcceptInvitation input
let archive_findings ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ArchiveFindings input
let create_detector ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateDetector input
let create_filter ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateFilter input
let create_i_p_set ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateIPSet input
let create_malware_protection_plan ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateMalwareProtectionPlan input
let create_members ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateMembers input
let create_publishing_destination ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreatePublishingDestination input
let create_sample_findings ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateSampleFindings input
let create_threat_entity_set ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateThreatEntitySet input
let create_threat_intel_set ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateThreatIntelSet input
let create_trusted_entity_set ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateTrustedEntitySet input
let decline_invitations ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeclineInvitations input
let delete_detector ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteDetector input
let delete_filter ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteFilter input
let delete_i_p_set ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteIPSet input
let delete_invitations ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteInvitations input
let delete_malware_protection_plan ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteMalwareProtectionPlan input
let delete_members ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteMembers input
let delete_publishing_destination ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeletePublishingDestination input
let delete_threat_entity_set ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteThreatEntitySet input
let delete_threat_intel_set ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteThreatIntelSet input
let delete_trusted_entity_set ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteTrustedEntitySet input
let describe_malware_scans ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeMalwareScans input
let describe_organization_configuration ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeOrganizationConfiguration input
let describe_publishing_destination ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribePublishingDestination input
let disable_organization_admin_account ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DisableOrganizationAdminAccount input
let disassociate_from_administrator_account ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DisassociateFromAdministratorAccount
    input
let disassociate_from_master_account ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DisassociateFromMasterAccount input
let disassociate_members ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DisassociateMembers input
let enable_organization_admin_account ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.EnableOrganizationAdminAccount input
let get_administrator_account ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetAdministratorAccount input
let get_coverage_statistics ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetCoverageStatistics input
let get_detector ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetDetector input
let get_filter ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetFilter input
let get_findings ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetFindings input
let get_findings_statistics ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetFindingsStatistics input
let get_i_p_set ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetIPSet input
let get_invitations_count ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetInvitationsCount input
let get_malware_protection_plan ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetMalwareProtectionPlan input
let get_malware_scan ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetMalwareScan input
let get_malware_scan_settings ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetMalwareScanSettings input
let get_master_account ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetMasterAccount input
let get_member_detectors ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetMemberDetectors input
let get_members ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetMembers input
let get_organization_statistics ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetOrganizationStatistics input
let get_remaining_free_trial_days ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetRemainingFreeTrialDays input
let get_threat_entity_set ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetThreatEntitySet input
let get_threat_intel_set ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetThreatIntelSet input
let get_trusted_entity_set ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetTrustedEntitySet input
let get_usage_statistics ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetUsageStatistics input
let invite_members ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.InviteMembers input
let list_coverage ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListCoverage input
let list_detectors ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListDetectors input
let list_filters ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListFilters input
let list_findings ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListFindings input
let list_i_p_sets ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListIPSets input
let list_invitations ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListInvitations input
let list_malware_protection_plans ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListMalwareProtectionPlans input
let list_malware_scans ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListMalwareScans input
let list_members ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListMembers input
let list_organization_admin_accounts ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListOrganizationAdminAccounts input
let list_publishing_destinations ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListPublishingDestinations input
let list_tags_for_resource ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListTagsForResource input
let list_threat_entity_sets ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListThreatEntitySets input
let list_threat_intel_sets ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListThreatIntelSets input
let list_trusted_entity_sets ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListTrustedEntitySets input
let send_object_malware_scan ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.SendObjectMalwareScan input
let start_malware_scan ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.StartMalwareScan input
let start_monitoring_members ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.StartMonitoringMembers input
let stop_monitoring_members ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.StopMonitoringMembers input
let tag_resource ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.TagResource input
let unarchive_findings ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UnarchiveFindings input
let untag_resource ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UntagResource input
let update_detector ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateDetector input
let update_filter ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateFilter input
let update_findings_feedback ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateFindingsFeedback input
let update_i_p_set ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateIPSet input
let update_malware_protection_plan ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateMalwareProtectionPlan input
let update_malware_scan_settings ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateMalwareScanSettings input
let update_member_detectors ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateMemberDetectors input
let update_organization_configuration ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateOrganizationConfiguration input
let update_publishing_destination ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdatePublishingDestination input
let update_threat_entity_set ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateThreatEntitySet input
let update_threat_intel_set ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateThreatIntelSet input
let update_trusted_entity_set ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateTrustedEntitySet input