@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.
- package/dist-cjs/ChimeSDKMeetings.js +20 -224
- package/dist-cjs/protocols/Aws_restJson1.js +216 -515
- package/dist-es/ChimeSDKMeetings.js +20 -224
- package/dist-es/protocols/Aws_restJson1.js +180 -479
- package/dist-types/ChimeSDKMeetings.d.ts +25 -146
- package/dist-types/ts3.4/ChimeSDKMeetings.d.ts +4 -1
- package/package.json +6 -6
|
@@ -13,13 +13,13 @@ const se_BatchCreateAttendeeCommand = async (input, context) => {
|
|
|
13
13
|
};
|
|
14
14
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/meetings/{MeetingId}/attendees";
|
|
15
15
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "MeetingId", () => input.MeetingId, "{MeetingId}", false);
|
|
16
|
-
const query = map({
|
|
16
|
+
const query = (0, smithy_client_1.map)({
|
|
17
17
|
operation: [, "batch-create"],
|
|
18
18
|
});
|
|
19
19
|
let body;
|
|
20
|
-
body = JSON.stringify({
|
|
21
|
-
|
|
22
|
-
});
|
|
20
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
21
|
+
Attendees: (_) => (0, smithy_client_1._json)(_),
|
|
22
|
+
}));
|
|
23
23
|
return new protocol_http_1.HttpRequest({
|
|
24
24
|
protocol,
|
|
25
25
|
hostname,
|
|
@@ -40,16 +40,14 @@ const se_BatchUpdateAttendeeCapabilitiesExceptCommand = async (input, context) =
|
|
|
40
40
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
41
41
|
"/meetings/{MeetingId}/attendees/capabilities";
|
|
42
42
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "MeetingId", () => input.MeetingId, "{MeetingId}", false);
|
|
43
|
-
const query = map({
|
|
43
|
+
const query = (0, smithy_client_1.map)({
|
|
44
44
|
operation: [, "batch-update-except"],
|
|
45
45
|
});
|
|
46
46
|
let body;
|
|
47
|
-
body = JSON.stringify({
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
}),
|
|
52
|
-
});
|
|
47
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
48
|
+
Capabilities: (_) => (0, smithy_client_1._json)(_),
|
|
49
|
+
ExcludedAttendeeIds: (_) => (0, smithy_client_1._json)(_),
|
|
50
|
+
}));
|
|
53
51
|
return new protocol_http_1.HttpRequest({
|
|
54
52
|
protocol,
|
|
55
53
|
hostname,
|
|
@@ -70,10 +68,10 @@ const se_CreateAttendeeCommand = async (input, context) => {
|
|
|
70
68
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/meetings/{MeetingId}/attendees";
|
|
71
69
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "MeetingId", () => input.MeetingId, "{MeetingId}", false);
|
|
72
70
|
let body;
|
|
73
|
-
body = JSON.stringify({
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
});
|
|
71
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
72
|
+
Capabilities: (_) => (0, smithy_client_1._json)(_),
|
|
73
|
+
ExternalUserId: [],
|
|
74
|
+
}));
|
|
77
75
|
return new protocol_http_1.HttpRequest({
|
|
78
76
|
protocol,
|
|
79
77
|
hostname,
|
|
@@ -92,21 +90,17 @@ const se_CreateMeetingCommand = async (input, context) => {
|
|
|
92
90
|
};
|
|
93
91
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/meetings";
|
|
94
92
|
let body;
|
|
95
|
-
body = JSON.stringify({
|
|
96
|
-
ClientRequestToken:
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
...(input.PrimaryMeetingId != null && { PrimaryMeetingId: input.PrimaryMeetingId }),
|
|
107
|
-
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
108
|
-
...(input.TenantIds != null && { TenantIds: se_TenantIdList(input.TenantIds, context) }),
|
|
109
|
-
});
|
|
93
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
94
|
+
ClientRequestToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
95
|
+
ExternalMeetingId: [],
|
|
96
|
+
MediaRegion: [],
|
|
97
|
+
MeetingFeatures: (_) => (0, smithy_client_1._json)(_),
|
|
98
|
+
MeetingHostId: [],
|
|
99
|
+
NotificationsConfiguration: (_) => (0, smithy_client_1._json)(_),
|
|
100
|
+
PrimaryMeetingId: [],
|
|
101
|
+
Tags: (_) => (0, smithy_client_1._json)(_),
|
|
102
|
+
TenantIds: (_) => (0, smithy_client_1._json)(_),
|
|
103
|
+
}));
|
|
110
104
|
return new protocol_http_1.HttpRequest({
|
|
111
105
|
protocol,
|
|
112
106
|
hostname,
|
|
@@ -124,28 +118,22 @@ const se_CreateMeetingWithAttendeesCommand = async (input, context) => {
|
|
|
124
118
|
"content-type": "application/json",
|
|
125
119
|
};
|
|
126
120
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/meetings";
|
|
127
|
-
const query = map({
|
|
121
|
+
const query = (0, smithy_client_1.map)({
|
|
128
122
|
operation: [, "create-attendees"],
|
|
129
123
|
});
|
|
130
124
|
let body;
|
|
131
|
-
body = JSON.stringify({
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
NotificationsConfiguration: se_NotificationsConfiguration(input.NotificationsConfiguration, context),
|
|
144
|
-
}),
|
|
145
|
-
...(input.PrimaryMeetingId != null && { PrimaryMeetingId: input.PrimaryMeetingId }),
|
|
146
|
-
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
147
|
-
...(input.TenantIds != null && { TenantIds: se_TenantIdList(input.TenantIds, context) }),
|
|
148
|
-
});
|
|
125
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
126
|
+
Attendees: (_) => (0, smithy_client_1._json)(_),
|
|
127
|
+
ClientRequestToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
128
|
+
ExternalMeetingId: [],
|
|
129
|
+
MediaRegion: [],
|
|
130
|
+
MeetingFeatures: (_) => (0, smithy_client_1._json)(_),
|
|
131
|
+
MeetingHostId: [],
|
|
132
|
+
NotificationsConfiguration: (_) => (0, smithy_client_1._json)(_),
|
|
133
|
+
PrimaryMeetingId: [],
|
|
134
|
+
Tags: (_) => (0, smithy_client_1._json)(_),
|
|
135
|
+
TenantIds: (_) => (0, smithy_client_1._json)(_),
|
|
136
|
+
}));
|
|
149
137
|
return new protocol_http_1.HttpRequest({
|
|
150
138
|
protocol,
|
|
151
139
|
hostname,
|
|
@@ -235,7 +223,7 @@ const se_ListAttendeesCommand = async (input, context) => {
|
|
|
235
223
|
const headers = {};
|
|
236
224
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/meetings/{MeetingId}/attendees";
|
|
237
225
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "MeetingId", () => input.MeetingId, "{MeetingId}", false);
|
|
238
|
-
const query = map({
|
|
226
|
+
const query = (0, smithy_client_1.map)({
|
|
239
227
|
"next-token": [, input.NextToken],
|
|
240
228
|
"max-results": [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
|
|
241
229
|
});
|
|
@@ -256,7 +244,7 @@ const se_ListTagsForResourceCommand = async (input, context) => {
|
|
|
256
244
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
257
245
|
const headers = {};
|
|
258
246
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags";
|
|
259
|
-
const query = map({
|
|
247
|
+
const query = (0, smithy_client_1.map)({
|
|
260
248
|
arn: [, (0, smithy_client_1.expectNonNull)(input.ResourceARN, `ResourceARN`)],
|
|
261
249
|
});
|
|
262
250
|
let body;
|
|
@@ -279,15 +267,13 @@ const se_StartMeetingTranscriptionCommand = async (input, context) => {
|
|
|
279
267
|
};
|
|
280
268
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/meetings/{MeetingId}/transcription";
|
|
281
269
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "MeetingId", () => input.MeetingId, "{MeetingId}", false);
|
|
282
|
-
const query = map({
|
|
270
|
+
const query = (0, smithy_client_1.map)({
|
|
283
271
|
operation: [, "start"],
|
|
284
272
|
});
|
|
285
273
|
let body;
|
|
286
|
-
body = JSON.stringify({
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
}),
|
|
290
|
-
});
|
|
274
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
275
|
+
TranscriptionConfiguration: (_) => (0, smithy_client_1._json)(_),
|
|
276
|
+
}));
|
|
291
277
|
return new protocol_http_1.HttpRequest({
|
|
292
278
|
protocol,
|
|
293
279
|
hostname,
|
|
@@ -305,7 +291,7 @@ const se_StopMeetingTranscriptionCommand = async (input, context) => {
|
|
|
305
291
|
const headers = {};
|
|
306
292
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/meetings/{MeetingId}/transcription";
|
|
307
293
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "MeetingId", () => input.MeetingId, "{MeetingId}", false);
|
|
308
|
-
const query = map({
|
|
294
|
+
const query = (0, smithy_client_1.map)({
|
|
309
295
|
operation: [, "stop"],
|
|
310
296
|
});
|
|
311
297
|
let body;
|
|
@@ -327,14 +313,14 @@ const se_TagResourceCommand = async (input, context) => {
|
|
|
327
313
|
"content-type": "application/json",
|
|
328
314
|
};
|
|
329
315
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags";
|
|
330
|
-
const query = map({
|
|
316
|
+
const query = (0, smithy_client_1.map)({
|
|
331
317
|
operation: [, "tag-resource"],
|
|
332
318
|
});
|
|
333
319
|
let body;
|
|
334
|
-
body = JSON.stringify({
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
});
|
|
320
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
321
|
+
ResourceARN: [],
|
|
322
|
+
Tags: (_) => (0, smithy_client_1._json)(_),
|
|
323
|
+
}));
|
|
338
324
|
return new protocol_http_1.HttpRequest({
|
|
339
325
|
protocol,
|
|
340
326
|
hostname,
|
|
@@ -353,14 +339,14 @@ const se_UntagResourceCommand = async (input, context) => {
|
|
|
353
339
|
"content-type": "application/json",
|
|
354
340
|
};
|
|
355
341
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags";
|
|
356
|
-
const query = map({
|
|
342
|
+
const query = (0, smithy_client_1.map)({
|
|
357
343
|
operation: [, "untag-resource"],
|
|
358
344
|
});
|
|
359
345
|
let body;
|
|
360
|
-
body = JSON.stringify({
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
});
|
|
346
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
347
|
+
ResourceARN: [],
|
|
348
|
+
TagKeys: (_) => (0, smithy_client_1._json)(_),
|
|
349
|
+
}));
|
|
364
350
|
return new protocol_http_1.HttpRequest({
|
|
365
351
|
protocol,
|
|
366
352
|
hostname,
|
|
@@ -383,9 +369,9 @@ const se_UpdateAttendeeCapabilitiesCommand = async (input, context) => {
|
|
|
383
369
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "MeetingId", () => input.MeetingId, "{MeetingId}", false);
|
|
384
370
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AttendeeId", () => input.AttendeeId, "{AttendeeId}", false);
|
|
385
371
|
let body;
|
|
386
|
-
body = JSON.stringify({
|
|
387
|
-
|
|
388
|
-
});
|
|
372
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
373
|
+
Capabilities: (_) => (0, smithy_client_1._json)(_),
|
|
374
|
+
}));
|
|
389
375
|
return new protocol_http_1.HttpRequest({
|
|
390
376
|
protocol,
|
|
391
377
|
hostname,
|
|
@@ -401,16 +387,15 @@ const de_BatchCreateAttendeeCommand = async (output, context) => {
|
|
|
401
387
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
402
388
|
return de_BatchCreateAttendeeCommandError(output, context);
|
|
403
389
|
}
|
|
404
|
-
const contents = map({
|
|
390
|
+
const contents = (0, smithy_client_1.map)({
|
|
405
391
|
$metadata: deserializeMetadata(output),
|
|
406
392
|
});
|
|
407
393
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
}
|
|
394
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
395
|
+
Attendees: smithy_client_1._json,
|
|
396
|
+
Errors: smithy_client_1._json,
|
|
397
|
+
});
|
|
398
|
+
Object.assign(contents, doc);
|
|
414
399
|
return contents;
|
|
415
400
|
};
|
|
416
401
|
exports.de_BatchCreateAttendeeCommand = de_BatchCreateAttendeeCommand;
|
|
@@ -450,10 +435,9 @@ const de_BatchCreateAttendeeCommandError = async (output, context) => {
|
|
|
450
435
|
throw await de_UnprocessableEntityExceptionRes(parsedOutput, context);
|
|
451
436
|
default:
|
|
452
437
|
const parsedBody = parsedOutput.body;
|
|
453
|
-
|
|
438
|
+
return throwDefaultError({
|
|
454
439
|
output,
|
|
455
440
|
parsedBody,
|
|
456
|
-
exceptionCtor: ChimeSDKMeetingsServiceException_1.ChimeSDKMeetingsServiceException,
|
|
457
441
|
errorCode,
|
|
458
442
|
});
|
|
459
443
|
}
|
|
@@ -462,7 +446,7 @@ const de_BatchUpdateAttendeeCapabilitiesExceptCommand = async (output, context)
|
|
|
462
446
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
463
447
|
return de_BatchUpdateAttendeeCapabilitiesExceptCommandError(output, context);
|
|
464
448
|
}
|
|
465
|
-
const contents = map({
|
|
449
|
+
const contents = (0, smithy_client_1.map)({
|
|
466
450
|
$metadata: deserializeMetadata(output),
|
|
467
451
|
});
|
|
468
452
|
await collectBody(output.body, context);
|
|
@@ -496,10 +480,9 @@ const de_BatchUpdateAttendeeCapabilitiesExceptCommandError = async (output, cont
|
|
|
496
480
|
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
497
481
|
default:
|
|
498
482
|
const parsedBody = parsedOutput.body;
|
|
499
|
-
|
|
483
|
+
return throwDefaultError({
|
|
500
484
|
output,
|
|
501
485
|
parsedBody,
|
|
502
|
-
exceptionCtor: ChimeSDKMeetingsServiceException_1.ChimeSDKMeetingsServiceException,
|
|
503
486
|
errorCode,
|
|
504
487
|
});
|
|
505
488
|
}
|
|
@@ -508,13 +491,14 @@ const de_CreateAttendeeCommand = async (output, context) => {
|
|
|
508
491
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
509
492
|
return de_CreateAttendeeCommandError(output, context);
|
|
510
493
|
}
|
|
511
|
-
const contents = map({
|
|
494
|
+
const contents = (0, smithy_client_1.map)({
|
|
512
495
|
$metadata: deserializeMetadata(output),
|
|
513
496
|
});
|
|
514
497
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
}
|
|
498
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
499
|
+
Attendee: smithy_client_1._json,
|
|
500
|
+
});
|
|
501
|
+
Object.assign(contents, doc);
|
|
518
502
|
return contents;
|
|
519
503
|
};
|
|
520
504
|
exports.de_CreateAttendeeCommand = de_CreateAttendeeCommand;
|
|
@@ -554,10 +538,9 @@ const de_CreateAttendeeCommandError = async (output, context) => {
|
|
|
554
538
|
throw await de_UnprocessableEntityExceptionRes(parsedOutput, context);
|
|
555
539
|
default:
|
|
556
540
|
const parsedBody = parsedOutput.body;
|
|
557
|
-
|
|
541
|
+
return throwDefaultError({
|
|
558
542
|
output,
|
|
559
543
|
parsedBody,
|
|
560
|
-
exceptionCtor: ChimeSDKMeetingsServiceException_1.ChimeSDKMeetingsServiceException,
|
|
561
544
|
errorCode,
|
|
562
545
|
});
|
|
563
546
|
}
|
|
@@ -566,13 +549,14 @@ const de_CreateMeetingCommand = async (output, context) => {
|
|
|
566
549
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
567
550
|
return de_CreateMeetingCommandError(output, context);
|
|
568
551
|
}
|
|
569
|
-
const contents = map({
|
|
552
|
+
const contents = (0, smithy_client_1.map)({
|
|
570
553
|
$metadata: deserializeMetadata(output),
|
|
571
554
|
});
|
|
572
555
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
}
|
|
556
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
557
|
+
Meeting: smithy_client_1._json,
|
|
558
|
+
});
|
|
559
|
+
Object.assign(contents, doc);
|
|
576
560
|
return contents;
|
|
577
561
|
};
|
|
578
562
|
exports.de_CreateMeetingCommand = de_CreateMeetingCommand;
|
|
@@ -606,10 +590,9 @@ const de_CreateMeetingCommandError = async (output, context) => {
|
|
|
606
590
|
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
607
591
|
default:
|
|
608
592
|
const parsedBody = parsedOutput.body;
|
|
609
|
-
|
|
593
|
+
return throwDefaultError({
|
|
610
594
|
output,
|
|
611
595
|
parsedBody,
|
|
612
|
-
exceptionCtor: ChimeSDKMeetingsServiceException_1.ChimeSDKMeetingsServiceException,
|
|
613
596
|
errorCode,
|
|
614
597
|
});
|
|
615
598
|
}
|
|
@@ -618,19 +601,16 @@ const de_CreateMeetingWithAttendeesCommand = async (output, context) => {
|
|
|
618
601
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
619
602
|
return de_CreateMeetingWithAttendeesCommandError(output, context);
|
|
620
603
|
}
|
|
621
|
-
const contents = map({
|
|
604
|
+
const contents = (0, smithy_client_1.map)({
|
|
622
605
|
$metadata: deserializeMetadata(output),
|
|
623
606
|
});
|
|
624
607
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
if (data.Meeting != null) {
|
|
632
|
-
contents.Meeting = de_Meeting(data.Meeting, context);
|
|
633
|
-
}
|
|
608
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
609
|
+
Attendees: smithy_client_1._json,
|
|
610
|
+
Errors: smithy_client_1._json,
|
|
611
|
+
Meeting: smithy_client_1._json,
|
|
612
|
+
});
|
|
613
|
+
Object.assign(contents, doc);
|
|
634
614
|
return contents;
|
|
635
615
|
};
|
|
636
616
|
exports.de_CreateMeetingWithAttendeesCommand = de_CreateMeetingWithAttendeesCommand;
|
|
@@ -664,10 +644,9 @@ const de_CreateMeetingWithAttendeesCommandError = async (output, context) => {
|
|
|
664
644
|
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
665
645
|
default:
|
|
666
646
|
const parsedBody = parsedOutput.body;
|
|
667
|
-
|
|
647
|
+
return throwDefaultError({
|
|
668
648
|
output,
|
|
669
649
|
parsedBody,
|
|
670
|
-
exceptionCtor: ChimeSDKMeetingsServiceException_1.ChimeSDKMeetingsServiceException,
|
|
671
650
|
errorCode,
|
|
672
651
|
});
|
|
673
652
|
}
|
|
@@ -676,7 +655,7 @@ const de_DeleteAttendeeCommand = async (output, context) => {
|
|
|
676
655
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
677
656
|
return de_DeleteAttendeeCommandError(output, context);
|
|
678
657
|
}
|
|
679
|
-
const contents = map({
|
|
658
|
+
const contents = (0, smithy_client_1.map)({
|
|
680
659
|
$metadata: deserializeMetadata(output),
|
|
681
660
|
});
|
|
682
661
|
await collectBody(output.body, context);
|
|
@@ -713,10 +692,9 @@ const de_DeleteAttendeeCommandError = async (output, context) => {
|
|
|
713
692
|
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
714
693
|
default:
|
|
715
694
|
const parsedBody = parsedOutput.body;
|
|
716
|
-
|
|
695
|
+
return throwDefaultError({
|
|
717
696
|
output,
|
|
718
697
|
parsedBody,
|
|
719
|
-
exceptionCtor: ChimeSDKMeetingsServiceException_1.ChimeSDKMeetingsServiceException,
|
|
720
698
|
errorCode,
|
|
721
699
|
});
|
|
722
700
|
}
|
|
@@ -725,7 +703,7 @@ const de_DeleteMeetingCommand = async (output, context) => {
|
|
|
725
703
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
726
704
|
return de_DeleteMeetingCommandError(output, context);
|
|
727
705
|
}
|
|
728
|
-
const contents = map({
|
|
706
|
+
const contents = (0, smithy_client_1.map)({
|
|
729
707
|
$metadata: deserializeMetadata(output),
|
|
730
708
|
});
|
|
731
709
|
await collectBody(output.body, context);
|
|
@@ -762,10 +740,9 @@ const de_DeleteMeetingCommandError = async (output, context) => {
|
|
|
762
740
|
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
763
741
|
default:
|
|
764
742
|
const parsedBody = parsedOutput.body;
|
|
765
|
-
|
|
743
|
+
return throwDefaultError({
|
|
766
744
|
output,
|
|
767
745
|
parsedBody,
|
|
768
|
-
exceptionCtor: ChimeSDKMeetingsServiceException_1.ChimeSDKMeetingsServiceException,
|
|
769
746
|
errorCode,
|
|
770
747
|
});
|
|
771
748
|
}
|
|
@@ -774,13 +751,14 @@ const de_GetAttendeeCommand = async (output, context) => {
|
|
|
774
751
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
775
752
|
return de_GetAttendeeCommandError(output, context);
|
|
776
753
|
}
|
|
777
|
-
const contents = map({
|
|
754
|
+
const contents = (0, smithy_client_1.map)({
|
|
778
755
|
$metadata: deserializeMetadata(output),
|
|
779
756
|
});
|
|
780
757
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
}
|
|
758
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
759
|
+
Attendee: smithy_client_1._json,
|
|
760
|
+
});
|
|
761
|
+
Object.assign(contents, doc);
|
|
784
762
|
return contents;
|
|
785
763
|
};
|
|
786
764
|
exports.de_GetAttendeeCommand = de_GetAttendeeCommand;
|
|
@@ -814,10 +792,9 @@ const de_GetAttendeeCommandError = async (output, context) => {
|
|
|
814
792
|
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
815
793
|
default:
|
|
816
794
|
const parsedBody = parsedOutput.body;
|
|
817
|
-
|
|
795
|
+
return throwDefaultError({
|
|
818
796
|
output,
|
|
819
797
|
parsedBody,
|
|
820
|
-
exceptionCtor: ChimeSDKMeetingsServiceException_1.ChimeSDKMeetingsServiceException,
|
|
821
798
|
errorCode,
|
|
822
799
|
});
|
|
823
800
|
}
|
|
@@ -826,13 +803,14 @@ const de_GetMeetingCommand = async (output, context) => {
|
|
|
826
803
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
827
804
|
return de_GetMeetingCommandError(output, context);
|
|
828
805
|
}
|
|
829
|
-
const contents = map({
|
|
806
|
+
const contents = (0, smithy_client_1.map)({
|
|
830
807
|
$metadata: deserializeMetadata(output),
|
|
831
808
|
});
|
|
832
809
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
}
|
|
810
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
811
|
+
Meeting: smithy_client_1._json,
|
|
812
|
+
});
|
|
813
|
+
Object.assign(contents, doc);
|
|
836
814
|
return contents;
|
|
837
815
|
};
|
|
838
816
|
exports.de_GetMeetingCommand = de_GetMeetingCommand;
|
|
@@ -866,10 +844,9 @@ const de_GetMeetingCommandError = async (output, context) => {
|
|
|
866
844
|
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
867
845
|
default:
|
|
868
846
|
const parsedBody = parsedOutput.body;
|
|
869
|
-
|
|
847
|
+
return throwDefaultError({
|
|
870
848
|
output,
|
|
871
849
|
parsedBody,
|
|
872
|
-
exceptionCtor: ChimeSDKMeetingsServiceException_1.ChimeSDKMeetingsServiceException,
|
|
873
850
|
errorCode,
|
|
874
851
|
});
|
|
875
852
|
}
|
|
@@ -878,16 +855,15 @@ const de_ListAttendeesCommand = async (output, context) => {
|
|
|
878
855
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
879
856
|
return de_ListAttendeesCommandError(output, context);
|
|
880
857
|
}
|
|
881
|
-
const contents = map({
|
|
858
|
+
const contents = (0, smithy_client_1.map)({
|
|
882
859
|
$metadata: deserializeMetadata(output),
|
|
883
860
|
});
|
|
884
861
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
}
|
|
862
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
863
|
+
Attendees: smithy_client_1._json,
|
|
864
|
+
NextToken: smithy_client_1.expectString,
|
|
865
|
+
});
|
|
866
|
+
Object.assign(contents, doc);
|
|
891
867
|
return contents;
|
|
892
868
|
};
|
|
893
869
|
exports.de_ListAttendeesCommand = de_ListAttendeesCommand;
|
|
@@ -921,10 +897,9 @@ const de_ListAttendeesCommandError = async (output, context) => {
|
|
|
921
897
|
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
922
898
|
default:
|
|
923
899
|
const parsedBody = parsedOutput.body;
|
|
924
|
-
|
|
900
|
+
return throwDefaultError({
|
|
925
901
|
output,
|
|
926
902
|
parsedBody,
|
|
927
|
-
exceptionCtor: ChimeSDKMeetingsServiceException_1.ChimeSDKMeetingsServiceException,
|
|
928
903
|
errorCode,
|
|
929
904
|
});
|
|
930
905
|
}
|
|
@@ -933,13 +908,14 @@ const de_ListTagsForResourceCommand = async (output, context) => {
|
|
|
933
908
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
934
909
|
return de_ListTagsForResourceCommandError(output, context);
|
|
935
910
|
}
|
|
936
|
-
const contents = map({
|
|
911
|
+
const contents = (0, smithy_client_1.map)({
|
|
937
912
|
$metadata: deserializeMetadata(output),
|
|
938
913
|
});
|
|
939
914
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
}
|
|
915
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
916
|
+
Tags: smithy_client_1._json,
|
|
917
|
+
});
|
|
918
|
+
Object.assign(contents, doc);
|
|
943
919
|
return contents;
|
|
944
920
|
};
|
|
945
921
|
exports.de_ListTagsForResourceCommand = de_ListTagsForResourceCommand;
|
|
@@ -955,10 +931,9 @@ const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
|
955
931
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
956
932
|
default:
|
|
957
933
|
const parsedBody = parsedOutput.body;
|
|
958
|
-
|
|
934
|
+
return throwDefaultError({
|
|
959
935
|
output,
|
|
960
936
|
parsedBody,
|
|
961
|
-
exceptionCtor: ChimeSDKMeetingsServiceException_1.ChimeSDKMeetingsServiceException,
|
|
962
937
|
errorCode,
|
|
963
938
|
});
|
|
964
939
|
}
|
|
@@ -967,7 +942,7 @@ const de_StartMeetingTranscriptionCommand = async (output, context) => {
|
|
|
967
942
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
968
943
|
return de_StartMeetingTranscriptionCommandError(output, context);
|
|
969
944
|
}
|
|
970
|
-
const contents = map({
|
|
945
|
+
const contents = (0, smithy_client_1.map)({
|
|
971
946
|
$metadata: deserializeMetadata(output),
|
|
972
947
|
});
|
|
973
948
|
await collectBody(output.body, context);
|
|
@@ -1010,10 +985,9 @@ const de_StartMeetingTranscriptionCommandError = async (output, context) => {
|
|
|
1010
985
|
throw await de_UnprocessableEntityExceptionRes(parsedOutput, context);
|
|
1011
986
|
default:
|
|
1012
987
|
const parsedBody = parsedOutput.body;
|
|
1013
|
-
|
|
988
|
+
return throwDefaultError({
|
|
1014
989
|
output,
|
|
1015
990
|
parsedBody,
|
|
1016
|
-
exceptionCtor: ChimeSDKMeetingsServiceException_1.ChimeSDKMeetingsServiceException,
|
|
1017
991
|
errorCode,
|
|
1018
992
|
});
|
|
1019
993
|
}
|
|
@@ -1022,7 +996,7 @@ const de_StopMeetingTranscriptionCommand = async (output, context) => {
|
|
|
1022
996
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1023
997
|
return de_StopMeetingTranscriptionCommandError(output, context);
|
|
1024
998
|
}
|
|
1025
|
-
const contents = map({
|
|
999
|
+
const contents = (0, smithy_client_1.map)({
|
|
1026
1000
|
$metadata: deserializeMetadata(output),
|
|
1027
1001
|
});
|
|
1028
1002
|
await collectBody(output.body, context);
|
|
@@ -1062,10 +1036,9 @@ const de_StopMeetingTranscriptionCommandError = async (output, context) => {
|
|
|
1062
1036
|
throw await de_UnprocessableEntityExceptionRes(parsedOutput, context);
|
|
1063
1037
|
default:
|
|
1064
1038
|
const parsedBody = parsedOutput.body;
|
|
1065
|
-
|
|
1039
|
+
return throwDefaultError({
|
|
1066
1040
|
output,
|
|
1067
1041
|
parsedBody,
|
|
1068
|
-
exceptionCtor: ChimeSDKMeetingsServiceException_1.ChimeSDKMeetingsServiceException,
|
|
1069
1042
|
errorCode,
|
|
1070
1043
|
});
|
|
1071
1044
|
}
|
|
@@ -1074,7 +1047,7 @@ const de_TagResourceCommand = async (output, context) => {
|
|
|
1074
1047
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1075
1048
|
return de_TagResourceCommandError(output, context);
|
|
1076
1049
|
}
|
|
1077
|
-
const contents = map({
|
|
1050
|
+
const contents = (0, smithy_client_1.map)({
|
|
1078
1051
|
$metadata: deserializeMetadata(output),
|
|
1079
1052
|
});
|
|
1080
1053
|
await collectBody(output.body, context);
|
|
@@ -1099,10 +1072,9 @@ const de_TagResourceCommandError = async (output, context) => {
|
|
|
1099
1072
|
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
1100
1073
|
default:
|
|
1101
1074
|
const parsedBody = parsedOutput.body;
|
|
1102
|
-
|
|
1075
|
+
return throwDefaultError({
|
|
1103
1076
|
output,
|
|
1104
1077
|
parsedBody,
|
|
1105
|
-
exceptionCtor: ChimeSDKMeetingsServiceException_1.ChimeSDKMeetingsServiceException,
|
|
1106
1078
|
errorCode,
|
|
1107
1079
|
});
|
|
1108
1080
|
}
|
|
@@ -1111,7 +1083,7 @@ const de_UntagResourceCommand = async (output, context) => {
|
|
|
1111
1083
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1112
1084
|
return de_UntagResourceCommandError(output, context);
|
|
1113
1085
|
}
|
|
1114
|
-
const contents = map({
|
|
1086
|
+
const contents = (0, smithy_client_1.map)({
|
|
1115
1087
|
$metadata: deserializeMetadata(output),
|
|
1116
1088
|
});
|
|
1117
1089
|
await collectBody(output.body, context);
|
|
@@ -1133,10 +1105,9 @@ const de_UntagResourceCommandError = async (output, context) => {
|
|
|
1133
1105
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1134
1106
|
default:
|
|
1135
1107
|
const parsedBody = parsedOutput.body;
|
|
1136
|
-
|
|
1108
|
+
return throwDefaultError({
|
|
1137
1109
|
output,
|
|
1138
1110
|
parsedBody,
|
|
1139
|
-
exceptionCtor: ChimeSDKMeetingsServiceException_1.ChimeSDKMeetingsServiceException,
|
|
1140
1111
|
errorCode,
|
|
1141
1112
|
});
|
|
1142
1113
|
}
|
|
@@ -1145,13 +1116,14 @@ const de_UpdateAttendeeCapabilitiesCommand = async (output, context) => {
|
|
|
1145
1116
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1146
1117
|
return de_UpdateAttendeeCapabilitiesCommandError(output, context);
|
|
1147
1118
|
}
|
|
1148
|
-
const contents = map({
|
|
1119
|
+
const contents = (0, smithy_client_1.map)({
|
|
1149
1120
|
$metadata: deserializeMetadata(output),
|
|
1150
1121
|
});
|
|
1151
1122
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
}
|
|
1123
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1124
|
+
Attendee: smithy_client_1._json,
|
|
1125
|
+
});
|
|
1126
|
+
Object.assign(contents, doc);
|
|
1155
1127
|
return contents;
|
|
1156
1128
|
};
|
|
1157
1129
|
exports.de_UpdateAttendeeCapabilitiesCommand = de_UpdateAttendeeCapabilitiesCommand;
|
|
@@ -1182,27 +1154,23 @@ const de_UpdateAttendeeCapabilitiesCommandError = async (output, context) => {
|
|
|
1182
1154
|
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
1183
1155
|
default:
|
|
1184
1156
|
const parsedBody = parsedOutput.body;
|
|
1185
|
-
|
|
1157
|
+
return throwDefaultError({
|
|
1186
1158
|
output,
|
|
1187
1159
|
parsedBody,
|
|
1188
|
-
exceptionCtor: ChimeSDKMeetingsServiceException_1.ChimeSDKMeetingsServiceException,
|
|
1189
1160
|
errorCode,
|
|
1190
1161
|
});
|
|
1191
1162
|
}
|
|
1192
1163
|
};
|
|
1193
|
-
const
|
|
1164
|
+
const throwDefaultError = (0, smithy_client_1.withBaseException)(ChimeSDKMeetingsServiceException_1.ChimeSDKMeetingsServiceException);
|
|
1194
1165
|
const de_BadRequestExceptionRes = async (parsedOutput, context) => {
|
|
1195
|
-
const contents = map({});
|
|
1166
|
+
const contents = (0, smithy_client_1.map)({});
|
|
1196
1167
|
const data = parsedOutput.body;
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
if (data.RequestId != null) {
|
|
1204
|
-
contents.RequestId = (0, smithy_client_1.expectString)(data.RequestId);
|
|
1205
|
-
}
|
|
1168
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1169
|
+
Code: smithy_client_1.expectString,
|
|
1170
|
+
Message: smithy_client_1.expectString,
|
|
1171
|
+
RequestId: smithy_client_1.expectString,
|
|
1172
|
+
});
|
|
1173
|
+
Object.assign(contents, doc);
|
|
1206
1174
|
const exception = new models_0_1.BadRequestException({
|
|
1207
1175
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1208
1176
|
...contents,
|
|
@@ -1210,17 +1178,14 @@ const de_BadRequestExceptionRes = async (parsedOutput, context) => {
|
|
|
1210
1178
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1211
1179
|
};
|
|
1212
1180
|
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
1213
|
-
const contents = map({});
|
|
1181
|
+
const contents = (0, smithy_client_1.map)({});
|
|
1214
1182
|
const data = parsedOutput.body;
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
if (data.RequestId != null) {
|
|
1222
|
-
contents.RequestId = (0, smithy_client_1.expectString)(data.RequestId);
|
|
1223
|
-
}
|
|
1183
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1184
|
+
Code: smithy_client_1.expectString,
|
|
1185
|
+
Message: smithy_client_1.expectString,
|
|
1186
|
+
RequestId: smithy_client_1.expectString,
|
|
1187
|
+
});
|
|
1188
|
+
Object.assign(contents, doc);
|
|
1224
1189
|
const exception = new models_0_1.ConflictException({
|
|
1225
1190
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1226
1191
|
...contents,
|
|
@@ -1228,17 +1193,14 @@ const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
|
1228
1193
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1229
1194
|
};
|
|
1230
1195
|
const de_ForbiddenExceptionRes = async (parsedOutput, context) => {
|
|
1231
|
-
const contents = map({});
|
|
1196
|
+
const contents = (0, smithy_client_1.map)({});
|
|
1232
1197
|
const data = parsedOutput.body;
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
if (data.RequestId != null) {
|
|
1240
|
-
contents.RequestId = (0, smithy_client_1.expectString)(data.RequestId);
|
|
1241
|
-
}
|
|
1198
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1199
|
+
Code: smithy_client_1.expectString,
|
|
1200
|
+
Message: smithy_client_1.expectString,
|
|
1201
|
+
RequestId: smithy_client_1.expectString,
|
|
1202
|
+
});
|
|
1203
|
+
Object.assign(contents, doc);
|
|
1242
1204
|
const exception = new models_0_1.ForbiddenException({
|
|
1243
1205
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1244
1206
|
...contents,
|
|
@@ -1246,17 +1208,14 @@ const de_ForbiddenExceptionRes = async (parsedOutput, context) => {
|
|
|
1246
1208
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1247
1209
|
};
|
|
1248
1210
|
const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
1249
|
-
const contents = map({});
|
|
1211
|
+
const contents = (0, smithy_client_1.map)({});
|
|
1250
1212
|
const data = parsedOutput.body;
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
if (data.RequestId != null) {
|
|
1258
|
-
contents.RequestId = (0, smithy_client_1.expectString)(data.RequestId);
|
|
1259
|
-
}
|
|
1213
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1214
|
+
Code: smithy_client_1.expectString,
|
|
1215
|
+
Message: smithy_client_1.expectString,
|
|
1216
|
+
RequestId: smithy_client_1.expectString,
|
|
1217
|
+
});
|
|
1218
|
+
Object.assign(contents, doc);
|
|
1260
1219
|
const exception = new models_0_1.LimitExceededException({
|
|
1261
1220
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1262
1221
|
...contents,
|
|
@@ -1264,17 +1223,14 @@ const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
|
1264
1223
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1265
1224
|
};
|
|
1266
1225
|
const de_NotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1267
|
-
const contents = map({});
|
|
1226
|
+
const contents = (0, smithy_client_1.map)({});
|
|
1268
1227
|
const data = parsedOutput.body;
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
if (data.RequestId != null) {
|
|
1276
|
-
contents.RequestId = (0, smithy_client_1.expectString)(data.RequestId);
|
|
1277
|
-
}
|
|
1228
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1229
|
+
Code: smithy_client_1.expectString,
|
|
1230
|
+
Message: smithy_client_1.expectString,
|
|
1231
|
+
RequestId: smithy_client_1.expectString,
|
|
1232
|
+
});
|
|
1233
|
+
Object.assign(contents, doc);
|
|
1278
1234
|
const exception = new models_0_1.NotFoundException({
|
|
1279
1235
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1280
1236
|
...contents,
|
|
@@ -1282,20 +1238,15 @@ const de_NotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
1282
1238
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1283
1239
|
};
|
|
1284
1240
|
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1285
|
-
const contents = map({});
|
|
1241
|
+
const contents = (0, smithy_client_1.map)({});
|
|
1286
1242
|
const data = parsedOutput.body;
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
}
|
|
1293
|
-
|
|
1294
|
-
contents.RequestId = (0, smithy_client_1.expectString)(data.RequestId);
|
|
1295
|
-
}
|
|
1296
|
-
if (data.ResourceName != null) {
|
|
1297
|
-
contents.ResourceName = (0, smithy_client_1.expectString)(data.ResourceName);
|
|
1298
|
-
}
|
|
1243
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1244
|
+
Code: smithy_client_1.expectString,
|
|
1245
|
+
Message: smithy_client_1.expectString,
|
|
1246
|
+
RequestId: smithy_client_1.expectString,
|
|
1247
|
+
ResourceName: smithy_client_1.expectString,
|
|
1248
|
+
});
|
|
1249
|
+
Object.assign(contents, doc);
|
|
1299
1250
|
const exception = new models_0_1.ResourceNotFoundException({
|
|
1300
1251
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1301
1252
|
...contents,
|
|
@@ -1303,17 +1254,14 @@ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
1303
1254
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1304
1255
|
};
|
|
1305
1256
|
const de_ServiceFailureExceptionRes = async (parsedOutput, context) => {
|
|
1306
|
-
const contents = map({});
|
|
1257
|
+
const contents = (0, smithy_client_1.map)({});
|
|
1307
1258
|
const data = parsedOutput.body;
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
if (data.RequestId != null) {
|
|
1315
|
-
contents.RequestId = (0, smithy_client_1.expectString)(data.RequestId);
|
|
1316
|
-
}
|
|
1259
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1260
|
+
Code: smithy_client_1.expectString,
|
|
1261
|
+
Message: smithy_client_1.expectString,
|
|
1262
|
+
RequestId: smithy_client_1.expectString,
|
|
1263
|
+
});
|
|
1264
|
+
Object.assign(contents, doc);
|
|
1317
1265
|
const exception = new models_0_1.ServiceFailureException({
|
|
1318
1266
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1319
1267
|
...contents,
|
|
@@ -1321,19 +1269,16 @@ const de_ServiceFailureExceptionRes = async (parsedOutput, context) => {
|
|
|
1321
1269
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1322
1270
|
};
|
|
1323
1271
|
const de_ServiceUnavailableExceptionRes = async (parsedOutput, context) => {
|
|
1324
|
-
const contents = map({
|
|
1272
|
+
const contents = (0, smithy_client_1.map)({
|
|
1325
1273
|
RetryAfterSeconds: [, parsedOutput.headers["retry-after"]],
|
|
1326
1274
|
});
|
|
1327
1275
|
const data = parsedOutput.body;
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
if (data.RequestId != null) {
|
|
1335
|
-
contents.RequestId = (0, smithy_client_1.expectString)(data.RequestId);
|
|
1336
|
-
}
|
|
1276
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1277
|
+
Code: smithy_client_1.expectString,
|
|
1278
|
+
Message: smithy_client_1.expectString,
|
|
1279
|
+
RequestId: smithy_client_1.expectString,
|
|
1280
|
+
});
|
|
1281
|
+
Object.assign(contents, doc);
|
|
1337
1282
|
const exception = new models_0_1.ServiceUnavailableException({
|
|
1338
1283
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1339
1284
|
...contents,
|
|
@@ -1341,17 +1286,14 @@ const de_ServiceUnavailableExceptionRes = async (parsedOutput, context) => {
|
|
|
1341
1286
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1342
1287
|
};
|
|
1343
1288
|
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
1344
|
-
const contents = map({});
|
|
1289
|
+
const contents = (0, smithy_client_1.map)({});
|
|
1345
1290
|
const data = parsedOutput.body;
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
if (data.RequestId != null) {
|
|
1353
|
-
contents.RequestId = (0, smithy_client_1.expectString)(data.RequestId);
|
|
1354
|
-
}
|
|
1291
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1292
|
+
Code: smithy_client_1.expectString,
|
|
1293
|
+
Message: smithy_client_1.expectString,
|
|
1294
|
+
RequestId: smithy_client_1.expectString,
|
|
1295
|
+
});
|
|
1296
|
+
Object.assign(contents, doc);
|
|
1355
1297
|
const exception = new models_0_1.ThrottlingException({
|
|
1356
1298
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1357
1299
|
...contents,
|
|
@@ -1359,20 +1301,15 @@ const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
|
1359
1301
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1360
1302
|
};
|
|
1361
1303
|
const de_TooManyTagsExceptionRes = async (parsedOutput, context) => {
|
|
1362
|
-
const contents = map({});
|
|
1304
|
+
const contents = (0, smithy_client_1.map)({});
|
|
1363
1305
|
const data = parsedOutput.body;
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
}
|
|
1370
|
-
|
|
1371
|
-
contents.RequestId = (0, smithy_client_1.expectString)(data.RequestId);
|
|
1372
|
-
}
|
|
1373
|
-
if (data.ResourceName != null) {
|
|
1374
|
-
contents.ResourceName = (0, smithy_client_1.expectString)(data.ResourceName);
|
|
1375
|
-
}
|
|
1306
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1307
|
+
Code: smithy_client_1.expectString,
|
|
1308
|
+
Message: smithy_client_1.expectString,
|
|
1309
|
+
RequestId: smithy_client_1.expectString,
|
|
1310
|
+
ResourceName: smithy_client_1.expectString,
|
|
1311
|
+
});
|
|
1312
|
+
Object.assign(contents, doc);
|
|
1376
1313
|
const exception = new models_0_1.TooManyTagsException({
|
|
1377
1314
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1378
1315
|
...contents,
|
|
@@ -1380,17 +1317,14 @@ const de_TooManyTagsExceptionRes = async (parsedOutput, context) => {
|
|
|
1380
1317
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1381
1318
|
};
|
|
1382
1319
|
const de_UnauthorizedExceptionRes = async (parsedOutput, context) => {
|
|
1383
|
-
const contents = map({});
|
|
1320
|
+
const contents = (0, smithy_client_1.map)({});
|
|
1384
1321
|
const data = parsedOutput.body;
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
if (data.RequestId != null) {
|
|
1392
|
-
contents.RequestId = (0, smithy_client_1.expectString)(data.RequestId);
|
|
1393
|
-
}
|
|
1322
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1323
|
+
Code: smithy_client_1.expectString,
|
|
1324
|
+
Message: smithy_client_1.expectString,
|
|
1325
|
+
RequestId: smithy_client_1.expectString,
|
|
1326
|
+
});
|
|
1327
|
+
Object.assign(contents, doc);
|
|
1394
1328
|
const exception = new models_0_1.UnauthorizedException({
|
|
1395
1329
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1396
1330
|
...contents,
|
|
@@ -1398,253 +1332,20 @@ const de_UnauthorizedExceptionRes = async (parsedOutput, context) => {
|
|
|
1398
1332
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1399
1333
|
};
|
|
1400
1334
|
const de_UnprocessableEntityExceptionRes = async (parsedOutput, context) => {
|
|
1401
|
-
const contents = map({});
|
|
1335
|
+
const contents = (0, smithy_client_1.map)({});
|
|
1402
1336
|
const data = parsedOutput.body;
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
if (data.RequestId != null) {
|
|
1410
|
-
contents.RequestId = (0, smithy_client_1.expectString)(data.RequestId);
|
|
1411
|
-
}
|
|
1337
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1338
|
+
Code: smithy_client_1.expectString,
|
|
1339
|
+
Message: smithy_client_1.expectString,
|
|
1340
|
+
RequestId: smithy_client_1.expectString,
|
|
1341
|
+
});
|
|
1342
|
+
Object.assign(contents, doc);
|
|
1412
1343
|
const exception = new models_0_1.UnprocessableEntityException({
|
|
1413
1344
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1414
1345
|
...contents,
|
|
1415
1346
|
});
|
|
1416
1347
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1417
1348
|
};
|
|
1418
|
-
const se_AttendeeCapabilities = (input, context) => {
|
|
1419
|
-
return {
|
|
1420
|
-
...(input.Audio != null && { Audio: input.Audio }),
|
|
1421
|
-
...(input.Content != null && { Content: input.Content }),
|
|
1422
|
-
...(input.Video != null && { Video: input.Video }),
|
|
1423
|
-
};
|
|
1424
|
-
};
|
|
1425
|
-
const se_AttendeeIdItem = (input, context) => {
|
|
1426
|
-
return {
|
|
1427
|
-
...(input.AttendeeId != null && { AttendeeId: input.AttendeeId }),
|
|
1428
|
-
};
|
|
1429
|
-
};
|
|
1430
|
-
const se_AttendeeIdsList = (input, context) => {
|
|
1431
|
-
return input
|
|
1432
|
-
.filter((e) => e != null)
|
|
1433
|
-
.map((entry) => {
|
|
1434
|
-
return se_AttendeeIdItem(entry, context);
|
|
1435
|
-
});
|
|
1436
|
-
};
|
|
1437
|
-
const se_AudioFeatures = (input, context) => {
|
|
1438
|
-
return {
|
|
1439
|
-
...(input.EchoReduction != null && { EchoReduction: input.EchoReduction }),
|
|
1440
|
-
};
|
|
1441
|
-
};
|
|
1442
|
-
const se_CreateAttendeeRequestItem = (input, context) => {
|
|
1443
|
-
return {
|
|
1444
|
-
...(input.Capabilities != null && { Capabilities: se_AttendeeCapabilities(input.Capabilities, context) }),
|
|
1445
|
-
...(input.ExternalUserId != null && { ExternalUserId: input.ExternalUserId }),
|
|
1446
|
-
};
|
|
1447
|
-
};
|
|
1448
|
-
const se_CreateAttendeeRequestItemList = (input, context) => {
|
|
1449
|
-
return input
|
|
1450
|
-
.filter((e) => e != null)
|
|
1451
|
-
.map((entry) => {
|
|
1452
|
-
return se_CreateAttendeeRequestItem(entry, context);
|
|
1453
|
-
});
|
|
1454
|
-
};
|
|
1455
|
-
const se_CreateMeetingWithAttendeesRequestItemList = (input, context) => {
|
|
1456
|
-
return input
|
|
1457
|
-
.filter((e) => e != null)
|
|
1458
|
-
.map((entry) => {
|
|
1459
|
-
return se_CreateAttendeeRequestItem(entry, context);
|
|
1460
|
-
});
|
|
1461
|
-
};
|
|
1462
|
-
const se_EngineTranscribeMedicalSettings = (input, context) => {
|
|
1463
|
-
return {
|
|
1464
|
-
...(input.ContentIdentificationType != null && { ContentIdentificationType: input.ContentIdentificationType }),
|
|
1465
|
-
...(input.LanguageCode != null && { LanguageCode: input.LanguageCode }),
|
|
1466
|
-
...(input.Region != null && { Region: input.Region }),
|
|
1467
|
-
...(input.Specialty != null && { Specialty: input.Specialty }),
|
|
1468
|
-
...(input.Type != null && { Type: input.Type }),
|
|
1469
|
-
...(input.VocabularyName != null && { VocabularyName: input.VocabularyName }),
|
|
1470
|
-
};
|
|
1471
|
-
};
|
|
1472
|
-
const se_EngineTranscribeSettings = (input, context) => {
|
|
1473
|
-
return {
|
|
1474
|
-
...(input.ContentIdentificationType != null && { ContentIdentificationType: input.ContentIdentificationType }),
|
|
1475
|
-
...(input.ContentRedactionType != null && { ContentRedactionType: input.ContentRedactionType }),
|
|
1476
|
-
...(input.EnablePartialResultsStabilization != null && {
|
|
1477
|
-
EnablePartialResultsStabilization: input.EnablePartialResultsStabilization,
|
|
1478
|
-
}),
|
|
1479
|
-
...(input.IdentifyLanguage != null && { IdentifyLanguage: input.IdentifyLanguage }),
|
|
1480
|
-
...(input.LanguageCode != null && { LanguageCode: input.LanguageCode }),
|
|
1481
|
-
...(input.LanguageModelName != null && { LanguageModelName: input.LanguageModelName }),
|
|
1482
|
-
...(input.LanguageOptions != null && { LanguageOptions: input.LanguageOptions }),
|
|
1483
|
-
...(input.PartialResultsStability != null && { PartialResultsStability: input.PartialResultsStability }),
|
|
1484
|
-
...(input.PiiEntityTypes != null && { PiiEntityTypes: input.PiiEntityTypes }),
|
|
1485
|
-
...(input.PreferredLanguage != null && { PreferredLanguage: input.PreferredLanguage }),
|
|
1486
|
-
...(input.Region != null && { Region: input.Region }),
|
|
1487
|
-
...(input.VocabularyFilterMethod != null && { VocabularyFilterMethod: input.VocabularyFilterMethod }),
|
|
1488
|
-
...(input.VocabularyFilterName != null && { VocabularyFilterName: input.VocabularyFilterName }),
|
|
1489
|
-
...(input.VocabularyName != null && { VocabularyName: input.VocabularyName }),
|
|
1490
|
-
};
|
|
1491
|
-
};
|
|
1492
|
-
const se_MeetingFeaturesConfiguration = (input, context) => {
|
|
1493
|
-
return {
|
|
1494
|
-
...(input.Audio != null && { Audio: se_AudioFeatures(input.Audio, context) }),
|
|
1495
|
-
};
|
|
1496
|
-
};
|
|
1497
|
-
const se_NotificationsConfiguration = (input, context) => {
|
|
1498
|
-
return {
|
|
1499
|
-
...(input.LambdaFunctionArn != null && { LambdaFunctionArn: input.LambdaFunctionArn }),
|
|
1500
|
-
...(input.SnsTopicArn != null && { SnsTopicArn: input.SnsTopicArn }),
|
|
1501
|
-
...(input.SqsQueueArn != null && { SqsQueueArn: input.SqsQueueArn }),
|
|
1502
|
-
};
|
|
1503
|
-
};
|
|
1504
|
-
const se_Tag = (input, context) => {
|
|
1505
|
-
return {
|
|
1506
|
-
...(input.Key != null && { Key: input.Key }),
|
|
1507
|
-
...(input.Value != null && { Value: input.Value }),
|
|
1508
|
-
};
|
|
1509
|
-
};
|
|
1510
|
-
const se_TagKeyList = (input, context) => {
|
|
1511
|
-
return input
|
|
1512
|
-
.filter((e) => e != null)
|
|
1513
|
-
.map((entry) => {
|
|
1514
|
-
return entry;
|
|
1515
|
-
});
|
|
1516
|
-
};
|
|
1517
|
-
const se_TagList = (input, context) => {
|
|
1518
|
-
return input
|
|
1519
|
-
.filter((e) => e != null)
|
|
1520
|
-
.map((entry) => {
|
|
1521
|
-
return se_Tag(entry, context);
|
|
1522
|
-
});
|
|
1523
|
-
};
|
|
1524
|
-
const se_TenantIdList = (input, context) => {
|
|
1525
|
-
return input
|
|
1526
|
-
.filter((e) => e != null)
|
|
1527
|
-
.map((entry) => {
|
|
1528
|
-
return entry;
|
|
1529
|
-
});
|
|
1530
|
-
};
|
|
1531
|
-
const se_TranscriptionConfiguration = (input, context) => {
|
|
1532
|
-
return {
|
|
1533
|
-
...(input.EngineTranscribeMedicalSettings != null && {
|
|
1534
|
-
EngineTranscribeMedicalSettings: se_EngineTranscribeMedicalSettings(input.EngineTranscribeMedicalSettings, context),
|
|
1535
|
-
}),
|
|
1536
|
-
...(input.EngineTranscribeSettings != null && {
|
|
1537
|
-
EngineTranscribeSettings: se_EngineTranscribeSettings(input.EngineTranscribeSettings, context),
|
|
1538
|
-
}),
|
|
1539
|
-
};
|
|
1540
|
-
};
|
|
1541
|
-
const de_Attendee = (output, context) => {
|
|
1542
|
-
return {
|
|
1543
|
-
AttendeeId: (0, smithy_client_1.expectString)(output.AttendeeId),
|
|
1544
|
-
Capabilities: output.Capabilities != null ? de_AttendeeCapabilities(output.Capabilities, context) : undefined,
|
|
1545
|
-
ExternalUserId: (0, smithy_client_1.expectString)(output.ExternalUserId),
|
|
1546
|
-
JoinToken: (0, smithy_client_1.expectString)(output.JoinToken),
|
|
1547
|
-
};
|
|
1548
|
-
};
|
|
1549
|
-
const de_AttendeeCapabilities = (output, context) => {
|
|
1550
|
-
return {
|
|
1551
|
-
Audio: (0, smithy_client_1.expectString)(output.Audio),
|
|
1552
|
-
Content: (0, smithy_client_1.expectString)(output.Content),
|
|
1553
|
-
Video: (0, smithy_client_1.expectString)(output.Video),
|
|
1554
|
-
};
|
|
1555
|
-
};
|
|
1556
|
-
const de_AttendeeList = (output, context) => {
|
|
1557
|
-
const retVal = (output || [])
|
|
1558
|
-
.filter((e) => e != null)
|
|
1559
|
-
.map((entry) => {
|
|
1560
|
-
if (entry === null) {
|
|
1561
|
-
return null;
|
|
1562
|
-
}
|
|
1563
|
-
return de_Attendee(entry, context);
|
|
1564
|
-
});
|
|
1565
|
-
return retVal;
|
|
1566
|
-
};
|
|
1567
|
-
const de_AudioFeatures = (output, context) => {
|
|
1568
|
-
return {
|
|
1569
|
-
EchoReduction: (0, smithy_client_1.expectString)(output.EchoReduction),
|
|
1570
|
-
};
|
|
1571
|
-
};
|
|
1572
|
-
const de_BatchCreateAttendeeErrorList = (output, context) => {
|
|
1573
|
-
const retVal = (output || [])
|
|
1574
|
-
.filter((e) => e != null)
|
|
1575
|
-
.map((entry) => {
|
|
1576
|
-
if (entry === null) {
|
|
1577
|
-
return null;
|
|
1578
|
-
}
|
|
1579
|
-
return de_CreateAttendeeError(entry, context);
|
|
1580
|
-
});
|
|
1581
|
-
return retVal;
|
|
1582
|
-
};
|
|
1583
|
-
const de_CreateAttendeeError = (output, context) => {
|
|
1584
|
-
return {
|
|
1585
|
-
ErrorCode: (0, smithy_client_1.expectString)(output.ErrorCode),
|
|
1586
|
-
ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
|
|
1587
|
-
ExternalUserId: (0, smithy_client_1.expectString)(output.ExternalUserId),
|
|
1588
|
-
};
|
|
1589
|
-
};
|
|
1590
|
-
const de_MediaPlacement = (output, context) => {
|
|
1591
|
-
return {
|
|
1592
|
-
AudioFallbackUrl: (0, smithy_client_1.expectString)(output.AudioFallbackUrl),
|
|
1593
|
-
AudioHostUrl: (0, smithy_client_1.expectString)(output.AudioHostUrl),
|
|
1594
|
-
EventIngestionUrl: (0, smithy_client_1.expectString)(output.EventIngestionUrl),
|
|
1595
|
-
ScreenDataUrl: (0, smithy_client_1.expectString)(output.ScreenDataUrl),
|
|
1596
|
-
ScreenSharingUrl: (0, smithy_client_1.expectString)(output.ScreenSharingUrl),
|
|
1597
|
-
ScreenViewingUrl: (0, smithy_client_1.expectString)(output.ScreenViewingUrl),
|
|
1598
|
-
SignalingUrl: (0, smithy_client_1.expectString)(output.SignalingUrl),
|
|
1599
|
-
TurnControlUrl: (0, smithy_client_1.expectString)(output.TurnControlUrl),
|
|
1600
|
-
};
|
|
1601
|
-
};
|
|
1602
|
-
const de_Meeting = (output, context) => {
|
|
1603
|
-
return {
|
|
1604
|
-
ExternalMeetingId: (0, smithy_client_1.expectString)(output.ExternalMeetingId),
|
|
1605
|
-
MediaPlacement: output.MediaPlacement != null ? de_MediaPlacement(output.MediaPlacement, context) : undefined,
|
|
1606
|
-
MediaRegion: (0, smithy_client_1.expectString)(output.MediaRegion),
|
|
1607
|
-
MeetingArn: (0, smithy_client_1.expectString)(output.MeetingArn),
|
|
1608
|
-
MeetingFeatures: output.MeetingFeatures != null ? de_MeetingFeaturesConfiguration(output.MeetingFeatures, context) : undefined,
|
|
1609
|
-
MeetingHostId: (0, smithy_client_1.expectString)(output.MeetingHostId),
|
|
1610
|
-
MeetingId: (0, smithy_client_1.expectString)(output.MeetingId),
|
|
1611
|
-
PrimaryMeetingId: (0, smithy_client_1.expectString)(output.PrimaryMeetingId),
|
|
1612
|
-
TenantIds: output.TenantIds != null ? de_TenantIdList(output.TenantIds, context) : undefined,
|
|
1613
|
-
};
|
|
1614
|
-
};
|
|
1615
|
-
const de_MeetingFeaturesConfiguration = (output, context) => {
|
|
1616
|
-
return {
|
|
1617
|
-
Audio: output.Audio != null ? de_AudioFeatures(output.Audio, context) : undefined,
|
|
1618
|
-
};
|
|
1619
|
-
};
|
|
1620
|
-
const de_Tag = (output, context) => {
|
|
1621
|
-
return {
|
|
1622
|
-
Key: (0, smithy_client_1.expectString)(output.Key),
|
|
1623
|
-
Value: (0, smithy_client_1.expectString)(output.Value),
|
|
1624
|
-
};
|
|
1625
|
-
};
|
|
1626
|
-
const de_TagList = (output, context) => {
|
|
1627
|
-
const retVal = (output || [])
|
|
1628
|
-
.filter((e) => e != null)
|
|
1629
|
-
.map((entry) => {
|
|
1630
|
-
if (entry === null) {
|
|
1631
|
-
return null;
|
|
1632
|
-
}
|
|
1633
|
-
return de_Tag(entry, context);
|
|
1634
|
-
});
|
|
1635
|
-
return retVal;
|
|
1636
|
-
};
|
|
1637
|
-
const de_TenantIdList = (output, context) => {
|
|
1638
|
-
const retVal = (output || [])
|
|
1639
|
-
.filter((e) => e != null)
|
|
1640
|
-
.map((entry) => {
|
|
1641
|
-
if (entry === null) {
|
|
1642
|
-
return null;
|
|
1643
|
-
}
|
|
1644
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
1645
|
-
});
|
|
1646
|
-
return retVal;
|
|
1647
|
-
};
|
|
1648
1349
|
const deserializeMetadata = (output) => ({
|
|
1649
1350
|
httpStatusCode: output.statusCode,
|
|
1650
1351
|
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|