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
(* 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_ssm_incidents
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 batch_get_incident_findings ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.BatchGetIncidentFindings input
let create_replication_set ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateReplicationSet input
let create_response_plan ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateResponsePlan input
let create_timeline_event ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateTimelineEvent input
let delete_incident_record ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteIncidentRecord input
let delete_replication_set ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteReplicationSet input
let delete_resource_policy ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteResourcePolicy input
let delete_response_plan ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteResponsePlan input
let delete_timeline_event ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteTimelineEvent input
let get_incident_record ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetIncidentRecord input
let get_replication_set ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetReplicationSet input
let get_resource_policies ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetResourcePolicies input
let get_response_plan ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetResponsePlan input
let get_timeline_event ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetTimelineEvent input
let list_incident_findings ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListIncidentFindings input
let list_incident_records ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListIncidentRecords input
let list_related_items ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListRelatedItems input
let list_replication_sets ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListReplicationSets input
let list_response_plans ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListResponsePlans input
let list_tags_for_resource ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListTagsForResource input
let list_timeline_events ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListTimelineEvents input
let put_resource_policy ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.PutResourcePolicy input
let start_incident ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.StartIncident 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_deletion_protection ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateDeletionProtection input
let update_incident_record ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateIncidentRecord input
let update_related_items ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateRelatedItems input
let update_replication_set ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateReplicationSet input
let update_response_plan ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateResponsePlan input
let update_timeline_event ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateTimelineEvent input