@aws-sdk/client-lex-model-building-service 3.53.0 → 3.55.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (71) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist-cjs/LexModelBuildingServiceClient.js +13 -13
  3. package/dist-cjs/commands/CreateBotVersionCommand.js +3 -3
  4. package/dist-cjs/commands/CreateIntentVersionCommand.js +3 -3
  5. package/dist-cjs/commands/CreateSlotTypeVersionCommand.js +3 -3
  6. package/dist-cjs/commands/DeleteBotAliasCommand.js +3 -3
  7. package/dist-cjs/commands/DeleteBotChannelAssociationCommand.js +3 -3
  8. package/dist-cjs/commands/DeleteBotCommand.js +3 -3
  9. package/dist-cjs/commands/DeleteBotVersionCommand.js +3 -3
  10. package/dist-cjs/commands/DeleteIntentCommand.js +3 -3
  11. package/dist-cjs/commands/DeleteIntentVersionCommand.js +3 -3
  12. package/dist-cjs/commands/DeleteSlotTypeCommand.js +3 -3
  13. package/dist-cjs/commands/DeleteSlotTypeVersionCommand.js +3 -3
  14. package/dist-cjs/commands/DeleteUtterancesCommand.js +3 -3
  15. package/dist-cjs/commands/GetBotAliasCommand.js +3 -3
  16. package/dist-cjs/commands/GetBotAliasesCommand.js +3 -3
  17. package/dist-cjs/commands/GetBotChannelAssociationCommand.js +3 -3
  18. package/dist-cjs/commands/GetBotChannelAssociationsCommand.js +3 -3
  19. package/dist-cjs/commands/GetBotCommand.js +3 -3
  20. package/dist-cjs/commands/GetBotVersionsCommand.js +3 -3
  21. package/dist-cjs/commands/GetBotsCommand.js +3 -3
  22. package/dist-cjs/commands/GetBuiltinIntentCommand.js +3 -3
  23. package/dist-cjs/commands/GetBuiltinIntentsCommand.js +3 -3
  24. package/dist-cjs/commands/GetBuiltinSlotTypesCommand.js +3 -3
  25. package/dist-cjs/commands/GetExportCommand.js +3 -3
  26. package/dist-cjs/commands/GetImportCommand.js +3 -3
  27. package/dist-cjs/commands/GetIntentCommand.js +3 -3
  28. package/dist-cjs/commands/GetIntentVersionsCommand.js +3 -3
  29. package/dist-cjs/commands/GetIntentsCommand.js +3 -3
  30. package/dist-cjs/commands/GetMigrationCommand.js +3 -3
  31. package/dist-cjs/commands/GetMigrationsCommand.js +3 -3
  32. package/dist-cjs/commands/GetSlotTypeCommand.js +3 -3
  33. package/dist-cjs/commands/GetSlotTypeVersionsCommand.js +3 -3
  34. package/dist-cjs/commands/GetSlotTypesCommand.js +3 -3
  35. package/dist-cjs/commands/GetUtterancesViewCommand.js +3 -3
  36. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  37. package/dist-cjs/commands/PutBotAliasCommand.js +3 -3
  38. package/dist-cjs/commands/PutBotCommand.js +3 -3
  39. package/dist-cjs/commands/PutIntentCommand.js +3 -3
  40. package/dist-cjs/commands/PutSlotTypeCommand.js +3 -3
  41. package/dist-cjs/commands/StartImportCommand.js +3 -3
  42. package/dist-cjs/commands/StartMigrationCommand.js +3 -3
  43. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  44. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  45. package/dist-cjs/endpoints.js +1 -1
  46. package/dist-cjs/protocols/Aws_restJson1.js +399 -399
  47. package/dist-cjs/runtimeConfig.browser.js +4 -4
  48. package/dist-cjs/runtimeConfig.js +9 -9
  49. package/dist-cjs/runtimeConfig.native.js +1 -1
  50. package/dist-es/LexModelBuildingService.js +42 -42
  51. package/dist-es/pagination/GetBotAliasesPaginator.js +4 -4
  52. package/dist-es/pagination/GetBotChannelAssociationsPaginator.js +4 -4
  53. package/dist-es/pagination/GetBotVersionsPaginator.js +4 -4
  54. package/dist-es/pagination/GetBotsPaginator.js +4 -4
  55. package/dist-es/pagination/GetBuiltinIntentsPaginator.js +4 -4
  56. package/dist-es/pagination/GetBuiltinSlotTypesPaginator.js +4 -4
  57. package/dist-es/pagination/GetIntentVersionsPaginator.js +4 -4
  58. package/dist-es/pagination/GetIntentsPaginator.js +4 -4
  59. package/dist-es/pagination/GetMigrationsPaginator.js +4 -4
  60. package/dist-es/pagination/GetSlotTypeVersionsPaginator.js +4 -4
  61. package/dist-es/pagination/GetSlotTypesPaginator.js +4 -4
  62. package/dist-es/protocols/Aws_restJson1.js +42 -42
  63. package/dist-types/LexModelBuildingServiceClient.d.ts +2 -2
  64. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  65. package/dist-types/runtimeConfig.d.ts +1 -1
  66. package/dist-types/runtimeConfig.native.d.ts +3 -3
  67. package/dist-types/ts3.4/LexModelBuildingServiceClient.d.ts +2 -2
  68. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  69. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  70. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
  71. package/package.json +34 -34
@@ -17,7 +17,7 @@ const serializeAws_restJson1CreateBotVersionCommand = async (input, context) =>
17
17
  if (labelValue.length <= 0) {
18
18
  throw new Error("Empty value provided for input HTTP label: name.");
19
19
  }
20
- resolvedPath = resolvedPath.replace("{name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
20
+ resolvedPath = resolvedPath.replace("{name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
21
21
  }
22
22
  else {
23
23
  throw new Error("No value provided for input HTTP label: name.");
@@ -48,7 +48,7 @@ const serializeAws_restJson1CreateIntentVersionCommand = async (input, context)
48
48
  if (labelValue.length <= 0) {
49
49
  throw new Error("Empty value provided for input HTTP label: name.");
50
50
  }
51
- resolvedPath = resolvedPath.replace("{name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
51
+ resolvedPath = resolvedPath.replace("{name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
52
52
  }
53
53
  else {
54
54
  throw new Error("No value provided for input HTTP label: name.");
@@ -79,7 +79,7 @@ const serializeAws_restJson1CreateSlotTypeVersionCommand = async (input, context
79
79
  if (labelValue.length <= 0) {
80
80
  throw new Error("Empty value provided for input HTTP label: name.");
81
81
  }
82
- resolvedPath = resolvedPath.replace("{name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
82
+ resolvedPath = resolvedPath.replace("{name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
83
83
  }
84
84
  else {
85
85
  throw new Error("No value provided for input HTTP label: name.");
@@ -108,7 +108,7 @@ const serializeAws_restJson1DeleteBotCommand = async (input, context) => {
108
108
  if (labelValue.length <= 0) {
109
109
  throw new Error("Empty value provided for input HTTP label: name.");
110
110
  }
111
- resolvedPath = resolvedPath.replace("{name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
111
+ resolvedPath = resolvedPath.replace("{name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
112
112
  }
113
113
  else {
114
114
  throw new Error("No value provided for input HTTP label: name.");
@@ -134,7 +134,7 @@ const serializeAws_restJson1DeleteBotAliasCommand = async (input, context) => {
134
134
  if (labelValue.length <= 0) {
135
135
  throw new Error("Empty value provided for input HTTP label: name.");
136
136
  }
137
- resolvedPath = resolvedPath.replace("{name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
137
+ resolvedPath = resolvedPath.replace("{name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
138
138
  }
139
139
  else {
140
140
  throw new Error("No value provided for input HTTP label: name.");
@@ -144,7 +144,7 @@ const serializeAws_restJson1DeleteBotAliasCommand = async (input, context) => {
144
144
  if (labelValue.length <= 0) {
145
145
  throw new Error("Empty value provided for input HTTP label: botName.");
146
146
  }
147
- resolvedPath = resolvedPath.replace("{botName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
147
+ resolvedPath = resolvedPath.replace("{botName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
148
148
  }
149
149
  else {
150
150
  throw new Error("No value provided for input HTTP label: botName.");
@@ -171,7 +171,7 @@ const serializeAws_restJson1DeleteBotChannelAssociationCommand = async (input, c
171
171
  if (labelValue.length <= 0) {
172
172
  throw new Error("Empty value provided for input HTTP label: name.");
173
173
  }
174
- resolvedPath = resolvedPath.replace("{name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
174
+ resolvedPath = resolvedPath.replace("{name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
175
175
  }
176
176
  else {
177
177
  throw new Error("No value provided for input HTTP label: name.");
@@ -181,7 +181,7 @@ const serializeAws_restJson1DeleteBotChannelAssociationCommand = async (input, c
181
181
  if (labelValue.length <= 0) {
182
182
  throw new Error("Empty value provided for input HTTP label: botName.");
183
183
  }
184
- resolvedPath = resolvedPath.replace("{botName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
184
+ resolvedPath = resolvedPath.replace("{botName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
185
185
  }
186
186
  else {
187
187
  throw new Error("No value provided for input HTTP label: botName.");
@@ -191,7 +191,7 @@ const serializeAws_restJson1DeleteBotChannelAssociationCommand = async (input, c
191
191
  if (labelValue.length <= 0) {
192
192
  throw new Error("Empty value provided for input HTTP label: botAlias.");
193
193
  }
194
- resolvedPath = resolvedPath.replace("{botAlias}", smithy_client_1.extendedEncodeURIComponent(labelValue));
194
+ resolvedPath = resolvedPath.replace("{botAlias}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
195
195
  }
196
196
  else {
197
197
  throw new Error("No value provided for input HTTP label: botAlias.");
@@ -217,7 +217,7 @@ const serializeAws_restJson1DeleteBotVersionCommand = async (input, context) =>
217
217
  if (labelValue.length <= 0) {
218
218
  throw new Error("Empty value provided for input HTTP label: name.");
219
219
  }
220
- resolvedPath = resolvedPath.replace("{name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
220
+ resolvedPath = resolvedPath.replace("{name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
221
221
  }
222
222
  else {
223
223
  throw new Error("No value provided for input HTTP label: name.");
@@ -227,7 +227,7 @@ const serializeAws_restJson1DeleteBotVersionCommand = async (input, context) =>
227
227
  if (labelValue.length <= 0) {
228
228
  throw new Error("Empty value provided for input HTTP label: version.");
229
229
  }
230
- resolvedPath = resolvedPath.replace("{version}", smithy_client_1.extendedEncodeURIComponent(labelValue));
230
+ resolvedPath = resolvedPath.replace("{version}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
231
231
  }
232
232
  else {
233
233
  throw new Error("No value provided for input HTTP label: version.");
@@ -253,7 +253,7 @@ const serializeAws_restJson1DeleteIntentCommand = async (input, context) => {
253
253
  if (labelValue.length <= 0) {
254
254
  throw new Error("Empty value provided for input HTTP label: name.");
255
255
  }
256
- resolvedPath = resolvedPath.replace("{name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
256
+ resolvedPath = resolvedPath.replace("{name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
257
257
  }
258
258
  else {
259
259
  throw new Error("No value provided for input HTTP label: name.");
@@ -279,7 +279,7 @@ const serializeAws_restJson1DeleteIntentVersionCommand = async (input, context)
279
279
  if (labelValue.length <= 0) {
280
280
  throw new Error("Empty value provided for input HTTP label: name.");
281
281
  }
282
- resolvedPath = resolvedPath.replace("{name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
282
+ resolvedPath = resolvedPath.replace("{name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
283
283
  }
284
284
  else {
285
285
  throw new Error("No value provided for input HTTP label: name.");
@@ -289,7 +289,7 @@ const serializeAws_restJson1DeleteIntentVersionCommand = async (input, context)
289
289
  if (labelValue.length <= 0) {
290
290
  throw new Error("Empty value provided for input HTTP label: version.");
291
291
  }
292
- resolvedPath = resolvedPath.replace("{version}", smithy_client_1.extendedEncodeURIComponent(labelValue));
292
+ resolvedPath = resolvedPath.replace("{version}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
293
293
  }
294
294
  else {
295
295
  throw new Error("No value provided for input HTTP label: version.");
@@ -315,7 +315,7 @@ const serializeAws_restJson1DeleteSlotTypeCommand = async (input, context) => {
315
315
  if (labelValue.length <= 0) {
316
316
  throw new Error("Empty value provided for input HTTP label: name.");
317
317
  }
318
- resolvedPath = resolvedPath.replace("{name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
318
+ resolvedPath = resolvedPath.replace("{name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
319
319
  }
320
320
  else {
321
321
  throw new Error("No value provided for input HTTP label: name.");
@@ -341,7 +341,7 @@ const serializeAws_restJson1DeleteSlotTypeVersionCommand = async (input, context
341
341
  if (labelValue.length <= 0) {
342
342
  throw new Error("Empty value provided for input HTTP label: name.");
343
343
  }
344
- resolvedPath = resolvedPath.replace("{name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
344
+ resolvedPath = resolvedPath.replace("{name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
345
345
  }
346
346
  else {
347
347
  throw new Error("No value provided for input HTTP label: name.");
@@ -351,7 +351,7 @@ const serializeAws_restJson1DeleteSlotTypeVersionCommand = async (input, context
351
351
  if (labelValue.length <= 0) {
352
352
  throw new Error("Empty value provided for input HTTP label: version.");
353
353
  }
354
- resolvedPath = resolvedPath.replace("{version}", smithy_client_1.extendedEncodeURIComponent(labelValue));
354
+ resolvedPath = resolvedPath.replace("{version}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
355
355
  }
356
356
  else {
357
357
  throw new Error("No value provided for input HTTP label: version.");
@@ -377,7 +377,7 @@ const serializeAws_restJson1DeleteUtterancesCommand = async (input, context) =>
377
377
  if (labelValue.length <= 0) {
378
378
  throw new Error("Empty value provided for input HTTP label: botName.");
379
379
  }
380
- resolvedPath = resolvedPath.replace("{botName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
380
+ resolvedPath = resolvedPath.replace("{botName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
381
381
  }
382
382
  else {
383
383
  throw new Error("No value provided for input HTTP label: botName.");
@@ -387,7 +387,7 @@ const serializeAws_restJson1DeleteUtterancesCommand = async (input, context) =>
387
387
  if (labelValue.length <= 0) {
388
388
  throw new Error("Empty value provided for input HTTP label: userId.");
389
389
  }
390
- resolvedPath = resolvedPath.replace("{userId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
390
+ resolvedPath = resolvedPath.replace("{userId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
391
391
  }
392
392
  else {
393
393
  throw new Error("No value provided for input HTTP label: userId.");
@@ -413,7 +413,7 @@ const serializeAws_restJson1GetBotCommand = async (input, context) => {
413
413
  if (labelValue.length <= 0) {
414
414
  throw new Error("Empty value provided for input HTTP label: name.");
415
415
  }
416
- resolvedPath = resolvedPath.replace("{name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
416
+ resolvedPath = resolvedPath.replace("{name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
417
417
  }
418
418
  else {
419
419
  throw new Error("No value provided for input HTTP label: name.");
@@ -423,7 +423,7 @@ const serializeAws_restJson1GetBotCommand = async (input, context) => {
423
423
  if (labelValue.length <= 0) {
424
424
  throw new Error("Empty value provided for input HTTP label: versionOrAlias.");
425
425
  }
426
- resolvedPath = resolvedPath.replace("{versionOrAlias}", smithy_client_1.extendedEncodeURIComponent(labelValue));
426
+ resolvedPath = resolvedPath.replace("{versionOrAlias}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
427
427
  }
428
428
  else {
429
429
  throw new Error("No value provided for input HTTP label: versionOrAlias.");
@@ -449,7 +449,7 @@ const serializeAws_restJson1GetBotAliasCommand = async (input, context) => {
449
449
  if (labelValue.length <= 0) {
450
450
  throw new Error("Empty value provided for input HTTP label: name.");
451
451
  }
452
- resolvedPath = resolvedPath.replace("{name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
452
+ resolvedPath = resolvedPath.replace("{name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
453
453
  }
454
454
  else {
455
455
  throw new Error("No value provided for input HTTP label: name.");
@@ -459,7 +459,7 @@ const serializeAws_restJson1GetBotAliasCommand = async (input, context) => {
459
459
  if (labelValue.length <= 0) {
460
460
  throw new Error("Empty value provided for input HTTP label: botName.");
461
461
  }
462
- resolvedPath = resolvedPath.replace("{botName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
462
+ resolvedPath = resolvedPath.replace("{botName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
463
463
  }
464
464
  else {
465
465
  throw new Error("No value provided for input HTTP label: botName.");
@@ -485,7 +485,7 @@ const serializeAws_restJson1GetBotAliasesCommand = async (input, context) => {
485
485
  if (labelValue.length <= 0) {
486
486
  throw new Error("Empty value provided for input HTTP label: botName.");
487
487
  }
488
- resolvedPath = resolvedPath.replace("{botName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
488
+ resolvedPath = resolvedPath.replace("{botName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
489
489
  }
490
490
  else {
491
491
  throw new Error("No value provided for input HTTP label: botName.");
@@ -518,7 +518,7 @@ const serializeAws_restJson1GetBotChannelAssociationCommand = async (input, cont
518
518
  if (labelValue.length <= 0) {
519
519
  throw new Error("Empty value provided for input HTTP label: name.");
520
520
  }
521
- resolvedPath = resolvedPath.replace("{name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
521
+ resolvedPath = resolvedPath.replace("{name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
522
522
  }
523
523
  else {
524
524
  throw new Error("No value provided for input HTTP label: name.");
@@ -528,7 +528,7 @@ const serializeAws_restJson1GetBotChannelAssociationCommand = async (input, cont
528
528
  if (labelValue.length <= 0) {
529
529
  throw new Error("Empty value provided for input HTTP label: botName.");
530
530
  }
531
- resolvedPath = resolvedPath.replace("{botName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
531
+ resolvedPath = resolvedPath.replace("{botName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
532
532
  }
533
533
  else {
534
534
  throw new Error("No value provided for input HTTP label: botName.");
@@ -538,7 +538,7 @@ const serializeAws_restJson1GetBotChannelAssociationCommand = async (input, cont
538
538
  if (labelValue.length <= 0) {
539
539
  throw new Error("Empty value provided for input HTTP label: botAlias.");
540
540
  }
541
- resolvedPath = resolvedPath.replace("{botAlias}", smithy_client_1.extendedEncodeURIComponent(labelValue));
541
+ resolvedPath = resolvedPath.replace("{botAlias}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
542
542
  }
543
543
  else {
544
544
  throw new Error("No value provided for input HTTP label: botAlias.");
@@ -565,7 +565,7 @@ const serializeAws_restJson1GetBotChannelAssociationsCommand = async (input, con
565
565
  if (labelValue.length <= 0) {
566
566
  throw new Error("Empty value provided for input HTTP label: botName.");
567
567
  }
568
- resolvedPath = resolvedPath.replace("{botName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
568
+ resolvedPath = resolvedPath.replace("{botName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
569
569
  }
570
570
  else {
571
571
  throw new Error("No value provided for input HTTP label: botName.");
@@ -575,7 +575,7 @@ const serializeAws_restJson1GetBotChannelAssociationsCommand = async (input, con
575
575
  if (labelValue.length <= 0) {
576
576
  throw new Error("Empty value provided for input HTTP label: botAlias.");
577
577
  }
578
- resolvedPath = resolvedPath.replace("{botAlias}", smithy_client_1.extendedEncodeURIComponent(labelValue));
578
+ resolvedPath = resolvedPath.replace("{botAlias}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
579
579
  }
580
580
  else {
581
581
  throw new Error("No value provided for input HTTP label: botAlias.");
@@ -629,7 +629,7 @@ const serializeAws_restJson1GetBotVersionsCommand = async (input, context) => {
629
629
  if (labelValue.length <= 0) {
630
630
  throw new Error("Empty value provided for input HTTP label: name.");
631
631
  }
632
- resolvedPath = resolvedPath.replace("{name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
632
+ resolvedPath = resolvedPath.replace("{name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
633
633
  }
634
634
  else {
635
635
  throw new Error("No value provided for input HTTP label: name.");
@@ -660,7 +660,7 @@ const serializeAws_restJson1GetBuiltinIntentCommand = async (input, context) =>
660
660
  if (labelValue.length <= 0) {
661
661
  throw new Error("Empty value provided for input HTTP label: signature.");
662
662
  }
663
- resolvedPath = resolvedPath.replace("{signature}", smithy_client_1.extendedEncodeURIComponent(labelValue));
663
+ resolvedPath = resolvedPath.replace("{signature}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
664
664
  }
665
665
  else {
666
666
  throw new Error("No value provided for input HTTP label: signature.");
@@ -755,7 +755,7 @@ const serializeAws_restJson1GetImportCommand = async (input, context) => {
755
755
  if (labelValue.length <= 0) {
756
756
  throw new Error("Empty value provided for input HTTP label: importId.");
757
757
  }
758
- resolvedPath = resolvedPath.replace("{importId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
758
+ resolvedPath = resolvedPath.replace("{importId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
759
759
  }
760
760
  else {
761
761
  throw new Error("No value provided for input HTTP label: importId.");
@@ -781,7 +781,7 @@ const serializeAws_restJson1GetIntentCommand = async (input, context) => {
781
781
  if (labelValue.length <= 0) {
782
782
  throw new Error("Empty value provided for input HTTP label: name.");
783
783
  }
784
- resolvedPath = resolvedPath.replace("{name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
784
+ resolvedPath = resolvedPath.replace("{name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
785
785
  }
786
786
  else {
787
787
  throw new Error("No value provided for input HTTP label: name.");
@@ -791,7 +791,7 @@ const serializeAws_restJson1GetIntentCommand = async (input, context) => {
791
791
  if (labelValue.length <= 0) {
792
792
  throw new Error("Empty value provided for input HTTP label: version.");
793
793
  }
794
- resolvedPath = resolvedPath.replace("{version}", smithy_client_1.extendedEncodeURIComponent(labelValue));
794
+ resolvedPath = resolvedPath.replace("{version}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
795
795
  }
796
796
  else {
797
797
  throw new Error("No value provided for input HTTP label: version.");
@@ -839,7 +839,7 @@ const serializeAws_restJson1GetIntentVersionsCommand = async (input, context) =>
839
839
  if (labelValue.length <= 0) {
840
840
  throw new Error("Empty value provided for input HTTP label: name.");
841
841
  }
842
- resolvedPath = resolvedPath.replace("{name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
842
+ resolvedPath = resolvedPath.replace("{name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
843
843
  }
844
844
  else {
845
845
  throw new Error("No value provided for input HTTP label: name.");
@@ -870,7 +870,7 @@ const serializeAws_restJson1GetMigrationCommand = async (input, context) => {
870
870
  if (labelValue.length <= 0) {
871
871
  throw new Error("Empty value provided for input HTTP label: migrationId.");
872
872
  }
873
- resolvedPath = resolvedPath.replace("{migrationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
873
+ resolvedPath = resolvedPath.replace("{migrationId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
874
874
  }
875
875
  else {
876
876
  throw new Error("No value provided for input HTTP label: migrationId.");
@@ -921,7 +921,7 @@ const serializeAws_restJson1GetSlotTypeCommand = async (input, context) => {
921
921
  if (labelValue.length <= 0) {
922
922
  throw new Error("Empty value provided for input HTTP label: name.");
923
923
  }
924
- resolvedPath = resolvedPath.replace("{name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
924
+ resolvedPath = resolvedPath.replace("{name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
925
925
  }
926
926
  else {
927
927
  throw new Error("No value provided for input HTTP label: name.");
@@ -931,7 +931,7 @@ const serializeAws_restJson1GetSlotTypeCommand = async (input, context) => {
931
931
  if (labelValue.length <= 0) {
932
932
  throw new Error("Empty value provided for input HTTP label: version.");
933
933
  }
934
- resolvedPath = resolvedPath.replace("{version}", smithy_client_1.extendedEncodeURIComponent(labelValue));
934
+ resolvedPath = resolvedPath.replace("{version}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
935
935
  }
936
936
  else {
937
937
  throw new Error("No value provided for input HTTP label: version.");
@@ -979,7 +979,7 @@ const serializeAws_restJson1GetSlotTypeVersionsCommand = async (input, context)
979
979
  if (labelValue.length <= 0) {
980
980
  throw new Error("Empty value provided for input HTTP label: name.");
981
981
  }
982
- resolvedPath = resolvedPath.replace("{name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
982
+ resolvedPath = resolvedPath.replace("{name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
983
983
  }
984
984
  else {
985
985
  throw new Error("No value provided for input HTTP label: name.");
@@ -1010,7 +1010,7 @@ const serializeAws_restJson1GetUtterancesViewCommand = async (input, context) =>
1010
1010
  if (labelValue.length <= 0) {
1011
1011
  throw new Error("Empty value provided for input HTTP label: botName.");
1012
1012
  }
1013
- resolvedPath = resolvedPath.replace("{botName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1013
+ resolvedPath = resolvedPath.replace("{botName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1014
1014
  }
1015
1015
  else {
1016
1016
  throw new Error("No value provided for input HTTP label: botName.");
@@ -1042,7 +1042,7 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
1042
1042
  if (labelValue.length <= 0) {
1043
1043
  throw new Error("Empty value provided for input HTTP label: resourceArn.");
1044
1044
  }
1045
- resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1045
+ resolvedPath = resolvedPath.replace("{resourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1046
1046
  }
1047
1047
  else {
1048
1048
  throw new Error("No value provided for input HTTP label: resourceArn.");
@@ -1070,7 +1070,7 @@ const serializeAws_restJson1PutBotCommand = async (input, context) => {
1070
1070
  if (labelValue.length <= 0) {
1071
1071
  throw new Error("Empty value provided for input HTTP label: name.");
1072
1072
  }
1073
- resolvedPath = resolvedPath.replace("{name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1073
+ resolvedPath = resolvedPath.replace("{name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1074
1074
  }
1075
1075
  else {
1076
1076
  throw new Error("No value provided for input HTTP label: name.");
@@ -1100,7 +1100,7 @@ const serializeAws_restJson1PutBotCommand = async (input, context) => {
1100
1100
  ...(input.locale !== undefined && input.locale !== null && { locale: input.locale }),
1101
1101
  ...(input.nluIntentConfidenceThreshold !== undefined &&
1102
1102
  input.nluIntentConfidenceThreshold !== null && {
1103
- nluIntentConfidenceThreshold: smithy_client_1.serializeFloat(input.nluIntentConfidenceThreshold),
1103
+ nluIntentConfidenceThreshold: (0, smithy_client_1.serializeFloat)(input.nluIntentConfidenceThreshold),
1104
1104
  }),
1105
1105
  ...(input.processBehavior !== undefined &&
1106
1106
  input.processBehavior !== null && { processBehavior: input.processBehavior }),
@@ -1130,7 +1130,7 @@ const serializeAws_restJson1PutBotAliasCommand = async (input, context) => {
1130
1130
  if (labelValue.length <= 0) {
1131
1131
  throw new Error("Empty value provided for input HTTP label: name.");
1132
1132
  }
1133
- resolvedPath = resolvedPath.replace("{name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1133
+ resolvedPath = resolvedPath.replace("{name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1134
1134
  }
1135
1135
  else {
1136
1136
  throw new Error("No value provided for input HTTP label: name.");
@@ -1140,7 +1140,7 @@ const serializeAws_restJson1PutBotAliasCommand = async (input, context) => {
1140
1140
  if (labelValue.length <= 0) {
1141
1141
  throw new Error("Empty value provided for input HTTP label: botName.");
1142
1142
  }
1143
- resolvedPath = resolvedPath.replace("{botName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1143
+ resolvedPath = resolvedPath.replace("{botName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1144
1144
  }
1145
1145
  else {
1146
1146
  throw new Error("No value provided for input HTTP label: botName.");
@@ -1179,7 +1179,7 @@ const serializeAws_restJson1PutIntentCommand = async (input, context) => {
1179
1179
  if (labelValue.length <= 0) {
1180
1180
  throw new Error("Empty value provided for input HTTP label: name.");
1181
1181
  }
1182
- resolvedPath = resolvedPath.replace("{name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1182
+ resolvedPath = resolvedPath.replace("{name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1183
1183
  }
1184
1184
  else {
1185
1185
  throw new Error("No value provided for input HTTP label: name.");
@@ -1256,7 +1256,7 @@ const serializeAws_restJson1PutSlotTypeCommand = async (input, context) => {
1256
1256
  if (labelValue.length <= 0) {
1257
1257
  throw new Error("Empty value provided for input HTTP label: name.");
1258
1258
  }
1259
- resolvedPath = resolvedPath.replace("{name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1259
+ resolvedPath = resolvedPath.replace("{name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1260
1260
  }
1261
1261
  else {
1262
1262
  throw new Error("No value provided for input HTTP label: name.");
@@ -1352,7 +1352,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
1352
1352
  if (labelValue.length <= 0) {
1353
1353
  throw new Error("Empty value provided for input HTTP label: resourceArn.");
1354
1354
  }
1355
- resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1355
+ resolvedPath = resolvedPath.replace("{resourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1356
1356
  }
1357
1357
  else {
1358
1358
  throw new Error("No value provided for input HTTP label: resourceArn.");
@@ -1382,7 +1382,7 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
1382
1382
  if (labelValue.length <= 0) {
1383
1383
  throw new Error("Empty value provided for input HTTP label: resourceArn.");
1384
1384
  }
1385
- resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1385
+ resolvedPath = resolvedPath.replace("{resourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1386
1386
  }
1387
1387
  else {
1388
1388
  throw new Error("No value provided for input HTTP label: resourceArn.");
@@ -1427,57 +1427,57 @@ const deserializeAws_restJson1CreateBotVersionCommand = async (output, context)
1427
1427
  version: undefined,
1428
1428
  voiceId: undefined,
1429
1429
  };
1430
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1430
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1431
1431
  if (data.abortStatement !== undefined && data.abortStatement !== null) {
1432
1432
  contents.abortStatement = deserializeAws_restJson1Statement(data.abortStatement, context);
1433
1433
  }
1434
1434
  if (data.checksum !== undefined && data.checksum !== null) {
1435
- contents.checksum = smithy_client_1.expectString(data.checksum);
1435
+ contents.checksum = (0, smithy_client_1.expectString)(data.checksum);
1436
1436
  }
1437
1437
  if (data.childDirected !== undefined && data.childDirected !== null) {
1438
- contents.childDirected = smithy_client_1.expectBoolean(data.childDirected);
1438
+ contents.childDirected = (0, smithy_client_1.expectBoolean)(data.childDirected);
1439
1439
  }
1440
1440
  if (data.clarificationPrompt !== undefined && data.clarificationPrompt !== null) {
1441
1441
  contents.clarificationPrompt = deserializeAws_restJson1Prompt(data.clarificationPrompt, context);
1442
1442
  }
1443
1443
  if (data.createdDate !== undefined && data.createdDate !== null) {
1444
- contents.createdDate = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.createdDate)));
1444
+ contents.createdDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.createdDate)));
1445
1445
  }
1446
1446
  if (data.description !== undefined && data.description !== null) {
1447
- contents.description = smithy_client_1.expectString(data.description);
1447
+ contents.description = (0, smithy_client_1.expectString)(data.description);
1448
1448
  }
1449
1449
  if (data.detectSentiment !== undefined && data.detectSentiment !== null) {
1450
- contents.detectSentiment = smithy_client_1.expectBoolean(data.detectSentiment);
1450
+ contents.detectSentiment = (0, smithy_client_1.expectBoolean)(data.detectSentiment);
1451
1451
  }
1452
1452
  if (data.enableModelImprovements !== undefined && data.enableModelImprovements !== null) {
1453
- contents.enableModelImprovements = smithy_client_1.expectBoolean(data.enableModelImprovements);
1453
+ contents.enableModelImprovements = (0, smithy_client_1.expectBoolean)(data.enableModelImprovements);
1454
1454
  }
1455
1455
  if (data.failureReason !== undefined && data.failureReason !== null) {
1456
- contents.failureReason = smithy_client_1.expectString(data.failureReason);
1456
+ contents.failureReason = (0, smithy_client_1.expectString)(data.failureReason);
1457
1457
  }
1458
1458
  if (data.idleSessionTTLInSeconds !== undefined && data.idleSessionTTLInSeconds !== null) {
1459
- contents.idleSessionTTLInSeconds = smithy_client_1.expectInt32(data.idleSessionTTLInSeconds);
1459
+ contents.idleSessionTTLInSeconds = (0, smithy_client_1.expectInt32)(data.idleSessionTTLInSeconds);
1460
1460
  }
1461
1461
  if (data.intents !== undefined && data.intents !== null) {
1462
1462
  contents.intents = deserializeAws_restJson1IntentList(data.intents, context);
1463
1463
  }
1464
1464
  if (data.lastUpdatedDate !== undefined && data.lastUpdatedDate !== null) {
1465
- contents.lastUpdatedDate = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.lastUpdatedDate)));
1465
+ contents.lastUpdatedDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.lastUpdatedDate)));
1466
1466
  }
1467
1467
  if (data.locale !== undefined && data.locale !== null) {
1468
- contents.locale = smithy_client_1.expectString(data.locale);
1468
+ contents.locale = (0, smithy_client_1.expectString)(data.locale);
1469
1469
  }
1470
1470
  if (data.name !== undefined && data.name !== null) {
1471
- contents.name = smithy_client_1.expectString(data.name);
1471
+ contents.name = (0, smithy_client_1.expectString)(data.name);
1472
1472
  }
1473
1473
  if (data.status !== undefined && data.status !== null) {
1474
- contents.status = smithy_client_1.expectString(data.status);
1474
+ contents.status = (0, smithy_client_1.expectString)(data.status);
1475
1475
  }
1476
1476
  if (data.version !== undefined && data.version !== null) {
1477
- contents.version = smithy_client_1.expectString(data.version);
1477
+ contents.version = (0, smithy_client_1.expectString)(data.version);
1478
1478
  }
1479
1479
  if (data.voiceId !== undefined && data.voiceId !== null) {
1480
- contents.voiceId = smithy_client_1.expectString(data.voiceId);
1480
+ contents.voiceId = (0, smithy_client_1.expectString)(data.voiceId);
1481
1481
  }
1482
1482
  return Promise.resolve(contents);
1483
1483
  };
@@ -1516,7 +1516,7 @@ const deserializeAws_restJson1CreateBotVersionCommandError = async (output, cont
1516
1516
  $fault: "client",
1517
1517
  $metadata: deserializeMetadata(output),
1518
1518
  });
1519
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1519
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1520
1520
  }
1521
1521
  };
1522
1522
  const deserializeAws_restJson1CreateIntentVersionCommand = async (output, context) => {
@@ -1544,9 +1544,9 @@ const deserializeAws_restJson1CreateIntentVersionCommand = async (output, contex
1544
1544
  slots: undefined,
1545
1545
  version: undefined,
1546
1546
  };
1547
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1547
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1548
1548
  if (data.checksum !== undefined && data.checksum !== null) {
1549
- contents.checksum = smithy_client_1.expectString(data.checksum);
1549
+ contents.checksum = (0, smithy_client_1.expectString)(data.checksum);
1550
1550
  }
1551
1551
  if (data.conclusionStatement !== undefined && data.conclusionStatement !== null) {
1552
1552
  contents.conclusionStatement = deserializeAws_restJson1Statement(data.conclusionStatement, context);
@@ -1555,10 +1555,10 @@ const deserializeAws_restJson1CreateIntentVersionCommand = async (output, contex
1555
1555
  contents.confirmationPrompt = deserializeAws_restJson1Prompt(data.confirmationPrompt, context);
1556
1556
  }
1557
1557
  if (data.createdDate !== undefined && data.createdDate !== null) {
1558
- contents.createdDate = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.createdDate)));
1558
+ contents.createdDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.createdDate)));
1559
1559
  }
1560
1560
  if (data.description !== undefined && data.description !== null) {
1561
- contents.description = smithy_client_1.expectString(data.description);
1561
+ contents.description = (0, smithy_client_1.expectString)(data.description);
1562
1562
  }
1563
1563
  if (data.dialogCodeHook !== undefined && data.dialogCodeHook !== null) {
1564
1564
  contents.dialogCodeHook = deserializeAws_restJson1CodeHook(data.dialogCodeHook, context);
@@ -1576,16 +1576,16 @@ const deserializeAws_restJson1CreateIntentVersionCommand = async (output, contex
1576
1576
  contents.kendraConfiguration = deserializeAws_restJson1KendraConfiguration(data.kendraConfiguration, context);
1577
1577
  }
1578
1578
  if (data.lastUpdatedDate !== undefined && data.lastUpdatedDate !== null) {
1579
- contents.lastUpdatedDate = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.lastUpdatedDate)));
1579
+ contents.lastUpdatedDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.lastUpdatedDate)));
1580
1580
  }
1581
1581
  if (data.name !== undefined && data.name !== null) {
1582
- contents.name = smithy_client_1.expectString(data.name);
1582
+ contents.name = (0, smithy_client_1.expectString)(data.name);
1583
1583
  }
1584
1584
  if (data.outputContexts !== undefined && data.outputContexts !== null) {
1585
1585
  contents.outputContexts = deserializeAws_restJson1OutputContextList(data.outputContexts, context);
1586
1586
  }
1587
1587
  if (data.parentIntentSignature !== undefined && data.parentIntentSignature !== null) {
1588
- contents.parentIntentSignature = smithy_client_1.expectString(data.parentIntentSignature);
1588
+ contents.parentIntentSignature = (0, smithy_client_1.expectString)(data.parentIntentSignature);
1589
1589
  }
1590
1590
  if (data.rejectionStatement !== undefined && data.rejectionStatement !== null) {
1591
1591
  contents.rejectionStatement = deserializeAws_restJson1Statement(data.rejectionStatement, context);
@@ -1597,7 +1597,7 @@ const deserializeAws_restJson1CreateIntentVersionCommand = async (output, contex
1597
1597
  contents.slots = deserializeAws_restJson1SlotList(data.slots, context);
1598
1598
  }
1599
1599
  if (data.version !== undefined && data.version !== null) {
1600
- contents.version = smithy_client_1.expectString(data.version);
1600
+ contents.version = (0, smithy_client_1.expectString)(data.version);
1601
1601
  }
1602
1602
  return Promise.resolve(contents);
1603
1603
  };
@@ -1636,7 +1636,7 @@ const deserializeAws_restJson1CreateIntentVersionCommandError = async (output, c
1636
1636
  $fault: "client",
1637
1637
  $metadata: deserializeMetadata(output),
1638
1638
  });
1639
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1639
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1640
1640
  }
1641
1641
  };
1642
1642
  const deserializeAws_restJson1CreateSlotTypeVersionCommand = async (output, context) => {
@@ -1656,36 +1656,36 @@ const deserializeAws_restJson1CreateSlotTypeVersionCommand = async (output, cont
1656
1656
  valueSelectionStrategy: undefined,
1657
1657
  version: undefined,
1658
1658
  };
1659
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1659
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1660
1660
  if (data.checksum !== undefined && data.checksum !== null) {
1661
- contents.checksum = smithy_client_1.expectString(data.checksum);
1661
+ contents.checksum = (0, smithy_client_1.expectString)(data.checksum);
1662
1662
  }
1663
1663
  if (data.createdDate !== undefined && data.createdDate !== null) {
1664
- contents.createdDate = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.createdDate)));
1664
+ contents.createdDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.createdDate)));
1665
1665
  }
1666
1666
  if (data.description !== undefined && data.description !== null) {
1667
- contents.description = smithy_client_1.expectString(data.description);
1667
+ contents.description = (0, smithy_client_1.expectString)(data.description);
1668
1668
  }
1669
1669
  if (data.enumerationValues !== undefined && data.enumerationValues !== null) {
1670
1670
  contents.enumerationValues = deserializeAws_restJson1EnumerationValues(data.enumerationValues, context);
1671
1671
  }
1672
1672
  if (data.lastUpdatedDate !== undefined && data.lastUpdatedDate !== null) {
1673
- contents.lastUpdatedDate = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.lastUpdatedDate)));
1673
+ contents.lastUpdatedDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.lastUpdatedDate)));
1674
1674
  }
1675
1675
  if (data.name !== undefined && data.name !== null) {
1676
- contents.name = smithy_client_1.expectString(data.name);
1676
+ contents.name = (0, smithy_client_1.expectString)(data.name);
1677
1677
  }
1678
1678
  if (data.parentSlotTypeSignature !== undefined && data.parentSlotTypeSignature !== null) {
1679
- contents.parentSlotTypeSignature = smithy_client_1.expectString(data.parentSlotTypeSignature);
1679
+ contents.parentSlotTypeSignature = (0, smithy_client_1.expectString)(data.parentSlotTypeSignature);
1680
1680
  }
1681
1681
  if (data.slotTypeConfigurations !== undefined && data.slotTypeConfigurations !== null) {
1682
1682
  contents.slotTypeConfigurations = deserializeAws_restJson1SlotTypeConfigurations(data.slotTypeConfigurations, context);
1683
1683
  }
1684
1684
  if (data.valueSelectionStrategy !== undefined && data.valueSelectionStrategy !== null) {
1685
- contents.valueSelectionStrategy = smithy_client_1.expectString(data.valueSelectionStrategy);
1685
+ contents.valueSelectionStrategy = (0, smithy_client_1.expectString)(data.valueSelectionStrategy);
1686
1686
  }
1687
1687
  if (data.version !== undefined && data.version !== null) {
1688
- contents.version = smithy_client_1.expectString(data.version);
1688
+ contents.version = (0, smithy_client_1.expectString)(data.version);
1689
1689
  }
1690
1690
  return Promise.resolve(contents);
1691
1691
  };
@@ -1724,7 +1724,7 @@ const deserializeAws_restJson1CreateSlotTypeVersionCommandError = async (output,
1724
1724
  $fault: "client",
1725
1725
  $metadata: deserializeMetadata(output),
1726
1726
  });
1727
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1727
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1728
1728
  }
1729
1729
  };
1730
1730
  const deserializeAws_restJson1DeleteBotCommand = async (output, context) => {
@@ -1772,7 +1772,7 @@ const deserializeAws_restJson1DeleteBotCommandError = async (output, context) =>
1772
1772
  $fault: "client",
1773
1773
  $metadata: deserializeMetadata(output),
1774
1774
  });
1775
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1775
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1776
1776
  }
1777
1777
  };
1778
1778
  const deserializeAws_restJson1DeleteBotAliasCommand = async (output, context) => {
@@ -1820,7 +1820,7 @@ const deserializeAws_restJson1DeleteBotAliasCommandError = async (output, contex
1820
1820
  $fault: "client",
1821
1821
  $metadata: deserializeMetadata(output),
1822
1822
  });
1823
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1823
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1824
1824
  }
1825
1825
  };
1826
1826
  const deserializeAws_restJson1DeleteBotChannelAssociationCommand = async (output, context) => {
@@ -1865,7 +1865,7 @@ const deserializeAws_restJson1DeleteBotChannelAssociationCommandError = async (o
1865
1865
  $fault: "client",
1866
1866
  $metadata: deserializeMetadata(output),
1867
1867
  });
1868
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1868
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1869
1869
  }
1870
1870
  };
1871
1871
  const deserializeAws_restJson1DeleteBotVersionCommand = async (output, context) => {
@@ -1913,7 +1913,7 @@ const deserializeAws_restJson1DeleteBotVersionCommandError = async (output, cont
1913
1913
  $fault: "client",
1914
1914
  $metadata: deserializeMetadata(output),
1915
1915
  });
1916
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1916
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1917
1917
  }
1918
1918
  };
1919
1919
  const deserializeAws_restJson1DeleteIntentCommand = async (output, context) => {
@@ -1961,7 +1961,7 @@ const deserializeAws_restJson1DeleteIntentCommandError = async (output, context)
1961
1961
  $fault: "client",
1962
1962
  $metadata: deserializeMetadata(output),
1963
1963
  });
1964
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1964
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1965
1965
  }
1966
1966
  };
1967
1967
  const deserializeAws_restJson1DeleteIntentVersionCommand = async (output, context) => {
@@ -2009,7 +2009,7 @@ const deserializeAws_restJson1DeleteIntentVersionCommandError = async (output, c
2009
2009
  $fault: "client",
2010
2010
  $metadata: deserializeMetadata(output),
2011
2011
  });
2012
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2012
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2013
2013
  }
2014
2014
  };
2015
2015
  const deserializeAws_restJson1DeleteSlotTypeCommand = async (output, context) => {
@@ -2057,7 +2057,7 @@ const deserializeAws_restJson1DeleteSlotTypeCommandError = async (output, contex
2057
2057
  $fault: "client",
2058
2058
  $metadata: deserializeMetadata(output),
2059
2059
  });
2060
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2060
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2061
2061
  }
2062
2062
  };
2063
2063
  const deserializeAws_restJson1DeleteSlotTypeVersionCommand = async (output, context) => {
@@ -2105,7 +2105,7 @@ const deserializeAws_restJson1DeleteSlotTypeVersionCommandError = async (output,
2105
2105
  $fault: "client",
2106
2106
  $metadata: deserializeMetadata(output),
2107
2107
  });
2108
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2108
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2109
2109
  }
2110
2110
  };
2111
2111
  const deserializeAws_restJson1DeleteUtterancesCommand = async (output, context) => {
@@ -2147,7 +2147,7 @@ const deserializeAws_restJson1DeleteUtterancesCommandError = async (output, cont
2147
2147
  $fault: "client",
2148
2148
  $metadata: deserializeMetadata(output),
2149
2149
  });
2150
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2150
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2151
2151
  }
2152
2152
  };
2153
2153
  const deserializeAws_restJson1GetBotCommand = async (output, context) => {
@@ -2175,60 +2175,60 @@ const deserializeAws_restJson1GetBotCommand = async (output, context) => {
2175
2175
  version: undefined,
2176
2176
  voiceId: undefined,
2177
2177
  };
2178
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2178
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2179
2179
  if (data.abortStatement !== undefined && data.abortStatement !== null) {
2180
2180
  contents.abortStatement = deserializeAws_restJson1Statement(data.abortStatement, context);
2181
2181
  }
2182
2182
  if (data.checksum !== undefined && data.checksum !== null) {
2183
- contents.checksum = smithy_client_1.expectString(data.checksum);
2183
+ contents.checksum = (0, smithy_client_1.expectString)(data.checksum);
2184
2184
  }
2185
2185
  if (data.childDirected !== undefined && data.childDirected !== null) {
2186
- contents.childDirected = smithy_client_1.expectBoolean(data.childDirected);
2186
+ contents.childDirected = (0, smithy_client_1.expectBoolean)(data.childDirected);
2187
2187
  }
2188
2188
  if (data.clarificationPrompt !== undefined && data.clarificationPrompt !== null) {
2189
2189
  contents.clarificationPrompt = deserializeAws_restJson1Prompt(data.clarificationPrompt, context);
2190
2190
  }
2191
2191
  if (data.createdDate !== undefined && data.createdDate !== null) {
2192
- contents.createdDate = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.createdDate)));
2192
+ contents.createdDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.createdDate)));
2193
2193
  }
2194
2194
  if (data.description !== undefined && data.description !== null) {
2195
- contents.description = smithy_client_1.expectString(data.description);
2195
+ contents.description = (0, smithy_client_1.expectString)(data.description);
2196
2196
  }
2197
2197
  if (data.detectSentiment !== undefined && data.detectSentiment !== null) {
2198
- contents.detectSentiment = smithy_client_1.expectBoolean(data.detectSentiment);
2198
+ contents.detectSentiment = (0, smithy_client_1.expectBoolean)(data.detectSentiment);
2199
2199
  }
2200
2200
  if (data.enableModelImprovements !== undefined && data.enableModelImprovements !== null) {
2201
- contents.enableModelImprovements = smithy_client_1.expectBoolean(data.enableModelImprovements);
2201
+ contents.enableModelImprovements = (0, smithy_client_1.expectBoolean)(data.enableModelImprovements);
2202
2202
  }
2203
2203
  if (data.failureReason !== undefined && data.failureReason !== null) {
2204
- contents.failureReason = smithy_client_1.expectString(data.failureReason);
2204
+ contents.failureReason = (0, smithy_client_1.expectString)(data.failureReason);
2205
2205
  }
2206
2206
  if (data.idleSessionTTLInSeconds !== undefined && data.idleSessionTTLInSeconds !== null) {
2207
- contents.idleSessionTTLInSeconds = smithy_client_1.expectInt32(data.idleSessionTTLInSeconds);
2207
+ contents.idleSessionTTLInSeconds = (0, smithy_client_1.expectInt32)(data.idleSessionTTLInSeconds);
2208
2208
  }
2209
2209
  if (data.intents !== undefined && data.intents !== null) {
2210
2210
  contents.intents = deserializeAws_restJson1IntentList(data.intents, context);
2211
2211
  }
2212
2212
  if (data.lastUpdatedDate !== undefined && data.lastUpdatedDate !== null) {
2213
- contents.lastUpdatedDate = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.lastUpdatedDate)));
2213
+ contents.lastUpdatedDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.lastUpdatedDate)));
2214
2214
  }
2215
2215
  if (data.locale !== undefined && data.locale !== null) {
2216
- contents.locale = smithy_client_1.expectString(data.locale);
2216
+ contents.locale = (0, smithy_client_1.expectString)(data.locale);
2217
2217
  }
2218
2218
  if (data.name !== undefined && data.name !== null) {
2219
- contents.name = smithy_client_1.expectString(data.name);
2219
+ contents.name = (0, smithy_client_1.expectString)(data.name);
2220
2220
  }
2221
2221
  if (data.nluIntentConfidenceThreshold !== undefined && data.nluIntentConfidenceThreshold !== null) {
2222
- contents.nluIntentConfidenceThreshold = smithy_client_1.limitedParseDouble(data.nluIntentConfidenceThreshold);
2222
+ contents.nluIntentConfidenceThreshold = (0, smithy_client_1.limitedParseDouble)(data.nluIntentConfidenceThreshold);
2223
2223
  }
2224
2224
  if (data.status !== undefined && data.status !== null) {
2225
- contents.status = smithy_client_1.expectString(data.status);
2225
+ contents.status = (0, smithy_client_1.expectString)(data.status);
2226
2226
  }
2227
2227
  if (data.version !== undefined && data.version !== null) {
2228
- contents.version = smithy_client_1.expectString(data.version);
2228
+ contents.version = (0, smithy_client_1.expectString)(data.version);
2229
2229
  }
2230
2230
  if (data.voiceId !== undefined && data.voiceId !== null) {
2231
- contents.voiceId = smithy_client_1.expectString(data.voiceId);
2231
+ contents.voiceId = (0, smithy_client_1.expectString)(data.voiceId);
2232
2232
  }
2233
2233
  return Promise.resolve(contents);
2234
2234
  };
@@ -2261,7 +2261,7 @@ const deserializeAws_restJson1GetBotCommandError = async (output, context) => {
2261
2261
  $fault: "client",
2262
2262
  $metadata: deserializeMetadata(output),
2263
2263
  });
2264
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2264
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2265
2265
  }
2266
2266
  };
2267
2267
  const deserializeAws_restJson1GetBotAliasCommand = async (output, context) => {
@@ -2279,30 +2279,30 @@ const deserializeAws_restJson1GetBotAliasCommand = async (output, context) => {
2279
2279
  lastUpdatedDate: undefined,
2280
2280
  name: undefined,
2281
2281
  };
2282
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2282
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2283
2283
  if (data.botName !== undefined && data.botName !== null) {
2284
- contents.botName = smithy_client_1.expectString(data.botName);
2284
+ contents.botName = (0, smithy_client_1.expectString)(data.botName);
2285
2285
  }
2286
2286
  if (data.botVersion !== undefined && data.botVersion !== null) {
2287
- contents.botVersion = smithy_client_1.expectString(data.botVersion);
2287
+ contents.botVersion = (0, smithy_client_1.expectString)(data.botVersion);
2288
2288
  }
2289
2289
  if (data.checksum !== undefined && data.checksum !== null) {
2290
- contents.checksum = smithy_client_1.expectString(data.checksum);
2290
+ contents.checksum = (0, smithy_client_1.expectString)(data.checksum);
2291
2291
  }
2292
2292
  if (data.conversationLogs !== undefined && data.conversationLogs !== null) {
2293
2293
  contents.conversationLogs = deserializeAws_restJson1ConversationLogsResponse(data.conversationLogs, context);
2294
2294
  }
2295
2295
  if (data.createdDate !== undefined && data.createdDate !== null) {
2296
- contents.createdDate = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.createdDate)));
2296
+ contents.createdDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.createdDate)));
2297
2297
  }
2298
2298
  if (data.description !== undefined && data.description !== null) {
2299
- contents.description = smithy_client_1.expectString(data.description);
2299
+ contents.description = (0, smithy_client_1.expectString)(data.description);
2300
2300
  }
2301
2301
  if (data.lastUpdatedDate !== undefined && data.lastUpdatedDate !== null) {
2302
- contents.lastUpdatedDate = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.lastUpdatedDate)));
2302
+ contents.lastUpdatedDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.lastUpdatedDate)));
2303
2303
  }
2304
2304
  if (data.name !== undefined && data.name !== null) {
2305
- contents.name = smithy_client_1.expectString(data.name);
2305
+ contents.name = (0, smithy_client_1.expectString)(data.name);
2306
2306
  }
2307
2307
  return Promise.resolve(contents);
2308
2308
  };
@@ -2335,7 +2335,7 @@ const deserializeAws_restJson1GetBotAliasCommandError = async (output, context)
2335
2335
  $fault: "client",
2336
2336
  $metadata: deserializeMetadata(output),
2337
2337
  });
2338
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2338
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2339
2339
  }
2340
2340
  };
2341
2341
  const deserializeAws_restJson1GetBotAliasesCommand = async (output, context) => {
@@ -2347,12 +2347,12 @@ const deserializeAws_restJson1GetBotAliasesCommand = async (output, context) =>
2347
2347
  BotAliases: undefined,
2348
2348
  nextToken: undefined,
2349
2349
  };
2350
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2350
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2351
2351
  if (data.BotAliases !== undefined && data.BotAliases !== null) {
2352
2352
  contents.BotAliases = deserializeAws_restJson1BotAliasMetadataList(data.BotAliases, context);
2353
2353
  }
2354
2354
  if (data.nextToken !== undefined && data.nextToken !== null) {
2355
- contents.nextToken = smithy_client_1.expectString(data.nextToken);
2355
+ contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
2356
2356
  }
2357
2357
  return Promise.resolve(contents);
2358
2358
  };
@@ -2382,7 +2382,7 @@ const deserializeAws_restJson1GetBotAliasesCommandError = async (output, context
2382
2382
  $fault: "client",
2383
2383
  $metadata: deserializeMetadata(output),
2384
2384
  });
2385
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2385
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2386
2386
  }
2387
2387
  };
2388
2388
  const deserializeAws_restJson1GetBotChannelAssociationCommand = async (output, context) => {
@@ -2401,33 +2401,33 @@ const deserializeAws_restJson1GetBotChannelAssociationCommand = async (output, c
2401
2401
  status: undefined,
2402
2402
  type: undefined,
2403
2403
  };
2404
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2404
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2405
2405
  if (data.botAlias !== undefined && data.botAlias !== null) {
2406
- contents.botAlias = smithy_client_1.expectString(data.botAlias);
2406
+ contents.botAlias = (0, smithy_client_1.expectString)(data.botAlias);
2407
2407
  }
2408
2408
  if (data.botConfiguration !== undefined && data.botConfiguration !== null) {
2409
2409
  contents.botConfiguration = deserializeAws_restJson1ChannelConfigurationMap(data.botConfiguration, context);
2410
2410
  }
2411
2411
  if (data.botName !== undefined && data.botName !== null) {
2412
- contents.botName = smithy_client_1.expectString(data.botName);
2412
+ contents.botName = (0, smithy_client_1.expectString)(data.botName);
2413
2413
  }
2414
2414
  if (data.createdDate !== undefined && data.createdDate !== null) {
2415
- contents.createdDate = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.createdDate)));
2415
+ contents.createdDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.createdDate)));
2416
2416
  }
2417
2417
  if (data.description !== undefined && data.description !== null) {
2418
- contents.description = smithy_client_1.expectString(data.description);
2418
+ contents.description = (0, smithy_client_1.expectString)(data.description);
2419
2419
  }
2420
2420
  if (data.failureReason !== undefined && data.failureReason !== null) {
2421
- contents.failureReason = smithy_client_1.expectString(data.failureReason);
2421
+ contents.failureReason = (0, smithy_client_1.expectString)(data.failureReason);
2422
2422
  }
2423
2423
  if (data.name !== undefined && data.name !== null) {
2424
- contents.name = smithy_client_1.expectString(data.name);
2424
+ contents.name = (0, smithy_client_1.expectString)(data.name);
2425
2425
  }
2426
2426
  if (data.status !== undefined && data.status !== null) {
2427
- contents.status = smithy_client_1.expectString(data.status);
2427
+ contents.status = (0, smithy_client_1.expectString)(data.status);
2428
2428
  }
2429
2429
  if (data.type !== undefined && data.type !== null) {
2430
- contents.type = smithy_client_1.expectString(data.type);
2430
+ contents.type = (0, smithy_client_1.expectString)(data.type);
2431
2431
  }
2432
2432
  return Promise.resolve(contents);
2433
2433
  };
@@ -2460,7 +2460,7 @@ const deserializeAws_restJson1GetBotChannelAssociationCommandError = async (outp
2460
2460
  $fault: "client",
2461
2461
  $metadata: deserializeMetadata(output),
2462
2462
  });
2463
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2463
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2464
2464
  }
2465
2465
  };
2466
2466
  const deserializeAws_restJson1GetBotChannelAssociationsCommand = async (output, context) => {
@@ -2472,12 +2472,12 @@ const deserializeAws_restJson1GetBotChannelAssociationsCommand = async (output,
2472
2472
  botChannelAssociations: undefined,
2473
2473
  nextToken: undefined,
2474
2474
  };
2475
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2475
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2476
2476
  if (data.botChannelAssociations !== undefined && data.botChannelAssociations !== null) {
2477
2477
  contents.botChannelAssociations = deserializeAws_restJson1BotChannelAssociationList(data.botChannelAssociations, context);
2478
2478
  }
2479
2479
  if (data.nextToken !== undefined && data.nextToken !== null) {
2480
- contents.nextToken = smithy_client_1.expectString(data.nextToken);
2480
+ contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
2481
2481
  }
2482
2482
  return Promise.resolve(contents);
2483
2483
  };
@@ -2507,7 +2507,7 @@ const deserializeAws_restJson1GetBotChannelAssociationsCommandError = async (out
2507
2507
  $fault: "client",
2508
2508
  $metadata: deserializeMetadata(output),
2509
2509
  });
2510
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2510
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2511
2511
  }
2512
2512
  };
2513
2513
  const deserializeAws_restJson1GetBotsCommand = async (output, context) => {
@@ -2519,12 +2519,12 @@ const deserializeAws_restJson1GetBotsCommand = async (output, context) => {
2519
2519
  bots: undefined,
2520
2520
  nextToken: undefined,
2521
2521
  };
2522
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2522
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2523
2523
  if (data.bots !== undefined && data.bots !== null) {
2524
2524
  contents.bots = deserializeAws_restJson1BotMetadataList(data.bots, context);
2525
2525
  }
2526
2526
  if (data.nextToken !== undefined && data.nextToken !== null) {
2527
- contents.nextToken = smithy_client_1.expectString(data.nextToken);
2527
+ contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
2528
2528
  }
2529
2529
  return Promise.resolve(contents);
2530
2530
  };
@@ -2557,7 +2557,7 @@ const deserializeAws_restJson1GetBotsCommandError = async (output, context) => {
2557
2557
  $fault: "client",
2558
2558
  $metadata: deserializeMetadata(output),
2559
2559
  });
2560
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2560
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2561
2561
  }
2562
2562
  };
2563
2563
  const deserializeAws_restJson1GetBotVersionsCommand = async (output, context) => {
@@ -2569,12 +2569,12 @@ const deserializeAws_restJson1GetBotVersionsCommand = async (output, context) =>
2569
2569
  bots: undefined,
2570
2570
  nextToken: undefined,
2571
2571
  };
2572
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2572
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2573
2573
  if (data.bots !== undefined && data.bots !== null) {
2574
2574
  contents.bots = deserializeAws_restJson1BotMetadataList(data.bots, context);
2575
2575
  }
2576
2576
  if (data.nextToken !== undefined && data.nextToken !== null) {
2577
- contents.nextToken = smithy_client_1.expectString(data.nextToken);
2577
+ contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
2578
2578
  }
2579
2579
  return Promise.resolve(contents);
2580
2580
  };
@@ -2607,7 +2607,7 @@ const deserializeAws_restJson1GetBotVersionsCommandError = async (output, contex
2607
2607
  $fault: "client",
2608
2608
  $metadata: deserializeMetadata(output),
2609
2609
  });
2610
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2610
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2611
2611
  }
2612
2612
  };
2613
2613
  const deserializeAws_restJson1GetBuiltinIntentCommand = async (output, context) => {
@@ -2620,9 +2620,9 @@ const deserializeAws_restJson1GetBuiltinIntentCommand = async (output, context)
2620
2620
  slots: undefined,
2621
2621
  supportedLocales: undefined,
2622
2622
  };
2623
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2623
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2624
2624
  if (data.signature !== undefined && data.signature !== null) {
2625
- contents.signature = smithy_client_1.expectString(data.signature);
2625
+ contents.signature = (0, smithy_client_1.expectString)(data.signature);
2626
2626
  }
2627
2627
  if (data.slots !== undefined && data.slots !== null) {
2628
2628
  contents.slots = deserializeAws_restJson1BuiltinIntentSlotList(data.slots, context);
@@ -2661,7 +2661,7 @@ const deserializeAws_restJson1GetBuiltinIntentCommandError = async (output, cont
2661
2661
  $fault: "client",
2662
2662
  $metadata: deserializeMetadata(output),
2663
2663
  });
2664
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2664
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2665
2665
  }
2666
2666
  };
2667
2667
  const deserializeAws_restJson1GetBuiltinIntentsCommand = async (output, context) => {
@@ -2673,12 +2673,12 @@ const deserializeAws_restJson1GetBuiltinIntentsCommand = async (output, context)
2673
2673
  intents: undefined,
2674
2674
  nextToken: undefined,
2675
2675
  };
2676
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2676
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2677
2677
  if (data.intents !== undefined && data.intents !== null) {
2678
2678
  contents.intents = deserializeAws_restJson1BuiltinIntentMetadataList(data.intents, context);
2679
2679
  }
2680
2680
  if (data.nextToken !== undefined && data.nextToken !== null) {
2681
- contents.nextToken = smithy_client_1.expectString(data.nextToken);
2681
+ contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
2682
2682
  }
2683
2683
  return Promise.resolve(contents);
2684
2684
  };
@@ -2708,7 +2708,7 @@ const deserializeAws_restJson1GetBuiltinIntentsCommandError = async (output, con
2708
2708
  $fault: "client",
2709
2709
  $metadata: deserializeMetadata(output),
2710
2710
  });
2711
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2711
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2712
2712
  }
2713
2713
  };
2714
2714
  const deserializeAws_restJson1GetBuiltinSlotTypesCommand = async (output, context) => {
@@ -2720,9 +2720,9 @@ const deserializeAws_restJson1GetBuiltinSlotTypesCommand = async (output, contex
2720
2720
  nextToken: undefined,
2721
2721
  slotTypes: undefined,
2722
2722
  };
2723
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2723
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2724
2724
  if (data.nextToken !== undefined && data.nextToken !== null) {
2725
- contents.nextToken = smithy_client_1.expectString(data.nextToken);
2725
+ contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
2726
2726
  }
2727
2727
  if (data.slotTypes !== undefined && data.slotTypes !== null) {
2728
2728
  contents.slotTypes = deserializeAws_restJson1BuiltinSlotTypeMetadataList(data.slotTypes, context);
@@ -2755,7 +2755,7 @@ const deserializeAws_restJson1GetBuiltinSlotTypesCommandError = async (output, c
2755
2755
  $fault: "client",
2756
2756
  $metadata: deserializeMetadata(output),
2757
2757
  });
2758
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2758
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2759
2759
  }
2760
2760
  };
2761
2761
  const deserializeAws_restJson1GetExportCommand = async (output, context) => {
@@ -2772,27 +2772,27 @@ const deserializeAws_restJson1GetExportCommand = async (output, context) => {
2772
2772
  url: undefined,
2773
2773
  version: undefined,
2774
2774
  };
2775
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2775
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2776
2776
  if (data.exportStatus !== undefined && data.exportStatus !== null) {
2777
- contents.exportStatus = smithy_client_1.expectString(data.exportStatus);
2777
+ contents.exportStatus = (0, smithy_client_1.expectString)(data.exportStatus);
2778
2778
  }
2779
2779
  if (data.exportType !== undefined && data.exportType !== null) {
2780
- contents.exportType = smithy_client_1.expectString(data.exportType);
2780
+ contents.exportType = (0, smithy_client_1.expectString)(data.exportType);
2781
2781
  }
2782
2782
  if (data.failureReason !== undefined && data.failureReason !== null) {
2783
- contents.failureReason = smithy_client_1.expectString(data.failureReason);
2783
+ contents.failureReason = (0, smithy_client_1.expectString)(data.failureReason);
2784
2784
  }
2785
2785
  if (data.name !== undefined && data.name !== null) {
2786
- contents.name = smithy_client_1.expectString(data.name);
2786
+ contents.name = (0, smithy_client_1.expectString)(data.name);
2787
2787
  }
2788
2788
  if (data.resourceType !== undefined && data.resourceType !== null) {
2789
- contents.resourceType = smithy_client_1.expectString(data.resourceType);
2789
+ contents.resourceType = (0, smithy_client_1.expectString)(data.resourceType);
2790
2790
  }
2791
2791
  if (data.url !== undefined && data.url !== null) {
2792
- contents.url = smithy_client_1.expectString(data.url);
2792
+ contents.url = (0, smithy_client_1.expectString)(data.url);
2793
2793
  }
2794
2794
  if (data.version !== undefined && data.version !== null) {
2795
- contents.version = smithy_client_1.expectString(data.version);
2795
+ contents.version = (0, smithy_client_1.expectString)(data.version);
2796
2796
  }
2797
2797
  return Promise.resolve(contents);
2798
2798
  };
@@ -2825,7 +2825,7 @@ const deserializeAws_restJson1GetExportCommandError = async (output, context) =>
2825
2825
  $fault: "client",
2826
2826
  $metadata: deserializeMetadata(output),
2827
2827
  });
2828
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2828
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2829
2829
  }
2830
2830
  };
2831
2831
  const deserializeAws_restJson1GetImportCommand = async (output, context) => {
@@ -2842,27 +2842,27 @@ const deserializeAws_restJson1GetImportCommand = async (output, context) => {
2842
2842
  name: undefined,
2843
2843
  resourceType: undefined,
2844
2844
  };
2845
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2845
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2846
2846
  if (data.createdDate !== undefined && data.createdDate !== null) {
2847
- contents.createdDate = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.createdDate)));
2847
+ contents.createdDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.createdDate)));
2848
2848
  }
2849
2849
  if (data.failureReason !== undefined && data.failureReason !== null) {
2850
2850
  contents.failureReason = deserializeAws_restJson1StringList(data.failureReason, context);
2851
2851
  }
2852
2852
  if (data.importId !== undefined && data.importId !== null) {
2853
- contents.importId = smithy_client_1.expectString(data.importId);
2853
+ contents.importId = (0, smithy_client_1.expectString)(data.importId);
2854
2854
  }
2855
2855
  if (data.importStatus !== undefined && data.importStatus !== null) {
2856
- contents.importStatus = smithy_client_1.expectString(data.importStatus);
2856
+ contents.importStatus = (0, smithy_client_1.expectString)(data.importStatus);
2857
2857
  }
2858
2858
  if (data.mergeStrategy !== undefined && data.mergeStrategy !== null) {
2859
- contents.mergeStrategy = smithy_client_1.expectString(data.mergeStrategy);
2859
+ contents.mergeStrategy = (0, smithy_client_1.expectString)(data.mergeStrategy);
2860
2860
  }
2861
2861
  if (data.name !== undefined && data.name !== null) {
2862
- contents.name = smithy_client_1.expectString(data.name);
2862
+ contents.name = (0, smithy_client_1.expectString)(data.name);
2863
2863
  }
2864
2864
  if (data.resourceType !== undefined && data.resourceType !== null) {
2865
- contents.resourceType = smithy_client_1.expectString(data.resourceType);
2865
+ contents.resourceType = (0, smithy_client_1.expectString)(data.resourceType);
2866
2866
  }
2867
2867
  return Promise.resolve(contents);
2868
2868
  };
@@ -2895,7 +2895,7 @@ const deserializeAws_restJson1GetImportCommandError = async (output, context) =>
2895
2895
  $fault: "client",
2896
2896
  $metadata: deserializeMetadata(output),
2897
2897
  });
2898
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2898
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2899
2899
  }
2900
2900
  };
2901
2901
  const deserializeAws_restJson1GetIntentCommand = async (output, context) => {
@@ -2923,9 +2923,9 @@ const deserializeAws_restJson1GetIntentCommand = async (output, context) => {
2923
2923
  slots: undefined,
2924
2924
  version: undefined,
2925
2925
  };
2926
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2926
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2927
2927
  if (data.checksum !== undefined && data.checksum !== null) {
2928
- contents.checksum = smithy_client_1.expectString(data.checksum);
2928
+ contents.checksum = (0, smithy_client_1.expectString)(data.checksum);
2929
2929
  }
2930
2930
  if (data.conclusionStatement !== undefined && data.conclusionStatement !== null) {
2931
2931
  contents.conclusionStatement = deserializeAws_restJson1Statement(data.conclusionStatement, context);
@@ -2934,10 +2934,10 @@ const deserializeAws_restJson1GetIntentCommand = async (output, context) => {
2934
2934
  contents.confirmationPrompt = deserializeAws_restJson1Prompt(data.confirmationPrompt, context);
2935
2935
  }
2936
2936
  if (data.createdDate !== undefined && data.createdDate !== null) {
2937
- contents.createdDate = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.createdDate)));
2937
+ contents.createdDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.createdDate)));
2938
2938
  }
2939
2939
  if (data.description !== undefined && data.description !== null) {
2940
- contents.description = smithy_client_1.expectString(data.description);
2940
+ contents.description = (0, smithy_client_1.expectString)(data.description);
2941
2941
  }
2942
2942
  if (data.dialogCodeHook !== undefined && data.dialogCodeHook !== null) {
2943
2943
  contents.dialogCodeHook = deserializeAws_restJson1CodeHook(data.dialogCodeHook, context);
@@ -2955,16 +2955,16 @@ const deserializeAws_restJson1GetIntentCommand = async (output, context) => {
2955
2955
  contents.kendraConfiguration = deserializeAws_restJson1KendraConfiguration(data.kendraConfiguration, context);
2956
2956
  }
2957
2957
  if (data.lastUpdatedDate !== undefined && data.lastUpdatedDate !== null) {
2958
- contents.lastUpdatedDate = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.lastUpdatedDate)));
2958
+ contents.lastUpdatedDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.lastUpdatedDate)));
2959
2959
  }
2960
2960
  if (data.name !== undefined && data.name !== null) {
2961
- contents.name = smithy_client_1.expectString(data.name);
2961
+ contents.name = (0, smithy_client_1.expectString)(data.name);
2962
2962
  }
2963
2963
  if (data.outputContexts !== undefined && data.outputContexts !== null) {
2964
2964
  contents.outputContexts = deserializeAws_restJson1OutputContextList(data.outputContexts, context);
2965
2965
  }
2966
2966
  if (data.parentIntentSignature !== undefined && data.parentIntentSignature !== null) {
2967
- contents.parentIntentSignature = smithy_client_1.expectString(data.parentIntentSignature);
2967
+ contents.parentIntentSignature = (0, smithy_client_1.expectString)(data.parentIntentSignature);
2968
2968
  }
2969
2969
  if (data.rejectionStatement !== undefined && data.rejectionStatement !== null) {
2970
2970
  contents.rejectionStatement = deserializeAws_restJson1Statement(data.rejectionStatement, context);
@@ -2976,7 +2976,7 @@ const deserializeAws_restJson1GetIntentCommand = async (output, context) => {
2976
2976
  contents.slots = deserializeAws_restJson1SlotList(data.slots, context);
2977
2977
  }
2978
2978
  if (data.version !== undefined && data.version !== null) {
2979
- contents.version = smithy_client_1.expectString(data.version);
2979
+ contents.version = (0, smithy_client_1.expectString)(data.version);
2980
2980
  }
2981
2981
  return Promise.resolve(contents);
2982
2982
  };
@@ -3009,7 +3009,7 @@ const deserializeAws_restJson1GetIntentCommandError = async (output, context) =>
3009
3009
  $fault: "client",
3010
3010
  $metadata: deserializeMetadata(output),
3011
3011
  });
3012
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3012
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3013
3013
  }
3014
3014
  };
3015
3015
  const deserializeAws_restJson1GetIntentsCommand = async (output, context) => {
@@ -3021,12 +3021,12 @@ const deserializeAws_restJson1GetIntentsCommand = async (output, context) => {
3021
3021
  intents: undefined,
3022
3022
  nextToken: undefined,
3023
3023
  };
3024
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3024
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3025
3025
  if (data.intents !== undefined && data.intents !== null) {
3026
3026
  contents.intents = deserializeAws_restJson1IntentMetadataList(data.intents, context);
3027
3027
  }
3028
3028
  if (data.nextToken !== undefined && data.nextToken !== null) {
3029
- contents.nextToken = smithy_client_1.expectString(data.nextToken);
3029
+ contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
3030
3030
  }
3031
3031
  return Promise.resolve(contents);
3032
3032
  };
@@ -3059,7 +3059,7 @@ const deserializeAws_restJson1GetIntentsCommandError = async (output, context) =
3059
3059
  $fault: "client",
3060
3060
  $metadata: deserializeMetadata(output),
3061
3061
  });
3062
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3062
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3063
3063
  }
3064
3064
  };
3065
3065
  const deserializeAws_restJson1GetIntentVersionsCommand = async (output, context) => {
@@ -3071,12 +3071,12 @@ const deserializeAws_restJson1GetIntentVersionsCommand = async (output, context)
3071
3071
  intents: undefined,
3072
3072
  nextToken: undefined,
3073
3073
  };
3074
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3074
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3075
3075
  if (data.intents !== undefined && data.intents !== null) {
3076
3076
  contents.intents = deserializeAws_restJson1IntentMetadataList(data.intents, context);
3077
3077
  }
3078
3078
  if (data.nextToken !== undefined && data.nextToken !== null) {
3079
- contents.nextToken = smithy_client_1.expectString(data.nextToken);
3079
+ contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
3080
3080
  }
3081
3081
  return Promise.resolve(contents);
3082
3082
  };
@@ -3109,7 +3109,7 @@ const deserializeAws_restJson1GetIntentVersionsCommandError = async (output, con
3109
3109
  $fault: "client",
3110
3110
  $metadata: deserializeMetadata(output),
3111
3111
  });
3112
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3112
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3113
3113
  }
3114
3114
  };
3115
3115
  const deserializeAws_restJson1GetMigrationCommand = async (output, context) => {
@@ -3129,36 +3129,36 @@ const deserializeAws_restJson1GetMigrationCommand = async (output, context) => {
3129
3129
  v2BotId: undefined,
3130
3130
  v2BotRole: undefined,
3131
3131
  };
3132
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3132
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3133
3133
  if (data.alerts !== undefined && data.alerts !== null) {
3134
3134
  contents.alerts = deserializeAws_restJson1MigrationAlerts(data.alerts, context);
3135
3135
  }
3136
3136
  if (data.migrationId !== undefined && data.migrationId !== null) {
3137
- contents.migrationId = smithy_client_1.expectString(data.migrationId);
3137
+ contents.migrationId = (0, smithy_client_1.expectString)(data.migrationId);
3138
3138
  }
3139
3139
  if (data.migrationStatus !== undefined && data.migrationStatus !== null) {
3140
- contents.migrationStatus = smithy_client_1.expectString(data.migrationStatus);
3140
+ contents.migrationStatus = (0, smithy_client_1.expectString)(data.migrationStatus);
3141
3141
  }
3142
3142
  if (data.migrationStrategy !== undefined && data.migrationStrategy !== null) {
3143
- contents.migrationStrategy = smithy_client_1.expectString(data.migrationStrategy);
3143
+ contents.migrationStrategy = (0, smithy_client_1.expectString)(data.migrationStrategy);
3144
3144
  }
3145
3145
  if (data.migrationTimestamp !== undefined && data.migrationTimestamp !== null) {
3146
- contents.migrationTimestamp = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.migrationTimestamp)));
3146
+ contents.migrationTimestamp = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.migrationTimestamp)));
3147
3147
  }
3148
3148
  if (data.v1BotLocale !== undefined && data.v1BotLocale !== null) {
3149
- contents.v1BotLocale = smithy_client_1.expectString(data.v1BotLocale);
3149
+ contents.v1BotLocale = (0, smithy_client_1.expectString)(data.v1BotLocale);
3150
3150
  }
3151
3151
  if (data.v1BotName !== undefined && data.v1BotName !== null) {
3152
- contents.v1BotName = smithy_client_1.expectString(data.v1BotName);
3152
+ contents.v1BotName = (0, smithy_client_1.expectString)(data.v1BotName);
3153
3153
  }
3154
3154
  if (data.v1BotVersion !== undefined && data.v1BotVersion !== null) {
3155
- contents.v1BotVersion = smithy_client_1.expectString(data.v1BotVersion);
3155
+ contents.v1BotVersion = (0, smithy_client_1.expectString)(data.v1BotVersion);
3156
3156
  }
3157
3157
  if (data.v2BotId !== undefined && data.v2BotId !== null) {
3158
- contents.v2BotId = smithy_client_1.expectString(data.v2BotId);
3158
+ contents.v2BotId = (0, smithy_client_1.expectString)(data.v2BotId);
3159
3159
  }
3160
3160
  if (data.v2BotRole !== undefined && data.v2BotRole !== null) {
3161
- contents.v2BotRole = smithy_client_1.expectString(data.v2BotRole);
3161
+ contents.v2BotRole = (0, smithy_client_1.expectString)(data.v2BotRole);
3162
3162
  }
3163
3163
  return Promise.resolve(contents);
3164
3164
  };
@@ -3191,7 +3191,7 @@ const deserializeAws_restJson1GetMigrationCommandError = async (output, context)
3191
3191
  $fault: "client",
3192
3192
  $metadata: deserializeMetadata(output),
3193
3193
  });
3194
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3194
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3195
3195
  }
3196
3196
  };
3197
3197
  const deserializeAws_restJson1GetMigrationsCommand = async (output, context) => {
@@ -3203,12 +3203,12 @@ const deserializeAws_restJson1GetMigrationsCommand = async (output, context) =>
3203
3203
  migrationSummaries: undefined,
3204
3204
  nextToken: undefined,
3205
3205
  };
3206
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3206
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3207
3207
  if (data.migrationSummaries !== undefined && data.migrationSummaries !== null) {
3208
3208
  contents.migrationSummaries = deserializeAws_restJson1MigrationSummaryList(data.migrationSummaries, context);
3209
3209
  }
3210
3210
  if (data.nextToken !== undefined && data.nextToken !== null) {
3211
- contents.nextToken = smithy_client_1.expectString(data.nextToken);
3211
+ contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
3212
3212
  }
3213
3213
  return Promise.resolve(contents);
3214
3214
  };
@@ -3238,7 +3238,7 @@ const deserializeAws_restJson1GetMigrationsCommandError = async (output, context
3238
3238
  $fault: "client",
3239
3239
  $metadata: deserializeMetadata(output),
3240
3240
  });
3241
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3241
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3242
3242
  }
3243
3243
  };
3244
3244
  const deserializeAws_restJson1GetSlotTypeCommand = async (output, context) => {
@@ -3258,36 +3258,36 @@ const deserializeAws_restJson1GetSlotTypeCommand = async (output, context) => {
3258
3258
  valueSelectionStrategy: undefined,
3259
3259
  version: undefined,
3260
3260
  };
3261
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3261
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3262
3262
  if (data.checksum !== undefined && data.checksum !== null) {
3263
- contents.checksum = smithy_client_1.expectString(data.checksum);
3263
+ contents.checksum = (0, smithy_client_1.expectString)(data.checksum);
3264
3264
  }
3265
3265
  if (data.createdDate !== undefined && data.createdDate !== null) {
3266
- contents.createdDate = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.createdDate)));
3266
+ contents.createdDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.createdDate)));
3267
3267
  }
3268
3268
  if (data.description !== undefined && data.description !== null) {
3269
- contents.description = smithy_client_1.expectString(data.description);
3269
+ contents.description = (0, smithy_client_1.expectString)(data.description);
3270
3270
  }
3271
3271
  if (data.enumerationValues !== undefined && data.enumerationValues !== null) {
3272
3272
  contents.enumerationValues = deserializeAws_restJson1EnumerationValues(data.enumerationValues, context);
3273
3273
  }
3274
3274
  if (data.lastUpdatedDate !== undefined && data.lastUpdatedDate !== null) {
3275
- contents.lastUpdatedDate = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.lastUpdatedDate)));
3275
+ contents.lastUpdatedDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.lastUpdatedDate)));
3276
3276
  }
3277
3277
  if (data.name !== undefined && data.name !== null) {
3278
- contents.name = smithy_client_1.expectString(data.name);
3278
+ contents.name = (0, smithy_client_1.expectString)(data.name);
3279
3279
  }
3280
3280
  if (data.parentSlotTypeSignature !== undefined && data.parentSlotTypeSignature !== null) {
3281
- contents.parentSlotTypeSignature = smithy_client_1.expectString(data.parentSlotTypeSignature);
3281
+ contents.parentSlotTypeSignature = (0, smithy_client_1.expectString)(data.parentSlotTypeSignature);
3282
3282
  }
3283
3283
  if (data.slotTypeConfigurations !== undefined && data.slotTypeConfigurations !== null) {
3284
3284
  contents.slotTypeConfigurations = deserializeAws_restJson1SlotTypeConfigurations(data.slotTypeConfigurations, context);
3285
3285
  }
3286
3286
  if (data.valueSelectionStrategy !== undefined && data.valueSelectionStrategy !== null) {
3287
- contents.valueSelectionStrategy = smithy_client_1.expectString(data.valueSelectionStrategy);
3287
+ contents.valueSelectionStrategy = (0, smithy_client_1.expectString)(data.valueSelectionStrategy);
3288
3288
  }
3289
3289
  if (data.version !== undefined && data.version !== null) {
3290
- contents.version = smithy_client_1.expectString(data.version);
3290
+ contents.version = (0, smithy_client_1.expectString)(data.version);
3291
3291
  }
3292
3292
  return Promise.resolve(contents);
3293
3293
  };
@@ -3320,7 +3320,7 @@ const deserializeAws_restJson1GetSlotTypeCommandError = async (output, context)
3320
3320
  $fault: "client",
3321
3321
  $metadata: deserializeMetadata(output),
3322
3322
  });
3323
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3323
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3324
3324
  }
3325
3325
  };
3326
3326
  const deserializeAws_restJson1GetSlotTypesCommand = async (output, context) => {
@@ -3332,9 +3332,9 @@ const deserializeAws_restJson1GetSlotTypesCommand = async (output, context) => {
3332
3332
  nextToken: undefined,
3333
3333
  slotTypes: undefined,
3334
3334
  };
3335
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3335
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3336
3336
  if (data.nextToken !== undefined && data.nextToken !== null) {
3337
- contents.nextToken = smithy_client_1.expectString(data.nextToken);
3337
+ contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
3338
3338
  }
3339
3339
  if (data.slotTypes !== undefined && data.slotTypes !== null) {
3340
3340
  contents.slotTypes = deserializeAws_restJson1SlotTypeMetadataList(data.slotTypes, context);
@@ -3370,7 +3370,7 @@ const deserializeAws_restJson1GetSlotTypesCommandError = async (output, context)
3370
3370
  $fault: "client",
3371
3371
  $metadata: deserializeMetadata(output),
3372
3372
  });
3373
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3373
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3374
3374
  }
3375
3375
  };
3376
3376
  const deserializeAws_restJson1GetSlotTypeVersionsCommand = async (output, context) => {
@@ -3382,9 +3382,9 @@ const deserializeAws_restJson1GetSlotTypeVersionsCommand = async (output, contex
3382
3382
  nextToken: undefined,
3383
3383
  slotTypes: undefined,
3384
3384
  };
3385
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3385
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3386
3386
  if (data.nextToken !== undefined && data.nextToken !== null) {
3387
- contents.nextToken = smithy_client_1.expectString(data.nextToken);
3387
+ contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
3388
3388
  }
3389
3389
  if (data.slotTypes !== undefined && data.slotTypes !== null) {
3390
3390
  contents.slotTypes = deserializeAws_restJson1SlotTypeMetadataList(data.slotTypes, context);
@@ -3420,7 +3420,7 @@ const deserializeAws_restJson1GetSlotTypeVersionsCommandError = async (output, c
3420
3420
  $fault: "client",
3421
3421
  $metadata: deserializeMetadata(output),
3422
3422
  });
3423
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3423
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3424
3424
  }
3425
3425
  };
3426
3426
  const deserializeAws_restJson1GetUtterancesViewCommand = async (output, context) => {
@@ -3432,9 +3432,9 @@ const deserializeAws_restJson1GetUtterancesViewCommand = async (output, context)
3432
3432
  botName: undefined,
3433
3433
  utterances: undefined,
3434
3434
  };
3435
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3435
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3436
3436
  if (data.botName !== undefined && data.botName !== null) {
3437
- contents.botName = smithy_client_1.expectString(data.botName);
3437
+ contents.botName = (0, smithy_client_1.expectString)(data.botName);
3438
3438
  }
3439
3439
  if (data.utterances !== undefined && data.utterances !== null) {
3440
3440
  contents.utterances = deserializeAws_restJson1ListsOfUtterances(data.utterances, context);
@@ -3467,7 +3467,7 @@ const deserializeAws_restJson1GetUtterancesViewCommandError = async (output, con
3467
3467
  $fault: "client",
3468
3468
  $metadata: deserializeMetadata(output),
3469
3469
  });
3470
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3470
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3471
3471
  }
3472
3472
  };
3473
3473
  const deserializeAws_restJson1ListTagsForResourceCommand = async (output, context) => {
@@ -3478,7 +3478,7 @@ const deserializeAws_restJson1ListTagsForResourceCommand = async (output, contex
3478
3478
  $metadata: deserializeMetadata(output),
3479
3479
  tags: undefined,
3480
3480
  };
3481
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3481
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3482
3482
  if (data.tags !== undefined && data.tags !== null) {
3483
3483
  contents.tags = deserializeAws_restJson1TagList(data.tags, context);
3484
3484
  }
@@ -3513,7 +3513,7 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
3513
3513
  $fault: "client",
3514
3514
  $metadata: deserializeMetadata(output),
3515
3515
  });
3516
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3516
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3517
3517
  }
3518
3518
  };
3519
3519
  const deserializeAws_restJson1PutBotCommand = async (output, context) => {
@@ -3543,66 +3543,66 @@ const deserializeAws_restJson1PutBotCommand = async (output, context) => {
3543
3543
  version: undefined,
3544
3544
  voiceId: undefined,
3545
3545
  };
3546
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3546
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3547
3547
  if (data.abortStatement !== undefined && data.abortStatement !== null) {
3548
3548
  contents.abortStatement = deserializeAws_restJson1Statement(data.abortStatement, context);
3549
3549
  }
3550
3550
  if (data.checksum !== undefined && data.checksum !== null) {
3551
- contents.checksum = smithy_client_1.expectString(data.checksum);
3551
+ contents.checksum = (0, smithy_client_1.expectString)(data.checksum);
3552
3552
  }
3553
3553
  if (data.childDirected !== undefined && data.childDirected !== null) {
3554
- contents.childDirected = smithy_client_1.expectBoolean(data.childDirected);
3554
+ contents.childDirected = (0, smithy_client_1.expectBoolean)(data.childDirected);
3555
3555
  }
3556
3556
  if (data.clarificationPrompt !== undefined && data.clarificationPrompt !== null) {
3557
3557
  contents.clarificationPrompt = deserializeAws_restJson1Prompt(data.clarificationPrompt, context);
3558
3558
  }
3559
3559
  if (data.createVersion !== undefined && data.createVersion !== null) {
3560
- contents.createVersion = smithy_client_1.expectBoolean(data.createVersion);
3560
+ contents.createVersion = (0, smithy_client_1.expectBoolean)(data.createVersion);
3561
3561
  }
3562
3562
  if (data.createdDate !== undefined && data.createdDate !== null) {
3563
- contents.createdDate = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.createdDate)));
3563
+ contents.createdDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.createdDate)));
3564
3564
  }
3565
3565
  if (data.description !== undefined && data.description !== null) {
3566
- contents.description = smithy_client_1.expectString(data.description);
3566
+ contents.description = (0, smithy_client_1.expectString)(data.description);
3567
3567
  }
3568
3568
  if (data.detectSentiment !== undefined && data.detectSentiment !== null) {
3569
- contents.detectSentiment = smithy_client_1.expectBoolean(data.detectSentiment);
3569
+ contents.detectSentiment = (0, smithy_client_1.expectBoolean)(data.detectSentiment);
3570
3570
  }
3571
3571
  if (data.enableModelImprovements !== undefined && data.enableModelImprovements !== null) {
3572
- contents.enableModelImprovements = smithy_client_1.expectBoolean(data.enableModelImprovements);
3572
+ contents.enableModelImprovements = (0, smithy_client_1.expectBoolean)(data.enableModelImprovements);
3573
3573
  }
3574
3574
  if (data.failureReason !== undefined && data.failureReason !== null) {
3575
- contents.failureReason = smithy_client_1.expectString(data.failureReason);
3575
+ contents.failureReason = (0, smithy_client_1.expectString)(data.failureReason);
3576
3576
  }
3577
3577
  if (data.idleSessionTTLInSeconds !== undefined && data.idleSessionTTLInSeconds !== null) {
3578
- contents.idleSessionTTLInSeconds = smithy_client_1.expectInt32(data.idleSessionTTLInSeconds);
3578
+ contents.idleSessionTTLInSeconds = (0, smithy_client_1.expectInt32)(data.idleSessionTTLInSeconds);
3579
3579
  }
3580
3580
  if (data.intents !== undefined && data.intents !== null) {
3581
3581
  contents.intents = deserializeAws_restJson1IntentList(data.intents, context);
3582
3582
  }
3583
3583
  if (data.lastUpdatedDate !== undefined && data.lastUpdatedDate !== null) {
3584
- contents.lastUpdatedDate = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.lastUpdatedDate)));
3584
+ contents.lastUpdatedDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.lastUpdatedDate)));
3585
3585
  }
3586
3586
  if (data.locale !== undefined && data.locale !== null) {
3587
- contents.locale = smithy_client_1.expectString(data.locale);
3587
+ contents.locale = (0, smithy_client_1.expectString)(data.locale);
3588
3588
  }
3589
3589
  if (data.name !== undefined && data.name !== null) {
3590
- contents.name = smithy_client_1.expectString(data.name);
3590
+ contents.name = (0, smithy_client_1.expectString)(data.name);
3591
3591
  }
3592
3592
  if (data.nluIntentConfidenceThreshold !== undefined && data.nluIntentConfidenceThreshold !== null) {
3593
- contents.nluIntentConfidenceThreshold = smithy_client_1.limitedParseDouble(data.nluIntentConfidenceThreshold);
3593
+ contents.nluIntentConfidenceThreshold = (0, smithy_client_1.limitedParseDouble)(data.nluIntentConfidenceThreshold);
3594
3594
  }
3595
3595
  if (data.status !== undefined && data.status !== null) {
3596
- contents.status = smithy_client_1.expectString(data.status);
3596
+ contents.status = (0, smithy_client_1.expectString)(data.status);
3597
3597
  }
3598
3598
  if (data.tags !== undefined && data.tags !== null) {
3599
3599
  contents.tags = deserializeAws_restJson1TagList(data.tags, context);
3600
3600
  }
3601
3601
  if (data.version !== undefined && data.version !== null) {
3602
- contents.version = smithy_client_1.expectString(data.version);
3602
+ contents.version = (0, smithy_client_1.expectString)(data.version);
3603
3603
  }
3604
3604
  if (data.voiceId !== undefined && data.voiceId !== null) {
3605
- contents.voiceId = smithy_client_1.expectString(data.voiceId);
3605
+ contents.voiceId = (0, smithy_client_1.expectString)(data.voiceId);
3606
3606
  }
3607
3607
  return Promise.resolve(contents);
3608
3608
  };
@@ -3638,7 +3638,7 @@ const deserializeAws_restJson1PutBotCommandError = async (output, context) => {
3638
3638
  $fault: "client",
3639
3639
  $metadata: deserializeMetadata(output),
3640
3640
  });
3641
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3641
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3642
3642
  }
3643
3643
  };
3644
3644
  const deserializeAws_restJson1PutBotAliasCommand = async (output, context) => {
@@ -3657,30 +3657,30 @@ const deserializeAws_restJson1PutBotAliasCommand = async (output, context) => {
3657
3657
  name: undefined,
3658
3658
  tags: undefined,
3659
3659
  };
3660
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3660
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3661
3661
  if (data.botName !== undefined && data.botName !== null) {
3662
- contents.botName = smithy_client_1.expectString(data.botName);
3662
+ contents.botName = (0, smithy_client_1.expectString)(data.botName);
3663
3663
  }
3664
3664
  if (data.botVersion !== undefined && data.botVersion !== null) {
3665
- contents.botVersion = smithy_client_1.expectString(data.botVersion);
3665
+ contents.botVersion = (0, smithy_client_1.expectString)(data.botVersion);
3666
3666
  }
3667
3667
  if (data.checksum !== undefined && data.checksum !== null) {
3668
- contents.checksum = smithy_client_1.expectString(data.checksum);
3668
+ contents.checksum = (0, smithy_client_1.expectString)(data.checksum);
3669
3669
  }
3670
3670
  if (data.conversationLogs !== undefined && data.conversationLogs !== null) {
3671
3671
  contents.conversationLogs = deserializeAws_restJson1ConversationLogsResponse(data.conversationLogs, context);
3672
3672
  }
3673
3673
  if (data.createdDate !== undefined && data.createdDate !== null) {
3674
- contents.createdDate = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.createdDate)));
3674
+ contents.createdDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.createdDate)));
3675
3675
  }
3676
3676
  if (data.description !== undefined && data.description !== null) {
3677
- contents.description = smithy_client_1.expectString(data.description);
3677
+ contents.description = (0, smithy_client_1.expectString)(data.description);
3678
3678
  }
3679
3679
  if (data.lastUpdatedDate !== undefined && data.lastUpdatedDate !== null) {
3680
- contents.lastUpdatedDate = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.lastUpdatedDate)));
3680
+ contents.lastUpdatedDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.lastUpdatedDate)));
3681
3681
  }
3682
3682
  if (data.name !== undefined && data.name !== null) {
3683
- contents.name = smithy_client_1.expectString(data.name);
3683
+ contents.name = (0, smithy_client_1.expectString)(data.name);
3684
3684
  }
3685
3685
  if (data.tags !== undefined && data.tags !== null) {
3686
3686
  contents.tags = deserializeAws_restJson1TagList(data.tags, context);
@@ -3719,7 +3719,7 @@ const deserializeAws_restJson1PutBotAliasCommandError = async (output, context)
3719
3719
  $fault: "client",
3720
3720
  $metadata: deserializeMetadata(output),
3721
3721
  });
3722
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3722
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3723
3723
  }
3724
3724
  };
3725
3725
  const deserializeAws_restJson1PutIntentCommand = async (output, context) => {
@@ -3748,9 +3748,9 @@ const deserializeAws_restJson1PutIntentCommand = async (output, context) => {
3748
3748
  slots: undefined,
3749
3749
  version: undefined,
3750
3750
  };
3751
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3751
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3752
3752
  if (data.checksum !== undefined && data.checksum !== null) {
3753
- contents.checksum = smithy_client_1.expectString(data.checksum);
3753
+ contents.checksum = (0, smithy_client_1.expectString)(data.checksum);
3754
3754
  }
3755
3755
  if (data.conclusionStatement !== undefined && data.conclusionStatement !== null) {
3756
3756
  contents.conclusionStatement = deserializeAws_restJson1Statement(data.conclusionStatement, context);
@@ -3759,13 +3759,13 @@ const deserializeAws_restJson1PutIntentCommand = async (output, context) => {
3759
3759
  contents.confirmationPrompt = deserializeAws_restJson1Prompt(data.confirmationPrompt, context);
3760
3760
  }
3761
3761
  if (data.createVersion !== undefined && data.createVersion !== null) {
3762
- contents.createVersion = smithy_client_1.expectBoolean(data.createVersion);
3762
+ contents.createVersion = (0, smithy_client_1.expectBoolean)(data.createVersion);
3763
3763
  }
3764
3764
  if (data.createdDate !== undefined && data.createdDate !== null) {
3765
- contents.createdDate = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.createdDate)));
3765
+ contents.createdDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.createdDate)));
3766
3766
  }
3767
3767
  if (data.description !== undefined && data.description !== null) {
3768
- contents.description = smithy_client_1.expectString(data.description);
3768
+ contents.description = (0, smithy_client_1.expectString)(data.description);
3769
3769
  }
3770
3770
  if (data.dialogCodeHook !== undefined && data.dialogCodeHook !== null) {
3771
3771
  contents.dialogCodeHook = deserializeAws_restJson1CodeHook(data.dialogCodeHook, context);
@@ -3783,16 +3783,16 @@ const deserializeAws_restJson1PutIntentCommand = async (output, context) => {
3783
3783
  contents.kendraConfiguration = deserializeAws_restJson1KendraConfiguration(data.kendraConfiguration, context);
3784
3784
  }
3785
3785
  if (data.lastUpdatedDate !== undefined && data.lastUpdatedDate !== null) {
3786
- contents.lastUpdatedDate = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.lastUpdatedDate)));
3786
+ contents.lastUpdatedDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.lastUpdatedDate)));
3787
3787
  }
3788
3788
  if (data.name !== undefined && data.name !== null) {
3789
- contents.name = smithy_client_1.expectString(data.name);
3789
+ contents.name = (0, smithy_client_1.expectString)(data.name);
3790
3790
  }
3791
3791
  if (data.outputContexts !== undefined && data.outputContexts !== null) {
3792
3792
  contents.outputContexts = deserializeAws_restJson1OutputContextList(data.outputContexts, context);
3793
3793
  }
3794
3794
  if (data.parentIntentSignature !== undefined && data.parentIntentSignature !== null) {
3795
- contents.parentIntentSignature = smithy_client_1.expectString(data.parentIntentSignature);
3795
+ contents.parentIntentSignature = (0, smithy_client_1.expectString)(data.parentIntentSignature);
3796
3796
  }
3797
3797
  if (data.rejectionStatement !== undefined && data.rejectionStatement !== null) {
3798
3798
  contents.rejectionStatement = deserializeAws_restJson1Statement(data.rejectionStatement, context);
@@ -3804,7 +3804,7 @@ const deserializeAws_restJson1PutIntentCommand = async (output, context) => {
3804
3804
  contents.slots = deserializeAws_restJson1SlotList(data.slots, context);
3805
3805
  }
3806
3806
  if (data.version !== undefined && data.version !== null) {
3807
- contents.version = smithy_client_1.expectString(data.version);
3807
+ contents.version = (0, smithy_client_1.expectString)(data.version);
3808
3808
  }
3809
3809
  return Promise.resolve(contents);
3810
3810
  };
@@ -3840,7 +3840,7 @@ const deserializeAws_restJson1PutIntentCommandError = async (output, context) =>
3840
3840
  $fault: "client",
3841
3841
  $metadata: deserializeMetadata(output),
3842
3842
  });
3843
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3843
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3844
3844
  }
3845
3845
  };
3846
3846
  const deserializeAws_restJson1PutSlotTypeCommand = async (output, context) => {
@@ -3861,39 +3861,39 @@ const deserializeAws_restJson1PutSlotTypeCommand = async (output, context) => {
3861
3861
  valueSelectionStrategy: undefined,
3862
3862
  version: undefined,
3863
3863
  };
3864
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3864
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3865
3865
  if (data.checksum !== undefined && data.checksum !== null) {
3866
- contents.checksum = smithy_client_1.expectString(data.checksum);
3866
+ contents.checksum = (0, smithy_client_1.expectString)(data.checksum);
3867
3867
  }
3868
3868
  if (data.createVersion !== undefined && data.createVersion !== null) {
3869
- contents.createVersion = smithy_client_1.expectBoolean(data.createVersion);
3869
+ contents.createVersion = (0, smithy_client_1.expectBoolean)(data.createVersion);
3870
3870
  }
3871
3871
  if (data.createdDate !== undefined && data.createdDate !== null) {
3872
- contents.createdDate = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.createdDate)));
3872
+ contents.createdDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.createdDate)));
3873
3873
  }
3874
3874
  if (data.description !== undefined && data.description !== null) {
3875
- contents.description = smithy_client_1.expectString(data.description);
3875
+ contents.description = (0, smithy_client_1.expectString)(data.description);
3876
3876
  }
3877
3877
  if (data.enumerationValues !== undefined && data.enumerationValues !== null) {
3878
3878
  contents.enumerationValues = deserializeAws_restJson1EnumerationValues(data.enumerationValues, context);
3879
3879
  }
3880
3880
  if (data.lastUpdatedDate !== undefined && data.lastUpdatedDate !== null) {
3881
- contents.lastUpdatedDate = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.lastUpdatedDate)));
3881
+ contents.lastUpdatedDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.lastUpdatedDate)));
3882
3882
  }
3883
3883
  if (data.name !== undefined && data.name !== null) {
3884
- contents.name = smithy_client_1.expectString(data.name);
3884
+ contents.name = (0, smithy_client_1.expectString)(data.name);
3885
3885
  }
3886
3886
  if (data.parentSlotTypeSignature !== undefined && data.parentSlotTypeSignature !== null) {
3887
- contents.parentSlotTypeSignature = smithy_client_1.expectString(data.parentSlotTypeSignature);
3887
+ contents.parentSlotTypeSignature = (0, smithy_client_1.expectString)(data.parentSlotTypeSignature);
3888
3888
  }
3889
3889
  if (data.slotTypeConfigurations !== undefined && data.slotTypeConfigurations !== null) {
3890
3890
  contents.slotTypeConfigurations = deserializeAws_restJson1SlotTypeConfigurations(data.slotTypeConfigurations, context);
3891
3891
  }
3892
3892
  if (data.valueSelectionStrategy !== undefined && data.valueSelectionStrategy !== null) {
3893
- contents.valueSelectionStrategy = smithy_client_1.expectString(data.valueSelectionStrategy);
3893
+ contents.valueSelectionStrategy = (0, smithy_client_1.expectString)(data.valueSelectionStrategy);
3894
3894
  }
3895
3895
  if (data.version !== undefined && data.version !== null) {
3896
- contents.version = smithy_client_1.expectString(data.version);
3896
+ contents.version = (0, smithy_client_1.expectString)(data.version);
3897
3897
  }
3898
3898
  return Promise.resolve(contents);
3899
3899
  };
@@ -3929,7 +3929,7 @@ const deserializeAws_restJson1PutSlotTypeCommandError = async (output, context)
3929
3929
  $fault: "client",
3930
3930
  $metadata: deserializeMetadata(output),
3931
3931
  });
3932
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3932
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3933
3933
  }
3934
3934
  };
3935
3935
  const deserializeAws_restJson1StartImportCommand = async (output, context) => {
@@ -3946,24 +3946,24 @@ const deserializeAws_restJson1StartImportCommand = async (output, context) => {
3946
3946
  resourceType: undefined,
3947
3947
  tags: undefined,
3948
3948
  };
3949
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3949
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3950
3950
  if (data.createdDate !== undefined && data.createdDate !== null) {
3951
- contents.createdDate = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.createdDate)));
3951
+ contents.createdDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.createdDate)));
3952
3952
  }
3953
3953
  if (data.importId !== undefined && data.importId !== null) {
3954
- contents.importId = smithy_client_1.expectString(data.importId);
3954
+ contents.importId = (0, smithy_client_1.expectString)(data.importId);
3955
3955
  }
3956
3956
  if (data.importStatus !== undefined && data.importStatus !== null) {
3957
- contents.importStatus = smithy_client_1.expectString(data.importStatus);
3957
+ contents.importStatus = (0, smithy_client_1.expectString)(data.importStatus);
3958
3958
  }
3959
3959
  if (data.mergeStrategy !== undefined && data.mergeStrategy !== null) {
3960
- contents.mergeStrategy = smithy_client_1.expectString(data.mergeStrategy);
3960
+ contents.mergeStrategy = (0, smithy_client_1.expectString)(data.mergeStrategy);
3961
3961
  }
3962
3962
  if (data.name !== undefined && data.name !== null) {
3963
- contents.name = smithy_client_1.expectString(data.name);
3963
+ contents.name = (0, smithy_client_1.expectString)(data.name);
3964
3964
  }
3965
3965
  if (data.resourceType !== undefined && data.resourceType !== null) {
3966
- contents.resourceType = smithy_client_1.expectString(data.resourceType);
3966
+ contents.resourceType = (0, smithy_client_1.expectString)(data.resourceType);
3967
3967
  }
3968
3968
  if (data.tags !== undefined && data.tags !== null) {
3969
3969
  contents.tags = deserializeAws_restJson1TagList(data.tags, context);
@@ -3996,7 +3996,7 @@ const deserializeAws_restJson1StartImportCommandError = async (output, context)
3996
3996
  $fault: "client",
3997
3997
  $metadata: deserializeMetadata(output),
3998
3998
  });
3999
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3999
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
4000
4000
  }
4001
4001
  };
4002
4002
  const deserializeAws_restJson1StartMigrationCommand = async (output, context) => {
@@ -4014,30 +4014,30 @@ const deserializeAws_restJson1StartMigrationCommand = async (output, context) =>
4014
4014
  v2BotId: undefined,
4015
4015
  v2BotRole: undefined,
4016
4016
  };
4017
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
4017
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
4018
4018
  if (data.migrationId !== undefined && data.migrationId !== null) {
4019
- contents.migrationId = smithy_client_1.expectString(data.migrationId);
4019
+ contents.migrationId = (0, smithy_client_1.expectString)(data.migrationId);
4020
4020
  }
4021
4021
  if (data.migrationStrategy !== undefined && data.migrationStrategy !== null) {
4022
- contents.migrationStrategy = smithy_client_1.expectString(data.migrationStrategy);
4022
+ contents.migrationStrategy = (0, smithy_client_1.expectString)(data.migrationStrategy);
4023
4023
  }
4024
4024
  if (data.migrationTimestamp !== undefined && data.migrationTimestamp !== null) {
4025
- contents.migrationTimestamp = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.migrationTimestamp)));
4025
+ contents.migrationTimestamp = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.migrationTimestamp)));
4026
4026
  }
4027
4027
  if (data.v1BotLocale !== undefined && data.v1BotLocale !== null) {
4028
- contents.v1BotLocale = smithy_client_1.expectString(data.v1BotLocale);
4028
+ contents.v1BotLocale = (0, smithy_client_1.expectString)(data.v1BotLocale);
4029
4029
  }
4030
4030
  if (data.v1BotName !== undefined && data.v1BotName !== null) {
4031
- contents.v1BotName = smithy_client_1.expectString(data.v1BotName);
4031
+ contents.v1BotName = (0, smithy_client_1.expectString)(data.v1BotName);
4032
4032
  }
4033
4033
  if (data.v1BotVersion !== undefined && data.v1BotVersion !== null) {
4034
- contents.v1BotVersion = smithy_client_1.expectString(data.v1BotVersion);
4034
+ contents.v1BotVersion = (0, smithy_client_1.expectString)(data.v1BotVersion);
4035
4035
  }
4036
4036
  if (data.v2BotId !== undefined && data.v2BotId !== null) {
4037
- contents.v2BotId = smithy_client_1.expectString(data.v2BotId);
4037
+ contents.v2BotId = (0, smithy_client_1.expectString)(data.v2BotId);
4038
4038
  }
4039
4039
  if (data.v2BotRole !== undefined && data.v2BotRole !== null) {
4040
- contents.v2BotRole = smithy_client_1.expectString(data.v2BotRole);
4040
+ contents.v2BotRole = (0, smithy_client_1.expectString)(data.v2BotRole);
4041
4041
  }
4042
4042
  return Promise.resolve(contents);
4043
4043
  };
@@ -4073,7 +4073,7 @@ const deserializeAws_restJson1StartMigrationCommandError = async (output, contex
4073
4073
  $fault: "client",
4074
4074
  $metadata: deserializeMetadata(output),
4075
4075
  });
4076
- throw smithy_client_1.decorateServiceException(response, parsedBody);
4076
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
4077
4077
  }
4078
4078
  };
4079
4079
  const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
@@ -4118,7 +4118,7 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
4118
4118
  $fault: "client",
4119
4119
  $metadata: deserializeMetadata(output),
4120
4120
  });
4121
- throw smithy_client_1.decorateServiceException(response, parsedBody);
4121
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
4122
4122
  }
4123
4123
  };
4124
4124
  const deserializeAws_restJson1UntagResourceCommand = async (output, context) => {
@@ -4163,56 +4163,56 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
4163
4163
  $fault: "client",
4164
4164
  $metadata: deserializeMetadata(output),
4165
4165
  });
4166
- throw smithy_client_1.decorateServiceException(response, parsedBody);
4166
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
4167
4167
  }
4168
4168
  };
4169
4169
  const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
4170
4170
  const contents = {};
4171
4171
  const data = parsedOutput.body;
4172
4172
  if (data.message !== undefined && data.message !== null) {
4173
- contents.message = smithy_client_1.expectString(data.message);
4173
+ contents.message = (0, smithy_client_1.expectString)(data.message);
4174
4174
  }
4175
4175
  const exception = new models_0_1.AccessDeniedException({
4176
4176
  $metadata: deserializeMetadata(parsedOutput),
4177
4177
  ...contents,
4178
4178
  });
4179
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
4179
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
4180
4180
  };
4181
4181
  const deserializeAws_restJson1BadRequestExceptionResponse = async (parsedOutput, context) => {
4182
4182
  const contents = {};
4183
4183
  const data = parsedOutput.body;
4184
4184
  if (data.message !== undefined && data.message !== null) {
4185
- contents.message = smithy_client_1.expectString(data.message);
4185
+ contents.message = (0, smithy_client_1.expectString)(data.message);
4186
4186
  }
4187
4187
  const exception = new models_0_1.BadRequestException({
4188
4188
  $metadata: deserializeMetadata(parsedOutput),
4189
4189
  ...contents,
4190
4190
  });
4191
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
4191
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
4192
4192
  };
4193
4193
  const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, context) => {
4194
4194
  const contents = {};
4195
4195
  const data = parsedOutput.body;
4196
4196
  if (data.message !== undefined && data.message !== null) {
4197
- contents.message = smithy_client_1.expectString(data.message);
4197
+ contents.message = (0, smithy_client_1.expectString)(data.message);
4198
4198
  }
4199
4199
  const exception = new models_0_1.ConflictException({
4200
4200
  $metadata: deserializeMetadata(parsedOutput),
4201
4201
  ...contents,
4202
4202
  });
4203
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
4203
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
4204
4204
  };
4205
4205
  const deserializeAws_restJson1InternalFailureExceptionResponse = async (parsedOutput, context) => {
4206
4206
  const contents = {};
4207
4207
  const data = parsedOutput.body;
4208
4208
  if (data.message !== undefined && data.message !== null) {
4209
- contents.message = smithy_client_1.expectString(data.message);
4209
+ contents.message = (0, smithy_client_1.expectString)(data.message);
4210
4210
  }
4211
4211
  const exception = new models_0_1.InternalFailureException({
4212
4212
  $metadata: deserializeMetadata(parsedOutput),
4213
4213
  ...contents,
4214
4214
  });
4215
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
4215
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
4216
4216
  };
4217
4217
  const deserializeAws_restJson1LimitExceededExceptionResponse = async (parsedOutput, context) => {
4218
4218
  const contents = {};
@@ -4221,37 +4221,37 @@ const deserializeAws_restJson1LimitExceededExceptionResponse = async (parsedOutp
4221
4221
  }
4222
4222
  const data = parsedOutput.body;
4223
4223
  if (data.message !== undefined && data.message !== null) {
4224
- contents.message = smithy_client_1.expectString(data.message);
4224
+ contents.message = (0, smithy_client_1.expectString)(data.message);
4225
4225
  }
4226
4226
  const exception = new models_0_1.LimitExceededException({
4227
4227
  $metadata: deserializeMetadata(parsedOutput),
4228
4228
  ...contents,
4229
4229
  });
4230
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
4230
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
4231
4231
  };
4232
4232
  const deserializeAws_restJson1NotFoundExceptionResponse = async (parsedOutput, context) => {
4233
4233
  const contents = {};
4234
4234
  const data = parsedOutput.body;
4235
4235
  if (data.message !== undefined && data.message !== null) {
4236
- contents.message = smithy_client_1.expectString(data.message);
4236
+ contents.message = (0, smithy_client_1.expectString)(data.message);
4237
4237
  }
4238
4238
  const exception = new models_0_1.NotFoundException({
4239
4239
  $metadata: deserializeMetadata(parsedOutput),
4240
4240
  ...contents,
4241
4241
  });
4242
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
4242
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
4243
4243
  };
4244
4244
  const deserializeAws_restJson1PreconditionFailedExceptionResponse = async (parsedOutput, context) => {
4245
4245
  const contents = {};
4246
4246
  const data = parsedOutput.body;
4247
4247
  if (data.message !== undefined && data.message !== null) {
4248
- contents.message = smithy_client_1.expectString(data.message);
4248
+ contents.message = (0, smithy_client_1.expectString)(data.message);
4249
4249
  }
4250
4250
  const exception = new models_0_1.PreconditionFailedException({
4251
4251
  $metadata: deserializeMetadata(parsedOutput),
4252
4252
  ...contents,
4253
4253
  });
4254
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
4254
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
4255
4255
  };
4256
4256
  const deserializeAws_restJson1ResourceInUseExceptionResponse = async (parsedOutput, context) => {
4257
4257
  const contents = {};
@@ -4260,13 +4260,13 @@ const deserializeAws_restJson1ResourceInUseExceptionResponse = async (parsedOutp
4260
4260
  contents.exampleReference = deserializeAws_restJson1ResourceReference(data.exampleReference, context);
4261
4261
  }
4262
4262
  if (data.referenceType !== undefined && data.referenceType !== null) {
4263
- contents.referenceType = smithy_client_1.expectString(data.referenceType);
4263
+ contents.referenceType = (0, smithy_client_1.expectString)(data.referenceType);
4264
4264
  }
4265
4265
  const exception = new models_0_1.ResourceInUseException({
4266
4266
  $metadata: deserializeMetadata(parsedOutput),
4267
4267
  ...contents,
4268
4268
  });
4269
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
4269
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
4270
4270
  };
4271
4271
  const serializeAws_restJson1CodeHook = (input, context) => {
4272
4272
  return {
@@ -4556,20 +4556,20 @@ const serializeAws_restJson1TagList = (input, context) => {
4556
4556
  };
4557
4557
  const deserializeAws_restJson1BotAliasMetadata = (output, context) => {
4558
4558
  return {
4559
- botName: smithy_client_1.expectString(output.botName),
4560
- botVersion: smithy_client_1.expectString(output.botVersion),
4561
- checksum: smithy_client_1.expectString(output.checksum),
4559
+ botName: (0, smithy_client_1.expectString)(output.botName),
4560
+ botVersion: (0, smithy_client_1.expectString)(output.botVersion),
4561
+ checksum: (0, smithy_client_1.expectString)(output.checksum),
4562
4562
  conversationLogs: output.conversationLogs !== undefined && output.conversationLogs !== null
4563
4563
  ? deserializeAws_restJson1ConversationLogsResponse(output.conversationLogs, context)
4564
4564
  : undefined,
4565
4565
  createdDate: output.createdDate !== undefined && output.createdDate !== null
4566
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdDate)))
4566
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdDate)))
4567
4567
  : undefined,
4568
- description: smithy_client_1.expectString(output.description),
4568
+ description: (0, smithy_client_1.expectString)(output.description),
4569
4569
  lastUpdatedDate: output.lastUpdatedDate !== undefined && output.lastUpdatedDate !== null
4570
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedDate)))
4570
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUpdatedDate)))
4571
4571
  : undefined,
4572
- name: smithy_client_1.expectString(output.name),
4572
+ name: (0, smithy_client_1.expectString)(output.name),
4573
4573
  };
4574
4574
  };
4575
4575
  const deserializeAws_restJson1BotAliasMetadataList = (output, context) => {
@@ -4585,19 +4585,19 @@ const deserializeAws_restJson1BotAliasMetadataList = (output, context) => {
4585
4585
  };
4586
4586
  const deserializeAws_restJson1BotChannelAssociation = (output, context) => {
4587
4587
  return {
4588
- botAlias: smithy_client_1.expectString(output.botAlias),
4588
+ botAlias: (0, smithy_client_1.expectString)(output.botAlias),
4589
4589
  botConfiguration: output.botConfiguration !== undefined && output.botConfiguration !== null
4590
4590
  ? deserializeAws_restJson1ChannelConfigurationMap(output.botConfiguration, context)
4591
4591
  : undefined,
4592
- botName: smithy_client_1.expectString(output.botName),
4592
+ botName: (0, smithy_client_1.expectString)(output.botName),
4593
4593
  createdDate: output.createdDate !== undefined && output.createdDate !== null
4594
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdDate)))
4594
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdDate)))
4595
4595
  : undefined,
4596
- description: smithy_client_1.expectString(output.description),
4597
- failureReason: smithy_client_1.expectString(output.failureReason),
4598
- name: smithy_client_1.expectString(output.name),
4599
- status: smithy_client_1.expectString(output.status),
4600
- type: smithy_client_1.expectString(output.type),
4596
+ description: (0, smithy_client_1.expectString)(output.description),
4597
+ failureReason: (0, smithy_client_1.expectString)(output.failureReason),
4598
+ name: (0, smithy_client_1.expectString)(output.name),
4599
+ status: (0, smithy_client_1.expectString)(output.status),
4600
+ type: (0, smithy_client_1.expectString)(output.type),
4601
4601
  };
4602
4602
  };
4603
4603
  const deserializeAws_restJson1BotChannelAssociationList = (output, context) => {
@@ -4614,15 +4614,15 @@ const deserializeAws_restJson1BotChannelAssociationList = (output, context) => {
4614
4614
  const deserializeAws_restJson1BotMetadata = (output, context) => {
4615
4615
  return {
4616
4616
  createdDate: output.createdDate !== undefined && output.createdDate !== null
4617
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdDate)))
4617
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdDate)))
4618
4618
  : undefined,
4619
- description: smithy_client_1.expectString(output.description),
4619
+ description: (0, smithy_client_1.expectString)(output.description),
4620
4620
  lastUpdatedDate: output.lastUpdatedDate !== undefined && output.lastUpdatedDate !== null
4621
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedDate)))
4621
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUpdatedDate)))
4622
4622
  : undefined,
4623
- name: smithy_client_1.expectString(output.name),
4624
- status: smithy_client_1.expectString(output.status),
4625
- version: smithy_client_1.expectString(output.version),
4623
+ name: (0, smithy_client_1.expectString)(output.name),
4624
+ status: (0, smithy_client_1.expectString)(output.status),
4625
+ version: (0, smithy_client_1.expectString)(output.version),
4626
4626
  };
4627
4627
  };
4628
4628
  const deserializeAws_restJson1BotMetadataList = (output, context) => {
@@ -4638,7 +4638,7 @@ const deserializeAws_restJson1BotMetadataList = (output, context) => {
4638
4638
  };
4639
4639
  const deserializeAws_restJson1BuiltinIntentMetadata = (output, context) => {
4640
4640
  return {
4641
- signature: smithy_client_1.expectString(output.signature),
4641
+ signature: (0, smithy_client_1.expectString)(output.signature),
4642
4642
  supportedLocales: output.supportedLocales !== undefined && output.supportedLocales !== null
4643
4643
  ? deserializeAws_restJson1LocaleList(output.supportedLocales, context)
4644
4644
  : undefined,
@@ -4657,7 +4657,7 @@ const deserializeAws_restJson1BuiltinIntentMetadataList = (output, context) => {
4657
4657
  };
4658
4658
  const deserializeAws_restJson1BuiltinIntentSlot = (output, context) => {
4659
4659
  return {
4660
- name: smithy_client_1.expectString(output.name),
4660
+ name: (0, smithy_client_1.expectString)(output.name),
4661
4661
  };
4662
4662
  };
4663
4663
  const deserializeAws_restJson1BuiltinIntentSlotList = (output, context) => {
@@ -4673,7 +4673,7 @@ const deserializeAws_restJson1BuiltinIntentSlotList = (output, context) => {
4673
4673
  };
4674
4674
  const deserializeAws_restJson1BuiltinSlotTypeMetadata = (output, context) => {
4675
4675
  return {
4676
- signature: smithy_client_1.expectString(output.signature),
4676
+ signature: (0, smithy_client_1.expectString)(output.signature),
4677
4677
  supportedLocales: output.supportedLocales !== undefined && output.supportedLocales !== null
4678
4678
  ? deserializeAws_restJson1LocaleList(output.supportedLocales, context)
4679
4679
  : undefined,
@@ -4697,19 +4697,19 @@ const deserializeAws_restJson1ChannelConfigurationMap = (output, context) => {
4697
4697
  }
4698
4698
  return {
4699
4699
  ...acc,
4700
- [key]: smithy_client_1.expectString(value),
4700
+ [key]: (0, smithy_client_1.expectString)(value),
4701
4701
  };
4702
4702
  }, {});
4703
4703
  };
4704
4704
  const deserializeAws_restJson1CodeHook = (output, context) => {
4705
4705
  return {
4706
- messageVersion: smithy_client_1.expectString(output.messageVersion),
4707
- uri: smithy_client_1.expectString(output.uri),
4706
+ messageVersion: (0, smithy_client_1.expectString)(output.messageVersion),
4707
+ uri: (0, smithy_client_1.expectString)(output.uri),
4708
4708
  };
4709
4709
  };
4710
4710
  const deserializeAws_restJson1ConversationLogsResponse = (output, context) => {
4711
4711
  return {
4712
- iamRoleArn: smithy_client_1.expectString(output.iamRoleArn),
4712
+ iamRoleArn: (0, smithy_client_1.expectString)(output.iamRoleArn),
4713
4713
  logSettings: output.logSettings !== undefined && output.logSettings !== null
4714
4714
  ? deserializeAws_restJson1LogSettingsResponseList(output.logSettings, context)
4715
4715
  : undefined,
@@ -4720,7 +4720,7 @@ const deserializeAws_restJson1EnumerationValue = (output, context) => {
4720
4720
  synonyms: output.synonyms !== undefined && output.synonyms !== null
4721
4721
  ? deserializeAws_restJson1SynonymList(output.synonyms, context)
4722
4722
  : undefined,
4723
- value: smithy_client_1.expectString(output.value),
4723
+ value: (0, smithy_client_1.expectString)(output.value),
4724
4724
  };
4725
4725
  };
4726
4726
  const deserializeAws_restJson1EnumerationValues = (output, context) => {
@@ -4749,12 +4749,12 @@ const deserializeAws_restJson1FulfillmentActivity = (output, context) => {
4749
4749
  codeHook: output.codeHook !== undefined && output.codeHook !== null
4750
4750
  ? deserializeAws_restJson1CodeHook(output.codeHook, context)
4751
4751
  : undefined,
4752
- type: smithy_client_1.expectString(output.type),
4752
+ type: (0, smithy_client_1.expectString)(output.type),
4753
4753
  };
4754
4754
  };
4755
4755
  const deserializeAws_restJson1InputContext = (output, context) => {
4756
4756
  return {
4757
- name: smithy_client_1.expectString(output.name),
4757
+ name: (0, smithy_client_1.expectString)(output.name),
4758
4758
  };
4759
4759
  };
4760
4760
  const deserializeAws_restJson1InputContextList = (output, context) => {
@@ -4770,8 +4770,8 @@ const deserializeAws_restJson1InputContextList = (output, context) => {
4770
4770
  };
4771
4771
  const deserializeAws_restJson1Intent = (output, context) => {
4772
4772
  return {
4773
- intentName: smithy_client_1.expectString(output.intentName),
4774
- intentVersion: smithy_client_1.expectString(output.intentVersion),
4773
+ intentName: (0, smithy_client_1.expectString)(output.intentName),
4774
+ intentVersion: (0, smithy_client_1.expectString)(output.intentVersion),
4775
4775
  };
4776
4776
  };
4777
4777
  const deserializeAws_restJson1IntentList = (output, context) => {
@@ -4788,14 +4788,14 @@ const deserializeAws_restJson1IntentList = (output, context) => {
4788
4788
  const deserializeAws_restJson1IntentMetadata = (output, context) => {
4789
4789
  return {
4790
4790
  createdDate: output.createdDate !== undefined && output.createdDate !== null
4791
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdDate)))
4791
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdDate)))
4792
4792
  : undefined,
4793
- description: smithy_client_1.expectString(output.description),
4793
+ description: (0, smithy_client_1.expectString)(output.description),
4794
4794
  lastUpdatedDate: output.lastUpdatedDate !== undefined && output.lastUpdatedDate !== null
4795
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedDate)))
4795
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUpdatedDate)))
4796
4796
  : undefined,
4797
- name: smithy_client_1.expectString(output.name),
4798
- version: smithy_client_1.expectString(output.version),
4797
+ name: (0, smithy_client_1.expectString)(output.name),
4798
+ version: (0, smithy_client_1.expectString)(output.version),
4799
4799
  };
4800
4800
  };
4801
4801
  const deserializeAws_restJson1IntentMetadataList = (output, context) => {
@@ -4816,15 +4816,15 @@ const deserializeAws_restJson1IntentUtteranceList = (output, context) => {
4816
4816
  if (entry === null) {
4817
4817
  return null;
4818
4818
  }
4819
- return smithy_client_1.expectString(entry);
4819
+ return (0, smithy_client_1.expectString)(entry);
4820
4820
  });
4821
4821
  return retVal;
4822
4822
  };
4823
4823
  const deserializeAws_restJson1KendraConfiguration = (output, context) => {
4824
4824
  return {
4825
- kendraIndex: smithy_client_1.expectString(output.kendraIndex),
4826
- queryFilterString: smithy_client_1.expectString(output.queryFilterString),
4827
- role: smithy_client_1.expectString(output.role),
4825
+ kendraIndex: (0, smithy_client_1.expectString)(output.kendraIndex),
4826
+ queryFilterString: (0, smithy_client_1.expectString)(output.queryFilterString),
4827
+ role: (0, smithy_client_1.expectString)(output.role),
4828
4828
  };
4829
4829
  };
4830
4830
  const deserializeAws_restJson1ListOfUtterance = (output, context) => {
@@ -4856,17 +4856,17 @@ const deserializeAws_restJson1LocaleList = (output, context) => {
4856
4856
  if (entry === null) {
4857
4857
  return null;
4858
4858
  }
4859
- return smithy_client_1.expectString(entry);
4859
+ return (0, smithy_client_1.expectString)(entry);
4860
4860
  });
4861
4861
  return retVal;
4862
4862
  };
4863
4863
  const deserializeAws_restJson1LogSettingsResponse = (output, context) => {
4864
4864
  return {
4865
- destination: smithy_client_1.expectString(output.destination),
4866
- kmsKeyArn: smithy_client_1.expectString(output.kmsKeyArn),
4867
- logType: smithy_client_1.expectString(output.logType),
4868
- resourceArn: smithy_client_1.expectString(output.resourceArn),
4869
- resourcePrefix: smithy_client_1.expectString(output.resourcePrefix),
4865
+ destination: (0, smithy_client_1.expectString)(output.destination),
4866
+ kmsKeyArn: (0, smithy_client_1.expectString)(output.kmsKeyArn),
4867
+ logType: (0, smithy_client_1.expectString)(output.logType),
4868
+ resourceArn: (0, smithy_client_1.expectString)(output.resourceArn),
4869
+ resourcePrefix: (0, smithy_client_1.expectString)(output.resourcePrefix),
4870
4870
  };
4871
4871
  };
4872
4872
  const deserializeAws_restJson1LogSettingsResponseList = (output, context) => {
@@ -4882,9 +4882,9 @@ const deserializeAws_restJson1LogSettingsResponseList = (output, context) => {
4882
4882
  };
4883
4883
  const deserializeAws_restJson1Message = (output, context) => {
4884
4884
  return {
4885
- content: smithy_client_1.expectString(output.content),
4886
- contentType: smithy_client_1.expectString(output.contentType),
4887
- groupNumber: smithy_client_1.expectInt32(output.groupNumber),
4885
+ content: (0, smithy_client_1.expectString)(output.content),
4886
+ contentType: (0, smithy_client_1.expectString)(output.contentType),
4887
+ groupNumber: (0, smithy_client_1.expectInt32)(output.groupNumber),
4888
4888
  };
4889
4889
  };
4890
4890
  const deserializeAws_restJson1MessageList = (output, context) => {
@@ -4903,11 +4903,11 @@ const deserializeAws_restJson1MigrationAlert = (output, context) => {
4903
4903
  details: output.details !== undefined && output.details !== null
4904
4904
  ? deserializeAws_restJson1MigrationAlertDetails(output.details, context)
4905
4905
  : undefined,
4906
- message: smithy_client_1.expectString(output.message),
4906
+ message: (0, smithy_client_1.expectString)(output.message),
4907
4907
  referenceURLs: output.referenceURLs !== undefined && output.referenceURLs !== null
4908
4908
  ? deserializeAws_restJson1MigrationAlertReferenceURLs(output.referenceURLs, context)
4909
4909
  : undefined,
4910
- type: smithy_client_1.expectString(output.type),
4910
+ type: (0, smithy_client_1.expectString)(output.type),
4911
4911
  };
4912
4912
  };
4913
4913
  const deserializeAws_restJson1MigrationAlertDetails = (output, context) => {
@@ -4917,7 +4917,7 @@ const deserializeAws_restJson1MigrationAlertDetails = (output, context) => {
4917
4917
  if (entry === null) {
4918
4918
  return null;
4919
4919
  }
4920
- return smithy_client_1.expectString(entry);
4920
+ return (0, smithy_client_1.expectString)(entry);
4921
4921
  });
4922
4922
  return retVal;
4923
4923
  };
@@ -4928,7 +4928,7 @@ const deserializeAws_restJson1MigrationAlertReferenceURLs = (output, context) =>
4928
4928
  if (entry === null) {
4929
4929
  return null;
4930
4930
  }
4931
- return smithy_client_1.expectString(entry);
4931
+ return (0, smithy_client_1.expectString)(entry);
4932
4932
  });
4933
4933
  return retVal;
4934
4934
  };
@@ -4945,17 +4945,17 @@ const deserializeAws_restJson1MigrationAlerts = (output, context) => {
4945
4945
  };
4946
4946
  const deserializeAws_restJson1MigrationSummary = (output, context) => {
4947
4947
  return {
4948
- migrationId: smithy_client_1.expectString(output.migrationId),
4949
- migrationStatus: smithy_client_1.expectString(output.migrationStatus),
4950
- migrationStrategy: smithy_client_1.expectString(output.migrationStrategy),
4948
+ migrationId: (0, smithy_client_1.expectString)(output.migrationId),
4949
+ migrationStatus: (0, smithy_client_1.expectString)(output.migrationStatus),
4950
+ migrationStrategy: (0, smithy_client_1.expectString)(output.migrationStrategy),
4951
4951
  migrationTimestamp: output.migrationTimestamp !== undefined && output.migrationTimestamp !== null
4952
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.migrationTimestamp)))
4952
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.migrationTimestamp)))
4953
4953
  : undefined,
4954
- v1BotLocale: smithy_client_1.expectString(output.v1BotLocale),
4955
- v1BotName: smithy_client_1.expectString(output.v1BotName),
4956
- v1BotVersion: smithy_client_1.expectString(output.v1BotVersion),
4957
- v2BotId: smithy_client_1.expectString(output.v2BotId),
4958
- v2BotRole: smithy_client_1.expectString(output.v2BotRole),
4954
+ v1BotLocale: (0, smithy_client_1.expectString)(output.v1BotLocale),
4955
+ v1BotName: (0, smithy_client_1.expectString)(output.v1BotName),
4956
+ v1BotVersion: (0, smithy_client_1.expectString)(output.v1BotVersion),
4957
+ v2BotId: (0, smithy_client_1.expectString)(output.v2BotId),
4958
+ v2BotRole: (0, smithy_client_1.expectString)(output.v2BotRole),
4959
4959
  };
4960
4960
  };
4961
4961
  const deserializeAws_restJson1MigrationSummaryList = (output, context) => {
@@ -4971,9 +4971,9 @@ const deserializeAws_restJson1MigrationSummaryList = (output, context) => {
4971
4971
  };
4972
4972
  const deserializeAws_restJson1OutputContext = (output, context) => {
4973
4973
  return {
4974
- name: smithy_client_1.expectString(output.name),
4975
- timeToLiveInSeconds: smithy_client_1.expectInt32(output.timeToLiveInSeconds),
4976
- turnsToLive: smithy_client_1.expectInt32(output.turnsToLive),
4974
+ name: (0, smithy_client_1.expectString)(output.name),
4975
+ timeToLiveInSeconds: (0, smithy_client_1.expectInt32)(output.timeToLiveInSeconds),
4976
+ turnsToLive: (0, smithy_client_1.expectInt32)(output.turnsToLive),
4977
4977
  };
4978
4978
  };
4979
4979
  const deserializeAws_restJson1OutputContextList = (output, context) => {
@@ -4989,17 +4989,17 @@ const deserializeAws_restJson1OutputContextList = (output, context) => {
4989
4989
  };
4990
4990
  const deserializeAws_restJson1Prompt = (output, context) => {
4991
4991
  return {
4992
- maxAttempts: smithy_client_1.expectInt32(output.maxAttempts),
4992
+ maxAttempts: (0, smithy_client_1.expectInt32)(output.maxAttempts),
4993
4993
  messages: output.messages !== undefined && output.messages !== null
4994
4994
  ? deserializeAws_restJson1MessageList(output.messages, context)
4995
4995
  : undefined,
4996
- responseCard: smithy_client_1.expectString(output.responseCard),
4996
+ responseCard: (0, smithy_client_1.expectString)(output.responseCard),
4997
4997
  };
4998
4998
  };
4999
4999
  const deserializeAws_restJson1ResourceReference = (output, context) => {
5000
5000
  return {
5001
- name: smithy_client_1.expectString(output.name),
5002
- version: smithy_client_1.expectString(output.version),
5001
+ name: (0, smithy_client_1.expectString)(output.name),
5002
+ version: (0, smithy_client_1.expectString)(output.version),
5003
5003
  };
5004
5004
  };
5005
5005
  const deserializeAws_restJson1Slot = (output, context) => {
@@ -5007,17 +5007,17 @@ const deserializeAws_restJson1Slot = (output, context) => {
5007
5007
  defaultValueSpec: output.defaultValueSpec !== undefined && output.defaultValueSpec !== null
5008
5008
  ? deserializeAws_restJson1SlotDefaultValueSpec(output.defaultValueSpec, context)
5009
5009
  : undefined,
5010
- description: smithy_client_1.expectString(output.description),
5011
- name: smithy_client_1.expectString(output.name),
5012
- obfuscationSetting: smithy_client_1.expectString(output.obfuscationSetting),
5013
- priority: smithy_client_1.expectInt32(output.priority),
5014
- responseCard: smithy_client_1.expectString(output.responseCard),
5010
+ description: (0, smithy_client_1.expectString)(output.description),
5011
+ name: (0, smithy_client_1.expectString)(output.name),
5012
+ obfuscationSetting: (0, smithy_client_1.expectString)(output.obfuscationSetting),
5013
+ priority: (0, smithy_client_1.expectInt32)(output.priority),
5014
+ responseCard: (0, smithy_client_1.expectString)(output.responseCard),
5015
5015
  sampleUtterances: output.sampleUtterances !== undefined && output.sampleUtterances !== null
5016
5016
  ? deserializeAws_restJson1SlotUtteranceList(output.sampleUtterances, context)
5017
5017
  : undefined,
5018
- slotConstraint: smithy_client_1.expectString(output.slotConstraint),
5019
- slotType: smithy_client_1.expectString(output.slotType),
5020
- slotTypeVersion: smithy_client_1.expectString(output.slotTypeVersion),
5018
+ slotConstraint: (0, smithy_client_1.expectString)(output.slotConstraint),
5019
+ slotType: (0, smithy_client_1.expectString)(output.slotType),
5020
+ slotTypeVersion: (0, smithy_client_1.expectString)(output.slotTypeVersion),
5021
5021
  valueElicitationPrompt: output.valueElicitationPrompt !== undefined && output.valueElicitationPrompt !== null
5022
5022
  ? deserializeAws_restJson1Prompt(output.valueElicitationPrompt, context)
5023
5023
  : undefined,
@@ -5025,7 +5025,7 @@ const deserializeAws_restJson1Slot = (output, context) => {
5025
5025
  };
5026
5026
  const deserializeAws_restJson1SlotDefaultValue = (output, context) => {
5027
5027
  return {
5028
- defaultValue: smithy_client_1.expectString(output.defaultValue),
5028
+ defaultValue: (0, smithy_client_1.expectString)(output.defaultValue),
5029
5029
  };
5030
5030
  };
5031
5031
  const deserializeAws_restJson1SlotDefaultValueList = (output, context) => {
@@ -5078,14 +5078,14 @@ const deserializeAws_restJson1SlotTypeConfigurations = (output, context) => {
5078
5078
  const deserializeAws_restJson1SlotTypeMetadata = (output, context) => {
5079
5079
  return {
5080
5080
  createdDate: output.createdDate !== undefined && output.createdDate !== null
5081
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdDate)))
5081
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdDate)))
5082
5082
  : undefined,
5083
- description: smithy_client_1.expectString(output.description),
5083
+ description: (0, smithy_client_1.expectString)(output.description),
5084
5084
  lastUpdatedDate: output.lastUpdatedDate !== undefined && output.lastUpdatedDate !== null
5085
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedDate)))
5085
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUpdatedDate)))
5086
5086
  : undefined,
5087
- name: smithy_client_1.expectString(output.name),
5088
- version: smithy_client_1.expectString(output.version),
5087
+ name: (0, smithy_client_1.expectString)(output.name),
5088
+ version: (0, smithy_client_1.expectString)(output.version),
5089
5089
  };
5090
5090
  };
5091
5091
  const deserializeAws_restJson1SlotTypeMetadataList = (output, context) => {
@@ -5101,7 +5101,7 @@ const deserializeAws_restJson1SlotTypeMetadataList = (output, context) => {
5101
5101
  };
5102
5102
  const deserializeAws_restJson1SlotTypeRegexConfiguration = (output, context) => {
5103
5103
  return {
5104
- pattern: smithy_client_1.expectString(output.pattern),
5104
+ pattern: (0, smithy_client_1.expectString)(output.pattern),
5105
5105
  };
5106
5106
  };
5107
5107
  const deserializeAws_restJson1SlotUtteranceList = (output, context) => {
@@ -5111,7 +5111,7 @@ const deserializeAws_restJson1SlotUtteranceList = (output, context) => {
5111
5111
  if (entry === null) {
5112
5112
  return null;
5113
5113
  }
5114
- return smithy_client_1.expectString(entry);
5114
+ return (0, smithy_client_1.expectString)(entry);
5115
5115
  });
5116
5116
  return retVal;
5117
5117
  };
@@ -5120,7 +5120,7 @@ const deserializeAws_restJson1Statement = (output, context) => {
5120
5120
  messages: output.messages !== undefined && output.messages !== null
5121
5121
  ? deserializeAws_restJson1MessageList(output.messages, context)
5122
5122
  : undefined,
5123
- responseCard: smithy_client_1.expectString(output.responseCard),
5123
+ responseCard: (0, smithy_client_1.expectString)(output.responseCard),
5124
5124
  };
5125
5125
  };
5126
5126
  const deserializeAws_restJson1StringList = (output, context) => {
@@ -5130,7 +5130,7 @@ const deserializeAws_restJson1StringList = (output, context) => {
5130
5130
  if (entry === null) {
5131
5131
  return null;
5132
5132
  }
5133
- return smithy_client_1.expectString(entry);
5133
+ return (0, smithy_client_1.expectString)(entry);
5134
5134
  });
5135
5135
  return retVal;
5136
5136
  };
@@ -5141,14 +5141,14 @@ const deserializeAws_restJson1SynonymList = (output, context) => {
5141
5141
  if (entry === null) {
5142
5142
  return null;
5143
5143
  }
5144
- return smithy_client_1.expectString(entry);
5144
+ return (0, smithy_client_1.expectString)(entry);
5145
5145
  });
5146
5146
  return retVal;
5147
5147
  };
5148
5148
  const deserializeAws_restJson1Tag = (output, context) => {
5149
5149
  return {
5150
- key: smithy_client_1.expectString(output.key),
5151
- value: smithy_client_1.expectString(output.value),
5150
+ key: (0, smithy_client_1.expectString)(output.key),
5151
+ value: (0, smithy_client_1.expectString)(output.value),
5152
5152
  };
5153
5153
  };
5154
5154
  const deserializeAws_restJson1TagList = (output, context) => {
@@ -5164,20 +5164,20 @@ const deserializeAws_restJson1TagList = (output, context) => {
5164
5164
  };
5165
5165
  const deserializeAws_restJson1UtteranceData = (output, context) => {
5166
5166
  return {
5167
- count: smithy_client_1.expectInt32(output.count),
5168
- distinctUsers: smithy_client_1.expectInt32(output.distinctUsers),
5167
+ count: (0, smithy_client_1.expectInt32)(output.count),
5168
+ distinctUsers: (0, smithy_client_1.expectInt32)(output.distinctUsers),
5169
5169
  firstUtteredDate: output.firstUtteredDate !== undefined && output.firstUtteredDate !== null
5170
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.firstUtteredDate)))
5170
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.firstUtteredDate)))
5171
5171
  : undefined,
5172
5172
  lastUtteredDate: output.lastUtteredDate !== undefined && output.lastUtteredDate !== null
5173
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUtteredDate)))
5173
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUtteredDate)))
5174
5174
  : undefined,
5175
- utteranceString: smithy_client_1.expectString(output.utteranceString),
5175
+ utteranceString: (0, smithy_client_1.expectString)(output.utteranceString),
5176
5176
  };
5177
5177
  };
5178
5178
  const deserializeAws_restJson1UtteranceList = (output, context) => {
5179
5179
  return {
5180
- botVersion: smithy_client_1.expectString(output.botVersion),
5180
+ botVersion: (0, smithy_client_1.expectString)(output.botVersion),
5181
5181
  utterances: output.utterances !== undefined && output.utterances !== null
5182
5182
  ? deserializeAws_restJson1ListOfUtterance(output.utterances, context)
5183
5183
  : undefined,