@aws-sdk/client-appsync 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 (103) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/cjs/AppSyncClient.js +13 -13
  3. package/dist/cjs/AppSyncClient.js.map +1 -1
  4. package/dist/cjs/commands/CreateApiCacheCommand.js +3 -3
  5. package/dist/cjs/commands/CreateApiCacheCommand.js.map +1 -1
  6. package/dist/cjs/commands/CreateApiKeyCommand.js +3 -3
  7. package/dist/cjs/commands/CreateApiKeyCommand.js.map +1 -1
  8. package/dist/cjs/commands/CreateDataSourceCommand.js +3 -3
  9. package/dist/cjs/commands/CreateDataSourceCommand.js.map +1 -1
  10. package/dist/cjs/commands/CreateFunctionCommand.js +3 -3
  11. package/dist/cjs/commands/CreateFunctionCommand.js.map +1 -1
  12. package/dist/cjs/commands/CreateGraphqlApiCommand.js +3 -3
  13. package/dist/cjs/commands/CreateGraphqlApiCommand.js.map +1 -1
  14. package/dist/cjs/commands/CreateResolverCommand.js +3 -3
  15. package/dist/cjs/commands/CreateResolverCommand.js.map +1 -1
  16. package/dist/cjs/commands/CreateTypeCommand.js +3 -3
  17. package/dist/cjs/commands/CreateTypeCommand.js.map +1 -1
  18. package/dist/cjs/commands/DeleteApiCacheCommand.js +3 -3
  19. package/dist/cjs/commands/DeleteApiCacheCommand.js.map +1 -1
  20. package/dist/cjs/commands/DeleteApiKeyCommand.js +3 -3
  21. package/dist/cjs/commands/DeleteApiKeyCommand.js.map +1 -1
  22. package/dist/cjs/commands/DeleteDataSourceCommand.js +3 -3
  23. package/dist/cjs/commands/DeleteDataSourceCommand.js.map +1 -1
  24. package/dist/cjs/commands/DeleteFunctionCommand.js +3 -3
  25. package/dist/cjs/commands/DeleteFunctionCommand.js.map +1 -1
  26. package/dist/cjs/commands/DeleteGraphqlApiCommand.js +3 -3
  27. package/dist/cjs/commands/DeleteGraphqlApiCommand.js.map +1 -1
  28. package/dist/cjs/commands/DeleteResolverCommand.js +3 -3
  29. package/dist/cjs/commands/DeleteResolverCommand.js.map +1 -1
  30. package/dist/cjs/commands/DeleteTypeCommand.js +3 -3
  31. package/dist/cjs/commands/DeleteTypeCommand.js.map +1 -1
  32. package/dist/cjs/commands/FlushApiCacheCommand.js +3 -3
  33. package/dist/cjs/commands/FlushApiCacheCommand.js.map +1 -1
  34. package/dist/cjs/commands/GetApiCacheCommand.js +3 -3
  35. package/dist/cjs/commands/GetApiCacheCommand.js.map +1 -1
  36. package/dist/cjs/commands/GetDataSourceCommand.js +3 -3
  37. package/dist/cjs/commands/GetDataSourceCommand.js.map +1 -1
  38. package/dist/cjs/commands/GetFunctionCommand.js +3 -3
  39. package/dist/cjs/commands/GetFunctionCommand.js.map +1 -1
  40. package/dist/cjs/commands/GetGraphqlApiCommand.js +3 -3
  41. package/dist/cjs/commands/GetGraphqlApiCommand.js.map +1 -1
  42. package/dist/cjs/commands/GetIntrospectionSchemaCommand.js +3 -3
  43. package/dist/cjs/commands/GetIntrospectionSchemaCommand.js.map +1 -1
  44. package/dist/cjs/commands/GetResolverCommand.js +3 -3
  45. package/dist/cjs/commands/GetResolverCommand.js.map +1 -1
  46. package/dist/cjs/commands/GetSchemaCreationStatusCommand.js +3 -3
  47. package/dist/cjs/commands/GetSchemaCreationStatusCommand.js.map +1 -1
  48. package/dist/cjs/commands/GetTypeCommand.js +3 -3
  49. package/dist/cjs/commands/GetTypeCommand.js.map +1 -1
  50. package/dist/cjs/commands/ListApiKeysCommand.js +3 -3
  51. package/dist/cjs/commands/ListApiKeysCommand.js.map +1 -1
  52. package/dist/cjs/commands/ListDataSourcesCommand.js +3 -3
  53. package/dist/cjs/commands/ListDataSourcesCommand.js.map +1 -1
  54. package/dist/cjs/commands/ListFunctionsCommand.js +3 -3
  55. package/dist/cjs/commands/ListFunctionsCommand.js.map +1 -1
  56. package/dist/cjs/commands/ListGraphqlApisCommand.js +3 -3
  57. package/dist/cjs/commands/ListGraphqlApisCommand.js.map +1 -1
  58. package/dist/cjs/commands/ListResolversByFunctionCommand.js +3 -3
  59. package/dist/cjs/commands/ListResolversByFunctionCommand.js.map +1 -1
  60. package/dist/cjs/commands/ListResolversCommand.js +3 -3
  61. package/dist/cjs/commands/ListResolversCommand.js.map +1 -1
  62. package/dist/cjs/commands/ListTagsForResourceCommand.js +3 -3
  63. package/dist/cjs/commands/ListTagsForResourceCommand.js.map +1 -1
  64. package/dist/cjs/commands/ListTypesCommand.js +3 -3
  65. package/dist/cjs/commands/ListTypesCommand.js.map +1 -1
  66. package/dist/cjs/commands/StartSchemaCreationCommand.js +3 -3
  67. package/dist/cjs/commands/StartSchemaCreationCommand.js.map +1 -1
  68. package/dist/cjs/commands/TagResourceCommand.js +3 -3
  69. package/dist/cjs/commands/TagResourceCommand.js.map +1 -1
  70. package/dist/cjs/commands/UntagResourceCommand.js +3 -3
  71. package/dist/cjs/commands/UntagResourceCommand.js.map +1 -1
  72. package/dist/cjs/commands/UpdateApiCacheCommand.js +3 -3
  73. package/dist/cjs/commands/UpdateApiCacheCommand.js.map +1 -1
  74. package/dist/cjs/commands/UpdateApiKeyCommand.js +3 -3
  75. package/dist/cjs/commands/UpdateApiKeyCommand.js.map +1 -1
  76. package/dist/cjs/commands/UpdateDataSourceCommand.js +3 -3
  77. package/dist/cjs/commands/UpdateDataSourceCommand.js.map +1 -1
  78. package/dist/cjs/commands/UpdateFunctionCommand.js +3 -3
  79. package/dist/cjs/commands/UpdateFunctionCommand.js.map +1 -1
  80. package/dist/cjs/commands/UpdateGraphqlApiCommand.js +3 -3
  81. package/dist/cjs/commands/UpdateGraphqlApiCommand.js.map +1 -1
  82. package/dist/cjs/commands/UpdateResolverCommand.js +3 -3
  83. package/dist/cjs/commands/UpdateResolverCommand.js.map +1 -1
  84. package/dist/cjs/commands/UpdateTypeCommand.js +3 -3
  85. package/dist/cjs/commands/UpdateTypeCommand.js.map +1 -1
  86. package/dist/cjs/endpoints.js +1 -1
  87. package/dist/cjs/endpoints.js.map +1 -1
  88. package/dist/cjs/index.js +44 -44
  89. package/dist/cjs/index.js.map +1 -1
  90. package/dist/cjs/models/index.js +1 -1
  91. package/dist/cjs/models/index.js.map +1 -1
  92. package/dist/cjs/package.json +31 -31
  93. package/dist/cjs/protocols/Aws_restJson1.js +197 -197
  94. package/dist/cjs/protocols/Aws_restJson1.js.map +1 -1
  95. package/dist/cjs/runtimeConfig.browser.js +4 -4
  96. package/dist/cjs/runtimeConfig.browser.js.map +1 -1
  97. package/dist/cjs/runtimeConfig.js +8 -8
  98. package/dist/cjs/runtimeConfig.js.map +1 -1
  99. package/dist/cjs/runtimeConfig.native.js +1 -1
  100. package/dist/cjs/runtimeConfig.native.js.map +1 -1
  101. package/dist/es/package.json +31 -31
  102. package/package.json +31 -31
  103. package/tsconfig.json +1 -2
@@ -15,7 +15,7 @@ const serializeAws_restJson1CreateApiCacheCommand = async (input, context) => {
15
15
  if (labelValue.length <= 0) {
16
16
  throw new Error("Empty value provided for input HTTP label: apiId.");
17
17
  }
18
- resolvedPath = resolvedPath.replace("{apiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
18
+ resolvedPath = resolvedPath.replace("{apiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
19
19
  }
20
20
  else {
21
21
  throw new Error("No value provided for input HTTP label: apiId.");
@@ -53,7 +53,7 @@ const serializeAws_restJson1CreateApiKeyCommand = async (input, context) => {
53
53
  if (labelValue.length <= 0) {
54
54
  throw new Error("Empty value provided for input HTTP label: apiId.");
55
55
  }
56
- resolvedPath = resolvedPath.replace("{apiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
56
+ resolvedPath = resolvedPath.replace("{apiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
57
57
  }
58
58
  else {
59
59
  throw new Error("No value provided for input HTTP label: apiId.");
@@ -85,7 +85,7 @@ const serializeAws_restJson1CreateDataSourceCommand = async (input, context) =>
85
85
  if (labelValue.length <= 0) {
86
86
  throw new Error("Empty value provided for input HTTP label: apiId.");
87
87
  }
88
- resolvedPath = resolvedPath.replace("{apiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
88
+ resolvedPath = resolvedPath.replace("{apiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
89
89
  }
90
90
  else {
91
91
  throw new Error("No value provided for input HTTP label: apiId.");
@@ -140,7 +140,7 @@ const serializeAws_restJson1CreateFunctionCommand = async (input, context) => {
140
140
  if (labelValue.length <= 0) {
141
141
  throw new Error("Empty value provided for input HTTP label: apiId.");
142
142
  }
143
- resolvedPath = resolvedPath.replace("{apiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
143
+ resolvedPath = resolvedPath.replace("{apiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
144
144
  }
145
145
  else {
146
146
  throw new Error("No value provided for input HTTP label: apiId.");
@@ -226,7 +226,7 @@ const serializeAws_restJson1CreateResolverCommand = async (input, context) => {
226
226
  if (labelValue.length <= 0) {
227
227
  throw new Error("Empty value provided for input HTTP label: apiId.");
228
228
  }
229
- resolvedPath = resolvedPath.replace("{apiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
229
+ resolvedPath = resolvedPath.replace("{apiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
230
230
  }
231
231
  else {
232
232
  throw new Error("No value provided for input HTTP label: apiId.");
@@ -236,7 +236,7 @@ const serializeAws_restJson1CreateResolverCommand = async (input, context) => {
236
236
  if (labelValue.length <= 0) {
237
237
  throw new Error("Empty value provided for input HTTP label: typeName.");
238
238
  }
239
- resolvedPath = resolvedPath.replace("{typeName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
239
+ resolvedPath = resolvedPath.replace("{typeName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
240
240
  }
241
241
  else {
242
242
  throw new Error("No value provided for input HTTP label: typeName.");
@@ -284,7 +284,7 @@ const serializeAws_restJson1CreateTypeCommand = async (input, context) => {
284
284
  if (labelValue.length <= 0) {
285
285
  throw new Error("Empty value provided for input HTTP label: apiId.");
286
286
  }
287
- resolvedPath = resolvedPath.replace("{apiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
287
+ resolvedPath = resolvedPath.replace("{apiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
288
288
  }
289
289
  else {
290
290
  throw new Error("No value provided for input HTTP label: apiId.");
@@ -314,7 +314,7 @@ const serializeAws_restJson1DeleteApiCacheCommand = async (input, context) => {
314
314
  if (labelValue.length <= 0) {
315
315
  throw new Error("Empty value provided for input HTTP label: apiId.");
316
316
  }
317
- resolvedPath = resolvedPath.replace("{apiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
317
+ resolvedPath = resolvedPath.replace("{apiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
318
318
  }
319
319
  else {
320
320
  throw new Error("No value provided for input HTTP label: apiId.");
@@ -340,7 +340,7 @@ const serializeAws_restJson1DeleteApiKeyCommand = async (input, context) => {
340
340
  if (labelValue.length <= 0) {
341
341
  throw new Error("Empty value provided for input HTTP label: apiId.");
342
342
  }
343
- resolvedPath = resolvedPath.replace("{apiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
343
+ resolvedPath = resolvedPath.replace("{apiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
344
344
  }
345
345
  else {
346
346
  throw new Error("No value provided for input HTTP label: apiId.");
@@ -350,7 +350,7 @@ const serializeAws_restJson1DeleteApiKeyCommand = async (input, context) => {
350
350
  if (labelValue.length <= 0) {
351
351
  throw new Error("Empty value provided for input HTTP label: id.");
352
352
  }
353
- resolvedPath = resolvedPath.replace("{id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
353
+ resolvedPath = resolvedPath.replace("{id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
354
354
  }
355
355
  else {
356
356
  throw new Error("No value provided for input HTTP label: id.");
@@ -376,7 +376,7 @@ const serializeAws_restJson1DeleteDataSourceCommand = async (input, context) =>
376
376
  if (labelValue.length <= 0) {
377
377
  throw new Error("Empty value provided for input HTTP label: apiId.");
378
378
  }
379
- resolvedPath = resolvedPath.replace("{apiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
379
+ resolvedPath = resolvedPath.replace("{apiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
380
380
  }
381
381
  else {
382
382
  throw new Error("No value provided for input HTTP label: apiId.");
@@ -386,7 +386,7 @@ const serializeAws_restJson1DeleteDataSourceCommand = async (input, context) =>
386
386
  if (labelValue.length <= 0) {
387
387
  throw new Error("Empty value provided for input HTTP label: name.");
388
388
  }
389
- resolvedPath = resolvedPath.replace("{name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
389
+ resolvedPath = resolvedPath.replace("{name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
390
390
  }
391
391
  else {
392
392
  throw new Error("No value provided for input HTTP label: name.");
@@ -412,7 +412,7 @@ const serializeAws_restJson1DeleteFunctionCommand = async (input, context) => {
412
412
  if (labelValue.length <= 0) {
413
413
  throw new Error("Empty value provided for input HTTP label: apiId.");
414
414
  }
415
- resolvedPath = resolvedPath.replace("{apiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
415
+ resolvedPath = resolvedPath.replace("{apiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
416
416
  }
417
417
  else {
418
418
  throw new Error("No value provided for input HTTP label: apiId.");
@@ -422,7 +422,7 @@ const serializeAws_restJson1DeleteFunctionCommand = async (input, context) => {
422
422
  if (labelValue.length <= 0) {
423
423
  throw new Error("Empty value provided for input HTTP label: functionId.");
424
424
  }
425
- resolvedPath = resolvedPath.replace("{functionId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
425
+ resolvedPath = resolvedPath.replace("{functionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
426
426
  }
427
427
  else {
428
428
  throw new Error("No value provided for input HTTP label: functionId.");
@@ -448,7 +448,7 @@ const serializeAws_restJson1DeleteGraphqlApiCommand = async (input, context) =>
448
448
  if (labelValue.length <= 0) {
449
449
  throw new Error("Empty value provided for input HTTP label: apiId.");
450
450
  }
451
- resolvedPath = resolvedPath.replace("{apiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
451
+ resolvedPath = resolvedPath.replace("{apiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
452
452
  }
453
453
  else {
454
454
  throw new Error("No value provided for input HTTP label: apiId.");
@@ -475,7 +475,7 @@ const serializeAws_restJson1DeleteResolverCommand = async (input, context) => {
475
475
  if (labelValue.length <= 0) {
476
476
  throw new Error("Empty value provided for input HTTP label: apiId.");
477
477
  }
478
- resolvedPath = resolvedPath.replace("{apiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
478
+ resolvedPath = resolvedPath.replace("{apiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
479
479
  }
480
480
  else {
481
481
  throw new Error("No value provided for input HTTP label: apiId.");
@@ -485,7 +485,7 @@ const serializeAws_restJson1DeleteResolverCommand = async (input, context) => {
485
485
  if (labelValue.length <= 0) {
486
486
  throw new Error("Empty value provided for input HTTP label: typeName.");
487
487
  }
488
- resolvedPath = resolvedPath.replace("{typeName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
488
+ resolvedPath = resolvedPath.replace("{typeName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
489
489
  }
490
490
  else {
491
491
  throw new Error("No value provided for input HTTP label: typeName.");
@@ -495,7 +495,7 @@ const serializeAws_restJson1DeleteResolverCommand = async (input, context) => {
495
495
  if (labelValue.length <= 0) {
496
496
  throw new Error("Empty value provided for input HTTP label: fieldName.");
497
497
  }
498
- resolvedPath = resolvedPath.replace("{fieldName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
498
+ resolvedPath = resolvedPath.replace("{fieldName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
499
499
  }
500
500
  else {
501
501
  throw new Error("No value provided for input HTTP label: fieldName.");
@@ -521,7 +521,7 @@ const serializeAws_restJson1DeleteTypeCommand = async (input, context) => {
521
521
  if (labelValue.length <= 0) {
522
522
  throw new Error("Empty value provided for input HTTP label: apiId.");
523
523
  }
524
- resolvedPath = resolvedPath.replace("{apiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
524
+ resolvedPath = resolvedPath.replace("{apiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
525
525
  }
526
526
  else {
527
527
  throw new Error("No value provided for input HTTP label: apiId.");
@@ -531,7 +531,7 @@ const serializeAws_restJson1DeleteTypeCommand = async (input, context) => {
531
531
  if (labelValue.length <= 0) {
532
532
  throw new Error("Empty value provided for input HTTP label: typeName.");
533
533
  }
534
- resolvedPath = resolvedPath.replace("{typeName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
534
+ resolvedPath = resolvedPath.replace("{typeName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
535
535
  }
536
536
  else {
537
537
  throw new Error("No value provided for input HTTP label: typeName.");
@@ -557,7 +557,7 @@ const serializeAws_restJson1FlushApiCacheCommand = async (input, context) => {
557
557
  if (labelValue.length <= 0) {
558
558
  throw new Error("Empty value provided for input HTTP label: apiId.");
559
559
  }
560
- resolvedPath = resolvedPath.replace("{apiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
560
+ resolvedPath = resolvedPath.replace("{apiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
561
561
  }
562
562
  else {
563
563
  throw new Error("No value provided for input HTTP label: apiId.");
@@ -583,7 +583,7 @@ const serializeAws_restJson1GetApiCacheCommand = async (input, context) => {
583
583
  if (labelValue.length <= 0) {
584
584
  throw new Error("Empty value provided for input HTTP label: apiId.");
585
585
  }
586
- resolvedPath = resolvedPath.replace("{apiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
586
+ resolvedPath = resolvedPath.replace("{apiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
587
587
  }
588
588
  else {
589
589
  throw new Error("No value provided for input HTTP label: apiId.");
@@ -609,7 +609,7 @@ const serializeAws_restJson1GetDataSourceCommand = async (input, context) => {
609
609
  if (labelValue.length <= 0) {
610
610
  throw new Error("Empty value provided for input HTTP label: apiId.");
611
611
  }
612
- resolvedPath = resolvedPath.replace("{apiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
612
+ resolvedPath = resolvedPath.replace("{apiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
613
613
  }
614
614
  else {
615
615
  throw new Error("No value provided for input HTTP label: apiId.");
@@ -619,7 +619,7 @@ const serializeAws_restJson1GetDataSourceCommand = async (input, context) => {
619
619
  if (labelValue.length <= 0) {
620
620
  throw new Error("Empty value provided for input HTTP label: name.");
621
621
  }
622
- resolvedPath = resolvedPath.replace("{name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
622
+ resolvedPath = resolvedPath.replace("{name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
623
623
  }
624
624
  else {
625
625
  throw new Error("No value provided for input HTTP label: name.");
@@ -645,7 +645,7 @@ const serializeAws_restJson1GetFunctionCommand = async (input, context) => {
645
645
  if (labelValue.length <= 0) {
646
646
  throw new Error("Empty value provided for input HTTP label: apiId.");
647
647
  }
648
- resolvedPath = resolvedPath.replace("{apiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
648
+ resolvedPath = resolvedPath.replace("{apiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
649
649
  }
650
650
  else {
651
651
  throw new Error("No value provided for input HTTP label: apiId.");
@@ -655,7 +655,7 @@ const serializeAws_restJson1GetFunctionCommand = async (input, context) => {
655
655
  if (labelValue.length <= 0) {
656
656
  throw new Error("Empty value provided for input HTTP label: functionId.");
657
657
  }
658
- resolvedPath = resolvedPath.replace("{functionId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
658
+ resolvedPath = resolvedPath.replace("{functionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
659
659
  }
660
660
  else {
661
661
  throw new Error("No value provided for input HTTP label: functionId.");
@@ -681,7 +681,7 @@ const serializeAws_restJson1GetGraphqlApiCommand = async (input, context) => {
681
681
  if (labelValue.length <= 0) {
682
682
  throw new Error("Empty value provided for input HTTP label: apiId.");
683
683
  }
684
- resolvedPath = resolvedPath.replace("{apiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
684
+ resolvedPath = resolvedPath.replace("{apiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
685
685
  }
686
686
  else {
687
687
  throw new Error("No value provided for input HTTP label: apiId.");
@@ -707,7 +707,7 @@ const serializeAws_restJson1GetIntrospectionSchemaCommand = async (input, contex
707
707
  if (labelValue.length <= 0) {
708
708
  throw new Error("Empty value provided for input HTTP label: apiId.");
709
709
  }
710
- resolvedPath = resolvedPath.replace("{apiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
710
+ resolvedPath = resolvedPath.replace("{apiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
711
711
  }
712
712
  else {
713
713
  throw new Error("No value provided for input HTTP label: apiId.");
@@ -739,7 +739,7 @@ const serializeAws_restJson1GetResolverCommand = async (input, context) => {
739
739
  if (labelValue.length <= 0) {
740
740
  throw new Error("Empty value provided for input HTTP label: apiId.");
741
741
  }
742
- resolvedPath = resolvedPath.replace("{apiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
742
+ resolvedPath = resolvedPath.replace("{apiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
743
743
  }
744
744
  else {
745
745
  throw new Error("No value provided for input HTTP label: apiId.");
@@ -749,7 +749,7 @@ const serializeAws_restJson1GetResolverCommand = async (input, context) => {
749
749
  if (labelValue.length <= 0) {
750
750
  throw new Error("Empty value provided for input HTTP label: typeName.");
751
751
  }
752
- resolvedPath = resolvedPath.replace("{typeName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
752
+ resolvedPath = resolvedPath.replace("{typeName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
753
753
  }
754
754
  else {
755
755
  throw new Error("No value provided for input HTTP label: typeName.");
@@ -759,7 +759,7 @@ const serializeAws_restJson1GetResolverCommand = async (input, context) => {
759
759
  if (labelValue.length <= 0) {
760
760
  throw new Error("Empty value provided for input HTTP label: fieldName.");
761
761
  }
762
- resolvedPath = resolvedPath.replace("{fieldName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
762
+ resolvedPath = resolvedPath.replace("{fieldName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
763
763
  }
764
764
  else {
765
765
  throw new Error("No value provided for input HTTP label: fieldName.");
@@ -785,7 +785,7 @@ const serializeAws_restJson1GetSchemaCreationStatusCommand = async (input, conte
785
785
  if (labelValue.length <= 0) {
786
786
  throw new Error("Empty value provided for input HTTP label: apiId.");
787
787
  }
788
- resolvedPath = resolvedPath.replace("{apiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
788
+ resolvedPath = resolvedPath.replace("{apiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
789
789
  }
790
790
  else {
791
791
  throw new Error("No value provided for input HTTP label: apiId.");
@@ -811,7 +811,7 @@ const serializeAws_restJson1GetTypeCommand = async (input, context) => {
811
811
  if (labelValue.length <= 0) {
812
812
  throw new Error("Empty value provided for input HTTP label: apiId.");
813
813
  }
814
- resolvedPath = resolvedPath.replace("{apiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
814
+ resolvedPath = resolvedPath.replace("{apiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
815
815
  }
816
816
  else {
817
817
  throw new Error("No value provided for input HTTP label: apiId.");
@@ -821,7 +821,7 @@ const serializeAws_restJson1GetTypeCommand = async (input, context) => {
821
821
  if (labelValue.length <= 0) {
822
822
  throw new Error("Empty value provided for input HTTP label: typeName.");
823
823
  }
824
- resolvedPath = resolvedPath.replace("{typeName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
824
+ resolvedPath = resolvedPath.replace("{typeName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
825
825
  }
826
826
  else {
827
827
  throw new Error("No value provided for input HTTP label: typeName.");
@@ -851,7 +851,7 @@ const serializeAws_restJson1ListApiKeysCommand = async (input, context) => {
851
851
  if (labelValue.length <= 0) {
852
852
  throw new Error("Empty value provided for input HTTP label: apiId.");
853
853
  }
854
- resolvedPath = resolvedPath.replace("{apiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
854
+ resolvedPath = resolvedPath.replace("{apiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
855
855
  }
856
856
  else {
857
857
  throw new Error("No value provided for input HTTP label: apiId.");
@@ -882,7 +882,7 @@ const serializeAws_restJson1ListDataSourcesCommand = async (input, context) => {
882
882
  if (labelValue.length <= 0) {
883
883
  throw new Error("Empty value provided for input HTTP label: apiId.");
884
884
  }
885
- resolvedPath = resolvedPath.replace("{apiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
885
+ resolvedPath = resolvedPath.replace("{apiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
886
886
  }
887
887
  else {
888
888
  throw new Error("No value provided for input HTTP label: apiId.");
@@ -913,7 +913,7 @@ const serializeAws_restJson1ListFunctionsCommand = async (input, context) => {
913
913
  if (labelValue.length <= 0) {
914
914
  throw new Error("Empty value provided for input HTTP label: apiId.");
915
915
  }
916
- resolvedPath = resolvedPath.replace("{apiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
916
+ resolvedPath = resolvedPath.replace("{apiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
917
917
  }
918
918
  else {
919
919
  throw new Error("No value provided for input HTTP label: apiId.");
@@ -966,7 +966,7 @@ const serializeAws_restJson1ListResolversCommand = async (input, context) => {
966
966
  if (labelValue.length <= 0) {
967
967
  throw new Error("Empty value provided for input HTTP label: apiId.");
968
968
  }
969
- resolvedPath = resolvedPath.replace("{apiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
969
+ resolvedPath = resolvedPath.replace("{apiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
970
970
  }
971
971
  else {
972
972
  throw new Error("No value provided for input HTTP label: apiId.");
@@ -976,7 +976,7 @@ const serializeAws_restJson1ListResolversCommand = async (input, context) => {
976
976
  if (labelValue.length <= 0) {
977
977
  throw new Error("Empty value provided for input HTTP label: typeName.");
978
978
  }
979
- resolvedPath = resolvedPath.replace("{typeName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
979
+ resolvedPath = resolvedPath.replace("{typeName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
980
980
  }
981
981
  else {
982
982
  throw new Error("No value provided for input HTTP label: typeName.");
@@ -1008,7 +1008,7 @@ const serializeAws_restJson1ListResolversByFunctionCommand = async (input, conte
1008
1008
  if (labelValue.length <= 0) {
1009
1009
  throw new Error("Empty value provided for input HTTP label: apiId.");
1010
1010
  }
1011
- resolvedPath = resolvedPath.replace("{apiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1011
+ resolvedPath = resolvedPath.replace("{apiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1012
1012
  }
1013
1013
  else {
1014
1014
  throw new Error("No value provided for input HTTP label: apiId.");
@@ -1018,7 +1018,7 @@ const serializeAws_restJson1ListResolversByFunctionCommand = async (input, conte
1018
1018
  if (labelValue.length <= 0) {
1019
1019
  throw new Error("Empty value provided for input HTTP label: functionId.");
1020
1020
  }
1021
- resolvedPath = resolvedPath.replace("{functionId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1021
+ resolvedPath = resolvedPath.replace("{functionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1022
1022
  }
1023
1023
  else {
1024
1024
  throw new Error("No value provided for input HTTP label: functionId.");
@@ -1049,7 +1049,7 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
1049
1049
  if (labelValue.length <= 0) {
1050
1050
  throw new Error("Empty value provided for input HTTP label: resourceArn.");
1051
1051
  }
1052
- resolvedPath = resolvedPath.replace("{resourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1052
+ resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1053
1053
  }
1054
1054
  else {
1055
1055
  throw new Error("No value provided for input HTTP label: resourceArn.");
@@ -1075,7 +1075,7 @@ const serializeAws_restJson1ListTypesCommand = async (input, context) => {
1075
1075
  if (labelValue.length <= 0) {
1076
1076
  throw new Error("Empty value provided for input HTTP label: apiId.");
1077
1077
  }
1078
- resolvedPath = resolvedPath.replace("{apiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1078
+ resolvedPath = resolvedPath.replace("{apiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1079
1079
  }
1080
1080
  else {
1081
1081
  throw new Error("No value provided for input HTTP label: apiId.");
@@ -1109,7 +1109,7 @@ const serializeAws_restJson1StartSchemaCreationCommand = async (input, context)
1109
1109
  if (labelValue.length <= 0) {
1110
1110
  throw new Error("Empty value provided for input HTTP label: apiId.");
1111
1111
  }
1112
- resolvedPath = resolvedPath.replace("{apiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1112
+ resolvedPath = resolvedPath.replace("{apiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1113
1113
  }
1114
1114
  else {
1115
1115
  throw new Error("No value provided for input HTTP label: apiId.");
@@ -1141,7 +1141,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
1141
1141
  if (labelValue.length <= 0) {
1142
1142
  throw new Error("Empty value provided for input HTTP label: resourceArn.");
1143
1143
  }
1144
- resolvedPath = resolvedPath.replace("{resourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1144
+ resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1145
1145
  }
1146
1146
  else {
1147
1147
  throw new Error("No value provided for input HTTP label: resourceArn.");
@@ -1170,7 +1170,7 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
1170
1170
  if (labelValue.length <= 0) {
1171
1171
  throw new Error("Empty value provided for input HTTP label: resourceArn.");
1172
1172
  }
1173
- resolvedPath = resolvedPath.replace("{resourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1173
+ resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1174
1174
  }
1175
1175
  else {
1176
1176
  throw new Error("No value provided for input HTTP label: resourceArn.");
@@ -1202,7 +1202,7 @@ const serializeAws_restJson1UpdateApiCacheCommand = async (input, context) => {
1202
1202
  if (labelValue.length <= 0) {
1203
1203
  throw new Error("Empty value provided for input HTTP label: apiId.");
1204
1204
  }
1205
- resolvedPath = resolvedPath.replace("{apiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1205
+ resolvedPath = resolvedPath.replace("{apiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1206
1206
  }
1207
1207
  else {
1208
1208
  throw new Error("No value provided for input HTTP label: apiId.");
@@ -1236,7 +1236,7 @@ const serializeAws_restJson1UpdateApiKeyCommand = async (input, context) => {
1236
1236
  if (labelValue.length <= 0) {
1237
1237
  throw new Error("Empty value provided for input HTTP label: apiId.");
1238
1238
  }
1239
- resolvedPath = resolvedPath.replace("{apiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1239
+ resolvedPath = resolvedPath.replace("{apiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1240
1240
  }
1241
1241
  else {
1242
1242
  throw new Error("No value provided for input HTTP label: apiId.");
@@ -1246,7 +1246,7 @@ const serializeAws_restJson1UpdateApiKeyCommand = async (input, context) => {
1246
1246
  if (labelValue.length <= 0) {
1247
1247
  throw new Error("Empty value provided for input HTTP label: id.");
1248
1248
  }
1249
- resolvedPath = resolvedPath.replace("{id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1249
+ resolvedPath = resolvedPath.replace("{id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1250
1250
  }
1251
1251
  else {
1252
1252
  throw new Error("No value provided for input HTTP label: id.");
@@ -1278,7 +1278,7 @@ const serializeAws_restJson1UpdateDataSourceCommand = async (input, context) =>
1278
1278
  if (labelValue.length <= 0) {
1279
1279
  throw new Error("Empty value provided for input HTTP label: apiId.");
1280
1280
  }
1281
- resolvedPath = resolvedPath.replace("{apiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1281
+ resolvedPath = resolvedPath.replace("{apiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1282
1282
  }
1283
1283
  else {
1284
1284
  throw new Error("No value provided for input HTTP label: apiId.");
@@ -1288,7 +1288,7 @@ const serializeAws_restJson1UpdateDataSourceCommand = async (input, context) =>
1288
1288
  if (labelValue.length <= 0) {
1289
1289
  throw new Error("Empty value provided for input HTTP label: name.");
1290
1290
  }
1291
- resolvedPath = resolvedPath.replace("{name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1291
+ resolvedPath = resolvedPath.replace("{name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1292
1292
  }
1293
1293
  else {
1294
1294
  throw new Error("No value provided for input HTTP label: name.");
@@ -1342,7 +1342,7 @@ const serializeAws_restJson1UpdateFunctionCommand = async (input, context) => {
1342
1342
  if (labelValue.length <= 0) {
1343
1343
  throw new Error("Empty value provided for input HTTP label: apiId.");
1344
1344
  }
1345
- resolvedPath = resolvedPath.replace("{apiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1345
+ resolvedPath = resolvedPath.replace("{apiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1346
1346
  }
1347
1347
  else {
1348
1348
  throw new Error("No value provided for input HTTP label: apiId.");
@@ -1352,7 +1352,7 @@ const serializeAws_restJson1UpdateFunctionCommand = async (input, context) => {
1352
1352
  if (labelValue.length <= 0) {
1353
1353
  throw new Error("Empty value provided for input HTTP label: functionId.");
1354
1354
  }
1355
- resolvedPath = resolvedPath.replace("{functionId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1355
+ resolvedPath = resolvedPath.replace("{functionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1356
1356
  }
1357
1357
  else {
1358
1358
  throw new Error("No value provided for input HTTP label: functionId.");
@@ -1394,7 +1394,7 @@ const serializeAws_restJson1UpdateGraphqlApiCommand = async (input, context) =>
1394
1394
  if (labelValue.length <= 0) {
1395
1395
  throw new Error("Empty value provided for input HTTP label: apiId.");
1396
1396
  }
1397
- resolvedPath = resolvedPath.replace("{apiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1397
+ resolvedPath = resolvedPath.replace("{apiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1398
1398
  }
1399
1399
  else {
1400
1400
  throw new Error("No value provided for input HTTP label: apiId.");
@@ -1447,7 +1447,7 @@ const serializeAws_restJson1UpdateResolverCommand = async (input, context) => {
1447
1447
  if (labelValue.length <= 0) {
1448
1448
  throw new Error("Empty value provided for input HTTP label: apiId.");
1449
1449
  }
1450
- resolvedPath = resolvedPath.replace("{apiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1450
+ resolvedPath = resolvedPath.replace("{apiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1451
1451
  }
1452
1452
  else {
1453
1453
  throw new Error("No value provided for input HTTP label: apiId.");
@@ -1457,7 +1457,7 @@ const serializeAws_restJson1UpdateResolverCommand = async (input, context) => {
1457
1457
  if (labelValue.length <= 0) {
1458
1458
  throw new Error("Empty value provided for input HTTP label: typeName.");
1459
1459
  }
1460
- resolvedPath = resolvedPath.replace("{typeName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1460
+ resolvedPath = resolvedPath.replace("{typeName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1461
1461
  }
1462
1462
  else {
1463
1463
  throw new Error("No value provided for input HTTP label: typeName.");
@@ -1467,7 +1467,7 @@ const serializeAws_restJson1UpdateResolverCommand = async (input, context) => {
1467
1467
  if (labelValue.length <= 0) {
1468
1468
  throw new Error("Empty value provided for input HTTP label: fieldName.");
1469
1469
  }
1470
- resolvedPath = resolvedPath.replace("{fieldName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1470
+ resolvedPath = resolvedPath.replace("{fieldName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1471
1471
  }
1472
1472
  else {
1473
1473
  throw new Error("No value provided for input HTTP label: fieldName.");
@@ -1514,7 +1514,7 @@ const serializeAws_restJson1UpdateTypeCommand = async (input, context) => {
1514
1514
  if (labelValue.length <= 0) {
1515
1515
  throw new Error("Empty value provided for input HTTP label: apiId.");
1516
1516
  }
1517
- resolvedPath = resolvedPath.replace("{apiId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1517
+ resolvedPath = resolvedPath.replace("{apiId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1518
1518
  }
1519
1519
  else {
1520
1520
  throw new Error("No value provided for input HTTP label: apiId.");
@@ -1524,7 +1524,7 @@ const serializeAws_restJson1UpdateTypeCommand = async (input, context) => {
1524
1524
  if (labelValue.length <= 0) {
1525
1525
  throw new Error("Empty value provided for input HTTP label: typeName.");
1526
1526
  }
1527
- resolvedPath = resolvedPath.replace("{typeName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1527
+ resolvedPath = resolvedPath.replace("{typeName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1528
1528
  }
1529
1529
  else {
1530
1530
  throw new Error("No value provided for input HTTP label: typeName.");
@@ -1553,7 +1553,7 @@ const deserializeAws_restJson1CreateApiCacheCommand = async (output, context) =>
1553
1553
  $metadata: deserializeMetadata(output),
1554
1554
  apiCache: undefined,
1555
1555
  };
1556
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1556
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1557
1557
  if (data.apiCache !== undefined && data.apiCache !== null) {
1558
1558
  contents.apiCache = deserializeAws_restJson1ApiCache(data.apiCache, context);
1559
1559
  }
@@ -1633,7 +1633,7 @@ const deserializeAws_restJson1CreateApiKeyCommand = async (output, context) => {
1633
1633
  $metadata: deserializeMetadata(output),
1634
1634
  apiKey: undefined,
1635
1635
  };
1636
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1636
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1637
1637
  if (data.apiKey !== undefined && data.apiKey !== null) {
1638
1638
  contents.apiKey = deserializeAws_restJson1ApiKey(data.apiKey, context);
1639
1639
  }
@@ -1729,7 +1729,7 @@ const deserializeAws_restJson1CreateDataSourceCommand = async (output, context)
1729
1729
  $metadata: deserializeMetadata(output),
1730
1730
  dataSource: undefined,
1731
1731
  };
1732
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1732
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1733
1733
  if (data.dataSource !== undefined && data.dataSource !== null) {
1734
1734
  contents.dataSource = deserializeAws_restJson1DataSource(data.dataSource, context);
1735
1735
  }
@@ -1809,7 +1809,7 @@ const deserializeAws_restJson1CreateFunctionCommand = async (output, context) =>
1809
1809
  $metadata: deserializeMetadata(output),
1810
1810
  functionConfiguration: undefined,
1811
1811
  };
1812
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1812
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1813
1813
  if (data.functionConfiguration !== undefined && data.functionConfiguration !== null) {
1814
1814
  contents.functionConfiguration = deserializeAws_restJson1FunctionConfiguration(data.functionConfiguration, context);
1815
1815
  }
@@ -1881,7 +1881,7 @@ const deserializeAws_restJson1CreateGraphqlApiCommand = async (output, context)
1881
1881
  $metadata: deserializeMetadata(output),
1882
1882
  graphqlApi: undefined,
1883
1883
  };
1884
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1884
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1885
1885
  if (data.graphqlApi !== undefined && data.graphqlApi !== null) {
1886
1886
  contents.graphqlApi = deserializeAws_restJson1GraphqlApi(data.graphqlApi, context);
1887
1887
  }
@@ -1969,7 +1969,7 @@ const deserializeAws_restJson1CreateResolverCommand = async (output, context) =>
1969
1969
  $metadata: deserializeMetadata(output),
1970
1970
  resolver: undefined,
1971
1971
  };
1972
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1972
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1973
1973
  if (data.resolver !== undefined && data.resolver !== null) {
1974
1974
  contents.resolver = deserializeAws_restJson1Resolver(data.resolver, context);
1975
1975
  }
@@ -2041,7 +2041,7 @@ const deserializeAws_restJson1CreateTypeCommand = async (output, context) => {
2041
2041
  $metadata: deserializeMetadata(output),
2042
2042
  type: undefined,
2043
2043
  };
2044
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2044
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2045
2045
  if (data.type !== undefined && data.type !== null) {
2046
2046
  contents.type = deserializeAws_restJson1Type(data.type, context);
2047
2047
  }
@@ -2713,7 +2713,7 @@ const deserializeAws_restJson1GetApiCacheCommand = async (output, context) => {
2713
2713
  $metadata: deserializeMetadata(output),
2714
2714
  apiCache: undefined,
2715
2715
  };
2716
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2716
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2717
2717
  if (data.apiCache !== undefined && data.apiCache !== null) {
2718
2718
  contents.apiCache = deserializeAws_restJson1ApiCache(data.apiCache, context);
2719
2719
  }
@@ -2793,7 +2793,7 @@ const deserializeAws_restJson1GetDataSourceCommand = async (output, context) =>
2793
2793
  $metadata: deserializeMetadata(output),
2794
2794
  dataSource: undefined,
2795
2795
  };
2796
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2796
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2797
2797
  if (data.dataSource !== undefined && data.dataSource !== null) {
2798
2798
  contents.dataSource = deserializeAws_restJson1DataSource(data.dataSource, context);
2799
2799
  }
@@ -2873,7 +2873,7 @@ const deserializeAws_restJson1GetFunctionCommand = async (output, context) => {
2873
2873
  $metadata: deserializeMetadata(output),
2874
2874
  functionConfiguration: undefined,
2875
2875
  };
2876
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2876
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2877
2877
  if (data.functionConfiguration !== undefined && data.functionConfiguration !== null) {
2878
2878
  contents.functionConfiguration = deserializeAws_restJson1FunctionConfiguration(data.functionConfiguration, context);
2879
2879
  }
@@ -2937,7 +2937,7 @@ const deserializeAws_restJson1GetGraphqlApiCommand = async (output, context) =>
2937
2937
  $metadata: deserializeMetadata(output),
2938
2938
  graphqlApi: undefined,
2939
2939
  };
2940
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2940
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2941
2941
  if (data.graphqlApi !== undefined && data.graphqlApi !== null) {
2942
2942
  contents.graphqlApi = deserializeAws_restJson1GraphqlApi(data.graphqlApi, context);
2943
2943
  }
@@ -3087,7 +3087,7 @@ const deserializeAws_restJson1GetResolverCommand = async (output, context) => {
3087
3087
  $metadata: deserializeMetadata(output),
3088
3088
  resolver: undefined,
3089
3089
  };
3090
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3090
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3091
3091
  if (data.resolver !== undefined && data.resolver !== null) {
3092
3092
  contents.resolver = deserializeAws_restJson1Resolver(data.resolver, context);
3093
3093
  }
@@ -3152,12 +3152,12 @@ const deserializeAws_restJson1GetSchemaCreationStatusCommand = async (output, co
3152
3152
  details: undefined,
3153
3153
  status: undefined,
3154
3154
  };
3155
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3155
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3156
3156
  if (data.details !== undefined && data.details !== null) {
3157
- contents.details = (0, smithy_client_1.expectString)(data.details);
3157
+ contents.details = smithy_client_1.expectString(data.details);
3158
3158
  }
3159
3159
  if (data.status !== undefined && data.status !== null) {
3160
- contents.status = (0, smithy_client_1.expectString)(data.status);
3160
+ contents.status = smithy_client_1.expectString(data.status);
3161
3161
  }
3162
3162
  return Promise.resolve(contents);
3163
3163
  };
@@ -3227,7 +3227,7 @@ const deserializeAws_restJson1GetTypeCommand = async (output, context) => {
3227
3227
  $metadata: deserializeMetadata(output),
3228
3228
  type: undefined,
3229
3229
  };
3230
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3230
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3231
3231
  if (data.type !== undefined && data.type !== null) {
3232
3232
  contents.type = deserializeAws_restJson1Type(data.type, context);
3233
3233
  }
@@ -3308,12 +3308,12 @@ const deserializeAws_restJson1ListApiKeysCommand = async (output, context) => {
3308
3308
  apiKeys: undefined,
3309
3309
  nextToken: undefined,
3310
3310
  };
3311
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3311
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3312
3312
  if (data.apiKeys !== undefined && data.apiKeys !== null) {
3313
3313
  contents.apiKeys = deserializeAws_restJson1ApiKeys(data.apiKeys, context);
3314
3314
  }
3315
3315
  if (data.nextToken !== undefined && data.nextToken !== null) {
3316
- contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
3316
+ contents.nextToken = smithy_client_1.expectString(data.nextToken);
3317
3317
  }
3318
3318
  return Promise.resolve(contents);
3319
3319
  };
@@ -3384,12 +3384,12 @@ const deserializeAws_restJson1ListDataSourcesCommand = async (output, context) =
3384
3384
  dataSources: undefined,
3385
3385
  nextToken: undefined,
3386
3386
  };
3387
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3387
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3388
3388
  if (data.dataSources !== undefined && data.dataSources !== null) {
3389
3389
  contents.dataSources = deserializeAws_restJson1DataSources(data.dataSources, context);
3390
3390
  }
3391
3391
  if (data.nextToken !== undefined && data.nextToken !== null) {
3392
- contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
3392
+ contents.nextToken = smithy_client_1.expectString(data.nextToken);
3393
3393
  }
3394
3394
  return Promise.resolve(contents);
3395
3395
  };
@@ -3460,12 +3460,12 @@ const deserializeAws_restJson1ListFunctionsCommand = async (output, context) =>
3460
3460
  functions: undefined,
3461
3461
  nextToken: undefined,
3462
3462
  };
3463
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3463
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3464
3464
  if (data.functions !== undefined && data.functions !== null) {
3465
3465
  contents.functions = deserializeAws_restJson1Functions(data.functions, context);
3466
3466
  }
3467
3467
  if (data.nextToken !== undefined && data.nextToken !== null) {
3468
- contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
3468
+ contents.nextToken = smithy_client_1.expectString(data.nextToken);
3469
3469
  }
3470
3470
  return Promise.resolve(contents);
3471
3471
  };
@@ -3536,12 +3536,12 @@ const deserializeAws_restJson1ListGraphqlApisCommand = async (output, context) =
3536
3536
  graphqlApis: undefined,
3537
3537
  nextToken: undefined,
3538
3538
  };
3539
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3539
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3540
3540
  if (data.graphqlApis !== undefined && data.graphqlApis !== null) {
3541
3541
  contents.graphqlApis = deserializeAws_restJson1GraphqlApis(data.graphqlApis, context);
3542
3542
  }
3543
3543
  if (data.nextToken !== undefined && data.nextToken !== null) {
3544
- contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
3544
+ contents.nextToken = smithy_client_1.expectString(data.nextToken);
3545
3545
  }
3546
3546
  return Promise.resolve(contents);
3547
3547
  };
@@ -3604,9 +3604,9 @@ const deserializeAws_restJson1ListResolversCommand = async (output, context) =>
3604
3604
  nextToken: undefined,
3605
3605
  resolvers: undefined,
3606
3606
  };
3607
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3607
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3608
3608
  if (data.nextToken !== undefined && data.nextToken !== null) {
3609
- contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
3609
+ contents.nextToken = smithy_client_1.expectString(data.nextToken);
3610
3610
  }
3611
3611
  if (data.resolvers !== undefined && data.resolvers !== null) {
3612
3612
  contents.resolvers = deserializeAws_restJson1Resolvers(data.resolvers, context);
@@ -3680,9 +3680,9 @@ const deserializeAws_restJson1ListResolversByFunctionCommand = async (output, co
3680
3680
  nextToken: undefined,
3681
3681
  resolvers: undefined,
3682
3682
  };
3683
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3683
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3684
3684
  if (data.nextToken !== undefined && data.nextToken !== null) {
3685
- contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
3685
+ contents.nextToken = smithy_client_1.expectString(data.nextToken);
3686
3686
  }
3687
3687
  if (data.resolvers !== undefined && data.resolvers !== null) {
3688
3688
  contents.resolvers = deserializeAws_restJson1Resolvers(data.resolvers, context);
@@ -3755,7 +3755,7 @@ const deserializeAws_restJson1ListTagsForResourceCommand = async (output, contex
3755
3755
  $metadata: deserializeMetadata(output),
3756
3756
  tags: undefined,
3757
3757
  };
3758
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3758
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3759
3759
  if (data.tags !== undefined && data.tags !== null) {
3760
3760
  contents.tags = deserializeAws_restJson1TagMap(data.tags, context);
3761
3761
  }
@@ -3844,9 +3844,9 @@ const deserializeAws_restJson1ListTypesCommand = async (output, context) => {
3844
3844
  nextToken: undefined,
3845
3845
  types: undefined,
3846
3846
  };
3847
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3847
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3848
3848
  if (data.nextToken !== undefined && data.nextToken !== null) {
3849
- contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
3849
+ contents.nextToken = smithy_client_1.expectString(data.nextToken);
3850
3850
  }
3851
3851
  if (data.types !== undefined && data.types !== null) {
3852
3852
  contents.types = deserializeAws_restJson1TypeList(data.types, context);
@@ -3927,9 +3927,9 @@ const deserializeAws_restJson1StartSchemaCreationCommand = async (output, contex
3927
3927
  $metadata: deserializeMetadata(output),
3928
3928
  status: undefined,
3929
3929
  };
3930
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3930
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3931
3931
  if (data.status !== undefined && data.status !== null) {
3932
- contents.status = (0, smithy_client_1.expectString)(data.status);
3932
+ contents.status = smithy_client_1.expectString(data.status);
3933
3933
  }
3934
3934
  return Promise.resolve(contents);
3935
3935
  };
@@ -4175,7 +4175,7 @@ const deserializeAws_restJson1UpdateApiCacheCommand = async (output, context) =>
4175
4175
  $metadata: deserializeMetadata(output),
4176
4176
  apiCache: undefined,
4177
4177
  };
4178
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
4178
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
4179
4179
  if (data.apiCache !== undefined && data.apiCache !== null) {
4180
4180
  contents.apiCache = deserializeAws_restJson1ApiCache(data.apiCache, context);
4181
4181
  }
@@ -4255,7 +4255,7 @@ const deserializeAws_restJson1UpdateApiKeyCommand = async (output, context) => {
4255
4255
  $metadata: deserializeMetadata(output),
4256
4256
  apiKey: undefined,
4257
4257
  };
4258
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
4258
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
4259
4259
  if (data.apiKey !== undefined && data.apiKey !== null) {
4260
4260
  contents.apiKey = deserializeAws_restJson1ApiKey(data.apiKey, context);
4261
4261
  }
@@ -4343,7 +4343,7 @@ const deserializeAws_restJson1UpdateDataSourceCommand = async (output, context)
4343
4343
  $metadata: deserializeMetadata(output),
4344
4344
  dataSource: undefined,
4345
4345
  };
4346
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
4346
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
4347
4347
  if (data.dataSource !== undefined && data.dataSource !== null) {
4348
4348
  contents.dataSource = deserializeAws_restJson1DataSource(data.dataSource, context);
4349
4349
  }
@@ -4423,7 +4423,7 @@ const deserializeAws_restJson1UpdateFunctionCommand = async (output, context) =>
4423
4423
  $metadata: deserializeMetadata(output),
4424
4424
  functionConfiguration: undefined,
4425
4425
  };
4426
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
4426
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
4427
4427
  if (data.functionConfiguration !== undefined && data.functionConfiguration !== null) {
4428
4428
  contents.functionConfiguration = deserializeAws_restJson1FunctionConfiguration(data.functionConfiguration, context);
4429
4429
  }
@@ -4495,7 +4495,7 @@ const deserializeAws_restJson1UpdateGraphqlApiCommand = async (output, context)
4495
4495
  $metadata: deserializeMetadata(output),
4496
4496
  graphqlApi: undefined,
4497
4497
  };
4498
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
4498
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
4499
4499
  if (data.graphqlApi !== undefined && data.graphqlApi !== null) {
4500
4500
  contents.graphqlApi = deserializeAws_restJson1GraphqlApi(data.graphqlApi, context);
4501
4501
  }
@@ -4583,7 +4583,7 @@ const deserializeAws_restJson1UpdateResolverCommand = async (output, context) =>
4583
4583
  $metadata: deserializeMetadata(output),
4584
4584
  resolver: undefined,
4585
4585
  };
4586
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
4586
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
4587
4587
  if (data.resolver !== undefined && data.resolver !== null) {
4588
4588
  contents.resolver = deserializeAws_restJson1Resolver(data.resolver, context);
4589
4589
  }
@@ -4655,7 +4655,7 @@ const deserializeAws_restJson1UpdateTypeCommand = async (output, context) => {
4655
4655
  $metadata: deserializeMetadata(output),
4656
4656
  type: undefined,
4657
4657
  };
4658
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
4658
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
4659
4659
  if (data.type !== undefined && data.type !== null) {
4660
4660
  contents.type = deserializeAws_restJson1Type(data.type, context);
4661
4661
  }
@@ -4736,7 +4736,7 @@ const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutpu
4736
4736
  };
4737
4737
  const data = parsedOutput.body;
4738
4738
  if (data.message !== undefined && data.message !== null) {
4739
- contents.message = (0, smithy_client_1.expectString)(data.message);
4739
+ contents.message = smithy_client_1.expectString(data.message);
4740
4740
  }
4741
4741
  return contents;
4742
4742
  };
@@ -4749,7 +4749,7 @@ const deserializeAws_restJson1ApiKeyLimitExceededExceptionResponse = async (pars
4749
4749
  };
4750
4750
  const data = parsedOutput.body;
4751
4751
  if (data.message !== undefined && data.message !== null) {
4752
- contents.message = (0, smithy_client_1.expectString)(data.message);
4752
+ contents.message = smithy_client_1.expectString(data.message);
4753
4753
  }
4754
4754
  return contents;
4755
4755
  };
@@ -4762,7 +4762,7 @@ const deserializeAws_restJson1ApiKeyValidityOutOfBoundsExceptionResponse = async
4762
4762
  };
4763
4763
  const data = parsedOutput.body;
4764
4764
  if (data.message !== undefined && data.message !== null) {
4765
- contents.message = (0, smithy_client_1.expectString)(data.message);
4765
+ contents.message = smithy_client_1.expectString(data.message);
4766
4766
  }
4767
4767
  return contents;
4768
4768
  };
@@ -4775,7 +4775,7 @@ const deserializeAws_restJson1ApiLimitExceededExceptionResponse = async (parsedO
4775
4775
  };
4776
4776
  const data = parsedOutput.body;
4777
4777
  if (data.message !== undefined && data.message !== null) {
4778
- contents.message = (0, smithy_client_1.expectString)(data.message);
4778
+ contents.message = smithy_client_1.expectString(data.message);
4779
4779
  }
4780
4780
  return contents;
4781
4781
  };
@@ -4788,7 +4788,7 @@ const deserializeAws_restJson1BadRequestExceptionResponse = async (parsedOutput,
4788
4788
  };
4789
4789
  const data = parsedOutput.body;
4790
4790
  if (data.message !== undefined && data.message !== null) {
4791
- contents.message = (0, smithy_client_1.expectString)(data.message);
4791
+ contents.message = smithy_client_1.expectString(data.message);
4792
4792
  }
4793
4793
  return contents;
4794
4794
  };
@@ -4801,7 +4801,7 @@ const deserializeAws_restJson1ConcurrentModificationExceptionResponse = async (p
4801
4801
  };
4802
4802
  const data = parsedOutput.body;
4803
4803
  if (data.message !== undefined && data.message !== null) {
4804
- contents.message = (0, smithy_client_1.expectString)(data.message);
4804
+ contents.message = smithy_client_1.expectString(data.message);
4805
4805
  }
4806
4806
  return contents;
4807
4807
  };
@@ -4814,7 +4814,7 @@ const deserializeAws_restJson1GraphQLSchemaExceptionResponse = async (parsedOutp
4814
4814
  };
4815
4815
  const data = parsedOutput.body;
4816
4816
  if (data.message !== undefined && data.message !== null) {
4817
- contents.message = (0, smithy_client_1.expectString)(data.message);
4817
+ contents.message = smithy_client_1.expectString(data.message);
4818
4818
  }
4819
4819
  return contents;
4820
4820
  };
@@ -4827,7 +4827,7 @@ const deserializeAws_restJson1InternalFailureExceptionResponse = async (parsedOu
4827
4827
  };
4828
4828
  const data = parsedOutput.body;
4829
4829
  if (data.message !== undefined && data.message !== null) {
4830
- contents.message = (0, smithy_client_1.expectString)(data.message);
4830
+ contents.message = smithy_client_1.expectString(data.message);
4831
4831
  }
4832
4832
  return contents;
4833
4833
  };
@@ -4840,7 +4840,7 @@ const deserializeAws_restJson1LimitExceededExceptionResponse = async (parsedOutp
4840
4840
  };
4841
4841
  const data = parsedOutput.body;
4842
4842
  if (data.message !== undefined && data.message !== null) {
4843
- contents.message = (0, smithy_client_1.expectString)(data.message);
4843
+ contents.message = smithy_client_1.expectString(data.message);
4844
4844
  }
4845
4845
  return contents;
4846
4846
  };
@@ -4853,7 +4853,7 @@ const deserializeAws_restJson1NotFoundExceptionResponse = async (parsedOutput, c
4853
4853
  };
4854
4854
  const data = parsedOutput.body;
4855
4855
  if (data.message !== undefined && data.message !== null) {
4856
- contents.message = (0, smithy_client_1.expectString)(data.message);
4856
+ contents.message = smithy_client_1.expectString(data.message);
4857
4857
  }
4858
4858
  return contents;
4859
4859
  };
@@ -4866,7 +4866,7 @@ const deserializeAws_restJson1UnauthorizedExceptionResponse = async (parsedOutpu
4866
4866
  };
4867
4867
  const data = parsedOutput.body;
4868
4868
  if (data.message !== undefined && data.message !== null) {
4869
- contents.message = (0, smithy_client_1.expectString)(data.message);
4869
+ contents.message = smithy_client_1.expectString(data.message);
4870
4870
  }
4871
4871
  return contents;
4872
4872
  };
@@ -5090,7 +5090,7 @@ const serializeAws_restJson1UserPoolConfig = (input, context) => {
5090
5090
  };
5091
5091
  const deserializeAws_restJson1AdditionalAuthenticationProvider = (output, context) => {
5092
5092
  return {
5093
- authenticationType: (0, smithy_client_1.expectString)(output.authenticationType),
5093
+ authenticationType: smithy_client_1.expectString(output.authenticationType),
5094
5094
  lambdaAuthorizerConfig: output.lambdaAuthorizerConfig !== undefined && output.lambdaAuthorizerConfig !== null
5095
5095
  ? deserializeAws_restJson1LambdaAuthorizerConfig(output.lambdaAuthorizerConfig, context)
5096
5096
  : undefined,
@@ -5114,20 +5114,20 @@ const deserializeAws_restJson1AdditionalAuthenticationProviders = (output, conte
5114
5114
  };
5115
5115
  const deserializeAws_restJson1ApiCache = (output, context) => {
5116
5116
  return {
5117
- apiCachingBehavior: (0, smithy_client_1.expectString)(output.apiCachingBehavior),
5118
- atRestEncryptionEnabled: (0, smithy_client_1.expectBoolean)(output.atRestEncryptionEnabled),
5119
- status: (0, smithy_client_1.expectString)(output.status),
5120
- transitEncryptionEnabled: (0, smithy_client_1.expectBoolean)(output.transitEncryptionEnabled),
5121
- ttl: (0, smithy_client_1.expectLong)(output.ttl),
5122
- type: (0, smithy_client_1.expectString)(output.type),
5117
+ apiCachingBehavior: smithy_client_1.expectString(output.apiCachingBehavior),
5118
+ atRestEncryptionEnabled: smithy_client_1.expectBoolean(output.atRestEncryptionEnabled),
5119
+ status: smithy_client_1.expectString(output.status),
5120
+ transitEncryptionEnabled: smithy_client_1.expectBoolean(output.transitEncryptionEnabled),
5121
+ ttl: smithy_client_1.expectLong(output.ttl),
5122
+ type: smithy_client_1.expectString(output.type),
5123
5123
  };
5124
5124
  };
5125
5125
  const deserializeAws_restJson1ApiKey = (output, context) => {
5126
5126
  return {
5127
- deletes: (0, smithy_client_1.expectLong)(output.deletes),
5128
- description: (0, smithy_client_1.expectString)(output.description),
5129
- expires: (0, smithy_client_1.expectLong)(output.expires),
5130
- id: (0, smithy_client_1.expectString)(output.id),
5127
+ deletes: smithy_client_1.expectLong(output.deletes),
5128
+ description: smithy_client_1.expectString(output.description),
5129
+ expires: smithy_client_1.expectLong(output.expires),
5130
+ id: smithy_client_1.expectString(output.id),
5131
5131
  };
5132
5132
  };
5133
5133
  const deserializeAws_restJson1ApiKeys = (output, context) => {
@@ -5142,7 +5142,7 @@ const deserializeAws_restJson1ApiKeys = (output, context) => {
5142
5142
  };
5143
5143
  const deserializeAws_restJson1AuthorizationConfig = (output, context) => {
5144
5144
  return {
5145
- authorizationType: (0, smithy_client_1.expectString)(output.authorizationType),
5145
+ authorizationType: smithy_client_1.expectString(output.authorizationType),
5146
5146
  awsIamConfig: output.awsIamConfig !== undefined && output.awsIamConfig !== null
5147
5147
  ? deserializeAws_restJson1AwsIamConfig(output.awsIamConfig, context)
5148
5148
  : undefined,
@@ -5150,8 +5150,8 @@ const deserializeAws_restJson1AuthorizationConfig = (output, context) => {
5150
5150
  };
5151
5151
  const deserializeAws_restJson1AwsIamConfig = (output, context) => {
5152
5152
  return {
5153
- signingRegion: (0, smithy_client_1.expectString)(output.signingRegion),
5154
- signingServiceName: (0, smithy_client_1.expectString)(output.signingServiceName),
5153
+ signingRegion: smithy_client_1.expectString(output.signingRegion),
5154
+ signingServiceName: smithy_client_1.expectString(output.signingServiceName),
5155
5155
  };
5156
5156
  };
5157
5157
  const deserializeAws_restJson1CachingConfig = (output, context) => {
@@ -5159,7 +5159,7 @@ const deserializeAws_restJson1CachingConfig = (output, context) => {
5159
5159
  cachingKeys: output.cachingKeys !== undefined && output.cachingKeys !== null
5160
5160
  ? deserializeAws_restJson1CachingKeys(output.cachingKeys, context)
5161
5161
  : undefined,
5162
- ttl: (0, smithy_client_1.expectLong)(output.ttl),
5162
+ ttl: smithy_client_1.expectLong(output.ttl),
5163
5163
  };
5164
5164
  };
5165
5165
  const deserializeAws_restJson1CachingKeys = (output, context) => {
@@ -5169,20 +5169,20 @@ const deserializeAws_restJson1CachingKeys = (output, context) => {
5169
5169
  if (entry === null) {
5170
5170
  return null;
5171
5171
  }
5172
- return (0, smithy_client_1.expectString)(entry);
5172
+ return smithy_client_1.expectString(entry);
5173
5173
  });
5174
5174
  };
5175
5175
  const deserializeAws_restJson1CognitoUserPoolConfig = (output, context) => {
5176
5176
  return {
5177
- appIdClientRegex: (0, smithy_client_1.expectString)(output.appIdClientRegex),
5178
- awsRegion: (0, smithy_client_1.expectString)(output.awsRegion),
5179
- userPoolId: (0, smithy_client_1.expectString)(output.userPoolId),
5177
+ appIdClientRegex: smithy_client_1.expectString(output.appIdClientRegex),
5178
+ awsRegion: smithy_client_1.expectString(output.awsRegion),
5179
+ userPoolId: smithy_client_1.expectString(output.userPoolId),
5180
5180
  };
5181
5181
  };
5182
5182
  const deserializeAws_restJson1DataSource = (output, context) => {
5183
5183
  return {
5184
- dataSourceArn: (0, smithy_client_1.expectString)(output.dataSourceArn),
5185
- description: (0, smithy_client_1.expectString)(output.description),
5184
+ dataSourceArn: smithy_client_1.expectString(output.dataSourceArn),
5185
+ description: smithy_client_1.expectString(output.description),
5186
5186
  dynamodbConfig: output.dynamodbConfig !== undefined && output.dynamodbConfig !== null
5187
5187
  ? deserializeAws_restJson1DynamodbDataSourceConfig(output.dynamodbConfig, context)
5188
5188
  : undefined,
@@ -5195,12 +5195,12 @@ const deserializeAws_restJson1DataSource = (output, context) => {
5195
5195
  lambdaConfig: output.lambdaConfig !== undefined && output.lambdaConfig !== null
5196
5196
  ? deserializeAws_restJson1LambdaDataSourceConfig(output.lambdaConfig, context)
5197
5197
  : undefined,
5198
- name: (0, smithy_client_1.expectString)(output.name),
5198
+ name: smithy_client_1.expectString(output.name),
5199
5199
  relationalDatabaseConfig: output.relationalDatabaseConfig !== undefined && output.relationalDatabaseConfig !== null
5200
5200
  ? deserializeAws_restJson1RelationalDatabaseDataSourceConfig(output.relationalDatabaseConfig, context)
5201
5201
  : undefined,
5202
- serviceRoleArn: (0, smithy_client_1.expectString)(output.serviceRoleArn),
5203
- type: (0, smithy_client_1.expectString)(output.type),
5202
+ serviceRoleArn: smithy_client_1.expectString(output.serviceRoleArn),
5203
+ type: smithy_client_1.expectString(output.type),
5204
5204
  };
5205
5205
  };
5206
5206
  const deserializeAws_restJson1DataSources = (output, context) => {
@@ -5215,38 +5215,38 @@ const deserializeAws_restJson1DataSources = (output, context) => {
5215
5215
  };
5216
5216
  const deserializeAws_restJson1DeltaSyncConfig = (output, context) => {
5217
5217
  return {
5218
- baseTableTTL: (0, smithy_client_1.expectLong)(output.baseTableTTL),
5219
- deltaSyncTableName: (0, smithy_client_1.expectString)(output.deltaSyncTableName),
5220
- deltaSyncTableTTL: (0, smithy_client_1.expectLong)(output.deltaSyncTableTTL),
5218
+ baseTableTTL: smithy_client_1.expectLong(output.baseTableTTL),
5219
+ deltaSyncTableName: smithy_client_1.expectString(output.deltaSyncTableName),
5220
+ deltaSyncTableTTL: smithy_client_1.expectLong(output.deltaSyncTableTTL),
5221
5221
  };
5222
5222
  };
5223
5223
  const deserializeAws_restJson1DynamodbDataSourceConfig = (output, context) => {
5224
5224
  return {
5225
- awsRegion: (0, smithy_client_1.expectString)(output.awsRegion),
5225
+ awsRegion: smithy_client_1.expectString(output.awsRegion),
5226
5226
  deltaSyncConfig: output.deltaSyncConfig !== undefined && output.deltaSyncConfig !== null
5227
5227
  ? deserializeAws_restJson1DeltaSyncConfig(output.deltaSyncConfig, context)
5228
5228
  : undefined,
5229
- tableName: (0, smithy_client_1.expectString)(output.tableName),
5230
- useCallerCredentials: (0, smithy_client_1.expectBoolean)(output.useCallerCredentials),
5231
- versioned: (0, smithy_client_1.expectBoolean)(output.versioned),
5229
+ tableName: smithy_client_1.expectString(output.tableName),
5230
+ useCallerCredentials: smithy_client_1.expectBoolean(output.useCallerCredentials),
5231
+ versioned: smithy_client_1.expectBoolean(output.versioned),
5232
5232
  };
5233
5233
  };
5234
5234
  const deserializeAws_restJson1ElasticsearchDataSourceConfig = (output, context) => {
5235
5235
  return {
5236
- awsRegion: (0, smithy_client_1.expectString)(output.awsRegion),
5237
- endpoint: (0, smithy_client_1.expectString)(output.endpoint),
5236
+ awsRegion: smithy_client_1.expectString(output.awsRegion),
5237
+ endpoint: smithy_client_1.expectString(output.endpoint),
5238
5238
  };
5239
5239
  };
5240
5240
  const deserializeAws_restJson1FunctionConfiguration = (output, context) => {
5241
5241
  return {
5242
- dataSourceName: (0, smithy_client_1.expectString)(output.dataSourceName),
5243
- description: (0, smithy_client_1.expectString)(output.description),
5244
- functionArn: (0, smithy_client_1.expectString)(output.functionArn),
5245
- functionId: (0, smithy_client_1.expectString)(output.functionId),
5246
- functionVersion: (0, smithy_client_1.expectString)(output.functionVersion),
5247
- name: (0, smithy_client_1.expectString)(output.name),
5248
- requestMappingTemplate: (0, smithy_client_1.expectString)(output.requestMappingTemplate),
5249
- responseMappingTemplate: (0, smithy_client_1.expectString)(output.responseMappingTemplate),
5242
+ dataSourceName: smithy_client_1.expectString(output.dataSourceName),
5243
+ description: smithy_client_1.expectString(output.description),
5244
+ functionArn: smithy_client_1.expectString(output.functionArn),
5245
+ functionId: smithy_client_1.expectString(output.functionId),
5246
+ functionVersion: smithy_client_1.expectString(output.functionVersion),
5247
+ name: smithy_client_1.expectString(output.name),
5248
+ requestMappingTemplate: smithy_client_1.expectString(output.requestMappingTemplate),
5249
+ responseMappingTemplate: smithy_client_1.expectString(output.responseMappingTemplate),
5250
5250
  syncConfig: output.syncConfig !== undefined && output.syncConfig !== null
5251
5251
  ? deserializeAws_restJson1SyncConfig(output.syncConfig, context)
5252
5252
  : undefined,
@@ -5269,7 +5269,7 @@ const deserializeAws_restJson1FunctionsIds = (output, context) => {
5269
5269
  if (entry === null) {
5270
5270
  return null;
5271
5271
  }
5272
- return (0, smithy_client_1.expectString)(entry);
5272
+ return smithy_client_1.expectString(entry);
5273
5273
  });
5274
5274
  };
5275
5275
  const deserializeAws_restJson1GraphqlApi = (output, context) => {
@@ -5277,16 +5277,16 @@ const deserializeAws_restJson1GraphqlApi = (output, context) => {
5277
5277
  additionalAuthenticationProviders: output.additionalAuthenticationProviders !== undefined && output.additionalAuthenticationProviders !== null
5278
5278
  ? deserializeAws_restJson1AdditionalAuthenticationProviders(output.additionalAuthenticationProviders, context)
5279
5279
  : undefined,
5280
- apiId: (0, smithy_client_1.expectString)(output.apiId),
5281
- arn: (0, smithy_client_1.expectString)(output.arn),
5282
- authenticationType: (0, smithy_client_1.expectString)(output.authenticationType),
5280
+ apiId: smithy_client_1.expectString(output.apiId),
5281
+ arn: smithy_client_1.expectString(output.arn),
5282
+ authenticationType: smithy_client_1.expectString(output.authenticationType),
5283
5283
  lambdaAuthorizerConfig: output.lambdaAuthorizerConfig !== undefined && output.lambdaAuthorizerConfig !== null
5284
5284
  ? deserializeAws_restJson1LambdaAuthorizerConfig(output.lambdaAuthorizerConfig, context)
5285
5285
  : undefined,
5286
5286
  logConfig: output.logConfig !== undefined && output.logConfig !== null
5287
5287
  ? deserializeAws_restJson1LogConfig(output.logConfig, context)
5288
5288
  : undefined,
5289
- name: (0, smithy_client_1.expectString)(output.name),
5289
+ name: smithy_client_1.expectString(output.name),
5290
5290
  openIDConnectConfig: output.openIDConnectConfig !== undefined && output.openIDConnectConfig !== null
5291
5291
  ? deserializeAws_restJson1OpenIDConnectConfig(output.openIDConnectConfig, context)
5292
5292
  : undefined,
@@ -5299,8 +5299,8 @@ const deserializeAws_restJson1GraphqlApi = (output, context) => {
5299
5299
  userPoolConfig: output.userPoolConfig !== undefined && output.userPoolConfig !== null
5300
5300
  ? deserializeAws_restJson1UserPoolConfig(output.userPoolConfig, context)
5301
5301
  : undefined,
5302
- wafWebAclArn: (0, smithy_client_1.expectString)(output.wafWebAclArn),
5303
- xrayEnabled: (0, smithy_client_1.expectBoolean)(output.xrayEnabled),
5302
+ wafWebAclArn: smithy_client_1.expectString(output.wafWebAclArn),
5303
+ xrayEnabled: smithy_client_1.expectBoolean(output.xrayEnabled),
5304
5304
  };
5305
5305
  };
5306
5306
  const deserializeAws_restJson1GraphqlApis = (output, context) => {
@@ -5318,31 +5318,31 @@ const deserializeAws_restJson1HttpDataSourceConfig = (output, context) => {
5318
5318
  authorizationConfig: output.authorizationConfig !== undefined && output.authorizationConfig !== null
5319
5319
  ? deserializeAws_restJson1AuthorizationConfig(output.authorizationConfig, context)
5320
5320
  : undefined,
5321
- endpoint: (0, smithy_client_1.expectString)(output.endpoint),
5321
+ endpoint: smithy_client_1.expectString(output.endpoint),
5322
5322
  };
5323
5323
  };
5324
5324
  const deserializeAws_restJson1LambdaAuthorizerConfig = (output, context) => {
5325
5325
  return {
5326
- authorizerResultTtlInSeconds: (0, smithy_client_1.expectInt32)(output.authorizerResultTtlInSeconds),
5327
- authorizerUri: (0, smithy_client_1.expectString)(output.authorizerUri),
5328
- identityValidationExpression: (0, smithy_client_1.expectString)(output.identityValidationExpression),
5326
+ authorizerResultTtlInSeconds: smithy_client_1.expectInt32(output.authorizerResultTtlInSeconds),
5327
+ authorizerUri: smithy_client_1.expectString(output.authorizerUri),
5328
+ identityValidationExpression: smithy_client_1.expectString(output.identityValidationExpression),
5329
5329
  };
5330
5330
  };
5331
5331
  const deserializeAws_restJson1LambdaConflictHandlerConfig = (output, context) => {
5332
5332
  return {
5333
- lambdaConflictHandlerArn: (0, smithy_client_1.expectString)(output.lambdaConflictHandlerArn),
5333
+ lambdaConflictHandlerArn: smithy_client_1.expectString(output.lambdaConflictHandlerArn),
5334
5334
  };
5335
5335
  };
5336
5336
  const deserializeAws_restJson1LambdaDataSourceConfig = (output, context) => {
5337
5337
  return {
5338
- lambdaFunctionArn: (0, smithy_client_1.expectString)(output.lambdaFunctionArn),
5338
+ lambdaFunctionArn: smithy_client_1.expectString(output.lambdaFunctionArn),
5339
5339
  };
5340
5340
  };
5341
5341
  const deserializeAws_restJson1LogConfig = (output, context) => {
5342
5342
  return {
5343
- cloudWatchLogsRoleArn: (0, smithy_client_1.expectString)(output.cloudWatchLogsRoleArn),
5344
- excludeVerboseContent: (0, smithy_client_1.expectBoolean)(output.excludeVerboseContent),
5345
- fieldLogLevel: (0, smithy_client_1.expectString)(output.fieldLogLevel),
5343
+ cloudWatchLogsRoleArn: smithy_client_1.expectString(output.cloudWatchLogsRoleArn),
5344
+ excludeVerboseContent: smithy_client_1.expectBoolean(output.excludeVerboseContent),
5345
+ fieldLogLevel: smithy_client_1.expectString(output.fieldLogLevel),
5346
5346
  };
5347
5347
  };
5348
5348
  const deserializeAws_restJson1MapOfStringToString = (output, context) => {
@@ -5352,16 +5352,16 @@ const deserializeAws_restJson1MapOfStringToString = (output, context) => {
5352
5352
  }
5353
5353
  return {
5354
5354
  ...acc,
5355
- [key]: (0, smithy_client_1.expectString)(value),
5355
+ [key]: smithy_client_1.expectString(value),
5356
5356
  };
5357
5357
  }, {});
5358
5358
  };
5359
5359
  const deserializeAws_restJson1OpenIDConnectConfig = (output, context) => {
5360
5360
  return {
5361
- authTTL: (0, smithy_client_1.expectLong)(output.authTTL),
5362
- clientId: (0, smithy_client_1.expectString)(output.clientId),
5363
- iatTTL: (0, smithy_client_1.expectLong)(output.iatTTL),
5364
- issuer: (0, smithy_client_1.expectString)(output.issuer),
5361
+ authTTL: smithy_client_1.expectLong(output.authTTL),
5362
+ clientId: smithy_client_1.expectString(output.clientId),
5363
+ iatTTL: smithy_client_1.expectLong(output.iatTTL),
5364
+ issuer: smithy_client_1.expectString(output.issuer),
5365
5365
  };
5366
5366
  };
5367
5367
  const deserializeAws_restJson1PipelineConfig = (output, context) => {
@@ -5373,11 +5373,11 @@ const deserializeAws_restJson1PipelineConfig = (output, context) => {
5373
5373
  };
5374
5374
  const deserializeAws_restJson1RdsHttpEndpointConfig = (output, context) => {
5375
5375
  return {
5376
- awsRegion: (0, smithy_client_1.expectString)(output.awsRegion),
5377
- awsSecretStoreArn: (0, smithy_client_1.expectString)(output.awsSecretStoreArn),
5378
- databaseName: (0, smithy_client_1.expectString)(output.databaseName),
5379
- dbClusterIdentifier: (0, smithy_client_1.expectString)(output.dbClusterIdentifier),
5380
- schema: (0, smithy_client_1.expectString)(output.schema),
5376
+ awsRegion: smithy_client_1.expectString(output.awsRegion),
5377
+ awsSecretStoreArn: smithy_client_1.expectString(output.awsSecretStoreArn),
5378
+ databaseName: smithy_client_1.expectString(output.databaseName),
5379
+ dbClusterIdentifier: smithy_client_1.expectString(output.dbClusterIdentifier),
5380
+ schema: smithy_client_1.expectString(output.schema),
5381
5381
  };
5382
5382
  };
5383
5383
  const deserializeAws_restJson1RelationalDatabaseDataSourceConfig = (output, context) => {
@@ -5385,7 +5385,7 @@ const deserializeAws_restJson1RelationalDatabaseDataSourceConfig = (output, cont
5385
5385
  rdsHttpEndpointConfig: output.rdsHttpEndpointConfig !== undefined && output.rdsHttpEndpointConfig !== null
5386
5386
  ? deserializeAws_restJson1RdsHttpEndpointConfig(output.rdsHttpEndpointConfig, context)
5387
5387
  : undefined,
5388
- relationalDatabaseSourceType: (0, smithy_client_1.expectString)(output.relationalDatabaseSourceType),
5388
+ relationalDatabaseSourceType: smithy_client_1.expectString(output.relationalDatabaseSourceType),
5389
5389
  };
5390
5390
  };
5391
5391
  const deserializeAws_restJson1Resolver = (output, context) => {
@@ -5393,19 +5393,19 @@ const deserializeAws_restJson1Resolver = (output, context) => {
5393
5393
  cachingConfig: output.cachingConfig !== undefined && output.cachingConfig !== null
5394
5394
  ? deserializeAws_restJson1CachingConfig(output.cachingConfig, context)
5395
5395
  : undefined,
5396
- dataSourceName: (0, smithy_client_1.expectString)(output.dataSourceName),
5397
- fieldName: (0, smithy_client_1.expectString)(output.fieldName),
5398
- kind: (0, smithy_client_1.expectString)(output.kind),
5396
+ dataSourceName: smithy_client_1.expectString(output.dataSourceName),
5397
+ fieldName: smithy_client_1.expectString(output.fieldName),
5398
+ kind: smithy_client_1.expectString(output.kind),
5399
5399
  pipelineConfig: output.pipelineConfig !== undefined && output.pipelineConfig !== null
5400
5400
  ? deserializeAws_restJson1PipelineConfig(output.pipelineConfig, context)
5401
5401
  : undefined,
5402
- requestMappingTemplate: (0, smithy_client_1.expectString)(output.requestMappingTemplate),
5403
- resolverArn: (0, smithy_client_1.expectString)(output.resolverArn),
5404
- responseMappingTemplate: (0, smithy_client_1.expectString)(output.responseMappingTemplate),
5402
+ requestMappingTemplate: smithy_client_1.expectString(output.requestMappingTemplate),
5403
+ resolverArn: smithy_client_1.expectString(output.resolverArn),
5404
+ responseMappingTemplate: smithy_client_1.expectString(output.responseMappingTemplate),
5405
5405
  syncConfig: output.syncConfig !== undefined && output.syncConfig !== null
5406
5406
  ? deserializeAws_restJson1SyncConfig(output.syncConfig, context)
5407
5407
  : undefined,
5408
- typeName: (0, smithy_client_1.expectString)(output.typeName),
5408
+ typeName: smithy_client_1.expectString(output.typeName),
5409
5409
  };
5410
5410
  };
5411
5411
  const deserializeAws_restJson1Resolvers = (output, context) => {
@@ -5420,8 +5420,8 @@ const deserializeAws_restJson1Resolvers = (output, context) => {
5420
5420
  };
5421
5421
  const deserializeAws_restJson1SyncConfig = (output, context) => {
5422
5422
  return {
5423
- conflictDetection: (0, smithy_client_1.expectString)(output.conflictDetection),
5424
- conflictHandler: (0, smithy_client_1.expectString)(output.conflictHandler),
5423
+ conflictDetection: smithy_client_1.expectString(output.conflictDetection),
5424
+ conflictHandler: smithy_client_1.expectString(output.conflictHandler),
5425
5425
  lambdaConflictHandlerConfig: output.lambdaConflictHandlerConfig !== undefined && output.lambdaConflictHandlerConfig !== null
5426
5426
  ? deserializeAws_restJson1LambdaConflictHandlerConfig(output.lambdaConflictHandlerConfig, context)
5427
5427
  : undefined,
@@ -5434,17 +5434,17 @@ const deserializeAws_restJson1TagMap = (output, context) => {
5434
5434
  }
5435
5435
  return {
5436
5436
  ...acc,
5437
- [key]: (0, smithy_client_1.expectString)(value),
5437
+ [key]: smithy_client_1.expectString(value),
5438
5438
  };
5439
5439
  }, {});
5440
5440
  };
5441
5441
  const deserializeAws_restJson1Type = (output, context) => {
5442
5442
  return {
5443
- arn: (0, smithy_client_1.expectString)(output.arn),
5444
- definition: (0, smithy_client_1.expectString)(output.definition),
5445
- description: (0, smithy_client_1.expectString)(output.description),
5446
- format: (0, smithy_client_1.expectString)(output.format),
5447
- name: (0, smithy_client_1.expectString)(output.name),
5443
+ arn: smithy_client_1.expectString(output.arn),
5444
+ definition: smithy_client_1.expectString(output.definition),
5445
+ description: smithy_client_1.expectString(output.description),
5446
+ format: smithy_client_1.expectString(output.format),
5447
+ name: smithy_client_1.expectString(output.name),
5448
5448
  };
5449
5449
  };
5450
5450
  const deserializeAws_restJson1TypeList = (output, context) => {
@@ -5459,10 +5459,10 @@ const deserializeAws_restJson1TypeList = (output, context) => {
5459
5459
  };
5460
5460
  const deserializeAws_restJson1UserPoolConfig = (output, context) => {
5461
5461
  return {
5462
- appIdClientRegex: (0, smithy_client_1.expectString)(output.appIdClientRegex),
5463
- awsRegion: (0, smithy_client_1.expectString)(output.awsRegion),
5464
- defaultAction: (0, smithy_client_1.expectString)(output.defaultAction),
5465
- userPoolId: (0, smithy_client_1.expectString)(output.userPoolId),
5462
+ appIdClientRegex: smithy_client_1.expectString(output.appIdClientRegex),
5463
+ awsRegion: smithy_client_1.expectString(output.awsRegion),
5464
+ defaultAction: smithy_client_1.expectString(output.defaultAction),
5465
+ userPoolId: smithy_client_1.expectString(output.userPoolId),
5466
5466
  };
5467
5467
  };
5468
5468
  const deserializeMetadata = (output) => {