@aws-sdk/client-kinesis-video-archived-media 3.137.0 → 3.145.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/CHANGELOG.md CHANGED
@@ -3,6 +3,36 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.145.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.144.0...v3.145.0) (2022-08-08)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-kinesis-video-archived-media
9
+
10
+
11
+
12
+
13
+
14
+ # [3.142.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.141.0...v3.142.0) (2022-08-02)
15
+
16
+
17
+ ### Features
18
+
19
+ * **codegen:** general data mapping function ([#3830](https://github.com/aws/aws-sdk-js-v3/issues/3830)) ([9417eae](https://github.com/aws/aws-sdk-js-v3/commit/9417eae722806799fb4c15c07921574268c1165c))
20
+
21
+
22
+
23
+
24
+
25
+ # [3.141.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.140.0...v3.141.0) (2022-08-01)
26
+
27
+
28
+ ### Features
29
+
30
+ * **clients:** update client endpoints as of 2022-08-01 ([aaf49f2](https://github.com/aws/aws-sdk-js-v3/commit/aaf49f21b371412e6ea7e00890b71a7b31991b66))
31
+
32
+
33
+
34
+
35
+
6
36
  # [3.137.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.136.1...v3.137.0) (2022-07-26)
7
37
 
8
38
 
package/README.md CHANGED
@@ -165,7 +165,7 @@ try {
165
165
  const data = await client.send(command);
166
166
  // process data.
167
167
  } catch (error) {
168
- const { requestId, cfId, extendedRequestId } = error.$metadata;
168
+ const { requestId, cfId, extendedRequestId } = error.$$metadata;
169
169
  console.log({ requestId, cfId, extendedRequestId });
170
170
  /**
171
171
  * The keys within exceptions are also parsed.
@@ -181,17 +181,13 @@ const deserializeAws_restJson1GetClipCommand = async (output, context) => {
181
181
  if (output.statusCode !== 200 && output.statusCode >= 300) {
182
182
  return deserializeAws_restJson1GetClipCommandError(output, context);
183
183
  }
184
- const contents = {
184
+ const contents = map({
185
185
  $metadata: deserializeMetadata(output),
186
- ContentType: undefined,
187
- Payload: undefined,
188
- };
189
- if (output.headers["content-type"] !== undefined) {
190
- contents.ContentType = output.headers["content-type"];
191
- }
186
+ ContentType: [, output.headers["content-type"]],
187
+ });
192
188
  const data = output.body;
193
189
  contents.Payload = data;
194
- return Promise.resolve(contents);
190
+ return contents;
195
191
  };
196
192
  exports.deserializeAws_restJson1GetClipCommand = deserializeAws_restJson1GetClipCommand;
197
193
  const deserializeAws_restJson1GetClipCommandError = async (output, context) => {
@@ -199,7 +195,6 @@ const deserializeAws_restJson1GetClipCommandError = async (output, context) => {
199
195
  ...output,
200
196
  body: await parseBody(output.body, context),
201
197
  };
202
- let response;
203
198
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
204
199
  switch (errorCode) {
205
200
  case "ClientLimitExceededException":
@@ -231,29 +226,26 @@ const deserializeAws_restJson1GetClipCommandError = async (output, context) => {
231
226
  throw await deserializeAws_restJson1UnsupportedStreamMediaTypeExceptionResponse(parsedOutput, context);
232
227
  default:
233
228
  const parsedBody = parsedOutput.body;
234
- const $metadata = deserializeMetadata(output);
235
- const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
236
- response = new KinesisVideoArchivedMediaServiceException_1.KinesisVideoArchivedMediaServiceException({
237
- name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
238
- $fault: "client",
239
- $metadata,
229
+ (0, smithy_client_1.throwDefaultError)({
230
+ output,
231
+ parsedBody,
232
+ exceptionCtor: KinesisVideoArchivedMediaServiceException_1.KinesisVideoArchivedMediaServiceException,
233
+ errorCode,
240
234
  });
241
- throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
242
235
  }
243
236
  };
244
237
  const deserializeAws_restJson1GetDASHStreamingSessionURLCommand = async (output, context) => {
245
238
  if (output.statusCode !== 200 && output.statusCode >= 300) {
246
239
  return deserializeAws_restJson1GetDASHStreamingSessionURLCommandError(output, context);
247
240
  }
248
- const contents = {
241
+ const contents = map({
249
242
  $metadata: deserializeMetadata(output),
250
- DASHStreamingSessionURL: undefined,
251
- };
243
+ });
252
244
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
253
- if (data.DASHStreamingSessionURL !== undefined && data.DASHStreamingSessionURL !== null) {
245
+ if (data.DASHStreamingSessionURL != null) {
254
246
  contents.DASHStreamingSessionURL = (0, smithy_client_1.expectString)(data.DASHStreamingSessionURL);
255
247
  }
256
- return Promise.resolve(contents);
248
+ return contents;
257
249
  };
258
250
  exports.deserializeAws_restJson1GetDASHStreamingSessionURLCommand = deserializeAws_restJson1GetDASHStreamingSessionURLCommand;
259
251
  const deserializeAws_restJson1GetDASHStreamingSessionURLCommandError = async (output, context) => {
@@ -261,7 +253,6 @@ const deserializeAws_restJson1GetDASHStreamingSessionURLCommandError = async (ou
261
253
  ...output,
262
254
  body: await parseBody(output.body, context),
263
255
  };
264
- let response;
265
256
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
266
257
  switch (errorCode) {
267
258
  case "ClientLimitExceededException":
@@ -290,29 +281,26 @@ const deserializeAws_restJson1GetDASHStreamingSessionURLCommandError = async (ou
290
281
  throw await deserializeAws_restJson1UnsupportedStreamMediaTypeExceptionResponse(parsedOutput, context);
291
282
  default:
292
283
  const parsedBody = parsedOutput.body;
293
- const $metadata = deserializeMetadata(output);
294
- const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
295
- response = new KinesisVideoArchivedMediaServiceException_1.KinesisVideoArchivedMediaServiceException({
296
- name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
297
- $fault: "client",
298
- $metadata,
284
+ (0, smithy_client_1.throwDefaultError)({
285
+ output,
286
+ parsedBody,
287
+ exceptionCtor: KinesisVideoArchivedMediaServiceException_1.KinesisVideoArchivedMediaServiceException,
288
+ errorCode,
299
289
  });
300
- throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
301
290
  }
302
291
  };
303
292
  const deserializeAws_restJson1GetHLSStreamingSessionURLCommand = async (output, context) => {
304
293
  if (output.statusCode !== 200 && output.statusCode >= 300) {
305
294
  return deserializeAws_restJson1GetHLSStreamingSessionURLCommandError(output, context);
306
295
  }
307
- const contents = {
296
+ const contents = map({
308
297
  $metadata: deserializeMetadata(output),
309
- HLSStreamingSessionURL: undefined,
310
- };
298
+ });
311
299
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
312
- if (data.HLSStreamingSessionURL !== undefined && data.HLSStreamingSessionURL !== null) {
300
+ if (data.HLSStreamingSessionURL != null) {
313
301
  contents.HLSStreamingSessionURL = (0, smithy_client_1.expectString)(data.HLSStreamingSessionURL);
314
302
  }
315
- return Promise.resolve(contents);
303
+ return contents;
316
304
  };
317
305
  exports.deserializeAws_restJson1GetHLSStreamingSessionURLCommand = deserializeAws_restJson1GetHLSStreamingSessionURLCommand;
318
306
  const deserializeAws_restJson1GetHLSStreamingSessionURLCommandError = async (output, context) => {
@@ -320,7 +308,6 @@ const deserializeAws_restJson1GetHLSStreamingSessionURLCommandError = async (out
320
308
  ...output,
321
309
  body: await parseBody(output.body, context),
322
310
  };
323
- let response;
324
311
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
325
312
  switch (errorCode) {
326
313
  case "ClientLimitExceededException":
@@ -349,33 +336,29 @@ const deserializeAws_restJson1GetHLSStreamingSessionURLCommandError = async (out
349
336
  throw await deserializeAws_restJson1UnsupportedStreamMediaTypeExceptionResponse(parsedOutput, context);
350
337
  default:
351
338
  const parsedBody = parsedOutput.body;
352
- const $metadata = deserializeMetadata(output);
353
- const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
354
- response = new KinesisVideoArchivedMediaServiceException_1.KinesisVideoArchivedMediaServiceException({
355
- name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
356
- $fault: "client",
357
- $metadata,
339
+ (0, smithy_client_1.throwDefaultError)({
340
+ output,
341
+ parsedBody,
342
+ exceptionCtor: KinesisVideoArchivedMediaServiceException_1.KinesisVideoArchivedMediaServiceException,
343
+ errorCode,
358
344
  });
359
- throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
360
345
  }
361
346
  };
362
347
  const deserializeAws_restJson1GetImagesCommand = async (output, context) => {
363
348
  if (output.statusCode !== 200 && output.statusCode >= 300) {
364
349
  return deserializeAws_restJson1GetImagesCommandError(output, context);
365
350
  }
366
- const contents = {
351
+ const contents = map({
367
352
  $metadata: deserializeMetadata(output),
368
- Images: undefined,
369
- NextToken: undefined,
370
- };
353
+ });
371
354
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
372
- if (data.Images !== undefined && data.Images !== null) {
355
+ if (data.Images != null) {
373
356
  contents.Images = deserializeAws_restJson1Images(data.Images, context);
374
357
  }
375
- if (data.NextToken !== undefined && data.NextToken !== null) {
358
+ if (data.NextToken != null) {
376
359
  contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
377
360
  }
378
- return Promise.resolve(contents);
361
+ return contents;
379
362
  };
380
363
  exports.deserializeAws_restJson1GetImagesCommand = deserializeAws_restJson1GetImagesCommand;
381
364
  const deserializeAws_restJson1GetImagesCommandError = async (output, context) => {
@@ -383,7 +366,6 @@ const deserializeAws_restJson1GetImagesCommandError = async (output, context) =>
383
366
  ...output,
384
367
  body: await parseBody(output.body, context),
385
368
  };
386
- let response;
387
369
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
388
370
  switch (errorCode) {
389
371
  case "ClientLimitExceededException":
@@ -400,31 +382,25 @@ const deserializeAws_restJson1GetImagesCommandError = async (output, context) =>
400
382
  throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
401
383
  default:
402
384
  const parsedBody = parsedOutput.body;
403
- const $metadata = deserializeMetadata(output);
404
- const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
405
- response = new KinesisVideoArchivedMediaServiceException_1.KinesisVideoArchivedMediaServiceException({
406
- name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
407
- $fault: "client",
408
- $metadata,
385
+ (0, smithy_client_1.throwDefaultError)({
386
+ output,
387
+ parsedBody,
388
+ exceptionCtor: KinesisVideoArchivedMediaServiceException_1.KinesisVideoArchivedMediaServiceException,
389
+ errorCode,
409
390
  });
410
- throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
411
391
  }
412
392
  };
413
393
  const deserializeAws_restJson1GetMediaForFragmentListCommand = async (output, context) => {
414
394
  if (output.statusCode !== 200 && output.statusCode >= 300) {
415
395
  return deserializeAws_restJson1GetMediaForFragmentListCommandError(output, context);
416
396
  }
417
- const contents = {
397
+ const contents = map({
418
398
  $metadata: deserializeMetadata(output),
419
- ContentType: undefined,
420
- Payload: undefined,
421
- };
422
- if (output.headers["content-type"] !== undefined) {
423
- contents.ContentType = output.headers["content-type"];
424
- }
399
+ ContentType: [, output.headers["content-type"]],
400
+ });
425
401
  const data = output.body;
426
402
  contents.Payload = data;
427
- return Promise.resolve(contents);
403
+ return contents;
428
404
  };
429
405
  exports.deserializeAws_restJson1GetMediaForFragmentListCommand = deserializeAws_restJson1GetMediaForFragmentListCommand;
430
406
  const deserializeAws_restJson1GetMediaForFragmentListCommandError = async (output, context) => {
@@ -432,7 +408,6 @@ const deserializeAws_restJson1GetMediaForFragmentListCommandError = async (outpu
432
408
  ...output,
433
409
  body: await parseBody(output.body, context),
434
410
  };
435
- let response;
436
411
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
437
412
  switch (errorCode) {
438
413
  case "ClientLimitExceededException":
@@ -449,33 +424,29 @@ const deserializeAws_restJson1GetMediaForFragmentListCommandError = async (outpu
449
424
  throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
450
425
  default:
451
426
  const parsedBody = parsedOutput.body;
452
- const $metadata = deserializeMetadata(output);
453
- const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
454
- response = new KinesisVideoArchivedMediaServiceException_1.KinesisVideoArchivedMediaServiceException({
455
- name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
456
- $fault: "client",
457
- $metadata,
427
+ (0, smithy_client_1.throwDefaultError)({
428
+ output,
429
+ parsedBody,
430
+ exceptionCtor: KinesisVideoArchivedMediaServiceException_1.KinesisVideoArchivedMediaServiceException,
431
+ errorCode,
458
432
  });
459
- throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
460
433
  }
461
434
  };
462
435
  const deserializeAws_restJson1ListFragmentsCommand = async (output, context) => {
463
436
  if (output.statusCode !== 200 && output.statusCode >= 300) {
464
437
  return deserializeAws_restJson1ListFragmentsCommandError(output, context);
465
438
  }
466
- const contents = {
439
+ const contents = map({
467
440
  $metadata: deserializeMetadata(output),
468
- Fragments: undefined,
469
- NextToken: undefined,
470
- };
441
+ });
471
442
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
472
- if (data.Fragments !== undefined && data.Fragments !== null) {
443
+ if (data.Fragments != null) {
473
444
  contents.Fragments = deserializeAws_restJson1FragmentList(data.Fragments, context);
474
445
  }
475
- if (data.NextToken !== undefined && data.NextToken !== null) {
446
+ if (data.NextToken != null) {
476
447
  contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
477
448
  }
478
- return Promise.resolve(contents);
449
+ return contents;
479
450
  };
480
451
  exports.deserializeAws_restJson1ListFragmentsCommand = deserializeAws_restJson1ListFragmentsCommand;
481
452
  const deserializeAws_restJson1ListFragmentsCommandError = async (output, context) => {
@@ -483,7 +454,6 @@ const deserializeAws_restJson1ListFragmentsCommandError = async (output, context
483
454
  ...output,
484
455
  body: await parseBody(output.body, context),
485
456
  };
486
- let response;
487
457
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
488
458
  switch (errorCode) {
489
459
  case "ClientLimitExceededException":
@@ -500,20 +470,19 @@ const deserializeAws_restJson1ListFragmentsCommandError = async (output, context
500
470
  throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
501
471
  default:
502
472
  const parsedBody = parsedOutput.body;
503
- const $metadata = deserializeMetadata(output);
504
- const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
505
- response = new KinesisVideoArchivedMediaServiceException_1.KinesisVideoArchivedMediaServiceException({
506
- name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
507
- $fault: "client",
508
- $metadata,
473
+ (0, smithy_client_1.throwDefaultError)({
474
+ output,
475
+ parsedBody,
476
+ exceptionCtor: KinesisVideoArchivedMediaServiceException_1.KinesisVideoArchivedMediaServiceException,
477
+ errorCode,
509
478
  });
510
- throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
511
479
  }
512
480
  };
481
+ const map = smithy_client_1.map;
513
482
  const deserializeAws_restJson1ClientLimitExceededExceptionResponse = async (parsedOutput, context) => {
514
- const contents = {};
483
+ const contents = map({});
515
484
  const data = parsedOutput.body;
516
- if (data.Message !== undefined && data.Message !== null) {
485
+ if (data.Message != null) {
517
486
  contents.Message = (0, smithy_client_1.expectString)(data.Message);
518
487
  }
519
488
  const exception = new models_0_1.ClientLimitExceededException({
@@ -523,9 +492,9 @@ const deserializeAws_restJson1ClientLimitExceededExceptionResponse = async (pars
523
492
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
524
493
  };
525
494
  const deserializeAws_restJson1InvalidArgumentExceptionResponse = async (parsedOutput, context) => {
526
- const contents = {};
495
+ const contents = map({});
527
496
  const data = parsedOutput.body;
528
- if (data.Message !== undefined && data.Message !== null) {
497
+ if (data.Message != null) {
529
498
  contents.Message = (0, smithy_client_1.expectString)(data.Message);
530
499
  }
531
500
  const exception = new models_0_1.InvalidArgumentException({
@@ -535,9 +504,9 @@ const deserializeAws_restJson1InvalidArgumentExceptionResponse = async (parsedOu
535
504
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
536
505
  };
537
506
  const deserializeAws_restJson1InvalidCodecPrivateDataExceptionResponse = async (parsedOutput, context) => {
538
- const contents = {};
507
+ const contents = map({});
539
508
  const data = parsedOutput.body;
540
- if (data.Message !== undefined && data.Message !== null) {
509
+ if (data.Message != null) {
541
510
  contents.Message = (0, smithy_client_1.expectString)(data.Message);
542
511
  }
543
512
  const exception = new models_0_1.InvalidCodecPrivateDataException({
@@ -547,9 +516,9 @@ const deserializeAws_restJson1InvalidCodecPrivateDataExceptionResponse = async (
547
516
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
548
517
  };
549
518
  const deserializeAws_restJson1InvalidMediaFrameExceptionResponse = async (parsedOutput, context) => {
550
- const contents = {};
519
+ const contents = map({});
551
520
  const data = parsedOutput.body;
552
- if (data.Message !== undefined && data.Message !== null) {
521
+ if (data.Message != null) {
553
522
  contents.Message = (0, smithy_client_1.expectString)(data.Message);
554
523
  }
555
524
  const exception = new models_0_1.InvalidMediaFrameException({
@@ -559,9 +528,9 @@ const deserializeAws_restJson1InvalidMediaFrameExceptionResponse = async (parsed
559
528
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
560
529
  };
561
530
  const deserializeAws_restJson1MissingCodecPrivateDataExceptionResponse = async (parsedOutput, context) => {
562
- const contents = {};
531
+ const contents = map({});
563
532
  const data = parsedOutput.body;
564
- if (data.Message !== undefined && data.Message !== null) {
533
+ if (data.Message != null) {
565
534
  contents.Message = (0, smithy_client_1.expectString)(data.Message);
566
535
  }
567
536
  const exception = new models_0_1.MissingCodecPrivateDataException({
@@ -571,9 +540,9 @@ const deserializeAws_restJson1MissingCodecPrivateDataExceptionResponse = async (
571
540
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
572
541
  };
573
542
  const deserializeAws_restJson1NoDataRetentionExceptionResponse = async (parsedOutput, context) => {
574
- const contents = {};
543
+ const contents = map({});
575
544
  const data = parsedOutput.body;
576
- if (data.Message !== undefined && data.Message !== null) {
545
+ if (data.Message != null) {
577
546
  contents.Message = (0, smithy_client_1.expectString)(data.Message);
578
547
  }
579
548
  const exception = new models_0_1.NoDataRetentionException({
@@ -583,9 +552,9 @@ const deserializeAws_restJson1NoDataRetentionExceptionResponse = async (parsedOu
583
552
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
584
553
  };
585
554
  const deserializeAws_restJson1NotAuthorizedExceptionResponse = async (parsedOutput, context) => {
586
- const contents = {};
555
+ const contents = map({});
587
556
  const data = parsedOutput.body;
588
- if (data.Message !== undefined && data.Message !== null) {
557
+ if (data.Message != null) {
589
558
  contents.Message = (0, smithy_client_1.expectString)(data.Message);
590
559
  }
591
560
  const exception = new models_0_1.NotAuthorizedException({
@@ -595,9 +564,9 @@ const deserializeAws_restJson1NotAuthorizedExceptionResponse = async (parsedOutp
595
564
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
596
565
  };
597
566
  const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
598
- const contents = {};
567
+ const contents = map({});
599
568
  const data = parsedOutput.body;
600
- if (data.Message !== undefined && data.Message !== null) {
569
+ if (data.Message != null) {
601
570
  contents.Message = (0, smithy_client_1.expectString)(data.Message);
602
571
  }
603
572
  const exception = new models_0_1.ResourceNotFoundException({
@@ -607,9 +576,9 @@ const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedO
607
576
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
608
577
  };
609
578
  const deserializeAws_restJson1UnsupportedStreamMediaTypeExceptionResponse = async (parsedOutput, context) => {
610
- const contents = {};
579
+ const contents = map({});
611
580
  const data = parsedOutput.body;
612
- if (data.Message !== undefined && data.Message !== null) {
581
+ if (data.Message != null) {
613
582
  contents.Message = (0, smithy_client_1.expectString)(data.Message);
614
583
  }
615
584
  const exception = new models_0_1.UnsupportedStreamMediaTypeException({
@@ -661,9 +630,6 @@ const serializeAws_restJson1FragmentNumberList = (input, context) => {
661
630
  return input
662
631
  .filter((e) => e != null)
663
632
  .map((entry) => {
664
- if (entry === null) {
665
- return null;
666
- }
667
633
  return entry;
668
634
  });
669
635
  };
@@ -1,6 +1,6 @@
1
1
  import { __assign, __awaiter, __generator, __read } from "tslib";
2
2
  import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
3
- import { decorateServiceException as __decorateServiceException, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, } from "@aws-sdk/smithy-client";
3
+ import { decorateServiceException as __decorateServiceException, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, map as __map, parseEpochTimestamp as __parseEpochTimestamp, throwDefaultError, } from "@aws-sdk/smithy-client";
4
4
  import { KinesisVideoArchivedMediaServiceException as __BaseException } from "../models/KinesisVideoArchivedMediaServiceException";
5
5
  import { ClientLimitExceededException, InvalidArgumentException, InvalidCodecPrivateDataException, InvalidMediaFrameException, MissingCodecPrivateDataException, NoDataRetentionException, NotAuthorizedException, ResourceNotFoundException, UnsupportedStreamMediaTypeException, } from "../models/models_0";
6
6
  export var serializeAws_restJson1GetClipCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
@@ -165,21 +165,17 @@ export var deserializeAws_restJson1GetClipCommand = function (output, context) {
165
165
  if (output.statusCode !== 200 && output.statusCode >= 300) {
166
166
  return [2, deserializeAws_restJson1GetClipCommandError(output, context)];
167
167
  }
168
- contents = {
168
+ contents = map({
169
169
  $metadata: deserializeMetadata(output),
170
- ContentType: undefined,
171
- Payload: undefined,
172
- };
173
- if (output.headers["content-type"] !== undefined) {
174
- contents.ContentType = output.headers["content-type"];
175
- }
170
+ ContentType: [, output.headers["content-type"]],
171
+ });
176
172
  data = output.body;
177
173
  contents.Payload = data;
178
- return [2, Promise.resolve(contents)];
174
+ return [2, contents];
179
175
  });
180
176
  }); };
181
177
  var deserializeAws_restJson1GetClipCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
182
- var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
178
+ var parsedOutput, _a, errorCode, _b, parsedBody;
183
179
  var _c;
184
180
  return __generator(this, function (_d) {
185
181
  switch (_d.label) {
@@ -232,14 +228,14 @@ var deserializeAws_restJson1GetClipCommandError = function (output, context) { r
232
228
  case 19: throw _d.sent();
233
229
  case 20:
234
230
  parsedBody = parsedOutput.body;
235
- $metadata = deserializeMetadata(output);
236
- statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
237
- response = new __BaseException({
238
- name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
239
- $fault: "client",
240
- $metadata: $metadata,
231
+ throwDefaultError({
232
+ output: output,
233
+ parsedBody: parsedBody,
234
+ exceptionCtor: __BaseException,
235
+ errorCode: errorCode,
241
236
  });
242
- throw __decorateServiceException(response, parsedBody);
237
+ _d.label = 21;
238
+ case 21: return [2];
243
239
  }
244
240
  });
245
241
  }); };
@@ -251,24 +247,23 @@ export var deserializeAws_restJson1GetDASHStreamingSessionURLCommand = function
251
247
  if (output.statusCode !== 200 && output.statusCode >= 300) {
252
248
  return [2, deserializeAws_restJson1GetDASHStreamingSessionURLCommandError(output, context)];
253
249
  }
254
- contents = {
250
+ contents = map({
255
251
  $metadata: deserializeMetadata(output),
256
- DASHStreamingSessionURL: undefined,
257
- };
252
+ });
258
253
  _a = __expectNonNull;
259
254
  _b = __expectObject;
260
255
  return [4, parseBody(output.body, context)];
261
256
  case 1:
262
257
  data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
263
- if (data.DASHStreamingSessionURL !== undefined && data.DASHStreamingSessionURL !== null) {
258
+ if (data.DASHStreamingSessionURL != null) {
264
259
  contents.DASHStreamingSessionURL = __expectString(data.DASHStreamingSessionURL);
265
260
  }
266
- return [2, Promise.resolve(contents)];
261
+ return [2, contents];
267
262
  }
268
263
  });
269
264
  }); };
270
265
  var deserializeAws_restJson1GetDASHStreamingSessionURLCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
271
- var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
266
+ var parsedOutput, _a, errorCode, _b, parsedBody;
272
267
  var _c;
273
268
  return __generator(this, function (_d) {
274
269
  switch (_d.label) {
@@ -317,14 +312,14 @@ var deserializeAws_restJson1GetDASHStreamingSessionURLCommandError = function (o
317
312
  case 17: throw _d.sent();
318
313
  case 18:
319
314
  parsedBody = parsedOutput.body;
320
- $metadata = deserializeMetadata(output);
321
- statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
322
- response = new __BaseException({
323
- name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
324
- $fault: "client",
325
- $metadata: $metadata,
315
+ throwDefaultError({
316
+ output: output,
317
+ parsedBody: parsedBody,
318
+ exceptionCtor: __BaseException,
319
+ errorCode: errorCode,
326
320
  });
327
- throw __decorateServiceException(response, parsedBody);
321
+ _d.label = 19;
322
+ case 19: return [2];
328
323
  }
329
324
  });
330
325
  }); };
@@ -336,24 +331,23 @@ export var deserializeAws_restJson1GetHLSStreamingSessionURLCommand = function (
336
331
  if (output.statusCode !== 200 && output.statusCode >= 300) {
337
332
  return [2, deserializeAws_restJson1GetHLSStreamingSessionURLCommandError(output, context)];
338
333
  }
339
- contents = {
334
+ contents = map({
340
335
  $metadata: deserializeMetadata(output),
341
- HLSStreamingSessionURL: undefined,
342
- };
336
+ });
343
337
  _a = __expectNonNull;
344
338
  _b = __expectObject;
345
339
  return [4, parseBody(output.body, context)];
346
340
  case 1:
347
341
  data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
348
- if (data.HLSStreamingSessionURL !== undefined && data.HLSStreamingSessionURL !== null) {
342
+ if (data.HLSStreamingSessionURL != null) {
349
343
  contents.HLSStreamingSessionURL = __expectString(data.HLSStreamingSessionURL);
350
344
  }
351
- return [2, Promise.resolve(contents)];
345
+ return [2, contents];
352
346
  }
353
347
  });
354
348
  }); };
355
349
  var deserializeAws_restJson1GetHLSStreamingSessionURLCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
356
- var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
350
+ var parsedOutput, _a, errorCode, _b, parsedBody;
357
351
  var _c;
358
352
  return __generator(this, function (_d) {
359
353
  switch (_d.label) {
@@ -402,14 +396,14 @@ var deserializeAws_restJson1GetHLSStreamingSessionURLCommandError = function (ou
402
396
  case 17: throw _d.sent();
403
397
  case 18:
404
398
  parsedBody = parsedOutput.body;
405
- $metadata = deserializeMetadata(output);
406
- statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
407
- response = new __BaseException({
408
- name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
409
- $fault: "client",
410
- $metadata: $metadata,
399
+ throwDefaultError({
400
+ output: output,
401
+ parsedBody: parsedBody,
402
+ exceptionCtor: __BaseException,
403
+ errorCode: errorCode,
411
404
  });
412
- throw __decorateServiceException(response, parsedBody);
405
+ _d.label = 19;
406
+ case 19: return [2];
413
407
  }
414
408
  });
415
409
  }); };
@@ -421,28 +415,26 @@ export var deserializeAws_restJson1GetImagesCommand = function (output, context)
421
415
  if (output.statusCode !== 200 && output.statusCode >= 300) {
422
416
  return [2, deserializeAws_restJson1GetImagesCommandError(output, context)];
423
417
  }
424
- contents = {
418
+ contents = map({
425
419
  $metadata: deserializeMetadata(output),
426
- Images: undefined,
427
- NextToken: undefined,
428
- };
420
+ });
429
421
  _a = __expectNonNull;
430
422
  _b = __expectObject;
431
423
  return [4, parseBody(output.body, context)];
432
424
  case 1:
433
425
  data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
434
- if (data.Images !== undefined && data.Images !== null) {
426
+ if (data.Images != null) {
435
427
  contents.Images = deserializeAws_restJson1Images(data.Images, context);
436
428
  }
437
- if (data.NextToken !== undefined && data.NextToken !== null) {
429
+ if (data.NextToken != null) {
438
430
  contents.NextToken = __expectString(data.NextToken);
439
431
  }
440
- return [2, Promise.resolve(contents)];
432
+ return [2, contents];
441
433
  }
442
434
  });
443
435
  }); };
444
436
  var deserializeAws_restJson1GetImagesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
445
- var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
437
+ var parsedOutput, _a, errorCode, _b, parsedBody;
446
438
  var _c;
447
439
  return __generator(this, function (_d) {
448
440
  switch (_d.label) {
@@ -475,14 +467,14 @@ var deserializeAws_restJson1GetImagesCommandError = function (output, context) {
475
467
  case 9: throw _d.sent();
476
468
  case 10:
477
469
  parsedBody = parsedOutput.body;
478
- $metadata = deserializeMetadata(output);
479
- statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
480
- response = new __BaseException({
481
- name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
482
- $fault: "client",
483
- $metadata: $metadata,
470
+ throwDefaultError({
471
+ output: output,
472
+ parsedBody: parsedBody,
473
+ exceptionCtor: __BaseException,
474
+ errorCode: errorCode,
484
475
  });
485
- throw __decorateServiceException(response, parsedBody);
476
+ _d.label = 11;
477
+ case 11: return [2];
486
478
  }
487
479
  });
488
480
  }); };
@@ -492,21 +484,17 @@ export var deserializeAws_restJson1GetMediaForFragmentListCommand = function (ou
492
484
  if (output.statusCode !== 200 && output.statusCode >= 300) {
493
485
  return [2, deserializeAws_restJson1GetMediaForFragmentListCommandError(output, context)];
494
486
  }
495
- contents = {
487
+ contents = map({
496
488
  $metadata: deserializeMetadata(output),
497
- ContentType: undefined,
498
- Payload: undefined,
499
- };
500
- if (output.headers["content-type"] !== undefined) {
501
- contents.ContentType = output.headers["content-type"];
502
- }
489
+ ContentType: [, output.headers["content-type"]],
490
+ });
503
491
  data = output.body;
504
492
  contents.Payload = data;
505
- return [2, Promise.resolve(contents)];
493
+ return [2, contents];
506
494
  });
507
495
  }); };
508
496
  var deserializeAws_restJson1GetMediaForFragmentListCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
509
- var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
497
+ var parsedOutput, _a, errorCode, _b, parsedBody;
510
498
  var _c;
511
499
  return __generator(this, function (_d) {
512
500
  switch (_d.label) {
@@ -539,14 +527,14 @@ var deserializeAws_restJson1GetMediaForFragmentListCommandError = function (outp
539
527
  case 9: throw _d.sent();
540
528
  case 10:
541
529
  parsedBody = parsedOutput.body;
542
- $metadata = deserializeMetadata(output);
543
- statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
544
- response = new __BaseException({
545
- name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
546
- $fault: "client",
547
- $metadata: $metadata,
530
+ throwDefaultError({
531
+ output: output,
532
+ parsedBody: parsedBody,
533
+ exceptionCtor: __BaseException,
534
+ errorCode: errorCode,
548
535
  });
549
- throw __decorateServiceException(response, parsedBody);
536
+ _d.label = 11;
537
+ case 11: return [2];
550
538
  }
551
539
  });
552
540
  }); };
@@ -558,28 +546,26 @@ export var deserializeAws_restJson1ListFragmentsCommand = function (output, cont
558
546
  if (output.statusCode !== 200 && output.statusCode >= 300) {
559
547
  return [2, deserializeAws_restJson1ListFragmentsCommandError(output, context)];
560
548
  }
561
- contents = {
549
+ contents = map({
562
550
  $metadata: deserializeMetadata(output),
563
- Fragments: undefined,
564
- NextToken: undefined,
565
- };
551
+ });
566
552
  _a = __expectNonNull;
567
553
  _b = __expectObject;
568
554
  return [4, parseBody(output.body, context)];
569
555
  case 1:
570
556
  data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
571
- if (data.Fragments !== undefined && data.Fragments !== null) {
557
+ if (data.Fragments != null) {
572
558
  contents.Fragments = deserializeAws_restJson1FragmentList(data.Fragments, context);
573
559
  }
574
- if (data.NextToken !== undefined && data.NextToken !== null) {
560
+ if (data.NextToken != null) {
575
561
  contents.NextToken = __expectString(data.NextToken);
576
562
  }
577
- return [2, Promise.resolve(contents)];
563
+ return [2, contents];
578
564
  }
579
565
  });
580
566
  }); };
581
567
  var deserializeAws_restJson1ListFragmentsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
582
- var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
568
+ var parsedOutput, _a, errorCode, _b, parsedBody;
583
569
  var _c;
584
570
  return __generator(this, function (_d) {
585
571
  switch (_d.label) {
@@ -612,23 +598,24 @@ var deserializeAws_restJson1ListFragmentsCommandError = function (output, contex
612
598
  case 9: throw _d.sent();
613
599
  case 10:
614
600
  parsedBody = parsedOutput.body;
615
- $metadata = deserializeMetadata(output);
616
- statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
617
- response = new __BaseException({
618
- name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
619
- $fault: "client",
620
- $metadata: $metadata,
601
+ throwDefaultError({
602
+ output: output,
603
+ parsedBody: parsedBody,
604
+ exceptionCtor: __BaseException,
605
+ errorCode: errorCode,
621
606
  });
622
- throw __decorateServiceException(response, parsedBody);
607
+ _d.label = 11;
608
+ case 11: return [2];
623
609
  }
624
610
  });
625
611
  }); };
612
+ var map = __map;
626
613
  var deserializeAws_restJson1ClientLimitExceededExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
627
614
  var contents, data, exception;
628
615
  return __generator(this, function (_a) {
629
- contents = {};
616
+ contents = map({});
630
617
  data = parsedOutput.body;
631
- if (data.Message !== undefined && data.Message !== null) {
618
+ if (data.Message != null) {
632
619
  contents.Message = __expectString(data.Message);
633
620
  }
634
621
  exception = new ClientLimitExceededException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, contents));
@@ -638,9 +625,9 @@ var deserializeAws_restJson1ClientLimitExceededExceptionResponse = function (par
638
625
  var deserializeAws_restJson1InvalidArgumentExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
639
626
  var contents, data, exception;
640
627
  return __generator(this, function (_a) {
641
- contents = {};
628
+ contents = map({});
642
629
  data = parsedOutput.body;
643
- if (data.Message !== undefined && data.Message !== null) {
630
+ if (data.Message != null) {
644
631
  contents.Message = __expectString(data.Message);
645
632
  }
646
633
  exception = new InvalidArgumentException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, contents));
@@ -650,9 +637,9 @@ var deserializeAws_restJson1InvalidArgumentExceptionResponse = function (parsedO
650
637
  var deserializeAws_restJson1InvalidCodecPrivateDataExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
651
638
  var contents, data, exception;
652
639
  return __generator(this, function (_a) {
653
- contents = {};
640
+ contents = map({});
654
641
  data = parsedOutput.body;
655
- if (data.Message !== undefined && data.Message !== null) {
642
+ if (data.Message != null) {
656
643
  contents.Message = __expectString(data.Message);
657
644
  }
658
645
  exception = new InvalidCodecPrivateDataException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, contents));
@@ -662,9 +649,9 @@ var deserializeAws_restJson1InvalidCodecPrivateDataExceptionResponse = function
662
649
  var deserializeAws_restJson1InvalidMediaFrameExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
663
650
  var contents, data, exception;
664
651
  return __generator(this, function (_a) {
665
- contents = {};
652
+ contents = map({});
666
653
  data = parsedOutput.body;
667
- if (data.Message !== undefined && data.Message !== null) {
654
+ if (data.Message != null) {
668
655
  contents.Message = __expectString(data.Message);
669
656
  }
670
657
  exception = new InvalidMediaFrameException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, contents));
@@ -674,9 +661,9 @@ var deserializeAws_restJson1InvalidMediaFrameExceptionResponse = function (parse
674
661
  var deserializeAws_restJson1MissingCodecPrivateDataExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
675
662
  var contents, data, exception;
676
663
  return __generator(this, function (_a) {
677
- contents = {};
664
+ contents = map({});
678
665
  data = parsedOutput.body;
679
- if (data.Message !== undefined && data.Message !== null) {
666
+ if (data.Message != null) {
680
667
  contents.Message = __expectString(data.Message);
681
668
  }
682
669
  exception = new MissingCodecPrivateDataException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, contents));
@@ -686,9 +673,9 @@ var deserializeAws_restJson1MissingCodecPrivateDataExceptionResponse = function
686
673
  var deserializeAws_restJson1NoDataRetentionExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
687
674
  var contents, data, exception;
688
675
  return __generator(this, function (_a) {
689
- contents = {};
676
+ contents = map({});
690
677
  data = parsedOutput.body;
691
- if (data.Message !== undefined && data.Message !== null) {
678
+ if (data.Message != null) {
692
679
  contents.Message = __expectString(data.Message);
693
680
  }
694
681
  exception = new NoDataRetentionException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, contents));
@@ -698,9 +685,9 @@ var deserializeAws_restJson1NoDataRetentionExceptionResponse = function (parsedO
698
685
  var deserializeAws_restJson1NotAuthorizedExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
699
686
  var contents, data, exception;
700
687
  return __generator(this, function (_a) {
701
- contents = {};
688
+ contents = map({});
702
689
  data = parsedOutput.body;
703
- if (data.Message !== undefined && data.Message !== null) {
690
+ if (data.Message != null) {
704
691
  contents.Message = __expectString(data.Message);
705
692
  }
706
693
  exception = new NotAuthorizedException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, contents));
@@ -710,9 +697,9 @@ var deserializeAws_restJson1NotAuthorizedExceptionResponse = function (parsedOut
710
697
  var deserializeAws_restJson1ResourceNotFoundExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
711
698
  var contents, data, exception;
712
699
  return __generator(this, function (_a) {
713
- contents = {};
700
+ contents = map({});
714
701
  data = parsedOutput.body;
715
- if (data.Message !== undefined && data.Message !== null) {
702
+ if (data.Message != null) {
716
703
  contents.Message = __expectString(data.Message);
717
704
  }
718
705
  exception = new ResourceNotFoundException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, contents));
@@ -722,9 +709,9 @@ var deserializeAws_restJson1ResourceNotFoundExceptionResponse = function (parsed
722
709
  var deserializeAws_restJson1UnsupportedStreamMediaTypeExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
723
710
  var contents, data, exception;
724
711
  return __generator(this, function (_a) {
725
- contents = {};
712
+ contents = map({});
726
713
  data = parsedOutput.body;
727
- if (data.Message !== undefined && data.Message !== null) {
714
+ if (data.Message != null) {
728
715
  contents.Message = __expectString(data.Message);
729
716
  }
730
717
  exception = new UnsupportedStreamMediaTypeException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, contents));
@@ -761,9 +748,6 @@ var serializeAws_restJson1FragmentNumberList = function (input, context) {
761
748
  return input
762
749
  .filter(function (e) { return e != null; })
763
750
  .map(function (entry) {
764
- if (entry === null) {
765
- return null;
766
- }
767
751
  return entry;
768
752
  });
769
753
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-kinesis-video-archived-media",
3
3
  "description": "AWS SDK for JavaScript Kinesis Video Archived Media Client for Node.js, Browser and React Native",
4
- "version": "3.137.0",
4
+ "version": "3.145.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -18,9 +18,9 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.137.0",
21
+ "@aws-sdk/client-sts": "3.145.0",
22
22
  "@aws-sdk/config-resolver": "3.130.0",
23
- "@aws-sdk/credential-provider-node": "3.137.0",
23
+ "@aws-sdk/credential-provider-node": "3.145.0",
24
24
  "@aws-sdk/fetch-http-handler": "3.131.0",
25
25
  "@aws-sdk/hash-node": "3.127.0",
26
26
  "@aws-sdk/invalid-dependency": "3.127.0",
@@ -36,15 +36,15 @@
36
36
  "@aws-sdk/node-config-provider": "3.127.0",
37
37
  "@aws-sdk/node-http-handler": "3.127.0",
38
38
  "@aws-sdk/protocol-http": "3.127.0",
39
- "@aws-sdk/smithy-client": "3.137.0",
39
+ "@aws-sdk/smithy-client": "3.142.0",
40
40
  "@aws-sdk/types": "3.127.0",
41
41
  "@aws-sdk/url-parser": "3.127.0",
42
42
  "@aws-sdk/util-base64-browser": "3.109.0",
43
43
  "@aws-sdk/util-base64-node": "3.55.0",
44
44
  "@aws-sdk/util-body-length-browser": "3.55.0",
45
45
  "@aws-sdk/util-body-length-node": "3.55.0",
46
- "@aws-sdk/util-defaults-mode-browser": "3.137.0",
47
- "@aws-sdk/util-defaults-mode-node": "3.137.0",
46
+ "@aws-sdk/util-defaults-mode-browser": "3.142.0",
47
+ "@aws-sdk/util-defaults-mode-node": "3.142.0",
48
48
  "@aws-sdk/util-user-agent-browser": "3.127.0",
49
49
  "@aws-sdk/util-user-agent-node": "3.127.0",
50
50
  "@aws-sdk/util-utf8-browser": "3.109.0",
@@ -61,6 +61,11 @@
61
61
  "typedoc": "0.19.2",
62
62
  "typescript": "~4.6.2"
63
63
  },
64
+ "overrides": {
65
+ "typedoc": {
66
+ "typescript": "~4.6.2"
67
+ }
68
+ },
64
69
  "engines": {
65
70
  "node": ">=12.0.0"
66
71
  },