@aws-sdk/client-swf 3.53.0 → 3.55.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist-cjs/SWFClient.js +13 -13
  3. package/dist-cjs/commands/CountClosedWorkflowExecutionsCommand.js +3 -3
  4. package/dist-cjs/commands/CountOpenWorkflowExecutionsCommand.js +3 -3
  5. package/dist-cjs/commands/CountPendingActivityTasksCommand.js +3 -3
  6. package/dist-cjs/commands/CountPendingDecisionTasksCommand.js +3 -3
  7. package/dist-cjs/commands/DeprecateActivityTypeCommand.js +3 -3
  8. package/dist-cjs/commands/DeprecateDomainCommand.js +3 -3
  9. package/dist-cjs/commands/DeprecateWorkflowTypeCommand.js +3 -3
  10. package/dist-cjs/commands/DescribeActivityTypeCommand.js +3 -3
  11. package/dist-cjs/commands/DescribeDomainCommand.js +3 -3
  12. package/dist-cjs/commands/DescribeWorkflowExecutionCommand.js +3 -3
  13. package/dist-cjs/commands/DescribeWorkflowTypeCommand.js +3 -3
  14. package/dist-cjs/commands/GetWorkflowExecutionHistoryCommand.js +3 -3
  15. package/dist-cjs/commands/ListActivityTypesCommand.js +3 -3
  16. package/dist-cjs/commands/ListClosedWorkflowExecutionsCommand.js +3 -3
  17. package/dist-cjs/commands/ListDomainsCommand.js +3 -3
  18. package/dist-cjs/commands/ListOpenWorkflowExecutionsCommand.js +3 -3
  19. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  20. package/dist-cjs/commands/ListWorkflowTypesCommand.js +3 -3
  21. package/dist-cjs/commands/PollForActivityTaskCommand.js +3 -3
  22. package/dist-cjs/commands/PollForDecisionTaskCommand.js +3 -3
  23. package/dist-cjs/commands/RecordActivityTaskHeartbeatCommand.js +3 -3
  24. package/dist-cjs/commands/RegisterActivityTypeCommand.js +3 -3
  25. package/dist-cjs/commands/RegisterDomainCommand.js +3 -3
  26. package/dist-cjs/commands/RegisterWorkflowTypeCommand.js +3 -3
  27. package/dist-cjs/commands/RequestCancelWorkflowExecutionCommand.js +3 -3
  28. package/dist-cjs/commands/RespondActivityTaskCanceledCommand.js +3 -3
  29. package/dist-cjs/commands/RespondActivityTaskCompletedCommand.js +3 -3
  30. package/dist-cjs/commands/RespondActivityTaskFailedCommand.js +3 -3
  31. package/dist-cjs/commands/RespondDecisionTaskCompletedCommand.js +3 -3
  32. package/dist-cjs/commands/SignalWorkflowExecutionCommand.js +3 -3
  33. package/dist-cjs/commands/StartWorkflowExecutionCommand.js +3 -3
  34. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  35. package/dist-cjs/commands/TerminateWorkflowExecutionCommand.js +3 -3
  36. package/dist-cjs/commands/UndeprecateActivityTypeCommand.js +3 -3
  37. package/dist-cjs/commands/UndeprecateDomainCommand.js +3 -3
  38. package/dist-cjs/commands/UndeprecateWorkflowTypeCommand.js +3 -3
  39. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  40. package/dist-cjs/endpoints.js +1 -1
  41. package/dist-cjs/protocols/Aws_json1_0.js +314 -314
  42. package/dist-cjs/runtimeConfig.browser.js +4 -4
  43. package/dist-cjs/runtimeConfig.js +9 -9
  44. package/dist-cjs/runtimeConfig.native.js +1 -1
  45. package/dist-es/SWF.js +37 -37
  46. package/dist-es/pagination/GetWorkflowExecutionHistoryPaginator.js +4 -4
  47. package/dist-es/pagination/ListActivityTypesPaginator.js +4 -4
  48. package/dist-es/pagination/ListClosedWorkflowExecutionsPaginator.js +4 -4
  49. package/dist-es/pagination/ListDomainsPaginator.js +4 -4
  50. package/dist-es/pagination/ListOpenWorkflowExecutionsPaginator.js +4 -4
  51. package/dist-es/pagination/ListWorkflowTypesPaginator.js +4 -4
  52. package/dist-es/pagination/PollForDecisionTaskPaginator.js +4 -4
  53. package/dist-types/SWFClient.d.ts +2 -2
  54. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  55. package/dist-types/runtimeConfig.d.ts +1 -1
  56. package/dist-types/runtimeConfig.native.d.ts +3 -3
  57. package/dist-types/ts3.4/SWFClient.d.ts +2 -2
  58. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  59. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  60. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
  61. package/package.json +34 -34
@@ -412,7 +412,7 @@ const deserializeAws_json1_0CountClosedWorkflowExecutionsCommandError = async (o
412
412
  $fault: "client",
413
413
  $metadata: deserializeMetadata(output),
414
414
  });
415
- throw smithy_client_1.decorateServiceException(response, parsedBody);
415
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
416
416
  }
417
417
  };
418
418
  const deserializeAws_json1_0CountOpenWorkflowExecutionsCommand = async (output, context) => {
@@ -451,7 +451,7 @@ const deserializeAws_json1_0CountOpenWorkflowExecutionsCommandError = async (out
451
451
  $fault: "client",
452
452
  $metadata: deserializeMetadata(output),
453
453
  });
454
- throw smithy_client_1.decorateServiceException(response, parsedBody);
454
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
455
455
  }
456
456
  };
457
457
  const deserializeAws_json1_0CountPendingActivityTasksCommand = async (output, context) => {
@@ -490,7 +490,7 @@ const deserializeAws_json1_0CountPendingActivityTasksCommandError = async (outpu
490
490
  $fault: "client",
491
491
  $metadata: deserializeMetadata(output),
492
492
  });
493
- throw smithy_client_1.decorateServiceException(response, parsedBody);
493
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
494
494
  }
495
495
  };
496
496
  const deserializeAws_json1_0CountPendingDecisionTasksCommand = async (output, context) => {
@@ -529,7 +529,7 @@ const deserializeAws_json1_0CountPendingDecisionTasksCommandError = async (outpu
529
529
  $fault: "client",
530
530
  $metadata: deserializeMetadata(output),
531
531
  });
532
- throw smithy_client_1.decorateServiceException(response, parsedBody);
532
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
533
533
  }
534
534
  };
535
535
  const deserializeAws_json1_0DeprecateActivityTypeCommand = async (output, context) => {
@@ -568,7 +568,7 @@ const deserializeAws_json1_0DeprecateActivityTypeCommandError = async (output, c
568
568
  $fault: "client",
569
569
  $metadata: deserializeMetadata(output),
570
570
  });
571
- throw smithy_client_1.decorateServiceException(response, parsedBody);
571
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
572
572
  }
573
573
  };
574
574
  const deserializeAws_json1_0DeprecateDomainCommand = async (output, context) => {
@@ -607,7 +607,7 @@ const deserializeAws_json1_0DeprecateDomainCommandError = async (output, context
607
607
  $fault: "client",
608
608
  $metadata: deserializeMetadata(output),
609
609
  });
610
- throw smithy_client_1.decorateServiceException(response, parsedBody);
610
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
611
611
  }
612
612
  };
613
613
  const deserializeAws_json1_0DeprecateWorkflowTypeCommand = async (output, context) => {
@@ -646,7 +646,7 @@ const deserializeAws_json1_0DeprecateWorkflowTypeCommandError = async (output, c
646
646
  $fault: "client",
647
647
  $metadata: deserializeMetadata(output),
648
648
  });
649
- throw smithy_client_1.decorateServiceException(response, parsedBody);
649
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
650
650
  }
651
651
  };
652
652
  const deserializeAws_json1_0DescribeActivityTypeCommand = async (output, context) => {
@@ -685,7 +685,7 @@ const deserializeAws_json1_0DescribeActivityTypeCommandError = async (output, co
685
685
  $fault: "client",
686
686
  $metadata: deserializeMetadata(output),
687
687
  });
688
- throw smithy_client_1.decorateServiceException(response, parsedBody);
688
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
689
689
  }
690
690
  };
691
691
  const deserializeAws_json1_0DescribeDomainCommand = async (output, context) => {
@@ -724,7 +724,7 @@ const deserializeAws_json1_0DescribeDomainCommandError = async (output, context)
724
724
  $fault: "client",
725
725
  $metadata: deserializeMetadata(output),
726
726
  });
727
- throw smithy_client_1.decorateServiceException(response, parsedBody);
727
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
728
728
  }
729
729
  };
730
730
  const deserializeAws_json1_0DescribeWorkflowExecutionCommand = async (output, context) => {
@@ -763,7 +763,7 @@ const deserializeAws_json1_0DescribeWorkflowExecutionCommandError = async (outpu
763
763
  $fault: "client",
764
764
  $metadata: deserializeMetadata(output),
765
765
  });
766
- throw smithy_client_1.decorateServiceException(response, parsedBody);
766
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
767
767
  }
768
768
  };
769
769
  const deserializeAws_json1_0DescribeWorkflowTypeCommand = async (output, context) => {
@@ -802,7 +802,7 @@ const deserializeAws_json1_0DescribeWorkflowTypeCommandError = async (output, co
802
802
  $fault: "client",
803
803
  $metadata: deserializeMetadata(output),
804
804
  });
805
- throw smithy_client_1.decorateServiceException(response, parsedBody);
805
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
806
806
  }
807
807
  };
808
808
  const deserializeAws_json1_0GetWorkflowExecutionHistoryCommand = async (output, context) => {
@@ -841,7 +841,7 @@ const deserializeAws_json1_0GetWorkflowExecutionHistoryCommandError = async (out
841
841
  $fault: "client",
842
842
  $metadata: deserializeMetadata(output),
843
843
  });
844
- throw smithy_client_1.decorateServiceException(response, parsedBody);
844
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
845
845
  }
846
846
  };
847
847
  const deserializeAws_json1_0ListActivityTypesCommand = async (output, context) => {
@@ -880,7 +880,7 @@ const deserializeAws_json1_0ListActivityTypesCommandError = async (output, conte
880
880
  $fault: "client",
881
881
  $metadata: deserializeMetadata(output),
882
882
  });
883
- throw smithy_client_1.decorateServiceException(response, parsedBody);
883
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
884
884
  }
885
885
  };
886
886
  const deserializeAws_json1_0ListClosedWorkflowExecutionsCommand = async (output, context) => {
@@ -919,7 +919,7 @@ const deserializeAws_json1_0ListClosedWorkflowExecutionsCommandError = async (ou
919
919
  $fault: "client",
920
920
  $metadata: deserializeMetadata(output),
921
921
  });
922
- throw smithy_client_1.decorateServiceException(response, parsedBody);
922
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
923
923
  }
924
924
  };
925
925
  const deserializeAws_json1_0ListDomainsCommand = async (output, context) => {
@@ -955,7 +955,7 @@ const deserializeAws_json1_0ListDomainsCommandError = async (output, context) =>
955
955
  $fault: "client",
956
956
  $metadata: deserializeMetadata(output),
957
957
  });
958
- throw smithy_client_1.decorateServiceException(response, parsedBody);
958
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
959
959
  }
960
960
  };
961
961
  const deserializeAws_json1_0ListOpenWorkflowExecutionsCommand = async (output, context) => {
@@ -994,7 +994,7 @@ const deserializeAws_json1_0ListOpenWorkflowExecutionsCommandError = async (outp
994
994
  $fault: "client",
995
995
  $metadata: deserializeMetadata(output),
996
996
  });
997
- throw smithy_client_1.decorateServiceException(response, parsedBody);
997
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
998
998
  }
999
999
  };
1000
1000
  const deserializeAws_json1_0ListTagsForResourceCommand = async (output, context) => {
@@ -1036,7 +1036,7 @@ const deserializeAws_json1_0ListTagsForResourceCommandError = async (output, con
1036
1036
  $fault: "client",
1037
1037
  $metadata: deserializeMetadata(output),
1038
1038
  });
1039
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1039
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1040
1040
  }
1041
1041
  };
1042
1042
  const deserializeAws_json1_0ListWorkflowTypesCommand = async (output, context) => {
@@ -1075,7 +1075,7 @@ const deserializeAws_json1_0ListWorkflowTypesCommandError = async (output, conte
1075
1075
  $fault: "client",
1076
1076
  $metadata: deserializeMetadata(output),
1077
1077
  });
1078
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1078
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1079
1079
  }
1080
1080
  };
1081
1081
  const deserializeAws_json1_0PollForActivityTaskCommand = async (output, context) => {
@@ -1117,7 +1117,7 @@ const deserializeAws_json1_0PollForActivityTaskCommandError = async (output, con
1117
1117
  $fault: "client",
1118
1118
  $metadata: deserializeMetadata(output),
1119
1119
  });
1120
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1120
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1121
1121
  }
1122
1122
  };
1123
1123
  const deserializeAws_json1_0PollForDecisionTaskCommand = async (output, context) => {
@@ -1159,7 +1159,7 @@ const deserializeAws_json1_0PollForDecisionTaskCommandError = async (output, con
1159
1159
  $fault: "client",
1160
1160
  $metadata: deserializeMetadata(output),
1161
1161
  });
1162
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1162
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1163
1163
  }
1164
1164
  };
1165
1165
  const deserializeAws_json1_0RecordActivityTaskHeartbeatCommand = async (output, context) => {
@@ -1198,7 +1198,7 @@ const deserializeAws_json1_0RecordActivityTaskHeartbeatCommandError = async (out
1198
1198
  $fault: "client",
1199
1199
  $metadata: deserializeMetadata(output),
1200
1200
  });
1201
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1201
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1202
1202
  }
1203
1203
  };
1204
1204
  const deserializeAws_json1_0RegisterActivityTypeCommand = async (output, context) => {
@@ -1240,7 +1240,7 @@ const deserializeAws_json1_0RegisterActivityTypeCommandError = async (output, co
1240
1240
  $fault: "client",
1241
1241
  $metadata: deserializeMetadata(output),
1242
1242
  });
1243
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1243
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1244
1244
  }
1245
1245
  };
1246
1246
  const deserializeAws_json1_0RegisterDomainCommand = async (output, context) => {
@@ -1282,7 +1282,7 @@ const deserializeAws_json1_0RegisterDomainCommandError = async (output, context)
1282
1282
  $fault: "client",
1283
1283
  $metadata: deserializeMetadata(output),
1284
1284
  });
1285
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1285
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1286
1286
  }
1287
1287
  };
1288
1288
  const deserializeAws_json1_0RegisterWorkflowTypeCommand = async (output, context) => {
@@ -1324,7 +1324,7 @@ const deserializeAws_json1_0RegisterWorkflowTypeCommandError = async (output, co
1324
1324
  $fault: "client",
1325
1325
  $metadata: deserializeMetadata(output),
1326
1326
  });
1327
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1327
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1328
1328
  }
1329
1329
  };
1330
1330
  const deserializeAws_json1_0RequestCancelWorkflowExecutionCommand = async (output, context) => {
@@ -1360,7 +1360,7 @@ const deserializeAws_json1_0RequestCancelWorkflowExecutionCommandError = async (
1360
1360
  $fault: "client",
1361
1361
  $metadata: deserializeMetadata(output),
1362
1362
  });
1363
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1363
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1364
1364
  }
1365
1365
  };
1366
1366
  const deserializeAws_json1_0RespondActivityTaskCanceledCommand = async (output, context) => {
@@ -1396,7 +1396,7 @@ const deserializeAws_json1_0RespondActivityTaskCanceledCommandError = async (out
1396
1396
  $fault: "client",
1397
1397
  $metadata: deserializeMetadata(output),
1398
1398
  });
1399
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1399
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1400
1400
  }
1401
1401
  };
1402
1402
  const deserializeAws_json1_0RespondActivityTaskCompletedCommand = async (output, context) => {
@@ -1432,7 +1432,7 @@ const deserializeAws_json1_0RespondActivityTaskCompletedCommandError = async (ou
1432
1432
  $fault: "client",
1433
1433
  $metadata: deserializeMetadata(output),
1434
1434
  });
1435
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1435
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1436
1436
  }
1437
1437
  };
1438
1438
  const deserializeAws_json1_0RespondActivityTaskFailedCommand = async (output, context) => {
@@ -1468,7 +1468,7 @@ const deserializeAws_json1_0RespondActivityTaskFailedCommandError = async (outpu
1468
1468
  $fault: "client",
1469
1469
  $metadata: deserializeMetadata(output),
1470
1470
  });
1471
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1471
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1472
1472
  }
1473
1473
  };
1474
1474
  const deserializeAws_json1_0RespondDecisionTaskCompletedCommand = async (output, context) => {
@@ -1504,7 +1504,7 @@ const deserializeAws_json1_0RespondDecisionTaskCompletedCommandError = async (ou
1504
1504
  $fault: "client",
1505
1505
  $metadata: deserializeMetadata(output),
1506
1506
  });
1507
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1507
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1508
1508
  }
1509
1509
  };
1510
1510
  const deserializeAws_json1_0SignalWorkflowExecutionCommand = async (output, context) => {
@@ -1540,7 +1540,7 @@ const deserializeAws_json1_0SignalWorkflowExecutionCommandError = async (output,
1540
1540
  $fault: "client",
1541
1541
  $metadata: deserializeMetadata(output),
1542
1542
  });
1543
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1543
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1544
1544
  }
1545
1545
  };
1546
1546
  const deserializeAws_json1_0StartWorkflowExecutionCommand = async (output, context) => {
@@ -1591,7 +1591,7 @@ const deserializeAws_json1_0StartWorkflowExecutionCommandError = async (output,
1591
1591
  $fault: "client",
1592
1592
  $metadata: deserializeMetadata(output),
1593
1593
  });
1594
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1594
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1595
1595
  }
1596
1596
  };
1597
1597
  const deserializeAws_json1_0TagResourceCommand = async (output, context) => {
@@ -1633,7 +1633,7 @@ const deserializeAws_json1_0TagResourceCommandError = async (output, context) =>
1633
1633
  $fault: "client",
1634
1634
  $metadata: deserializeMetadata(output),
1635
1635
  });
1636
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1636
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1637
1637
  }
1638
1638
  };
1639
1639
  const deserializeAws_json1_0TerminateWorkflowExecutionCommand = async (output, context) => {
@@ -1669,7 +1669,7 @@ const deserializeAws_json1_0TerminateWorkflowExecutionCommandError = async (outp
1669
1669
  $fault: "client",
1670
1670
  $metadata: deserializeMetadata(output),
1671
1671
  });
1672
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1672
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1673
1673
  }
1674
1674
  };
1675
1675
  const deserializeAws_json1_0UndeprecateActivityTypeCommand = async (output, context) => {
@@ -1708,7 +1708,7 @@ const deserializeAws_json1_0UndeprecateActivityTypeCommandError = async (output,
1708
1708
  $fault: "client",
1709
1709
  $metadata: deserializeMetadata(output),
1710
1710
  });
1711
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1711
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1712
1712
  }
1713
1713
  };
1714
1714
  const deserializeAws_json1_0UndeprecateDomainCommand = async (output, context) => {
@@ -1747,7 +1747,7 @@ const deserializeAws_json1_0UndeprecateDomainCommandError = async (output, conte
1747
1747
  $fault: "client",
1748
1748
  $metadata: deserializeMetadata(output),
1749
1749
  });
1750
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1750
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1751
1751
  }
1752
1752
  };
1753
1753
  const deserializeAws_json1_0UndeprecateWorkflowTypeCommand = async (output, context) => {
@@ -1786,7 +1786,7 @@ const deserializeAws_json1_0UndeprecateWorkflowTypeCommandError = async (output,
1786
1786
  $fault: "client",
1787
1787
  $metadata: deserializeMetadata(output),
1788
1788
  });
1789
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1789
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1790
1790
  }
1791
1791
  };
1792
1792
  const deserializeAws_json1_0UntagResourceCommand = async (output, context) => {
@@ -1825,7 +1825,7 @@ const deserializeAws_json1_0UntagResourceCommandError = async (output, context)
1825
1825
  $fault: "client",
1826
1826
  $metadata: deserializeMetadata(output),
1827
1827
  });
1828
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1828
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1829
1829
  }
1830
1830
  };
1831
1831
  const deserializeAws_json1_0DefaultUndefinedFaultResponse = async (parsedOutput, context) => {
@@ -1835,7 +1835,7 @@ const deserializeAws_json1_0DefaultUndefinedFaultResponse = async (parsedOutput,
1835
1835
  $metadata: deserializeMetadata(parsedOutput),
1836
1836
  ...deserialized,
1837
1837
  });
1838
- return smithy_client_1.decorateServiceException(exception, body);
1838
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1839
1839
  };
1840
1840
  const deserializeAws_json1_0DomainAlreadyExistsFaultResponse = async (parsedOutput, context) => {
1841
1841
  const body = parsedOutput.body;
@@ -1844,7 +1844,7 @@ const deserializeAws_json1_0DomainAlreadyExistsFaultResponse = async (parsedOutp
1844
1844
  $metadata: deserializeMetadata(parsedOutput),
1845
1845
  ...deserialized,
1846
1846
  });
1847
- return smithy_client_1.decorateServiceException(exception, body);
1847
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1848
1848
  };
1849
1849
  const deserializeAws_json1_0DomainDeprecatedFaultResponse = async (parsedOutput, context) => {
1850
1850
  const body = parsedOutput.body;
@@ -1853,7 +1853,7 @@ const deserializeAws_json1_0DomainDeprecatedFaultResponse = async (parsedOutput,
1853
1853
  $metadata: deserializeMetadata(parsedOutput),
1854
1854
  ...deserialized,
1855
1855
  });
1856
- return smithy_client_1.decorateServiceException(exception, body);
1856
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1857
1857
  };
1858
1858
  const deserializeAws_json1_0LimitExceededFaultResponse = async (parsedOutput, context) => {
1859
1859
  const body = parsedOutput.body;
@@ -1862,7 +1862,7 @@ const deserializeAws_json1_0LimitExceededFaultResponse = async (parsedOutput, co
1862
1862
  $metadata: deserializeMetadata(parsedOutput),
1863
1863
  ...deserialized,
1864
1864
  });
1865
- return smithy_client_1.decorateServiceException(exception, body);
1865
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1866
1866
  };
1867
1867
  const deserializeAws_json1_0OperationNotPermittedFaultResponse = async (parsedOutput, context) => {
1868
1868
  const body = parsedOutput.body;
@@ -1871,7 +1871,7 @@ const deserializeAws_json1_0OperationNotPermittedFaultResponse = async (parsedOu
1871
1871
  $metadata: deserializeMetadata(parsedOutput),
1872
1872
  ...deserialized,
1873
1873
  });
1874
- return smithy_client_1.decorateServiceException(exception, body);
1874
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1875
1875
  };
1876
1876
  const deserializeAws_json1_0TooManyTagsFaultResponse = async (parsedOutput, context) => {
1877
1877
  const body = parsedOutput.body;
@@ -1880,7 +1880,7 @@ const deserializeAws_json1_0TooManyTagsFaultResponse = async (parsedOutput, cont
1880
1880
  $metadata: deserializeMetadata(parsedOutput),
1881
1881
  ...deserialized,
1882
1882
  });
1883
- return smithy_client_1.decorateServiceException(exception, body);
1883
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1884
1884
  };
1885
1885
  const deserializeAws_json1_0TypeAlreadyExistsFaultResponse = async (parsedOutput, context) => {
1886
1886
  const body = parsedOutput.body;
@@ -1889,7 +1889,7 @@ const deserializeAws_json1_0TypeAlreadyExistsFaultResponse = async (parsedOutput
1889
1889
  $metadata: deserializeMetadata(parsedOutput),
1890
1890
  ...deserialized,
1891
1891
  });
1892
- return smithy_client_1.decorateServiceException(exception, body);
1892
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1893
1893
  };
1894
1894
  const deserializeAws_json1_0TypeDeprecatedFaultResponse = async (parsedOutput, context) => {
1895
1895
  const body = parsedOutput.body;
@@ -1898,7 +1898,7 @@ const deserializeAws_json1_0TypeDeprecatedFaultResponse = async (parsedOutput, c
1898
1898
  $metadata: deserializeMetadata(parsedOutput),
1899
1899
  ...deserialized,
1900
1900
  });
1901
- return smithy_client_1.decorateServiceException(exception, body);
1901
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1902
1902
  };
1903
1903
  const deserializeAws_json1_0UnknownResourceFaultResponse = async (parsedOutput, context) => {
1904
1904
  const body = parsedOutput.body;
@@ -1907,7 +1907,7 @@ const deserializeAws_json1_0UnknownResourceFaultResponse = async (parsedOutput,
1907
1907
  $metadata: deserializeMetadata(parsedOutput),
1908
1908
  ...deserialized,
1909
1909
  });
1910
- return smithy_client_1.decorateServiceException(exception, body);
1910
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1911
1911
  };
1912
1912
  const deserializeAws_json1_0WorkflowExecutionAlreadyStartedFaultResponse = async (parsedOutput, context) => {
1913
1913
  const body = parsedOutput.body;
@@ -1916,7 +1916,7 @@ const deserializeAws_json1_0WorkflowExecutionAlreadyStartedFaultResponse = async
1916
1916
  $metadata: deserializeMetadata(parsedOutput),
1917
1917
  ...deserialized,
1918
1918
  });
1919
- return smithy_client_1.decorateServiceException(exception, body);
1919
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1920
1920
  };
1921
1921
  const serializeAws_json1_0ActivityType = (input, context) => {
1922
1922
  return {
@@ -2605,13 +2605,13 @@ const serializeAws_json1_0WorkflowTypeFilter = (input, context) => {
2605
2605
  };
2606
2606
  const deserializeAws_json1_0ActivityTask = (output, context) => {
2607
2607
  return {
2608
- activityId: smithy_client_1.expectString(output.activityId),
2608
+ activityId: (0, smithy_client_1.expectString)(output.activityId),
2609
2609
  activityType: output.activityType !== undefined && output.activityType !== null
2610
2610
  ? deserializeAws_json1_0ActivityType(output.activityType, context)
2611
2611
  : undefined,
2612
- input: smithy_client_1.expectString(output.input),
2613
- startedEventId: smithy_client_1.expectLong(output.startedEventId),
2614
- taskToken: smithy_client_1.expectString(output.taskToken),
2612
+ input: (0, smithy_client_1.expectString)(output.input),
2613
+ startedEventId: (0, smithy_client_1.expectLong)(output.startedEventId),
2614
+ taskToken: (0, smithy_client_1.expectString)(output.taskToken),
2615
2615
  workflowExecution: output.workflowExecution !== undefined && output.workflowExecution !== null
2616
2616
  ? deserializeAws_json1_0WorkflowExecution(output.workflowExecution, context)
2617
2617
  : undefined,
@@ -2619,87 +2619,87 @@ const deserializeAws_json1_0ActivityTask = (output, context) => {
2619
2619
  };
2620
2620
  const deserializeAws_json1_0ActivityTaskCanceledEventAttributes = (output, context) => {
2621
2621
  return {
2622
- details: smithy_client_1.expectString(output.details),
2623
- latestCancelRequestedEventId: smithy_client_1.expectLong(output.latestCancelRequestedEventId),
2624
- scheduledEventId: smithy_client_1.expectLong(output.scheduledEventId),
2625
- startedEventId: smithy_client_1.expectLong(output.startedEventId),
2622
+ details: (0, smithy_client_1.expectString)(output.details),
2623
+ latestCancelRequestedEventId: (0, smithy_client_1.expectLong)(output.latestCancelRequestedEventId),
2624
+ scheduledEventId: (0, smithy_client_1.expectLong)(output.scheduledEventId),
2625
+ startedEventId: (0, smithy_client_1.expectLong)(output.startedEventId),
2626
2626
  };
2627
2627
  };
2628
2628
  const deserializeAws_json1_0ActivityTaskCancelRequestedEventAttributes = (output, context) => {
2629
2629
  return {
2630
- activityId: smithy_client_1.expectString(output.activityId),
2631
- decisionTaskCompletedEventId: smithy_client_1.expectLong(output.decisionTaskCompletedEventId),
2630
+ activityId: (0, smithy_client_1.expectString)(output.activityId),
2631
+ decisionTaskCompletedEventId: (0, smithy_client_1.expectLong)(output.decisionTaskCompletedEventId),
2632
2632
  };
2633
2633
  };
2634
2634
  const deserializeAws_json1_0ActivityTaskCompletedEventAttributes = (output, context) => {
2635
2635
  return {
2636
- result: smithy_client_1.expectString(output.result),
2637
- scheduledEventId: smithy_client_1.expectLong(output.scheduledEventId),
2638
- startedEventId: smithy_client_1.expectLong(output.startedEventId),
2636
+ result: (0, smithy_client_1.expectString)(output.result),
2637
+ scheduledEventId: (0, smithy_client_1.expectLong)(output.scheduledEventId),
2638
+ startedEventId: (0, smithy_client_1.expectLong)(output.startedEventId),
2639
2639
  };
2640
2640
  };
2641
2641
  const deserializeAws_json1_0ActivityTaskFailedEventAttributes = (output, context) => {
2642
2642
  return {
2643
- details: smithy_client_1.expectString(output.details),
2644
- reason: smithy_client_1.expectString(output.reason),
2645
- scheduledEventId: smithy_client_1.expectLong(output.scheduledEventId),
2646
- startedEventId: smithy_client_1.expectLong(output.startedEventId),
2643
+ details: (0, smithy_client_1.expectString)(output.details),
2644
+ reason: (0, smithy_client_1.expectString)(output.reason),
2645
+ scheduledEventId: (0, smithy_client_1.expectLong)(output.scheduledEventId),
2646
+ startedEventId: (0, smithy_client_1.expectLong)(output.startedEventId),
2647
2647
  };
2648
2648
  };
2649
2649
  const deserializeAws_json1_0ActivityTaskScheduledEventAttributes = (output, context) => {
2650
2650
  return {
2651
- activityId: smithy_client_1.expectString(output.activityId),
2651
+ activityId: (0, smithy_client_1.expectString)(output.activityId),
2652
2652
  activityType: output.activityType !== undefined && output.activityType !== null
2653
2653
  ? deserializeAws_json1_0ActivityType(output.activityType, context)
2654
2654
  : undefined,
2655
- control: smithy_client_1.expectString(output.control),
2656
- decisionTaskCompletedEventId: smithy_client_1.expectLong(output.decisionTaskCompletedEventId),
2657
- heartbeatTimeout: smithy_client_1.expectString(output.heartbeatTimeout),
2658
- input: smithy_client_1.expectString(output.input),
2659
- scheduleToCloseTimeout: smithy_client_1.expectString(output.scheduleToCloseTimeout),
2660
- scheduleToStartTimeout: smithy_client_1.expectString(output.scheduleToStartTimeout),
2661
- startToCloseTimeout: smithy_client_1.expectString(output.startToCloseTimeout),
2655
+ control: (0, smithy_client_1.expectString)(output.control),
2656
+ decisionTaskCompletedEventId: (0, smithy_client_1.expectLong)(output.decisionTaskCompletedEventId),
2657
+ heartbeatTimeout: (0, smithy_client_1.expectString)(output.heartbeatTimeout),
2658
+ input: (0, smithy_client_1.expectString)(output.input),
2659
+ scheduleToCloseTimeout: (0, smithy_client_1.expectString)(output.scheduleToCloseTimeout),
2660
+ scheduleToStartTimeout: (0, smithy_client_1.expectString)(output.scheduleToStartTimeout),
2661
+ startToCloseTimeout: (0, smithy_client_1.expectString)(output.startToCloseTimeout),
2662
2662
  taskList: output.taskList !== undefined && output.taskList !== null
2663
2663
  ? deserializeAws_json1_0TaskList(output.taskList, context)
2664
2664
  : undefined,
2665
- taskPriority: smithy_client_1.expectString(output.taskPriority),
2665
+ taskPriority: (0, smithy_client_1.expectString)(output.taskPriority),
2666
2666
  };
2667
2667
  };
2668
2668
  const deserializeAws_json1_0ActivityTaskStartedEventAttributes = (output, context) => {
2669
2669
  return {
2670
- identity: smithy_client_1.expectString(output.identity),
2671
- scheduledEventId: smithy_client_1.expectLong(output.scheduledEventId),
2670
+ identity: (0, smithy_client_1.expectString)(output.identity),
2671
+ scheduledEventId: (0, smithy_client_1.expectLong)(output.scheduledEventId),
2672
2672
  };
2673
2673
  };
2674
2674
  const deserializeAws_json1_0ActivityTaskStatus = (output, context) => {
2675
2675
  return {
2676
- cancelRequested: smithy_client_1.expectBoolean(output.cancelRequested),
2676
+ cancelRequested: (0, smithy_client_1.expectBoolean)(output.cancelRequested),
2677
2677
  };
2678
2678
  };
2679
2679
  const deserializeAws_json1_0ActivityTaskTimedOutEventAttributes = (output, context) => {
2680
2680
  return {
2681
- details: smithy_client_1.expectString(output.details),
2682
- scheduledEventId: smithy_client_1.expectLong(output.scheduledEventId),
2683
- startedEventId: smithy_client_1.expectLong(output.startedEventId),
2684
- timeoutType: smithy_client_1.expectString(output.timeoutType),
2681
+ details: (0, smithy_client_1.expectString)(output.details),
2682
+ scheduledEventId: (0, smithy_client_1.expectLong)(output.scheduledEventId),
2683
+ startedEventId: (0, smithy_client_1.expectLong)(output.startedEventId),
2684
+ timeoutType: (0, smithy_client_1.expectString)(output.timeoutType),
2685
2685
  };
2686
2686
  };
2687
2687
  const deserializeAws_json1_0ActivityType = (output, context) => {
2688
2688
  return {
2689
- name: smithy_client_1.expectString(output.name),
2690
- version: smithy_client_1.expectString(output.version),
2689
+ name: (0, smithy_client_1.expectString)(output.name),
2690
+ version: (0, smithy_client_1.expectString)(output.version),
2691
2691
  };
2692
2692
  };
2693
2693
  const deserializeAws_json1_0ActivityTypeConfiguration = (output, context) => {
2694
2694
  return {
2695
- defaultTaskHeartbeatTimeout: smithy_client_1.expectString(output.defaultTaskHeartbeatTimeout),
2695
+ defaultTaskHeartbeatTimeout: (0, smithy_client_1.expectString)(output.defaultTaskHeartbeatTimeout),
2696
2696
  defaultTaskList: output.defaultTaskList !== undefined && output.defaultTaskList !== null
2697
2697
  ? deserializeAws_json1_0TaskList(output.defaultTaskList, context)
2698
2698
  : undefined,
2699
- defaultTaskPriority: smithy_client_1.expectString(output.defaultTaskPriority),
2700
- defaultTaskScheduleToCloseTimeout: smithy_client_1.expectString(output.defaultTaskScheduleToCloseTimeout),
2701
- defaultTaskScheduleToStartTimeout: smithy_client_1.expectString(output.defaultTaskScheduleToStartTimeout),
2702
- defaultTaskStartToCloseTimeout: smithy_client_1.expectString(output.defaultTaskStartToCloseTimeout),
2699
+ defaultTaskPriority: (0, smithy_client_1.expectString)(output.defaultTaskPriority),
2700
+ defaultTaskScheduleToCloseTimeout: (0, smithy_client_1.expectString)(output.defaultTaskScheduleToCloseTimeout),
2701
+ defaultTaskScheduleToStartTimeout: (0, smithy_client_1.expectString)(output.defaultTaskScheduleToStartTimeout),
2702
+ defaultTaskStartToCloseTimeout: (0, smithy_client_1.expectString)(output.defaultTaskStartToCloseTimeout),
2703
2703
  };
2704
2704
  };
2705
2705
  const deserializeAws_json1_0ActivityTypeDetail = (output, context) => {
@@ -2718,13 +2718,13 @@ const deserializeAws_json1_0ActivityTypeInfo = (output, context) => {
2718
2718
  ? deserializeAws_json1_0ActivityType(output.activityType, context)
2719
2719
  : undefined,
2720
2720
  creationDate: output.creationDate !== undefined && output.creationDate !== null
2721
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.creationDate)))
2721
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.creationDate)))
2722
2722
  : undefined,
2723
2723
  deprecationDate: output.deprecationDate !== undefined && output.deprecationDate !== null
2724
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.deprecationDate)))
2724
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.deprecationDate)))
2725
2725
  : undefined,
2726
- description: smithy_client_1.expectString(output.description),
2727
- status: smithy_client_1.expectString(output.status),
2726
+ description: (0, smithy_client_1.expectString)(output.description),
2727
+ status: (0, smithy_client_1.expectString)(output.status),
2728
2728
  };
2729
2729
  };
2730
2730
  const deserializeAws_json1_0ActivityTypeInfoList = (output, context) => {
@@ -2740,7 +2740,7 @@ const deserializeAws_json1_0ActivityTypeInfoList = (output, context) => {
2740
2740
  };
2741
2741
  const deserializeAws_json1_0ActivityTypeInfos = (output, context) => {
2742
2742
  return {
2743
- nextPageToken: smithy_client_1.expectString(output.nextPageToken),
2743
+ nextPageToken: (0, smithy_client_1.expectString)(output.nextPageToken),
2744
2744
  typeInfos: output.typeInfos !== undefined && output.typeInfos !== null
2745
2745
  ? deserializeAws_json1_0ActivityTypeInfoList(output.typeInfos, context)
2746
2746
  : undefined,
@@ -2748,22 +2748,22 @@ const deserializeAws_json1_0ActivityTypeInfos = (output, context) => {
2748
2748
  };
2749
2749
  const deserializeAws_json1_0CancelTimerFailedEventAttributes = (output, context) => {
2750
2750
  return {
2751
- cause: smithy_client_1.expectString(output.cause),
2752
- decisionTaskCompletedEventId: smithy_client_1.expectLong(output.decisionTaskCompletedEventId),
2753
- timerId: smithy_client_1.expectString(output.timerId),
2751
+ cause: (0, smithy_client_1.expectString)(output.cause),
2752
+ decisionTaskCompletedEventId: (0, smithy_client_1.expectLong)(output.decisionTaskCompletedEventId),
2753
+ timerId: (0, smithy_client_1.expectString)(output.timerId),
2754
2754
  };
2755
2755
  };
2756
2756
  const deserializeAws_json1_0CancelWorkflowExecutionFailedEventAttributes = (output, context) => {
2757
2757
  return {
2758
- cause: smithy_client_1.expectString(output.cause),
2759
- decisionTaskCompletedEventId: smithy_client_1.expectLong(output.decisionTaskCompletedEventId),
2758
+ cause: (0, smithy_client_1.expectString)(output.cause),
2759
+ decisionTaskCompletedEventId: (0, smithy_client_1.expectLong)(output.decisionTaskCompletedEventId),
2760
2760
  };
2761
2761
  };
2762
2762
  const deserializeAws_json1_0ChildWorkflowExecutionCanceledEventAttributes = (output, context) => {
2763
2763
  return {
2764
- details: smithy_client_1.expectString(output.details),
2765
- initiatedEventId: smithy_client_1.expectLong(output.initiatedEventId),
2766
- startedEventId: smithy_client_1.expectLong(output.startedEventId),
2764
+ details: (0, smithy_client_1.expectString)(output.details),
2765
+ initiatedEventId: (0, smithy_client_1.expectLong)(output.initiatedEventId),
2766
+ startedEventId: (0, smithy_client_1.expectLong)(output.startedEventId),
2767
2767
  workflowExecution: output.workflowExecution !== undefined && output.workflowExecution !== null
2768
2768
  ? deserializeAws_json1_0WorkflowExecution(output.workflowExecution, context)
2769
2769
  : undefined,
@@ -2774,9 +2774,9 @@ const deserializeAws_json1_0ChildWorkflowExecutionCanceledEventAttributes = (out
2774
2774
  };
2775
2775
  const deserializeAws_json1_0ChildWorkflowExecutionCompletedEventAttributes = (output, context) => {
2776
2776
  return {
2777
- initiatedEventId: smithy_client_1.expectLong(output.initiatedEventId),
2778
- result: smithy_client_1.expectString(output.result),
2779
- startedEventId: smithy_client_1.expectLong(output.startedEventId),
2777
+ initiatedEventId: (0, smithy_client_1.expectLong)(output.initiatedEventId),
2778
+ result: (0, smithy_client_1.expectString)(output.result),
2779
+ startedEventId: (0, smithy_client_1.expectLong)(output.startedEventId),
2780
2780
  workflowExecution: output.workflowExecution !== undefined && output.workflowExecution !== null
2781
2781
  ? deserializeAws_json1_0WorkflowExecution(output.workflowExecution, context)
2782
2782
  : undefined,
@@ -2787,10 +2787,10 @@ const deserializeAws_json1_0ChildWorkflowExecutionCompletedEventAttributes = (ou
2787
2787
  };
2788
2788
  const deserializeAws_json1_0ChildWorkflowExecutionFailedEventAttributes = (output, context) => {
2789
2789
  return {
2790
- details: smithy_client_1.expectString(output.details),
2791
- initiatedEventId: smithy_client_1.expectLong(output.initiatedEventId),
2792
- reason: smithy_client_1.expectString(output.reason),
2793
- startedEventId: smithy_client_1.expectLong(output.startedEventId),
2790
+ details: (0, smithy_client_1.expectString)(output.details),
2791
+ initiatedEventId: (0, smithy_client_1.expectLong)(output.initiatedEventId),
2792
+ reason: (0, smithy_client_1.expectString)(output.reason),
2793
+ startedEventId: (0, smithy_client_1.expectLong)(output.startedEventId),
2794
2794
  workflowExecution: output.workflowExecution !== undefined && output.workflowExecution !== null
2795
2795
  ? deserializeAws_json1_0WorkflowExecution(output.workflowExecution, context)
2796
2796
  : undefined,
@@ -2801,7 +2801,7 @@ const deserializeAws_json1_0ChildWorkflowExecutionFailedEventAttributes = (outpu
2801
2801
  };
2802
2802
  const deserializeAws_json1_0ChildWorkflowExecutionStartedEventAttributes = (output, context) => {
2803
2803
  return {
2804
- initiatedEventId: smithy_client_1.expectLong(output.initiatedEventId),
2804
+ initiatedEventId: (0, smithy_client_1.expectLong)(output.initiatedEventId),
2805
2805
  workflowExecution: output.workflowExecution !== undefined && output.workflowExecution !== null
2806
2806
  ? deserializeAws_json1_0WorkflowExecution(output.workflowExecution, context)
2807
2807
  : undefined,
@@ -2812,8 +2812,8 @@ const deserializeAws_json1_0ChildWorkflowExecutionStartedEventAttributes = (outp
2812
2812
  };
2813
2813
  const deserializeAws_json1_0ChildWorkflowExecutionTerminatedEventAttributes = (output, context) => {
2814
2814
  return {
2815
- initiatedEventId: smithy_client_1.expectLong(output.initiatedEventId),
2816
- startedEventId: smithy_client_1.expectLong(output.startedEventId),
2815
+ initiatedEventId: (0, smithy_client_1.expectLong)(output.initiatedEventId),
2816
+ startedEventId: (0, smithy_client_1.expectLong)(output.startedEventId),
2817
2817
  workflowExecution: output.workflowExecution !== undefined && output.workflowExecution !== null
2818
2818
  ? deserializeAws_json1_0WorkflowExecution(output.workflowExecution, context)
2819
2819
  : undefined,
@@ -2824,9 +2824,9 @@ const deserializeAws_json1_0ChildWorkflowExecutionTerminatedEventAttributes = (o
2824
2824
  };
2825
2825
  const deserializeAws_json1_0ChildWorkflowExecutionTimedOutEventAttributes = (output, context) => {
2826
2826
  return {
2827
- initiatedEventId: smithy_client_1.expectLong(output.initiatedEventId),
2828
- startedEventId: smithy_client_1.expectLong(output.startedEventId),
2829
- timeoutType: smithy_client_1.expectString(output.timeoutType),
2827
+ initiatedEventId: (0, smithy_client_1.expectLong)(output.initiatedEventId),
2828
+ startedEventId: (0, smithy_client_1.expectLong)(output.startedEventId),
2829
+ timeoutType: (0, smithy_client_1.expectString)(output.timeoutType),
2830
2830
  workflowExecution: output.workflowExecution !== undefined && output.workflowExecution !== null
2831
2831
  ? deserializeAws_json1_0WorkflowExecution(output.workflowExecution, context)
2832
2832
  : undefined,
@@ -2837,14 +2837,14 @@ const deserializeAws_json1_0ChildWorkflowExecutionTimedOutEventAttributes = (out
2837
2837
  };
2838
2838
  const deserializeAws_json1_0CompleteWorkflowExecutionFailedEventAttributes = (output, context) => {
2839
2839
  return {
2840
- cause: smithy_client_1.expectString(output.cause),
2841
- decisionTaskCompletedEventId: smithy_client_1.expectLong(output.decisionTaskCompletedEventId),
2840
+ cause: (0, smithy_client_1.expectString)(output.cause),
2841
+ decisionTaskCompletedEventId: (0, smithy_client_1.expectLong)(output.decisionTaskCompletedEventId),
2842
2842
  };
2843
2843
  };
2844
2844
  const deserializeAws_json1_0ContinueAsNewWorkflowExecutionFailedEventAttributes = (output, context) => {
2845
2845
  return {
2846
- cause: smithy_client_1.expectString(output.cause),
2847
- decisionTaskCompletedEventId: smithy_client_1.expectLong(output.decisionTaskCompletedEventId),
2846
+ cause: (0, smithy_client_1.expectString)(output.cause),
2847
+ decisionTaskCompletedEventId: (0, smithy_client_1.expectLong)(output.decisionTaskCompletedEventId),
2848
2848
  };
2849
2849
  };
2850
2850
  const deserializeAws_json1_0DecisionTask = (output, context) => {
@@ -2852,10 +2852,10 @@ const deserializeAws_json1_0DecisionTask = (output, context) => {
2852
2852
  events: output.events !== undefined && output.events !== null
2853
2853
  ? deserializeAws_json1_0HistoryEventList(output.events, context)
2854
2854
  : undefined,
2855
- nextPageToken: smithy_client_1.expectString(output.nextPageToken),
2856
- previousStartedEventId: smithy_client_1.expectLong(output.previousStartedEventId),
2857
- startedEventId: smithy_client_1.expectLong(output.startedEventId),
2858
- taskToken: smithy_client_1.expectString(output.taskToken),
2855
+ nextPageToken: (0, smithy_client_1.expectString)(output.nextPageToken),
2856
+ previousStartedEventId: (0, smithy_client_1.expectLong)(output.previousStartedEventId),
2857
+ startedEventId: (0, smithy_client_1.expectLong)(output.startedEventId),
2858
+ taskToken: (0, smithy_client_1.expectString)(output.taskToken),
2859
2859
  workflowExecution: output.workflowExecution !== undefined && output.workflowExecution !== null
2860
2860
  ? deserializeAws_json1_0WorkflowExecution(output.workflowExecution, context)
2861
2861
  : undefined,
@@ -2866,51 +2866,51 @@ const deserializeAws_json1_0DecisionTask = (output, context) => {
2866
2866
  };
2867
2867
  const deserializeAws_json1_0DecisionTaskCompletedEventAttributes = (output, context) => {
2868
2868
  return {
2869
- executionContext: smithy_client_1.expectString(output.executionContext),
2870
- scheduledEventId: smithy_client_1.expectLong(output.scheduledEventId),
2871
- startedEventId: smithy_client_1.expectLong(output.startedEventId),
2869
+ executionContext: (0, smithy_client_1.expectString)(output.executionContext),
2870
+ scheduledEventId: (0, smithy_client_1.expectLong)(output.scheduledEventId),
2871
+ startedEventId: (0, smithy_client_1.expectLong)(output.startedEventId),
2872
2872
  };
2873
2873
  };
2874
2874
  const deserializeAws_json1_0DecisionTaskScheduledEventAttributes = (output, context) => {
2875
2875
  return {
2876
- startToCloseTimeout: smithy_client_1.expectString(output.startToCloseTimeout),
2876
+ startToCloseTimeout: (0, smithy_client_1.expectString)(output.startToCloseTimeout),
2877
2877
  taskList: output.taskList !== undefined && output.taskList !== null
2878
2878
  ? deserializeAws_json1_0TaskList(output.taskList, context)
2879
2879
  : undefined,
2880
- taskPriority: smithy_client_1.expectString(output.taskPriority),
2880
+ taskPriority: (0, smithy_client_1.expectString)(output.taskPriority),
2881
2881
  };
2882
2882
  };
2883
2883
  const deserializeAws_json1_0DecisionTaskStartedEventAttributes = (output, context) => {
2884
2884
  return {
2885
- identity: smithy_client_1.expectString(output.identity),
2886
- scheduledEventId: smithy_client_1.expectLong(output.scheduledEventId),
2885
+ identity: (0, smithy_client_1.expectString)(output.identity),
2886
+ scheduledEventId: (0, smithy_client_1.expectLong)(output.scheduledEventId),
2887
2887
  };
2888
2888
  };
2889
2889
  const deserializeAws_json1_0DecisionTaskTimedOutEventAttributes = (output, context) => {
2890
2890
  return {
2891
- scheduledEventId: smithy_client_1.expectLong(output.scheduledEventId),
2892
- startedEventId: smithy_client_1.expectLong(output.startedEventId),
2893
- timeoutType: smithy_client_1.expectString(output.timeoutType),
2891
+ scheduledEventId: (0, smithy_client_1.expectLong)(output.scheduledEventId),
2892
+ startedEventId: (0, smithy_client_1.expectLong)(output.startedEventId),
2893
+ timeoutType: (0, smithy_client_1.expectString)(output.timeoutType),
2894
2894
  };
2895
2895
  };
2896
2896
  const deserializeAws_json1_0DefaultUndefinedFault = (output, context) => {
2897
2897
  return {
2898
- message: smithy_client_1.expectString(output.message),
2898
+ message: (0, smithy_client_1.expectString)(output.message),
2899
2899
  };
2900
2900
  };
2901
2901
  const deserializeAws_json1_0DomainAlreadyExistsFault = (output, context) => {
2902
2902
  return {
2903
- message: smithy_client_1.expectString(output.message),
2903
+ message: (0, smithy_client_1.expectString)(output.message),
2904
2904
  };
2905
2905
  };
2906
2906
  const deserializeAws_json1_0DomainConfiguration = (output, context) => {
2907
2907
  return {
2908
- workflowExecutionRetentionPeriodInDays: smithy_client_1.expectString(output.workflowExecutionRetentionPeriodInDays),
2908
+ workflowExecutionRetentionPeriodInDays: (0, smithy_client_1.expectString)(output.workflowExecutionRetentionPeriodInDays),
2909
2909
  };
2910
2910
  };
2911
2911
  const deserializeAws_json1_0DomainDeprecatedFault = (output, context) => {
2912
2912
  return {
2913
- message: smithy_client_1.expectString(output.message),
2913
+ message: (0, smithy_client_1.expectString)(output.message),
2914
2914
  };
2915
2915
  };
2916
2916
  const deserializeAws_json1_0DomainDetail = (output, context) => {
@@ -2925,10 +2925,10 @@ const deserializeAws_json1_0DomainDetail = (output, context) => {
2925
2925
  };
2926
2926
  const deserializeAws_json1_0DomainInfo = (output, context) => {
2927
2927
  return {
2928
- arn: smithy_client_1.expectString(output.arn),
2929
- description: smithy_client_1.expectString(output.description),
2930
- name: smithy_client_1.expectString(output.name),
2931
- status: smithy_client_1.expectString(output.status),
2928
+ arn: (0, smithy_client_1.expectString)(output.arn),
2929
+ description: (0, smithy_client_1.expectString)(output.description),
2930
+ name: (0, smithy_client_1.expectString)(output.name),
2931
+ status: (0, smithy_client_1.expectString)(output.status),
2932
2932
  };
2933
2933
  };
2934
2934
  const deserializeAws_json1_0DomainInfoList = (output, context) => {
@@ -2947,12 +2947,12 @@ const deserializeAws_json1_0DomainInfos = (output, context) => {
2947
2947
  domainInfos: output.domainInfos !== undefined && output.domainInfos !== null
2948
2948
  ? deserializeAws_json1_0DomainInfoList(output.domainInfos, context)
2949
2949
  : undefined,
2950
- nextPageToken: smithy_client_1.expectString(output.nextPageToken),
2950
+ nextPageToken: (0, smithy_client_1.expectString)(output.nextPageToken),
2951
2951
  };
2952
2952
  };
2953
2953
  const deserializeAws_json1_0ExternalWorkflowExecutionCancelRequestedEventAttributes = (output, context) => {
2954
2954
  return {
2955
- initiatedEventId: smithy_client_1.expectLong(output.initiatedEventId),
2955
+ initiatedEventId: (0, smithy_client_1.expectLong)(output.initiatedEventId),
2956
2956
  workflowExecution: output.workflowExecution !== undefined && output.workflowExecution !== null
2957
2957
  ? deserializeAws_json1_0WorkflowExecution(output.workflowExecution, context)
2958
2958
  : undefined,
@@ -2960,7 +2960,7 @@ const deserializeAws_json1_0ExternalWorkflowExecutionCancelRequestedEventAttribu
2960
2960
  };
2961
2961
  const deserializeAws_json1_0ExternalWorkflowExecutionSignaledEventAttributes = (output, context) => {
2962
2962
  return {
2963
- initiatedEventId: smithy_client_1.expectLong(output.initiatedEventId),
2963
+ initiatedEventId: (0, smithy_client_1.expectLong)(output.initiatedEventId),
2964
2964
  workflowExecution: output.workflowExecution !== undefined && output.workflowExecution !== null
2965
2965
  ? deserializeAws_json1_0WorkflowExecution(output.workflowExecution, context)
2966
2966
  : undefined,
@@ -2968,8 +2968,8 @@ const deserializeAws_json1_0ExternalWorkflowExecutionSignaledEventAttributes = (
2968
2968
  };
2969
2969
  const deserializeAws_json1_0FailWorkflowExecutionFailedEventAttributes = (output, context) => {
2970
2970
  return {
2971
- cause: smithy_client_1.expectString(output.cause),
2972
- decisionTaskCompletedEventId: smithy_client_1.expectLong(output.decisionTaskCompletedEventId),
2971
+ cause: (0, smithy_client_1.expectString)(output.cause),
2972
+ decisionTaskCompletedEventId: (0, smithy_client_1.expectLong)(output.decisionTaskCompletedEventId),
2973
2973
  };
2974
2974
  };
2975
2975
  const deserializeAws_json1_0History = (output, context) => {
@@ -2977,7 +2977,7 @@ const deserializeAws_json1_0History = (output, context) => {
2977
2977
  events: output.events !== undefined && output.events !== null
2978
2978
  ? deserializeAws_json1_0HistoryEventList(output.events, context)
2979
2979
  : undefined,
2980
- nextPageToken: smithy_client_1.expectString(output.nextPageToken),
2980
+ nextPageToken: (0, smithy_client_1.expectString)(output.nextPageToken),
2981
2981
  };
2982
2982
  };
2983
2983
  const deserializeAws_json1_0HistoryEvent = (output, context) => {
@@ -3055,11 +3055,11 @@ const deserializeAws_json1_0HistoryEvent = (output, context) => {
3055
3055
  decisionTaskTimedOutEventAttributes: output.decisionTaskTimedOutEventAttributes !== undefined && output.decisionTaskTimedOutEventAttributes !== null
3056
3056
  ? deserializeAws_json1_0DecisionTaskTimedOutEventAttributes(output.decisionTaskTimedOutEventAttributes, context)
3057
3057
  : undefined,
3058
- eventId: smithy_client_1.expectLong(output.eventId),
3058
+ eventId: (0, smithy_client_1.expectLong)(output.eventId),
3059
3059
  eventTimestamp: output.eventTimestamp !== undefined && output.eventTimestamp !== null
3060
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.eventTimestamp)))
3060
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.eventTimestamp)))
3061
3061
  : undefined,
3062
- eventType: smithy_client_1.expectString(output.eventType),
3062
+ eventType: (0, smithy_client_1.expectString)(output.eventType),
3063
3063
  externalWorkflowExecutionCancelRequestedEventAttributes: output.externalWorkflowExecutionCancelRequestedEventAttributes !== undefined &&
3064
3064
  output.externalWorkflowExecutionCancelRequestedEventAttributes !== null
3065
3065
  ? deserializeAws_json1_0ExternalWorkflowExecutionCancelRequestedEventAttributes(output.externalWorkflowExecutionCancelRequestedEventAttributes, context)
@@ -3199,44 +3199,44 @@ const deserializeAws_json1_0HistoryEventList = (output, context) => {
3199
3199
  };
3200
3200
  const deserializeAws_json1_0LambdaFunctionCompletedEventAttributes = (output, context) => {
3201
3201
  return {
3202
- result: smithy_client_1.expectString(output.result),
3203
- scheduledEventId: smithy_client_1.expectLong(output.scheduledEventId),
3204
- startedEventId: smithy_client_1.expectLong(output.startedEventId),
3202
+ result: (0, smithy_client_1.expectString)(output.result),
3203
+ scheduledEventId: (0, smithy_client_1.expectLong)(output.scheduledEventId),
3204
+ startedEventId: (0, smithy_client_1.expectLong)(output.startedEventId),
3205
3205
  };
3206
3206
  };
3207
3207
  const deserializeAws_json1_0LambdaFunctionFailedEventAttributes = (output, context) => {
3208
3208
  return {
3209
- details: smithy_client_1.expectString(output.details),
3210
- reason: smithy_client_1.expectString(output.reason),
3211
- scheduledEventId: smithy_client_1.expectLong(output.scheduledEventId),
3212
- startedEventId: smithy_client_1.expectLong(output.startedEventId),
3209
+ details: (0, smithy_client_1.expectString)(output.details),
3210
+ reason: (0, smithy_client_1.expectString)(output.reason),
3211
+ scheduledEventId: (0, smithy_client_1.expectLong)(output.scheduledEventId),
3212
+ startedEventId: (0, smithy_client_1.expectLong)(output.startedEventId),
3213
3213
  };
3214
3214
  };
3215
3215
  const deserializeAws_json1_0LambdaFunctionScheduledEventAttributes = (output, context) => {
3216
3216
  return {
3217
- control: smithy_client_1.expectString(output.control),
3218
- decisionTaskCompletedEventId: smithy_client_1.expectLong(output.decisionTaskCompletedEventId),
3219
- id: smithy_client_1.expectString(output.id),
3220
- input: smithy_client_1.expectString(output.input),
3221
- name: smithy_client_1.expectString(output.name),
3222
- startToCloseTimeout: smithy_client_1.expectString(output.startToCloseTimeout),
3217
+ control: (0, smithy_client_1.expectString)(output.control),
3218
+ decisionTaskCompletedEventId: (0, smithy_client_1.expectLong)(output.decisionTaskCompletedEventId),
3219
+ id: (0, smithy_client_1.expectString)(output.id),
3220
+ input: (0, smithy_client_1.expectString)(output.input),
3221
+ name: (0, smithy_client_1.expectString)(output.name),
3222
+ startToCloseTimeout: (0, smithy_client_1.expectString)(output.startToCloseTimeout),
3223
3223
  };
3224
3224
  };
3225
3225
  const deserializeAws_json1_0LambdaFunctionStartedEventAttributes = (output, context) => {
3226
3226
  return {
3227
- scheduledEventId: smithy_client_1.expectLong(output.scheduledEventId),
3227
+ scheduledEventId: (0, smithy_client_1.expectLong)(output.scheduledEventId),
3228
3228
  };
3229
3229
  };
3230
3230
  const deserializeAws_json1_0LambdaFunctionTimedOutEventAttributes = (output, context) => {
3231
3231
  return {
3232
- scheduledEventId: smithy_client_1.expectLong(output.scheduledEventId),
3233
- startedEventId: smithy_client_1.expectLong(output.startedEventId),
3234
- timeoutType: smithy_client_1.expectString(output.timeoutType),
3232
+ scheduledEventId: (0, smithy_client_1.expectLong)(output.scheduledEventId),
3233
+ startedEventId: (0, smithy_client_1.expectLong)(output.startedEventId),
3234
+ timeoutType: (0, smithy_client_1.expectString)(output.timeoutType),
3235
3235
  };
3236
3236
  };
3237
3237
  const deserializeAws_json1_0LimitExceededFault = (output, context) => {
3238
3238
  return {
3239
- message: smithy_client_1.expectString(output.message),
3239
+ message: (0, smithy_client_1.expectString)(output.message),
3240
3240
  };
3241
3241
  };
3242
3242
  const deserializeAws_json1_0ListTagsForResourceOutput = (output, context) => {
@@ -3248,58 +3248,58 @@ const deserializeAws_json1_0ListTagsForResourceOutput = (output, context) => {
3248
3248
  };
3249
3249
  const deserializeAws_json1_0MarkerRecordedEventAttributes = (output, context) => {
3250
3250
  return {
3251
- decisionTaskCompletedEventId: smithy_client_1.expectLong(output.decisionTaskCompletedEventId),
3252
- details: smithy_client_1.expectString(output.details),
3253
- markerName: smithy_client_1.expectString(output.markerName),
3251
+ decisionTaskCompletedEventId: (0, smithy_client_1.expectLong)(output.decisionTaskCompletedEventId),
3252
+ details: (0, smithy_client_1.expectString)(output.details),
3253
+ markerName: (0, smithy_client_1.expectString)(output.markerName),
3254
3254
  };
3255
3255
  };
3256
3256
  const deserializeAws_json1_0OperationNotPermittedFault = (output, context) => {
3257
3257
  return {
3258
- message: smithy_client_1.expectString(output.message),
3258
+ message: (0, smithy_client_1.expectString)(output.message),
3259
3259
  };
3260
3260
  };
3261
3261
  const deserializeAws_json1_0PendingTaskCount = (output, context) => {
3262
3262
  return {
3263
- count: smithy_client_1.expectInt32(output.count),
3264
- truncated: smithy_client_1.expectBoolean(output.truncated),
3263
+ count: (0, smithy_client_1.expectInt32)(output.count),
3264
+ truncated: (0, smithy_client_1.expectBoolean)(output.truncated),
3265
3265
  };
3266
3266
  };
3267
3267
  const deserializeAws_json1_0RecordMarkerFailedEventAttributes = (output, context) => {
3268
3268
  return {
3269
- cause: smithy_client_1.expectString(output.cause),
3270
- decisionTaskCompletedEventId: smithy_client_1.expectLong(output.decisionTaskCompletedEventId),
3271
- markerName: smithy_client_1.expectString(output.markerName),
3269
+ cause: (0, smithy_client_1.expectString)(output.cause),
3270
+ decisionTaskCompletedEventId: (0, smithy_client_1.expectLong)(output.decisionTaskCompletedEventId),
3271
+ markerName: (0, smithy_client_1.expectString)(output.markerName),
3272
3272
  };
3273
3273
  };
3274
3274
  const deserializeAws_json1_0RequestCancelActivityTaskFailedEventAttributes = (output, context) => {
3275
3275
  return {
3276
- activityId: smithy_client_1.expectString(output.activityId),
3277
- cause: smithy_client_1.expectString(output.cause),
3278
- decisionTaskCompletedEventId: smithy_client_1.expectLong(output.decisionTaskCompletedEventId),
3276
+ activityId: (0, smithy_client_1.expectString)(output.activityId),
3277
+ cause: (0, smithy_client_1.expectString)(output.cause),
3278
+ decisionTaskCompletedEventId: (0, smithy_client_1.expectLong)(output.decisionTaskCompletedEventId),
3279
3279
  };
3280
3280
  };
3281
3281
  const deserializeAws_json1_0RequestCancelExternalWorkflowExecutionFailedEventAttributes = (output, context) => {
3282
3282
  return {
3283
- cause: smithy_client_1.expectString(output.cause),
3284
- control: smithy_client_1.expectString(output.control),
3285
- decisionTaskCompletedEventId: smithy_client_1.expectLong(output.decisionTaskCompletedEventId),
3286
- initiatedEventId: smithy_client_1.expectLong(output.initiatedEventId),
3287
- runId: smithy_client_1.expectString(output.runId),
3288
- workflowId: smithy_client_1.expectString(output.workflowId),
3283
+ cause: (0, smithy_client_1.expectString)(output.cause),
3284
+ control: (0, smithy_client_1.expectString)(output.control),
3285
+ decisionTaskCompletedEventId: (0, smithy_client_1.expectLong)(output.decisionTaskCompletedEventId),
3286
+ initiatedEventId: (0, smithy_client_1.expectLong)(output.initiatedEventId),
3287
+ runId: (0, smithy_client_1.expectString)(output.runId),
3288
+ workflowId: (0, smithy_client_1.expectString)(output.workflowId),
3289
3289
  };
3290
3290
  };
3291
3291
  const deserializeAws_json1_0RequestCancelExternalWorkflowExecutionInitiatedEventAttributes = (output, context) => {
3292
3292
  return {
3293
- control: smithy_client_1.expectString(output.control),
3294
- decisionTaskCompletedEventId: smithy_client_1.expectLong(output.decisionTaskCompletedEventId),
3295
- runId: smithy_client_1.expectString(output.runId),
3296
- workflowId: smithy_client_1.expectString(output.workflowId),
3293
+ control: (0, smithy_client_1.expectString)(output.control),
3294
+ decisionTaskCompletedEventId: (0, smithy_client_1.expectLong)(output.decisionTaskCompletedEventId),
3295
+ runId: (0, smithy_client_1.expectString)(output.runId),
3296
+ workflowId: (0, smithy_client_1.expectString)(output.workflowId),
3297
3297
  };
3298
3298
  };
3299
3299
  const deserializeAws_json1_0ResourceTag = (output, context) => {
3300
3300
  return {
3301
- key: smithy_client_1.expectString(output.key),
3302
- value: smithy_client_1.expectString(output.value),
3301
+ key: (0, smithy_client_1.expectString)(output.key),
3302
+ value: (0, smithy_client_1.expectString)(output.value),
3303
3303
  };
3304
3304
  };
3305
3305
  const deserializeAws_json1_0ResourceTagList = (output, context) => {
@@ -3315,54 +3315,54 @@ const deserializeAws_json1_0ResourceTagList = (output, context) => {
3315
3315
  };
3316
3316
  const deserializeAws_json1_0Run = (output, context) => {
3317
3317
  return {
3318
- runId: smithy_client_1.expectString(output.runId),
3318
+ runId: (0, smithy_client_1.expectString)(output.runId),
3319
3319
  };
3320
3320
  };
3321
3321
  const deserializeAws_json1_0ScheduleActivityTaskFailedEventAttributes = (output, context) => {
3322
3322
  return {
3323
- activityId: smithy_client_1.expectString(output.activityId),
3323
+ activityId: (0, smithy_client_1.expectString)(output.activityId),
3324
3324
  activityType: output.activityType !== undefined && output.activityType !== null
3325
3325
  ? deserializeAws_json1_0ActivityType(output.activityType, context)
3326
3326
  : undefined,
3327
- cause: smithy_client_1.expectString(output.cause),
3328
- decisionTaskCompletedEventId: smithy_client_1.expectLong(output.decisionTaskCompletedEventId),
3327
+ cause: (0, smithy_client_1.expectString)(output.cause),
3328
+ decisionTaskCompletedEventId: (0, smithy_client_1.expectLong)(output.decisionTaskCompletedEventId),
3329
3329
  };
3330
3330
  };
3331
3331
  const deserializeAws_json1_0ScheduleLambdaFunctionFailedEventAttributes = (output, context) => {
3332
3332
  return {
3333
- cause: smithy_client_1.expectString(output.cause),
3334
- decisionTaskCompletedEventId: smithy_client_1.expectLong(output.decisionTaskCompletedEventId),
3335
- id: smithy_client_1.expectString(output.id),
3336
- name: smithy_client_1.expectString(output.name),
3333
+ cause: (0, smithy_client_1.expectString)(output.cause),
3334
+ decisionTaskCompletedEventId: (0, smithy_client_1.expectLong)(output.decisionTaskCompletedEventId),
3335
+ id: (0, smithy_client_1.expectString)(output.id),
3336
+ name: (0, smithy_client_1.expectString)(output.name),
3337
3337
  };
3338
3338
  };
3339
3339
  const deserializeAws_json1_0SignalExternalWorkflowExecutionFailedEventAttributes = (output, context) => {
3340
3340
  return {
3341
- cause: smithy_client_1.expectString(output.cause),
3342
- control: smithy_client_1.expectString(output.control),
3343
- decisionTaskCompletedEventId: smithy_client_1.expectLong(output.decisionTaskCompletedEventId),
3344
- initiatedEventId: smithy_client_1.expectLong(output.initiatedEventId),
3345
- runId: smithy_client_1.expectString(output.runId),
3346
- workflowId: smithy_client_1.expectString(output.workflowId),
3341
+ cause: (0, smithy_client_1.expectString)(output.cause),
3342
+ control: (0, smithy_client_1.expectString)(output.control),
3343
+ decisionTaskCompletedEventId: (0, smithy_client_1.expectLong)(output.decisionTaskCompletedEventId),
3344
+ initiatedEventId: (0, smithy_client_1.expectLong)(output.initiatedEventId),
3345
+ runId: (0, smithy_client_1.expectString)(output.runId),
3346
+ workflowId: (0, smithy_client_1.expectString)(output.workflowId),
3347
3347
  };
3348
3348
  };
3349
3349
  const deserializeAws_json1_0SignalExternalWorkflowExecutionInitiatedEventAttributes = (output, context) => {
3350
3350
  return {
3351
- control: smithy_client_1.expectString(output.control),
3352
- decisionTaskCompletedEventId: smithy_client_1.expectLong(output.decisionTaskCompletedEventId),
3353
- input: smithy_client_1.expectString(output.input),
3354
- runId: smithy_client_1.expectString(output.runId),
3355
- signalName: smithy_client_1.expectString(output.signalName),
3356
- workflowId: smithy_client_1.expectString(output.workflowId),
3351
+ control: (0, smithy_client_1.expectString)(output.control),
3352
+ decisionTaskCompletedEventId: (0, smithy_client_1.expectLong)(output.decisionTaskCompletedEventId),
3353
+ input: (0, smithy_client_1.expectString)(output.input),
3354
+ runId: (0, smithy_client_1.expectString)(output.runId),
3355
+ signalName: (0, smithy_client_1.expectString)(output.signalName),
3356
+ workflowId: (0, smithy_client_1.expectString)(output.workflowId),
3357
3357
  };
3358
3358
  };
3359
3359
  const deserializeAws_json1_0StartChildWorkflowExecutionFailedEventAttributes = (output, context) => {
3360
3360
  return {
3361
- cause: smithy_client_1.expectString(output.cause),
3362
- control: smithy_client_1.expectString(output.control),
3363
- decisionTaskCompletedEventId: smithy_client_1.expectLong(output.decisionTaskCompletedEventId),
3364
- initiatedEventId: smithy_client_1.expectLong(output.initiatedEventId),
3365
- workflowId: smithy_client_1.expectString(output.workflowId),
3361
+ cause: (0, smithy_client_1.expectString)(output.cause),
3362
+ control: (0, smithy_client_1.expectString)(output.control),
3363
+ decisionTaskCompletedEventId: (0, smithy_client_1.expectLong)(output.decisionTaskCompletedEventId),
3364
+ initiatedEventId: (0, smithy_client_1.expectLong)(output.initiatedEventId),
3365
+ workflowId: (0, smithy_client_1.expectString)(output.workflowId),
3366
3366
  workflowType: output.workflowType !== undefined && output.workflowType !== null
3367
3367
  ? deserializeAws_json1_0WorkflowType(output.workflowType, context)
3368
3368
  : undefined,
@@ -3370,21 +3370,21 @@ const deserializeAws_json1_0StartChildWorkflowExecutionFailedEventAttributes = (
3370
3370
  };
3371
3371
  const deserializeAws_json1_0StartChildWorkflowExecutionInitiatedEventAttributes = (output, context) => {
3372
3372
  return {
3373
- childPolicy: smithy_client_1.expectString(output.childPolicy),
3374
- control: smithy_client_1.expectString(output.control),
3375
- decisionTaskCompletedEventId: smithy_client_1.expectLong(output.decisionTaskCompletedEventId),
3376
- executionStartToCloseTimeout: smithy_client_1.expectString(output.executionStartToCloseTimeout),
3377
- input: smithy_client_1.expectString(output.input),
3378
- lambdaRole: smithy_client_1.expectString(output.lambdaRole),
3373
+ childPolicy: (0, smithy_client_1.expectString)(output.childPolicy),
3374
+ control: (0, smithy_client_1.expectString)(output.control),
3375
+ decisionTaskCompletedEventId: (0, smithy_client_1.expectLong)(output.decisionTaskCompletedEventId),
3376
+ executionStartToCloseTimeout: (0, smithy_client_1.expectString)(output.executionStartToCloseTimeout),
3377
+ input: (0, smithy_client_1.expectString)(output.input),
3378
+ lambdaRole: (0, smithy_client_1.expectString)(output.lambdaRole),
3379
3379
  tagList: output.tagList !== undefined && output.tagList !== null
3380
3380
  ? deserializeAws_json1_0TagList(output.tagList, context)
3381
3381
  : undefined,
3382
3382
  taskList: output.taskList !== undefined && output.taskList !== null
3383
3383
  ? deserializeAws_json1_0TaskList(output.taskList, context)
3384
3384
  : undefined,
3385
- taskPriority: smithy_client_1.expectString(output.taskPriority),
3386
- taskStartToCloseTimeout: smithy_client_1.expectString(output.taskStartToCloseTimeout),
3387
- workflowId: smithy_client_1.expectString(output.workflowId),
3385
+ taskPriority: (0, smithy_client_1.expectString)(output.taskPriority),
3386
+ taskStartToCloseTimeout: (0, smithy_client_1.expectString)(output.taskStartToCloseTimeout),
3387
+ workflowId: (0, smithy_client_1.expectString)(output.workflowId),
3388
3388
  workflowType: output.workflowType !== undefined && output.workflowType !== null
3389
3389
  ? deserializeAws_json1_0WorkflowType(output.workflowType, context)
3390
3390
  : undefined,
@@ -3392,16 +3392,16 @@ const deserializeAws_json1_0StartChildWorkflowExecutionInitiatedEventAttributes
3392
3392
  };
3393
3393
  const deserializeAws_json1_0StartLambdaFunctionFailedEventAttributes = (output, context) => {
3394
3394
  return {
3395
- cause: smithy_client_1.expectString(output.cause),
3396
- message: smithy_client_1.expectString(output.message),
3397
- scheduledEventId: smithy_client_1.expectLong(output.scheduledEventId),
3395
+ cause: (0, smithy_client_1.expectString)(output.cause),
3396
+ message: (0, smithy_client_1.expectString)(output.message),
3397
+ scheduledEventId: (0, smithy_client_1.expectLong)(output.scheduledEventId),
3398
3398
  };
3399
3399
  };
3400
3400
  const deserializeAws_json1_0StartTimerFailedEventAttributes = (output, context) => {
3401
3401
  return {
3402
- cause: smithy_client_1.expectString(output.cause),
3403
- decisionTaskCompletedEventId: smithy_client_1.expectLong(output.decisionTaskCompletedEventId),
3404
- timerId: smithy_client_1.expectString(output.timerId),
3402
+ cause: (0, smithy_client_1.expectString)(output.cause),
3403
+ decisionTaskCompletedEventId: (0, smithy_client_1.expectLong)(output.decisionTaskCompletedEventId),
3404
+ timerId: (0, smithy_client_1.expectString)(output.timerId),
3405
3405
  };
3406
3406
  };
3407
3407
  const deserializeAws_json1_0TagList = (output, context) => {
@@ -3411,77 +3411,77 @@ const deserializeAws_json1_0TagList = (output, context) => {
3411
3411
  if (entry === null) {
3412
3412
  return null;
3413
3413
  }
3414
- return smithy_client_1.expectString(entry);
3414
+ return (0, smithy_client_1.expectString)(entry);
3415
3415
  });
3416
3416
  return retVal;
3417
3417
  };
3418
3418
  const deserializeAws_json1_0TaskList = (output, context) => {
3419
3419
  return {
3420
- name: smithy_client_1.expectString(output.name),
3420
+ name: (0, smithy_client_1.expectString)(output.name),
3421
3421
  };
3422
3422
  };
3423
3423
  const deserializeAws_json1_0TimerCanceledEventAttributes = (output, context) => {
3424
3424
  return {
3425
- decisionTaskCompletedEventId: smithy_client_1.expectLong(output.decisionTaskCompletedEventId),
3426
- startedEventId: smithy_client_1.expectLong(output.startedEventId),
3427
- timerId: smithy_client_1.expectString(output.timerId),
3425
+ decisionTaskCompletedEventId: (0, smithy_client_1.expectLong)(output.decisionTaskCompletedEventId),
3426
+ startedEventId: (0, smithy_client_1.expectLong)(output.startedEventId),
3427
+ timerId: (0, smithy_client_1.expectString)(output.timerId),
3428
3428
  };
3429
3429
  };
3430
3430
  const deserializeAws_json1_0TimerFiredEventAttributes = (output, context) => {
3431
3431
  return {
3432
- startedEventId: smithy_client_1.expectLong(output.startedEventId),
3433
- timerId: smithy_client_1.expectString(output.timerId),
3432
+ startedEventId: (0, smithy_client_1.expectLong)(output.startedEventId),
3433
+ timerId: (0, smithy_client_1.expectString)(output.timerId),
3434
3434
  };
3435
3435
  };
3436
3436
  const deserializeAws_json1_0TimerStartedEventAttributes = (output, context) => {
3437
3437
  return {
3438
- control: smithy_client_1.expectString(output.control),
3439
- decisionTaskCompletedEventId: smithy_client_1.expectLong(output.decisionTaskCompletedEventId),
3440
- startToFireTimeout: smithy_client_1.expectString(output.startToFireTimeout),
3441
- timerId: smithy_client_1.expectString(output.timerId),
3438
+ control: (0, smithy_client_1.expectString)(output.control),
3439
+ decisionTaskCompletedEventId: (0, smithy_client_1.expectLong)(output.decisionTaskCompletedEventId),
3440
+ startToFireTimeout: (0, smithy_client_1.expectString)(output.startToFireTimeout),
3441
+ timerId: (0, smithy_client_1.expectString)(output.timerId),
3442
3442
  };
3443
3443
  };
3444
3444
  const deserializeAws_json1_0TooManyTagsFault = (output, context) => {
3445
3445
  return {
3446
- message: smithy_client_1.expectString(output.message),
3446
+ message: (0, smithy_client_1.expectString)(output.message),
3447
3447
  };
3448
3448
  };
3449
3449
  const deserializeAws_json1_0TypeAlreadyExistsFault = (output, context) => {
3450
3450
  return {
3451
- message: smithy_client_1.expectString(output.message),
3451
+ message: (0, smithy_client_1.expectString)(output.message),
3452
3452
  };
3453
3453
  };
3454
3454
  const deserializeAws_json1_0TypeDeprecatedFault = (output, context) => {
3455
3455
  return {
3456
- message: smithy_client_1.expectString(output.message),
3456
+ message: (0, smithy_client_1.expectString)(output.message),
3457
3457
  };
3458
3458
  };
3459
3459
  const deserializeAws_json1_0UnknownResourceFault = (output, context) => {
3460
3460
  return {
3461
- message: smithy_client_1.expectString(output.message),
3461
+ message: (0, smithy_client_1.expectString)(output.message),
3462
3462
  };
3463
3463
  };
3464
3464
  const deserializeAws_json1_0WorkflowExecution = (output, context) => {
3465
3465
  return {
3466
- runId: smithy_client_1.expectString(output.runId),
3467
- workflowId: smithy_client_1.expectString(output.workflowId),
3466
+ runId: (0, smithy_client_1.expectString)(output.runId),
3467
+ workflowId: (0, smithy_client_1.expectString)(output.workflowId),
3468
3468
  };
3469
3469
  };
3470
3470
  const deserializeAws_json1_0WorkflowExecutionAlreadyStartedFault = (output, context) => {
3471
3471
  return {
3472
- message: smithy_client_1.expectString(output.message),
3472
+ message: (0, smithy_client_1.expectString)(output.message),
3473
3473
  };
3474
3474
  };
3475
3475
  const deserializeAws_json1_0WorkflowExecutionCanceledEventAttributes = (output, context) => {
3476
3476
  return {
3477
- decisionTaskCompletedEventId: smithy_client_1.expectLong(output.decisionTaskCompletedEventId),
3478
- details: smithy_client_1.expectString(output.details),
3477
+ decisionTaskCompletedEventId: (0, smithy_client_1.expectLong)(output.decisionTaskCompletedEventId),
3478
+ details: (0, smithy_client_1.expectString)(output.details),
3479
3479
  };
3480
3480
  };
3481
3481
  const deserializeAws_json1_0WorkflowExecutionCancelRequestedEventAttributes = (output, context) => {
3482
3482
  return {
3483
- cause: smithy_client_1.expectString(output.cause),
3484
- externalInitiatedEventId: smithy_client_1.expectLong(output.externalInitiatedEventId),
3483
+ cause: (0, smithy_client_1.expectString)(output.cause),
3484
+ externalInitiatedEventId: (0, smithy_client_1.expectLong)(output.externalInitiatedEventId),
3485
3485
  externalWorkflowExecution: output.externalWorkflowExecution !== undefined && output.externalWorkflowExecution !== null
3486
3486
  ? deserializeAws_json1_0WorkflowExecution(output.externalWorkflowExecution, context)
3487
3487
  : undefined,
@@ -3489,38 +3489,38 @@ const deserializeAws_json1_0WorkflowExecutionCancelRequestedEventAttributes = (o
3489
3489
  };
3490
3490
  const deserializeAws_json1_0WorkflowExecutionCompletedEventAttributes = (output, context) => {
3491
3491
  return {
3492
- decisionTaskCompletedEventId: smithy_client_1.expectLong(output.decisionTaskCompletedEventId),
3493
- result: smithy_client_1.expectString(output.result),
3492
+ decisionTaskCompletedEventId: (0, smithy_client_1.expectLong)(output.decisionTaskCompletedEventId),
3493
+ result: (0, smithy_client_1.expectString)(output.result),
3494
3494
  };
3495
3495
  };
3496
3496
  const deserializeAws_json1_0WorkflowExecutionConfiguration = (output, context) => {
3497
3497
  return {
3498
- childPolicy: smithy_client_1.expectString(output.childPolicy),
3499
- executionStartToCloseTimeout: smithy_client_1.expectString(output.executionStartToCloseTimeout),
3500
- lambdaRole: smithy_client_1.expectString(output.lambdaRole),
3498
+ childPolicy: (0, smithy_client_1.expectString)(output.childPolicy),
3499
+ executionStartToCloseTimeout: (0, smithy_client_1.expectString)(output.executionStartToCloseTimeout),
3500
+ lambdaRole: (0, smithy_client_1.expectString)(output.lambdaRole),
3501
3501
  taskList: output.taskList !== undefined && output.taskList !== null
3502
3502
  ? deserializeAws_json1_0TaskList(output.taskList, context)
3503
3503
  : undefined,
3504
- taskPriority: smithy_client_1.expectString(output.taskPriority),
3505
- taskStartToCloseTimeout: smithy_client_1.expectString(output.taskStartToCloseTimeout),
3504
+ taskPriority: (0, smithy_client_1.expectString)(output.taskPriority),
3505
+ taskStartToCloseTimeout: (0, smithy_client_1.expectString)(output.taskStartToCloseTimeout),
3506
3506
  };
3507
3507
  };
3508
3508
  const deserializeAws_json1_0WorkflowExecutionContinuedAsNewEventAttributes = (output, context) => {
3509
3509
  return {
3510
- childPolicy: smithy_client_1.expectString(output.childPolicy),
3511
- decisionTaskCompletedEventId: smithy_client_1.expectLong(output.decisionTaskCompletedEventId),
3512
- executionStartToCloseTimeout: smithy_client_1.expectString(output.executionStartToCloseTimeout),
3513
- input: smithy_client_1.expectString(output.input),
3514
- lambdaRole: smithy_client_1.expectString(output.lambdaRole),
3515
- newExecutionRunId: smithy_client_1.expectString(output.newExecutionRunId),
3510
+ childPolicy: (0, smithy_client_1.expectString)(output.childPolicy),
3511
+ decisionTaskCompletedEventId: (0, smithy_client_1.expectLong)(output.decisionTaskCompletedEventId),
3512
+ executionStartToCloseTimeout: (0, smithy_client_1.expectString)(output.executionStartToCloseTimeout),
3513
+ input: (0, smithy_client_1.expectString)(output.input),
3514
+ lambdaRole: (0, smithy_client_1.expectString)(output.lambdaRole),
3515
+ newExecutionRunId: (0, smithy_client_1.expectString)(output.newExecutionRunId),
3516
3516
  tagList: output.tagList !== undefined && output.tagList !== null
3517
3517
  ? deserializeAws_json1_0TagList(output.tagList, context)
3518
3518
  : undefined,
3519
3519
  taskList: output.taskList !== undefined && output.taskList !== null
3520
3520
  ? deserializeAws_json1_0TaskList(output.taskList, context)
3521
3521
  : undefined,
3522
- taskPriority: smithy_client_1.expectString(output.taskPriority),
3523
- taskStartToCloseTimeout: smithy_client_1.expectString(output.taskStartToCloseTimeout),
3522
+ taskPriority: (0, smithy_client_1.expectString)(output.taskPriority),
3523
+ taskStartToCloseTimeout: (0, smithy_client_1.expectString)(output.taskStartToCloseTimeout),
3524
3524
  workflowType: output.workflowType !== undefined && output.workflowType !== null
3525
3525
  ? deserializeAws_json1_0WorkflowType(output.workflowType, context)
3526
3526
  : undefined,
@@ -3528,8 +3528,8 @@ const deserializeAws_json1_0WorkflowExecutionContinuedAsNewEventAttributes = (ou
3528
3528
  };
3529
3529
  const deserializeAws_json1_0WorkflowExecutionCount = (output, context) => {
3530
3530
  return {
3531
- count: smithy_client_1.expectInt32(output.count),
3532
- truncated: smithy_client_1.expectBoolean(output.truncated),
3531
+ count: (0, smithy_client_1.expectInt32)(output.count),
3532
+ truncated: (0, smithy_client_1.expectBoolean)(output.truncated),
3533
3533
  };
3534
3534
  };
3535
3535
  const deserializeAws_json1_0WorkflowExecutionDetail = (output, context) => {
@@ -3541,9 +3541,9 @@ const deserializeAws_json1_0WorkflowExecutionDetail = (output, context) => {
3541
3541
  ? deserializeAws_json1_0WorkflowExecutionInfo(output.executionInfo, context)
3542
3542
  : undefined,
3543
3543
  latestActivityTaskTimestamp: output.latestActivityTaskTimestamp !== undefined && output.latestActivityTaskTimestamp !== null
3544
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.latestActivityTaskTimestamp)))
3544
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.latestActivityTaskTimestamp)))
3545
3545
  : undefined,
3546
- latestExecutionContext: smithy_client_1.expectString(output.latestExecutionContext),
3546
+ latestExecutionContext: (0, smithy_client_1.expectString)(output.latestExecutionContext),
3547
3547
  openCounts: output.openCounts !== undefined && output.openCounts !== null
3548
3548
  ? deserializeAws_json1_0WorkflowExecutionOpenCounts(output.openCounts, context)
3549
3549
  : undefined,
@@ -3551,27 +3551,27 @@ const deserializeAws_json1_0WorkflowExecutionDetail = (output, context) => {
3551
3551
  };
3552
3552
  const deserializeAws_json1_0WorkflowExecutionFailedEventAttributes = (output, context) => {
3553
3553
  return {
3554
- decisionTaskCompletedEventId: smithy_client_1.expectLong(output.decisionTaskCompletedEventId),
3555
- details: smithy_client_1.expectString(output.details),
3556
- reason: smithy_client_1.expectString(output.reason),
3554
+ decisionTaskCompletedEventId: (0, smithy_client_1.expectLong)(output.decisionTaskCompletedEventId),
3555
+ details: (0, smithy_client_1.expectString)(output.details),
3556
+ reason: (0, smithy_client_1.expectString)(output.reason),
3557
3557
  };
3558
3558
  };
3559
3559
  const deserializeAws_json1_0WorkflowExecutionInfo = (output, context) => {
3560
3560
  return {
3561
- cancelRequested: smithy_client_1.expectBoolean(output.cancelRequested),
3562
- closeStatus: smithy_client_1.expectString(output.closeStatus),
3561
+ cancelRequested: (0, smithy_client_1.expectBoolean)(output.cancelRequested),
3562
+ closeStatus: (0, smithy_client_1.expectString)(output.closeStatus),
3563
3563
  closeTimestamp: output.closeTimestamp !== undefined && output.closeTimestamp !== null
3564
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.closeTimestamp)))
3564
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.closeTimestamp)))
3565
3565
  : undefined,
3566
3566
  execution: output.execution !== undefined && output.execution !== null
3567
3567
  ? deserializeAws_json1_0WorkflowExecution(output.execution, context)
3568
3568
  : undefined,
3569
- executionStatus: smithy_client_1.expectString(output.executionStatus),
3569
+ executionStatus: (0, smithy_client_1.expectString)(output.executionStatus),
3570
3570
  parent: output.parent !== undefined && output.parent !== null
3571
3571
  ? deserializeAws_json1_0WorkflowExecution(output.parent, context)
3572
3572
  : undefined,
3573
3573
  startTimestamp: output.startTimestamp !== undefined && output.startTimestamp !== null
3574
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.startTimestamp)))
3574
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.startTimestamp)))
3575
3575
  : undefined,
3576
3576
  tagList: output.tagList !== undefined && output.tagList !== null
3577
3577
  ? deserializeAws_json1_0TagList(output.tagList, context)
@@ -3597,36 +3597,36 @@ const deserializeAws_json1_0WorkflowExecutionInfos = (output, context) => {
3597
3597
  executionInfos: output.executionInfos !== undefined && output.executionInfos !== null
3598
3598
  ? deserializeAws_json1_0WorkflowExecutionInfoList(output.executionInfos, context)
3599
3599
  : undefined,
3600
- nextPageToken: smithy_client_1.expectString(output.nextPageToken),
3600
+ nextPageToken: (0, smithy_client_1.expectString)(output.nextPageToken),
3601
3601
  };
3602
3602
  };
3603
3603
  const deserializeAws_json1_0WorkflowExecutionOpenCounts = (output, context) => {
3604
3604
  return {
3605
- openActivityTasks: smithy_client_1.expectInt32(output.openActivityTasks),
3606
- openChildWorkflowExecutions: smithy_client_1.expectInt32(output.openChildWorkflowExecutions),
3607
- openDecisionTasks: smithy_client_1.expectInt32(output.openDecisionTasks),
3608
- openLambdaFunctions: smithy_client_1.expectInt32(output.openLambdaFunctions),
3609
- openTimers: smithy_client_1.expectInt32(output.openTimers),
3605
+ openActivityTasks: (0, smithy_client_1.expectInt32)(output.openActivityTasks),
3606
+ openChildWorkflowExecutions: (0, smithy_client_1.expectInt32)(output.openChildWorkflowExecutions),
3607
+ openDecisionTasks: (0, smithy_client_1.expectInt32)(output.openDecisionTasks),
3608
+ openLambdaFunctions: (0, smithy_client_1.expectInt32)(output.openLambdaFunctions),
3609
+ openTimers: (0, smithy_client_1.expectInt32)(output.openTimers),
3610
3610
  };
3611
3611
  };
3612
3612
  const deserializeAws_json1_0WorkflowExecutionSignaledEventAttributes = (output, context) => {
3613
3613
  return {
3614
- externalInitiatedEventId: smithy_client_1.expectLong(output.externalInitiatedEventId),
3614
+ externalInitiatedEventId: (0, smithy_client_1.expectLong)(output.externalInitiatedEventId),
3615
3615
  externalWorkflowExecution: output.externalWorkflowExecution !== undefined && output.externalWorkflowExecution !== null
3616
3616
  ? deserializeAws_json1_0WorkflowExecution(output.externalWorkflowExecution, context)
3617
3617
  : undefined,
3618
- input: smithy_client_1.expectString(output.input),
3619
- signalName: smithy_client_1.expectString(output.signalName),
3618
+ input: (0, smithy_client_1.expectString)(output.input),
3619
+ signalName: (0, smithy_client_1.expectString)(output.signalName),
3620
3620
  };
3621
3621
  };
3622
3622
  const deserializeAws_json1_0WorkflowExecutionStartedEventAttributes = (output, context) => {
3623
3623
  return {
3624
- childPolicy: smithy_client_1.expectString(output.childPolicy),
3625
- continuedExecutionRunId: smithy_client_1.expectString(output.continuedExecutionRunId),
3626
- executionStartToCloseTimeout: smithy_client_1.expectString(output.executionStartToCloseTimeout),
3627
- input: smithy_client_1.expectString(output.input),
3628
- lambdaRole: smithy_client_1.expectString(output.lambdaRole),
3629
- parentInitiatedEventId: smithy_client_1.expectLong(output.parentInitiatedEventId),
3624
+ childPolicy: (0, smithy_client_1.expectString)(output.childPolicy),
3625
+ continuedExecutionRunId: (0, smithy_client_1.expectString)(output.continuedExecutionRunId),
3626
+ executionStartToCloseTimeout: (0, smithy_client_1.expectString)(output.executionStartToCloseTimeout),
3627
+ input: (0, smithy_client_1.expectString)(output.input),
3628
+ lambdaRole: (0, smithy_client_1.expectString)(output.lambdaRole),
3629
+ parentInitiatedEventId: (0, smithy_client_1.expectLong)(output.parentInitiatedEventId),
3630
3630
  parentWorkflowExecution: output.parentWorkflowExecution !== undefined && output.parentWorkflowExecution !== null
3631
3631
  ? deserializeAws_json1_0WorkflowExecution(output.parentWorkflowExecution, context)
3632
3632
  : undefined,
@@ -3636,8 +3636,8 @@ const deserializeAws_json1_0WorkflowExecutionStartedEventAttributes = (output, c
3636
3636
  taskList: output.taskList !== undefined && output.taskList !== null
3637
3637
  ? deserializeAws_json1_0TaskList(output.taskList, context)
3638
3638
  : undefined,
3639
- taskPriority: smithy_client_1.expectString(output.taskPriority),
3640
- taskStartToCloseTimeout: smithy_client_1.expectString(output.taskStartToCloseTimeout),
3639
+ taskPriority: (0, smithy_client_1.expectString)(output.taskPriority),
3640
+ taskStartToCloseTimeout: (0, smithy_client_1.expectString)(output.taskStartToCloseTimeout),
3641
3641
  workflowType: output.workflowType !== undefined && output.workflowType !== null
3642
3642
  ? deserializeAws_json1_0WorkflowType(output.workflowType, context)
3643
3643
  : undefined,
@@ -3645,34 +3645,34 @@ const deserializeAws_json1_0WorkflowExecutionStartedEventAttributes = (output, c
3645
3645
  };
3646
3646
  const deserializeAws_json1_0WorkflowExecutionTerminatedEventAttributes = (output, context) => {
3647
3647
  return {
3648
- cause: smithy_client_1.expectString(output.cause),
3649
- childPolicy: smithy_client_1.expectString(output.childPolicy),
3650
- details: smithy_client_1.expectString(output.details),
3651
- reason: smithy_client_1.expectString(output.reason),
3648
+ cause: (0, smithy_client_1.expectString)(output.cause),
3649
+ childPolicy: (0, smithy_client_1.expectString)(output.childPolicy),
3650
+ details: (0, smithy_client_1.expectString)(output.details),
3651
+ reason: (0, smithy_client_1.expectString)(output.reason),
3652
3652
  };
3653
3653
  };
3654
3654
  const deserializeAws_json1_0WorkflowExecutionTimedOutEventAttributes = (output, context) => {
3655
3655
  return {
3656
- childPolicy: smithy_client_1.expectString(output.childPolicy),
3657
- timeoutType: smithy_client_1.expectString(output.timeoutType),
3656
+ childPolicy: (0, smithy_client_1.expectString)(output.childPolicy),
3657
+ timeoutType: (0, smithy_client_1.expectString)(output.timeoutType),
3658
3658
  };
3659
3659
  };
3660
3660
  const deserializeAws_json1_0WorkflowType = (output, context) => {
3661
3661
  return {
3662
- name: smithy_client_1.expectString(output.name),
3663
- version: smithy_client_1.expectString(output.version),
3662
+ name: (0, smithy_client_1.expectString)(output.name),
3663
+ version: (0, smithy_client_1.expectString)(output.version),
3664
3664
  };
3665
3665
  };
3666
3666
  const deserializeAws_json1_0WorkflowTypeConfiguration = (output, context) => {
3667
3667
  return {
3668
- defaultChildPolicy: smithy_client_1.expectString(output.defaultChildPolicy),
3669
- defaultExecutionStartToCloseTimeout: smithy_client_1.expectString(output.defaultExecutionStartToCloseTimeout),
3670
- defaultLambdaRole: smithy_client_1.expectString(output.defaultLambdaRole),
3668
+ defaultChildPolicy: (0, smithy_client_1.expectString)(output.defaultChildPolicy),
3669
+ defaultExecutionStartToCloseTimeout: (0, smithy_client_1.expectString)(output.defaultExecutionStartToCloseTimeout),
3670
+ defaultLambdaRole: (0, smithy_client_1.expectString)(output.defaultLambdaRole),
3671
3671
  defaultTaskList: output.defaultTaskList !== undefined && output.defaultTaskList !== null
3672
3672
  ? deserializeAws_json1_0TaskList(output.defaultTaskList, context)
3673
3673
  : undefined,
3674
- defaultTaskPriority: smithy_client_1.expectString(output.defaultTaskPriority),
3675
- defaultTaskStartToCloseTimeout: smithy_client_1.expectString(output.defaultTaskStartToCloseTimeout),
3674
+ defaultTaskPriority: (0, smithy_client_1.expectString)(output.defaultTaskPriority),
3675
+ defaultTaskStartToCloseTimeout: (0, smithy_client_1.expectString)(output.defaultTaskStartToCloseTimeout),
3676
3676
  };
3677
3677
  };
3678
3678
  const deserializeAws_json1_0WorkflowTypeDetail = (output, context) => {
@@ -3688,13 +3688,13 @@ const deserializeAws_json1_0WorkflowTypeDetail = (output, context) => {
3688
3688
  const deserializeAws_json1_0WorkflowTypeInfo = (output, context) => {
3689
3689
  return {
3690
3690
  creationDate: output.creationDate !== undefined && output.creationDate !== null
3691
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.creationDate)))
3691
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.creationDate)))
3692
3692
  : undefined,
3693
3693
  deprecationDate: output.deprecationDate !== undefined && output.deprecationDate !== null
3694
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.deprecationDate)))
3694
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.deprecationDate)))
3695
3695
  : undefined,
3696
- description: smithy_client_1.expectString(output.description),
3697
- status: smithy_client_1.expectString(output.status),
3696
+ description: (0, smithy_client_1.expectString)(output.description),
3697
+ status: (0, smithy_client_1.expectString)(output.status),
3698
3698
  workflowType: output.workflowType !== undefined && output.workflowType !== null
3699
3699
  ? deserializeAws_json1_0WorkflowType(output.workflowType, context)
3700
3700
  : undefined,
@@ -3713,7 +3713,7 @@ const deserializeAws_json1_0WorkflowTypeInfoList = (output, context) => {
3713
3713
  };
3714
3714
  const deserializeAws_json1_0WorkflowTypeInfos = (output, context) => {
3715
3715
  return {
3716
- nextPageToken: smithy_client_1.expectString(output.nextPageToken),
3716
+ nextPageToken: (0, smithy_client_1.expectString)(output.nextPageToken),
3717
3717
  typeInfos: output.typeInfos !== undefined && output.typeInfos !== null
3718
3718
  ? deserializeAws_json1_0WorkflowTypeInfoList(output.typeInfos, context)
3719
3719
  : undefined,