@aws-sdk/client-schemas 3.31.0 → 3.32.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 (95) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/cjs/SchemasClient.js +13 -13
  3. package/dist/cjs/SchemasClient.js.map +1 -1
  4. package/dist/cjs/commands/CreateDiscovererCommand.js +3 -3
  5. package/dist/cjs/commands/CreateDiscovererCommand.js.map +1 -1
  6. package/dist/cjs/commands/CreateRegistryCommand.js +3 -3
  7. package/dist/cjs/commands/CreateRegistryCommand.js.map +1 -1
  8. package/dist/cjs/commands/CreateSchemaCommand.js +3 -3
  9. package/dist/cjs/commands/CreateSchemaCommand.js.map +1 -1
  10. package/dist/cjs/commands/DeleteDiscovererCommand.js +3 -3
  11. package/dist/cjs/commands/DeleteDiscovererCommand.js.map +1 -1
  12. package/dist/cjs/commands/DeleteRegistryCommand.js +3 -3
  13. package/dist/cjs/commands/DeleteRegistryCommand.js.map +1 -1
  14. package/dist/cjs/commands/DeleteResourcePolicyCommand.js +3 -3
  15. package/dist/cjs/commands/DeleteResourcePolicyCommand.js.map +1 -1
  16. package/dist/cjs/commands/DeleteSchemaCommand.js +3 -3
  17. package/dist/cjs/commands/DeleteSchemaCommand.js.map +1 -1
  18. package/dist/cjs/commands/DeleteSchemaVersionCommand.js +3 -3
  19. package/dist/cjs/commands/DeleteSchemaVersionCommand.js.map +1 -1
  20. package/dist/cjs/commands/DescribeCodeBindingCommand.js +3 -3
  21. package/dist/cjs/commands/DescribeCodeBindingCommand.js.map +1 -1
  22. package/dist/cjs/commands/DescribeDiscovererCommand.js +3 -3
  23. package/dist/cjs/commands/DescribeDiscovererCommand.js.map +1 -1
  24. package/dist/cjs/commands/DescribeRegistryCommand.js +3 -3
  25. package/dist/cjs/commands/DescribeRegistryCommand.js.map +1 -1
  26. package/dist/cjs/commands/DescribeSchemaCommand.js +3 -3
  27. package/dist/cjs/commands/DescribeSchemaCommand.js.map +1 -1
  28. package/dist/cjs/commands/ExportSchemaCommand.js +3 -3
  29. package/dist/cjs/commands/ExportSchemaCommand.js.map +1 -1
  30. package/dist/cjs/commands/GetCodeBindingSourceCommand.js +3 -3
  31. package/dist/cjs/commands/GetCodeBindingSourceCommand.js.map +1 -1
  32. package/dist/cjs/commands/GetDiscoveredSchemaCommand.js +3 -3
  33. package/dist/cjs/commands/GetDiscoveredSchemaCommand.js.map +1 -1
  34. package/dist/cjs/commands/GetResourcePolicyCommand.js +3 -3
  35. package/dist/cjs/commands/GetResourcePolicyCommand.js.map +1 -1
  36. package/dist/cjs/commands/ListDiscoverersCommand.js +3 -3
  37. package/dist/cjs/commands/ListDiscoverersCommand.js.map +1 -1
  38. package/dist/cjs/commands/ListRegistriesCommand.js +3 -3
  39. package/dist/cjs/commands/ListRegistriesCommand.js.map +1 -1
  40. package/dist/cjs/commands/ListSchemaVersionsCommand.js +3 -3
  41. package/dist/cjs/commands/ListSchemaVersionsCommand.js.map +1 -1
  42. package/dist/cjs/commands/ListSchemasCommand.js +3 -3
  43. package/dist/cjs/commands/ListSchemasCommand.js.map +1 -1
  44. package/dist/cjs/commands/ListTagsForResourceCommand.js +3 -3
  45. package/dist/cjs/commands/ListTagsForResourceCommand.js.map +1 -1
  46. package/dist/cjs/commands/PutCodeBindingCommand.js +3 -3
  47. package/dist/cjs/commands/PutCodeBindingCommand.js.map +1 -1
  48. package/dist/cjs/commands/PutResourcePolicyCommand.js +3 -3
  49. package/dist/cjs/commands/PutResourcePolicyCommand.js.map +1 -1
  50. package/dist/cjs/commands/SearchSchemasCommand.js +3 -3
  51. package/dist/cjs/commands/SearchSchemasCommand.js.map +1 -1
  52. package/dist/cjs/commands/StartDiscovererCommand.js +3 -3
  53. package/dist/cjs/commands/StartDiscovererCommand.js.map +1 -1
  54. package/dist/cjs/commands/StopDiscovererCommand.js +3 -3
  55. package/dist/cjs/commands/StopDiscovererCommand.js.map +1 -1
  56. package/dist/cjs/commands/TagResourceCommand.js +3 -3
  57. package/dist/cjs/commands/TagResourceCommand.js.map +1 -1
  58. package/dist/cjs/commands/UntagResourceCommand.js +3 -3
  59. package/dist/cjs/commands/UntagResourceCommand.js.map +1 -1
  60. package/dist/cjs/commands/UpdateDiscovererCommand.js +3 -3
  61. package/dist/cjs/commands/UpdateDiscovererCommand.js.map +1 -1
  62. package/dist/cjs/commands/UpdateRegistryCommand.js +3 -3
  63. package/dist/cjs/commands/UpdateRegistryCommand.js.map +1 -1
  64. package/dist/cjs/commands/UpdateSchemaCommand.js +3 -3
  65. package/dist/cjs/commands/UpdateSchemaCommand.js.map +1 -1
  66. package/dist/cjs/endpoints.js +1 -1
  67. package/dist/cjs/endpoints.js.map +1 -1
  68. package/dist/cjs/index.js +41 -41
  69. package/dist/cjs/index.js.map +1 -1
  70. package/dist/cjs/models/index.js +1 -1
  71. package/dist/cjs/models/index.js.map +1 -1
  72. package/dist/cjs/package.json +32 -32
  73. package/dist/cjs/protocols/Aws_restJson1.js +178 -178
  74. package/dist/cjs/protocols/Aws_restJson1.js.map +1 -1
  75. package/dist/cjs/runtimeConfig.browser.js +4 -4
  76. package/dist/cjs/runtimeConfig.browser.js.map +1 -1
  77. package/dist/cjs/runtimeConfig.js +8 -8
  78. package/dist/cjs/runtimeConfig.js.map +1 -1
  79. package/dist/cjs/runtimeConfig.native.js +1 -1
  80. package/dist/cjs/runtimeConfig.native.js.map +1 -1
  81. package/dist/cjs/waiters/waitForCodeBindingExists.js +3 -3
  82. package/dist/cjs/waiters/waitForCodeBindingExists.js.map +1 -1
  83. package/dist/es/package.json +32 -32
  84. package/dist/es/pagination/ListDiscoverersPaginator.js +4 -4
  85. package/dist/es/pagination/ListDiscoverersPaginator.js.map +1 -1
  86. package/dist/es/pagination/ListRegistriesPaginator.js +4 -4
  87. package/dist/es/pagination/ListRegistriesPaginator.js.map +1 -1
  88. package/dist/es/pagination/ListSchemaVersionsPaginator.js +4 -4
  89. package/dist/es/pagination/ListSchemaVersionsPaginator.js.map +1 -1
  90. package/dist/es/pagination/ListSchemasPaginator.js +4 -4
  91. package/dist/es/pagination/ListSchemasPaginator.js.map +1 -1
  92. package/dist/es/pagination/SearchSchemasPaginator.js +4 -4
  93. package/dist/es/pagination/SearchSchemasPaginator.js.map +1 -1
  94. package/package.json +32 -32
  95. package/tsconfig.json +1 -2
@@ -40,7 +40,7 @@ const serializeAws_restJson1CreateRegistryCommand = async (input, context) => {
40
40
  if (labelValue.length <= 0) {
41
41
  throw new Error("Empty value provided for input HTTP label: RegistryName.");
42
42
  }
43
- resolvedPath = resolvedPath.replace("{RegistryName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
43
+ resolvedPath = resolvedPath.replace("{RegistryName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
44
44
  }
45
45
  else {
46
46
  throw new Error("No value provided for input HTTP label: RegistryName.");
@@ -73,7 +73,7 @@ const serializeAws_restJson1CreateSchemaCommand = async (input, context) => {
73
73
  if (labelValue.length <= 0) {
74
74
  throw new Error("Empty value provided for input HTTP label: RegistryName.");
75
75
  }
76
- resolvedPath = resolvedPath.replace("{RegistryName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
76
+ resolvedPath = resolvedPath.replace("{RegistryName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
77
77
  }
78
78
  else {
79
79
  throw new Error("No value provided for input HTTP label: RegistryName.");
@@ -83,7 +83,7 @@ const serializeAws_restJson1CreateSchemaCommand = async (input, context) => {
83
83
  if (labelValue.length <= 0) {
84
84
  throw new Error("Empty value provided for input HTTP label: SchemaName.");
85
85
  }
86
- resolvedPath = resolvedPath.replace("{SchemaName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
86
+ resolvedPath = resolvedPath.replace("{SchemaName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
87
87
  }
88
88
  else {
89
89
  throw new Error("No value provided for input HTTP label: SchemaName.");
@@ -115,7 +115,7 @@ const serializeAws_restJson1DeleteDiscovererCommand = async (input, context) =>
115
115
  if (labelValue.length <= 0) {
116
116
  throw new Error("Empty value provided for input HTTP label: DiscovererId.");
117
117
  }
118
- resolvedPath = resolvedPath.replace("{DiscovererId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
118
+ resolvedPath = resolvedPath.replace("{DiscovererId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
119
119
  }
120
120
  else {
121
121
  throw new Error("No value provided for input HTTP label: DiscovererId.");
@@ -141,7 +141,7 @@ const serializeAws_restJson1DeleteRegistryCommand = async (input, context) => {
141
141
  if (labelValue.length <= 0) {
142
142
  throw new Error("Empty value provided for input HTTP label: RegistryName.");
143
143
  }
144
- resolvedPath = resolvedPath.replace("{RegistryName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
144
+ resolvedPath = resolvedPath.replace("{RegistryName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
145
145
  }
146
146
  else {
147
147
  throw new Error("No value provided for input HTTP label: RegistryName.");
@@ -188,7 +188,7 @@ const serializeAws_restJson1DeleteSchemaCommand = async (input, context) => {
188
188
  if (labelValue.length <= 0) {
189
189
  throw new Error("Empty value provided for input HTTP label: RegistryName.");
190
190
  }
191
- resolvedPath = resolvedPath.replace("{RegistryName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
191
+ resolvedPath = resolvedPath.replace("{RegistryName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
192
192
  }
193
193
  else {
194
194
  throw new Error("No value provided for input HTTP label: RegistryName.");
@@ -198,7 +198,7 @@ const serializeAws_restJson1DeleteSchemaCommand = async (input, context) => {
198
198
  if (labelValue.length <= 0) {
199
199
  throw new Error("Empty value provided for input HTTP label: SchemaName.");
200
200
  }
201
- resolvedPath = resolvedPath.replace("{SchemaName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
201
+ resolvedPath = resolvedPath.replace("{SchemaName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
202
202
  }
203
203
  else {
204
204
  throw new Error("No value provided for input HTTP label: SchemaName.");
@@ -225,7 +225,7 @@ const serializeAws_restJson1DeleteSchemaVersionCommand = async (input, context)
225
225
  if (labelValue.length <= 0) {
226
226
  throw new Error("Empty value provided for input HTTP label: RegistryName.");
227
227
  }
228
- resolvedPath = resolvedPath.replace("{RegistryName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
228
+ resolvedPath = resolvedPath.replace("{RegistryName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
229
229
  }
230
230
  else {
231
231
  throw new Error("No value provided for input HTTP label: RegistryName.");
@@ -235,7 +235,7 @@ const serializeAws_restJson1DeleteSchemaVersionCommand = async (input, context)
235
235
  if (labelValue.length <= 0) {
236
236
  throw new Error("Empty value provided for input HTTP label: SchemaName.");
237
237
  }
238
- resolvedPath = resolvedPath.replace("{SchemaName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
238
+ resolvedPath = resolvedPath.replace("{SchemaName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
239
239
  }
240
240
  else {
241
241
  throw new Error("No value provided for input HTTP label: SchemaName.");
@@ -245,7 +245,7 @@ const serializeAws_restJson1DeleteSchemaVersionCommand = async (input, context)
245
245
  if (labelValue.length <= 0) {
246
246
  throw new Error("Empty value provided for input HTTP label: SchemaVersion.");
247
247
  }
248
- resolvedPath = resolvedPath.replace("{SchemaVersion}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
248
+ resolvedPath = resolvedPath.replace("{SchemaVersion}", smithy_client_1.extendedEncodeURIComponent(labelValue));
249
249
  }
250
250
  else {
251
251
  throw new Error("No value provided for input HTTP label: SchemaVersion.");
@@ -272,7 +272,7 @@ const serializeAws_restJson1DescribeCodeBindingCommand = async (input, context)
272
272
  if (labelValue.length <= 0) {
273
273
  throw new Error("Empty value provided for input HTTP label: Language.");
274
274
  }
275
- resolvedPath = resolvedPath.replace("{Language}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
275
+ resolvedPath = resolvedPath.replace("{Language}", smithy_client_1.extendedEncodeURIComponent(labelValue));
276
276
  }
277
277
  else {
278
278
  throw new Error("No value provided for input HTTP label: Language.");
@@ -282,7 +282,7 @@ const serializeAws_restJson1DescribeCodeBindingCommand = async (input, context)
282
282
  if (labelValue.length <= 0) {
283
283
  throw new Error("Empty value provided for input HTTP label: RegistryName.");
284
284
  }
285
- resolvedPath = resolvedPath.replace("{RegistryName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
285
+ resolvedPath = resolvedPath.replace("{RegistryName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
286
286
  }
287
287
  else {
288
288
  throw new Error("No value provided for input HTTP label: RegistryName.");
@@ -292,7 +292,7 @@ const serializeAws_restJson1DescribeCodeBindingCommand = async (input, context)
292
292
  if (labelValue.length <= 0) {
293
293
  throw new Error("Empty value provided for input HTTP label: SchemaName.");
294
294
  }
295
- resolvedPath = resolvedPath.replace("{SchemaName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
295
+ resolvedPath = resolvedPath.replace("{SchemaName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
296
296
  }
297
297
  else {
298
298
  throw new Error("No value provided for input HTTP label: SchemaName.");
@@ -322,7 +322,7 @@ const serializeAws_restJson1DescribeDiscovererCommand = async (input, context) =
322
322
  if (labelValue.length <= 0) {
323
323
  throw new Error("Empty value provided for input HTTP label: DiscovererId.");
324
324
  }
325
- resolvedPath = resolvedPath.replace("{DiscovererId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
325
+ resolvedPath = resolvedPath.replace("{DiscovererId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
326
326
  }
327
327
  else {
328
328
  throw new Error("No value provided for input HTTP label: DiscovererId.");
@@ -348,7 +348,7 @@ const serializeAws_restJson1DescribeRegistryCommand = async (input, context) =>
348
348
  if (labelValue.length <= 0) {
349
349
  throw new Error("Empty value provided for input HTTP label: RegistryName.");
350
350
  }
351
- resolvedPath = resolvedPath.replace("{RegistryName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
351
+ resolvedPath = resolvedPath.replace("{RegistryName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
352
352
  }
353
353
  else {
354
354
  throw new Error("No value provided for input HTTP label: RegistryName.");
@@ -375,7 +375,7 @@ const serializeAws_restJson1DescribeSchemaCommand = async (input, context) => {
375
375
  if (labelValue.length <= 0) {
376
376
  throw new Error("Empty value provided for input HTTP label: RegistryName.");
377
377
  }
378
- resolvedPath = resolvedPath.replace("{RegistryName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
378
+ resolvedPath = resolvedPath.replace("{RegistryName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
379
379
  }
380
380
  else {
381
381
  throw new Error("No value provided for input HTTP label: RegistryName.");
@@ -385,7 +385,7 @@ const serializeAws_restJson1DescribeSchemaCommand = async (input, context) => {
385
385
  if (labelValue.length <= 0) {
386
386
  throw new Error("Empty value provided for input HTTP label: SchemaName.");
387
387
  }
388
- resolvedPath = resolvedPath.replace("{SchemaName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
388
+ resolvedPath = resolvedPath.replace("{SchemaName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
389
389
  }
390
390
  else {
391
391
  throw new Error("No value provided for input HTTP label: SchemaName.");
@@ -416,7 +416,7 @@ const serializeAws_restJson1ExportSchemaCommand = async (input, context) => {
416
416
  if (labelValue.length <= 0) {
417
417
  throw new Error("Empty value provided for input HTTP label: RegistryName.");
418
418
  }
419
- resolvedPath = resolvedPath.replace("{RegistryName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
419
+ resolvedPath = resolvedPath.replace("{RegistryName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
420
420
  }
421
421
  else {
422
422
  throw new Error("No value provided for input HTTP label: RegistryName.");
@@ -426,7 +426,7 @@ const serializeAws_restJson1ExportSchemaCommand = async (input, context) => {
426
426
  if (labelValue.length <= 0) {
427
427
  throw new Error("Empty value provided for input HTTP label: SchemaName.");
428
428
  }
429
- resolvedPath = resolvedPath.replace("{SchemaName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
429
+ resolvedPath = resolvedPath.replace("{SchemaName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
430
430
  }
431
431
  else {
432
432
  throw new Error("No value provided for input HTTP label: SchemaName.");
@@ -458,7 +458,7 @@ const serializeAws_restJson1GetCodeBindingSourceCommand = async (input, context)
458
458
  if (labelValue.length <= 0) {
459
459
  throw new Error("Empty value provided for input HTTP label: Language.");
460
460
  }
461
- resolvedPath = resolvedPath.replace("{Language}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
461
+ resolvedPath = resolvedPath.replace("{Language}", smithy_client_1.extendedEncodeURIComponent(labelValue));
462
462
  }
463
463
  else {
464
464
  throw new Error("No value provided for input HTTP label: Language.");
@@ -468,7 +468,7 @@ const serializeAws_restJson1GetCodeBindingSourceCommand = async (input, context)
468
468
  if (labelValue.length <= 0) {
469
469
  throw new Error("Empty value provided for input HTTP label: RegistryName.");
470
470
  }
471
- resolvedPath = resolvedPath.replace("{RegistryName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
471
+ resolvedPath = resolvedPath.replace("{RegistryName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
472
472
  }
473
473
  else {
474
474
  throw new Error("No value provided for input HTTP label: RegistryName.");
@@ -478,7 +478,7 @@ const serializeAws_restJson1GetCodeBindingSourceCommand = async (input, context)
478
478
  if (labelValue.length <= 0) {
479
479
  throw new Error("Empty value provided for input HTTP label: SchemaName.");
480
480
  }
481
- resolvedPath = resolvedPath.replace("{SchemaName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
481
+ resolvedPath = resolvedPath.replace("{SchemaName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
482
482
  }
483
483
  else {
484
484
  throw new Error("No value provided for input HTTP label: SchemaName.");
@@ -600,7 +600,7 @@ const serializeAws_restJson1ListSchemasCommand = async (input, context) => {
600
600
  if (labelValue.length <= 0) {
601
601
  throw new Error("Empty value provided for input HTTP label: RegistryName.");
602
602
  }
603
- resolvedPath = resolvedPath.replace("{RegistryName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
603
+ resolvedPath = resolvedPath.replace("{RegistryName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
604
604
  }
605
605
  else {
606
606
  throw new Error("No value provided for input HTTP label: RegistryName.");
@@ -633,7 +633,7 @@ const serializeAws_restJson1ListSchemaVersionsCommand = async (input, context) =
633
633
  if (labelValue.length <= 0) {
634
634
  throw new Error("Empty value provided for input HTTP label: RegistryName.");
635
635
  }
636
- resolvedPath = resolvedPath.replace("{RegistryName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
636
+ resolvedPath = resolvedPath.replace("{RegistryName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
637
637
  }
638
638
  else {
639
639
  throw new Error("No value provided for input HTTP label: RegistryName.");
@@ -643,7 +643,7 @@ const serializeAws_restJson1ListSchemaVersionsCommand = async (input, context) =
643
643
  if (labelValue.length <= 0) {
644
644
  throw new Error("Empty value provided for input HTTP label: SchemaName.");
645
645
  }
646
- resolvedPath = resolvedPath.replace("{SchemaName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
646
+ resolvedPath = resolvedPath.replace("{SchemaName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
647
647
  }
648
648
  else {
649
649
  throw new Error("No value provided for input HTTP label: SchemaName.");
@@ -674,7 +674,7 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
674
674
  if (labelValue.length <= 0) {
675
675
  throw new Error("Empty value provided for input HTTP label: ResourceArn.");
676
676
  }
677
- resolvedPath = resolvedPath.replace("{ResourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
677
+ resolvedPath = resolvedPath.replace("{ResourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
678
678
  }
679
679
  else {
680
680
  throw new Error("No value provided for input HTTP label: ResourceArn.");
@@ -701,7 +701,7 @@ const serializeAws_restJson1PutCodeBindingCommand = async (input, context) => {
701
701
  if (labelValue.length <= 0) {
702
702
  throw new Error("Empty value provided for input HTTP label: Language.");
703
703
  }
704
- resolvedPath = resolvedPath.replace("{Language}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
704
+ resolvedPath = resolvedPath.replace("{Language}", smithy_client_1.extendedEncodeURIComponent(labelValue));
705
705
  }
706
706
  else {
707
707
  throw new Error("No value provided for input HTTP label: Language.");
@@ -711,7 +711,7 @@ const serializeAws_restJson1PutCodeBindingCommand = async (input, context) => {
711
711
  if (labelValue.length <= 0) {
712
712
  throw new Error("Empty value provided for input HTTP label: RegistryName.");
713
713
  }
714
- resolvedPath = resolvedPath.replace("{RegistryName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
714
+ resolvedPath = resolvedPath.replace("{RegistryName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
715
715
  }
716
716
  else {
717
717
  throw new Error("No value provided for input HTTP label: RegistryName.");
@@ -721,7 +721,7 @@ const serializeAws_restJson1PutCodeBindingCommand = async (input, context) => {
721
721
  if (labelValue.length <= 0) {
722
722
  throw new Error("Empty value provided for input HTTP label: SchemaName.");
723
723
  }
724
- resolvedPath = resolvedPath.replace("{SchemaName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
724
+ resolvedPath = resolvedPath.replace("{SchemaName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
725
725
  }
726
726
  else {
727
727
  throw new Error("No value provided for input HTTP label: SchemaName.");
@@ -778,7 +778,7 @@ const serializeAws_restJson1SearchSchemasCommand = async (input, context) => {
778
778
  if (labelValue.length <= 0) {
779
779
  throw new Error("Empty value provided for input HTTP label: RegistryName.");
780
780
  }
781
- resolvedPath = resolvedPath.replace("{RegistryName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
781
+ resolvedPath = resolvedPath.replace("{RegistryName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
782
782
  }
783
783
  else {
784
784
  throw new Error("No value provided for input HTTP label: RegistryName.");
@@ -810,7 +810,7 @@ const serializeAws_restJson1StartDiscovererCommand = async (input, context) => {
810
810
  if (labelValue.length <= 0) {
811
811
  throw new Error("Empty value provided for input HTTP label: DiscovererId.");
812
812
  }
813
- resolvedPath = resolvedPath.replace("{DiscovererId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
813
+ resolvedPath = resolvedPath.replace("{DiscovererId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
814
814
  }
815
815
  else {
816
816
  throw new Error("No value provided for input HTTP label: DiscovererId.");
@@ -836,7 +836,7 @@ const serializeAws_restJson1StopDiscovererCommand = async (input, context) => {
836
836
  if (labelValue.length <= 0) {
837
837
  throw new Error("Empty value provided for input HTTP label: DiscovererId.");
838
838
  }
839
- resolvedPath = resolvedPath.replace("{DiscovererId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
839
+ resolvedPath = resolvedPath.replace("{DiscovererId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
840
840
  }
841
841
  else {
842
842
  throw new Error("No value provided for input HTTP label: DiscovererId.");
@@ -864,7 +864,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
864
864
  if (labelValue.length <= 0) {
865
865
  throw new Error("Empty value provided for input HTTP label: ResourceArn.");
866
866
  }
867
- resolvedPath = resolvedPath.replace("{ResourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
867
+ resolvedPath = resolvedPath.replace("{ResourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
868
868
  }
869
869
  else {
870
870
  throw new Error("No value provided for input HTTP label: ResourceArn.");
@@ -893,7 +893,7 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
893
893
  if (labelValue.length <= 0) {
894
894
  throw new Error("Empty value provided for input HTTP label: ResourceArn.");
895
895
  }
896
- resolvedPath = resolvedPath.replace("{ResourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
896
+ resolvedPath = resolvedPath.replace("{ResourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
897
897
  }
898
898
  else {
899
899
  throw new Error("No value provided for input HTTP label: ResourceArn.");
@@ -925,7 +925,7 @@ const serializeAws_restJson1UpdateDiscovererCommand = async (input, context) =>
925
925
  if (labelValue.length <= 0) {
926
926
  throw new Error("Empty value provided for input HTTP label: DiscovererId.");
927
927
  }
928
- resolvedPath = resolvedPath.replace("{DiscovererId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
928
+ resolvedPath = resolvedPath.replace("{DiscovererId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
929
929
  }
930
930
  else {
931
931
  throw new Error("No value provided for input HTTP label: DiscovererId.");
@@ -957,7 +957,7 @@ const serializeAws_restJson1UpdateRegistryCommand = async (input, context) => {
957
957
  if (labelValue.length <= 0) {
958
958
  throw new Error("Empty value provided for input HTTP label: RegistryName.");
959
959
  }
960
- resolvedPath = resolvedPath.replace("{RegistryName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
960
+ resolvedPath = resolvedPath.replace("{RegistryName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
961
961
  }
962
962
  else {
963
963
  throw new Error("No value provided for input HTTP label: RegistryName.");
@@ -990,7 +990,7 @@ const serializeAws_restJson1UpdateSchemaCommand = async (input, context) => {
990
990
  if (labelValue.length <= 0) {
991
991
  throw new Error("Empty value provided for input HTTP label: RegistryName.");
992
992
  }
993
- resolvedPath = resolvedPath.replace("{RegistryName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
993
+ resolvedPath = resolvedPath.replace("{RegistryName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
994
994
  }
995
995
  else {
996
996
  throw new Error("No value provided for input HTTP label: RegistryName.");
@@ -1000,14 +1000,14 @@ const serializeAws_restJson1UpdateSchemaCommand = async (input, context) => {
1000
1000
  if (labelValue.length <= 0) {
1001
1001
  throw new Error("Empty value provided for input HTTP label: SchemaName.");
1002
1002
  }
1003
- resolvedPath = resolvedPath.replace("{SchemaName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1003
+ resolvedPath = resolvedPath.replace("{SchemaName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1004
1004
  }
1005
1005
  else {
1006
1006
  throw new Error("No value provided for input HTTP label: SchemaName.");
1007
1007
  }
1008
1008
  let body;
1009
1009
  body = JSON.stringify({
1010
- ClientTokenId: (_a = input.ClientTokenId) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
1010
+ ClientTokenId: (_a = input.ClientTokenId) !== null && _a !== void 0 ? _a : uuid_1.v4(),
1011
1011
  ...(input.Content !== undefined && input.Content !== null && { Content: input.Content }),
1012
1012
  ...(input.Description !== undefined && input.Description !== null && { Description: input.Description }),
1013
1013
  ...(input.Type !== undefined && input.Type !== null && { Type: input.Type }),
@@ -1037,24 +1037,24 @@ const deserializeAws_restJson1CreateDiscovererCommand = async (output, context)
1037
1037
  State: undefined,
1038
1038
  Tags: undefined,
1039
1039
  };
1040
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1040
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1041
1041
  if (data.CrossAccount !== undefined && data.CrossAccount !== null) {
1042
- contents.CrossAccount = (0, smithy_client_1.expectBoolean)(data.CrossAccount);
1042
+ contents.CrossAccount = smithy_client_1.expectBoolean(data.CrossAccount);
1043
1043
  }
1044
1044
  if (data.Description !== undefined && data.Description !== null) {
1045
- contents.Description = (0, smithy_client_1.expectString)(data.Description);
1045
+ contents.Description = smithy_client_1.expectString(data.Description);
1046
1046
  }
1047
1047
  if (data.DiscovererArn !== undefined && data.DiscovererArn !== null) {
1048
- contents.DiscovererArn = (0, smithy_client_1.expectString)(data.DiscovererArn);
1048
+ contents.DiscovererArn = smithy_client_1.expectString(data.DiscovererArn);
1049
1049
  }
1050
1050
  if (data.DiscovererId !== undefined && data.DiscovererId !== null) {
1051
- contents.DiscovererId = (0, smithy_client_1.expectString)(data.DiscovererId);
1051
+ contents.DiscovererId = smithy_client_1.expectString(data.DiscovererId);
1052
1052
  }
1053
1053
  if (data.SourceArn !== undefined && data.SourceArn !== null) {
1054
- contents.SourceArn = (0, smithy_client_1.expectString)(data.SourceArn);
1054
+ contents.SourceArn = smithy_client_1.expectString(data.SourceArn);
1055
1055
  }
1056
1056
  if (data.State !== undefined && data.State !== null) {
1057
- contents.State = (0, smithy_client_1.expectString)(data.State);
1057
+ contents.State = smithy_client_1.expectString(data.State);
1058
1058
  }
1059
1059
  if (data.tags !== undefined && data.tags !== null) {
1060
1060
  contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
@@ -1146,15 +1146,15 @@ const deserializeAws_restJson1CreateRegistryCommand = async (output, context) =>
1146
1146
  RegistryName: undefined,
1147
1147
  Tags: undefined,
1148
1148
  };
1149
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1149
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1150
1150
  if (data.Description !== undefined && data.Description !== null) {
1151
- contents.Description = (0, smithy_client_1.expectString)(data.Description);
1151
+ contents.Description = smithy_client_1.expectString(data.Description);
1152
1152
  }
1153
1153
  if (data.RegistryArn !== undefined && data.RegistryArn !== null) {
1154
- contents.RegistryArn = (0, smithy_client_1.expectString)(data.RegistryArn);
1154
+ contents.RegistryArn = smithy_client_1.expectString(data.RegistryArn);
1155
1155
  }
1156
1156
  if (data.RegistryName !== undefined && data.RegistryName !== null) {
1157
- contents.RegistryName = (0, smithy_client_1.expectString)(data.RegistryName);
1157
+ contents.RegistryName = smithy_client_1.expectString(data.RegistryName);
1158
1158
  }
1159
1159
  if (data.tags !== undefined && data.tags !== null) {
1160
1160
  contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
@@ -1250,30 +1250,30 @@ const deserializeAws_restJson1CreateSchemaCommand = async (output, context) => {
1250
1250
  Type: undefined,
1251
1251
  VersionCreatedDate: undefined,
1252
1252
  };
1253
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1253
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1254
1254
  if (data.Description !== undefined && data.Description !== null) {
1255
- contents.Description = (0, smithy_client_1.expectString)(data.Description);
1255
+ contents.Description = smithy_client_1.expectString(data.Description);
1256
1256
  }
1257
1257
  if (data.LastModified !== undefined && data.LastModified !== null) {
1258
- contents.LastModified = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.LastModified));
1258
+ contents.LastModified = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data.LastModified));
1259
1259
  }
1260
1260
  if (data.SchemaArn !== undefined && data.SchemaArn !== null) {
1261
- contents.SchemaArn = (0, smithy_client_1.expectString)(data.SchemaArn);
1261
+ contents.SchemaArn = smithy_client_1.expectString(data.SchemaArn);
1262
1262
  }
1263
1263
  if (data.SchemaName !== undefined && data.SchemaName !== null) {
1264
- contents.SchemaName = (0, smithy_client_1.expectString)(data.SchemaName);
1264
+ contents.SchemaName = smithy_client_1.expectString(data.SchemaName);
1265
1265
  }
1266
1266
  if (data.SchemaVersion !== undefined && data.SchemaVersion !== null) {
1267
- contents.SchemaVersion = (0, smithy_client_1.expectString)(data.SchemaVersion);
1267
+ contents.SchemaVersion = smithy_client_1.expectString(data.SchemaVersion);
1268
1268
  }
1269
1269
  if (data.tags !== undefined && data.tags !== null) {
1270
1270
  contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
1271
1271
  }
1272
1272
  if (data.Type !== undefined && data.Type !== null) {
1273
- contents.Type = (0, smithy_client_1.expectString)(data.Type);
1273
+ contents.Type = smithy_client_1.expectString(data.Type);
1274
1274
  }
1275
1275
  if (data.VersionCreatedDate !== undefined && data.VersionCreatedDate !== null) {
1276
- contents.VersionCreatedDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.VersionCreatedDate));
1276
+ contents.VersionCreatedDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data.VersionCreatedDate));
1277
1277
  }
1278
1278
  return Promise.resolve(contents);
1279
1279
  };
@@ -1766,18 +1766,18 @@ const deserializeAws_restJson1DescribeCodeBindingCommand = async (output, contex
1766
1766
  SchemaVersion: undefined,
1767
1767
  Status: undefined,
1768
1768
  };
1769
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1769
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1770
1770
  if (data.CreationDate !== undefined && data.CreationDate !== null) {
1771
- contents.CreationDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.CreationDate));
1771
+ contents.CreationDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data.CreationDate));
1772
1772
  }
1773
1773
  if (data.LastModified !== undefined && data.LastModified !== null) {
1774
- contents.LastModified = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.LastModified));
1774
+ contents.LastModified = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data.LastModified));
1775
1775
  }
1776
1776
  if (data.SchemaVersion !== undefined && data.SchemaVersion !== null) {
1777
- contents.SchemaVersion = (0, smithy_client_1.expectString)(data.SchemaVersion);
1777
+ contents.SchemaVersion = smithy_client_1.expectString(data.SchemaVersion);
1778
1778
  }
1779
1779
  if (data.Status !== undefined && data.Status !== null) {
1780
- contents.Status = (0, smithy_client_1.expectString)(data.Status);
1780
+ contents.Status = smithy_client_1.expectString(data.Status);
1781
1781
  }
1782
1782
  return Promise.resolve(contents);
1783
1783
  };
@@ -1869,24 +1869,24 @@ const deserializeAws_restJson1DescribeDiscovererCommand = async (output, context
1869
1869
  State: undefined,
1870
1870
  Tags: undefined,
1871
1871
  };
1872
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1872
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1873
1873
  if (data.CrossAccount !== undefined && data.CrossAccount !== null) {
1874
- contents.CrossAccount = (0, smithy_client_1.expectBoolean)(data.CrossAccount);
1874
+ contents.CrossAccount = smithy_client_1.expectBoolean(data.CrossAccount);
1875
1875
  }
1876
1876
  if (data.Description !== undefined && data.Description !== null) {
1877
- contents.Description = (0, smithy_client_1.expectString)(data.Description);
1877
+ contents.Description = smithy_client_1.expectString(data.Description);
1878
1878
  }
1879
1879
  if (data.DiscovererArn !== undefined && data.DiscovererArn !== null) {
1880
- contents.DiscovererArn = (0, smithy_client_1.expectString)(data.DiscovererArn);
1880
+ contents.DiscovererArn = smithy_client_1.expectString(data.DiscovererArn);
1881
1881
  }
1882
1882
  if (data.DiscovererId !== undefined && data.DiscovererId !== null) {
1883
- contents.DiscovererId = (0, smithy_client_1.expectString)(data.DiscovererId);
1883
+ contents.DiscovererId = smithy_client_1.expectString(data.DiscovererId);
1884
1884
  }
1885
1885
  if (data.SourceArn !== undefined && data.SourceArn !== null) {
1886
- contents.SourceArn = (0, smithy_client_1.expectString)(data.SourceArn);
1886
+ contents.SourceArn = smithy_client_1.expectString(data.SourceArn);
1887
1887
  }
1888
1888
  if (data.State !== undefined && data.State !== null) {
1889
- contents.State = (0, smithy_client_1.expectString)(data.State);
1889
+ contents.State = smithy_client_1.expectString(data.State);
1890
1890
  }
1891
1891
  if (data.tags !== undefined && data.tags !== null) {
1892
1892
  contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
@@ -1978,15 +1978,15 @@ const deserializeAws_restJson1DescribeRegistryCommand = async (output, context)
1978
1978
  RegistryName: undefined,
1979
1979
  Tags: undefined,
1980
1980
  };
1981
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1981
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1982
1982
  if (data.Description !== undefined && data.Description !== null) {
1983
- contents.Description = (0, smithy_client_1.expectString)(data.Description);
1983
+ contents.Description = smithy_client_1.expectString(data.Description);
1984
1984
  }
1985
1985
  if (data.RegistryArn !== undefined && data.RegistryArn !== null) {
1986
- contents.RegistryArn = (0, smithy_client_1.expectString)(data.RegistryArn);
1986
+ contents.RegistryArn = smithy_client_1.expectString(data.RegistryArn);
1987
1987
  }
1988
1988
  if (data.RegistryName !== undefined && data.RegistryName !== null) {
1989
- contents.RegistryName = (0, smithy_client_1.expectString)(data.RegistryName);
1989
+ contents.RegistryName = smithy_client_1.expectString(data.RegistryName);
1990
1990
  }
1991
1991
  if (data.tags !== undefined && data.tags !== null) {
1992
1992
  contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
@@ -2083,33 +2083,33 @@ const deserializeAws_restJson1DescribeSchemaCommand = async (output, context) =>
2083
2083
  Type: undefined,
2084
2084
  VersionCreatedDate: undefined,
2085
2085
  };
2086
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2086
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2087
2087
  if (data.Content !== undefined && data.Content !== null) {
2088
- contents.Content = (0, smithy_client_1.expectString)(data.Content);
2088
+ contents.Content = smithy_client_1.expectString(data.Content);
2089
2089
  }
2090
2090
  if (data.Description !== undefined && data.Description !== null) {
2091
- contents.Description = (0, smithy_client_1.expectString)(data.Description);
2091
+ contents.Description = smithy_client_1.expectString(data.Description);
2092
2092
  }
2093
2093
  if (data.LastModified !== undefined && data.LastModified !== null) {
2094
- contents.LastModified = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.LastModified));
2094
+ contents.LastModified = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data.LastModified));
2095
2095
  }
2096
2096
  if (data.SchemaArn !== undefined && data.SchemaArn !== null) {
2097
- contents.SchemaArn = (0, smithy_client_1.expectString)(data.SchemaArn);
2097
+ contents.SchemaArn = smithy_client_1.expectString(data.SchemaArn);
2098
2098
  }
2099
2099
  if (data.SchemaName !== undefined && data.SchemaName !== null) {
2100
- contents.SchemaName = (0, smithy_client_1.expectString)(data.SchemaName);
2100
+ contents.SchemaName = smithy_client_1.expectString(data.SchemaName);
2101
2101
  }
2102
2102
  if (data.SchemaVersion !== undefined && data.SchemaVersion !== null) {
2103
- contents.SchemaVersion = (0, smithy_client_1.expectString)(data.SchemaVersion);
2103
+ contents.SchemaVersion = smithy_client_1.expectString(data.SchemaVersion);
2104
2104
  }
2105
2105
  if (data.tags !== undefined && data.tags !== null) {
2106
2106
  contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
2107
2107
  }
2108
2108
  if (data.Type !== undefined && data.Type !== null) {
2109
- contents.Type = (0, smithy_client_1.expectString)(data.Type);
2109
+ contents.Type = smithy_client_1.expectString(data.Type);
2110
2110
  }
2111
2111
  if (data.VersionCreatedDate !== undefined && data.VersionCreatedDate !== null) {
2112
- contents.VersionCreatedDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.VersionCreatedDate));
2112
+ contents.VersionCreatedDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data.VersionCreatedDate));
2113
2113
  }
2114
2114
  return Promise.resolve(contents);
2115
2115
  };
@@ -2199,21 +2199,21 @@ const deserializeAws_restJson1ExportSchemaCommand = async (output, context) => {
2199
2199
  SchemaVersion: undefined,
2200
2200
  Type: undefined,
2201
2201
  };
2202
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2202
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2203
2203
  if (data.Content !== undefined && data.Content !== null) {
2204
- contents.Content = (0, smithy_client_1.expectString)(data.Content);
2204
+ contents.Content = smithy_client_1.expectString(data.Content);
2205
2205
  }
2206
2206
  if (data.SchemaArn !== undefined && data.SchemaArn !== null) {
2207
- contents.SchemaArn = (0, smithy_client_1.expectString)(data.SchemaArn);
2207
+ contents.SchemaArn = smithy_client_1.expectString(data.SchemaArn);
2208
2208
  }
2209
2209
  if (data.SchemaName !== undefined && data.SchemaName !== null) {
2210
- contents.SchemaName = (0, smithy_client_1.expectString)(data.SchemaName);
2210
+ contents.SchemaName = smithy_client_1.expectString(data.SchemaName);
2211
2211
  }
2212
2212
  if (data.SchemaVersion !== undefined && data.SchemaVersion !== null) {
2213
- contents.SchemaVersion = (0, smithy_client_1.expectString)(data.SchemaVersion);
2213
+ contents.SchemaVersion = smithy_client_1.expectString(data.SchemaVersion);
2214
2214
  }
2215
2215
  if (data.Type !== undefined && data.Type !== null) {
2216
- contents.Type = (0, smithy_client_1.expectString)(data.Type);
2216
+ contents.Type = smithy_client_1.expectString(data.Type);
2217
2217
  }
2218
2218
  return Promise.resolve(contents);
2219
2219
  };
@@ -2393,9 +2393,9 @@ const deserializeAws_restJson1GetDiscoveredSchemaCommand = async (output, contex
2393
2393
  $metadata: deserializeMetadata(output),
2394
2394
  Content: undefined,
2395
2395
  };
2396
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2396
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2397
2397
  if (data.Content !== undefined && data.Content !== null) {
2398
- contents.Content = (0, smithy_client_1.expectString)(data.Content);
2398
+ contents.Content = smithy_client_1.expectString(data.Content);
2399
2399
  }
2400
2400
  return Promise.resolve(contents);
2401
2401
  };
@@ -2474,12 +2474,12 @@ const deserializeAws_restJson1GetResourcePolicyCommand = async (output, context)
2474
2474
  Policy: undefined,
2475
2475
  RevisionId: undefined,
2476
2476
  };
2477
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2477
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2478
2478
  if (data.Policy !== undefined && data.Policy !== null) {
2479
2479
  contents.Policy = new smithy_client_1.LazyJsonString(data.Policy);
2480
2480
  }
2481
2481
  if (data.RevisionId !== undefined && data.RevisionId !== null) {
2482
- contents.RevisionId = (0, smithy_client_1.expectString)(data.RevisionId);
2482
+ contents.RevisionId = smithy_client_1.expectString(data.RevisionId);
2483
2483
  }
2484
2484
  return Promise.resolve(contents);
2485
2485
  };
@@ -2566,12 +2566,12 @@ const deserializeAws_restJson1ListDiscoverersCommand = async (output, context) =
2566
2566
  Discoverers: undefined,
2567
2567
  NextToken: undefined,
2568
2568
  };
2569
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2569
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2570
2570
  if (data.Discoverers !== undefined && data.Discoverers !== null) {
2571
2571
  contents.Discoverers = deserializeAws_restJson1__listOfDiscovererSummary(data.Discoverers, context);
2572
2572
  }
2573
2573
  if (data.NextToken !== undefined && data.NextToken !== null) {
2574
- contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
2574
+ contents.NextToken = smithy_client_1.expectString(data.NextToken);
2575
2575
  }
2576
2576
  return Promise.resolve(contents);
2577
2577
  };
@@ -2650,9 +2650,9 @@ const deserializeAws_restJson1ListRegistriesCommand = async (output, context) =>
2650
2650
  NextToken: undefined,
2651
2651
  Registries: undefined,
2652
2652
  };
2653
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2653
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2654
2654
  if (data.NextToken !== undefined && data.NextToken !== null) {
2655
- contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
2655
+ contents.NextToken = smithy_client_1.expectString(data.NextToken);
2656
2656
  }
2657
2657
  if (data.Registries !== undefined && data.Registries !== null) {
2658
2658
  contents.Registries = deserializeAws_restJson1__listOfRegistrySummary(data.Registries, context);
@@ -2734,9 +2734,9 @@ const deserializeAws_restJson1ListSchemasCommand = async (output, context) => {
2734
2734
  NextToken: undefined,
2735
2735
  Schemas: undefined,
2736
2736
  };
2737
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2737
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2738
2738
  if (data.NextToken !== undefined && data.NextToken !== null) {
2739
- contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
2739
+ contents.NextToken = smithy_client_1.expectString(data.NextToken);
2740
2740
  }
2741
2741
  if (data.Schemas !== undefined && data.Schemas !== null) {
2742
2742
  contents.Schemas = deserializeAws_restJson1__listOfSchemaSummary(data.Schemas, context);
@@ -2818,9 +2818,9 @@ const deserializeAws_restJson1ListSchemaVersionsCommand = async (output, context
2818
2818
  NextToken: undefined,
2819
2819
  SchemaVersions: undefined,
2820
2820
  };
2821
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2821
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2822
2822
  if (data.NextToken !== undefined && data.NextToken !== null) {
2823
- contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
2823
+ contents.NextToken = smithy_client_1.expectString(data.NextToken);
2824
2824
  }
2825
2825
  if (data.SchemaVersions !== undefined && data.SchemaVersions !== null) {
2826
2826
  contents.SchemaVersions = deserializeAws_restJson1__listOfSchemaVersionSummary(data.SchemaVersions, context);
@@ -2909,7 +2909,7 @@ const deserializeAws_restJson1ListTagsForResourceCommand = async (output, contex
2909
2909
  $metadata: deserializeMetadata(output),
2910
2910
  Tags: undefined,
2911
2911
  };
2912
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2912
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2913
2913
  if (data.tags !== undefined && data.tags !== null) {
2914
2914
  contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
2915
2915
  }
@@ -2984,18 +2984,18 @@ const deserializeAws_restJson1PutCodeBindingCommand = async (output, context) =>
2984
2984
  SchemaVersion: undefined,
2985
2985
  Status: undefined,
2986
2986
  };
2987
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2987
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2988
2988
  if (data.CreationDate !== undefined && data.CreationDate !== null) {
2989
- contents.CreationDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.CreationDate));
2989
+ contents.CreationDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data.CreationDate));
2990
2990
  }
2991
2991
  if (data.LastModified !== undefined && data.LastModified !== null) {
2992
- contents.LastModified = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.LastModified));
2992
+ contents.LastModified = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data.LastModified));
2993
2993
  }
2994
2994
  if (data.SchemaVersion !== undefined && data.SchemaVersion !== null) {
2995
- contents.SchemaVersion = (0, smithy_client_1.expectString)(data.SchemaVersion);
2995
+ contents.SchemaVersion = smithy_client_1.expectString(data.SchemaVersion);
2996
2996
  }
2997
2997
  if (data.Status !== undefined && data.Status !== null) {
2998
- contents.Status = (0, smithy_client_1.expectString)(data.Status);
2998
+ contents.Status = smithy_client_1.expectString(data.Status);
2999
2999
  }
3000
3000
  return Promise.resolve(contents);
3001
3001
  };
@@ -3090,12 +3090,12 @@ const deserializeAws_restJson1PutResourcePolicyCommand = async (output, context)
3090
3090
  Policy: undefined,
3091
3091
  RevisionId: undefined,
3092
3092
  };
3093
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3093
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3094
3094
  if (data.Policy !== undefined && data.Policy !== null) {
3095
3095
  contents.Policy = new smithy_client_1.LazyJsonString(data.Policy);
3096
3096
  }
3097
3097
  if (data.RevisionId !== undefined && data.RevisionId !== null) {
3098
- contents.RevisionId = (0, smithy_client_1.expectString)(data.RevisionId);
3098
+ contents.RevisionId = smithy_client_1.expectString(data.RevisionId);
3099
3099
  }
3100
3100
  return Promise.resolve(contents);
3101
3101
  };
@@ -3190,9 +3190,9 @@ const deserializeAws_restJson1SearchSchemasCommand = async (output, context) =>
3190
3190
  NextToken: undefined,
3191
3191
  Schemas: undefined,
3192
3192
  };
3193
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3193
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3194
3194
  if (data.NextToken !== undefined && data.NextToken !== null) {
3195
- contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
3195
+ contents.NextToken = smithy_client_1.expectString(data.NextToken);
3196
3196
  }
3197
3197
  if (data.Schemas !== undefined && data.Schemas !== null) {
3198
3198
  contents.Schemas = deserializeAws_restJson1__listOfSearchSchemaSummary(data.Schemas, context);
@@ -3274,12 +3274,12 @@ const deserializeAws_restJson1StartDiscovererCommand = async (output, context) =
3274
3274
  DiscovererId: undefined,
3275
3275
  State: undefined,
3276
3276
  };
3277
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3277
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3278
3278
  if (data.DiscovererId !== undefined && data.DiscovererId !== null) {
3279
- contents.DiscovererId = (0, smithy_client_1.expectString)(data.DiscovererId);
3279
+ contents.DiscovererId = smithy_client_1.expectString(data.DiscovererId);
3280
3280
  }
3281
3281
  if (data.State !== undefined && data.State !== null) {
3282
- contents.State = (0, smithy_client_1.expectString)(data.State);
3282
+ contents.State = smithy_client_1.expectString(data.State);
3283
3283
  }
3284
3284
  return Promise.resolve(contents);
3285
3285
  };
@@ -3366,12 +3366,12 @@ const deserializeAws_restJson1StopDiscovererCommand = async (output, context) =>
3366
3366
  DiscovererId: undefined,
3367
3367
  State: undefined,
3368
3368
  };
3369
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3369
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3370
3370
  if (data.DiscovererId !== undefined && data.DiscovererId !== null) {
3371
- contents.DiscovererId = (0, smithy_client_1.expectString)(data.DiscovererId);
3371
+ contents.DiscovererId = smithy_client_1.expectString(data.DiscovererId);
3372
3372
  }
3373
3373
  if (data.State !== undefined && data.State !== null) {
3374
- contents.State = (0, smithy_client_1.expectString)(data.State);
3374
+ contents.State = smithy_client_1.expectString(data.State);
3375
3375
  }
3376
3376
  return Promise.resolve(contents);
3377
3377
  };
@@ -3599,24 +3599,24 @@ const deserializeAws_restJson1UpdateDiscovererCommand = async (output, context)
3599
3599
  State: undefined,
3600
3600
  Tags: undefined,
3601
3601
  };
3602
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3602
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3603
3603
  if (data.CrossAccount !== undefined && data.CrossAccount !== null) {
3604
- contents.CrossAccount = (0, smithy_client_1.expectBoolean)(data.CrossAccount);
3604
+ contents.CrossAccount = smithy_client_1.expectBoolean(data.CrossAccount);
3605
3605
  }
3606
3606
  if (data.Description !== undefined && data.Description !== null) {
3607
- contents.Description = (0, smithy_client_1.expectString)(data.Description);
3607
+ contents.Description = smithy_client_1.expectString(data.Description);
3608
3608
  }
3609
3609
  if (data.DiscovererArn !== undefined && data.DiscovererArn !== null) {
3610
- contents.DiscovererArn = (0, smithy_client_1.expectString)(data.DiscovererArn);
3610
+ contents.DiscovererArn = smithy_client_1.expectString(data.DiscovererArn);
3611
3611
  }
3612
3612
  if (data.DiscovererId !== undefined && data.DiscovererId !== null) {
3613
- contents.DiscovererId = (0, smithy_client_1.expectString)(data.DiscovererId);
3613
+ contents.DiscovererId = smithy_client_1.expectString(data.DiscovererId);
3614
3614
  }
3615
3615
  if (data.SourceArn !== undefined && data.SourceArn !== null) {
3616
- contents.SourceArn = (0, smithy_client_1.expectString)(data.SourceArn);
3616
+ contents.SourceArn = smithy_client_1.expectString(data.SourceArn);
3617
3617
  }
3618
3618
  if (data.State !== undefined && data.State !== null) {
3619
- contents.State = (0, smithy_client_1.expectString)(data.State);
3619
+ contents.State = smithy_client_1.expectString(data.State);
3620
3620
  }
3621
3621
  if (data.tags !== undefined && data.tags !== null) {
3622
3622
  contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
@@ -3708,15 +3708,15 @@ const deserializeAws_restJson1UpdateRegistryCommand = async (output, context) =>
3708
3708
  RegistryName: undefined,
3709
3709
  Tags: undefined,
3710
3710
  };
3711
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3711
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3712
3712
  if (data.Description !== undefined && data.Description !== null) {
3713
- contents.Description = (0, smithy_client_1.expectString)(data.Description);
3713
+ contents.Description = smithy_client_1.expectString(data.Description);
3714
3714
  }
3715
3715
  if (data.RegistryArn !== undefined && data.RegistryArn !== null) {
3716
- contents.RegistryArn = (0, smithy_client_1.expectString)(data.RegistryArn);
3716
+ contents.RegistryArn = smithy_client_1.expectString(data.RegistryArn);
3717
3717
  }
3718
3718
  if (data.RegistryName !== undefined && data.RegistryName !== null) {
3719
- contents.RegistryName = (0, smithy_client_1.expectString)(data.RegistryName);
3719
+ contents.RegistryName = smithy_client_1.expectString(data.RegistryName);
3720
3720
  }
3721
3721
  if (data.tags !== undefined && data.tags !== null) {
3722
3722
  contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
@@ -3812,30 +3812,30 @@ const deserializeAws_restJson1UpdateSchemaCommand = async (output, context) => {
3812
3812
  Type: undefined,
3813
3813
  VersionCreatedDate: undefined,
3814
3814
  };
3815
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3815
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3816
3816
  if (data.Description !== undefined && data.Description !== null) {
3817
- contents.Description = (0, smithy_client_1.expectString)(data.Description);
3817
+ contents.Description = smithy_client_1.expectString(data.Description);
3818
3818
  }
3819
3819
  if (data.LastModified !== undefined && data.LastModified !== null) {
3820
- contents.LastModified = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.LastModified));
3820
+ contents.LastModified = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data.LastModified));
3821
3821
  }
3822
3822
  if (data.SchemaArn !== undefined && data.SchemaArn !== null) {
3823
- contents.SchemaArn = (0, smithy_client_1.expectString)(data.SchemaArn);
3823
+ contents.SchemaArn = smithy_client_1.expectString(data.SchemaArn);
3824
3824
  }
3825
3825
  if (data.SchemaName !== undefined && data.SchemaName !== null) {
3826
- contents.SchemaName = (0, smithy_client_1.expectString)(data.SchemaName);
3826
+ contents.SchemaName = smithy_client_1.expectString(data.SchemaName);
3827
3827
  }
3828
3828
  if (data.SchemaVersion !== undefined && data.SchemaVersion !== null) {
3829
- contents.SchemaVersion = (0, smithy_client_1.expectString)(data.SchemaVersion);
3829
+ contents.SchemaVersion = smithy_client_1.expectString(data.SchemaVersion);
3830
3830
  }
3831
3831
  if (data.tags !== undefined && data.tags !== null) {
3832
3832
  contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
3833
3833
  }
3834
3834
  if (data.Type !== undefined && data.Type !== null) {
3835
- contents.Type = (0, smithy_client_1.expectString)(data.Type);
3835
+ contents.Type = smithy_client_1.expectString(data.Type);
3836
3836
  }
3837
3837
  if (data.VersionCreatedDate !== undefined && data.VersionCreatedDate !== null) {
3838
- contents.VersionCreatedDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.VersionCreatedDate));
3838
+ contents.VersionCreatedDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data.VersionCreatedDate));
3839
3839
  }
3840
3840
  return Promise.resolve(contents);
3841
3841
  };
@@ -3915,10 +3915,10 @@ const deserializeAws_restJson1BadRequestExceptionResponse = async (parsedOutput,
3915
3915
  };
3916
3916
  const data = parsedOutput.body;
3917
3917
  if (data.Code !== undefined && data.Code !== null) {
3918
- contents.Code = (0, smithy_client_1.expectString)(data.Code);
3918
+ contents.Code = smithy_client_1.expectString(data.Code);
3919
3919
  }
3920
3920
  if (data.Message !== undefined && data.Message !== null) {
3921
- contents.Message = (0, smithy_client_1.expectString)(data.Message);
3921
+ contents.Message = smithy_client_1.expectString(data.Message);
3922
3922
  }
3923
3923
  return contents;
3924
3924
  };
@@ -3932,10 +3932,10 @@ const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, c
3932
3932
  };
3933
3933
  const data = parsedOutput.body;
3934
3934
  if (data.Code !== undefined && data.Code !== null) {
3935
- contents.Code = (0, smithy_client_1.expectString)(data.Code);
3935
+ contents.Code = smithy_client_1.expectString(data.Code);
3936
3936
  }
3937
3937
  if (data.Message !== undefined && data.Message !== null) {
3938
- contents.Message = (0, smithy_client_1.expectString)(data.Message);
3938
+ contents.Message = smithy_client_1.expectString(data.Message);
3939
3939
  }
3940
3940
  return contents;
3941
3941
  };
@@ -3949,10 +3949,10 @@ const deserializeAws_restJson1ForbiddenExceptionResponse = async (parsedOutput,
3949
3949
  };
3950
3950
  const data = parsedOutput.body;
3951
3951
  if (data.Code !== undefined && data.Code !== null) {
3952
- contents.Code = (0, smithy_client_1.expectString)(data.Code);
3952
+ contents.Code = smithy_client_1.expectString(data.Code);
3953
3953
  }
3954
3954
  if (data.Message !== undefined && data.Message !== null) {
3955
- contents.Message = (0, smithy_client_1.expectString)(data.Message);
3955
+ contents.Message = smithy_client_1.expectString(data.Message);
3956
3956
  }
3957
3957
  return contents;
3958
3958
  };
@@ -3966,10 +3966,10 @@ const deserializeAws_restJson1GoneExceptionResponse = async (parsedOutput, conte
3966
3966
  };
3967
3967
  const data = parsedOutput.body;
3968
3968
  if (data.Code !== undefined && data.Code !== null) {
3969
- contents.Code = (0, smithy_client_1.expectString)(data.Code);
3969
+ contents.Code = smithy_client_1.expectString(data.Code);
3970
3970
  }
3971
3971
  if (data.Message !== undefined && data.Message !== null) {
3972
- contents.Message = (0, smithy_client_1.expectString)(data.Message);
3972
+ contents.Message = smithy_client_1.expectString(data.Message);
3973
3973
  }
3974
3974
  return contents;
3975
3975
  };
@@ -3983,10 +3983,10 @@ const deserializeAws_restJson1InternalServerErrorExceptionResponse = async (pars
3983
3983
  };
3984
3984
  const data = parsedOutput.body;
3985
3985
  if (data.Code !== undefined && data.Code !== null) {
3986
- contents.Code = (0, smithy_client_1.expectString)(data.Code);
3986
+ contents.Code = smithy_client_1.expectString(data.Code);
3987
3987
  }
3988
3988
  if (data.Message !== undefined && data.Message !== null) {
3989
- contents.Message = (0, smithy_client_1.expectString)(data.Message);
3989
+ contents.Message = smithy_client_1.expectString(data.Message);
3990
3990
  }
3991
3991
  return contents;
3992
3992
  };
@@ -4000,10 +4000,10 @@ const deserializeAws_restJson1NotFoundExceptionResponse = async (parsedOutput, c
4000
4000
  };
4001
4001
  const data = parsedOutput.body;
4002
4002
  if (data.Code !== undefined && data.Code !== null) {
4003
- contents.Code = (0, smithy_client_1.expectString)(data.Code);
4003
+ contents.Code = smithy_client_1.expectString(data.Code);
4004
4004
  }
4005
4005
  if (data.Message !== undefined && data.Message !== null) {
4006
- contents.Message = (0, smithy_client_1.expectString)(data.Message);
4006
+ contents.Message = smithy_client_1.expectString(data.Message);
4007
4007
  }
4008
4008
  return contents;
4009
4009
  };
@@ -4017,10 +4017,10 @@ const deserializeAws_restJson1PreconditionFailedExceptionResponse = async (parse
4017
4017
  };
4018
4018
  const data = parsedOutput.body;
4019
4019
  if (data.Code !== undefined && data.Code !== null) {
4020
- contents.Code = (0, smithy_client_1.expectString)(data.Code);
4020
+ contents.Code = smithy_client_1.expectString(data.Code);
4021
4021
  }
4022
4022
  if (data.Message !== undefined && data.Message !== null) {
4023
- contents.Message = (0, smithy_client_1.expectString)(data.Message);
4023
+ contents.Message = smithy_client_1.expectString(data.Message);
4024
4024
  }
4025
4025
  return contents;
4026
4026
  };
@@ -4034,10 +4034,10 @@ const deserializeAws_restJson1ServiceUnavailableExceptionResponse = async (parse
4034
4034
  };
4035
4035
  const data = parsedOutput.body;
4036
4036
  if (data.Code !== undefined && data.Code !== null) {
4037
- contents.Code = (0, smithy_client_1.expectString)(data.Code);
4037
+ contents.Code = smithy_client_1.expectString(data.Code);
4038
4038
  }
4039
4039
  if (data.Message !== undefined && data.Message !== null) {
4040
- contents.Message = (0, smithy_client_1.expectString)(data.Message);
4040
+ contents.Message = smithy_client_1.expectString(data.Message);
4041
4041
  }
4042
4042
  return contents;
4043
4043
  };
@@ -4051,10 +4051,10 @@ const deserializeAws_restJson1TooManyRequestsExceptionResponse = async (parsedOu
4051
4051
  };
4052
4052
  const data = parsedOutput.body;
4053
4053
  if (data.Code !== undefined && data.Code !== null) {
4054
- contents.Code = (0, smithy_client_1.expectString)(data.Code);
4054
+ contents.Code = smithy_client_1.expectString(data.Code);
4055
4055
  }
4056
4056
  if (data.Message !== undefined && data.Message !== null) {
4057
- contents.Message = (0, smithy_client_1.expectString)(data.Message);
4057
+ contents.Message = smithy_client_1.expectString(data.Message);
4058
4058
  }
4059
4059
  return contents;
4060
4060
  };
@@ -4068,10 +4068,10 @@ const deserializeAws_restJson1UnauthorizedExceptionResponse = async (parsedOutpu
4068
4068
  };
4069
4069
  const data = parsedOutput.body;
4070
4070
  if (data.Code !== undefined && data.Code !== null) {
4071
- contents.Code = (0, smithy_client_1.expectString)(data.Code);
4071
+ contents.Code = smithy_client_1.expectString(data.Code);
4072
4072
  }
4073
4073
  if (data.Message !== undefined && data.Message !== null) {
4074
- contents.Message = (0, smithy_client_1.expectString)(data.Message);
4074
+ contents.Message = smithy_client_1.expectString(data.Message);
4075
4075
  }
4076
4076
  return contents;
4077
4077
  };
@@ -4158,11 +4158,11 @@ const deserializeAws_restJson1__listOfSearchSchemaVersionSummary = (output, cont
4158
4158
  };
4159
4159
  const deserializeAws_restJson1DiscovererSummary = (output, context) => {
4160
4160
  return {
4161
- CrossAccount: (0, smithy_client_1.expectBoolean)(output.CrossAccount),
4162
- DiscovererArn: (0, smithy_client_1.expectString)(output.DiscovererArn),
4163
- DiscovererId: (0, smithy_client_1.expectString)(output.DiscovererId),
4164
- SourceArn: (0, smithy_client_1.expectString)(output.SourceArn),
4165
- State: (0, smithy_client_1.expectString)(output.State),
4161
+ CrossAccount: smithy_client_1.expectBoolean(output.CrossAccount),
4162
+ DiscovererArn: smithy_client_1.expectString(output.DiscovererArn),
4163
+ DiscovererId: smithy_client_1.expectString(output.DiscovererId),
4164
+ SourceArn: smithy_client_1.expectString(output.SourceArn),
4165
+ State: smithy_client_1.expectString(output.State),
4166
4166
  Tags: output.tags !== undefined && output.tags !== null
4167
4167
  ? deserializeAws_restJson1Tags(output.tags, context)
4168
4168
  : undefined,
@@ -4170,8 +4170,8 @@ const deserializeAws_restJson1DiscovererSummary = (output, context) => {
4170
4170
  };
4171
4171
  const deserializeAws_restJson1RegistrySummary = (output, context) => {
4172
4172
  return {
4173
- RegistryArn: (0, smithy_client_1.expectString)(output.RegistryArn),
4174
- RegistryName: (0, smithy_client_1.expectString)(output.RegistryName),
4173
+ RegistryArn: smithy_client_1.expectString(output.RegistryArn),
4174
+ RegistryName: smithy_client_1.expectString(output.RegistryName),
4175
4175
  Tags: output.tags !== undefined && output.tags !== null
4176
4176
  ? deserializeAws_restJson1Tags(output.tags, context)
4177
4177
  : undefined,
@@ -4180,29 +4180,29 @@ const deserializeAws_restJson1RegistrySummary = (output, context) => {
4180
4180
  const deserializeAws_restJson1SchemaSummary = (output, context) => {
4181
4181
  return {
4182
4182
  LastModified: output.LastModified !== undefined && output.LastModified !== null
4183
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.LastModified))
4183
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.LastModified))
4184
4184
  : undefined,
4185
- SchemaArn: (0, smithy_client_1.expectString)(output.SchemaArn),
4186
- SchemaName: (0, smithy_client_1.expectString)(output.SchemaName),
4185
+ SchemaArn: smithy_client_1.expectString(output.SchemaArn),
4186
+ SchemaName: smithy_client_1.expectString(output.SchemaName),
4187
4187
  Tags: output.tags !== undefined && output.tags !== null
4188
4188
  ? deserializeAws_restJson1Tags(output.tags, context)
4189
4189
  : undefined,
4190
- VersionCount: (0, smithy_client_1.expectLong)(output.VersionCount),
4190
+ VersionCount: smithy_client_1.expectLong(output.VersionCount),
4191
4191
  };
4192
4192
  };
4193
4193
  const deserializeAws_restJson1SchemaVersionSummary = (output, context) => {
4194
4194
  return {
4195
- SchemaArn: (0, smithy_client_1.expectString)(output.SchemaArn),
4196
- SchemaName: (0, smithy_client_1.expectString)(output.SchemaName),
4197
- SchemaVersion: (0, smithy_client_1.expectString)(output.SchemaVersion),
4198
- Type: (0, smithy_client_1.expectString)(output.Type),
4195
+ SchemaArn: smithy_client_1.expectString(output.SchemaArn),
4196
+ SchemaName: smithy_client_1.expectString(output.SchemaName),
4197
+ SchemaVersion: smithy_client_1.expectString(output.SchemaVersion),
4198
+ Type: smithy_client_1.expectString(output.Type),
4199
4199
  };
4200
4200
  };
4201
4201
  const deserializeAws_restJson1SearchSchemaSummary = (output, context) => {
4202
4202
  return {
4203
- RegistryName: (0, smithy_client_1.expectString)(output.RegistryName),
4204
- SchemaArn: (0, smithy_client_1.expectString)(output.SchemaArn),
4205
- SchemaName: (0, smithy_client_1.expectString)(output.SchemaName),
4203
+ RegistryName: smithy_client_1.expectString(output.RegistryName),
4204
+ SchemaArn: smithy_client_1.expectString(output.SchemaArn),
4205
+ SchemaName: smithy_client_1.expectString(output.SchemaName),
4206
4206
  SchemaVersions: output.SchemaVersions !== undefined && output.SchemaVersions !== null
4207
4207
  ? deserializeAws_restJson1__listOfSearchSchemaVersionSummary(output.SchemaVersions, context)
4208
4208
  : undefined,
@@ -4211,10 +4211,10 @@ const deserializeAws_restJson1SearchSchemaSummary = (output, context) => {
4211
4211
  const deserializeAws_restJson1SearchSchemaVersionSummary = (output, context) => {
4212
4212
  return {
4213
4213
  CreatedDate: output.CreatedDate !== undefined && output.CreatedDate !== null
4214
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.CreatedDate))
4214
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.CreatedDate))
4215
4215
  : undefined,
4216
- SchemaVersion: (0, smithy_client_1.expectString)(output.SchemaVersion),
4217
- Type: (0, smithy_client_1.expectString)(output.Type),
4216
+ SchemaVersion: smithy_client_1.expectString(output.SchemaVersion),
4217
+ Type: smithy_client_1.expectString(output.Type),
4218
4218
  };
4219
4219
  };
4220
4220
  const deserializeAws_restJson1Tags = (output, context) => {
@@ -4224,7 +4224,7 @@ const deserializeAws_restJson1Tags = (output, context) => {
4224
4224
  }
4225
4225
  return {
4226
4226
  ...acc,
4227
- [key]: (0, smithy_client_1.expectString)(value),
4227
+ [key]: smithy_client_1.expectString(value),
4228
4228
  };
4229
4229
  }, {});
4230
4230
  };