@aws-sdk/client-chime-sdk-meetings 3.312.0 → 3.316.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ChimeSDKMeetings = void 0;
4
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
4
5
  const ChimeSDKMeetingsClient_1 = require("./ChimeSDKMeetingsClient");
5
6
  const BatchCreateAttendeeCommand_1 = require("./commands/BatchCreateAttendeeCommand");
6
7
  const BatchUpdateAttendeeCapabilitiesExceptCommand_1 = require("./commands/BatchUpdateAttendeeCapabilitiesExceptCommand");
@@ -18,230 +19,25 @@ const StopMeetingTranscriptionCommand_1 = require("./commands/StopMeetingTranscr
18
19
  const TagResourceCommand_1 = require("./commands/TagResourceCommand");
19
20
  const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
20
21
  const UpdateAttendeeCapabilitiesCommand_1 = require("./commands/UpdateAttendeeCapabilitiesCommand");
22
+ const commands = {
23
+ BatchCreateAttendeeCommand: BatchCreateAttendeeCommand_1.BatchCreateAttendeeCommand,
24
+ BatchUpdateAttendeeCapabilitiesExceptCommand: BatchUpdateAttendeeCapabilitiesExceptCommand_1.BatchUpdateAttendeeCapabilitiesExceptCommand,
25
+ CreateAttendeeCommand: CreateAttendeeCommand_1.CreateAttendeeCommand,
26
+ CreateMeetingCommand: CreateMeetingCommand_1.CreateMeetingCommand,
27
+ CreateMeetingWithAttendeesCommand: CreateMeetingWithAttendeesCommand_1.CreateMeetingWithAttendeesCommand,
28
+ DeleteAttendeeCommand: DeleteAttendeeCommand_1.DeleteAttendeeCommand,
29
+ DeleteMeetingCommand: DeleteMeetingCommand_1.DeleteMeetingCommand,
30
+ GetAttendeeCommand: GetAttendeeCommand_1.GetAttendeeCommand,
31
+ GetMeetingCommand: GetMeetingCommand_1.GetMeetingCommand,
32
+ ListAttendeesCommand: ListAttendeesCommand_1.ListAttendeesCommand,
33
+ ListTagsForResourceCommand: ListTagsForResourceCommand_1.ListTagsForResourceCommand,
34
+ StartMeetingTranscriptionCommand: StartMeetingTranscriptionCommand_1.StartMeetingTranscriptionCommand,
35
+ StopMeetingTranscriptionCommand: StopMeetingTranscriptionCommand_1.StopMeetingTranscriptionCommand,
36
+ TagResourceCommand: TagResourceCommand_1.TagResourceCommand,
37
+ UntagResourceCommand: UntagResourceCommand_1.UntagResourceCommand,
38
+ UpdateAttendeeCapabilitiesCommand: UpdateAttendeeCapabilitiesCommand_1.UpdateAttendeeCapabilitiesCommand,
39
+ };
21
40
  class ChimeSDKMeetings extends ChimeSDKMeetingsClient_1.ChimeSDKMeetingsClient {
22
- batchCreateAttendee(args, optionsOrCb, cb) {
23
- const command = new BatchCreateAttendeeCommand_1.BatchCreateAttendeeCommand(args);
24
- if (typeof optionsOrCb === "function") {
25
- this.send(command, optionsOrCb);
26
- }
27
- else if (typeof cb === "function") {
28
- if (typeof optionsOrCb !== "object")
29
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
30
- this.send(command, optionsOrCb || {}, cb);
31
- }
32
- else {
33
- return this.send(command, optionsOrCb);
34
- }
35
- }
36
- batchUpdateAttendeeCapabilitiesExcept(args, optionsOrCb, cb) {
37
- const command = new BatchUpdateAttendeeCapabilitiesExceptCommand_1.BatchUpdateAttendeeCapabilitiesExceptCommand(args);
38
- if (typeof optionsOrCb === "function") {
39
- this.send(command, optionsOrCb);
40
- }
41
- else if (typeof cb === "function") {
42
- if (typeof optionsOrCb !== "object")
43
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
44
- this.send(command, optionsOrCb || {}, cb);
45
- }
46
- else {
47
- return this.send(command, optionsOrCb);
48
- }
49
- }
50
- createAttendee(args, optionsOrCb, cb) {
51
- const command = new CreateAttendeeCommand_1.CreateAttendeeCommand(args);
52
- if (typeof optionsOrCb === "function") {
53
- this.send(command, optionsOrCb);
54
- }
55
- else if (typeof cb === "function") {
56
- if (typeof optionsOrCb !== "object")
57
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
58
- this.send(command, optionsOrCb || {}, cb);
59
- }
60
- else {
61
- return this.send(command, optionsOrCb);
62
- }
63
- }
64
- createMeeting(args, optionsOrCb, cb) {
65
- const command = new CreateMeetingCommand_1.CreateMeetingCommand(args);
66
- if (typeof optionsOrCb === "function") {
67
- this.send(command, optionsOrCb);
68
- }
69
- else if (typeof cb === "function") {
70
- if (typeof optionsOrCb !== "object")
71
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
72
- this.send(command, optionsOrCb || {}, cb);
73
- }
74
- else {
75
- return this.send(command, optionsOrCb);
76
- }
77
- }
78
- createMeetingWithAttendees(args, optionsOrCb, cb) {
79
- const command = new CreateMeetingWithAttendeesCommand_1.CreateMeetingWithAttendeesCommand(args);
80
- if (typeof optionsOrCb === "function") {
81
- this.send(command, optionsOrCb);
82
- }
83
- else if (typeof cb === "function") {
84
- if (typeof optionsOrCb !== "object")
85
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
86
- this.send(command, optionsOrCb || {}, cb);
87
- }
88
- else {
89
- return this.send(command, optionsOrCb);
90
- }
91
- }
92
- deleteAttendee(args, optionsOrCb, cb) {
93
- const command = new DeleteAttendeeCommand_1.DeleteAttendeeCommand(args);
94
- if (typeof optionsOrCb === "function") {
95
- this.send(command, optionsOrCb);
96
- }
97
- else if (typeof cb === "function") {
98
- if (typeof optionsOrCb !== "object")
99
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
100
- this.send(command, optionsOrCb || {}, cb);
101
- }
102
- else {
103
- return this.send(command, optionsOrCb);
104
- }
105
- }
106
- deleteMeeting(args, optionsOrCb, cb) {
107
- const command = new DeleteMeetingCommand_1.DeleteMeetingCommand(args);
108
- if (typeof optionsOrCb === "function") {
109
- this.send(command, optionsOrCb);
110
- }
111
- else if (typeof cb === "function") {
112
- if (typeof optionsOrCb !== "object")
113
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
114
- this.send(command, optionsOrCb || {}, cb);
115
- }
116
- else {
117
- return this.send(command, optionsOrCb);
118
- }
119
- }
120
- getAttendee(args, optionsOrCb, cb) {
121
- const command = new GetAttendeeCommand_1.GetAttendeeCommand(args);
122
- if (typeof optionsOrCb === "function") {
123
- this.send(command, optionsOrCb);
124
- }
125
- else if (typeof cb === "function") {
126
- if (typeof optionsOrCb !== "object")
127
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
128
- this.send(command, optionsOrCb || {}, cb);
129
- }
130
- else {
131
- return this.send(command, optionsOrCb);
132
- }
133
- }
134
- getMeeting(args, optionsOrCb, cb) {
135
- const command = new GetMeetingCommand_1.GetMeetingCommand(args);
136
- if (typeof optionsOrCb === "function") {
137
- this.send(command, optionsOrCb);
138
- }
139
- else if (typeof cb === "function") {
140
- if (typeof optionsOrCb !== "object")
141
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
142
- this.send(command, optionsOrCb || {}, cb);
143
- }
144
- else {
145
- return this.send(command, optionsOrCb);
146
- }
147
- }
148
- listAttendees(args, optionsOrCb, cb) {
149
- const command = new ListAttendeesCommand_1.ListAttendeesCommand(args);
150
- if (typeof optionsOrCb === "function") {
151
- this.send(command, optionsOrCb);
152
- }
153
- else if (typeof cb === "function") {
154
- if (typeof optionsOrCb !== "object")
155
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
156
- this.send(command, optionsOrCb || {}, cb);
157
- }
158
- else {
159
- return this.send(command, optionsOrCb);
160
- }
161
- }
162
- listTagsForResource(args, optionsOrCb, cb) {
163
- const command = new ListTagsForResourceCommand_1.ListTagsForResourceCommand(args);
164
- if (typeof optionsOrCb === "function") {
165
- this.send(command, optionsOrCb);
166
- }
167
- else if (typeof cb === "function") {
168
- if (typeof optionsOrCb !== "object")
169
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
170
- this.send(command, optionsOrCb || {}, cb);
171
- }
172
- else {
173
- return this.send(command, optionsOrCb);
174
- }
175
- }
176
- startMeetingTranscription(args, optionsOrCb, cb) {
177
- const command = new StartMeetingTranscriptionCommand_1.StartMeetingTranscriptionCommand(args);
178
- if (typeof optionsOrCb === "function") {
179
- this.send(command, optionsOrCb);
180
- }
181
- else if (typeof cb === "function") {
182
- if (typeof optionsOrCb !== "object")
183
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
184
- this.send(command, optionsOrCb || {}, cb);
185
- }
186
- else {
187
- return this.send(command, optionsOrCb);
188
- }
189
- }
190
- stopMeetingTranscription(args, optionsOrCb, cb) {
191
- const command = new StopMeetingTranscriptionCommand_1.StopMeetingTranscriptionCommand(args);
192
- if (typeof optionsOrCb === "function") {
193
- this.send(command, optionsOrCb);
194
- }
195
- else if (typeof cb === "function") {
196
- if (typeof optionsOrCb !== "object")
197
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
198
- this.send(command, optionsOrCb || {}, cb);
199
- }
200
- else {
201
- return this.send(command, optionsOrCb);
202
- }
203
- }
204
- tagResource(args, optionsOrCb, cb) {
205
- const command = new TagResourceCommand_1.TagResourceCommand(args);
206
- if (typeof optionsOrCb === "function") {
207
- this.send(command, optionsOrCb);
208
- }
209
- else if (typeof cb === "function") {
210
- if (typeof optionsOrCb !== "object")
211
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
212
- this.send(command, optionsOrCb || {}, cb);
213
- }
214
- else {
215
- return this.send(command, optionsOrCb);
216
- }
217
- }
218
- untagResource(args, optionsOrCb, cb) {
219
- const command = new UntagResourceCommand_1.UntagResourceCommand(args);
220
- if (typeof optionsOrCb === "function") {
221
- this.send(command, optionsOrCb);
222
- }
223
- else if (typeof cb === "function") {
224
- if (typeof optionsOrCb !== "object")
225
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
226
- this.send(command, optionsOrCb || {}, cb);
227
- }
228
- else {
229
- return this.send(command, optionsOrCb);
230
- }
231
- }
232
- updateAttendeeCapabilities(args, optionsOrCb, cb) {
233
- const command = new UpdateAttendeeCapabilitiesCommand_1.UpdateAttendeeCapabilitiesCommand(args);
234
- if (typeof optionsOrCb === "function") {
235
- this.send(command, optionsOrCb);
236
- }
237
- else if (typeof cb === "function") {
238
- if (typeof optionsOrCb !== "object")
239
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
240
- this.send(command, optionsOrCb || {}, cb);
241
- }
242
- else {
243
- return this.send(command, optionsOrCb);
244
- }
245
- }
246
41
  }
247
42
  exports.ChimeSDKMeetings = ChimeSDKMeetings;
43
+ (0, smithy_client_1.createAggregatedClient)(commands, ChimeSDKMeetings);