@aws-sdk/client-customer-profiles 3.54.0 → 3.56.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 (50) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist-cjs/CustomerProfilesClient.js +13 -13
  3. package/dist-cjs/commands/AddProfileKeyCommand.js +3 -3
  4. package/dist-cjs/commands/CreateDomainCommand.js +3 -3
  5. package/dist-cjs/commands/CreateIntegrationWorkflowCommand.js +3 -3
  6. package/dist-cjs/commands/CreateProfileCommand.js +3 -3
  7. package/dist-cjs/commands/DeleteDomainCommand.js +3 -3
  8. package/dist-cjs/commands/DeleteIntegrationCommand.js +3 -3
  9. package/dist-cjs/commands/DeleteProfileCommand.js +3 -3
  10. package/dist-cjs/commands/DeleteProfileKeyCommand.js +3 -3
  11. package/dist-cjs/commands/DeleteProfileObjectCommand.js +3 -3
  12. package/dist-cjs/commands/DeleteProfileObjectTypeCommand.js +3 -3
  13. package/dist-cjs/commands/DeleteWorkflowCommand.js +3 -3
  14. package/dist-cjs/commands/GetAutoMergingPreviewCommand.js +3 -3
  15. package/dist-cjs/commands/GetDomainCommand.js +3 -3
  16. package/dist-cjs/commands/GetIdentityResolutionJobCommand.js +3 -3
  17. package/dist-cjs/commands/GetIntegrationCommand.js +3 -3
  18. package/dist-cjs/commands/GetMatchesCommand.js +3 -3
  19. package/dist-cjs/commands/GetProfileObjectTypeCommand.js +3 -3
  20. package/dist-cjs/commands/GetProfileObjectTypeTemplateCommand.js +3 -3
  21. package/dist-cjs/commands/GetWorkflowCommand.js +3 -3
  22. package/dist-cjs/commands/GetWorkflowStepsCommand.js +3 -3
  23. package/dist-cjs/commands/ListAccountIntegrationsCommand.js +3 -3
  24. package/dist-cjs/commands/ListDomainsCommand.js +3 -3
  25. package/dist-cjs/commands/ListIdentityResolutionJobsCommand.js +3 -3
  26. package/dist-cjs/commands/ListIntegrationsCommand.js +3 -3
  27. package/dist-cjs/commands/ListProfileObjectTypeTemplatesCommand.js +3 -3
  28. package/dist-cjs/commands/ListProfileObjectTypesCommand.js +3 -3
  29. package/dist-cjs/commands/ListProfileObjectsCommand.js +3 -3
  30. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  31. package/dist-cjs/commands/ListWorkflowsCommand.js +3 -3
  32. package/dist-cjs/commands/MergeProfilesCommand.js +3 -3
  33. package/dist-cjs/commands/PutIntegrationCommand.js +3 -3
  34. package/dist-cjs/commands/PutProfileObjectCommand.js +3 -3
  35. package/dist-cjs/commands/PutProfileObjectTypeCommand.js +3 -3
  36. package/dist-cjs/commands/SearchProfilesCommand.js +3 -3
  37. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  38. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  39. package/dist-cjs/commands/UpdateDomainCommand.js +3 -3
  40. package/dist-cjs/commands/UpdateProfileCommand.js +3 -3
  41. package/dist-cjs/endpoints.js +1 -1
  42. package/dist-cjs/protocols/Aws_restJson1.js +326 -326
  43. package/dist-cjs/runtimeConfig.browser.js +4 -4
  44. package/dist-cjs/runtimeConfig.js +9 -9
  45. package/dist-cjs/runtimeConfig.native.js +1 -1
  46. package/dist-es/CustomerProfiles.js +38 -38
  47. package/dist-es/protocols/Aws_restJson1.js +38 -38
  48. package/dist-types/runtimeConfig.native.d.ts +2 -2
  49. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
  50. package/package.json +34 -34
@@ -17,7 +17,7 @@ const serializeAws_restJson1AddProfileKeyCommand = async (input, context) => {
17
17
  if (labelValue.length <= 0) {
18
18
  throw new Error("Empty value provided for input HTTP label: DomainName.");
19
19
  }
20
- resolvedPath = resolvedPath.replace("{DomainName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
20
+ resolvedPath = resolvedPath.replace("{DomainName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
21
21
  }
22
22
  else {
23
23
  throw new Error("No value provided for input HTTP label: DomainName.");
@@ -51,7 +51,7 @@ const serializeAws_restJson1CreateDomainCommand = async (input, context) => {
51
51
  if (labelValue.length <= 0) {
52
52
  throw new Error("Empty value provided for input HTTP label: DomainName.");
53
53
  }
54
- resolvedPath = resolvedPath.replace("{DomainName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
54
+ resolvedPath = resolvedPath.replace("{DomainName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
55
55
  }
56
56
  else {
57
57
  throw new Error("No value provided for input HTTP label: DomainName.");
@@ -91,7 +91,7 @@ const serializeAws_restJson1CreateIntegrationWorkflowCommand = async (input, con
91
91
  if (labelValue.length <= 0) {
92
92
  throw new Error("Empty value provided for input HTTP label: DomainName.");
93
93
  }
94
- resolvedPath = resolvedPath.replace("{DomainName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
94
+ resolvedPath = resolvedPath.replace("{DomainName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
95
95
  }
96
96
  else {
97
97
  throw new Error("No value provided for input HTTP label: DomainName.");
@@ -130,7 +130,7 @@ const serializeAws_restJson1CreateProfileCommand = async (input, context) => {
130
130
  if (labelValue.length <= 0) {
131
131
  throw new Error("Empty value provided for input HTTP label: DomainName.");
132
132
  }
133
- resolvedPath = resolvedPath.replace("{DomainName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
133
+ resolvedPath = resolvedPath.replace("{DomainName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
134
134
  }
135
135
  else {
136
136
  throw new Error("No value provided for input HTTP label: DomainName.");
@@ -196,7 +196,7 @@ const serializeAws_restJson1DeleteDomainCommand = async (input, context) => {
196
196
  if (labelValue.length <= 0) {
197
197
  throw new Error("Empty value provided for input HTTP label: DomainName.");
198
198
  }
199
- resolvedPath = resolvedPath.replace("{DomainName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
199
+ resolvedPath = resolvedPath.replace("{DomainName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
200
200
  }
201
201
  else {
202
202
  throw new Error("No value provided for input HTTP label: DomainName.");
@@ -224,7 +224,7 @@ const serializeAws_restJson1DeleteIntegrationCommand = async (input, context) =>
224
224
  if (labelValue.length <= 0) {
225
225
  throw new Error("Empty value provided for input HTTP label: DomainName.");
226
226
  }
227
- resolvedPath = resolvedPath.replace("{DomainName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
227
+ resolvedPath = resolvedPath.replace("{DomainName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
228
228
  }
229
229
  else {
230
230
  throw new Error("No value provided for input HTTP label: DomainName.");
@@ -255,7 +255,7 @@ const serializeAws_restJson1DeleteProfileCommand = async (input, context) => {
255
255
  if (labelValue.length <= 0) {
256
256
  throw new Error("Empty value provided for input HTTP label: DomainName.");
257
257
  }
258
- resolvedPath = resolvedPath.replace("{DomainName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
258
+ resolvedPath = resolvedPath.replace("{DomainName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
259
259
  }
260
260
  else {
261
261
  throw new Error("No value provided for input HTTP label: DomainName.");
@@ -287,7 +287,7 @@ const serializeAws_restJson1DeleteProfileKeyCommand = async (input, context) =>
287
287
  if (labelValue.length <= 0) {
288
288
  throw new Error("Empty value provided for input HTTP label: DomainName.");
289
289
  }
290
- resolvedPath = resolvedPath.replace("{DomainName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
290
+ resolvedPath = resolvedPath.replace("{DomainName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
291
291
  }
292
292
  else {
293
293
  throw new Error("No value provided for input HTTP label: DomainName.");
@@ -322,7 +322,7 @@ const serializeAws_restJson1DeleteProfileObjectCommand = async (input, context)
322
322
  if (labelValue.length <= 0) {
323
323
  throw new Error("Empty value provided for input HTTP label: DomainName.");
324
324
  }
325
- resolvedPath = resolvedPath.replace("{DomainName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
325
+ resolvedPath = resolvedPath.replace("{DomainName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
326
326
  }
327
327
  else {
328
328
  throw new Error("No value provided for input HTTP label: DomainName.");
@@ -356,7 +356,7 @@ const serializeAws_restJson1DeleteProfileObjectTypeCommand = async (input, conte
356
356
  if (labelValue.length <= 0) {
357
357
  throw new Error("Empty value provided for input HTTP label: DomainName.");
358
358
  }
359
- resolvedPath = resolvedPath.replace("{DomainName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
359
+ resolvedPath = resolvedPath.replace("{DomainName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
360
360
  }
361
361
  else {
362
362
  throw new Error("No value provided for input HTTP label: DomainName.");
@@ -366,7 +366,7 @@ const serializeAws_restJson1DeleteProfileObjectTypeCommand = async (input, conte
366
366
  if (labelValue.length <= 0) {
367
367
  throw new Error("Empty value provided for input HTTP label: ObjectTypeName.");
368
368
  }
369
- resolvedPath = resolvedPath.replace("{ObjectTypeName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
369
+ resolvedPath = resolvedPath.replace("{ObjectTypeName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
370
370
  }
371
371
  else {
372
372
  throw new Error("No value provided for input HTTP label: ObjectTypeName.");
@@ -393,7 +393,7 @@ const serializeAws_restJson1DeleteWorkflowCommand = async (input, context) => {
393
393
  if (labelValue.length <= 0) {
394
394
  throw new Error("Empty value provided for input HTTP label: DomainName.");
395
395
  }
396
- resolvedPath = resolvedPath.replace("{DomainName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
396
+ resolvedPath = resolvedPath.replace("{DomainName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
397
397
  }
398
398
  else {
399
399
  throw new Error("No value provided for input HTTP label: DomainName.");
@@ -403,7 +403,7 @@ const serializeAws_restJson1DeleteWorkflowCommand = async (input, context) => {
403
403
  if (labelValue.length <= 0) {
404
404
  throw new Error("Empty value provided for input HTTP label: WorkflowId.");
405
405
  }
406
- resolvedPath = resolvedPath.replace("{WorkflowId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
406
+ resolvedPath = resolvedPath.replace("{WorkflowId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
407
407
  }
408
408
  else {
409
409
  throw new Error("No value provided for input HTTP label: WorkflowId.");
@@ -432,7 +432,7 @@ const serializeAws_restJson1GetAutoMergingPreviewCommand = async (input, context
432
432
  if (labelValue.length <= 0) {
433
433
  throw new Error("Empty value provided for input HTTP label: DomainName.");
434
434
  }
435
- resolvedPath = resolvedPath.replace("{DomainName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
435
+ resolvedPath = resolvedPath.replace("{DomainName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
436
436
  }
437
437
  else {
438
438
  throw new Error("No value provided for input HTTP label: DomainName.");
@@ -468,7 +468,7 @@ const serializeAws_restJson1GetDomainCommand = async (input, context) => {
468
468
  if (labelValue.length <= 0) {
469
469
  throw new Error("Empty value provided for input HTTP label: DomainName.");
470
470
  }
471
- resolvedPath = resolvedPath.replace("{DomainName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
471
+ resolvedPath = resolvedPath.replace("{DomainName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
472
472
  }
473
473
  else {
474
474
  throw new Error("No value provided for input HTTP label: DomainName.");
@@ -495,7 +495,7 @@ const serializeAws_restJson1GetIdentityResolutionJobCommand = async (input, cont
495
495
  if (labelValue.length <= 0) {
496
496
  throw new Error("Empty value provided for input HTTP label: DomainName.");
497
497
  }
498
- resolvedPath = resolvedPath.replace("{DomainName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
498
+ resolvedPath = resolvedPath.replace("{DomainName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
499
499
  }
500
500
  else {
501
501
  throw new Error("No value provided for input HTTP label: DomainName.");
@@ -505,7 +505,7 @@ const serializeAws_restJson1GetIdentityResolutionJobCommand = async (input, cont
505
505
  if (labelValue.length <= 0) {
506
506
  throw new Error("Empty value provided for input HTTP label: JobId.");
507
507
  }
508
- resolvedPath = resolvedPath.replace("{JobId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
508
+ resolvedPath = resolvedPath.replace("{JobId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
509
509
  }
510
510
  else {
511
511
  throw new Error("No value provided for input HTTP label: JobId.");
@@ -533,7 +533,7 @@ const serializeAws_restJson1GetIntegrationCommand = async (input, context) => {
533
533
  if (labelValue.length <= 0) {
534
534
  throw new Error("Empty value provided for input HTTP label: DomainName.");
535
535
  }
536
- resolvedPath = resolvedPath.replace("{DomainName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
536
+ resolvedPath = resolvedPath.replace("{DomainName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
537
537
  }
538
538
  else {
539
539
  throw new Error("No value provided for input HTTP label: DomainName.");
@@ -562,7 +562,7 @@ const serializeAws_restJson1GetMatchesCommand = async (input, context) => {
562
562
  if (labelValue.length <= 0) {
563
563
  throw new Error("Empty value provided for input HTTP label: DomainName.");
564
564
  }
565
- resolvedPath = resolvedPath.replace("{DomainName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
565
+ resolvedPath = resolvedPath.replace("{DomainName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
566
566
  }
567
567
  else {
568
568
  throw new Error("No value provided for input HTTP label: DomainName.");
@@ -594,7 +594,7 @@ const serializeAws_restJson1GetProfileObjectTypeCommand = async (input, context)
594
594
  if (labelValue.length <= 0) {
595
595
  throw new Error("Empty value provided for input HTTP label: DomainName.");
596
596
  }
597
- resolvedPath = resolvedPath.replace("{DomainName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
597
+ resolvedPath = resolvedPath.replace("{DomainName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
598
598
  }
599
599
  else {
600
600
  throw new Error("No value provided for input HTTP label: DomainName.");
@@ -604,7 +604,7 @@ const serializeAws_restJson1GetProfileObjectTypeCommand = async (input, context)
604
604
  if (labelValue.length <= 0) {
605
605
  throw new Error("Empty value provided for input HTTP label: ObjectTypeName.");
606
606
  }
607
- resolvedPath = resolvedPath.replace("{ObjectTypeName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
607
+ resolvedPath = resolvedPath.replace("{ObjectTypeName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
608
608
  }
609
609
  else {
610
610
  throw new Error("No value provided for input HTTP label: ObjectTypeName.");
@@ -630,7 +630,7 @@ const serializeAws_restJson1GetProfileObjectTypeTemplateCommand = async (input,
630
630
  if (labelValue.length <= 0) {
631
631
  throw new Error("Empty value provided for input HTTP label: TemplateId.");
632
632
  }
633
- resolvedPath = resolvedPath.replace("{TemplateId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
633
+ resolvedPath = resolvedPath.replace("{TemplateId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
634
634
  }
635
635
  else {
636
636
  throw new Error("No value provided for input HTTP label: TemplateId.");
@@ -657,7 +657,7 @@ const serializeAws_restJson1GetWorkflowCommand = async (input, context) => {
657
657
  if (labelValue.length <= 0) {
658
658
  throw new Error("Empty value provided for input HTTP label: DomainName.");
659
659
  }
660
- resolvedPath = resolvedPath.replace("{DomainName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
660
+ resolvedPath = resolvedPath.replace("{DomainName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
661
661
  }
662
662
  else {
663
663
  throw new Error("No value provided for input HTTP label: DomainName.");
@@ -667,7 +667,7 @@ const serializeAws_restJson1GetWorkflowCommand = async (input, context) => {
667
667
  if (labelValue.length <= 0) {
668
668
  throw new Error("Empty value provided for input HTTP label: WorkflowId.");
669
669
  }
670
- resolvedPath = resolvedPath.replace("{WorkflowId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
670
+ resolvedPath = resolvedPath.replace("{WorkflowId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
671
671
  }
672
672
  else {
673
673
  throw new Error("No value provided for input HTTP label: WorkflowId.");
@@ -694,7 +694,7 @@ const serializeAws_restJson1GetWorkflowStepsCommand = async (input, context) =>
694
694
  if (labelValue.length <= 0) {
695
695
  throw new Error("Empty value provided for input HTTP label: DomainName.");
696
696
  }
697
- resolvedPath = resolvedPath.replace("{DomainName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
697
+ resolvedPath = resolvedPath.replace("{DomainName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
698
698
  }
699
699
  else {
700
700
  throw new Error("No value provided for input HTTP label: DomainName.");
@@ -704,7 +704,7 @@ const serializeAws_restJson1GetWorkflowStepsCommand = async (input, context) =>
704
704
  if (labelValue.length <= 0) {
705
705
  throw new Error("Empty value provided for input HTTP label: WorkflowId.");
706
706
  }
707
- resolvedPath = resolvedPath.replace("{WorkflowId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
707
+ resolvedPath = resolvedPath.replace("{WorkflowId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
708
708
  }
709
709
  else {
710
710
  throw new Error("No value provided for input HTTP label: WorkflowId.");
@@ -784,7 +784,7 @@ const serializeAws_restJson1ListIdentityResolutionJobsCommand = async (input, co
784
784
  if (labelValue.length <= 0) {
785
785
  throw new Error("Empty value provided for input HTTP label: DomainName.");
786
786
  }
787
- resolvedPath = resolvedPath.replace("{DomainName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
787
+ resolvedPath = resolvedPath.replace("{DomainName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
788
788
  }
789
789
  else {
790
790
  throw new Error("No value provided for input HTTP label: DomainName.");
@@ -815,7 +815,7 @@ const serializeAws_restJson1ListIntegrationsCommand = async (input, context) =>
815
815
  if (labelValue.length <= 0) {
816
816
  throw new Error("Empty value provided for input HTTP label: DomainName.");
817
817
  }
818
- resolvedPath = resolvedPath.replace("{DomainName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
818
+ resolvedPath = resolvedPath.replace("{DomainName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
819
819
  }
820
820
  else {
821
821
  throw new Error("No value provided for input HTTP label: DomainName.");
@@ -849,7 +849,7 @@ const serializeAws_restJson1ListProfileObjectsCommand = async (input, context) =
849
849
  if (labelValue.length <= 0) {
850
850
  throw new Error("Empty value provided for input HTTP label: DomainName.");
851
851
  }
852
- resolvedPath = resolvedPath.replace("{DomainName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
852
+ resolvedPath = resolvedPath.replace("{DomainName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
853
853
  }
854
854
  else {
855
855
  throw new Error("No value provided for input HTTP label: DomainName.");
@@ -887,7 +887,7 @@ const serializeAws_restJson1ListProfileObjectTypesCommand = async (input, contex
887
887
  if (labelValue.length <= 0) {
888
888
  throw new Error("Empty value provided for input HTTP label: DomainName.");
889
889
  }
890
- resolvedPath = resolvedPath.replace("{DomainName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
890
+ resolvedPath = resolvedPath.replace("{DomainName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
891
891
  }
892
892
  else {
893
893
  throw new Error("No value provided for input HTTP label: DomainName.");
@@ -939,7 +939,7 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
939
939
  if (labelValue.length <= 0) {
940
940
  throw new Error("Empty value provided for input HTTP label: resourceArn.");
941
941
  }
942
- resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
942
+ resolvedPath = resolvedPath.replace("{resourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
943
943
  }
944
944
  else {
945
945
  throw new Error("No value provided for input HTTP label: resourceArn.");
@@ -967,7 +967,7 @@ const serializeAws_restJson1ListWorkflowsCommand = async (input, context) => {
967
967
  if (labelValue.length <= 0) {
968
968
  throw new Error("Empty value provided for input HTTP label: DomainName.");
969
969
  }
970
- resolvedPath = resolvedPath.replace("{DomainName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
970
+ resolvedPath = resolvedPath.replace("{DomainName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
971
971
  }
972
972
  else {
973
973
  throw new Error("No value provided for input HTTP label: DomainName.");
@@ -1009,7 +1009,7 @@ const serializeAws_restJson1MergeProfilesCommand = async (input, context) => {
1009
1009
  if (labelValue.length <= 0) {
1010
1010
  throw new Error("Empty value provided for input HTTP label: DomainName.");
1011
1011
  }
1012
- resolvedPath = resolvedPath.replace("{DomainName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1012
+ resolvedPath = resolvedPath.replace("{DomainName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1013
1013
  }
1014
1014
  else {
1015
1015
  throw new Error("No value provided for input HTTP label: DomainName.");
@@ -1048,7 +1048,7 @@ const serializeAws_restJson1PutIntegrationCommand = async (input, context) => {
1048
1048
  if (labelValue.length <= 0) {
1049
1049
  throw new Error("Empty value provided for input HTTP label: DomainName.");
1050
1050
  }
1051
- resolvedPath = resolvedPath.replace("{DomainName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1051
+ resolvedPath = resolvedPath.replace("{DomainName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1052
1052
  }
1053
1053
  else {
1054
1054
  throw new Error("No value provided for input HTTP label: DomainName.");
@@ -1090,7 +1090,7 @@ const serializeAws_restJson1PutProfileObjectCommand = async (input, context) =>
1090
1090
  if (labelValue.length <= 0) {
1091
1091
  throw new Error("Empty value provided for input HTTP label: DomainName.");
1092
1092
  }
1093
- resolvedPath = resolvedPath.replace("{DomainName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1093
+ resolvedPath = resolvedPath.replace("{DomainName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1094
1094
  }
1095
1095
  else {
1096
1096
  throw new Error("No value provided for input HTTP label: DomainName.");
@@ -1124,7 +1124,7 @@ const serializeAws_restJson1PutProfileObjectTypeCommand = async (input, context)
1124
1124
  if (labelValue.length <= 0) {
1125
1125
  throw new Error("Empty value provided for input HTTP label: DomainName.");
1126
1126
  }
1127
- resolvedPath = resolvedPath.replace("{DomainName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1127
+ resolvedPath = resolvedPath.replace("{DomainName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1128
1128
  }
1129
1129
  else {
1130
1130
  throw new Error("No value provided for input HTTP label: DomainName.");
@@ -1134,7 +1134,7 @@ const serializeAws_restJson1PutProfileObjectTypeCommand = async (input, context)
1134
1134
  if (labelValue.length <= 0) {
1135
1135
  throw new Error("Empty value provided for input HTTP label: ObjectTypeName.");
1136
1136
  }
1137
- resolvedPath = resolvedPath.replace("{ObjectTypeName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1137
+ resolvedPath = resolvedPath.replace("{ObjectTypeName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1138
1138
  }
1139
1139
  else {
1140
1140
  throw new Error("No value provided for input HTTP label: ObjectTypeName.");
@@ -1179,7 +1179,7 @@ const serializeAws_restJson1SearchProfilesCommand = async (input, context) => {
1179
1179
  if (labelValue.length <= 0) {
1180
1180
  throw new Error("Empty value provided for input HTTP label: DomainName.");
1181
1181
  }
1182
- resolvedPath = resolvedPath.replace("{DomainName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1182
+ resolvedPath = resolvedPath.replace("{DomainName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1183
1183
  }
1184
1184
  else {
1185
1185
  throw new Error("No value provided for input HTTP label: DomainName.");
@@ -1217,7 +1217,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
1217
1217
  if (labelValue.length <= 0) {
1218
1218
  throw new Error("Empty value provided for input HTTP label: resourceArn.");
1219
1219
  }
1220
- resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1220
+ resolvedPath = resolvedPath.replace("{resourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1221
1221
  }
1222
1222
  else {
1223
1223
  throw new Error("No value provided for input HTTP label: resourceArn.");
@@ -1246,7 +1246,7 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
1246
1246
  if (labelValue.length <= 0) {
1247
1247
  throw new Error("Empty value provided for input HTTP label: resourceArn.");
1248
1248
  }
1249
- resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1249
+ resolvedPath = resolvedPath.replace("{resourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1250
1250
  }
1251
1251
  else {
1252
1252
  throw new Error("No value provided for input HTTP label: resourceArn.");
@@ -1278,7 +1278,7 @@ const serializeAws_restJson1UpdateDomainCommand = async (input, context) => {
1278
1278
  if (labelValue.length <= 0) {
1279
1279
  throw new Error("Empty value provided for input HTTP label: DomainName.");
1280
1280
  }
1281
- resolvedPath = resolvedPath.replace("{DomainName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1281
+ resolvedPath = resolvedPath.replace("{DomainName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1282
1282
  }
1283
1283
  else {
1284
1284
  throw new Error("No value provided for input HTTP label: DomainName.");
@@ -1317,7 +1317,7 @@ const serializeAws_restJson1UpdateProfileCommand = async (input, context) => {
1317
1317
  if (labelValue.length <= 0) {
1318
1318
  throw new Error("Empty value provided for input HTTP label: DomainName.");
1319
1319
  }
1320
- resolvedPath = resolvedPath.replace("{DomainName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1320
+ resolvedPath = resolvedPath.replace("{DomainName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1321
1321
  }
1322
1322
  else {
1323
1323
  throw new Error("No value provided for input HTTP label: DomainName.");
@@ -1384,9 +1384,9 @@ const deserializeAws_restJson1AddProfileKeyCommand = async (output, context) =>
1384
1384
  KeyName: undefined,
1385
1385
  Values: undefined,
1386
1386
  };
1387
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1387
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1388
1388
  if (data.KeyName !== undefined && data.KeyName !== null) {
1389
- contents.KeyName = smithy_client_1.expectString(data.KeyName);
1389
+ contents.KeyName = (0, smithy_client_1.expectString)(data.KeyName);
1390
1390
  }
1391
1391
  if (data.Values !== undefined && data.Values !== null) {
1392
1392
  contents.Values = deserializeAws_restJson1requestValueList(data.Values, context);
@@ -1425,7 +1425,7 @@ const deserializeAws_restJson1AddProfileKeyCommandError = async (output, context
1425
1425
  $fault: "client",
1426
1426
  $metadata: deserializeMetadata(output),
1427
1427
  });
1428
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1428
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1429
1429
  }
1430
1430
  };
1431
1431
  const deserializeAws_restJson1CreateDomainCommand = async (output, context) => {
@@ -1443,24 +1443,24 @@ const deserializeAws_restJson1CreateDomainCommand = async (output, context) => {
1443
1443
  Matching: undefined,
1444
1444
  Tags: undefined,
1445
1445
  };
1446
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1446
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1447
1447
  if (data.CreatedAt !== undefined && data.CreatedAt !== null) {
1448
- contents.CreatedAt = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.CreatedAt)));
1448
+ contents.CreatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.CreatedAt)));
1449
1449
  }
1450
1450
  if (data.DeadLetterQueueUrl !== undefined && data.DeadLetterQueueUrl !== null) {
1451
- contents.DeadLetterQueueUrl = smithy_client_1.expectString(data.DeadLetterQueueUrl);
1451
+ contents.DeadLetterQueueUrl = (0, smithy_client_1.expectString)(data.DeadLetterQueueUrl);
1452
1452
  }
1453
1453
  if (data.DefaultEncryptionKey !== undefined && data.DefaultEncryptionKey !== null) {
1454
- contents.DefaultEncryptionKey = smithy_client_1.expectString(data.DefaultEncryptionKey);
1454
+ contents.DefaultEncryptionKey = (0, smithy_client_1.expectString)(data.DefaultEncryptionKey);
1455
1455
  }
1456
1456
  if (data.DefaultExpirationDays !== undefined && data.DefaultExpirationDays !== null) {
1457
- contents.DefaultExpirationDays = smithy_client_1.expectInt32(data.DefaultExpirationDays);
1457
+ contents.DefaultExpirationDays = (0, smithy_client_1.expectInt32)(data.DefaultExpirationDays);
1458
1458
  }
1459
1459
  if (data.DomainName !== undefined && data.DomainName !== null) {
1460
- contents.DomainName = smithy_client_1.expectString(data.DomainName);
1460
+ contents.DomainName = (0, smithy_client_1.expectString)(data.DomainName);
1461
1461
  }
1462
1462
  if (data.LastUpdatedAt !== undefined && data.LastUpdatedAt !== null) {
1463
- contents.LastUpdatedAt = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.LastUpdatedAt)));
1463
+ contents.LastUpdatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.LastUpdatedAt)));
1464
1464
  }
1465
1465
  if (data.Matching !== undefined && data.Matching !== null) {
1466
1466
  contents.Matching = deserializeAws_restJson1MatchingResponse(data.Matching, context);
@@ -1502,7 +1502,7 @@ const deserializeAws_restJson1CreateDomainCommandError = async (output, context)
1502
1502
  $fault: "client",
1503
1503
  $metadata: deserializeMetadata(output),
1504
1504
  });
1505
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1505
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1506
1506
  }
1507
1507
  };
1508
1508
  const deserializeAws_restJson1CreateIntegrationWorkflowCommand = async (output, context) => {
@@ -1514,12 +1514,12 @@ const deserializeAws_restJson1CreateIntegrationWorkflowCommand = async (output,
1514
1514
  Message: undefined,
1515
1515
  WorkflowId: undefined,
1516
1516
  };
1517
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1517
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1518
1518
  if (data.Message !== undefined && data.Message !== null) {
1519
- contents.Message = smithy_client_1.expectString(data.Message);
1519
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
1520
1520
  }
1521
1521
  if (data.WorkflowId !== undefined && data.WorkflowId !== null) {
1522
- contents.WorkflowId = smithy_client_1.expectString(data.WorkflowId);
1522
+ contents.WorkflowId = (0, smithy_client_1.expectString)(data.WorkflowId);
1523
1523
  }
1524
1524
  return Promise.resolve(contents);
1525
1525
  };
@@ -1555,7 +1555,7 @@ const deserializeAws_restJson1CreateIntegrationWorkflowCommandError = async (out
1555
1555
  $fault: "client",
1556
1556
  $metadata: deserializeMetadata(output),
1557
1557
  });
1558
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1558
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1559
1559
  }
1560
1560
  };
1561
1561
  const deserializeAws_restJson1CreateProfileCommand = async (output, context) => {
@@ -1566,9 +1566,9 @@ const deserializeAws_restJson1CreateProfileCommand = async (output, context) =>
1566
1566
  $metadata: deserializeMetadata(output),
1567
1567
  ProfileId: undefined,
1568
1568
  };
1569
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1569
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1570
1570
  if (data.ProfileId !== undefined && data.ProfileId !== null) {
1571
- contents.ProfileId = smithy_client_1.expectString(data.ProfileId);
1571
+ contents.ProfileId = (0, smithy_client_1.expectString)(data.ProfileId);
1572
1572
  }
1573
1573
  return Promise.resolve(contents);
1574
1574
  };
@@ -1604,7 +1604,7 @@ const deserializeAws_restJson1CreateProfileCommandError = async (output, context
1604
1604
  $fault: "client",
1605
1605
  $metadata: deserializeMetadata(output),
1606
1606
  });
1607
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1607
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1608
1608
  }
1609
1609
  };
1610
1610
  const deserializeAws_restJson1DeleteDomainCommand = async (output, context) => {
@@ -1615,9 +1615,9 @@ const deserializeAws_restJson1DeleteDomainCommand = async (output, context) => {
1615
1615
  $metadata: deserializeMetadata(output),
1616
1616
  Message: undefined,
1617
1617
  };
1618
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1618
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1619
1619
  if (data.Message !== undefined && data.Message !== null) {
1620
- contents.Message = smithy_client_1.expectString(data.Message);
1620
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
1621
1621
  }
1622
1622
  return Promise.resolve(contents);
1623
1623
  };
@@ -1653,7 +1653,7 @@ const deserializeAws_restJson1DeleteDomainCommandError = async (output, context)
1653
1653
  $fault: "client",
1654
1654
  $metadata: deserializeMetadata(output),
1655
1655
  });
1656
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1656
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1657
1657
  }
1658
1658
  };
1659
1659
  const deserializeAws_restJson1DeleteIntegrationCommand = async (output, context) => {
@@ -1664,9 +1664,9 @@ const deserializeAws_restJson1DeleteIntegrationCommand = async (output, context)
1664
1664
  $metadata: deserializeMetadata(output),
1665
1665
  Message: undefined,
1666
1666
  };
1667
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1667
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1668
1668
  if (data.Message !== undefined && data.Message !== null) {
1669
- contents.Message = smithy_client_1.expectString(data.Message);
1669
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
1670
1670
  }
1671
1671
  return Promise.resolve(contents);
1672
1672
  };
@@ -1702,7 +1702,7 @@ const deserializeAws_restJson1DeleteIntegrationCommandError = async (output, con
1702
1702
  $fault: "client",
1703
1703
  $metadata: deserializeMetadata(output),
1704
1704
  });
1705
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1705
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1706
1706
  }
1707
1707
  };
1708
1708
  const deserializeAws_restJson1DeleteProfileCommand = async (output, context) => {
@@ -1713,9 +1713,9 @@ const deserializeAws_restJson1DeleteProfileCommand = async (output, context) =>
1713
1713
  $metadata: deserializeMetadata(output),
1714
1714
  Message: undefined,
1715
1715
  };
1716
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1716
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1717
1717
  if (data.Message !== undefined && data.Message !== null) {
1718
- contents.Message = smithy_client_1.expectString(data.Message);
1718
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
1719
1719
  }
1720
1720
  return Promise.resolve(contents);
1721
1721
  };
@@ -1751,7 +1751,7 @@ const deserializeAws_restJson1DeleteProfileCommandError = async (output, context
1751
1751
  $fault: "client",
1752
1752
  $metadata: deserializeMetadata(output),
1753
1753
  });
1754
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1754
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1755
1755
  }
1756
1756
  };
1757
1757
  const deserializeAws_restJson1DeleteProfileKeyCommand = async (output, context) => {
@@ -1762,9 +1762,9 @@ const deserializeAws_restJson1DeleteProfileKeyCommand = async (output, context)
1762
1762
  $metadata: deserializeMetadata(output),
1763
1763
  Message: undefined,
1764
1764
  };
1765
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1765
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1766
1766
  if (data.Message !== undefined && data.Message !== null) {
1767
- contents.Message = smithy_client_1.expectString(data.Message);
1767
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
1768
1768
  }
1769
1769
  return Promise.resolve(contents);
1770
1770
  };
@@ -1800,7 +1800,7 @@ const deserializeAws_restJson1DeleteProfileKeyCommandError = async (output, cont
1800
1800
  $fault: "client",
1801
1801
  $metadata: deserializeMetadata(output),
1802
1802
  });
1803
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1803
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1804
1804
  }
1805
1805
  };
1806
1806
  const deserializeAws_restJson1DeleteProfileObjectCommand = async (output, context) => {
@@ -1811,9 +1811,9 @@ const deserializeAws_restJson1DeleteProfileObjectCommand = async (output, contex
1811
1811
  $metadata: deserializeMetadata(output),
1812
1812
  Message: undefined,
1813
1813
  };
1814
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1814
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1815
1815
  if (data.Message !== undefined && data.Message !== null) {
1816
- contents.Message = smithy_client_1.expectString(data.Message);
1816
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
1817
1817
  }
1818
1818
  return Promise.resolve(contents);
1819
1819
  };
@@ -1849,7 +1849,7 @@ const deserializeAws_restJson1DeleteProfileObjectCommandError = async (output, c
1849
1849
  $fault: "client",
1850
1850
  $metadata: deserializeMetadata(output),
1851
1851
  });
1852
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1852
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1853
1853
  }
1854
1854
  };
1855
1855
  const deserializeAws_restJson1DeleteProfileObjectTypeCommand = async (output, context) => {
@@ -1860,9 +1860,9 @@ const deserializeAws_restJson1DeleteProfileObjectTypeCommand = async (output, co
1860
1860
  $metadata: deserializeMetadata(output),
1861
1861
  Message: undefined,
1862
1862
  };
1863
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1863
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1864
1864
  if (data.Message !== undefined && data.Message !== null) {
1865
- contents.Message = smithy_client_1.expectString(data.Message);
1865
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
1866
1866
  }
1867
1867
  return Promise.resolve(contents);
1868
1868
  };
@@ -1898,7 +1898,7 @@ const deserializeAws_restJson1DeleteProfileObjectTypeCommandError = async (outpu
1898
1898
  $fault: "client",
1899
1899
  $metadata: deserializeMetadata(output),
1900
1900
  });
1901
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1901
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1902
1902
  }
1903
1903
  };
1904
1904
  const deserializeAws_restJson1DeleteWorkflowCommand = async (output, context) => {
@@ -1943,7 +1943,7 @@ const deserializeAws_restJson1DeleteWorkflowCommandError = async (output, contex
1943
1943
  $fault: "client",
1944
1944
  $metadata: deserializeMetadata(output),
1945
1945
  });
1946
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1946
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1947
1947
  }
1948
1948
  };
1949
1949
  const deserializeAws_restJson1GetAutoMergingPreviewCommand = async (output, context) => {
@@ -1957,18 +1957,18 @@ const deserializeAws_restJson1GetAutoMergingPreviewCommand = async (output, cont
1957
1957
  NumberOfProfilesInSample: undefined,
1958
1958
  NumberOfProfilesWillBeMerged: undefined,
1959
1959
  };
1960
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1960
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1961
1961
  if (data.DomainName !== undefined && data.DomainName !== null) {
1962
- contents.DomainName = smithy_client_1.expectString(data.DomainName);
1962
+ contents.DomainName = (0, smithy_client_1.expectString)(data.DomainName);
1963
1963
  }
1964
1964
  if (data.NumberOfMatchesInSample !== undefined && data.NumberOfMatchesInSample !== null) {
1965
- contents.NumberOfMatchesInSample = smithy_client_1.expectLong(data.NumberOfMatchesInSample);
1965
+ contents.NumberOfMatchesInSample = (0, smithy_client_1.expectLong)(data.NumberOfMatchesInSample);
1966
1966
  }
1967
1967
  if (data.NumberOfProfilesInSample !== undefined && data.NumberOfProfilesInSample !== null) {
1968
- contents.NumberOfProfilesInSample = smithy_client_1.expectLong(data.NumberOfProfilesInSample);
1968
+ contents.NumberOfProfilesInSample = (0, smithy_client_1.expectLong)(data.NumberOfProfilesInSample);
1969
1969
  }
1970
1970
  if (data.NumberOfProfilesWillBeMerged !== undefined && data.NumberOfProfilesWillBeMerged !== null) {
1971
- contents.NumberOfProfilesWillBeMerged = smithy_client_1.expectLong(data.NumberOfProfilesWillBeMerged);
1971
+ contents.NumberOfProfilesWillBeMerged = (0, smithy_client_1.expectLong)(data.NumberOfProfilesWillBeMerged);
1972
1972
  }
1973
1973
  return Promise.resolve(contents);
1974
1974
  };
@@ -2004,7 +2004,7 @@ const deserializeAws_restJson1GetAutoMergingPreviewCommandError = async (output,
2004
2004
  $fault: "client",
2005
2005
  $metadata: deserializeMetadata(output),
2006
2006
  });
2007
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2007
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2008
2008
  }
2009
2009
  };
2010
2010
  const deserializeAws_restJson1GetDomainCommand = async (output, context) => {
@@ -2023,24 +2023,24 @@ const deserializeAws_restJson1GetDomainCommand = async (output, context) => {
2023
2023
  Stats: undefined,
2024
2024
  Tags: undefined,
2025
2025
  };
2026
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2026
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2027
2027
  if (data.CreatedAt !== undefined && data.CreatedAt !== null) {
2028
- contents.CreatedAt = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.CreatedAt)));
2028
+ contents.CreatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.CreatedAt)));
2029
2029
  }
2030
2030
  if (data.DeadLetterQueueUrl !== undefined && data.DeadLetterQueueUrl !== null) {
2031
- contents.DeadLetterQueueUrl = smithy_client_1.expectString(data.DeadLetterQueueUrl);
2031
+ contents.DeadLetterQueueUrl = (0, smithy_client_1.expectString)(data.DeadLetterQueueUrl);
2032
2032
  }
2033
2033
  if (data.DefaultEncryptionKey !== undefined && data.DefaultEncryptionKey !== null) {
2034
- contents.DefaultEncryptionKey = smithy_client_1.expectString(data.DefaultEncryptionKey);
2034
+ contents.DefaultEncryptionKey = (0, smithy_client_1.expectString)(data.DefaultEncryptionKey);
2035
2035
  }
2036
2036
  if (data.DefaultExpirationDays !== undefined && data.DefaultExpirationDays !== null) {
2037
- contents.DefaultExpirationDays = smithy_client_1.expectInt32(data.DefaultExpirationDays);
2037
+ contents.DefaultExpirationDays = (0, smithy_client_1.expectInt32)(data.DefaultExpirationDays);
2038
2038
  }
2039
2039
  if (data.DomainName !== undefined && data.DomainName !== null) {
2040
- contents.DomainName = smithy_client_1.expectString(data.DomainName);
2040
+ contents.DomainName = (0, smithy_client_1.expectString)(data.DomainName);
2041
2041
  }
2042
2042
  if (data.LastUpdatedAt !== undefined && data.LastUpdatedAt !== null) {
2043
- contents.LastUpdatedAt = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.LastUpdatedAt)));
2043
+ contents.LastUpdatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.LastUpdatedAt)));
2044
2044
  }
2045
2045
  if (data.Matching !== undefined && data.Matching !== null) {
2046
2046
  contents.Matching = deserializeAws_restJson1MatchingResponse(data.Matching, context);
@@ -2085,7 +2085,7 @@ const deserializeAws_restJson1GetDomainCommandError = async (output, context) =>
2085
2085
  $fault: "client",
2086
2086
  $metadata: deserializeMetadata(output),
2087
2087
  });
2088
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2088
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2089
2089
  }
2090
2090
  };
2091
2091
  const deserializeAws_restJson1GetIdentityResolutionJobCommand = async (output, context) => {
@@ -2106,39 +2106,39 @@ const deserializeAws_restJson1GetIdentityResolutionJobCommand = async (output, c
2106
2106
  Message: undefined,
2107
2107
  Status: undefined,
2108
2108
  };
2109
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2109
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2110
2110
  if (data.AutoMerging !== undefined && data.AutoMerging !== null) {
2111
2111
  contents.AutoMerging = deserializeAws_restJson1AutoMerging(data.AutoMerging, context);
2112
2112
  }
2113
2113
  if (data.DomainName !== undefined && data.DomainName !== null) {
2114
- contents.DomainName = smithy_client_1.expectString(data.DomainName);
2114
+ contents.DomainName = (0, smithy_client_1.expectString)(data.DomainName);
2115
2115
  }
2116
2116
  if (data.ExportingLocation !== undefined && data.ExportingLocation !== null) {
2117
2117
  contents.ExportingLocation = deserializeAws_restJson1ExportingLocation(data.ExportingLocation, context);
2118
2118
  }
2119
2119
  if (data.JobEndTime !== undefined && data.JobEndTime !== null) {
2120
- contents.JobEndTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.JobEndTime)));
2120
+ contents.JobEndTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.JobEndTime)));
2121
2121
  }
2122
2122
  if (data.JobExpirationTime !== undefined && data.JobExpirationTime !== null) {
2123
- contents.JobExpirationTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.JobExpirationTime)));
2123
+ contents.JobExpirationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.JobExpirationTime)));
2124
2124
  }
2125
2125
  if (data.JobId !== undefined && data.JobId !== null) {
2126
- contents.JobId = smithy_client_1.expectString(data.JobId);
2126
+ contents.JobId = (0, smithy_client_1.expectString)(data.JobId);
2127
2127
  }
2128
2128
  if (data.JobStartTime !== undefined && data.JobStartTime !== null) {
2129
- contents.JobStartTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.JobStartTime)));
2129
+ contents.JobStartTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.JobStartTime)));
2130
2130
  }
2131
2131
  if (data.JobStats !== undefined && data.JobStats !== null) {
2132
2132
  contents.JobStats = deserializeAws_restJson1JobStats(data.JobStats, context);
2133
2133
  }
2134
2134
  if (data.LastUpdatedAt !== undefined && data.LastUpdatedAt !== null) {
2135
- contents.LastUpdatedAt = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.LastUpdatedAt)));
2135
+ contents.LastUpdatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.LastUpdatedAt)));
2136
2136
  }
2137
2137
  if (data.Message !== undefined && data.Message !== null) {
2138
- contents.Message = smithy_client_1.expectString(data.Message);
2138
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
2139
2139
  }
2140
2140
  if (data.Status !== undefined && data.Status !== null) {
2141
- contents.Status = smithy_client_1.expectString(data.Status);
2141
+ contents.Status = (0, smithy_client_1.expectString)(data.Status);
2142
2142
  }
2143
2143
  return Promise.resolve(contents);
2144
2144
  };
@@ -2174,7 +2174,7 @@ const deserializeAws_restJson1GetIdentityResolutionJobCommandError = async (outp
2174
2174
  $fault: "client",
2175
2175
  $metadata: deserializeMetadata(output),
2176
2176
  });
2177
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2177
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2178
2178
  }
2179
2179
  };
2180
2180
  const deserializeAws_restJson1GetIntegrationCommand = async (output, context) => {
@@ -2192,18 +2192,18 @@ const deserializeAws_restJson1GetIntegrationCommand = async (output, context) =>
2192
2192
  Uri: undefined,
2193
2193
  WorkflowId: undefined,
2194
2194
  };
2195
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2195
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2196
2196
  if (data.CreatedAt !== undefined && data.CreatedAt !== null) {
2197
- contents.CreatedAt = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.CreatedAt)));
2197
+ contents.CreatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.CreatedAt)));
2198
2198
  }
2199
2199
  if (data.DomainName !== undefined && data.DomainName !== null) {
2200
- contents.DomainName = smithy_client_1.expectString(data.DomainName);
2200
+ contents.DomainName = (0, smithy_client_1.expectString)(data.DomainName);
2201
2201
  }
2202
2202
  if (data.LastUpdatedAt !== undefined && data.LastUpdatedAt !== null) {
2203
- contents.LastUpdatedAt = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.LastUpdatedAt)));
2203
+ contents.LastUpdatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.LastUpdatedAt)));
2204
2204
  }
2205
2205
  if (data.ObjectTypeName !== undefined && data.ObjectTypeName !== null) {
2206
- contents.ObjectTypeName = smithy_client_1.expectString(data.ObjectTypeName);
2206
+ contents.ObjectTypeName = (0, smithy_client_1.expectString)(data.ObjectTypeName);
2207
2207
  }
2208
2208
  if (data.ObjectTypeNames !== undefined && data.ObjectTypeNames !== null) {
2209
2209
  contents.ObjectTypeNames = deserializeAws_restJson1ObjectTypeNames(data.ObjectTypeNames, context);
@@ -2212,10 +2212,10 @@ const deserializeAws_restJson1GetIntegrationCommand = async (output, context) =>
2212
2212
  contents.Tags = deserializeAws_restJson1TagMap(data.Tags, context);
2213
2213
  }
2214
2214
  if (data.Uri !== undefined && data.Uri !== null) {
2215
- contents.Uri = smithy_client_1.expectString(data.Uri);
2215
+ contents.Uri = (0, smithy_client_1.expectString)(data.Uri);
2216
2216
  }
2217
2217
  if (data.WorkflowId !== undefined && data.WorkflowId !== null) {
2218
- contents.WorkflowId = smithy_client_1.expectString(data.WorkflowId);
2218
+ contents.WorkflowId = (0, smithy_client_1.expectString)(data.WorkflowId);
2219
2219
  }
2220
2220
  return Promise.resolve(contents);
2221
2221
  };
@@ -2251,7 +2251,7 @@ const deserializeAws_restJson1GetIntegrationCommandError = async (output, contex
2251
2251
  $fault: "client",
2252
2252
  $metadata: deserializeMetadata(output),
2253
2253
  });
2254
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2254
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2255
2255
  }
2256
2256
  };
2257
2257
  const deserializeAws_restJson1GetMatchesCommand = async (output, context) => {
@@ -2265,18 +2265,18 @@ const deserializeAws_restJson1GetMatchesCommand = async (output, context) => {
2265
2265
  NextToken: undefined,
2266
2266
  PotentialMatches: undefined,
2267
2267
  };
2268
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2268
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2269
2269
  if (data.MatchGenerationDate !== undefined && data.MatchGenerationDate !== null) {
2270
- contents.MatchGenerationDate = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.MatchGenerationDate)));
2270
+ contents.MatchGenerationDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.MatchGenerationDate)));
2271
2271
  }
2272
2272
  if (data.Matches !== undefined && data.Matches !== null) {
2273
2273
  contents.Matches = deserializeAws_restJson1MatchesList(data.Matches, context);
2274
2274
  }
2275
2275
  if (data.NextToken !== undefined && data.NextToken !== null) {
2276
- contents.NextToken = smithy_client_1.expectString(data.NextToken);
2276
+ contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
2277
2277
  }
2278
2278
  if (data.PotentialMatches !== undefined && data.PotentialMatches !== null) {
2279
- contents.PotentialMatches = smithy_client_1.expectInt32(data.PotentialMatches);
2279
+ contents.PotentialMatches = (0, smithy_client_1.expectInt32)(data.PotentialMatches);
2280
2280
  }
2281
2281
  return Promise.resolve(contents);
2282
2282
  };
@@ -2312,7 +2312,7 @@ const deserializeAws_restJson1GetMatchesCommandError = async (output, context) =
2312
2312
  $fault: "client",
2313
2313
  $metadata: deserializeMetadata(output),
2314
2314
  });
2315
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2315
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2316
2316
  }
2317
2317
  };
2318
2318
  const deserializeAws_restJson1GetProfileObjectTypeCommand = async (output, context) => {
@@ -2334,21 +2334,21 @@ const deserializeAws_restJson1GetProfileObjectTypeCommand = async (output, conte
2334
2334
  Tags: undefined,
2335
2335
  TemplateId: undefined,
2336
2336
  };
2337
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2337
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2338
2338
  if (data.AllowProfileCreation !== undefined && data.AllowProfileCreation !== null) {
2339
- contents.AllowProfileCreation = smithy_client_1.expectBoolean(data.AllowProfileCreation);
2339
+ contents.AllowProfileCreation = (0, smithy_client_1.expectBoolean)(data.AllowProfileCreation);
2340
2340
  }
2341
2341
  if (data.CreatedAt !== undefined && data.CreatedAt !== null) {
2342
- contents.CreatedAt = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.CreatedAt)));
2342
+ contents.CreatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.CreatedAt)));
2343
2343
  }
2344
2344
  if (data.Description !== undefined && data.Description !== null) {
2345
- contents.Description = smithy_client_1.expectString(data.Description);
2345
+ contents.Description = (0, smithy_client_1.expectString)(data.Description);
2346
2346
  }
2347
2347
  if (data.EncryptionKey !== undefined && data.EncryptionKey !== null) {
2348
- contents.EncryptionKey = smithy_client_1.expectString(data.EncryptionKey);
2348
+ contents.EncryptionKey = (0, smithy_client_1.expectString)(data.EncryptionKey);
2349
2349
  }
2350
2350
  if (data.ExpirationDays !== undefined && data.ExpirationDays !== null) {
2351
- contents.ExpirationDays = smithy_client_1.expectInt32(data.ExpirationDays);
2351
+ contents.ExpirationDays = (0, smithy_client_1.expectInt32)(data.ExpirationDays);
2352
2352
  }
2353
2353
  if (data.Fields !== undefined && data.Fields !== null) {
2354
2354
  contents.Fields = deserializeAws_restJson1FieldMap(data.Fields, context);
@@ -2357,19 +2357,19 @@ const deserializeAws_restJson1GetProfileObjectTypeCommand = async (output, conte
2357
2357
  contents.Keys = deserializeAws_restJson1KeyMap(data.Keys, context);
2358
2358
  }
2359
2359
  if (data.LastUpdatedAt !== undefined && data.LastUpdatedAt !== null) {
2360
- contents.LastUpdatedAt = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.LastUpdatedAt)));
2360
+ contents.LastUpdatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.LastUpdatedAt)));
2361
2361
  }
2362
2362
  if (data.ObjectTypeName !== undefined && data.ObjectTypeName !== null) {
2363
- contents.ObjectTypeName = smithy_client_1.expectString(data.ObjectTypeName);
2363
+ contents.ObjectTypeName = (0, smithy_client_1.expectString)(data.ObjectTypeName);
2364
2364
  }
2365
2365
  if (data.SourceLastUpdatedTimestampFormat !== undefined && data.SourceLastUpdatedTimestampFormat !== null) {
2366
- contents.SourceLastUpdatedTimestampFormat = smithy_client_1.expectString(data.SourceLastUpdatedTimestampFormat);
2366
+ contents.SourceLastUpdatedTimestampFormat = (0, smithy_client_1.expectString)(data.SourceLastUpdatedTimestampFormat);
2367
2367
  }
2368
2368
  if (data.Tags !== undefined && data.Tags !== null) {
2369
2369
  contents.Tags = deserializeAws_restJson1TagMap(data.Tags, context);
2370
2370
  }
2371
2371
  if (data.TemplateId !== undefined && data.TemplateId !== null) {
2372
- contents.TemplateId = smithy_client_1.expectString(data.TemplateId);
2372
+ contents.TemplateId = (0, smithy_client_1.expectString)(data.TemplateId);
2373
2373
  }
2374
2374
  return Promise.resolve(contents);
2375
2375
  };
@@ -2405,7 +2405,7 @@ const deserializeAws_restJson1GetProfileObjectTypeCommandError = async (output,
2405
2405
  $fault: "client",
2406
2406
  $metadata: deserializeMetadata(output),
2407
2407
  });
2408
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2408
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2409
2409
  }
2410
2410
  };
2411
2411
  const deserializeAws_restJson1GetProfileObjectTypeTemplateCommand = async (output, context) => {
@@ -2422,9 +2422,9 @@ const deserializeAws_restJson1GetProfileObjectTypeTemplateCommand = async (outpu
2422
2422
  SourceObject: undefined,
2423
2423
  TemplateId: undefined,
2424
2424
  };
2425
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2425
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2426
2426
  if (data.AllowProfileCreation !== undefined && data.AllowProfileCreation !== null) {
2427
- contents.AllowProfileCreation = smithy_client_1.expectBoolean(data.AllowProfileCreation);
2427
+ contents.AllowProfileCreation = (0, smithy_client_1.expectBoolean)(data.AllowProfileCreation);
2428
2428
  }
2429
2429
  if (data.Fields !== undefined && data.Fields !== null) {
2430
2430
  contents.Fields = deserializeAws_restJson1FieldMap(data.Fields, context);
@@ -2433,16 +2433,16 @@ const deserializeAws_restJson1GetProfileObjectTypeTemplateCommand = async (outpu
2433
2433
  contents.Keys = deserializeAws_restJson1KeyMap(data.Keys, context);
2434
2434
  }
2435
2435
  if (data.SourceLastUpdatedTimestampFormat !== undefined && data.SourceLastUpdatedTimestampFormat !== null) {
2436
- contents.SourceLastUpdatedTimestampFormat = smithy_client_1.expectString(data.SourceLastUpdatedTimestampFormat);
2436
+ contents.SourceLastUpdatedTimestampFormat = (0, smithy_client_1.expectString)(data.SourceLastUpdatedTimestampFormat);
2437
2437
  }
2438
2438
  if (data.SourceName !== undefined && data.SourceName !== null) {
2439
- contents.SourceName = smithy_client_1.expectString(data.SourceName);
2439
+ contents.SourceName = (0, smithy_client_1.expectString)(data.SourceName);
2440
2440
  }
2441
2441
  if (data.SourceObject !== undefined && data.SourceObject !== null) {
2442
- contents.SourceObject = smithy_client_1.expectString(data.SourceObject);
2442
+ contents.SourceObject = (0, smithy_client_1.expectString)(data.SourceObject);
2443
2443
  }
2444
2444
  if (data.TemplateId !== undefined && data.TemplateId !== null) {
2445
- contents.TemplateId = smithy_client_1.expectString(data.TemplateId);
2445
+ contents.TemplateId = (0, smithy_client_1.expectString)(data.TemplateId);
2446
2446
  }
2447
2447
  return Promise.resolve(contents);
2448
2448
  };
@@ -2478,7 +2478,7 @@ const deserializeAws_restJson1GetProfileObjectTypeTemplateCommandError = async (
2478
2478
  $fault: "client",
2479
2479
  $metadata: deserializeMetadata(output),
2480
2480
  });
2481
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2481
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2482
2482
  }
2483
2483
  };
2484
2484
  const deserializeAws_restJson1GetWorkflowCommand = async (output, context) => {
@@ -2496,30 +2496,30 @@ const deserializeAws_restJson1GetWorkflowCommand = async (output, context) => {
2496
2496
  WorkflowId: undefined,
2497
2497
  WorkflowType: undefined,
2498
2498
  };
2499
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2499
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2500
2500
  if (data.Attributes !== undefined && data.Attributes !== null) {
2501
2501
  contents.Attributes = deserializeAws_restJson1WorkflowAttributes(data.Attributes, context);
2502
2502
  }
2503
2503
  if (data.ErrorDescription !== undefined && data.ErrorDescription !== null) {
2504
- contents.ErrorDescription = smithy_client_1.expectString(data.ErrorDescription);
2504
+ contents.ErrorDescription = (0, smithy_client_1.expectString)(data.ErrorDescription);
2505
2505
  }
2506
2506
  if (data.LastUpdatedAt !== undefined && data.LastUpdatedAt !== null) {
2507
- contents.LastUpdatedAt = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.LastUpdatedAt)));
2507
+ contents.LastUpdatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.LastUpdatedAt)));
2508
2508
  }
2509
2509
  if (data.Metrics !== undefined && data.Metrics !== null) {
2510
2510
  contents.Metrics = deserializeAws_restJson1WorkflowMetrics(data.Metrics, context);
2511
2511
  }
2512
2512
  if (data.StartDate !== undefined && data.StartDate !== null) {
2513
- contents.StartDate = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.StartDate)));
2513
+ contents.StartDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.StartDate)));
2514
2514
  }
2515
2515
  if (data.Status !== undefined && data.Status !== null) {
2516
- contents.Status = smithy_client_1.expectString(data.Status);
2516
+ contents.Status = (0, smithy_client_1.expectString)(data.Status);
2517
2517
  }
2518
2518
  if (data.WorkflowId !== undefined && data.WorkflowId !== null) {
2519
- contents.WorkflowId = smithy_client_1.expectString(data.WorkflowId);
2519
+ contents.WorkflowId = (0, smithy_client_1.expectString)(data.WorkflowId);
2520
2520
  }
2521
2521
  if (data.WorkflowType !== undefined && data.WorkflowType !== null) {
2522
- contents.WorkflowType = smithy_client_1.expectString(data.WorkflowType);
2522
+ contents.WorkflowType = (0, smithy_client_1.expectString)(data.WorkflowType);
2523
2523
  }
2524
2524
  return Promise.resolve(contents);
2525
2525
  };
@@ -2555,7 +2555,7 @@ const deserializeAws_restJson1GetWorkflowCommandError = async (output, context)
2555
2555
  $fault: "client",
2556
2556
  $metadata: deserializeMetadata(output),
2557
2557
  });
2558
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2558
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2559
2559
  }
2560
2560
  };
2561
2561
  const deserializeAws_restJson1GetWorkflowStepsCommand = async (output, context) => {
@@ -2569,18 +2569,18 @@ const deserializeAws_restJson1GetWorkflowStepsCommand = async (output, context)
2569
2569
  WorkflowId: undefined,
2570
2570
  WorkflowType: 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.Items !== undefined && data.Items !== null) {
2574
2574
  contents.Items = deserializeAws_restJson1WorkflowStepsList(data.Items, 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
  if (data.WorkflowId !== undefined && data.WorkflowId !== null) {
2580
- contents.WorkflowId = smithy_client_1.expectString(data.WorkflowId);
2580
+ contents.WorkflowId = (0, smithy_client_1.expectString)(data.WorkflowId);
2581
2581
  }
2582
2582
  if (data.WorkflowType !== undefined && data.WorkflowType !== null) {
2583
- contents.WorkflowType = smithy_client_1.expectString(data.WorkflowType);
2583
+ contents.WorkflowType = (0, smithy_client_1.expectString)(data.WorkflowType);
2584
2584
  }
2585
2585
  return Promise.resolve(contents);
2586
2586
  };
@@ -2616,7 +2616,7 @@ const deserializeAws_restJson1GetWorkflowStepsCommandError = async (output, cont
2616
2616
  $fault: "client",
2617
2617
  $metadata: deserializeMetadata(output),
2618
2618
  });
2619
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2619
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2620
2620
  }
2621
2621
  };
2622
2622
  const deserializeAws_restJson1ListAccountIntegrationsCommand = async (output, context) => {
@@ -2628,12 +2628,12 @@ const deserializeAws_restJson1ListAccountIntegrationsCommand = async (output, co
2628
2628
  Items: undefined,
2629
2629
  NextToken: undefined,
2630
2630
  };
2631
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2631
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2632
2632
  if (data.Items !== undefined && data.Items !== null) {
2633
2633
  contents.Items = deserializeAws_restJson1IntegrationList(data.Items, context);
2634
2634
  }
2635
2635
  if (data.NextToken !== undefined && data.NextToken !== null) {
2636
- contents.NextToken = smithy_client_1.expectString(data.NextToken);
2636
+ contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
2637
2637
  }
2638
2638
  return Promise.resolve(contents);
2639
2639
  };
@@ -2669,7 +2669,7 @@ const deserializeAws_restJson1ListAccountIntegrationsCommandError = async (outpu
2669
2669
  $fault: "client",
2670
2670
  $metadata: deserializeMetadata(output),
2671
2671
  });
2672
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2672
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2673
2673
  }
2674
2674
  };
2675
2675
  const deserializeAws_restJson1ListDomainsCommand = async (output, context) => {
@@ -2681,12 +2681,12 @@ const deserializeAws_restJson1ListDomainsCommand = async (output, context) => {
2681
2681
  Items: undefined,
2682
2682
  NextToken: undefined,
2683
2683
  };
2684
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2684
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2685
2685
  if (data.Items !== undefined && data.Items !== null) {
2686
2686
  contents.Items = deserializeAws_restJson1DomainList(data.Items, context);
2687
2687
  }
2688
2688
  if (data.NextToken !== undefined && data.NextToken !== null) {
2689
- contents.NextToken = smithy_client_1.expectString(data.NextToken);
2689
+ contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
2690
2690
  }
2691
2691
  return Promise.resolve(contents);
2692
2692
  };
@@ -2722,7 +2722,7 @@ const deserializeAws_restJson1ListDomainsCommandError = async (output, context)
2722
2722
  $fault: "client",
2723
2723
  $metadata: deserializeMetadata(output),
2724
2724
  });
2725
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2725
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2726
2726
  }
2727
2727
  };
2728
2728
  const deserializeAws_restJson1ListIdentityResolutionJobsCommand = async (output, context) => {
@@ -2734,12 +2734,12 @@ const deserializeAws_restJson1ListIdentityResolutionJobsCommand = async (output,
2734
2734
  IdentityResolutionJobsList: undefined,
2735
2735
  NextToken: undefined,
2736
2736
  };
2737
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2737
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2738
2738
  if (data.IdentityResolutionJobsList !== undefined && data.IdentityResolutionJobsList !== null) {
2739
2739
  contents.IdentityResolutionJobsList = deserializeAws_restJson1IdentityResolutionJobsList(data.IdentityResolutionJobsList, context);
2740
2740
  }
2741
2741
  if (data.NextToken !== undefined && data.NextToken !== null) {
2742
- contents.NextToken = smithy_client_1.expectString(data.NextToken);
2742
+ contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
2743
2743
  }
2744
2744
  return Promise.resolve(contents);
2745
2745
  };
@@ -2775,7 +2775,7 @@ const deserializeAws_restJson1ListIdentityResolutionJobsCommandError = async (ou
2775
2775
  $fault: "client",
2776
2776
  $metadata: deserializeMetadata(output),
2777
2777
  });
2778
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2778
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2779
2779
  }
2780
2780
  };
2781
2781
  const deserializeAws_restJson1ListIntegrationsCommand = async (output, context) => {
@@ -2787,12 +2787,12 @@ const deserializeAws_restJson1ListIntegrationsCommand = async (output, context)
2787
2787
  Items: undefined,
2788
2788
  NextToken: undefined,
2789
2789
  };
2790
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2790
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2791
2791
  if (data.Items !== undefined && data.Items !== null) {
2792
2792
  contents.Items = deserializeAws_restJson1IntegrationList(data.Items, context);
2793
2793
  }
2794
2794
  if (data.NextToken !== undefined && data.NextToken !== null) {
2795
- contents.NextToken = smithy_client_1.expectString(data.NextToken);
2795
+ contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
2796
2796
  }
2797
2797
  return Promise.resolve(contents);
2798
2798
  };
@@ -2828,7 +2828,7 @@ const deserializeAws_restJson1ListIntegrationsCommandError = async (output, cont
2828
2828
  $fault: "client",
2829
2829
  $metadata: deserializeMetadata(output),
2830
2830
  });
2831
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2831
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2832
2832
  }
2833
2833
  };
2834
2834
  const deserializeAws_restJson1ListProfileObjectsCommand = async (output, context) => {
@@ -2840,12 +2840,12 @@ const deserializeAws_restJson1ListProfileObjectsCommand = async (output, context
2840
2840
  Items: undefined,
2841
2841
  NextToken: undefined,
2842
2842
  };
2843
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2843
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2844
2844
  if (data.Items !== undefined && data.Items !== null) {
2845
2845
  contents.Items = deserializeAws_restJson1ProfileObjectList(data.Items, context);
2846
2846
  }
2847
2847
  if (data.NextToken !== undefined && data.NextToken !== null) {
2848
- contents.NextToken = smithy_client_1.expectString(data.NextToken);
2848
+ contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
2849
2849
  }
2850
2850
  return Promise.resolve(contents);
2851
2851
  };
@@ -2881,7 +2881,7 @@ const deserializeAws_restJson1ListProfileObjectsCommandError = async (output, co
2881
2881
  $fault: "client",
2882
2882
  $metadata: deserializeMetadata(output),
2883
2883
  });
2884
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2884
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2885
2885
  }
2886
2886
  };
2887
2887
  const deserializeAws_restJson1ListProfileObjectTypesCommand = async (output, context) => {
@@ -2893,12 +2893,12 @@ const deserializeAws_restJson1ListProfileObjectTypesCommand = async (output, con
2893
2893
  Items: undefined,
2894
2894
  NextToken: undefined,
2895
2895
  };
2896
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2896
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2897
2897
  if (data.Items !== undefined && data.Items !== null) {
2898
2898
  contents.Items = deserializeAws_restJson1ProfileObjectTypeList(data.Items, context);
2899
2899
  }
2900
2900
  if (data.NextToken !== undefined && data.NextToken !== null) {
2901
- contents.NextToken = smithy_client_1.expectString(data.NextToken);
2901
+ contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
2902
2902
  }
2903
2903
  return Promise.resolve(contents);
2904
2904
  };
@@ -2934,7 +2934,7 @@ const deserializeAws_restJson1ListProfileObjectTypesCommandError = async (output
2934
2934
  $fault: "client",
2935
2935
  $metadata: deserializeMetadata(output),
2936
2936
  });
2937
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2937
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2938
2938
  }
2939
2939
  };
2940
2940
  const deserializeAws_restJson1ListProfileObjectTypeTemplatesCommand = async (output, context) => {
@@ -2946,12 +2946,12 @@ const deserializeAws_restJson1ListProfileObjectTypeTemplatesCommand = async (out
2946
2946
  Items: undefined,
2947
2947
  NextToken: undefined,
2948
2948
  };
2949
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2949
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2950
2950
  if (data.Items !== undefined && data.Items !== null) {
2951
2951
  contents.Items = deserializeAws_restJson1ProfileObjectTypeTemplateList(data.Items, context);
2952
2952
  }
2953
2953
  if (data.NextToken !== undefined && data.NextToken !== null) {
2954
- contents.NextToken = smithy_client_1.expectString(data.NextToken);
2954
+ contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
2955
2955
  }
2956
2956
  return Promise.resolve(contents);
2957
2957
  };
@@ -2987,7 +2987,7 @@ const deserializeAws_restJson1ListProfileObjectTypeTemplatesCommandError = async
2987
2987
  $fault: "client",
2988
2988
  $metadata: deserializeMetadata(output),
2989
2989
  });
2990
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2990
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2991
2991
  }
2992
2992
  };
2993
2993
  const deserializeAws_restJson1ListTagsForResourceCommand = async (output, context) => {
@@ -2998,7 +2998,7 @@ const deserializeAws_restJson1ListTagsForResourceCommand = async (output, contex
2998
2998
  $metadata: deserializeMetadata(output),
2999
2999
  tags: undefined,
3000
3000
  };
3001
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3001
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3002
3002
  if (data.tags !== undefined && data.tags !== null) {
3003
3003
  contents.tags = deserializeAws_restJson1TagMap(data.tags, context);
3004
3004
  }
@@ -3030,7 +3030,7 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
3030
3030
  $fault: "client",
3031
3031
  $metadata: deserializeMetadata(output),
3032
3032
  });
3033
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3033
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3034
3034
  }
3035
3035
  };
3036
3036
  const deserializeAws_restJson1ListWorkflowsCommand = async (output, context) => {
@@ -3042,12 +3042,12 @@ const deserializeAws_restJson1ListWorkflowsCommand = async (output, context) =>
3042
3042
  Items: undefined,
3043
3043
  NextToken: undefined,
3044
3044
  };
3045
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3045
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3046
3046
  if (data.Items !== undefined && data.Items !== null) {
3047
3047
  contents.Items = deserializeAws_restJson1WorkflowList(data.Items, context);
3048
3048
  }
3049
3049
  if (data.NextToken !== undefined && data.NextToken !== null) {
3050
- contents.NextToken = smithy_client_1.expectString(data.NextToken);
3050
+ contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
3051
3051
  }
3052
3052
  return Promise.resolve(contents);
3053
3053
  };
@@ -3083,7 +3083,7 @@ const deserializeAws_restJson1ListWorkflowsCommandError = async (output, context
3083
3083
  $fault: "client",
3084
3084
  $metadata: deserializeMetadata(output),
3085
3085
  });
3086
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3086
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3087
3087
  }
3088
3088
  };
3089
3089
  const deserializeAws_restJson1MergeProfilesCommand = async (output, context) => {
@@ -3094,9 +3094,9 @@ const deserializeAws_restJson1MergeProfilesCommand = async (output, context) =>
3094
3094
  $metadata: deserializeMetadata(output),
3095
3095
  Message: undefined,
3096
3096
  };
3097
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3097
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3098
3098
  if (data.Message !== undefined && data.Message !== null) {
3099
- contents.Message = smithy_client_1.expectString(data.Message);
3099
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
3100
3100
  }
3101
3101
  return Promise.resolve(contents);
3102
3102
  };
@@ -3129,7 +3129,7 @@ const deserializeAws_restJson1MergeProfilesCommandError = async (output, context
3129
3129
  $fault: "client",
3130
3130
  $metadata: deserializeMetadata(output),
3131
3131
  });
3132
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3132
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3133
3133
  }
3134
3134
  };
3135
3135
  const deserializeAws_restJson1PutIntegrationCommand = async (output, context) => {
@@ -3147,18 +3147,18 @@ const deserializeAws_restJson1PutIntegrationCommand = async (output, context) =>
3147
3147
  Uri: undefined,
3148
3148
  WorkflowId: undefined,
3149
3149
  };
3150
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3150
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3151
3151
  if (data.CreatedAt !== undefined && data.CreatedAt !== null) {
3152
- contents.CreatedAt = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.CreatedAt)));
3152
+ contents.CreatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.CreatedAt)));
3153
3153
  }
3154
3154
  if (data.DomainName !== undefined && data.DomainName !== null) {
3155
- contents.DomainName = smithy_client_1.expectString(data.DomainName);
3155
+ contents.DomainName = (0, smithy_client_1.expectString)(data.DomainName);
3156
3156
  }
3157
3157
  if (data.LastUpdatedAt !== undefined && data.LastUpdatedAt !== null) {
3158
- contents.LastUpdatedAt = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.LastUpdatedAt)));
3158
+ contents.LastUpdatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.LastUpdatedAt)));
3159
3159
  }
3160
3160
  if (data.ObjectTypeName !== undefined && data.ObjectTypeName !== null) {
3161
- contents.ObjectTypeName = smithy_client_1.expectString(data.ObjectTypeName);
3161
+ contents.ObjectTypeName = (0, smithy_client_1.expectString)(data.ObjectTypeName);
3162
3162
  }
3163
3163
  if (data.ObjectTypeNames !== undefined && data.ObjectTypeNames !== null) {
3164
3164
  contents.ObjectTypeNames = deserializeAws_restJson1ObjectTypeNames(data.ObjectTypeNames, context);
@@ -3167,10 +3167,10 @@ const deserializeAws_restJson1PutIntegrationCommand = async (output, context) =>
3167
3167
  contents.Tags = deserializeAws_restJson1TagMap(data.Tags, context);
3168
3168
  }
3169
3169
  if (data.Uri !== undefined && data.Uri !== null) {
3170
- contents.Uri = smithy_client_1.expectString(data.Uri);
3170
+ contents.Uri = (0, smithy_client_1.expectString)(data.Uri);
3171
3171
  }
3172
3172
  if (data.WorkflowId !== undefined && data.WorkflowId !== null) {
3173
- contents.WorkflowId = smithy_client_1.expectString(data.WorkflowId);
3173
+ contents.WorkflowId = (0, smithy_client_1.expectString)(data.WorkflowId);
3174
3174
  }
3175
3175
  return Promise.resolve(contents);
3176
3176
  };
@@ -3206,7 +3206,7 @@ const deserializeAws_restJson1PutIntegrationCommandError = async (output, contex
3206
3206
  $fault: "client",
3207
3207
  $metadata: deserializeMetadata(output),
3208
3208
  });
3209
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3209
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3210
3210
  }
3211
3211
  };
3212
3212
  const deserializeAws_restJson1PutProfileObjectCommand = async (output, context) => {
@@ -3217,9 +3217,9 @@ const deserializeAws_restJson1PutProfileObjectCommand = async (output, context)
3217
3217
  $metadata: deserializeMetadata(output),
3218
3218
  ProfileObjectUniqueKey: undefined,
3219
3219
  };
3220
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3220
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3221
3221
  if (data.ProfileObjectUniqueKey !== undefined && data.ProfileObjectUniqueKey !== null) {
3222
- contents.ProfileObjectUniqueKey = smithy_client_1.expectString(data.ProfileObjectUniqueKey);
3222
+ contents.ProfileObjectUniqueKey = (0, smithy_client_1.expectString)(data.ProfileObjectUniqueKey);
3223
3223
  }
3224
3224
  return Promise.resolve(contents);
3225
3225
  };
@@ -3255,7 +3255,7 @@ const deserializeAws_restJson1PutProfileObjectCommandError = async (output, cont
3255
3255
  $fault: "client",
3256
3256
  $metadata: deserializeMetadata(output),
3257
3257
  });
3258
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3258
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3259
3259
  }
3260
3260
  };
3261
3261
  const deserializeAws_restJson1PutProfileObjectTypeCommand = async (output, context) => {
@@ -3277,21 +3277,21 @@ const deserializeAws_restJson1PutProfileObjectTypeCommand = async (output, conte
3277
3277
  Tags: undefined,
3278
3278
  TemplateId: undefined,
3279
3279
  };
3280
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3280
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3281
3281
  if (data.AllowProfileCreation !== undefined && data.AllowProfileCreation !== null) {
3282
- contents.AllowProfileCreation = smithy_client_1.expectBoolean(data.AllowProfileCreation);
3282
+ contents.AllowProfileCreation = (0, smithy_client_1.expectBoolean)(data.AllowProfileCreation);
3283
3283
  }
3284
3284
  if (data.CreatedAt !== undefined && data.CreatedAt !== null) {
3285
- contents.CreatedAt = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.CreatedAt)));
3285
+ contents.CreatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.CreatedAt)));
3286
3286
  }
3287
3287
  if (data.Description !== undefined && data.Description !== null) {
3288
- contents.Description = smithy_client_1.expectString(data.Description);
3288
+ contents.Description = (0, smithy_client_1.expectString)(data.Description);
3289
3289
  }
3290
3290
  if (data.EncryptionKey !== undefined && data.EncryptionKey !== null) {
3291
- contents.EncryptionKey = smithy_client_1.expectString(data.EncryptionKey);
3291
+ contents.EncryptionKey = (0, smithy_client_1.expectString)(data.EncryptionKey);
3292
3292
  }
3293
3293
  if (data.ExpirationDays !== undefined && data.ExpirationDays !== null) {
3294
- contents.ExpirationDays = smithy_client_1.expectInt32(data.ExpirationDays);
3294
+ contents.ExpirationDays = (0, smithy_client_1.expectInt32)(data.ExpirationDays);
3295
3295
  }
3296
3296
  if (data.Fields !== undefined && data.Fields !== null) {
3297
3297
  contents.Fields = deserializeAws_restJson1FieldMap(data.Fields, context);
@@ -3300,19 +3300,19 @@ const deserializeAws_restJson1PutProfileObjectTypeCommand = async (output, conte
3300
3300
  contents.Keys = deserializeAws_restJson1KeyMap(data.Keys, context);
3301
3301
  }
3302
3302
  if (data.LastUpdatedAt !== undefined && data.LastUpdatedAt !== null) {
3303
- contents.LastUpdatedAt = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.LastUpdatedAt)));
3303
+ contents.LastUpdatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.LastUpdatedAt)));
3304
3304
  }
3305
3305
  if (data.ObjectTypeName !== undefined && data.ObjectTypeName !== null) {
3306
- contents.ObjectTypeName = smithy_client_1.expectString(data.ObjectTypeName);
3306
+ contents.ObjectTypeName = (0, smithy_client_1.expectString)(data.ObjectTypeName);
3307
3307
  }
3308
3308
  if (data.SourceLastUpdatedTimestampFormat !== undefined && data.SourceLastUpdatedTimestampFormat !== null) {
3309
- contents.SourceLastUpdatedTimestampFormat = smithy_client_1.expectString(data.SourceLastUpdatedTimestampFormat);
3309
+ contents.SourceLastUpdatedTimestampFormat = (0, smithy_client_1.expectString)(data.SourceLastUpdatedTimestampFormat);
3310
3310
  }
3311
3311
  if (data.Tags !== undefined && data.Tags !== null) {
3312
3312
  contents.Tags = deserializeAws_restJson1TagMap(data.Tags, context);
3313
3313
  }
3314
3314
  if (data.TemplateId !== undefined && data.TemplateId !== null) {
3315
- contents.TemplateId = smithy_client_1.expectString(data.TemplateId);
3315
+ contents.TemplateId = (0, smithy_client_1.expectString)(data.TemplateId);
3316
3316
  }
3317
3317
  return Promise.resolve(contents);
3318
3318
  };
@@ -3348,7 +3348,7 @@ const deserializeAws_restJson1PutProfileObjectTypeCommandError = async (output,
3348
3348
  $fault: "client",
3349
3349
  $metadata: deserializeMetadata(output),
3350
3350
  });
3351
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3351
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3352
3352
  }
3353
3353
  };
3354
3354
  const deserializeAws_restJson1SearchProfilesCommand = async (output, context) => {
@@ -3360,12 +3360,12 @@ const deserializeAws_restJson1SearchProfilesCommand = async (output, context) =>
3360
3360
  Items: undefined,
3361
3361
  NextToken: undefined,
3362
3362
  };
3363
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3363
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3364
3364
  if (data.Items !== undefined && data.Items !== null) {
3365
3365
  contents.Items = deserializeAws_restJson1ProfileList(data.Items, context);
3366
3366
  }
3367
3367
  if (data.NextToken !== undefined && data.NextToken !== null) {
3368
- contents.NextToken = smithy_client_1.expectString(data.NextToken);
3368
+ contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
3369
3369
  }
3370
3370
  return Promise.resolve(contents);
3371
3371
  };
@@ -3401,7 +3401,7 @@ const deserializeAws_restJson1SearchProfilesCommandError = async (output, contex
3401
3401
  $fault: "client",
3402
3402
  $metadata: deserializeMetadata(output),
3403
3403
  });
3404
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3404
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3405
3405
  }
3406
3406
  };
3407
3407
  const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
@@ -3440,7 +3440,7 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
3440
3440
  $fault: "client",
3441
3441
  $metadata: deserializeMetadata(output),
3442
3442
  });
3443
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3443
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3444
3444
  }
3445
3445
  };
3446
3446
  const deserializeAws_restJson1UntagResourceCommand = async (output, context) => {
@@ -3479,7 +3479,7 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
3479
3479
  $fault: "client",
3480
3480
  $metadata: deserializeMetadata(output),
3481
3481
  });
3482
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3482
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3483
3483
  }
3484
3484
  };
3485
3485
  const deserializeAws_restJson1UpdateDomainCommand = async (output, context) => {
@@ -3497,24 +3497,24 @@ const deserializeAws_restJson1UpdateDomainCommand = async (output, context) => {
3497
3497
  Matching: undefined,
3498
3498
  Tags: undefined,
3499
3499
  };
3500
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3500
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3501
3501
  if (data.CreatedAt !== undefined && data.CreatedAt !== null) {
3502
- contents.CreatedAt = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.CreatedAt)));
3502
+ contents.CreatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.CreatedAt)));
3503
3503
  }
3504
3504
  if (data.DeadLetterQueueUrl !== undefined && data.DeadLetterQueueUrl !== null) {
3505
- contents.DeadLetterQueueUrl = smithy_client_1.expectString(data.DeadLetterQueueUrl);
3505
+ contents.DeadLetterQueueUrl = (0, smithy_client_1.expectString)(data.DeadLetterQueueUrl);
3506
3506
  }
3507
3507
  if (data.DefaultEncryptionKey !== undefined && data.DefaultEncryptionKey !== null) {
3508
- contents.DefaultEncryptionKey = smithy_client_1.expectString(data.DefaultEncryptionKey);
3508
+ contents.DefaultEncryptionKey = (0, smithy_client_1.expectString)(data.DefaultEncryptionKey);
3509
3509
  }
3510
3510
  if (data.DefaultExpirationDays !== undefined && data.DefaultExpirationDays !== null) {
3511
- contents.DefaultExpirationDays = smithy_client_1.expectInt32(data.DefaultExpirationDays);
3511
+ contents.DefaultExpirationDays = (0, smithy_client_1.expectInt32)(data.DefaultExpirationDays);
3512
3512
  }
3513
3513
  if (data.DomainName !== undefined && data.DomainName !== null) {
3514
- contents.DomainName = smithy_client_1.expectString(data.DomainName);
3514
+ contents.DomainName = (0, smithy_client_1.expectString)(data.DomainName);
3515
3515
  }
3516
3516
  if (data.LastUpdatedAt !== undefined && data.LastUpdatedAt !== null) {
3517
- contents.LastUpdatedAt = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.LastUpdatedAt)));
3517
+ contents.LastUpdatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.LastUpdatedAt)));
3518
3518
  }
3519
3519
  if (data.Matching !== undefined && data.Matching !== null) {
3520
3520
  contents.Matching = deserializeAws_restJson1MatchingResponse(data.Matching, context);
@@ -3556,7 +3556,7 @@ const deserializeAws_restJson1UpdateDomainCommandError = async (output, context)
3556
3556
  $fault: "client",
3557
3557
  $metadata: deserializeMetadata(output),
3558
3558
  });
3559
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3559
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3560
3560
  }
3561
3561
  };
3562
3562
  const deserializeAws_restJson1UpdateProfileCommand = async (output, context) => {
@@ -3567,9 +3567,9 @@ const deserializeAws_restJson1UpdateProfileCommand = async (output, context) =>
3567
3567
  $metadata: deserializeMetadata(output),
3568
3568
  ProfileId: undefined,
3569
3569
  };
3570
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3570
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3571
3571
  if (data.ProfileId !== undefined && data.ProfileId !== null) {
3572
- contents.ProfileId = smithy_client_1.expectString(data.ProfileId);
3572
+ contents.ProfileId = (0, smithy_client_1.expectString)(data.ProfileId);
3573
3573
  }
3574
3574
  return Promise.resolve(contents);
3575
3575
  };
@@ -3605,68 +3605,68 @@ const deserializeAws_restJson1UpdateProfileCommandError = async (output, context
3605
3605
  $fault: "client",
3606
3606
  $metadata: deserializeMetadata(output),
3607
3607
  });
3608
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3608
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3609
3609
  }
3610
3610
  };
3611
3611
  const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
3612
3612
  const contents = {};
3613
3613
  const data = parsedOutput.body;
3614
3614
  if (data.Message !== undefined && data.Message !== null) {
3615
- contents.Message = smithy_client_1.expectString(data.Message);
3615
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
3616
3616
  }
3617
3617
  const exception = new models_0_1.AccessDeniedException({
3618
3618
  $metadata: deserializeMetadata(parsedOutput),
3619
3619
  ...contents,
3620
3620
  });
3621
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
3621
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
3622
3622
  };
3623
3623
  const deserializeAws_restJson1BadRequestExceptionResponse = async (parsedOutput, context) => {
3624
3624
  const contents = {};
3625
3625
  const data = parsedOutput.body;
3626
3626
  if (data.Message !== undefined && data.Message !== null) {
3627
- contents.Message = smithy_client_1.expectString(data.Message);
3627
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
3628
3628
  }
3629
3629
  const exception = new models_0_1.BadRequestException({
3630
3630
  $metadata: deserializeMetadata(parsedOutput),
3631
3631
  ...contents,
3632
3632
  });
3633
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
3633
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
3634
3634
  };
3635
3635
  const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOutput, context) => {
3636
3636
  const contents = {};
3637
3637
  const data = parsedOutput.body;
3638
3638
  if (data.Message !== undefined && data.Message !== null) {
3639
- contents.Message = smithy_client_1.expectString(data.Message);
3639
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
3640
3640
  }
3641
3641
  const exception = new models_0_1.InternalServerException({
3642
3642
  $metadata: deserializeMetadata(parsedOutput),
3643
3643
  ...contents,
3644
3644
  });
3645
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
3645
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
3646
3646
  };
3647
3647
  const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
3648
3648
  const contents = {};
3649
3649
  const data = parsedOutput.body;
3650
3650
  if (data.Message !== undefined && data.Message !== null) {
3651
- contents.Message = smithy_client_1.expectString(data.Message);
3651
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
3652
3652
  }
3653
3653
  const exception = new models_0_1.ResourceNotFoundException({
3654
3654
  $metadata: deserializeMetadata(parsedOutput),
3655
3655
  ...contents,
3656
3656
  });
3657
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
3657
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
3658
3658
  };
3659
3659
  const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput, context) => {
3660
3660
  const contents = {};
3661
3661
  const data = parsedOutput.body;
3662
3662
  if (data.Message !== undefined && data.Message !== null) {
3663
- contents.Message = smithy_client_1.expectString(data.Message);
3663
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
3664
3664
  }
3665
3665
  const exception = new models_0_1.ThrottlingException({
3666
3666
  $metadata: deserializeMetadata(parsedOutput),
3667
3667
  ...contents,
3668
3668
  });
3669
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
3669
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
3670
3670
  };
3671
3671
  const serializeAws_restJson1Address = (input, context) => {
3672
3672
  return {
@@ -4181,46 +4181,46 @@ const serializeAws_restJson1ZendeskSourceProperties = (input, context) => {
4181
4181
  };
4182
4182
  const deserializeAws_restJson1Address = (output, context) => {
4183
4183
  return {
4184
- Address1: smithy_client_1.expectString(output.Address1),
4185
- Address2: smithy_client_1.expectString(output.Address2),
4186
- Address3: smithy_client_1.expectString(output.Address3),
4187
- Address4: smithy_client_1.expectString(output.Address4),
4188
- City: smithy_client_1.expectString(output.City),
4189
- Country: smithy_client_1.expectString(output.Country),
4190
- County: smithy_client_1.expectString(output.County),
4191
- PostalCode: smithy_client_1.expectString(output.PostalCode),
4192
- Province: smithy_client_1.expectString(output.Province),
4193
- State: smithy_client_1.expectString(output.State),
4184
+ Address1: (0, smithy_client_1.expectString)(output.Address1),
4185
+ Address2: (0, smithy_client_1.expectString)(output.Address2),
4186
+ Address3: (0, smithy_client_1.expectString)(output.Address3),
4187
+ Address4: (0, smithy_client_1.expectString)(output.Address4),
4188
+ City: (0, smithy_client_1.expectString)(output.City),
4189
+ Country: (0, smithy_client_1.expectString)(output.Country),
4190
+ County: (0, smithy_client_1.expectString)(output.County),
4191
+ PostalCode: (0, smithy_client_1.expectString)(output.PostalCode),
4192
+ Province: (0, smithy_client_1.expectString)(output.Province),
4193
+ State: (0, smithy_client_1.expectString)(output.State),
4194
4194
  };
4195
4195
  };
4196
4196
  const deserializeAws_restJson1AppflowIntegrationWorkflowAttributes = (output, context) => {
4197
4197
  return {
4198
- ConnectorProfileName: smithy_client_1.expectString(output.ConnectorProfileName),
4199
- RoleArn: smithy_client_1.expectString(output.RoleArn),
4200
- SourceConnectorType: smithy_client_1.expectString(output.SourceConnectorType),
4198
+ ConnectorProfileName: (0, smithy_client_1.expectString)(output.ConnectorProfileName),
4199
+ RoleArn: (0, smithy_client_1.expectString)(output.RoleArn),
4200
+ SourceConnectorType: (0, smithy_client_1.expectString)(output.SourceConnectorType),
4201
4201
  };
4202
4202
  };
4203
4203
  const deserializeAws_restJson1AppflowIntegrationWorkflowMetrics = (output, context) => {
4204
4204
  return {
4205
- RecordsProcessed: smithy_client_1.expectLong(output.RecordsProcessed),
4206
- StepsCompleted: smithy_client_1.expectLong(output.StepsCompleted),
4207
- TotalSteps: smithy_client_1.expectLong(output.TotalSteps),
4205
+ RecordsProcessed: (0, smithy_client_1.expectLong)(output.RecordsProcessed),
4206
+ StepsCompleted: (0, smithy_client_1.expectLong)(output.StepsCompleted),
4207
+ TotalSteps: (0, smithy_client_1.expectLong)(output.TotalSteps),
4208
4208
  };
4209
4209
  };
4210
4210
  const deserializeAws_restJson1AppflowIntegrationWorkflowStep = (output, context) => {
4211
4211
  return {
4212
- BatchRecordsEndTime: smithy_client_1.expectString(output.BatchRecordsEndTime),
4213
- BatchRecordsStartTime: smithy_client_1.expectString(output.BatchRecordsStartTime),
4212
+ BatchRecordsEndTime: (0, smithy_client_1.expectString)(output.BatchRecordsEndTime),
4213
+ BatchRecordsStartTime: (0, smithy_client_1.expectString)(output.BatchRecordsStartTime),
4214
4214
  CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
4215
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
4215
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedAt)))
4216
4216
  : undefined,
4217
- ExecutionMessage: smithy_client_1.expectString(output.ExecutionMessage),
4218
- FlowName: smithy_client_1.expectString(output.FlowName),
4217
+ ExecutionMessage: (0, smithy_client_1.expectString)(output.ExecutionMessage),
4218
+ FlowName: (0, smithy_client_1.expectString)(output.FlowName),
4219
4219
  LastUpdatedAt: output.LastUpdatedAt !== undefined && output.LastUpdatedAt !== null
4220
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdatedAt)))
4220
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdatedAt)))
4221
4221
  : undefined,
4222
- RecordsProcessed: smithy_client_1.expectLong(output.RecordsProcessed),
4223
- Status: smithy_client_1.expectString(output.Status),
4222
+ RecordsProcessed: (0, smithy_client_1.expectLong)(output.RecordsProcessed),
4223
+ Status: (0, smithy_client_1.expectString)(output.Status),
4224
4224
  };
4225
4225
  };
4226
4226
  const deserializeAws_restJson1Attributes = (output, context) => {
@@ -4230,7 +4230,7 @@ const deserializeAws_restJson1Attributes = (output, context) => {
4230
4230
  }
4231
4231
  return {
4232
4232
  ...acc,
4233
- [key]: smithy_client_1.expectString(value),
4233
+ [key]: (0, smithy_client_1.expectString)(value),
4234
4234
  };
4235
4235
  }, {});
4236
4236
  };
@@ -4242,13 +4242,13 @@ const deserializeAws_restJson1AutoMerging = (output, context) => {
4242
4242
  Consolidation: output.Consolidation !== undefined && output.Consolidation !== null
4243
4243
  ? deserializeAws_restJson1Consolidation(output.Consolidation, context)
4244
4244
  : undefined,
4245
- Enabled: smithy_client_1.expectBoolean(output.Enabled),
4245
+ Enabled: (0, smithy_client_1.expectBoolean)(output.Enabled),
4246
4246
  };
4247
4247
  };
4248
4248
  const deserializeAws_restJson1ConflictResolution = (output, context) => {
4249
4249
  return {
4250
- ConflictResolvingModel: smithy_client_1.expectString(output.ConflictResolvingModel),
4251
- SourceName: smithy_client_1.expectString(output.SourceName),
4250
+ ConflictResolvingModel: (0, smithy_client_1.expectString)(output.ConflictResolvingModel),
4251
+ SourceName: (0, smithy_client_1.expectString)(output.SourceName),
4252
4252
  };
4253
4253
  };
4254
4254
  const deserializeAws_restJson1Consolidation = (output, context) => {
@@ -4271,10 +4271,10 @@ const deserializeAws_restJson1DomainList = (output, context) => {
4271
4271
  };
4272
4272
  const deserializeAws_restJson1DomainStats = (output, context) => {
4273
4273
  return {
4274
- MeteringProfileCount: smithy_client_1.expectLong(output.MeteringProfileCount),
4275
- ObjectCount: smithy_client_1.expectLong(output.ObjectCount),
4276
- ProfileCount: smithy_client_1.expectLong(output.ProfileCount),
4277
- TotalSize: smithy_client_1.expectLong(output.TotalSize),
4274
+ MeteringProfileCount: (0, smithy_client_1.expectLong)(output.MeteringProfileCount),
4275
+ ObjectCount: (0, smithy_client_1.expectLong)(output.ObjectCount),
4276
+ ProfileCount: (0, smithy_client_1.expectLong)(output.ProfileCount),
4277
+ TotalSize: (0, smithy_client_1.expectLong)(output.TotalSize),
4278
4278
  };
4279
4279
  };
4280
4280
  const deserializeAws_restJson1ExportingConfig = (output, context) => {
@@ -4309,28 +4309,28 @@ const deserializeAws_restJson1FieldNameList = (output, context) => {
4309
4309
  if (entry === null) {
4310
4310
  return null;
4311
4311
  }
4312
- return smithy_client_1.expectString(entry);
4312
+ return (0, smithy_client_1.expectString)(entry);
4313
4313
  });
4314
4314
  return retVal;
4315
4315
  };
4316
4316
  const deserializeAws_restJson1IdentityResolutionJob = (output, context) => {
4317
4317
  return {
4318
- DomainName: smithy_client_1.expectString(output.DomainName),
4318
+ DomainName: (0, smithy_client_1.expectString)(output.DomainName),
4319
4319
  ExportingLocation: output.ExportingLocation !== undefined && output.ExportingLocation !== null
4320
4320
  ? deserializeAws_restJson1ExportingLocation(output.ExportingLocation, context)
4321
4321
  : undefined,
4322
4322
  JobEndTime: output.JobEndTime !== undefined && output.JobEndTime !== null
4323
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.JobEndTime)))
4323
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.JobEndTime)))
4324
4324
  : undefined,
4325
- JobId: smithy_client_1.expectString(output.JobId),
4325
+ JobId: (0, smithy_client_1.expectString)(output.JobId),
4326
4326
  JobStartTime: output.JobStartTime !== undefined && output.JobStartTime !== null
4327
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.JobStartTime)))
4327
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.JobStartTime)))
4328
4328
  : undefined,
4329
4329
  JobStats: output.JobStats !== undefined && output.JobStats !== null
4330
4330
  ? deserializeAws_restJson1JobStats(output.JobStats, context)
4331
4331
  : undefined,
4332
- Message: smithy_client_1.expectString(output.Message),
4333
- Status: smithy_client_1.expectString(output.Status),
4332
+ Message: (0, smithy_client_1.expectString)(output.Message),
4333
+ Status: (0, smithy_client_1.expectString)(output.Status),
4334
4334
  };
4335
4335
  };
4336
4336
  const deserializeAws_restJson1IdentityResolutionJobsList = (output, context) => {
@@ -4357,15 +4357,15 @@ const deserializeAws_restJson1IntegrationList = (output, context) => {
4357
4357
  };
4358
4358
  const deserializeAws_restJson1JobSchedule = (output, context) => {
4359
4359
  return {
4360
- DayOfTheWeek: smithy_client_1.expectString(output.DayOfTheWeek),
4361
- Time: smithy_client_1.expectString(output.Time),
4360
+ DayOfTheWeek: (0, smithy_client_1.expectString)(output.DayOfTheWeek),
4361
+ Time: (0, smithy_client_1.expectString)(output.Time),
4362
4362
  };
4363
4363
  };
4364
4364
  const deserializeAws_restJson1JobStats = (output, context) => {
4365
4365
  return {
4366
- NumberOfMatchesFound: smithy_client_1.expectLong(output.NumberOfMatchesFound),
4367
- NumberOfMergesDone: smithy_client_1.expectLong(output.NumberOfMergesDone),
4368
- NumberOfProfilesReviewed: smithy_client_1.expectLong(output.NumberOfProfilesReviewed),
4366
+ NumberOfMatchesFound: (0, smithy_client_1.expectLong)(output.NumberOfMatchesFound),
4367
+ NumberOfMergesDone: (0, smithy_client_1.expectLong)(output.NumberOfMergesDone),
4368
+ NumberOfProfilesReviewed: (0, smithy_client_1.expectLong)(output.NumberOfProfilesReviewed),
4369
4369
  };
4370
4370
  };
4371
4371
  const deserializeAws_restJson1KeyMap = (output, context) => {
@@ -4382,11 +4382,11 @@ const deserializeAws_restJson1KeyMap = (output, context) => {
4382
4382
  const deserializeAws_restJson1ListDomainItem = (output, context) => {
4383
4383
  return {
4384
4384
  CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
4385
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
4385
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedAt)))
4386
4386
  : undefined,
4387
- DomainName: smithy_client_1.expectString(output.DomainName),
4387
+ DomainName: (0, smithy_client_1.expectString)(output.DomainName),
4388
4388
  LastUpdatedAt: output.LastUpdatedAt !== undefined && output.LastUpdatedAt !== null
4389
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdatedAt)))
4389
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdatedAt)))
4390
4390
  : undefined,
4391
4391
  Tags: output.Tags !== undefined && output.Tags !== null
4392
4392
  ? deserializeAws_restJson1TagMap(output.Tags, context)
@@ -4396,40 +4396,40 @@ const deserializeAws_restJson1ListDomainItem = (output, context) => {
4396
4396
  const deserializeAws_restJson1ListIntegrationItem = (output, context) => {
4397
4397
  return {
4398
4398
  CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
4399
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
4399
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedAt)))
4400
4400
  : undefined,
4401
- DomainName: smithy_client_1.expectString(output.DomainName),
4401
+ DomainName: (0, smithy_client_1.expectString)(output.DomainName),
4402
4402
  LastUpdatedAt: output.LastUpdatedAt !== undefined && output.LastUpdatedAt !== null
4403
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdatedAt)))
4403
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdatedAt)))
4404
4404
  : undefined,
4405
- ObjectTypeName: smithy_client_1.expectString(output.ObjectTypeName),
4405
+ ObjectTypeName: (0, smithy_client_1.expectString)(output.ObjectTypeName),
4406
4406
  ObjectTypeNames: output.ObjectTypeNames !== undefined && output.ObjectTypeNames !== null
4407
4407
  ? deserializeAws_restJson1ObjectTypeNames(output.ObjectTypeNames, context)
4408
4408
  : undefined,
4409
4409
  Tags: output.Tags !== undefined && output.Tags !== null
4410
4410
  ? deserializeAws_restJson1TagMap(output.Tags, context)
4411
4411
  : undefined,
4412
- Uri: smithy_client_1.expectString(output.Uri),
4413
- WorkflowId: smithy_client_1.expectString(output.WorkflowId),
4412
+ Uri: (0, smithy_client_1.expectString)(output.Uri),
4413
+ WorkflowId: (0, smithy_client_1.expectString)(output.WorkflowId),
4414
4414
  };
4415
4415
  };
4416
4416
  const deserializeAws_restJson1ListProfileObjectsItem = (output, context) => {
4417
4417
  return {
4418
- Object: smithy_client_1.expectString(output.Object),
4419
- ObjectTypeName: smithy_client_1.expectString(output.ObjectTypeName),
4420
- ProfileObjectUniqueKey: smithy_client_1.expectString(output.ProfileObjectUniqueKey),
4418
+ Object: (0, smithy_client_1.expectString)(output.Object),
4419
+ ObjectTypeName: (0, smithy_client_1.expectString)(output.ObjectTypeName),
4420
+ ProfileObjectUniqueKey: (0, smithy_client_1.expectString)(output.ProfileObjectUniqueKey),
4421
4421
  };
4422
4422
  };
4423
4423
  const deserializeAws_restJson1ListProfileObjectTypeItem = (output, context) => {
4424
4424
  return {
4425
4425
  CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
4426
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
4426
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedAt)))
4427
4427
  : undefined,
4428
- Description: smithy_client_1.expectString(output.Description),
4428
+ Description: (0, smithy_client_1.expectString)(output.Description),
4429
4429
  LastUpdatedAt: output.LastUpdatedAt !== undefined && output.LastUpdatedAt !== null
4430
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdatedAt)))
4430
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdatedAt)))
4431
4431
  : undefined,
4432
- ObjectTypeName: smithy_client_1.expectString(output.ObjectTypeName),
4432
+ ObjectTypeName: (0, smithy_client_1.expectString)(output.ObjectTypeName),
4433
4433
  Tags: output.Tags !== undefined && output.Tags !== null
4434
4434
  ? deserializeAws_restJson1TagMap(output.Tags, context)
4435
4435
  : undefined,
@@ -4437,23 +4437,23 @@ const deserializeAws_restJson1ListProfileObjectTypeItem = (output, context) => {
4437
4437
  };
4438
4438
  const deserializeAws_restJson1ListProfileObjectTypeTemplateItem = (output, context) => {
4439
4439
  return {
4440
- SourceName: smithy_client_1.expectString(output.SourceName),
4441
- SourceObject: smithy_client_1.expectString(output.SourceObject),
4442
- TemplateId: smithy_client_1.expectString(output.TemplateId),
4440
+ SourceName: (0, smithy_client_1.expectString)(output.SourceName),
4441
+ SourceObject: (0, smithy_client_1.expectString)(output.SourceObject),
4442
+ TemplateId: (0, smithy_client_1.expectString)(output.TemplateId),
4443
4443
  };
4444
4444
  };
4445
4445
  const deserializeAws_restJson1ListWorkflowsItem = (output, context) => {
4446
4446
  return {
4447
4447
  CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
4448
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
4448
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedAt)))
4449
4449
  : undefined,
4450
4450
  LastUpdatedAt: output.LastUpdatedAt !== undefined && output.LastUpdatedAt !== null
4451
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdatedAt)))
4451
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdatedAt)))
4452
4452
  : undefined,
4453
- Status: smithy_client_1.expectString(output.Status),
4454
- StatusDescription: smithy_client_1.expectString(output.StatusDescription),
4455
- WorkflowId: smithy_client_1.expectString(output.WorkflowId),
4456
- WorkflowType: smithy_client_1.expectString(output.WorkflowType),
4453
+ Status: (0, smithy_client_1.expectString)(output.Status),
4454
+ StatusDescription: (0, smithy_client_1.expectString)(output.StatusDescription),
4455
+ WorkflowId: (0, smithy_client_1.expectString)(output.WorkflowId),
4456
+ WorkflowType: (0, smithy_client_1.expectString)(output.WorkflowType),
4457
4457
  };
4458
4458
  };
4459
4459
  const deserializeAws_restJson1MatchesList = (output, context) => {
@@ -4474,7 +4474,7 @@ const deserializeAws_restJson1MatchingAttributes = (output, context) => {
4474
4474
  if (entry === null) {
4475
4475
  return null;
4476
4476
  }
4477
- return smithy_client_1.expectString(entry);
4477
+ return (0, smithy_client_1.expectString)(entry);
4478
4478
  });
4479
4479
  return retVal;
4480
4480
  };
@@ -4494,7 +4494,7 @@ const deserializeAws_restJson1MatchingResponse = (output, context) => {
4494
4494
  AutoMerging: output.AutoMerging !== undefined && output.AutoMerging !== null
4495
4495
  ? deserializeAws_restJson1AutoMerging(output.AutoMerging, context)
4496
4496
  : undefined,
4497
- Enabled: smithy_client_1.expectBoolean(output.Enabled),
4497
+ Enabled: (0, smithy_client_1.expectBoolean)(output.Enabled),
4498
4498
  ExportingConfig: output.ExportingConfig !== undefined && output.ExportingConfig !== null
4499
4499
  ? deserializeAws_restJson1ExportingConfig(output.ExportingConfig, context)
4500
4500
  : undefined,
@@ -4505,8 +4505,8 @@ const deserializeAws_restJson1MatchingResponse = (output, context) => {
4505
4505
  };
4506
4506
  const deserializeAws_restJson1MatchItem = (output, context) => {
4507
4507
  return {
4508
- ConfidenceScore: smithy_client_1.limitedParseDouble(output.ConfidenceScore),
4509
- MatchId: smithy_client_1.expectString(output.MatchId),
4508
+ ConfidenceScore: (0, smithy_client_1.limitedParseDouble)(output.ConfidenceScore),
4509
+ MatchId: (0, smithy_client_1.expectString)(output.MatchId),
4510
4510
  ProfileIds: output.ProfileIds !== undefined && output.ProfileIds !== null
4511
4511
  ? deserializeAws_restJson1ProfileIdList(output.ProfileIds, context)
4512
4512
  : undefined,
@@ -4514,9 +4514,9 @@ const deserializeAws_restJson1MatchItem = (output, context) => {
4514
4514
  };
4515
4515
  const deserializeAws_restJson1ObjectTypeField = (output, context) => {
4516
4516
  return {
4517
- ContentType: smithy_client_1.expectString(output.ContentType),
4518
- Source: smithy_client_1.expectString(output.Source),
4519
- Target: smithy_client_1.expectString(output.Target),
4517
+ ContentType: (0, smithy_client_1.expectString)(output.ContentType),
4518
+ Source: (0, smithy_client_1.expectString)(output.Source),
4519
+ Target: (0, smithy_client_1.expectString)(output.Target),
4520
4520
  };
4521
4521
  };
4522
4522
  const deserializeAws_restJson1ObjectTypeKey = (output, context) => {
@@ -4547,14 +4547,14 @@ const deserializeAws_restJson1ObjectTypeNames = (output, context) => {
4547
4547
  }
4548
4548
  return {
4549
4549
  ...acc,
4550
- [key]: smithy_client_1.expectString(value),
4550
+ [key]: (0, smithy_client_1.expectString)(value),
4551
4551
  };
4552
4552
  }, {});
4553
4553
  };
4554
4554
  const deserializeAws_restJson1Profile = (output, context) => {
4555
4555
  return {
4556
- AccountNumber: smithy_client_1.expectString(output.AccountNumber),
4557
- AdditionalInformation: smithy_client_1.expectString(output.AdditionalInformation),
4556
+ AccountNumber: (0, smithy_client_1.expectString)(output.AccountNumber),
4557
+ AdditionalInformation: (0, smithy_client_1.expectString)(output.AdditionalInformation),
4558
4558
  Address: output.Address !== undefined && output.Address !== null
4559
4559
  ? deserializeAws_restJson1Address(output.Address, context)
4560
4560
  : undefined,
@@ -4564,24 +4564,24 @@ const deserializeAws_restJson1Profile = (output, context) => {
4564
4564
  BillingAddress: output.BillingAddress !== undefined && output.BillingAddress !== null
4565
4565
  ? deserializeAws_restJson1Address(output.BillingAddress, context)
4566
4566
  : undefined,
4567
- BirthDate: smithy_client_1.expectString(output.BirthDate),
4568
- BusinessEmailAddress: smithy_client_1.expectString(output.BusinessEmailAddress),
4569
- BusinessName: smithy_client_1.expectString(output.BusinessName),
4570
- BusinessPhoneNumber: smithy_client_1.expectString(output.BusinessPhoneNumber),
4571
- EmailAddress: smithy_client_1.expectString(output.EmailAddress),
4572
- FirstName: smithy_client_1.expectString(output.FirstName),
4573
- Gender: smithy_client_1.expectString(output.Gender),
4574
- HomePhoneNumber: smithy_client_1.expectString(output.HomePhoneNumber),
4575
- LastName: smithy_client_1.expectString(output.LastName),
4567
+ BirthDate: (0, smithy_client_1.expectString)(output.BirthDate),
4568
+ BusinessEmailAddress: (0, smithy_client_1.expectString)(output.BusinessEmailAddress),
4569
+ BusinessName: (0, smithy_client_1.expectString)(output.BusinessName),
4570
+ BusinessPhoneNumber: (0, smithy_client_1.expectString)(output.BusinessPhoneNumber),
4571
+ EmailAddress: (0, smithy_client_1.expectString)(output.EmailAddress),
4572
+ FirstName: (0, smithy_client_1.expectString)(output.FirstName),
4573
+ Gender: (0, smithy_client_1.expectString)(output.Gender),
4574
+ HomePhoneNumber: (0, smithy_client_1.expectString)(output.HomePhoneNumber),
4575
+ LastName: (0, smithy_client_1.expectString)(output.LastName),
4576
4576
  MailingAddress: output.MailingAddress !== undefined && output.MailingAddress !== null
4577
4577
  ? deserializeAws_restJson1Address(output.MailingAddress, context)
4578
4578
  : undefined,
4579
- MiddleName: smithy_client_1.expectString(output.MiddleName),
4580
- MobilePhoneNumber: smithy_client_1.expectString(output.MobilePhoneNumber),
4581
- PartyType: smithy_client_1.expectString(output.PartyType),
4582
- PersonalEmailAddress: smithy_client_1.expectString(output.PersonalEmailAddress),
4583
- PhoneNumber: smithy_client_1.expectString(output.PhoneNumber),
4584
- ProfileId: smithy_client_1.expectString(output.ProfileId),
4579
+ MiddleName: (0, smithy_client_1.expectString)(output.MiddleName),
4580
+ MobilePhoneNumber: (0, smithy_client_1.expectString)(output.MobilePhoneNumber),
4581
+ PartyType: (0, smithy_client_1.expectString)(output.PartyType),
4582
+ PersonalEmailAddress: (0, smithy_client_1.expectString)(output.PersonalEmailAddress),
4583
+ PhoneNumber: (0, smithy_client_1.expectString)(output.PhoneNumber),
4584
+ ProfileId: (0, smithy_client_1.expectString)(output.ProfileId),
4585
4585
  ShippingAddress: output.ShippingAddress !== undefined && output.ShippingAddress !== null
4586
4586
  ? deserializeAws_restJson1Address(output.ShippingAddress, context)
4587
4587
  : undefined,
@@ -4594,7 +4594,7 @@ const deserializeAws_restJson1ProfileIdList = (output, context) => {
4594
4594
  if (entry === null) {
4595
4595
  return null;
4596
4596
  }
4597
- return smithy_client_1.expectString(entry);
4597
+ return (0, smithy_client_1.expectString)(entry);
4598
4598
  });
4599
4599
  return retVal;
4600
4600
  };
@@ -4649,20 +4649,20 @@ const deserializeAws_restJson1requestValueList = (output, context) => {
4649
4649
  if (entry === null) {
4650
4650
  return null;
4651
4651
  }
4652
- return smithy_client_1.expectString(entry);
4652
+ return (0, smithy_client_1.expectString)(entry);
4653
4653
  });
4654
4654
  return retVal;
4655
4655
  };
4656
4656
  const deserializeAws_restJson1S3ExportingConfig = (output, context) => {
4657
4657
  return {
4658
- S3BucketName: smithy_client_1.expectString(output.S3BucketName),
4659
- S3KeyName: smithy_client_1.expectString(output.S3KeyName),
4658
+ S3BucketName: (0, smithy_client_1.expectString)(output.S3BucketName),
4659
+ S3KeyName: (0, smithy_client_1.expectString)(output.S3KeyName),
4660
4660
  };
4661
4661
  };
4662
4662
  const deserializeAws_restJson1S3ExportingLocation = (output, context) => {
4663
4663
  return {
4664
- S3BucketName: smithy_client_1.expectString(output.S3BucketName),
4665
- S3KeyName: smithy_client_1.expectString(output.S3KeyName),
4664
+ S3BucketName: (0, smithy_client_1.expectString)(output.S3BucketName),
4665
+ S3KeyName: (0, smithy_client_1.expectString)(output.S3KeyName),
4666
4666
  };
4667
4667
  };
4668
4668
  const deserializeAws_restJson1StandardIdentifierList = (output, context) => {
@@ -4672,7 +4672,7 @@ const deserializeAws_restJson1StandardIdentifierList = (output, context) => {
4672
4672
  if (entry === null) {
4673
4673
  return null;
4674
4674
  }
4675
- return smithy_client_1.expectString(entry);
4675
+ return (0, smithy_client_1.expectString)(entry);
4676
4676
  });
4677
4677
  return retVal;
4678
4678
  };
@@ -4683,7 +4683,7 @@ const deserializeAws_restJson1TagMap = (output, context) => {
4683
4683
  }
4684
4684
  return {
4685
4685
  ...acc,
4686
- [key]: smithy_client_1.expectString(value),
4686
+ [key]: (0, smithy_client_1.expectString)(value),
4687
4687
  };
4688
4688
  }, {});
4689
4689
  };