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
open Awso_chime_sdk_messaging
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_channel_flow ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.AssociateChannelFlow input
let batch_create_channel_membership ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.BatchCreateChannelMembership input
let channel_flow_callback ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ChannelFlowCallback input
let create_channel ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateChannel input
let create_channel_ban ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateChannelBan input
let create_channel_flow ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateChannelFlow input
let create_channel_membership ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateChannelMembership input
let create_channel_moderator ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateChannelModerator input
let delete_channel ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteChannel input
let delete_channel_ban ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteChannelBan input
let delete_channel_flow ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteChannelFlow input
let delete_channel_membership ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteChannelMembership input
let delete_channel_message ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteChannelMessage input
let delete_channel_moderator ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteChannelModerator input
let delete_messaging_streaming_configurations ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteMessagingStreamingConfigurations
input
let describe_channel ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DescribeChannel input
let describe_channel_ban ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DescribeChannelBan input
let describe_channel_flow ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DescribeChannelFlow input
let describe_channel_membership ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DescribeChannelMembership input
let describe_channel_membership_for_app_instance_user ?endpoint_url ?cfg
input =
eval ?endpoint_url ?cfg
Endpoints.DescribeChannelMembershipForAppInstanceUser input
let describe_channel_moderated_by_app_instance_user ?endpoint_url ?cfg input
=
eval ?endpoint_url ?cfg Endpoints.DescribeChannelModeratedByAppInstanceUser
input
let describe_channel_moderator ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DescribeChannelModerator input
let disassociate_channel_flow ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DisassociateChannelFlow input
let get_channel_membership_preferences ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetChannelMembershipPreferences input
let get_channel_message ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetChannelMessage input
let get_channel_message_status ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetChannelMessageStatus input
let get_messaging_session_endpoint ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetMessagingSessionEndpoint input
let get_messaging_streaming_configurations ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetMessagingStreamingConfigurations input
let list_channel_bans ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListChannelBans input
let list_channel_flows ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListChannelFlows input
let list_channel_memberships ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListChannelMemberships input
let list_channel_memberships_for_app_instance_user ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListChannelMembershipsForAppInstanceUser
input
let list_channel_messages ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListChannelMessages input
let list_channel_moderators ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListChannelModerators input
let list_channels ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListChannels input
let list_channels_associated_with_channel_flow ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListChannelsAssociatedWithChannelFlow
input
let list_channels_moderated_by_app_instance_user ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListChannelsModeratedByAppInstanceUser
input
let list_sub_channels ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListSubChannels input
let list_tags_for_resource ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListTagsForResource input
let put_channel_expiration_settings ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.PutChannelExpirationSettings input
let put_channel_membership_preferences ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.PutChannelMembershipPreferences input
let put_messaging_streaming_configurations ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.PutMessagingStreamingConfigurations input
let redact_channel_message ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.RedactChannelMessage input
let search_channels ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.SearchChannels input
let send_channel_message ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.SendChannelMessage 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_channel ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdateChannel input
let update_channel_flow ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdateChannelFlow input
let update_channel_message ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdateChannelMessage input
let update_channel_read_marker ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdateChannelReadMarker input