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
(* 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_contacts
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_page ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.AcceptPage input
let activate_contact_channel ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ActivateContactChannel input
let create_contact ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateContact input
let create_contact_channel ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateContactChannel input
let create_rotation ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateRotation input
let create_rotation_override ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateRotationOverride input
let deactivate_contact_channel ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeactivateContactChannel input
let delete_contact ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteContact input
let delete_contact_channel ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteContactChannel input
let delete_rotation ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteRotation input
let delete_rotation_override ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteRotationOverride input
let describe_engagement ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeEngagement input
let describe_page ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribePage input
let get_contact ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetContact input
let get_contact_channel ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetContactChannel input
let get_contact_policy ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetContactPolicy input
let get_rotation ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetRotation input
let get_rotation_override ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetRotationOverride input
let list_contact_channels ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListContactChannels input
let list_contacts ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListContacts input
let list_engagements ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListEngagements input
let list_page_receipts ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListPageReceipts input
let list_page_resolutions ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListPageResolutions input
let list_pages_by_contact ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListPagesByContact input
let list_pages_by_engagement ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListPagesByEngagement input
let list_preview_rotation_shifts ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListPreviewRotationShifts input
let list_rotation_overrides ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListRotationOverrides input
let list_rotation_shifts ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListRotationShifts input
let list_rotations ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListRotations input
let list_tags_for_resource ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListTagsForResource input
let put_contact_policy ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.PutContactPolicy input
let send_activation_code ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.SendActivationCode input
let start_engagement ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.StartEngagement input
let stop_engagement ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.StopEngagement 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_contact ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateContact input
let update_contact_channel ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateContactChannel input
let update_rotation ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateRotation input