@aws-sdk/client-chime-sdk-meetings 3.306.0 → 3.309.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.
- package/dist-cjs/commands/BatchCreateAttendeeCommand.js +2 -2
- package/dist-cjs/commands/BatchUpdateAttendeeCapabilitiesExceptCommand.js +2 -2
- package/dist-cjs/commands/CreateAttendeeCommand.js +2 -2
- package/dist-cjs/commands/CreateMeetingCommand.js +2 -2
- package/dist-cjs/commands/CreateMeetingWithAttendeesCommand.js +2 -2
- package/dist-cjs/commands/DeleteAttendeeCommand.js +2 -2
- package/dist-cjs/commands/DeleteMeetingCommand.js +2 -2
- package/dist-cjs/commands/GetAttendeeCommand.js +2 -2
- package/dist-cjs/commands/GetMeetingCommand.js +2 -2
- package/dist-cjs/commands/ListAttendeesCommand.js +2 -2
- package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-cjs/commands/StartMeetingTranscriptionCommand.js +2 -2
- package/dist-cjs/commands/StopMeetingTranscriptionCommand.js +2 -2
- package/dist-cjs/commands/TagResourceCommand.js +2 -2
- package/dist-cjs/commands/UntagResourceCommand.js +2 -2
- package/dist-cjs/commands/UpdateAttendeeCapabilitiesCommand.js +2 -2
- package/dist-cjs/protocols/Aws_restJson1.js +284 -300
- package/dist-es/commands/BatchCreateAttendeeCommand.js +3 -3
- package/dist-es/commands/BatchUpdateAttendeeCapabilitiesExceptCommand.js +3 -3
- package/dist-es/commands/CreateAttendeeCommand.js +3 -3
- package/dist-es/commands/CreateMeetingCommand.js +3 -3
- package/dist-es/commands/CreateMeetingWithAttendeesCommand.js +3 -3
- package/dist-es/commands/DeleteAttendeeCommand.js +3 -3
- package/dist-es/commands/DeleteMeetingCommand.js +3 -3
- package/dist-es/commands/GetAttendeeCommand.js +3 -3
- package/dist-es/commands/GetMeetingCommand.js +3 -3
- package/dist-es/commands/ListAttendeesCommand.js +3 -3
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-es/commands/StartMeetingTranscriptionCommand.js +3 -3
- package/dist-es/commands/StopMeetingTranscriptionCommand.js +3 -3
- package/dist-es/commands/TagResourceCommand.js +3 -3
- package/dist-es/commands/UntagResourceCommand.js +3 -3
- package/dist-es/commands/UpdateAttendeeCapabilitiesCommand.js +3 -3
- package/dist-es/protocols/Aws_restJson1.js +251 -267
- package/dist-types/protocols/Aws_restJson1.d.ts +128 -32
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +32 -32
- package/package.json +6 -6
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.de_UpdateAttendeeCapabilitiesCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_StopMeetingTranscriptionCommand = exports.de_StartMeetingTranscriptionCommand = exports.de_ListTagsForResourceCommand = exports.de_ListAttendeesCommand = exports.de_GetMeetingCommand = exports.de_GetAttendeeCommand = exports.de_DeleteMeetingCommand = exports.de_DeleteAttendeeCommand = exports.de_CreateMeetingWithAttendeesCommand = exports.de_CreateMeetingCommand = exports.de_CreateAttendeeCommand = exports.de_BatchUpdateAttendeeCapabilitiesExceptCommand = exports.de_BatchCreateAttendeeCommand = exports.se_UpdateAttendeeCapabilitiesCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_StopMeetingTranscriptionCommand = exports.se_StartMeetingTranscriptionCommand = exports.se_ListTagsForResourceCommand = exports.se_ListAttendeesCommand = exports.se_GetMeetingCommand = exports.se_GetAttendeeCommand = exports.se_DeleteMeetingCommand = exports.se_DeleteAttendeeCommand = exports.se_CreateMeetingWithAttendeesCommand = exports.se_CreateMeetingCommand = exports.se_CreateAttendeeCommand = exports.se_BatchUpdateAttendeeCapabilitiesExceptCommand = exports.se_BatchCreateAttendeeCommand = void 0;
|
|
4
4
|
const protocol_http_1 = require("@aws-sdk/protocol-http");
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const uuid_1 = require("uuid");
|
|
7
7
|
const ChimeSDKMeetingsServiceException_1 = require("../models/ChimeSDKMeetingsServiceException");
|
|
8
8
|
const models_0_1 = require("../models/models_0");
|
|
9
|
-
const
|
|
9
|
+
const se_BatchCreateAttendeeCommand = async (input, context) => {
|
|
10
10
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
11
11
|
const headers = {
|
|
12
12
|
"content-type": "application/json",
|
|
@@ -18,9 +18,7 @@ const serializeAws_restJson1BatchCreateAttendeeCommand = async (input, context)
|
|
|
18
18
|
});
|
|
19
19
|
let body;
|
|
20
20
|
body = JSON.stringify({
|
|
21
|
-
...(input.Attendees != null && {
|
|
22
|
-
Attendees: serializeAws_restJson1CreateAttendeeRequestItemList(input.Attendees, context),
|
|
23
|
-
}),
|
|
21
|
+
...(input.Attendees != null && { Attendees: se_CreateAttendeeRequestItemList(input.Attendees, context) }),
|
|
24
22
|
});
|
|
25
23
|
return new protocol_http_1.HttpRequest({
|
|
26
24
|
protocol,
|
|
@@ -33,8 +31,8 @@ const serializeAws_restJson1BatchCreateAttendeeCommand = async (input, context)
|
|
|
33
31
|
body,
|
|
34
32
|
});
|
|
35
33
|
};
|
|
36
|
-
exports.
|
|
37
|
-
const
|
|
34
|
+
exports.se_BatchCreateAttendeeCommand = se_BatchCreateAttendeeCommand;
|
|
35
|
+
const se_BatchUpdateAttendeeCapabilitiesExceptCommand = async (input, context) => {
|
|
38
36
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
39
37
|
const headers = {
|
|
40
38
|
"content-type": "application/json",
|
|
@@ -47,11 +45,9 @@ const serializeAws_restJson1BatchUpdateAttendeeCapabilitiesExceptCommand = async
|
|
|
47
45
|
});
|
|
48
46
|
let body;
|
|
49
47
|
body = JSON.stringify({
|
|
50
|
-
...(input.Capabilities != null && {
|
|
51
|
-
Capabilities: serializeAws_restJson1AttendeeCapabilities(input.Capabilities, context),
|
|
52
|
-
}),
|
|
48
|
+
...(input.Capabilities != null && { Capabilities: se_AttendeeCapabilities(input.Capabilities, context) }),
|
|
53
49
|
...(input.ExcludedAttendeeIds != null && {
|
|
54
|
-
ExcludedAttendeeIds:
|
|
50
|
+
ExcludedAttendeeIds: se_AttendeeIdsList(input.ExcludedAttendeeIds, context),
|
|
55
51
|
}),
|
|
56
52
|
});
|
|
57
53
|
return new protocol_http_1.HttpRequest({
|
|
@@ -65,8 +61,8 @@ const serializeAws_restJson1BatchUpdateAttendeeCapabilitiesExceptCommand = async
|
|
|
65
61
|
body,
|
|
66
62
|
});
|
|
67
63
|
};
|
|
68
|
-
exports.
|
|
69
|
-
const
|
|
64
|
+
exports.se_BatchUpdateAttendeeCapabilitiesExceptCommand = se_BatchUpdateAttendeeCapabilitiesExceptCommand;
|
|
65
|
+
const se_CreateAttendeeCommand = async (input, context) => {
|
|
70
66
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
71
67
|
const headers = {
|
|
72
68
|
"content-type": "application/json",
|
|
@@ -75,9 +71,7 @@ const serializeAws_restJson1CreateAttendeeCommand = async (input, context) => {
|
|
|
75
71
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "MeetingId", () => input.MeetingId, "{MeetingId}", false);
|
|
76
72
|
let body;
|
|
77
73
|
body = JSON.stringify({
|
|
78
|
-
...(input.Capabilities != null && {
|
|
79
|
-
Capabilities: serializeAws_restJson1AttendeeCapabilities(input.Capabilities, context),
|
|
80
|
-
}),
|
|
74
|
+
...(input.Capabilities != null && { Capabilities: se_AttendeeCapabilities(input.Capabilities, context) }),
|
|
81
75
|
...(input.ExternalUserId != null && { ExternalUserId: input.ExternalUserId }),
|
|
82
76
|
});
|
|
83
77
|
return new protocol_http_1.HttpRequest({
|
|
@@ -90,8 +84,8 @@ const serializeAws_restJson1CreateAttendeeCommand = async (input, context) => {
|
|
|
90
84
|
body,
|
|
91
85
|
});
|
|
92
86
|
};
|
|
93
|
-
exports.
|
|
94
|
-
const
|
|
87
|
+
exports.se_CreateAttendeeCommand = se_CreateAttendeeCommand;
|
|
88
|
+
const se_CreateMeetingCommand = async (input, context) => {
|
|
95
89
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
96
90
|
const headers = {
|
|
97
91
|
"content-type": "application/json",
|
|
@@ -103,15 +97,15 @@ const serializeAws_restJson1CreateMeetingCommand = async (input, context) => {
|
|
|
103
97
|
...(input.ExternalMeetingId != null && { ExternalMeetingId: input.ExternalMeetingId }),
|
|
104
98
|
...(input.MediaRegion != null && { MediaRegion: input.MediaRegion }),
|
|
105
99
|
...(input.MeetingFeatures != null && {
|
|
106
|
-
MeetingFeatures:
|
|
100
|
+
MeetingFeatures: se_MeetingFeaturesConfiguration(input.MeetingFeatures, context),
|
|
107
101
|
}),
|
|
108
102
|
...(input.MeetingHostId != null && { MeetingHostId: input.MeetingHostId }),
|
|
109
103
|
...(input.NotificationsConfiguration != null && {
|
|
110
|
-
NotificationsConfiguration:
|
|
104
|
+
NotificationsConfiguration: se_NotificationsConfiguration(input.NotificationsConfiguration, context),
|
|
111
105
|
}),
|
|
112
106
|
...(input.PrimaryMeetingId != null && { PrimaryMeetingId: input.PrimaryMeetingId }),
|
|
113
|
-
...(input.Tags != null && { Tags:
|
|
114
|
-
...(input.TenantIds != null && { TenantIds:
|
|
107
|
+
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
108
|
+
...(input.TenantIds != null && { TenantIds: se_TenantIdList(input.TenantIds, context) }),
|
|
115
109
|
});
|
|
116
110
|
return new protocol_http_1.HttpRequest({
|
|
117
111
|
protocol,
|
|
@@ -123,8 +117,8 @@ const serializeAws_restJson1CreateMeetingCommand = async (input, context) => {
|
|
|
123
117
|
body,
|
|
124
118
|
});
|
|
125
119
|
};
|
|
126
|
-
exports.
|
|
127
|
-
const
|
|
120
|
+
exports.se_CreateMeetingCommand = se_CreateMeetingCommand;
|
|
121
|
+
const se_CreateMeetingWithAttendeesCommand = async (input, context) => {
|
|
128
122
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
129
123
|
const headers = {
|
|
130
124
|
"content-type": "application/json",
|
|
@@ -136,21 +130,21 @@ const serializeAws_restJson1CreateMeetingWithAttendeesCommand = async (input, co
|
|
|
136
130
|
let body;
|
|
137
131
|
body = JSON.stringify({
|
|
138
132
|
...(input.Attendees != null && {
|
|
139
|
-
Attendees:
|
|
133
|
+
Attendees: se_CreateMeetingWithAttendeesRequestItemList(input.Attendees, context),
|
|
140
134
|
}),
|
|
141
135
|
ClientRequestToken: input.ClientRequestToken ?? (0, uuid_1.v4)(),
|
|
142
136
|
...(input.ExternalMeetingId != null && { ExternalMeetingId: input.ExternalMeetingId }),
|
|
143
137
|
...(input.MediaRegion != null && { MediaRegion: input.MediaRegion }),
|
|
144
138
|
...(input.MeetingFeatures != null && {
|
|
145
|
-
MeetingFeatures:
|
|
139
|
+
MeetingFeatures: se_MeetingFeaturesConfiguration(input.MeetingFeatures, context),
|
|
146
140
|
}),
|
|
147
141
|
...(input.MeetingHostId != null && { MeetingHostId: input.MeetingHostId }),
|
|
148
142
|
...(input.NotificationsConfiguration != null && {
|
|
149
|
-
NotificationsConfiguration:
|
|
143
|
+
NotificationsConfiguration: se_NotificationsConfiguration(input.NotificationsConfiguration, context),
|
|
150
144
|
}),
|
|
151
145
|
...(input.PrimaryMeetingId != null && { PrimaryMeetingId: input.PrimaryMeetingId }),
|
|
152
|
-
...(input.Tags != null && { Tags:
|
|
153
|
-
...(input.TenantIds != null && { TenantIds:
|
|
146
|
+
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
147
|
+
...(input.TenantIds != null && { TenantIds: se_TenantIdList(input.TenantIds, context) }),
|
|
154
148
|
});
|
|
155
149
|
return new protocol_http_1.HttpRequest({
|
|
156
150
|
protocol,
|
|
@@ -163,8 +157,8 @@ const serializeAws_restJson1CreateMeetingWithAttendeesCommand = async (input, co
|
|
|
163
157
|
body,
|
|
164
158
|
});
|
|
165
159
|
};
|
|
166
|
-
exports.
|
|
167
|
-
const
|
|
160
|
+
exports.se_CreateMeetingWithAttendeesCommand = se_CreateMeetingWithAttendeesCommand;
|
|
161
|
+
const se_DeleteAttendeeCommand = async (input, context) => {
|
|
168
162
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
169
163
|
const headers = {};
|
|
170
164
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
@@ -182,8 +176,8 @@ const serializeAws_restJson1DeleteAttendeeCommand = async (input, context) => {
|
|
|
182
176
|
body,
|
|
183
177
|
});
|
|
184
178
|
};
|
|
185
|
-
exports.
|
|
186
|
-
const
|
|
179
|
+
exports.se_DeleteAttendeeCommand = se_DeleteAttendeeCommand;
|
|
180
|
+
const se_DeleteMeetingCommand = async (input, context) => {
|
|
187
181
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
188
182
|
const headers = {};
|
|
189
183
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/meetings/{MeetingId}";
|
|
@@ -199,8 +193,8 @@ const serializeAws_restJson1DeleteMeetingCommand = async (input, context) => {
|
|
|
199
193
|
body,
|
|
200
194
|
});
|
|
201
195
|
};
|
|
202
|
-
exports.
|
|
203
|
-
const
|
|
196
|
+
exports.se_DeleteMeetingCommand = se_DeleteMeetingCommand;
|
|
197
|
+
const se_GetAttendeeCommand = async (input, context) => {
|
|
204
198
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
205
199
|
const headers = {};
|
|
206
200
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
@@ -218,8 +212,8 @@ const serializeAws_restJson1GetAttendeeCommand = async (input, context) => {
|
|
|
218
212
|
body,
|
|
219
213
|
});
|
|
220
214
|
};
|
|
221
|
-
exports.
|
|
222
|
-
const
|
|
215
|
+
exports.se_GetAttendeeCommand = se_GetAttendeeCommand;
|
|
216
|
+
const se_GetMeetingCommand = async (input, context) => {
|
|
223
217
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
224
218
|
const headers = {};
|
|
225
219
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/meetings/{MeetingId}";
|
|
@@ -235,8 +229,8 @@ const serializeAws_restJson1GetMeetingCommand = async (input, context) => {
|
|
|
235
229
|
body,
|
|
236
230
|
});
|
|
237
231
|
};
|
|
238
|
-
exports.
|
|
239
|
-
const
|
|
232
|
+
exports.se_GetMeetingCommand = se_GetMeetingCommand;
|
|
233
|
+
const se_ListAttendeesCommand = async (input, context) => {
|
|
240
234
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
241
235
|
const headers = {};
|
|
242
236
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/meetings/{MeetingId}/attendees";
|
|
@@ -257,8 +251,8 @@ const serializeAws_restJson1ListAttendeesCommand = async (input, context) => {
|
|
|
257
251
|
body,
|
|
258
252
|
});
|
|
259
253
|
};
|
|
260
|
-
exports.
|
|
261
|
-
const
|
|
254
|
+
exports.se_ListAttendeesCommand = se_ListAttendeesCommand;
|
|
255
|
+
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
262
256
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
263
257
|
const headers = {};
|
|
264
258
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags";
|
|
@@ -277,8 +271,8 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
|
|
|
277
271
|
body,
|
|
278
272
|
});
|
|
279
273
|
};
|
|
280
|
-
exports.
|
|
281
|
-
const
|
|
274
|
+
exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
|
|
275
|
+
const se_StartMeetingTranscriptionCommand = async (input, context) => {
|
|
282
276
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
283
277
|
const headers = {
|
|
284
278
|
"content-type": "application/json",
|
|
@@ -291,7 +285,7 @@ const serializeAws_restJson1StartMeetingTranscriptionCommand = async (input, con
|
|
|
291
285
|
let body;
|
|
292
286
|
body = JSON.stringify({
|
|
293
287
|
...(input.TranscriptionConfiguration != null && {
|
|
294
|
-
TranscriptionConfiguration:
|
|
288
|
+
TranscriptionConfiguration: se_TranscriptionConfiguration(input.TranscriptionConfiguration, context),
|
|
295
289
|
}),
|
|
296
290
|
});
|
|
297
291
|
return new protocol_http_1.HttpRequest({
|
|
@@ -305,8 +299,8 @@ const serializeAws_restJson1StartMeetingTranscriptionCommand = async (input, con
|
|
|
305
299
|
body,
|
|
306
300
|
});
|
|
307
301
|
};
|
|
308
|
-
exports.
|
|
309
|
-
const
|
|
302
|
+
exports.se_StartMeetingTranscriptionCommand = se_StartMeetingTranscriptionCommand;
|
|
303
|
+
const se_StopMeetingTranscriptionCommand = async (input, context) => {
|
|
310
304
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
311
305
|
const headers = {};
|
|
312
306
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/meetings/{MeetingId}/transcription";
|
|
@@ -326,8 +320,8 @@ const serializeAws_restJson1StopMeetingTranscriptionCommand = async (input, cont
|
|
|
326
320
|
body,
|
|
327
321
|
});
|
|
328
322
|
};
|
|
329
|
-
exports.
|
|
330
|
-
const
|
|
323
|
+
exports.se_StopMeetingTranscriptionCommand = se_StopMeetingTranscriptionCommand;
|
|
324
|
+
const se_TagResourceCommand = async (input, context) => {
|
|
331
325
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
332
326
|
const headers = {
|
|
333
327
|
"content-type": "application/json",
|
|
@@ -339,7 +333,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
|
|
|
339
333
|
let body;
|
|
340
334
|
body = JSON.stringify({
|
|
341
335
|
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
342
|
-
...(input.Tags != null && { Tags:
|
|
336
|
+
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
343
337
|
});
|
|
344
338
|
return new protocol_http_1.HttpRequest({
|
|
345
339
|
protocol,
|
|
@@ -352,8 +346,8 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
|
|
|
352
346
|
body,
|
|
353
347
|
});
|
|
354
348
|
};
|
|
355
|
-
exports.
|
|
356
|
-
const
|
|
349
|
+
exports.se_TagResourceCommand = se_TagResourceCommand;
|
|
350
|
+
const se_UntagResourceCommand = async (input, context) => {
|
|
357
351
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
358
352
|
const headers = {
|
|
359
353
|
"content-type": "application/json",
|
|
@@ -365,7 +359,7 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
|
|
|
365
359
|
let body;
|
|
366
360
|
body = JSON.stringify({
|
|
367
361
|
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
368
|
-
...(input.TagKeys != null && { TagKeys:
|
|
362
|
+
...(input.TagKeys != null && { TagKeys: se_TagKeyList(input.TagKeys, context) }),
|
|
369
363
|
});
|
|
370
364
|
return new protocol_http_1.HttpRequest({
|
|
371
365
|
protocol,
|
|
@@ -378,8 +372,8 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
|
|
|
378
372
|
body,
|
|
379
373
|
});
|
|
380
374
|
};
|
|
381
|
-
exports.
|
|
382
|
-
const
|
|
375
|
+
exports.se_UntagResourceCommand = se_UntagResourceCommand;
|
|
376
|
+
const se_UpdateAttendeeCapabilitiesCommand = async (input, context) => {
|
|
383
377
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
384
378
|
const headers = {
|
|
385
379
|
"content-type": "application/json",
|
|
@@ -390,9 +384,7 @@ const serializeAws_restJson1UpdateAttendeeCapabilitiesCommand = async (input, co
|
|
|
390
384
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AttendeeId", () => input.AttendeeId, "{AttendeeId}", false);
|
|
391
385
|
let body;
|
|
392
386
|
body = JSON.stringify({
|
|
393
|
-
...(input.Capabilities != null && {
|
|
394
|
-
Capabilities: serializeAws_restJson1AttendeeCapabilities(input.Capabilities, context),
|
|
395
|
-
}),
|
|
387
|
+
...(input.Capabilities != null && { Capabilities: se_AttendeeCapabilities(input.Capabilities, context) }),
|
|
396
388
|
});
|
|
397
389
|
return new protocol_http_1.HttpRequest({
|
|
398
390
|
protocol,
|
|
@@ -404,25 +396,25 @@ const serializeAws_restJson1UpdateAttendeeCapabilitiesCommand = async (input, co
|
|
|
404
396
|
body,
|
|
405
397
|
});
|
|
406
398
|
};
|
|
407
|
-
exports.
|
|
408
|
-
const
|
|
399
|
+
exports.se_UpdateAttendeeCapabilitiesCommand = se_UpdateAttendeeCapabilitiesCommand;
|
|
400
|
+
const de_BatchCreateAttendeeCommand = async (output, context) => {
|
|
409
401
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
410
|
-
return
|
|
402
|
+
return de_BatchCreateAttendeeCommandError(output, context);
|
|
411
403
|
}
|
|
412
404
|
const contents = map({
|
|
413
405
|
$metadata: deserializeMetadata(output),
|
|
414
406
|
});
|
|
415
407
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
416
408
|
if (data.Attendees != null) {
|
|
417
|
-
contents.Attendees =
|
|
409
|
+
contents.Attendees = de_AttendeeList(data.Attendees, context);
|
|
418
410
|
}
|
|
419
411
|
if (data.Errors != null) {
|
|
420
|
-
contents.Errors =
|
|
412
|
+
contents.Errors = de_BatchCreateAttendeeErrorList(data.Errors, context);
|
|
421
413
|
}
|
|
422
414
|
return contents;
|
|
423
415
|
};
|
|
424
|
-
exports.
|
|
425
|
-
const
|
|
416
|
+
exports.de_BatchCreateAttendeeCommand = de_BatchCreateAttendeeCommand;
|
|
417
|
+
const de_BatchCreateAttendeeCommandError = async (output, context) => {
|
|
426
418
|
const parsedOutput = {
|
|
427
419
|
...output,
|
|
428
420
|
body: await parseErrorBody(output.body, context),
|
|
@@ -431,31 +423,31 @@ const deserializeAws_restJson1BatchCreateAttendeeCommandError = async (output, c
|
|
|
431
423
|
switch (errorCode) {
|
|
432
424
|
case "BadRequestException":
|
|
433
425
|
case "com.amazonaws.chimesdkmeetings#BadRequestException":
|
|
434
|
-
throw await
|
|
426
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
435
427
|
case "ForbiddenException":
|
|
436
428
|
case "com.amazonaws.chimesdkmeetings#ForbiddenException":
|
|
437
|
-
throw await
|
|
429
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
438
430
|
case "LimitExceededException":
|
|
439
431
|
case "com.amazonaws.chimesdkmeetings#LimitExceededException":
|
|
440
|
-
throw await
|
|
432
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
441
433
|
case "NotFoundException":
|
|
442
434
|
case "com.amazonaws.chimesdkmeetings#NotFoundException":
|
|
443
|
-
throw await
|
|
435
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
444
436
|
case "ServiceFailureException":
|
|
445
437
|
case "com.amazonaws.chimesdkmeetings#ServiceFailureException":
|
|
446
|
-
throw await
|
|
438
|
+
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
447
439
|
case "ServiceUnavailableException":
|
|
448
440
|
case "com.amazonaws.chimesdkmeetings#ServiceUnavailableException":
|
|
449
|
-
throw await
|
|
441
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
450
442
|
case "ThrottlingException":
|
|
451
443
|
case "com.amazonaws.chimesdkmeetings#ThrottlingException":
|
|
452
|
-
throw await
|
|
444
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
453
445
|
case "UnauthorizedException":
|
|
454
446
|
case "com.amazonaws.chimesdkmeetings#UnauthorizedException":
|
|
455
|
-
throw await
|
|
447
|
+
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
456
448
|
case "UnprocessableEntityException":
|
|
457
449
|
case "com.amazonaws.chimesdkmeetings#UnprocessableEntityException":
|
|
458
|
-
throw await
|
|
450
|
+
throw await de_UnprocessableEntityExceptionRes(parsedOutput, context);
|
|
459
451
|
default:
|
|
460
452
|
const parsedBody = parsedOutput.body;
|
|
461
453
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -466,9 +458,9 @@ const deserializeAws_restJson1BatchCreateAttendeeCommandError = async (output, c
|
|
|
466
458
|
});
|
|
467
459
|
}
|
|
468
460
|
};
|
|
469
|
-
const
|
|
461
|
+
const de_BatchUpdateAttendeeCapabilitiesExceptCommand = async (output, context) => {
|
|
470
462
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
471
|
-
return
|
|
463
|
+
return de_BatchUpdateAttendeeCapabilitiesExceptCommandError(output, context);
|
|
472
464
|
}
|
|
473
465
|
const contents = map({
|
|
474
466
|
$metadata: deserializeMetadata(output),
|
|
@@ -476,8 +468,8 @@ const deserializeAws_restJson1BatchUpdateAttendeeCapabilitiesExceptCommand = asy
|
|
|
476
468
|
await collectBody(output.body, context);
|
|
477
469
|
return contents;
|
|
478
470
|
};
|
|
479
|
-
exports.
|
|
480
|
-
const
|
|
471
|
+
exports.de_BatchUpdateAttendeeCapabilitiesExceptCommand = de_BatchUpdateAttendeeCapabilitiesExceptCommand;
|
|
472
|
+
const de_BatchUpdateAttendeeCapabilitiesExceptCommandError = async (output, context) => {
|
|
481
473
|
const parsedOutput = {
|
|
482
474
|
...output,
|
|
483
475
|
body: await parseErrorBody(output.body, context),
|
|
@@ -486,22 +478,22 @@ const deserializeAws_restJson1BatchUpdateAttendeeCapabilitiesExceptCommandError
|
|
|
486
478
|
switch (errorCode) {
|
|
487
479
|
case "BadRequestException":
|
|
488
480
|
case "com.amazonaws.chimesdkmeetings#BadRequestException":
|
|
489
|
-
throw await
|
|
481
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
490
482
|
case "ConflictException":
|
|
491
483
|
case "com.amazonaws.chimesdkmeetings#ConflictException":
|
|
492
|
-
throw await
|
|
484
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
493
485
|
case "ForbiddenException":
|
|
494
486
|
case "com.amazonaws.chimesdkmeetings#ForbiddenException":
|
|
495
|
-
throw await
|
|
487
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
496
488
|
case "NotFoundException":
|
|
497
489
|
case "com.amazonaws.chimesdkmeetings#NotFoundException":
|
|
498
|
-
throw await
|
|
490
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
499
491
|
case "ServiceUnavailableException":
|
|
500
492
|
case "com.amazonaws.chimesdkmeetings#ServiceUnavailableException":
|
|
501
|
-
throw await
|
|
493
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
502
494
|
case "UnauthorizedException":
|
|
503
495
|
case "com.amazonaws.chimesdkmeetings#UnauthorizedException":
|
|
504
|
-
throw await
|
|
496
|
+
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
505
497
|
default:
|
|
506
498
|
const parsedBody = parsedOutput.body;
|
|
507
499
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -512,21 +504,21 @@ const deserializeAws_restJson1BatchUpdateAttendeeCapabilitiesExceptCommandError
|
|
|
512
504
|
});
|
|
513
505
|
}
|
|
514
506
|
};
|
|
515
|
-
const
|
|
507
|
+
const de_CreateAttendeeCommand = async (output, context) => {
|
|
516
508
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
517
|
-
return
|
|
509
|
+
return de_CreateAttendeeCommandError(output, context);
|
|
518
510
|
}
|
|
519
511
|
const contents = map({
|
|
520
512
|
$metadata: deserializeMetadata(output),
|
|
521
513
|
});
|
|
522
514
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
523
515
|
if (data.Attendee != null) {
|
|
524
|
-
contents.Attendee =
|
|
516
|
+
contents.Attendee = de_Attendee(data.Attendee, context);
|
|
525
517
|
}
|
|
526
518
|
return contents;
|
|
527
519
|
};
|
|
528
|
-
exports.
|
|
529
|
-
const
|
|
520
|
+
exports.de_CreateAttendeeCommand = de_CreateAttendeeCommand;
|
|
521
|
+
const de_CreateAttendeeCommandError = async (output, context) => {
|
|
530
522
|
const parsedOutput = {
|
|
531
523
|
...output,
|
|
532
524
|
body: await parseErrorBody(output.body, context),
|
|
@@ -535,31 +527,31 @@ const deserializeAws_restJson1CreateAttendeeCommandError = async (output, contex
|
|
|
535
527
|
switch (errorCode) {
|
|
536
528
|
case "BadRequestException":
|
|
537
529
|
case "com.amazonaws.chimesdkmeetings#BadRequestException":
|
|
538
|
-
throw await
|
|
530
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
539
531
|
case "ForbiddenException":
|
|
540
532
|
case "com.amazonaws.chimesdkmeetings#ForbiddenException":
|
|
541
|
-
throw await
|
|
533
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
542
534
|
case "LimitExceededException":
|
|
543
535
|
case "com.amazonaws.chimesdkmeetings#LimitExceededException":
|
|
544
|
-
throw await
|
|
536
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
545
537
|
case "NotFoundException":
|
|
546
538
|
case "com.amazonaws.chimesdkmeetings#NotFoundException":
|
|
547
|
-
throw await
|
|
539
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
548
540
|
case "ServiceFailureException":
|
|
549
541
|
case "com.amazonaws.chimesdkmeetings#ServiceFailureException":
|
|
550
|
-
throw await
|
|
542
|
+
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
551
543
|
case "ServiceUnavailableException":
|
|
552
544
|
case "com.amazonaws.chimesdkmeetings#ServiceUnavailableException":
|
|
553
|
-
throw await
|
|
545
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
554
546
|
case "ThrottlingException":
|
|
555
547
|
case "com.amazonaws.chimesdkmeetings#ThrottlingException":
|
|
556
|
-
throw await
|
|
548
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
557
549
|
case "UnauthorizedException":
|
|
558
550
|
case "com.amazonaws.chimesdkmeetings#UnauthorizedException":
|
|
559
|
-
throw await
|
|
551
|
+
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
560
552
|
case "UnprocessableEntityException":
|
|
561
553
|
case "com.amazonaws.chimesdkmeetings#UnprocessableEntityException":
|
|
562
|
-
throw await
|
|
554
|
+
throw await de_UnprocessableEntityExceptionRes(parsedOutput, context);
|
|
563
555
|
default:
|
|
564
556
|
const parsedBody = parsedOutput.body;
|
|
565
557
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -570,21 +562,21 @@ const deserializeAws_restJson1CreateAttendeeCommandError = async (output, contex
|
|
|
570
562
|
});
|
|
571
563
|
}
|
|
572
564
|
};
|
|
573
|
-
const
|
|
565
|
+
const de_CreateMeetingCommand = async (output, context) => {
|
|
574
566
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
575
|
-
return
|
|
567
|
+
return de_CreateMeetingCommandError(output, context);
|
|
576
568
|
}
|
|
577
569
|
const contents = map({
|
|
578
570
|
$metadata: deserializeMetadata(output),
|
|
579
571
|
});
|
|
580
572
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
581
573
|
if (data.Meeting != null) {
|
|
582
|
-
contents.Meeting =
|
|
574
|
+
contents.Meeting = de_Meeting(data.Meeting, context);
|
|
583
575
|
}
|
|
584
576
|
return contents;
|
|
585
577
|
};
|
|
586
|
-
exports.
|
|
587
|
-
const
|
|
578
|
+
exports.de_CreateMeetingCommand = de_CreateMeetingCommand;
|
|
579
|
+
const de_CreateMeetingCommandError = async (output, context) => {
|
|
588
580
|
const parsedOutput = {
|
|
589
581
|
...output,
|
|
590
582
|
body: await parseErrorBody(output.body, context),
|
|
@@ -593,25 +585,25 @@ const deserializeAws_restJson1CreateMeetingCommandError = async (output, context
|
|
|
593
585
|
switch (errorCode) {
|
|
594
586
|
case "BadRequestException":
|
|
595
587
|
case "com.amazonaws.chimesdkmeetings#BadRequestException":
|
|
596
|
-
throw await
|
|
588
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
597
589
|
case "ForbiddenException":
|
|
598
590
|
case "com.amazonaws.chimesdkmeetings#ForbiddenException":
|
|
599
|
-
throw await
|
|
591
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
600
592
|
case "LimitExceededException":
|
|
601
593
|
case "com.amazonaws.chimesdkmeetings#LimitExceededException":
|
|
602
|
-
throw await
|
|
594
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
603
595
|
case "ServiceFailureException":
|
|
604
596
|
case "com.amazonaws.chimesdkmeetings#ServiceFailureException":
|
|
605
|
-
throw await
|
|
597
|
+
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
606
598
|
case "ServiceUnavailableException":
|
|
607
599
|
case "com.amazonaws.chimesdkmeetings#ServiceUnavailableException":
|
|
608
|
-
throw await
|
|
600
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
609
601
|
case "ThrottlingException":
|
|
610
602
|
case "com.amazonaws.chimesdkmeetings#ThrottlingException":
|
|
611
|
-
throw await
|
|
603
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
612
604
|
case "UnauthorizedException":
|
|
613
605
|
case "com.amazonaws.chimesdkmeetings#UnauthorizedException":
|
|
614
|
-
throw await
|
|
606
|
+
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
615
607
|
default:
|
|
616
608
|
const parsedBody = parsedOutput.body;
|
|
617
609
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -622,27 +614,27 @@ const deserializeAws_restJson1CreateMeetingCommandError = async (output, context
|
|
|
622
614
|
});
|
|
623
615
|
}
|
|
624
616
|
};
|
|
625
|
-
const
|
|
617
|
+
const de_CreateMeetingWithAttendeesCommand = async (output, context) => {
|
|
626
618
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
627
|
-
return
|
|
619
|
+
return de_CreateMeetingWithAttendeesCommandError(output, context);
|
|
628
620
|
}
|
|
629
621
|
const contents = map({
|
|
630
622
|
$metadata: deserializeMetadata(output),
|
|
631
623
|
});
|
|
632
624
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
633
625
|
if (data.Attendees != null) {
|
|
634
|
-
contents.Attendees =
|
|
626
|
+
contents.Attendees = de_AttendeeList(data.Attendees, context);
|
|
635
627
|
}
|
|
636
628
|
if (data.Errors != null) {
|
|
637
|
-
contents.Errors =
|
|
629
|
+
contents.Errors = de_BatchCreateAttendeeErrorList(data.Errors, context);
|
|
638
630
|
}
|
|
639
631
|
if (data.Meeting != null) {
|
|
640
|
-
contents.Meeting =
|
|
632
|
+
contents.Meeting = de_Meeting(data.Meeting, context);
|
|
641
633
|
}
|
|
642
634
|
return contents;
|
|
643
635
|
};
|
|
644
|
-
exports.
|
|
645
|
-
const
|
|
636
|
+
exports.de_CreateMeetingWithAttendeesCommand = de_CreateMeetingWithAttendeesCommand;
|
|
637
|
+
const de_CreateMeetingWithAttendeesCommandError = async (output, context) => {
|
|
646
638
|
const parsedOutput = {
|
|
647
639
|
...output,
|
|
648
640
|
body: await parseErrorBody(output.body, context),
|
|
@@ -651,25 +643,25 @@ const deserializeAws_restJson1CreateMeetingWithAttendeesCommandError = async (ou
|
|
|
651
643
|
switch (errorCode) {
|
|
652
644
|
case "BadRequestException":
|
|
653
645
|
case "com.amazonaws.chimesdkmeetings#BadRequestException":
|
|
654
|
-
throw await
|
|
646
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
655
647
|
case "ForbiddenException":
|
|
656
648
|
case "com.amazonaws.chimesdkmeetings#ForbiddenException":
|
|
657
|
-
throw await
|
|
649
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
658
650
|
case "LimitExceededException":
|
|
659
651
|
case "com.amazonaws.chimesdkmeetings#LimitExceededException":
|
|
660
|
-
throw await
|
|
652
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
661
653
|
case "ServiceFailureException":
|
|
662
654
|
case "com.amazonaws.chimesdkmeetings#ServiceFailureException":
|
|
663
|
-
throw await
|
|
655
|
+
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
664
656
|
case "ServiceUnavailableException":
|
|
665
657
|
case "com.amazonaws.chimesdkmeetings#ServiceUnavailableException":
|
|
666
|
-
throw await
|
|
658
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
667
659
|
case "ThrottlingException":
|
|
668
660
|
case "com.amazonaws.chimesdkmeetings#ThrottlingException":
|
|
669
|
-
throw await
|
|
661
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
670
662
|
case "UnauthorizedException":
|
|
671
663
|
case "com.amazonaws.chimesdkmeetings#UnauthorizedException":
|
|
672
|
-
throw await
|
|
664
|
+
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
673
665
|
default:
|
|
674
666
|
const parsedBody = parsedOutput.body;
|
|
675
667
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -680,9 +672,9 @@ const deserializeAws_restJson1CreateMeetingWithAttendeesCommandError = async (ou
|
|
|
680
672
|
});
|
|
681
673
|
}
|
|
682
674
|
};
|
|
683
|
-
const
|
|
675
|
+
const de_DeleteAttendeeCommand = async (output, context) => {
|
|
684
676
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
685
|
-
return
|
|
677
|
+
return de_DeleteAttendeeCommandError(output, context);
|
|
686
678
|
}
|
|
687
679
|
const contents = map({
|
|
688
680
|
$metadata: deserializeMetadata(output),
|
|
@@ -690,8 +682,8 @@ const deserializeAws_restJson1DeleteAttendeeCommand = async (output, context) =>
|
|
|
690
682
|
await collectBody(output.body, context);
|
|
691
683
|
return contents;
|
|
692
684
|
};
|
|
693
|
-
exports.
|
|
694
|
-
const
|
|
685
|
+
exports.de_DeleteAttendeeCommand = de_DeleteAttendeeCommand;
|
|
686
|
+
const de_DeleteAttendeeCommandError = async (output, context) => {
|
|
695
687
|
const parsedOutput = {
|
|
696
688
|
...output,
|
|
697
689
|
body: await parseErrorBody(output.body, context),
|
|
@@ -700,25 +692,25 @@ const deserializeAws_restJson1DeleteAttendeeCommandError = async (output, contex
|
|
|
700
692
|
switch (errorCode) {
|
|
701
693
|
case "BadRequestException":
|
|
702
694
|
case "com.amazonaws.chimesdkmeetings#BadRequestException":
|
|
703
|
-
throw await
|
|
695
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
704
696
|
case "ForbiddenException":
|
|
705
697
|
case "com.amazonaws.chimesdkmeetings#ForbiddenException":
|
|
706
|
-
throw await
|
|
698
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
707
699
|
case "NotFoundException":
|
|
708
700
|
case "com.amazonaws.chimesdkmeetings#NotFoundException":
|
|
709
|
-
throw await
|
|
701
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
710
702
|
case "ServiceFailureException":
|
|
711
703
|
case "com.amazonaws.chimesdkmeetings#ServiceFailureException":
|
|
712
|
-
throw await
|
|
704
|
+
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
713
705
|
case "ServiceUnavailableException":
|
|
714
706
|
case "com.amazonaws.chimesdkmeetings#ServiceUnavailableException":
|
|
715
|
-
throw await
|
|
707
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
716
708
|
case "ThrottlingException":
|
|
717
709
|
case "com.amazonaws.chimesdkmeetings#ThrottlingException":
|
|
718
|
-
throw await
|
|
710
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
719
711
|
case "UnauthorizedException":
|
|
720
712
|
case "com.amazonaws.chimesdkmeetings#UnauthorizedException":
|
|
721
|
-
throw await
|
|
713
|
+
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
722
714
|
default:
|
|
723
715
|
const parsedBody = parsedOutput.body;
|
|
724
716
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -729,9 +721,9 @@ const deserializeAws_restJson1DeleteAttendeeCommandError = async (output, contex
|
|
|
729
721
|
});
|
|
730
722
|
}
|
|
731
723
|
};
|
|
732
|
-
const
|
|
724
|
+
const de_DeleteMeetingCommand = async (output, context) => {
|
|
733
725
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
734
|
-
return
|
|
726
|
+
return de_DeleteMeetingCommandError(output, context);
|
|
735
727
|
}
|
|
736
728
|
const contents = map({
|
|
737
729
|
$metadata: deserializeMetadata(output),
|
|
@@ -739,8 +731,8 @@ const deserializeAws_restJson1DeleteMeetingCommand = async (output, context) =>
|
|
|
739
731
|
await collectBody(output.body, context);
|
|
740
732
|
return contents;
|
|
741
733
|
};
|
|
742
|
-
exports.
|
|
743
|
-
const
|
|
734
|
+
exports.de_DeleteMeetingCommand = de_DeleteMeetingCommand;
|
|
735
|
+
const de_DeleteMeetingCommandError = async (output, context) => {
|
|
744
736
|
const parsedOutput = {
|
|
745
737
|
...output,
|
|
746
738
|
body: await parseErrorBody(output.body, context),
|
|
@@ -749,25 +741,25 @@ const deserializeAws_restJson1DeleteMeetingCommandError = async (output, context
|
|
|
749
741
|
switch (errorCode) {
|
|
750
742
|
case "BadRequestException":
|
|
751
743
|
case "com.amazonaws.chimesdkmeetings#BadRequestException":
|
|
752
|
-
throw await
|
|
744
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
753
745
|
case "ForbiddenException":
|
|
754
746
|
case "com.amazonaws.chimesdkmeetings#ForbiddenException":
|
|
755
|
-
throw await
|
|
747
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
756
748
|
case "NotFoundException":
|
|
757
749
|
case "com.amazonaws.chimesdkmeetings#NotFoundException":
|
|
758
|
-
throw await
|
|
750
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
759
751
|
case "ServiceFailureException":
|
|
760
752
|
case "com.amazonaws.chimesdkmeetings#ServiceFailureException":
|
|
761
|
-
throw await
|
|
753
|
+
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
762
754
|
case "ServiceUnavailableException":
|
|
763
755
|
case "com.amazonaws.chimesdkmeetings#ServiceUnavailableException":
|
|
764
|
-
throw await
|
|
756
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
765
757
|
case "ThrottlingException":
|
|
766
758
|
case "com.amazonaws.chimesdkmeetings#ThrottlingException":
|
|
767
|
-
throw await
|
|
759
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
768
760
|
case "UnauthorizedException":
|
|
769
761
|
case "com.amazonaws.chimesdkmeetings#UnauthorizedException":
|
|
770
|
-
throw await
|
|
762
|
+
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
771
763
|
default:
|
|
772
764
|
const parsedBody = parsedOutput.body;
|
|
773
765
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -778,21 +770,21 @@ const deserializeAws_restJson1DeleteMeetingCommandError = async (output, context
|
|
|
778
770
|
});
|
|
779
771
|
}
|
|
780
772
|
};
|
|
781
|
-
const
|
|
773
|
+
const de_GetAttendeeCommand = async (output, context) => {
|
|
782
774
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
783
|
-
return
|
|
775
|
+
return de_GetAttendeeCommandError(output, context);
|
|
784
776
|
}
|
|
785
777
|
const contents = map({
|
|
786
778
|
$metadata: deserializeMetadata(output),
|
|
787
779
|
});
|
|
788
780
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
789
781
|
if (data.Attendee != null) {
|
|
790
|
-
contents.Attendee =
|
|
782
|
+
contents.Attendee = de_Attendee(data.Attendee, context);
|
|
791
783
|
}
|
|
792
784
|
return contents;
|
|
793
785
|
};
|
|
794
|
-
exports.
|
|
795
|
-
const
|
|
786
|
+
exports.de_GetAttendeeCommand = de_GetAttendeeCommand;
|
|
787
|
+
const de_GetAttendeeCommandError = async (output, context) => {
|
|
796
788
|
const parsedOutput = {
|
|
797
789
|
...output,
|
|
798
790
|
body: await parseErrorBody(output.body, context),
|
|
@@ -801,25 +793,25 @@ const deserializeAws_restJson1GetAttendeeCommandError = async (output, context)
|
|
|
801
793
|
switch (errorCode) {
|
|
802
794
|
case "BadRequestException":
|
|
803
795
|
case "com.amazonaws.chimesdkmeetings#BadRequestException":
|
|
804
|
-
throw await
|
|
796
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
805
797
|
case "ForbiddenException":
|
|
806
798
|
case "com.amazonaws.chimesdkmeetings#ForbiddenException":
|
|
807
|
-
throw await
|
|
799
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
808
800
|
case "NotFoundException":
|
|
809
801
|
case "com.amazonaws.chimesdkmeetings#NotFoundException":
|
|
810
|
-
throw await
|
|
802
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
811
803
|
case "ServiceFailureException":
|
|
812
804
|
case "com.amazonaws.chimesdkmeetings#ServiceFailureException":
|
|
813
|
-
throw await
|
|
805
|
+
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
814
806
|
case "ServiceUnavailableException":
|
|
815
807
|
case "com.amazonaws.chimesdkmeetings#ServiceUnavailableException":
|
|
816
|
-
throw await
|
|
808
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
817
809
|
case "ThrottlingException":
|
|
818
810
|
case "com.amazonaws.chimesdkmeetings#ThrottlingException":
|
|
819
|
-
throw await
|
|
811
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
820
812
|
case "UnauthorizedException":
|
|
821
813
|
case "com.amazonaws.chimesdkmeetings#UnauthorizedException":
|
|
822
|
-
throw await
|
|
814
|
+
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
823
815
|
default:
|
|
824
816
|
const parsedBody = parsedOutput.body;
|
|
825
817
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -830,21 +822,21 @@ const deserializeAws_restJson1GetAttendeeCommandError = async (output, context)
|
|
|
830
822
|
});
|
|
831
823
|
}
|
|
832
824
|
};
|
|
833
|
-
const
|
|
825
|
+
const de_GetMeetingCommand = async (output, context) => {
|
|
834
826
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
835
|
-
return
|
|
827
|
+
return de_GetMeetingCommandError(output, context);
|
|
836
828
|
}
|
|
837
829
|
const contents = map({
|
|
838
830
|
$metadata: deserializeMetadata(output),
|
|
839
831
|
});
|
|
840
832
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
841
833
|
if (data.Meeting != null) {
|
|
842
|
-
contents.Meeting =
|
|
834
|
+
contents.Meeting = de_Meeting(data.Meeting, context);
|
|
843
835
|
}
|
|
844
836
|
return contents;
|
|
845
837
|
};
|
|
846
|
-
exports.
|
|
847
|
-
const
|
|
838
|
+
exports.de_GetMeetingCommand = de_GetMeetingCommand;
|
|
839
|
+
const de_GetMeetingCommandError = async (output, context) => {
|
|
848
840
|
const parsedOutput = {
|
|
849
841
|
...output,
|
|
850
842
|
body: await parseErrorBody(output.body, context),
|
|
@@ -853,25 +845,25 @@ const deserializeAws_restJson1GetMeetingCommandError = async (output, context) =
|
|
|
853
845
|
switch (errorCode) {
|
|
854
846
|
case "BadRequestException":
|
|
855
847
|
case "com.amazonaws.chimesdkmeetings#BadRequestException":
|
|
856
|
-
throw await
|
|
848
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
857
849
|
case "ForbiddenException":
|
|
858
850
|
case "com.amazonaws.chimesdkmeetings#ForbiddenException":
|
|
859
|
-
throw await
|
|
851
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
860
852
|
case "NotFoundException":
|
|
861
853
|
case "com.amazonaws.chimesdkmeetings#NotFoundException":
|
|
862
|
-
throw await
|
|
854
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
863
855
|
case "ServiceFailureException":
|
|
864
856
|
case "com.amazonaws.chimesdkmeetings#ServiceFailureException":
|
|
865
|
-
throw await
|
|
857
|
+
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
866
858
|
case "ServiceUnavailableException":
|
|
867
859
|
case "com.amazonaws.chimesdkmeetings#ServiceUnavailableException":
|
|
868
|
-
throw await
|
|
860
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
869
861
|
case "ThrottlingException":
|
|
870
862
|
case "com.amazonaws.chimesdkmeetings#ThrottlingException":
|
|
871
|
-
throw await
|
|
863
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
872
864
|
case "UnauthorizedException":
|
|
873
865
|
case "com.amazonaws.chimesdkmeetings#UnauthorizedException":
|
|
874
|
-
throw await
|
|
866
|
+
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
875
867
|
default:
|
|
876
868
|
const parsedBody = parsedOutput.body;
|
|
877
869
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -882,24 +874,24 @@ const deserializeAws_restJson1GetMeetingCommandError = async (output, context) =
|
|
|
882
874
|
});
|
|
883
875
|
}
|
|
884
876
|
};
|
|
885
|
-
const
|
|
877
|
+
const de_ListAttendeesCommand = async (output, context) => {
|
|
886
878
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
887
|
-
return
|
|
879
|
+
return de_ListAttendeesCommandError(output, context);
|
|
888
880
|
}
|
|
889
881
|
const contents = map({
|
|
890
882
|
$metadata: deserializeMetadata(output),
|
|
891
883
|
});
|
|
892
884
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
893
885
|
if (data.Attendees != null) {
|
|
894
|
-
contents.Attendees =
|
|
886
|
+
contents.Attendees = de_AttendeeList(data.Attendees, context);
|
|
895
887
|
}
|
|
896
888
|
if (data.NextToken != null) {
|
|
897
889
|
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
898
890
|
}
|
|
899
891
|
return contents;
|
|
900
892
|
};
|
|
901
|
-
exports.
|
|
902
|
-
const
|
|
893
|
+
exports.de_ListAttendeesCommand = de_ListAttendeesCommand;
|
|
894
|
+
const de_ListAttendeesCommandError = async (output, context) => {
|
|
903
895
|
const parsedOutput = {
|
|
904
896
|
...output,
|
|
905
897
|
body: await parseErrorBody(output.body, context),
|
|
@@ -908,25 +900,25 @@ const deserializeAws_restJson1ListAttendeesCommandError = async (output, context
|
|
|
908
900
|
switch (errorCode) {
|
|
909
901
|
case "BadRequestException":
|
|
910
902
|
case "com.amazonaws.chimesdkmeetings#BadRequestException":
|
|
911
|
-
throw await
|
|
903
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
912
904
|
case "ForbiddenException":
|
|
913
905
|
case "com.amazonaws.chimesdkmeetings#ForbiddenException":
|
|
914
|
-
throw await
|
|
906
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
915
907
|
case "NotFoundException":
|
|
916
908
|
case "com.amazonaws.chimesdkmeetings#NotFoundException":
|
|
917
|
-
throw await
|
|
909
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
918
910
|
case "ServiceFailureException":
|
|
919
911
|
case "com.amazonaws.chimesdkmeetings#ServiceFailureException":
|
|
920
|
-
throw await
|
|
912
|
+
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
921
913
|
case "ServiceUnavailableException":
|
|
922
914
|
case "com.amazonaws.chimesdkmeetings#ServiceUnavailableException":
|
|
923
|
-
throw await
|
|
915
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
924
916
|
case "ThrottlingException":
|
|
925
917
|
case "com.amazonaws.chimesdkmeetings#ThrottlingException":
|
|
926
|
-
throw await
|
|
918
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
927
919
|
case "UnauthorizedException":
|
|
928
920
|
case "com.amazonaws.chimesdkmeetings#UnauthorizedException":
|
|
929
|
-
throw await
|
|
921
|
+
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
930
922
|
default:
|
|
931
923
|
const parsedBody = parsedOutput.body;
|
|
932
924
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -937,21 +929,21 @@ const deserializeAws_restJson1ListAttendeesCommandError = async (output, context
|
|
|
937
929
|
});
|
|
938
930
|
}
|
|
939
931
|
};
|
|
940
|
-
const
|
|
932
|
+
const de_ListTagsForResourceCommand = async (output, context) => {
|
|
941
933
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
942
|
-
return
|
|
934
|
+
return de_ListTagsForResourceCommandError(output, context);
|
|
943
935
|
}
|
|
944
936
|
const contents = map({
|
|
945
937
|
$metadata: deserializeMetadata(output),
|
|
946
938
|
});
|
|
947
939
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
948
940
|
if (data.Tags != null) {
|
|
949
|
-
contents.Tags =
|
|
941
|
+
contents.Tags = de_TagList(data.Tags, context);
|
|
950
942
|
}
|
|
951
943
|
return contents;
|
|
952
944
|
};
|
|
953
|
-
exports.
|
|
954
|
-
const
|
|
945
|
+
exports.de_ListTagsForResourceCommand = de_ListTagsForResourceCommand;
|
|
946
|
+
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
955
947
|
const parsedOutput = {
|
|
956
948
|
...output,
|
|
957
949
|
body: await parseErrorBody(output.body, context),
|
|
@@ -960,7 +952,7 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
|
|
|
960
952
|
switch (errorCode) {
|
|
961
953
|
case "ResourceNotFoundException":
|
|
962
954
|
case "com.amazonaws.chimesdkmeetings#ResourceNotFoundException":
|
|
963
|
-
throw await
|
|
955
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
964
956
|
default:
|
|
965
957
|
const parsedBody = parsedOutput.body;
|
|
966
958
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -971,9 +963,9 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
|
|
|
971
963
|
});
|
|
972
964
|
}
|
|
973
965
|
};
|
|
974
|
-
const
|
|
966
|
+
const de_StartMeetingTranscriptionCommand = async (output, context) => {
|
|
975
967
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
976
|
-
return
|
|
968
|
+
return de_StartMeetingTranscriptionCommandError(output, context);
|
|
977
969
|
}
|
|
978
970
|
const contents = map({
|
|
979
971
|
$metadata: deserializeMetadata(output),
|
|
@@ -981,8 +973,8 @@ const deserializeAws_restJson1StartMeetingTranscriptionCommand = async (output,
|
|
|
981
973
|
await collectBody(output.body, context);
|
|
982
974
|
return contents;
|
|
983
975
|
};
|
|
984
|
-
exports.
|
|
985
|
-
const
|
|
976
|
+
exports.de_StartMeetingTranscriptionCommand = de_StartMeetingTranscriptionCommand;
|
|
977
|
+
const de_StartMeetingTranscriptionCommandError = async (output, context) => {
|
|
986
978
|
const parsedOutput = {
|
|
987
979
|
...output,
|
|
988
980
|
body: await parseErrorBody(output.body, context),
|
|
@@ -991,31 +983,31 @@ const deserializeAws_restJson1StartMeetingTranscriptionCommandError = async (out
|
|
|
991
983
|
switch (errorCode) {
|
|
992
984
|
case "BadRequestException":
|
|
993
985
|
case "com.amazonaws.chimesdkmeetings#BadRequestException":
|
|
994
|
-
throw await
|
|
986
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
995
987
|
case "ForbiddenException":
|
|
996
988
|
case "com.amazonaws.chimesdkmeetings#ForbiddenException":
|
|
997
|
-
throw await
|
|
989
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
998
990
|
case "LimitExceededException":
|
|
999
991
|
case "com.amazonaws.chimesdkmeetings#LimitExceededException":
|
|
1000
|
-
throw await
|
|
992
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1001
993
|
case "NotFoundException":
|
|
1002
994
|
case "com.amazonaws.chimesdkmeetings#NotFoundException":
|
|
1003
|
-
throw await
|
|
995
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1004
996
|
case "ServiceFailureException":
|
|
1005
997
|
case "com.amazonaws.chimesdkmeetings#ServiceFailureException":
|
|
1006
|
-
throw await
|
|
998
|
+
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
1007
999
|
case "ServiceUnavailableException":
|
|
1008
1000
|
case "com.amazonaws.chimesdkmeetings#ServiceUnavailableException":
|
|
1009
|
-
throw await
|
|
1001
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1010
1002
|
case "ThrottlingException":
|
|
1011
1003
|
case "com.amazonaws.chimesdkmeetings#ThrottlingException":
|
|
1012
|
-
throw await
|
|
1004
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1013
1005
|
case "UnauthorizedException":
|
|
1014
1006
|
case "com.amazonaws.chimesdkmeetings#UnauthorizedException":
|
|
1015
|
-
throw await
|
|
1007
|
+
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
1016
1008
|
case "UnprocessableEntityException":
|
|
1017
1009
|
case "com.amazonaws.chimesdkmeetings#UnprocessableEntityException":
|
|
1018
|
-
throw await
|
|
1010
|
+
throw await de_UnprocessableEntityExceptionRes(parsedOutput, context);
|
|
1019
1011
|
default:
|
|
1020
1012
|
const parsedBody = parsedOutput.body;
|
|
1021
1013
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1026,9 +1018,9 @@ const deserializeAws_restJson1StartMeetingTranscriptionCommandError = async (out
|
|
|
1026
1018
|
});
|
|
1027
1019
|
}
|
|
1028
1020
|
};
|
|
1029
|
-
const
|
|
1021
|
+
const de_StopMeetingTranscriptionCommand = async (output, context) => {
|
|
1030
1022
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1031
|
-
return
|
|
1023
|
+
return de_StopMeetingTranscriptionCommandError(output, context);
|
|
1032
1024
|
}
|
|
1033
1025
|
const contents = map({
|
|
1034
1026
|
$metadata: deserializeMetadata(output),
|
|
@@ -1036,8 +1028,8 @@ const deserializeAws_restJson1StopMeetingTranscriptionCommand = async (output, c
|
|
|
1036
1028
|
await collectBody(output.body, context);
|
|
1037
1029
|
return contents;
|
|
1038
1030
|
};
|
|
1039
|
-
exports.
|
|
1040
|
-
const
|
|
1031
|
+
exports.de_StopMeetingTranscriptionCommand = de_StopMeetingTranscriptionCommand;
|
|
1032
|
+
const de_StopMeetingTranscriptionCommandError = async (output, context) => {
|
|
1041
1033
|
const parsedOutput = {
|
|
1042
1034
|
...output,
|
|
1043
1035
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1046,28 +1038,28 @@ const deserializeAws_restJson1StopMeetingTranscriptionCommandError = async (outp
|
|
|
1046
1038
|
switch (errorCode) {
|
|
1047
1039
|
case "BadRequestException":
|
|
1048
1040
|
case "com.amazonaws.chimesdkmeetings#BadRequestException":
|
|
1049
|
-
throw await
|
|
1041
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1050
1042
|
case "ForbiddenException":
|
|
1051
1043
|
case "com.amazonaws.chimesdkmeetings#ForbiddenException":
|
|
1052
|
-
throw await
|
|
1044
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1053
1045
|
case "NotFoundException":
|
|
1054
1046
|
case "com.amazonaws.chimesdkmeetings#NotFoundException":
|
|
1055
|
-
throw await
|
|
1047
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1056
1048
|
case "ServiceFailureException":
|
|
1057
1049
|
case "com.amazonaws.chimesdkmeetings#ServiceFailureException":
|
|
1058
|
-
throw await
|
|
1050
|
+
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
1059
1051
|
case "ServiceUnavailableException":
|
|
1060
1052
|
case "com.amazonaws.chimesdkmeetings#ServiceUnavailableException":
|
|
1061
|
-
throw await
|
|
1053
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1062
1054
|
case "ThrottlingException":
|
|
1063
1055
|
case "com.amazonaws.chimesdkmeetings#ThrottlingException":
|
|
1064
|
-
throw await
|
|
1056
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1065
1057
|
case "UnauthorizedException":
|
|
1066
1058
|
case "com.amazonaws.chimesdkmeetings#UnauthorizedException":
|
|
1067
|
-
throw await
|
|
1059
|
+
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
1068
1060
|
case "UnprocessableEntityException":
|
|
1069
1061
|
case "com.amazonaws.chimesdkmeetings#UnprocessableEntityException":
|
|
1070
|
-
throw await
|
|
1062
|
+
throw await de_UnprocessableEntityExceptionRes(parsedOutput, context);
|
|
1071
1063
|
default:
|
|
1072
1064
|
const parsedBody = parsedOutput.body;
|
|
1073
1065
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1078,9 +1070,9 @@ const deserializeAws_restJson1StopMeetingTranscriptionCommandError = async (outp
|
|
|
1078
1070
|
});
|
|
1079
1071
|
}
|
|
1080
1072
|
};
|
|
1081
|
-
const
|
|
1073
|
+
const de_TagResourceCommand = async (output, context) => {
|
|
1082
1074
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1083
|
-
return
|
|
1075
|
+
return de_TagResourceCommandError(output, context);
|
|
1084
1076
|
}
|
|
1085
1077
|
const contents = map({
|
|
1086
1078
|
$metadata: deserializeMetadata(output),
|
|
@@ -1088,8 +1080,8 @@ const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
|
|
|
1088
1080
|
await collectBody(output.body, context);
|
|
1089
1081
|
return contents;
|
|
1090
1082
|
};
|
|
1091
|
-
exports.
|
|
1092
|
-
const
|
|
1083
|
+
exports.de_TagResourceCommand = de_TagResourceCommand;
|
|
1084
|
+
const de_TagResourceCommandError = async (output, context) => {
|
|
1093
1085
|
const parsedOutput = {
|
|
1094
1086
|
...output,
|
|
1095
1087
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1098,13 +1090,13 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
|
|
|
1098
1090
|
switch (errorCode) {
|
|
1099
1091
|
case "BadRequestException":
|
|
1100
1092
|
case "com.amazonaws.chimesdkmeetings#BadRequestException":
|
|
1101
|
-
throw await
|
|
1093
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1102
1094
|
case "ResourceNotFoundException":
|
|
1103
1095
|
case "com.amazonaws.chimesdkmeetings#ResourceNotFoundException":
|
|
1104
|
-
throw await
|
|
1096
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1105
1097
|
case "TooManyTagsException":
|
|
1106
1098
|
case "com.amazonaws.chimesdkmeetings#TooManyTagsException":
|
|
1107
|
-
throw await
|
|
1099
|
+
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
1108
1100
|
default:
|
|
1109
1101
|
const parsedBody = parsedOutput.body;
|
|
1110
1102
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1115,9 +1107,9 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
|
|
|
1115
1107
|
});
|
|
1116
1108
|
}
|
|
1117
1109
|
};
|
|
1118
|
-
const
|
|
1110
|
+
const de_UntagResourceCommand = async (output, context) => {
|
|
1119
1111
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1120
|
-
return
|
|
1112
|
+
return de_UntagResourceCommandError(output, context);
|
|
1121
1113
|
}
|
|
1122
1114
|
const contents = map({
|
|
1123
1115
|
$metadata: deserializeMetadata(output),
|
|
@@ -1125,8 +1117,8 @@ const deserializeAws_restJson1UntagResourceCommand = async (output, context) =>
|
|
|
1125
1117
|
await collectBody(output.body, context);
|
|
1126
1118
|
return contents;
|
|
1127
1119
|
};
|
|
1128
|
-
exports.
|
|
1129
|
-
const
|
|
1120
|
+
exports.de_UntagResourceCommand = de_UntagResourceCommand;
|
|
1121
|
+
const de_UntagResourceCommandError = async (output, context) => {
|
|
1130
1122
|
const parsedOutput = {
|
|
1131
1123
|
...output,
|
|
1132
1124
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1135,10 +1127,10 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
|
|
|
1135
1127
|
switch (errorCode) {
|
|
1136
1128
|
case "BadRequestException":
|
|
1137
1129
|
case "com.amazonaws.chimesdkmeetings#BadRequestException":
|
|
1138
|
-
throw await
|
|
1130
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1139
1131
|
case "ResourceNotFoundException":
|
|
1140
1132
|
case "com.amazonaws.chimesdkmeetings#ResourceNotFoundException":
|
|
1141
|
-
throw await
|
|
1133
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1142
1134
|
default:
|
|
1143
1135
|
const parsedBody = parsedOutput.body;
|
|
1144
1136
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1149,21 +1141,21 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
|
|
|
1149
1141
|
});
|
|
1150
1142
|
}
|
|
1151
1143
|
};
|
|
1152
|
-
const
|
|
1144
|
+
const de_UpdateAttendeeCapabilitiesCommand = async (output, context) => {
|
|
1153
1145
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1154
|
-
return
|
|
1146
|
+
return de_UpdateAttendeeCapabilitiesCommandError(output, context);
|
|
1155
1147
|
}
|
|
1156
1148
|
const contents = map({
|
|
1157
1149
|
$metadata: deserializeMetadata(output),
|
|
1158
1150
|
});
|
|
1159
1151
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1160
1152
|
if (data.Attendee != null) {
|
|
1161
|
-
contents.Attendee =
|
|
1153
|
+
contents.Attendee = de_Attendee(data.Attendee, context);
|
|
1162
1154
|
}
|
|
1163
1155
|
return contents;
|
|
1164
1156
|
};
|
|
1165
|
-
exports.
|
|
1166
|
-
const
|
|
1157
|
+
exports.de_UpdateAttendeeCapabilitiesCommand = de_UpdateAttendeeCapabilitiesCommand;
|
|
1158
|
+
const de_UpdateAttendeeCapabilitiesCommandError = async (output, context) => {
|
|
1167
1159
|
const parsedOutput = {
|
|
1168
1160
|
...output,
|
|
1169
1161
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1172,22 +1164,22 @@ const deserializeAws_restJson1UpdateAttendeeCapabilitiesCommandError = async (ou
|
|
|
1172
1164
|
switch (errorCode) {
|
|
1173
1165
|
case "BadRequestException":
|
|
1174
1166
|
case "com.amazonaws.chimesdkmeetings#BadRequestException":
|
|
1175
|
-
throw await
|
|
1167
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1176
1168
|
case "ConflictException":
|
|
1177
1169
|
case "com.amazonaws.chimesdkmeetings#ConflictException":
|
|
1178
|
-
throw await
|
|
1170
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1179
1171
|
case "ForbiddenException":
|
|
1180
1172
|
case "com.amazonaws.chimesdkmeetings#ForbiddenException":
|
|
1181
|
-
throw await
|
|
1173
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1182
1174
|
case "NotFoundException":
|
|
1183
1175
|
case "com.amazonaws.chimesdkmeetings#NotFoundException":
|
|
1184
|
-
throw await
|
|
1176
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1185
1177
|
case "ServiceUnavailableException":
|
|
1186
1178
|
case "com.amazonaws.chimesdkmeetings#ServiceUnavailableException":
|
|
1187
|
-
throw await
|
|
1179
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1188
1180
|
case "UnauthorizedException":
|
|
1189
1181
|
case "com.amazonaws.chimesdkmeetings#UnauthorizedException":
|
|
1190
|
-
throw await
|
|
1182
|
+
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
1191
1183
|
default:
|
|
1192
1184
|
const parsedBody = parsedOutput.body;
|
|
1193
1185
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1199,7 +1191,7 @@ const deserializeAws_restJson1UpdateAttendeeCapabilitiesCommandError = async (ou
|
|
|
1199
1191
|
}
|
|
1200
1192
|
};
|
|
1201
1193
|
const map = smithy_client_1.map;
|
|
1202
|
-
const
|
|
1194
|
+
const de_BadRequestExceptionRes = async (parsedOutput, context) => {
|
|
1203
1195
|
const contents = map({});
|
|
1204
1196
|
const data = parsedOutput.body;
|
|
1205
1197
|
if (data.Code != null) {
|
|
@@ -1217,7 +1209,7 @@ const deserializeAws_restJson1BadRequestExceptionResponse = async (parsedOutput,
|
|
|
1217
1209
|
});
|
|
1218
1210
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1219
1211
|
};
|
|
1220
|
-
const
|
|
1212
|
+
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
1221
1213
|
const contents = map({});
|
|
1222
1214
|
const data = parsedOutput.body;
|
|
1223
1215
|
if (data.Code != null) {
|
|
@@ -1235,7 +1227,7 @@ const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, c
|
|
|
1235
1227
|
});
|
|
1236
1228
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1237
1229
|
};
|
|
1238
|
-
const
|
|
1230
|
+
const de_ForbiddenExceptionRes = async (parsedOutput, context) => {
|
|
1239
1231
|
const contents = map({});
|
|
1240
1232
|
const data = parsedOutput.body;
|
|
1241
1233
|
if (data.Code != null) {
|
|
@@ -1253,7 +1245,7 @@ const deserializeAws_restJson1ForbiddenExceptionResponse = async (parsedOutput,
|
|
|
1253
1245
|
});
|
|
1254
1246
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1255
1247
|
};
|
|
1256
|
-
const
|
|
1248
|
+
const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
1257
1249
|
const contents = map({});
|
|
1258
1250
|
const data = parsedOutput.body;
|
|
1259
1251
|
if (data.Code != null) {
|
|
@@ -1271,7 +1263,7 @@ const deserializeAws_restJson1LimitExceededExceptionResponse = async (parsedOutp
|
|
|
1271
1263
|
});
|
|
1272
1264
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1273
1265
|
};
|
|
1274
|
-
const
|
|
1266
|
+
const de_NotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1275
1267
|
const contents = map({});
|
|
1276
1268
|
const data = parsedOutput.body;
|
|
1277
1269
|
if (data.Code != null) {
|
|
@@ -1289,7 +1281,7 @@ const deserializeAws_restJson1NotFoundExceptionResponse = async (parsedOutput, c
|
|
|
1289
1281
|
});
|
|
1290
1282
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1291
1283
|
};
|
|
1292
|
-
const
|
|
1284
|
+
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1293
1285
|
const contents = map({});
|
|
1294
1286
|
const data = parsedOutput.body;
|
|
1295
1287
|
if (data.Code != null) {
|
|
@@ -1310,7 +1302,7 @@ const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedO
|
|
|
1310
1302
|
});
|
|
1311
1303
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1312
1304
|
};
|
|
1313
|
-
const
|
|
1305
|
+
const de_ServiceFailureExceptionRes = async (parsedOutput, context) => {
|
|
1314
1306
|
const contents = map({});
|
|
1315
1307
|
const data = parsedOutput.body;
|
|
1316
1308
|
if (data.Code != null) {
|
|
@@ -1328,7 +1320,7 @@ const deserializeAws_restJson1ServiceFailureExceptionResponse = async (parsedOut
|
|
|
1328
1320
|
});
|
|
1329
1321
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1330
1322
|
};
|
|
1331
|
-
const
|
|
1323
|
+
const de_ServiceUnavailableExceptionRes = async (parsedOutput, context) => {
|
|
1332
1324
|
const contents = map({
|
|
1333
1325
|
RetryAfterSeconds: [, parsedOutput.headers["retry-after"]],
|
|
1334
1326
|
});
|
|
@@ -1348,7 +1340,7 @@ const deserializeAws_restJson1ServiceUnavailableExceptionResponse = async (parse
|
|
|
1348
1340
|
});
|
|
1349
1341
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1350
1342
|
};
|
|
1351
|
-
const
|
|
1343
|
+
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
1352
1344
|
const contents = map({});
|
|
1353
1345
|
const data = parsedOutput.body;
|
|
1354
1346
|
if (data.Code != null) {
|
|
@@ -1366,7 +1358,7 @@ const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput,
|
|
|
1366
1358
|
});
|
|
1367
1359
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1368
1360
|
};
|
|
1369
|
-
const
|
|
1361
|
+
const de_TooManyTagsExceptionRes = async (parsedOutput, context) => {
|
|
1370
1362
|
const contents = map({});
|
|
1371
1363
|
const data = parsedOutput.body;
|
|
1372
1364
|
if (data.Code != null) {
|
|
@@ -1387,7 +1379,7 @@ const deserializeAws_restJson1TooManyTagsExceptionResponse = async (parsedOutput
|
|
|
1387
1379
|
});
|
|
1388
1380
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1389
1381
|
};
|
|
1390
|
-
const
|
|
1382
|
+
const de_UnauthorizedExceptionRes = async (parsedOutput, context) => {
|
|
1391
1383
|
const contents = map({});
|
|
1392
1384
|
const data = parsedOutput.body;
|
|
1393
1385
|
if (data.Code != null) {
|
|
@@ -1405,7 +1397,7 @@ const deserializeAws_restJson1UnauthorizedExceptionResponse = async (parsedOutpu
|
|
|
1405
1397
|
});
|
|
1406
1398
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1407
1399
|
};
|
|
1408
|
-
const
|
|
1400
|
+
const de_UnprocessableEntityExceptionRes = async (parsedOutput, context) => {
|
|
1409
1401
|
const contents = map({});
|
|
1410
1402
|
const data = parsedOutput.body;
|
|
1411
1403
|
if (data.Code != null) {
|
|
@@ -1423,53 +1415,51 @@ const deserializeAws_restJson1UnprocessableEntityExceptionResponse = async (pars
|
|
|
1423
1415
|
});
|
|
1424
1416
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1425
1417
|
};
|
|
1426
|
-
const
|
|
1418
|
+
const se_AttendeeCapabilities = (input, context) => {
|
|
1427
1419
|
return {
|
|
1428
1420
|
...(input.Audio != null && { Audio: input.Audio }),
|
|
1429
1421
|
...(input.Content != null && { Content: input.Content }),
|
|
1430
1422
|
...(input.Video != null && { Video: input.Video }),
|
|
1431
1423
|
};
|
|
1432
1424
|
};
|
|
1433
|
-
const
|
|
1425
|
+
const se_AttendeeIdItem = (input, context) => {
|
|
1434
1426
|
return {
|
|
1435
1427
|
...(input.AttendeeId != null && { AttendeeId: input.AttendeeId }),
|
|
1436
1428
|
};
|
|
1437
1429
|
};
|
|
1438
|
-
const
|
|
1430
|
+
const se_AttendeeIdsList = (input, context) => {
|
|
1439
1431
|
return input
|
|
1440
1432
|
.filter((e) => e != null)
|
|
1441
1433
|
.map((entry) => {
|
|
1442
|
-
return
|
|
1434
|
+
return se_AttendeeIdItem(entry, context);
|
|
1443
1435
|
});
|
|
1444
1436
|
};
|
|
1445
|
-
const
|
|
1437
|
+
const se_AudioFeatures = (input, context) => {
|
|
1446
1438
|
return {
|
|
1447
1439
|
...(input.EchoReduction != null && { EchoReduction: input.EchoReduction }),
|
|
1448
1440
|
};
|
|
1449
1441
|
};
|
|
1450
|
-
const
|
|
1442
|
+
const se_CreateAttendeeRequestItem = (input, context) => {
|
|
1451
1443
|
return {
|
|
1452
|
-
...(input.Capabilities != null && {
|
|
1453
|
-
Capabilities: serializeAws_restJson1AttendeeCapabilities(input.Capabilities, context),
|
|
1454
|
-
}),
|
|
1444
|
+
...(input.Capabilities != null && { Capabilities: se_AttendeeCapabilities(input.Capabilities, context) }),
|
|
1455
1445
|
...(input.ExternalUserId != null && { ExternalUserId: input.ExternalUserId }),
|
|
1456
1446
|
};
|
|
1457
1447
|
};
|
|
1458
|
-
const
|
|
1448
|
+
const se_CreateAttendeeRequestItemList = (input, context) => {
|
|
1459
1449
|
return input
|
|
1460
1450
|
.filter((e) => e != null)
|
|
1461
1451
|
.map((entry) => {
|
|
1462
|
-
return
|
|
1452
|
+
return se_CreateAttendeeRequestItem(entry, context);
|
|
1463
1453
|
});
|
|
1464
1454
|
};
|
|
1465
|
-
const
|
|
1455
|
+
const se_CreateMeetingWithAttendeesRequestItemList = (input, context) => {
|
|
1466
1456
|
return input
|
|
1467
1457
|
.filter((e) => e != null)
|
|
1468
1458
|
.map((entry) => {
|
|
1469
|
-
return
|
|
1459
|
+
return se_CreateAttendeeRequestItem(entry, context);
|
|
1470
1460
|
});
|
|
1471
1461
|
};
|
|
1472
|
-
const
|
|
1462
|
+
const se_EngineTranscribeMedicalSettings = (input, context) => {
|
|
1473
1463
|
return {
|
|
1474
1464
|
...(input.ContentIdentificationType != null && { ContentIdentificationType: input.ContentIdentificationType }),
|
|
1475
1465
|
...(input.LanguageCode != null && { LanguageCode: input.LanguageCode }),
|
|
@@ -1479,7 +1469,7 @@ const serializeAws_restJson1EngineTranscribeMedicalSettings = (input, context) =
|
|
|
1479
1469
|
...(input.VocabularyName != null && { VocabularyName: input.VocabularyName }),
|
|
1480
1470
|
};
|
|
1481
1471
|
};
|
|
1482
|
-
const
|
|
1472
|
+
const se_EngineTranscribeSettings = (input, context) => {
|
|
1483
1473
|
return {
|
|
1484
1474
|
...(input.ContentIdentificationType != null && { ContentIdentificationType: input.ContentIdentificationType }),
|
|
1485
1475
|
...(input.ContentRedactionType != null && { ContentRedactionType: input.ContentRedactionType }),
|
|
@@ -1499,107 +1489,105 @@ const serializeAws_restJson1EngineTranscribeSettings = (input, context) => {
|
|
|
1499
1489
|
...(input.VocabularyName != null && { VocabularyName: input.VocabularyName }),
|
|
1500
1490
|
};
|
|
1501
1491
|
};
|
|
1502
|
-
const
|
|
1492
|
+
const se_MeetingFeaturesConfiguration = (input, context) => {
|
|
1503
1493
|
return {
|
|
1504
|
-
...(input.Audio != null && { Audio:
|
|
1494
|
+
...(input.Audio != null && { Audio: se_AudioFeatures(input.Audio, context) }),
|
|
1505
1495
|
};
|
|
1506
1496
|
};
|
|
1507
|
-
const
|
|
1497
|
+
const se_NotificationsConfiguration = (input, context) => {
|
|
1508
1498
|
return {
|
|
1509
1499
|
...(input.LambdaFunctionArn != null && { LambdaFunctionArn: input.LambdaFunctionArn }),
|
|
1510
1500
|
...(input.SnsTopicArn != null && { SnsTopicArn: input.SnsTopicArn }),
|
|
1511
1501
|
...(input.SqsQueueArn != null && { SqsQueueArn: input.SqsQueueArn }),
|
|
1512
1502
|
};
|
|
1513
1503
|
};
|
|
1514
|
-
const
|
|
1504
|
+
const se_Tag = (input, context) => {
|
|
1515
1505
|
return {
|
|
1516
1506
|
...(input.Key != null && { Key: input.Key }),
|
|
1517
1507
|
...(input.Value != null && { Value: input.Value }),
|
|
1518
1508
|
};
|
|
1519
1509
|
};
|
|
1520
|
-
const
|
|
1510
|
+
const se_TagKeyList = (input, context) => {
|
|
1521
1511
|
return input
|
|
1522
1512
|
.filter((e) => e != null)
|
|
1523
1513
|
.map((entry) => {
|
|
1524
1514
|
return entry;
|
|
1525
1515
|
});
|
|
1526
1516
|
};
|
|
1527
|
-
const
|
|
1517
|
+
const se_TagList = (input, context) => {
|
|
1528
1518
|
return input
|
|
1529
1519
|
.filter((e) => e != null)
|
|
1530
1520
|
.map((entry) => {
|
|
1531
|
-
return
|
|
1521
|
+
return se_Tag(entry, context);
|
|
1532
1522
|
});
|
|
1533
1523
|
};
|
|
1534
|
-
const
|
|
1524
|
+
const se_TenantIdList = (input, context) => {
|
|
1535
1525
|
return input
|
|
1536
1526
|
.filter((e) => e != null)
|
|
1537
1527
|
.map((entry) => {
|
|
1538
1528
|
return entry;
|
|
1539
1529
|
});
|
|
1540
1530
|
};
|
|
1541
|
-
const
|
|
1531
|
+
const se_TranscriptionConfiguration = (input, context) => {
|
|
1542
1532
|
return {
|
|
1543
1533
|
...(input.EngineTranscribeMedicalSettings != null && {
|
|
1544
|
-
EngineTranscribeMedicalSettings:
|
|
1534
|
+
EngineTranscribeMedicalSettings: se_EngineTranscribeMedicalSettings(input.EngineTranscribeMedicalSettings, context),
|
|
1545
1535
|
}),
|
|
1546
1536
|
...(input.EngineTranscribeSettings != null && {
|
|
1547
|
-
EngineTranscribeSettings:
|
|
1537
|
+
EngineTranscribeSettings: se_EngineTranscribeSettings(input.EngineTranscribeSettings, context),
|
|
1548
1538
|
}),
|
|
1549
1539
|
};
|
|
1550
1540
|
};
|
|
1551
|
-
const
|
|
1541
|
+
const de_Attendee = (output, context) => {
|
|
1552
1542
|
return {
|
|
1553
1543
|
AttendeeId: (0, smithy_client_1.expectString)(output.AttendeeId),
|
|
1554
|
-
Capabilities: output.Capabilities != null
|
|
1555
|
-
? deserializeAws_restJson1AttendeeCapabilities(output.Capabilities, context)
|
|
1556
|
-
: undefined,
|
|
1544
|
+
Capabilities: output.Capabilities != null ? de_AttendeeCapabilities(output.Capabilities, context) : undefined,
|
|
1557
1545
|
ExternalUserId: (0, smithy_client_1.expectString)(output.ExternalUserId),
|
|
1558
1546
|
JoinToken: (0, smithy_client_1.expectString)(output.JoinToken),
|
|
1559
1547
|
};
|
|
1560
1548
|
};
|
|
1561
|
-
const
|
|
1549
|
+
const de_AttendeeCapabilities = (output, context) => {
|
|
1562
1550
|
return {
|
|
1563
1551
|
Audio: (0, smithy_client_1.expectString)(output.Audio),
|
|
1564
1552
|
Content: (0, smithy_client_1.expectString)(output.Content),
|
|
1565
1553
|
Video: (0, smithy_client_1.expectString)(output.Video),
|
|
1566
1554
|
};
|
|
1567
1555
|
};
|
|
1568
|
-
const
|
|
1556
|
+
const de_AttendeeList = (output, context) => {
|
|
1569
1557
|
const retVal = (output || [])
|
|
1570
1558
|
.filter((e) => e != null)
|
|
1571
1559
|
.map((entry) => {
|
|
1572
1560
|
if (entry === null) {
|
|
1573
1561
|
return null;
|
|
1574
1562
|
}
|
|
1575
|
-
return
|
|
1563
|
+
return de_Attendee(entry, context);
|
|
1576
1564
|
});
|
|
1577
1565
|
return retVal;
|
|
1578
1566
|
};
|
|
1579
|
-
const
|
|
1567
|
+
const de_AudioFeatures = (output, context) => {
|
|
1580
1568
|
return {
|
|
1581
1569
|
EchoReduction: (0, smithy_client_1.expectString)(output.EchoReduction),
|
|
1582
1570
|
};
|
|
1583
1571
|
};
|
|
1584
|
-
const
|
|
1572
|
+
const de_BatchCreateAttendeeErrorList = (output, context) => {
|
|
1585
1573
|
const retVal = (output || [])
|
|
1586
1574
|
.filter((e) => e != null)
|
|
1587
1575
|
.map((entry) => {
|
|
1588
1576
|
if (entry === null) {
|
|
1589
1577
|
return null;
|
|
1590
1578
|
}
|
|
1591
|
-
return
|
|
1579
|
+
return de_CreateAttendeeError(entry, context);
|
|
1592
1580
|
});
|
|
1593
1581
|
return retVal;
|
|
1594
1582
|
};
|
|
1595
|
-
const
|
|
1583
|
+
const de_CreateAttendeeError = (output, context) => {
|
|
1596
1584
|
return {
|
|
1597
1585
|
ErrorCode: (0, smithy_client_1.expectString)(output.ErrorCode),
|
|
1598
1586
|
ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
|
|
1599
1587
|
ExternalUserId: (0, smithy_client_1.expectString)(output.ExternalUserId),
|
|
1600
1588
|
};
|
|
1601
1589
|
};
|
|
1602
|
-
const
|
|
1590
|
+
const de_MediaPlacement = (output, context) => {
|
|
1603
1591
|
return {
|
|
1604
1592
|
AudioFallbackUrl: (0, smithy_client_1.expectString)(output.AudioFallbackUrl),
|
|
1605
1593
|
AudioHostUrl: (0, smithy_client_1.expectString)(output.AudioHostUrl),
|
|
@@ -1611,46 +1599,42 @@ const deserializeAws_restJson1MediaPlacement = (output, context) => {
|
|
|
1611
1599
|
TurnControlUrl: (0, smithy_client_1.expectString)(output.TurnControlUrl),
|
|
1612
1600
|
};
|
|
1613
1601
|
};
|
|
1614
|
-
const
|
|
1602
|
+
const de_Meeting = (output, context) => {
|
|
1615
1603
|
return {
|
|
1616
1604
|
ExternalMeetingId: (0, smithy_client_1.expectString)(output.ExternalMeetingId),
|
|
1617
|
-
MediaPlacement: output.MediaPlacement != null
|
|
1618
|
-
? deserializeAws_restJson1MediaPlacement(output.MediaPlacement, context)
|
|
1619
|
-
: undefined,
|
|
1605
|
+
MediaPlacement: output.MediaPlacement != null ? de_MediaPlacement(output.MediaPlacement, context) : undefined,
|
|
1620
1606
|
MediaRegion: (0, smithy_client_1.expectString)(output.MediaRegion),
|
|
1621
1607
|
MeetingArn: (0, smithy_client_1.expectString)(output.MeetingArn),
|
|
1622
|
-
MeetingFeatures: output.MeetingFeatures != null
|
|
1623
|
-
? deserializeAws_restJson1MeetingFeaturesConfiguration(output.MeetingFeatures, context)
|
|
1624
|
-
: undefined,
|
|
1608
|
+
MeetingFeatures: output.MeetingFeatures != null ? de_MeetingFeaturesConfiguration(output.MeetingFeatures, context) : undefined,
|
|
1625
1609
|
MeetingHostId: (0, smithy_client_1.expectString)(output.MeetingHostId),
|
|
1626
1610
|
MeetingId: (0, smithy_client_1.expectString)(output.MeetingId),
|
|
1627
1611
|
PrimaryMeetingId: (0, smithy_client_1.expectString)(output.PrimaryMeetingId),
|
|
1628
|
-
TenantIds: output.TenantIds != null ?
|
|
1612
|
+
TenantIds: output.TenantIds != null ? de_TenantIdList(output.TenantIds, context) : undefined,
|
|
1629
1613
|
};
|
|
1630
1614
|
};
|
|
1631
|
-
const
|
|
1615
|
+
const de_MeetingFeaturesConfiguration = (output, context) => {
|
|
1632
1616
|
return {
|
|
1633
|
-
Audio: output.Audio != null ?
|
|
1617
|
+
Audio: output.Audio != null ? de_AudioFeatures(output.Audio, context) : undefined,
|
|
1634
1618
|
};
|
|
1635
1619
|
};
|
|
1636
|
-
const
|
|
1620
|
+
const de_Tag = (output, context) => {
|
|
1637
1621
|
return {
|
|
1638
1622
|
Key: (0, smithy_client_1.expectString)(output.Key),
|
|
1639
1623
|
Value: (0, smithy_client_1.expectString)(output.Value),
|
|
1640
1624
|
};
|
|
1641
1625
|
};
|
|
1642
|
-
const
|
|
1626
|
+
const de_TagList = (output, context) => {
|
|
1643
1627
|
const retVal = (output || [])
|
|
1644
1628
|
.filter((e) => e != null)
|
|
1645
1629
|
.map((entry) => {
|
|
1646
1630
|
if (entry === null) {
|
|
1647
1631
|
return null;
|
|
1648
1632
|
}
|
|
1649
|
-
return
|
|
1633
|
+
return de_Tag(entry, context);
|
|
1650
1634
|
});
|
|
1651
1635
|
return retVal;
|
|
1652
1636
|
};
|
|
1653
|
-
const
|
|
1637
|
+
const de_TenantIdList = (output, context) => {
|
|
1654
1638
|
const retVal = (output || [])
|
|
1655
1639
|
.filter((e) => e != null)
|
|
1656
1640
|
.map((entry) => {
|