@aws-sdk/client-schemas 3.54.1 → 3.55.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.
Files changed (49) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist-cjs/SchemasClient.js +13 -13
  3. package/dist-cjs/commands/CreateDiscovererCommand.js +3 -3
  4. package/dist-cjs/commands/CreateRegistryCommand.js +3 -3
  5. package/dist-cjs/commands/CreateSchemaCommand.js +3 -3
  6. package/dist-cjs/commands/DeleteDiscovererCommand.js +3 -3
  7. package/dist-cjs/commands/DeleteRegistryCommand.js +3 -3
  8. package/dist-cjs/commands/DeleteResourcePolicyCommand.js +3 -3
  9. package/dist-cjs/commands/DeleteSchemaCommand.js +3 -3
  10. package/dist-cjs/commands/DeleteSchemaVersionCommand.js +3 -3
  11. package/dist-cjs/commands/DescribeCodeBindingCommand.js +3 -3
  12. package/dist-cjs/commands/DescribeDiscovererCommand.js +3 -3
  13. package/dist-cjs/commands/DescribeRegistryCommand.js +3 -3
  14. package/dist-cjs/commands/DescribeSchemaCommand.js +3 -3
  15. package/dist-cjs/commands/ExportSchemaCommand.js +3 -3
  16. package/dist-cjs/commands/GetCodeBindingSourceCommand.js +3 -3
  17. package/dist-cjs/commands/GetDiscoveredSchemaCommand.js +3 -3
  18. package/dist-cjs/commands/GetResourcePolicyCommand.js +3 -3
  19. package/dist-cjs/commands/ListDiscoverersCommand.js +3 -3
  20. package/dist-cjs/commands/ListRegistriesCommand.js +3 -3
  21. package/dist-cjs/commands/ListSchemaVersionsCommand.js +3 -3
  22. package/dist-cjs/commands/ListSchemasCommand.js +3 -3
  23. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  24. package/dist-cjs/commands/PutCodeBindingCommand.js +3 -3
  25. package/dist-cjs/commands/PutResourcePolicyCommand.js +3 -3
  26. package/dist-cjs/commands/SearchSchemasCommand.js +3 -3
  27. package/dist-cjs/commands/StartDiscovererCommand.js +3 -3
  28. package/dist-cjs/commands/StopDiscovererCommand.js +3 -3
  29. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  30. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  31. package/dist-cjs/commands/UpdateDiscovererCommand.js +3 -3
  32. package/dist-cjs/commands/UpdateRegistryCommand.js +3 -3
  33. package/dist-cjs/commands/UpdateSchemaCommand.js +3 -3
  34. package/dist-cjs/endpoints.js +1 -1
  35. package/dist-cjs/protocols/Aws_restJson1.js +219 -219
  36. package/dist-cjs/runtimeConfig.browser.js +4 -4
  37. package/dist-cjs/runtimeConfig.js +9 -9
  38. package/dist-cjs/runtimeConfig.native.js +1 -1
  39. package/dist-cjs/waiters/waitForCodeBindingExists.js +3 -3
  40. package/dist-es/Schemas.js +31 -31
  41. package/dist-es/pagination/ListDiscoverersPaginator.js +4 -4
  42. package/dist-es/pagination/ListRegistriesPaginator.js +4 -4
  43. package/dist-es/pagination/ListSchemaVersionsPaginator.js +4 -4
  44. package/dist-es/pagination/ListSchemasPaginator.js +4 -4
  45. package/dist-es/pagination/SearchSchemasPaginator.js +4 -4
  46. package/dist-es/protocols/Aws_restJson1.js +31 -31
  47. package/dist-types/runtimeConfig.native.d.ts +2 -2
  48. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
  49. package/package.json +35 -35
@@ -42,7 +42,7 @@ const serializeAws_restJson1CreateRegistryCommand = async (input, context) => {
42
42
  if (labelValue.length <= 0) {
43
43
  throw new Error("Empty value provided for input HTTP label: RegistryName.");
44
44
  }
45
- resolvedPath = resolvedPath.replace("{RegistryName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
45
+ resolvedPath = resolvedPath.replace("{RegistryName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
46
46
  }
47
47
  else {
48
48
  throw new Error("No value provided for input HTTP label: RegistryName.");
@@ -75,7 +75,7 @@ const serializeAws_restJson1CreateSchemaCommand = async (input, context) => {
75
75
  if (labelValue.length <= 0) {
76
76
  throw new Error("Empty value provided for input HTTP label: RegistryName.");
77
77
  }
78
- resolvedPath = resolvedPath.replace("{RegistryName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
78
+ resolvedPath = resolvedPath.replace("{RegistryName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
79
79
  }
80
80
  else {
81
81
  throw new Error("No value provided for input HTTP label: RegistryName.");
@@ -85,7 +85,7 @@ const serializeAws_restJson1CreateSchemaCommand = async (input, context) => {
85
85
  if (labelValue.length <= 0) {
86
86
  throw new Error("Empty value provided for input HTTP label: SchemaName.");
87
87
  }
88
- resolvedPath = resolvedPath.replace("{SchemaName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
88
+ resolvedPath = resolvedPath.replace("{SchemaName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
89
89
  }
90
90
  else {
91
91
  throw new Error("No value provided for input HTTP label: SchemaName.");
@@ -117,7 +117,7 @@ const serializeAws_restJson1DeleteDiscovererCommand = async (input, context) =>
117
117
  if (labelValue.length <= 0) {
118
118
  throw new Error("Empty value provided for input HTTP label: DiscovererId.");
119
119
  }
120
- resolvedPath = resolvedPath.replace("{DiscovererId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
120
+ resolvedPath = resolvedPath.replace("{DiscovererId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
121
121
  }
122
122
  else {
123
123
  throw new Error("No value provided for input HTTP label: DiscovererId.");
@@ -143,7 +143,7 @@ const serializeAws_restJson1DeleteRegistryCommand = async (input, context) => {
143
143
  if (labelValue.length <= 0) {
144
144
  throw new Error("Empty value provided for input HTTP label: RegistryName.");
145
145
  }
146
- resolvedPath = resolvedPath.replace("{RegistryName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
146
+ resolvedPath = resolvedPath.replace("{RegistryName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
147
147
  }
148
148
  else {
149
149
  throw new Error("No value provided for input HTTP label: RegistryName.");
@@ -190,7 +190,7 @@ const serializeAws_restJson1DeleteSchemaCommand = async (input, context) => {
190
190
  if (labelValue.length <= 0) {
191
191
  throw new Error("Empty value provided for input HTTP label: RegistryName.");
192
192
  }
193
- resolvedPath = resolvedPath.replace("{RegistryName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
193
+ resolvedPath = resolvedPath.replace("{RegistryName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
194
194
  }
195
195
  else {
196
196
  throw new Error("No value provided for input HTTP label: RegistryName.");
@@ -200,7 +200,7 @@ const serializeAws_restJson1DeleteSchemaCommand = async (input, context) => {
200
200
  if (labelValue.length <= 0) {
201
201
  throw new Error("Empty value provided for input HTTP label: SchemaName.");
202
202
  }
203
- resolvedPath = resolvedPath.replace("{SchemaName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
203
+ resolvedPath = resolvedPath.replace("{SchemaName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
204
204
  }
205
205
  else {
206
206
  throw new Error("No value provided for input HTTP label: SchemaName.");
@@ -227,7 +227,7 @@ const serializeAws_restJson1DeleteSchemaVersionCommand = async (input, context)
227
227
  if (labelValue.length <= 0) {
228
228
  throw new Error("Empty value provided for input HTTP label: RegistryName.");
229
229
  }
230
- resolvedPath = resolvedPath.replace("{RegistryName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
230
+ resolvedPath = resolvedPath.replace("{RegistryName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
231
231
  }
232
232
  else {
233
233
  throw new Error("No value provided for input HTTP label: RegistryName.");
@@ -237,7 +237,7 @@ const serializeAws_restJson1DeleteSchemaVersionCommand = async (input, context)
237
237
  if (labelValue.length <= 0) {
238
238
  throw new Error("Empty value provided for input HTTP label: SchemaName.");
239
239
  }
240
- resolvedPath = resolvedPath.replace("{SchemaName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
240
+ resolvedPath = resolvedPath.replace("{SchemaName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
241
241
  }
242
242
  else {
243
243
  throw new Error("No value provided for input HTTP label: SchemaName.");
@@ -247,7 +247,7 @@ const serializeAws_restJson1DeleteSchemaVersionCommand = async (input, context)
247
247
  if (labelValue.length <= 0) {
248
248
  throw new Error("Empty value provided for input HTTP label: SchemaVersion.");
249
249
  }
250
- resolvedPath = resolvedPath.replace("{SchemaVersion}", smithy_client_1.extendedEncodeURIComponent(labelValue));
250
+ resolvedPath = resolvedPath.replace("{SchemaVersion}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
251
251
  }
252
252
  else {
253
253
  throw new Error("No value provided for input HTTP label: SchemaVersion.");
@@ -274,7 +274,7 @@ const serializeAws_restJson1DescribeCodeBindingCommand = async (input, context)
274
274
  if (labelValue.length <= 0) {
275
275
  throw new Error("Empty value provided for input HTTP label: Language.");
276
276
  }
277
- resolvedPath = resolvedPath.replace("{Language}", smithy_client_1.extendedEncodeURIComponent(labelValue));
277
+ resolvedPath = resolvedPath.replace("{Language}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
278
278
  }
279
279
  else {
280
280
  throw new Error("No value provided for input HTTP label: Language.");
@@ -284,7 +284,7 @@ const serializeAws_restJson1DescribeCodeBindingCommand = async (input, context)
284
284
  if (labelValue.length <= 0) {
285
285
  throw new Error("Empty value provided for input HTTP label: RegistryName.");
286
286
  }
287
- resolvedPath = resolvedPath.replace("{RegistryName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
287
+ resolvedPath = resolvedPath.replace("{RegistryName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
288
288
  }
289
289
  else {
290
290
  throw new Error("No value provided for input HTTP label: RegistryName.");
@@ -294,7 +294,7 @@ const serializeAws_restJson1DescribeCodeBindingCommand = async (input, context)
294
294
  if (labelValue.length <= 0) {
295
295
  throw new Error("Empty value provided for input HTTP label: SchemaName.");
296
296
  }
297
- resolvedPath = resolvedPath.replace("{SchemaName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
297
+ resolvedPath = resolvedPath.replace("{SchemaName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
298
298
  }
299
299
  else {
300
300
  throw new Error("No value provided for input HTTP label: SchemaName.");
@@ -324,7 +324,7 @@ const serializeAws_restJson1DescribeDiscovererCommand = async (input, context) =
324
324
  if (labelValue.length <= 0) {
325
325
  throw new Error("Empty value provided for input HTTP label: DiscovererId.");
326
326
  }
327
- resolvedPath = resolvedPath.replace("{DiscovererId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
327
+ resolvedPath = resolvedPath.replace("{DiscovererId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
328
328
  }
329
329
  else {
330
330
  throw new Error("No value provided for input HTTP label: DiscovererId.");
@@ -350,7 +350,7 @@ const serializeAws_restJson1DescribeRegistryCommand = async (input, context) =>
350
350
  if (labelValue.length <= 0) {
351
351
  throw new Error("Empty value provided for input HTTP label: RegistryName.");
352
352
  }
353
- resolvedPath = resolvedPath.replace("{RegistryName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
353
+ resolvedPath = resolvedPath.replace("{RegistryName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
354
354
  }
355
355
  else {
356
356
  throw new Error("No value provided for input HTTP label: RegistryName.");
@@ -377,7 +377,7 @@ const serializeAws_restJson1DescribeSchemaCommand = async (input, context) => {
377
377
  if (labelValue.length <= 0) {
378
378
  throw new Error("Empty value provided for input HTTP label: RegistryName.");
379
379
  }
380
- resolvedPath = resolvedPath.replace("{RegistryName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
380
+ resolvedPath = resolvedPath.replace("{RegistryName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
381
381
  }
382
382
  else {
383
383
  throw new Error("No value provided for input HTTP label: RegistryName.");
@@ -387,7 +387,7 @@ const serializeAws_restJson1DescribeSchemaCommand = async (input, context) => {
387
387
  if (labelValue.length <= 0) {
388
388
  throw new Error("Empty value provided for input HTTP label: SchemaName.");
389
389
  }
390
- resolvedPath = resolvedPath.replace("{SchemaName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
390
+ resolvedPath = resolvedPath.replace("{SchemaName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
391
391
  }
392
392
  else {
393
393
  throw new Error("No value provided for input HTTP label: SchemaName.");
@@ -418,7 +418,7 @@ const serializeAws_restJson1ExportSchemaCommand = async (input, context) => {
418
418
  if (labelValue.length <= 0) {
419
419
  throw new Error("Empty value provided for input HTTP label: RegistryName.");
420
420
  }
421
- resolvedPath = resolvedPath.replace("{RegistryName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
421
+ resolvedPath = resolvedPath.replace("{RegistryName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
422
422
  }
423
423
  else {
424
424
  throw new Error("No value provided for input HTTP label: RegistryName.");
@@ -428,7 +428,7 @@ const serializeAws_restJson1ExportSchemaCommand = async (input, context) => {
428
428
  if (labelValue.length <= 0) {
429
429
  throw new Error("Empty value provided for input HTTP label: SchemaName.");
430
430
  }
431
- resolvedPath = resolvedPath.replace("{SchemaName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
431
+ resolvedPath = resolvedPath.replace("{SchemaName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
432
432
  }
433
433
  else {
434
434
  throw new Error("No value provided for input HTTP label: SchemaName.");
@@ -460,7 +460,7 @@ const serializeAws_restJson1GetCodeBindingSourceCommand = async (input, context)
460
460
  if (labelValue.length <= 0) {
461
461
  throw new Error("Empty value provided for input HTTP label: Language.");
462
462
  }
463
- resolvedPath = resolvedPath.replace("{Language}", smithy_client_1.extendedEncodeURIComponent(labelValue));
463
+ resolvedPath = resolvedPath.replace("{Language}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
464
464
  }
465
465
  else {
466
466
  throw new Error("No value provided for input HTTP label: Language.");
@@ -470,7 +470,7 @@ const serializeAws_restJson1GetCodeBindingSourceCommand = async (input, context)
470
470
  if (labelValue.length <= 0) {
471
471
  throw new Error("Empty value provided for input HTTP label: RegistryName.");
472
472
  }
473
- resolvedPath = resolvedPath.replace("{RegistryName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
473
+ resolvedPath = resolvedPath.replace("{RegistryName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
474
474
  }
475
475
  else {
476
476
  throw new Error("No value provided for input HTTP label: RegistryName.");
@@ -480,7 +480,7 @@ const serializeAws_restJson1GetCodeBindingSourceCommand = async (input, context)
480
480
  if (labelValue.length <= 0) {
481
481
  throw new Error("Empty value provided for input HTTP label: SchemaName.");
482
482
  }
483
- resolvedPath = resolvedPath.replace("{SchemaName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
483
+ resolvedPath = resolvedPath.replace("{SchemaName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
484
484
  }
485
485
  else {
486
486
  throw new Error("No value provided for input HTTP label: SchemaName.");
@@ -602,7 +602,7 @@ const serializeAws_restJson1ListSchemasCommand = async (input, context) => {
602
602
  if (labelValue.length <= 0) {
603
603
  throw new Error("Empty value provided for input HTTP label: RegistryName.");
604
604
  }
605
- resolvedPath = resolvedPath.replace("{RegistryName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
605
+ resolvedPath = resolvedPath.replace("{RegistryName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
606
606
  }
607
607
  else {
608
608
  throw new Error("No value provided for input HTTP label: RegistryName.");
@@ -635,7 +635,7 @@ const serializeAws_restJson1ListSchemaVersionsCommand = async (input, context) =
635
635
  if (labelValue.length <= 0) {
636
636
  throw new Error("Empty value provided for input HTTP label: RegistryName.");
637
637
  }
638
- resolvedPath = resolvedPath.replace("{RegistryName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
638
+ resolvedPath = resolvedPath.replace("{RegistryName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
639
639
  }
640
640
  else {
641
641
  throw new Error("No value provided for input HTTP label: RegistryName.");
@@ -645,7 +645,7 @@ const serializeAws_restJson1ListSchemaVersionsCommand = async (input, context) =
645
645
  if (labelValue.length <= 0) {
646
646
  throw new Error("Empty value provided for input HTTP label: SchemaName.");
647
647
  }
648
- resolvedPath = resolvedPath.replace("{SchemaName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
648
+ resolvedPath = resolvedPath.replace("{SchemaName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
649
649
  }
650
650
  else {
651
651
  throw new Error("No value provided for input HTTP label: SchemaName.");
@@ -676,7 +676,7 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
676
676
  if (labelValue.length <= 0) {
677
677
  throw new Error("Empty value provided for input HTTP label: ResourceArn.");
678
678
  }
679
- resolvedPath = resolvedPath.replace("{ResourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
679
+ resolvedPath = resolvedPath.replace("{ResourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
680
680
  }
681
681
  else {
682
682
  throw new Error("No value provided for input HTTP label: ResourceArn.");
@@ -703,7 +703,7 @@ const serializeAws_restJson1PutCodeBindingCommand = async (input, context) => {
703
703
  if (labelValue.length <= 0) {
704
704
  throw new Error("Empty value provided for input HTTP label: Language.");
705
705
  }
706
- resolvedPath = resolvedPath.replace("{Language}", smithy_client_1.extendedEncodeURIComponent(labelValue));
706
+ resolvedPath = resolvedPath.replace("{Language}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
707
707
  }
708
708
  else {
709
709
  throw new Error("No value provided for input HTTP label: Language.");
@@ -713,7 +713,7 @@ const serializeAws_restJson1PutCodeBindingCommand = async (input, context) => {
713
713
  if (labelValue.length <= 0) {
714
714
  throw new Error("Empty value provided for input HTTP label: RegistryName.");
715
715
  }
716
- resolvedPath = resolvedPath.replace("{RegistryName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
716
+ resolvedPath = resolvedPath.replace("{RegistryName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
717
717
  }
718
718
  else {
719
719
  throw new Error("No value provided for input HTTP label: RegistryName.");
@@ -723,7 +723,7 @@ const serializeAws_restJson1PutCodeBindingCommand = async (input, context) => {
723
723
  if (labelValue.length <= 0) {
724
724
  throw new Error("Empty value provided for input HTTP label: SchemaName.");
725
725
  }
726
- resolvedPath = resolvedPath.replace("{SchemaName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
726
+ resolvedPath = resolvedPath.replace("{SchemaName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
727
727
  }
728
728
  else {
729
729
  throw new Error("No value provided for input HTTP label: SchemaName.");
@@ -780,7 +780,7 @@ const serializeAws_restJson1SearchSchemasCommand = async (input, context) => {
780
780
  if (labelValue.length <= 0) {
781
781
  throw new Error("Empty value provided for input HTTP label: RegistryName.");
782
782
  }
783
- resolvedPath = resolvedPath.replace("{RegistryName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
783
+ resolvedPath = resolvedPath.replace("{RegistryName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
784
784
  }
785
785
  else {
786
786
  throw new Error("No value provided for input HTTP label: RegistryName.");
@@ -812,7 +812,7 @@ const serializeAws_restJson1StartDiscovererCommand = async (input, context) => {
812
812
  if (labelValue.length <= 0) {
813
813
  throw new Error("Empty value provided for input HTTP label: DiscovererId.");
814
814
  }
815
- resolvedPath = resolvedPath.replace("{DiscovererId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
815
+ resolvedPath = resolvedPath.replace("{DiscovererId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
816
816
  }
817
817
  else {
818
818
  throw new Error("No value provided for input HTTP label: DiscovererId.");
@@ -838,7 +838,7 @@ const serializeAws_restJson1StopDiscovererCommand = async (input, context) => {
838
838
  if (labelValue.length <= 0) {
839
839
  throw new Error("Empty value provided for input HTTP label: DiscovererId.");
840
840
  }
841
- resolvedPath = resolvedPath.replace("{DiscovererId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
841
+ resolvedPath = resolvedPath.replace("{DiscovererId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
842
842
  }
843
843
  else {
844
844
  throw new Error("No value provided for input HTTP label: DiscovererId.");
@@ -866,7 +866,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
866
866
  if (labelValue.length <= 0) {
867
867
  throw new Error("Empty value provided for input HTTP label: ResourceArn.");
868
868
  }
869
- resolvedPath = resolvedPath.replace("{ResourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
869
+ resolvedPath = resolvedPath.replace("{ResourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
870
870
  }
871
871
  else {
872
872
  throw new Error("No value provided for input HTTP label: ResourceArn.");
@@ -895,7 +895,7 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
895
895
  if (labelValue.length <= 0) {
896
896
  throw new Error("Empty value provided for input HTTP label: ResourceArn.");
897
897
  }
898
- resolvedPath = resolvedPath.replace("{ResourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
898
+ resolvedPath = resolvedPath.replace("{ResourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
899
899
  }
900
900
  else {
901
901
  throw new Error("No value provided for input HTTP label: ResourceArn.");
@@ -927,7 +927,7 @@ const serializeAws_restJson1UpdateDiscovererCommand = async (input, context) =>
927
927
  if (labelValue.length <= 0) {
928
928
  throw new Error("Empty value provided for input HTTP label: DiscovererId.");
929
929
  }
930
- resolvedPath = resolvedPath.replace("{DiscovererId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
930
+ resolvedPath = resolvedPath.replace("{DiscovererId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
931
931
  }
932
932
  else {
933
933
  throw new Error("No value provided for input HTTP label: DiscovererId.");
@@ -959,7 +959,7 @@ const serializeAws_restJson1UpdateRegistryCommand = async (input, context) => {
959
959
  if (labelValue.length <= 0) {
960
960
  throw new Error("Empty value provided for input HTTP label: RegistryName.");
961
961
  }
962
- resolvedPath = resolvedPath.replace("{RegistryName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
962
+ resolvedPath = resolvedPath.replace("{RegistryName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
963
963
  }
964
964
  else {
965
965
  throw new Error("No value provided for input HTTP label: RegistryName.");
@@ -992,7 +992,7 @@ const serializeAws_restJson1UpdateSchemaCommand = async (input, context) => {
992
992
  if (labelValue.length <= 0) {
993
993
  throw new Error("Empty value provided for input HTTP label: RegistryName.");
994
994
  }
995
- resolvedPath = resolvedPath.replace("{RegistryName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
995
+ resolvedPath = resolvedPath.replace("{RegistryName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
996
996
  }
997
997
  else {
998
998
  throw new Error("No value provided for input HTTP label: RegistryName.");
@@ -1002,14 +1002,14 @@ const serializeAws_restJson1UpdateSchemaCommand = async (input, context) => {
1002
1002
  if (labelValue.length <= 0) {
1003
1003
  throw new Error("Empty value provided for input HTTP label: SchemaName.");
1004
1004
  }
1005
- resolvedPath = resolvedPath.replace("{SchemaName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1005
+ resolvedPath = resolvedPath.replace("{SchemaName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1006
1006
  }
1007
1007
  else {
1008
1008
  throw new Error("No value provided for input HTTP label: SchemaName.");
1009
1009
  }
1010
1010
  let body;
1011
1011
  body = JSON.stringify({
1012
- ClientTokenId: (_a = input.ClientTokenId) !== null && _a !== void 0 ? _a : uuid_1.v4(),
1012
+ ClientTokenId: (_a = input.ClientTokenId) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
1013
1013
  ...(input.Content !== undefined && input.Content !== null && { Content: input.Content }),
1014
1014
  ...(input.Description !== undefined && input.Description !== null && { Description: input.Description }),
1015
1015
  ...(input.Type !== undefined && input.Type !== null && { Type: input.Type }),
@@ -1039,24 +1039,24 @@ const deserializeAws_restJson1CreateDiscovererCommand = async (output, context)
1039
1039
  State: undefined,
1040
1040
  Tags: undefined,
1041
1041
  };
1042
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1042
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1043
1043
  if (data.CrossAccount !== undefined && data.CrossAccount !== null) {
1044
- contents.CrossAccount = smithy_client_1.expectBoolean(data.CrossAccount);
1044
+ contents.CrossAccount = (0, smithy_client_1.expectBoolean)(data.CrossAccount);
1045
1045
  }
1046
1046
  if (data.Description !== undefined && data.Description !== null) {
1047
- contents.Description = smithy_client_1.expectString(data.Description);
1047
+ contents.Description = (0, smithy_client_1.expectString)(data.Description);
1048
1048
  }
1049
1049
  if (data.DiscovererArn !== undefined && data.DiscovererArn !== null) {
1050
- contents.DiscovererArn = smithy_client_1.expectString(data.DiscovererArn);
1050
+ contents.DiscovererArn = (0, smithy_client_1.expectString)(data.DiscovererArn);
1051
1051
  }
1052
1052
  if (data.DiscovererId !== undefined && data.DiscovererId !== null) {
1053
- contents.DiscovererId = smithy_client_1.expectString(data.DiscovererId);
1053
+ contents.DiscovererId = (0, smithy_client_1.expectString)(data.DiscovererId);
1054
1054
  }
1055
1055
  if (data.SourceArn !== undefined && data.SourceArn !== null) {
1056
- contents.SourceArn = smithy_client_1.expectString(data.SourceArn);
1056
+ contents.SourceArn = (0, smithy_client_1.expectString)(data.SourceArn);
1057
1057
  }
1058
1058
  if (data.State !== undefined && data.State !== null) {
1059
- contents.State = smithy_client_1.expectString(data.State);
1059
+ contents.State = (0, smithy_client_1.expectString)(data.State);
1060
1060
  }
1061
1061
  if (data.tags !== undefined && data.tags !== null) {
1062
1062
  contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
@@ -1098,7 +1098,7 @@ const deserializeAws_restJson1CreateDiscovererCommandError = async (output, cont
1098
1098
  $fault: "client",
1099
1099
  $metadata: deserializeMetadata(output),
1100
1100
  });
1101
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1101
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1102
1102
  }
1103
1103
  };
1104
1104
  const deserializeAws_restJson1CreateRegistryCommand = async (output, context) => {
@@ -1112,15 +1112,15 @@ const deserializeAws_restJson1CreateRegistryCommand = async (output, context) =>
1112
1112
  RegistryName: undefined,
1113
1113
  Tags: undefined,
1114
1114
  };
1115
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1115
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1116
1116
  if (data.Description !== undefined && data.Description !== null) {
1117
- contents.Description = smithy_client_1.expectString(data.Description);
1117
+ contents.Description = (0, smithy_client_1.expectString)(data.Description);
1118
1118
  }
1119
1119
  if (data.RegistryArn !== undefined && data.RegistryArn !== null) {
1120
- contents.RegistryArn = smithy_client_1.expectString(data.RegistryArn);
1120
+ contents.RegistryArn = (0, smithy_client_1.expectString)(data.RegistryArn);
1121
1121
  }
1122
1122
  if (data.RegistryName !== undefined && data.RegistryName !== null) {
1123
- contents.RegistryName = smithy_client_1.expectString(data.RegistryName);
1123
+ contents.RegistryName = (0, smithy_client_1.expectString)(data.RegistryName);
1124
1124
  }
1125
1125
  if (data.tags !== undefined && data.tags !== null) {
1126
1126
  contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
@@ -1162,7 +1162,7 @@ const deserializeAws_restJson1CreateRegistryCommandError = async (output, contex
1162
1162
  $fault: "client",
1163
1163
  $metadata: deserializeMetadata(output),
1164
1164
  });
1165
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1165
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1166
1166
  }
1167
1167
  };
1168
1168
  const deserializeAws_restJson1CreateSchemaCommand = async (output, context) => {
@@ -1180,30 +1180,30 @@ const deserializeAws_restJson1CreateSchemaCommand = async (output, context) => {
1180
1180
  Type: undefined,
1181
1181
  VersionCreatedDate: undefined,
1182
1182
  };
1183
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1183
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1184
1184
  if (data.Description !== undefined && data.Description !== null) {
1185
- contents.Description = smithy_client_1.expectString(data.Description);
1185
+ contents.Description = (0, smithy_client_1.expectString)(data.Description);
1186
1186
  }
1187
1187
  if (data.LastModified !== undefined && data.LastModified !== null) {
1188
- contents.LastModified = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data.LastModified));
1188
+ contents.LastModified = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.LastModified));
1189
1189
  }
1190
1190
  if (data.SchemaArn !== undefined && data.SchemaArn !== null) {
1191
- contents.SchemaArn = smithy_client_1.expectString(data.SchemaArn);
1191
+ contents.SchemaArn = (0, smithy_client_1.expectString)(data.SchemaArn);
1192
1192
  }
1193
1193
  if (data.SchemaName !== undefined && data.SchemaName !== null) {
1194
- contents.SchemaName = smithy_client_1.expectString(data.SchemaName);
1194
+ contents.SchemaName = (0, smithy_client_1.expectString)(data.SchemaName);
1195
1195
  }
1196
1196
  if (data.SchemaVersion !== undefined && data.SchemaVersion !== null) {
1197
- contents.SchemaVersion = smithy_client_1.expectString(data.SchemaVersion);
1197
+ contents.SchemaVersion = (0, smithy_client_1.expectString)(data.SchemaVersion);
1198
1198
  }
1199
1199
  if (data.tags !== undefined && data.tags !== null) {
1200
1200
  contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
1201
1201
  }
1202
1202
  if (data.Type !== undefined && data.Type !== null) {
1203
- contents.Type = smithy_client_1.expectString(data.Type);
1203
+ contents.Type = (0, smithy_client_1.expectString)(data.Type);
1204
1204
  }
1205
1205
  if (data.VersionCreatedDate !== undefined && data.VersionCreatedDate !== null) {
1206
- contents.VersionCreatedDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data.VersionCreatedDate));
1206
+ contents.VersionCreatedDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.VersionCreatedDate));
1207
1207
  }
1208
1208
  return Promise.resolve(contents);
1209
1209
  };
@@ -1236,7 +1236,7 @@ const deserializeAws_restJson1CreateSchemaCommandError = async (output, context)
1236
1236
  $fault: "client",
1237
1237
  $metadata: deserializeMetadata(output),
1238
1238
  });
1239
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1239
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1240
1240
  }
1241
1241
  };
1242
1242
  const deserializeAws_restJson1DeleteDiscovererCommand = async (output, context) => {
@@ -1284,7 +1284,7 @@ const deserializeAws_restJson1DeleteDiscovererCommandError = async (output, cont
1284
1284
  $fault: "client",
1285
1285
  $metadata: deserializeMetadata(output),
1286
1286
  });
1287
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1287
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1288
1288
  }
1289
1289
  };
1290
1290
  const deserializeAws_restJson1DeleteRegistryCommand = async (output, context) => {
@@ -1332,7 +1332,7 @@ const deserializeAws_restJson1DeleteRegistryCommandError = async (output, contex
1332
1332
  $fault: "client",
1333
1333
  $metadata: deserializeMetadata(output),
1334
1334
  });
1335
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1335
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1336
1336
  }
1337
1337
  };
1338
1338
  const deserializeAws_restJson1DeleteResourcePolicyCommand = async (output, context) => {
@@ -1380,7 +1380,7 @@ const deserializeAws_restJson1DeleteResourcePolicyCommandError = async (output,
1380
1380
  $fault: "client",
1381
1381
  $metadata: deserializeMetadata(output),
1382
1382
  });
1383
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1383
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1384
1384
  }
1385
1385
  };
1386
1386
  const deserializeAws_restJson1DeleteSchemaCommand = async (output, context) => {
@@ -1428,7 +1428,7 @@ const deserializeAws_restJson1DeleteSchemaCommandError = async (output, context)
1428
1428
  $fault: "client",
1429
1429
  $metadata: deserializeMetadata(output),
1430
1430
  });
1431
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1431
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1432
1432
  }
1433
1433
  };
1434
1434
  const deserializeAws_restJson1DeleteSchemaVersionCommand = async (output, context) => {
@@ -1476,7 +1476,7 @@ const deserializeAws_restJson1DeleteSchemaVersionCommandError = async (output, c
1476
1476
  $fault: "client",
1477
1477
  $metadata: deserializeMetadata(output),
1478
1478
  });
1479
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1479
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1480
1480
  }
1481
1481
  };
1482
1482
  const deserializeAws_restJson1DescribeCodeBindingCommand = async (output, context) => {
@@ -1490,18 +1490,18 @@ const deserializeAws_restJson1DescribeCodeBindingCommand = async (output, contex
1490
1490
  SchemaVersion: undefined,
1491
1491
  Status: undefined,
1492
1492
  };
1493
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1493
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1494
1494
  if (data.CreationDate !== undefined && data.CreationDate !== null) {
1495
- contents.CreationDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data.CreationDate));
1495
+ contents.CreationDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.CreationDate));
1496
1496
  }
1497
1497
  if (data.LastModified !== undefined && data.LastModified !== null) {
1498
- contents.LastModified = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data.LastModified));
1498
+ contents.LastModified = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.LastModified));
1499
1499
  }
1500
1500
  if (data.SchemaVersion !== undefined && data.SchemaVersion !== null) {
1501
- contents.SchemaVersion = smithy_client_1.expectString(data.SchemaVersion);
1501
+ contents.SchemaVersion = (0, smithy_client_1.expectString)(data.SchemaVersion);
1502
1502
  }
1503
1503
  if (data.Status !== undefined && data.Status !== null) {
1504
- contents.Status = smithy_client_1.expectString(data.Status);
1504
+ contents.Status = (0, smithy_client_1.expectString)(data.Status);
1505
1505
  }
1506
1506
  return Promise.resolve(contents);
1507
1507
  };
@@ -1540,7 +1540,7 @@ const deserializeAws_restJson1DescribeCodeBindingCommandError = async (output, c
1540
1540
  $fault: "client",
1541
1541
  $metadata: deserializeMetadata(output),
1542
1542
  });
1543
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1543
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1544
1544
  }
1545
1545
  };
1546
1546
  const deserializeAws_restJson1DescribeDiscovererCommand = async (output, context) => {
@@ -1557,24 +1557,24 @@ const deserializeAws_restJson1DescribeDiscovererCommand = async (output, context
1557
1557
  State: undefined,
1558
1558
  Tags: undefined,
1559
1559
  };
1560
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1560
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1561
1561
  if (data.CrossAccount !== undefined && data.CrossAccount !== null) {
1562
- contents.CrossAccount = smithy_client_1.expectBoolean(data.CrossAccount);
1562
+ contents.CrossAccount = (0, smithy_client_1.expectBoolean)(data.CrossAccount);
1563
1563
  }
1564
1564
  if (data.Description !== undefined && data.Description !== null) {
1565
- contents.Description = smithy_client_1.expectString(data.Description);
1565
+ contents.Description = (0, smithy_client_1.expectString)(data.Description);
1566
1566
  }
1567
1567
  if (data.DiscovererArn !== undefined && data.DiscovererArn !== null) {
1568
- contents.DiscovererArn = smithy_client_1.expectString(data.DiscovererArn);
1568
+ contents.DiscovererArn = (0, smithy_client_1.expectString)(data.DiscovererArn);
1569
1569
  }
1570
1570
  if (data.DiscovererId !== undefined && data.DiscovererId !== null) {
1571
- contents.DiscovererId = smithy_client_1.expectString(data.DiscovererId);
1571
+ contents.DiscovererId = (0, smithy_client_1.expectString)(data.DiscovererId);
1572
1572
  }
1573
1573
  if (data.SourceArn !== undefined && data.SourceArn !== null) {
1574
- contents.SourceArn = smithy_client_1.expectString(data.SourceArn);
1574
+ contents.SourceArn = (0, smithy_client_1.expectString)(data.SourceArn);
1575
1575
  }
1576
1576
  if (data.State !== undefined && data.State !== null) {
1577
- contents.State = smithy_client_1.expectString(data.State);
1577
+ contents.State = (0, smithy_client_1.expectString)(data.State);
1578
1578
  }
1579
1579
  if (data.tags !== undefined && data.tags !== null) {
1580
1580
  contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
@@ -1616,7 +1616,7 @@ const deserializeAws_restJson1DescribeDiscovererCommandError = async (output, co
1616
1616
  $fault: "client",
1617
1617
  $metadata: deserializeMetadata(output),
1618
1618
  });
1619
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1619
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1620
1620
  }
1621
1621
  };
1622
1622
  const deserializeAws_restJson1DescribeRegistryCommand = async (output, context) => {
@@ -1630,15 +1630,15 @@ const deserializeAws_restJson1DescribeRegistryCommand = async (output, context)
1630
1630
  RegistryName: undefined,
1631
1631
  Tags: undefined,
1632
1632
  };
1633
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1633
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1634
1634
  if (data.Description !== undefined && data.Description !== null) {
1635
- contents.Description = smithy_client_1.expectString(data.Description);
1635
+ contents.Description = (0, smithy_client_1.expectString)(data.Description);
1636
1636
  }
1637
1637
  if (data.RegistryArn !== undefined && data.RegistryArn !== null) {
1638
- contents.RegistryArn = smithy_client_1.expectString(data.RegistryArn);
1638
+ contents.RegistryArn = (0, smithy_client_1.expectString)(data.RegistryArn);
1639
1639
  }
1640
1640
  if (data.RegistryName !== undefined && data.RegistryName !== null) {
1641
- contents.RegistryName = smithy_client_1.expectString(data.RegistryName);
1641
+ contents.RegistryName = (0, smithy_client_1.expectString)(data.RegistryName);
1642
1642
  }
1643
1643
  if (data.tags !== undefined && data.tags !== null) {
1644
1644
  contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
@@ -1680,7 +1680,7 @@ const deserializeAws_restJson1DescribeRegistryCommandError = async (output, cont
1680
1680
  $fault: "client",
1681
1681
  $metadata: deserializeMetadata(output),
1682
1682
  });
1683
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1683
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1684
1684
  }
1685
1685
  };
1686
1686
  const deserializeAws_restJson1DescribeSchemaCommand = async (output, context) => {
@@ -1699,33 +1699,33 @@ const deserializeAws_restJson1DescribeSchemaCommand = async (output, context) =>
1699
1699
  Type: undefined,
1700
1700
  VersionCreatedDate: undefined,
1701
1701
  };
1702
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1702
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1703
1703
  if (data.Content !== undefined && data.Content !== null) {
1704
- contents.Content = smithy_client_1.expectString(data.Content);
1704
+ contents.Content = (0, smithy_client_1.expectString)(data.Content);
1705
1705
  }
1706
1706
  if (data.Description !== undefined && data.Description !== null) {
1707
- contents.Description = smithy_client_1.expectString(data.Description);
1707
+ contents.Description = (0, smithy_client_1.expectString)(data.Description);
1708
1708
  }
1709
1709
  if (data.LastModified !== undefined && data.LastModified !== null) {
1710
- contents.LastModified = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data.LastModified));
1710
+ contents.LastModified = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.LastModified));
1711
1711
  }
1712
1712
  if (data.SchemaArn !== undefined && data.SchemaArn !== null) {
1713
- contents.SchemaArn = smithy_client_1.expectString(data.SchemaArn);
1713
+ contents.SchemaArn = (0, smithy_client_1.expectString)(data.SchemaArn);
1714
1714
  }
1715
1715
  if (data.SchemaName !== undefined && data.SchemaName !== null) {
1716
- contents.SchemaName = smithy_client_1.expectString(data.SchemaName);
1716
+ contents.SchemaName = (0, smithy_client_1.expectString)(data.SchemaName);
1717
1717
  }
1718
1718
  if (data.SchemaVersion !== undefined && data.SchemaVersion !== null) {
1719
- contents.SchemaVersion = smithy_client_1.expectString(data.SchemaVersion);
1719
+ contents.SchemaVersion = (0, smithy_client_1.expectString)(data.SchemaVersion);
1720
1720
  }
1721
1721
  if (data.tags !== undefined && data.tags !== null) {
1722
1722
  contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
1723
1723
  }
1724
1724
  if (data.Type !== undefined && data.Type !== null) {
1725
- contents.Type = smithy_client_1.expectString(data.Type);
1725
+ contents.Type = (0, smithy_client_1.expectString)(data.Type);
1726
1726
  }
1727
1727
  if (data.VersionCreatedDate !== undefined && data.VersionCreatedDate !== null) {
1728
- contents.VersionCreatedDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data.VersionCreatedDate));
1728
+ contents.VersionCreatedDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.VersionCreatedDate));
1729
1729
  }
1730
1730
  return Promise.resolve(contents);
1731
1731
  };
@@ -1764,7 +1764,7 @@ const deserializeAws_restJson1DescribeSchemaCommandError = async (output, contex
1764
1764
  $fault: "client",
1765
1765
  $metadata: deserializeMetadata(output),
1766
1766
  });
1767
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1767
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1768
1768
  }
1769
1769
  };
1770
1770
  const deserializeAws_restJson1ExportSchemaCommand = async (output, context) => {
@@ -1779,21 +1779,21 @@ const deserializeAws_restJson1ExportSchemaCommand = async (output, context) => {
1779
1779
  SchemaVersion: undefined,
1780
1780
  Type: undefined,
1781
1781
  };
1782
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1782
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1783
1783
  if (data.Content !== undefined && data.Content !== null) {
1784
- contents.Content = smithy_client_1.expectString(data.Content);
1784
+ contents.Content = (0, smithy_client_1.expectString)(data.Content);
1785
1785
  }
1786
1786
  if (data.SchemaArn !== undefined && data.SchemaArn !== null) {
1787
- contents.SchemaArn = smithy_client_1.expectString(data.SchemaArn);
1787
+ contents.SchemaArn = (0, smithy_client_1.expectString)(data.SchemaArn);
1788
1788
  }
1789
1789
  if (data.SchemaName !== undefined && data.SchemaName !== null) {
1790
- contents.SchemaName = smithy_client_1.expectString(data.SchemaName);
1790
+ contents.SchemaName = (0, smithy_client_1.expectString)(data.SchemaName);
1791
1791
  }
1792
1792
  if (data.SchemaVersion !== undefined && data.SchemaVersion !== null) {
1793
- contents.SchemaVersion = smithy_client_1.expectString(data.SchemaVersion);
1793
+ contents.SchemaVersion = (0, smithy_client_1.expectString)(data.SchemaVersion);
1794
1794
  }
1795
1795
  if (data.Type !== undefined && data.Type !== null) {
1796
- contents.Type = smithy_client_1.expectString(data.Type);
1796
+ contents.Type = (0, smithy_client_1.expectString)(data.Type);
1797
1797
  }
1798
1798
  return Promise.resolve(contents);
1799
1799
  };
@@ -1835,7 +1835,7 @@ const deserializeAws_restJson1ExportSchemaCommandError = async (output, context)
1835
1835
  $fault: "client",
1836
1836
  $metadata: deserializeMetadata(output),
1837
1837
  });
1838
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1838
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1839
1839
  }
1840
1840
  };
1841
1841
  const deserializeAws_restJson1GetCodeBindingSourceCommand = async (output, context) => {
@@ -1885,7 +1885,7 @@ const deserializeAws_restJson1GetCodeBindingSourceCommandError = async (output,
1885
1885
  $fault: "client",
1886
1886
  $metadata: deserializeMetadata(output),
1887
1887
  });
1888
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1888
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1889
1889
  }
1890
1890
  };
1891
1891
  const deserializeAws_restJson1GetDiscoveredSchemaCommand = async (output, context) => {
@@ -1896,9 +1896,9 @@ const deserializeAws_restJson1GetDiscoveredSchemaCommand = async (output, contex
1896
1896
  $metadata: deserializeMetadata(output),
1897
1897
  Content: undefined,
1898
1898
  };
1899
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1899
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1900
1900
  if (data.Content !== undefined && data.Content !== null) {
1901
- contents.Content = smithy_client_1.expectString(data.Content);
1901
+ contents.Content = (0, smithy_client_1.expectString)(data.Content);
1902
1902
  }
1903
1903
  return Promise.resolve(contents);
1904
1904
  };
@@ -1934,7 +1934,7 @@ const deserializeAws_restJson1GetDiscoveredSchemaCommandError = async (output, c
1934
1934
  $fault: "client",
1935
1935
  $metadata: deserializeMetadata(output),
1936
1936
  });
1937
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1937
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1938
1938
  }
1939
1939
  };
1940
1940
  const deserializeAws_restJson1GetResourcePolicyCommand = async (output, context) => {
@@ -1946,12 +1946,12 @@ const deserializeAws_restJson1GetResourcePolicyCommand = async (output, context)
1946
1946
  Policy: undefined,
1947
1947
  RevisionId: undefined,
1948
1948
  };
1949
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1949
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1950
1950
  if (data.Policy !== undefined && data.Policy !== null) {
1951
1951
  contents.Policy = new smithy_client_1.LazyJsonString(data.Policy);
1952
1952
  }
1953
1953
  if (data.RevisionId !== undefined && data.RevisionId !== null) {
1954
- contents.RevisionId = smithy_client_1.expectString(data.RevisionId);
1954
+ contents.RevisionId = (0, smithy_client_1.expectString)(data.RevisionId);
1955
1955
  }
1956
1956
  return Promise.resolve(contents);
1957
1957
  };
@@ -1990,7 +1990,7 @@ const deserializeAws_restJson1GetResourcePolicyCommandError = async (output, con
1990
1990
  $fault: "client",
1991
1991
  $metadata: deserializeMetadata(output),
1992
1992
  });
1993
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1993
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1994
1994
  }
1995
1995
  };
1996
1996
  const deserializeAws_restJson1ListDiscoverersCommand = async (output, context) => {
@@ -2002,12 +2002,12 @@ const deserializeAws_restJson1ListDiscoverersCommand = async (output, context) =
2002
2002
  Discoverers: undefined,
2003
2003
  NextToken: undefined,
2004
2004
  };
2005
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2005
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2006
2006
  if (data.Discoverers !== undefined && data.Discoverers !== null) {
2007
2007
  contents.Discoverers = deserializeAws_restJson1__listOfDiscovererSummary(data.Discoverers, context);
2008
2008
  }
2009
2009
  if (data.NextToken !== undefined && data.NextToken !== null) {
2010
- contents.NextToken = smithy_client_1.expectString(data.NextToken);
2010
+ contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
2011
2011
  }
2012
2012
  return Promise.resolve(contents);
2013
2013
  };
@@ -2043,7 +2043,7 @@ const deserializeAws_restJson1ListDiscoverersCommandError = async (output, conte
2043
2043
  $fault: "client",
2044
2044
  $metadata: deserializeMetadata(output),
2045
2045
  });
2046
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2046
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2047
2047
  }
2048
2048
  };
2049
2049
  const deserializeAws_restJson1ListRegistriesCommand = async (output, context) => {
@@ -2055,9 +2055,9 @@ const deserializeAws_restJson1ListRegistriesCommand = async (output, context) =>
2055
2055
  NextToken: undefined,
2056
2056
  Registries: undefined,
2057
2057
  };
2058
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2058
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2059
2059
  if (data.NextToken !== undefined && data.NextToken !== null) {
2060
- contents.NextToken = smithy_client_1.expectString(data.NextToken);
2060
+ contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
2061
2061
  }
2062
2062
  if (data.Registries !== undefined && data.Registries !== null) {
2063
2063
  contents.Registries = deserializeAws_restJson1__listOfRegistrySummary(data.Registries, context);
@@ -2096,7 +2096,7 @@ const deserializeAws_restJson1ListRegistriesCommandError = async (output, contex
2096
2096
  $fault: "client",
2097
2097
  $metadata: deserializeMetadata(output),
2098
2098
  });
2099
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2099
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2100
2100
  }
2101
2101
  };
2102
2102
  const deserializeAws_restJson1ListSchemasCommand = async (output, context) => {
@@ -2108,9 +2108,9 @@ const deserializeAws_restJson1ListSchemasCommand = async (output, context) => {
2108
2108
  NextToken: undefined,
2109
2109
  Schemas: undefined,
2110
2110
  };
2111
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2111
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2112
2112
  if (data.NextToken !== undefined && data.NextToken !== null) {
2113
- contents.NextToken = smithy_client_1.expectString(data.NextToken);
2113
+ contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
2114
2114
  }
2115
2115
  if (data.Schemas !== undefined && data.Schemas !== null) {
2116
2116
  contents.Schemas = deserializeAws_restJson1__listOfSchemaSummary(data.Schemas, context);
@@ -2149,7 +2149,7 @@ const deserializeAws_restJson1ListSchemasCommandError = async (output, context)
2149
2149
  $fault: "client",
2150
2150
  $metadata: deserializeMetadata(output),
2151
2151
  });
2152
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2152
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2153
2153
  }
2154
2154
  };
2155
2155
  const deserializeAws_restJson1ListSchemaVersionsCommand = async (output, context) => {
@@ -2161,9 +2161,9 @@ const deserializeAws_restJson1ListSchemaVersionsCommand = async (output, context
2161
2161
  NextToken: undefined,
2162
2162
  SchemaVersions: undefined,
2163
2163
  };
2164
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2164
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2165
2165
  if (data.NextToken !== undefined && data.NextToken !== null) {
2166
- contents.NextToken = smithy_client_1.expectString(data.NextToken);
2166
+ contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
2167
2167
  }
2168
2168
  if (data.SchemaVersions !== undefined && data.SchemaVersions !== null) {
2169
2169
  contents.SchemaVersions = deserializeAws_restJson1__listOfSchemaVersionSummary(data.SchemaVersions, context);
@@ -2205,7 +2205,7 @@ const deserializeAws_restJson1ListSchemaVersionsCommandError = async (output, co
2205
2205
  $fault: "client",
2206
2206
  $metadata: deserializeMetadata(output),
2207
2207
  });
2208
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2208
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2209
2209
  }
2210
2210
  };
2211
2211
  const deserializeAws_restJson1ListTagsForResourceCommand = async (output, context) => {
@@ -2216,7 +2216,7 @@ const deserializeAws_restJson1ListTagsForResourceCommand = async (output, contex
2216
2216
  $metadata: deserializeMetadata(output),
2217
2217
  Tags: undefined,
2218
2218
  };
2219
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2219
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2220
2220
  if (data.tags !== undefined && data.tags !== null) {
2221
2221
  contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
2222
2222
  }
@@ -2251,7 +2251,7 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
2251
2251
  $fault: "client",
2252
2252
  $metadata: deserializeMetadata(output),
2253
2253
  });
2254
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2254
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2255
2255
  }
2256
2256
  };
2257
2257
  const deserializeAws_restJson1PutCodeBindingCommand = async (output, context) => {
@@ -2265,18 +2265,18 @@ const deserializeAws_restJson1PutCodeBindingCommand = async (output, context) =>
2265
2265
  SchemaVersion: undefined,
2266
2266
  Status: undefined,
2267
2267
  };
2268
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2268
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2269
2269
  if (data.CreationDate !== undefined && data.CreationDate !== null) {
2270
- contents.CreationDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data.CreationDate));
2270
+ contents.CreationDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.CreationDate));
2271
2271
  }
2272
2272
  if (data.LastModified !== undefined && data.LastModified !== null) {
2273
- contents.LastModified = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data.LastModified));
2273
+ contents.LastModified = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.LastModified));
2274
2274
  }
2275
2275
  if (data.SchemaVersion !== undefined && data.SchemaVersion !== null) {
2276
- contents.SchemaVersion = smithy_client_1.expectString(data.SchemaVersion);
2276
+ contents.SchemaVersion = (0, smithy_client_1.expectString)(data.SchemaVersion);
2277
2277
  }
2278
2278
  if (data.Status !== undefined && data.Status !== null) {
2279
- contents.Status = smithy_client_1.expectString(data.Status);
2279
+ contents.Status = (0, smithy_client_1.expectString)(data.Status);
2280
2280
  }
2281
2281
  return Promise.resolve(contents);
2282
2282
  };
@@ -2318,7 +2318,7 @@ const deserializeAws_restJson1PutCodeBindingCommandError = async (output, contex
2318
2318
  $fault: "client",
2319
2319
  $metadata: deserializeMetadata(output),
2320
2320
  });
2321
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2321
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2322
2322
  }
2323
2323
  };
2324
2324
  const deserializeAws_restJson1PutResourcePolicyCommand = async (output, context) => {
@@ -2330,12 +2330,12 @@ const deserializeAws_restJson1PutResourcePolicyCommand = async (output, context)
2330
2330
  Policy: undefined,
2331
2331
  RevisionId: undefined,
2332
2332
  };
2333
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2333
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2334
2334
  if (data.Policy !== undefined && data.Policy !== null) {
2335
2335
  contents.Policy = new smithy_client_1.LazyJsonString(data.Policy);
2336
2336
  }
2337
2337
  if (data.RevisionId !== undefined && data.RevisionId !== null) {
2338
- contents.RevisionId = smithy_client_1.expectString(data.RevisionId);
2338
+ contents.RevisionId = (0, smithy_client_1.expectString)(data.RevisionId);
2339
2339
  }
2340
2340
  return Promise.resolve(contents);
2341
2341
  };
@@ -2377,7 +2377,7 @@ const deserializeAws_restJson1PutResourcePolicyCommandError = async (output, con
2377
2377
  $fault: "client",
2378
2378
  $metadata: deserializeMetadata(output),
2379
2379
  });
2380
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2380
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2381
2381
  }
2382
2382
  };
2383
2383
  const deserializeAws_restJson1SearchSchemasCommand = async (output, context) => {
@@ -2389,9 +2389,9 @@ const deserializeAws_restJson1SearchSchemasCommand = async (output, context) =>
2389
2389
  NextToken: undefined,
2390
2390
  Schemas: undefined,
2391
2391
  };
2392
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2392
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2393
2393
  if (data.NextToken !== undefined && data.NextToken !== null) {
2394
- contents.NextToken = smithy_client_1.expectString(data.NextToken);
2394
+ contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
2395
2395
  }
2396
2396
  if (data.Schemas !== undefined && data.Schemas !== null) {
2397
2397
  contents.Schemas = deserializeAws_restJson1__listOfSearchSchemaSummary(data.Schemas, context);
@@ -2430,7 +2430,7 @@ const deserializeAws_restJson1SearchSchemasCommandError = async (output, context
2430
2430
  $fault: "client",
2431
2431
  $metadata: deserializeMetadata(output),
2432
2432
  });
2433
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2433
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2434
2434
  }
2435
2435
  };
2436
2436
  const deserializeAws_restJson1StartDiscovererCommand = async (output, context) => {
@@ -2442,12 +2442,12 @@ const deserializeAws_restJson1StartDiscovererCommand = async (output, context) =
2442
2442
  DiscovererId: undefined,
2443
2443
  State: undefined,
2444
2444
  };
2445
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2445
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2446
2446
  if (data.DiscovererId !== undefined && data.DiscovererId !== null) {
2447
- contents.DiscovererId = smithy_client_1.expectString(data.DiscovererId);
2447
+ contents.DiscovererId = (0, smithy_client_1.expectString)(data.DiscovererId);
2448
2448
  }
2449
2449
  if (data.State !== undefined && data.State !== null) {
2450
- contents.State = smithy_client_1.expectString(data.State);
2450
+ contents.State = (0, smithy_client_1.expectString)(data.State);
2451
2451
  }
2452
2452
  return Promise.resolve(contents);
2453
2453
  };
@@ -2486,7 +2486,7 @@ const deserializeAws_restJson1StartDiscovererCommandError = async (output, conte
2486
2486
  $fault: "client",
2487
2487
  $metadata: deserializeMetadata(output),
2488
2488
  });
2489
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2489
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2490
2490
  }
2491
2491
  };
2492
2492
  const deserializeAws_restJson1StopDiscovererCommand = async (output, context) => {
@@ -2498,12 +2498,12 @@ const deserializeAws_restJson1StopDiscovererCommand = async (output, context) =>
2498
2498
  DiscovererId: undefined,
2499
2499
  State: undefined,
2500
2500
  };
2501
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2501
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2502
2502
  if (data.DiscovererId !== undefined && data.DiscovererId !== null) {
2503
- contents.DiscovererId = smithy_client_1.expectString(data.DiscovererId);
2503
+ contents.DiscovererId = (0, smithy_client_1.expectString)(data.DiscovererId);
2504
2504
  }
2505
2505
  if (data.State !== undefined && data.State !== null) {
2506
- contents.State = smithy_client_1.expectString(data.State);
2506
+ contents.State = (0, smithy_client_1.expectString)(data.State);
2507
2507
  }
2508
2508
  return Promise.resolve(contents);
2509
2509
  };
@@ -2542,7 +2542,7 @@ const deserializeAws_restJson1StopDiscovererCommandError = async (output, contex
2542
2542
  $fault: "client",
2543
2543
  $metadata: deserializeMetadata(output),
2544
2544
  });
2545
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2545
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2546
2546
  }
2547
2547
  };
2548
2548
  const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
@@ -2584,7 +2584,7 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
2584
2584
  $fault: "client",
2585
2585
  $metadata: deserializeMetadata(output),
2586
2586
  });
2587
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2587
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2588
2588
  }
2589
2589
  };
2590
2590
  const deserializeAws_restJson1UntagResourceCommand = async (output, context) => {
@@ -2626,7 +2626,7 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
2626
2626
  $fault: "client",
2627
2627
  $metadata: deserializeMetadata(output),
2628
2628
  });
2629
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2629
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2630
2630
  }
2631
2631
  };
2632
2632
  const deserializeAws_restJson1UpdateDiscovererCommand = async (output, context) => {
@@ -2643,24 +2643,24 @@ const deserializeAws_restJson1UpdateDiscovererCommand = async (output, context)
2643
2643
  State: undefined,
2644
2644
  Tags: undefined,
2645
2645
  };
2646
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2646
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2647
2647
  if (data.CrossAccount !== undefined && data.CrossAccount !== null) {
2648
- contents.CrossAccount = smithy_client_1.expectBoolean(data.CrossAccount);
2648
+ contents.CrossAccount = (0, smithy_client_1.expectBoolean)(data.CrossAccount);
2649
2649
  }
2650
2650
  if (data.Description !== undefined && data.Description !== null) {
2651
- contents.Description = smithy_client_1.expectString(data.Description);
2651
+ contents.Description = (0, smithy_client_1.expectString)(data.Description);
2652
2652
  }
2653
2653
  if (data.DiscovererArn !== undefined && data.DiscovererArn !== null) {
2654
- contents.DiscovererArn = smithy_client_1.expectString(data.DiscovererArn);
2654
+ contents.DiscovererArn = (0, smithy_client_1.expectString)(data.DiscovererArn);
2655
2655
  }
2656
2656
  if (data.DiscovererId !== undefined && data.DiscovererId !== null) {
2657
- contents.DiscovererId = smithy_client_1.expectString(data.DiscovererId);
2657
+ contents.DiscovererId = (0, smithy_client_1.expectString)(data.DiscovererId);
2658
2658
  }
2659
2659
  if (data.SourceArn !== undefined && data.SourceArn !== null) {
2660
- contents.SourceArn = smithy_client_1.expectString(data.SourceArn);
2660
+ contents.SourceArn = (0, smithy_client_1.expectString)(data.SourceArn);
2661
2661
  }
2662
2662
  if (data.State !== undefined && data.State !== null) {
2663
- contents.State = smithy_client_1.expectString(data.State);
2663
+ contents.State = (0, smithy_client_1.expectString)(data.State);
2664
2664
  }
2665
2665
  if (data.tags !== undefined && data.tags !== null) {
2666
2666
  contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
@@ -2702,7 +2702,7 @@ const deserializeAws_restJson1UpdateDiscovererCommandError = async (output, cont
2702
2702
  $fault: "client",
2703
2703
  $metadata: deserializeMetadata(output),
2704
2704
  });
2705
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2705
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2706
2706
  }
2707
2707
  };
2708
2708
  const deserializeAws_restJson1UpdateRegistryCommand = async (output, context) => {
@@ -2716,15 +2716,15 @@ const deserializeAws_restJson1UpdateRegistryCommand = async (output, context) =>
2716
2716
  RegistryName: undefined,
2717
2717
  Tags: undefined,
2718
2718
  };
2719
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2719
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2720
2720
  if (data.Description !== undefined && data.Description !== null) {
2721
- contents.Description = smithy_client_1.expectString(data.Description);
2721
+ contents.Description = (0, smithy_client_1.expectString)(data.Description);
2722
2722
  }
2723
2723
  if (data.RegistryArn !== undefined && data.RegistryArn !== null) {
2724
- contents.RegistryArn = smithy_client_1.expectString(data.RegistryArn);
2724
+ contents.RegistryArn = (0, smithy_client_1.expectString)(data.RegistryArn);
2725
2725
  }
2726
2726
  if (data.RegistryName !== undefined && data.RegistryName !== null) {
2727
- contents.RegistryName = smithy_client_1.expectString(data.RegistryName);
2727
+ contents.RegistryName = (0, smithy_client_1.expectString)(data.RegistryName);
2728
2728
  }
2729
2729
  if (data.tags !== undefined && data.tags !== null) {
2730
2730
  contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
@@ -2766,7 +2766,7 @@ const deserializeAws_restJson1UpdateRegistryCommandError = async (output, contex
2766
2766
  $fault: "client",
2767
2767
  $metadata: deserializeMetadata(output),
2768
2768
  });
2769
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2769
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2770
2770
  }
2771
2771
  };
2772
2772
  const deserializeAws_restJson1UpdateSchemaCommand = async (output, context) => {
@@ -2784,30 +2784,30 @@ const deserializeAws_restJson1UpdateSchemaCommand = async (output, context) => {
2784
2784
  Type: undefined,
2785
2785
  VersionCreatedDate: undefined,
2786
2786
  };
2787
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2787
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2788
2788
  if (data.Description !== undefined && data.Description !== null) {
2789
- contents.Description = smithy_client_1.expectString(data.Description);
2789
+ contents.Description = (0, smithy_client_1.expectString)(data.Description);
2790
2790
  }
2791
2791
  if (data.LastModified !== undefined && data.LastModified !== null) {
2792
- contents.LastModified = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data.LastModified));
2792
+ contents.LastModified = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.LastModified));
2793
2793
  }
2794
2794
  if (data.SchemaArn !== undefined && data.SchemaArn !== null) {
2795
- contents.SchemaArn = smithy_client_1.expectString(data.SchemaArn);
2795
+ contents.SchemaArn = (0, smithy_client_1.expectString)(data.SchemaArn);
2796
2796
  }
2797
2797
  if (data.SchemaName !== undefined && data.SchemaName !== null) {
2798
- contents.SchemaName = smithy_client_1.expectString(data.SchemaName);
2798
+ contents.SchemaName = (0, smithy_client_1.expectString)(data.SchemaName);
2799
2799
  }
2800
2800
  if (data.SchemaVersion !== undefined && data.SchemaVersion !== null) {
2801
- contents.SchemaVersion = smithy_client_1.expectString(data.SchemaVersion);
2801
+ contents.SchemaVersion = (0, smithy_client_1.expectString)(data.SchemaVersion);
2802
2802
  }
2803
2803
  if (data.tags !== undefined && data.tags !== null) {
2804
2804
  contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
2805
2805
  }
2806
2806
  if (data.Type !== undefined && data.Type !== null) {
2807
- contents.Type = smithy_client_1.expectString(data.Type);
2807
+ contents.Type = (0, smithy_client_1.expectString)(data.Type);
2808
2808
  }
2809
2809
  if (data.VersionCreatedDate !== undefined && data.VersionCreatedDate !== null) {
2810
- contents.VersionCreatedDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data.VersionCreatedDate));
2810
+ contents.VersionCreatedDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.VersionCreatedDate));
2811
2811
  }
2812
2812
  return Promise.resolve(contents);
2813
2813
  };
@@ -2843,158 +2843,158 @@ const deserializeAws_restJson1UpdateSchemaCommandError = async (output, context)
2843
2843
  $fault: "client",
2844
2844
  $metadata: deserializeMetadata(output),
2845
2845
  });
2846
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2846
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2847
2847
  }
2848
2848
  };
2849
2849
  const deserializeAws_restJson1BadRequestExceptionResponse = async (parsedOutput, context) => {
2850
2850
  const contents = {};
2851
2851
  const data = parsedOutput.body;
2852
2852
  if (data.Code !== undefined && data.Code !== null) {
2853
- contents.Code = smithy_client_1.expectString(data.Code);
2853
+ contents.Code = (0, smithy_client_1.expectString)(data.Code);
2854
2854
  }
2855
2855
  if (data.Message !== undefined && data.Message !== null) {
2856
- contents.Message = smithy_client_1.expectString(data.Message);
2856
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
2857
2857
  }
2858
2858
  const exception = new models_0_1.BadRequestException({
2859
2859
  $metadata: deserializeMetadata(parsedOutput),
2860
2860
  ...contents,
2861
2861
  });
2862
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
2862
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2863
2863
  };
2864
2864
  const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, context) => {
2865
2865
  const contents = {};
2866
2866
  const data = parsedOutput.body;
2867
2867
  if (data.Code !== undefined && data.Code !== null) {
2868
- contents.Code = smithy_client_1.expectString(data.Code);
2868
+ contents.Code = (0, smithy_client_1.expectString)(data.Code);
2869
2869
  }
2870
2870
  if (data.Message !== undefined && data.Message !== null) {
2871
- contents.Message = smithy_client_1.expectString(data.Message);
2871
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
2872
2872
  }
2873
2873
  const exception = new models_0_1.ConflictException({
2874
2874
  $metadata: deserializeMetadata(parsedOutput),
2875
2875
  ...contents,
2876
2876
  });
2877
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
2877
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2878
2878
  };
2879
2879
  const deserializeAws_restJson1ForbiddenExceptionResponse = async (parsedOutput, context) => {
2880
2880
  const contents = {};
2881
2881
  const data = parsedOutput.body;
2882
2882
  if (data.Code !== undefined && data.Code !== null) {
2883
- contents.Code = smithy_client_1.expectString(data.Code);
2883
+ contents.Code = (0, smithy_client_1.expectString)(data.Code);
2884
2884
  }
2885
2885
  if (data.Message !== undefined && data.Message !== null) {
2886
- contents.Message = smithy_client_1.expectString(data.Message);
2886
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
2887
2887
  }
2888
2888
  const exception = new models_0_1.ForbiddenException({
2889
2889
  $metadata: deserializeMetadata(parsedOutput),
2890
2890
  ...contents,
2891
2891
  });
2892
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
2892
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2893
2893
  };
2894
2894
  const deserializeAws_restJson1GoneExceptionResponse = async (parsedOutput, context) => {
2895
2895
  const contents = {};
2896
2896
  const data = parsedOutput.body;
2897
2897
  if (data.Code !== undefined && data.Code !== null) {
2898
- contents.Code = smithy_client_1.expectString(data.Code);
2898
+ contents.Code = (0, smithy_client_1.expectString)(data.Code);
2899
2899
  }
2900
2900
  if (data.Message !== undefined && data.Message !== null) {
2901
- contents.Message = smithy_client_1.expectString(data.Message);
2901
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
2902
2902
  }
2903
2903
  const exception = new models_0_1.GoneException({
2904
2904
  $metadata: deserializeMetadata(parsedOutput),
2905
2905
  ...contents,
2906
2906
  });
2907
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
2907
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2908
2908
  };
2909
2909
  const deserializeAws_restJson1InternalServerErrorExceptionResponse = async (parsedOutput, context) => {
2910
2910
  const contents = {};
2911
2911
  const data = parsedOutput.body;
2912
2912
  if (data.Code !== undefined && data.Code !== null) {
2913
- contents.Code = smithy_client_1.expectString(data.Code);
2913
+ contents.Code = (0, smithy_client_1.expectString)(data.Code);
2914
2914
  }
2915
2915
  if (data.Message !== undefined && data.Message !== null) {
2916
- contents.Message = smithy_client_1.expectString(data.Message);
2916
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
2917
2917
  }
2918
2918
  const exception = new models_0_1.InternalServerErrorException({
2919
2919
  $metadata: deserializeMetadata(parsedOutput),
2920
2920
  ...contents,
2921
2921
  });
2922
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
2922
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2923
2923
  };
2924
2924
  const deserializeAws_restJson1NotFoundExceptionResponse = async (parsedOutput, context) => {
2925
2925
  const contents = {};
2926
2926
  const data = parsedOutput.body;
2927
2927
  if (data.Code !== undefined && data.Code !== null) {
2928
- contents.Code = smithy_client_1.expectString(data.Code);
2928
+ contents.Code = (0, smithy_client_1.expectString)(data.Code);
2929
2929
  }
2930
2930
  if (data.Message !== undefined && data.Message !== null) {
2931
- contents.Message = smithy_client_1.expectString(data.Message);
2931
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
2932
2932
  }
2933
2933
  const exception = new models_0_1.NotFoundException({
2934
2934
  $metadata: deserializeMetadata(parsedOutput),
2935
2935
  ...contents,
2936
2936
  });
2937
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
2937
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2938
2938
  };
2939
2939
  const deserializeAws_restJson1PreconditionFailedExceptionResponse = async (parsedOutput, context) => {
2940
2940
  const contents = {};
2941
2941
  const data = parsedOutput.body;
2942
2942
  if (data.Code !== undefined && data.Code !== null) {
2943
- contents.Code = smithy_client_1.expectString(data.Code);
2943
+ contents.Code = (0, smithy_client_1.expectString)(data.Code);
2944
2944
  }
2945
2945
  if (data.Message !== undefined && data.Message !== null) {
2946
- contents.Message = smithy_client_1.expectString(data.Message);
2946
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
2947
2947
  }
2948
2948
  const exception = new models_0_1.PreconditionFailedException({
2949
2949
  $metadata: deserializeMetadata(parsedOutput),
2950
2950
  ...contents,
2951
2951
  });
2952
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
2952
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2953
2953
  };
2954
2954
  const deserializeAws_restJson1ServiceUnavailableExceptionResponse = async (parsedOutput, context) => {
2955
2955
  const contents = {};
2956
2956
  const data = parsedOutput.body;
2957
2957
  if (data.Code !== undefined && data.Code !== null) {
2958
- contents.Code = smithy_client_1.expectString(data.Code);
2958
+ contents.Code = (0, smithy_client_1.expectString)(data.Code);
2959
2959
  }
2960
2960
  if (data.Message !== undefined && data.Message !== null) {
2961
- contents.Message = smithy_client_1.expectString(data.Message);
2961
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
2962
2962
  }
2963
2963
  const exception = new models_0_1.ServiceUnavailableException({
2964
2964
  $metadata: deserializeMetadata(parsedOutput),
2965
2965
  ...contents,
2966
2966
  });
2967
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
2967
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2968
2968
  };
2969
2969
  const deserializeAws_restJson1TooManyRequestsExceptionResponse = async (parsedOutput, context) => {
2970
2970
  const contents = {};
2971
2971
  const data = parsedOutput.body;
2972
2972
  if (data.Code !== undefined && data.Code !== null) {
2973
- contents.Code = smithy_client_1.expectString(data.Code);
2973
+ contents.Code = (0, smithy_client_1.expectString)(data.Code);
2974
2974
  }
2975
2975
  if (data.Message !== undefined && data.Message !== null) {
2976
- contents.Message = smithy_client_1.expectString(data.Message);
2976
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
2977
2977
  }
2978
2978
  const exception = new models_0_1.TooManyRequestsException({
2979
2979
  $metadata: deserializeMetadata(parsedOutput),
2980
2980
  ...contents,
2981
2981
  });
2982
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
2982
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2983
2983
  };
2984
2984
  const deserializeAws_restJson1UnauthorizedExceptionResponse = async (parsedOutput, context) => {
2985
2985
  const contents = {};
2986
2986
  const data = parsedOutput.body;
2987
2987
  if (data.Code !== undefined && data.Code !== null) {
2988
- contents.Code = smithy_client_1.expectString(data.Code);
2988
+ contents.Code = (0, smithy_client_1.expectString)(data.Code);
2989
2989
  }
2990
2990
  if (data.Message !== undefined && data.Message !== null) {
2991
- contents.Message = smithy_client_1.expectString(data.Message);
2991
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
2992
2992
  }
2993
2993
  const exception = new models_0_1.UnauthorizedException({
2994
2994
  $metadata: deserializeMetadata(parsedOutput),
2995
2995
  ...contents,
2996
2996
  });
2997
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
2997
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2998
2998
  };
2999
2999
  const serializeAws_restJson1__listOfGetDiscoveredSchemaVersionItemInput = (input, context) => {
3000
3000
  return input
@@ -3085,11 +3085,11 @@ const deserializeAws_restJson1__listOfSearchSchemaVersionSummary = (output, cont
3085
3085
  };
3086
3086
  const deserializeAws_restJson1DiscovererSummary = (output, context) => {
3087
3087
  return {
3088
- CrossAccount: smithy_client_1.expectBoolean(output.CrossAccount),
3089
- DiscovererArn: smithy_client_1.expectString(output.DiscovererArn),
3090
- DiscovererId: smithy_client_1.expectString(output.DiscovererId),
3091
- SourceArn: smithy_client_1.expectString(output.SourceArn),
3092
- State: smithy_client_1.expectString(output.State),
3088
+ CrossAccount: (0, smithy_client_1.expectBoolean)(output.CrossAccount),
3089
+ DiscovererArn: (0, smithy_client_1.expectString)(output.DiscovererArn),
3090
+ DiscovererId: (0, smithy_client_1.expectString)(output.DiscovererId),
3091
+ SourceArn: (0, smithy_client_1.expectString)(output.SourceArn),
3092
+ State: (0, smithy_client_1.expectString)(output.State),
3093
3093
  Tags: output.tags !== undefined && output.tags !== null
3094
3094
  ? deserializeAws_restJson1Tags(output.tags, context)
3095
3095
  : undefined,
@@ -3097,8 +3097,8 @@ const deserializeAws_restJson1DiscovererSummary = (output, context) => {
3097
3097
  };
3098
3098
  const deserializeAws_restJson1RegistrySummary = (output, context) => {
3099
3099
  return {
3100
- RegistryArn: smithy_client_1.expectString(output.RegistryArn),
3101
- RegistryName: smithy_client_1.expectString(output.RegistryName),
3100
+ RegistryArn: (0, smithy_client_1.expectString)(output.RegistryArn),
3101
+ RegistryName: (0, smithy_client_1.expectString)(output.RegistryName),
3102
3102
  Tags: output.tags !== undefined && output.tags !== null
3103
3103
  ? deserializeAws_restJson1Tags(output.tags, context)
3104
3104
  : undefined,
@@ -3107,29 +3107,29 @@ const deserializeAws_restJson1RegistrySummary = (output, context) => {
3107
3107
  const deserializeAws_restJson1SchemaSummary = (output, context) => {
3108
3108
  return {
3109
3109
  LastModified: output.LastModified !== undefined && output.LastModified !== null
3110
- ? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.LastModified))
3110
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.LastModified))
3111
3111
  : undefined,
3112
- SchemaArn: smithy_client_1.expectString(output.SchemaArn),
3113
- SchemaName: smithy_client_1.expectString(output.SchemaName),
3112
+ SchemaArn: (0, smithy_client_1.expectString)(output.SchemaArn),
3113
+ SchemaName: (0, smithy_client_1.expectString)(output.SchemaName),
3114
3114
  Tags: output.tags !== undefined && output.tags !== null
3115
3115
  ? deserializeAws_restJson1Tags(output.tags, context)
3116
3116
  : undefined,
3117
- VersionCount: smithy_client_1.expectLong(output.VersionCount),
3117
+ VersionCount: (0, smithy_client_1.expectLong)(output.VersionCount),
3118
3118
  };
3119
3119
  };
3120
3120
  const deserializeAws_restJson1SchemaVersionSummary = (output, context) => {
3121
3121
  return {
3122
- SchemaArn: smithy_client_1.expectString(output.SchemaArn),
3123
- SchemaName: smithy_client_1.expectString(output.SchemaName),
3124
- SchemaVersion: smithy_client_1.expectString(output.SchemaVersion),
3125
- Type: smithy_client_1.expectString(output.Type),
3122
+ SchemaArn: (0, smithy_client_1.expectString)(output.SchemaArn),
3123
+ SchemaName: (0, smithy_client_1.expectString)(output.SchemaName),
3124
+ SchemaVersion: (0, smithy_client_1.expectString)(output.SchemaVersion),
3125
+ Type: (0, smithy_client_1.expectString)(output.Type),
3126
3126
  };
3127
3127
  };
3128
3128
  const deserializeAws_restJson1SearchSchemaSummary = (output, context) => {
3129
3129
  return {
3130
- RegistryName: smithy_client_1.expectString(output.RegistryName),
3131
- SchemaArn: smithy_client_1.expectString(output.SchemaArn),
3132
- SchemaName: smithy_client_1.expectString(output.SchemaName),
3130
+ RegistryName: (0, smithy_client_1.expectString)(output.RegistryName),
3131
+ SchemaArn: (0, smithy_client_1.expectString)(output.SchemaArn),
3132
+ SchemaName: (0, smithy_client_1.expectString)(output.SchemaName),
3133
3133
  SchemaVersions: output.SchemaVersions !== undefined && output.SchemaVersions !== null
3134
3134
  ? deserializeAws_restJson1__listOfSearchSchemaVersionSummary(output.SchemaVersions, context)
3135
3135
  : undefined,
@@ -3138,10 +3138,10 @@ const deserializeAws_restJson1SearchSchemaSummary = (output, context) => {
3138
3138
  const deserializeAws_restJson1SearchSchemaVersionSummary = (output, context) => {
3139
3139
  return {
3140
3140
  CreatedDate: output.CreatedDate !== undefined && output.CreatedDate !== null
3141
- ? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.CreatedDate))
3141
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.CreatedDate))
3142
3142
  : undefined,
3143
- SchemaVersion: smithy_client_1.expectString(output.SchemaVersion),
3144
- Type: smithy_client_1.expectString(output.Type),
3143
+ SchemaVersion: (0, smithy_client_1.expectString)(output.SchemaVersion),
3144
+ Type: (0, smithy_client_1.expectString)(output.Type),
3145
3145
  };
3146
3146
  };
3147
3147
  const deserializeAws_restJson1Tags = (output, context) => {
@@ -3151,7 +3151,7 @@ const deserializeAws_restJson1Tags = (output, context) => {
3151
3151
  }
3152
3152
  return {
3153
3153
  ...acc,
3154
- [key]: smithy_client_1.expectString(value),
3154
+ [key]: (0, smithy_client_1.expectString)(value),
3155
3155
  };
3156
3156
  }, {});
3157
3157
  };