@aws-sdk/client-cloudwatch-events 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 (69) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/CloudWatchEventsClient.js +13 -13
  3. package/dist-cjs/commands/ActivateEventSourceCommand.js +3 -3
  4. package/dist-cjs/commands/CancelReplayCommand.js +3 -3
  5. package/dist-cjs/commands/CreateApiDestinationCommand.js +3 -3
  6. package/dist-cjs/commands/CreateArchiveCommand.js +3 -3
  7. package/dist-cjs/commands/CreateConnectionCommand.js +3 -3
  8. package/dist-cjs/commands/CreateEventBusCommand.js +3 -3
  9. package/dist-cjs/commands/CreatePartnerEventSourceCommand.js +3 -3
  10. package/dist-cjs/commands/DeactivateEventSourceCommand.js +3 -3
  11. package/dist-cjs/commands/DeauthorizeConnectionCommand.js +3 -3
  12. package/dist-cjs/commands/DeleteApiDestinationCommand.js +3 -3
  13. package/dist-cjs/commands/DeleteArchiveCommand.js +3 -3
  14. package/dist-cjs/commands/DeleteConnectionCommand.js +3 -3
  15. package/dist-cjs/commands/DeleteEventBusCommand.js +3 -3
  16. package/dist-cjs/commands/DeletePartnerEventSourceCommand.js +3 -3
  17. package/dist-cjs/commands/DeleteRuleCommand.js +3 -3
  18. package/dist-cjs/commands/DescribeApiDestinationCommand.js +3 -3
  19. package/dist-cjs/commands/DescribeArchiveCommand.js +3 -3
  20. package/dist-cjs/commands/DescribeConnectionCommand.js +3 -3
  21. package/dist-cjs/commands/DescribeEventBusCommand.js +3 -3
  22. package/dist-cjs/commands/DescribeEventSourceCommand.js +3 -3
  23. package/dist-cjs/commands/DescribePartnerEventSourceCommand.js +3 -3
  24. package/dist-cjs/commands/DescribeReplayCommand.js +3 -3
  25. package/dist-cjs/commands/DescribeRuleCommand.js +3 -3
  26. package/dist-cjs/commands/DisableRuleCommand.js +3 -3
  27. package/dist-cjs/commands/EnableRuleCommand.js +3 -3
  28. package/dist-cjs/commands/ListApiDestinationsCommand.js +3 -3
  29. package/dist-cjs/commands/ListArchivesCommand.js +3 -3
  30. package/dist-cjs/commands/ListConnectionsCommand.js +3 -3
  31. package/dist-cjs/commands/ListEventBusesCommand.js +3 -3
  32. package/dist-cjs/commands/ListEventSourcesCommand.js +3 -3
  33. package/dist-cjs/commands/ListPartnerEventSourceAccountsCommand.js +3 -3
  34. package/dist-cjs/commands/ListPartnerEventSourcesCommand.js +3 -3
  35. package/dist-cjs/commands/ListReplaysCommand.js +3 -3
  36. package/dist-cjs/commands/ListRuleNamesByTargetCommand.js +3 -3
  37. package/dist-cjs/commands/ListRulesCommand.js +3 -3
  38. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  39. package/dist-cjs/commands/ListTargetsByRuleCommand.js +3 -3
  40. package/dist-cjs/commands/PutEventsCommand.js +3 -3
  41. package/dist-cjs/commands/PutPartnerEventsCommand.js +3 -3
  42. package/dist-cjs/commands/PutPermissionCommand.js +3 -3
  43. package/dist-cjs/commands/PutRuleCommand.js +3 -3
  44. package/dist-cjs/commands/PutTargetsCommand.js +3 -3
  45. package/dist-cjs/commands/RemovePermissionCommand.js +3 -3
  46. package/dist-cjs/commands/RemoveTargetsCommand.js +3 -3
  47. package/dist-cjs/commands/StartReplayCommand.js +3 -3
  48. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  49. package/dist-cjs/commands/TestEventPatternCommand.js +3 -3
  50. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  51. package/dist-cjs/commands/UpdateApiDestinationCommand.js +3 -3
  52. package/dist-cjs/commands/UpdateArchiveCommand.js +3 -3
  53. package/dist-cjs/commands/UpdateConnectionCommand.js +3 -3
  54. package/dist-cjs/endpoints.js +4 -6
  55. package/dist-cjs/protocols/Aws_json1_1.js +333 -333
  56. package/dist-cjs/runtimeConfig.browser.js +4 -4
  57. package/dist-cjs/runtimeConfig.js +9 -9
  58. package/dist-cjs/runtimeConfig.native.js +1 -1
  59. package/dist-es/CloudWatchEvents.js +51 -51
  60. package/dist-es/endpoints.js +3 -5
  61. package/dist-types/CloudWatchEventsClient.d.ts +2 -2
  62. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  63. package/dist-types/runtimeConfig.d.ts +1 -1
  64. package/dist-types/runtimeConfig.native.d.ts +3 -3
  65. package/dist-types/ts3.4/CloudWatchEventsClient.d.ts +2 -2
  66. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  67. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  68. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
  69. package/package.json +34 -34
@@ -559,7 +559,7 @@ const deserializeAws_json1_1ActivateEventSourceCommandError = async (output, con
559
559
  $fault: "client",
560
560
  $metadata: deserializeMetadata(output),
561
561
  });
562
- throw smithy_client_1.decorateServiceException(response, parsedBody);
562
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
563
563
  }
564
564
  };
565
565
  const deserializeAws_json1_1CancelReplayCommand = async (output, context) => {
@@ -604,7 +604,7 @@ const deserializeAws_json1_1CancelReplayCommandError = async (output, context) =
604
604
  $fault: "client",
605
605
  $metadata: deserializeMetadata(output),
606
606
  });
607
- throw smithy_client_1.decorateServiceException(response, parsedBody);
607
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
608
608
  }
609
609
  };
610
610
  const deserializeAws_json1_1CreateApiDestinationCommand = async (output, context) => {
@@ -649,7 +649,7 @@ const deserializeAws_json1_1CreateApiDestinationCommandError = async (output, co
649
649
  $fault: "client",
650
650
  $metadata: deserializeMetadata(output),
651
651
  });
652
- throw smithy_client_1.decorateServiceException(response, parsedBody);
652
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
653
653
  }
654
654
  };
655
655
  const deserializeAws_json1_1CreateArchiveCommand = async (output, context) => {
@@ -700,7 +700,7 @@ const deserializeAws_json1_1CreateArchiveCommandError = async (output, context)
700
700
  $fault: "client",
701
701
  $metadata: deserializeMetadata(output),
702
702
  });
703
- throw smithy_client_1.decorateServiceException(response, parsedBody);
703
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
704
704
  }
705
705
  };
706
706
  const deserializeAws_json1_1CreateConnectionCommand = async (output, context) => {
@@ -742,7 +742,7 @@ const deserializeAws_json1_1CreateConnectionCommandError = async (output, contex
742
742
  $fault: "client",
743
743
  $metadata: deserializeMetadata(output),
744
744
  });
745
- throw smithy_client_1.decorateServiceException(response, parsedBody);
745
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
746
746
  }
747
747
  };
748
748
  const deserializeAws_json1_1CreateEventBusCommand = async (output, context) => {
@@ -796,7 +796,7 @@ const deserializeAws_json1_1CreateEventBusCommandError = async (output, context)
796
796
  $fault: "client",
797
797
  $metadata: deserializeMetadata(output),
798
798
  });
799
- throw smithy_client_1.decorateServiceException(response, parsedBody);
799
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
800
800
  }
801
801
  };
802
802
  const deserializeAws_json1_1CreatePartnerEventSourceCommand = async (output, context) => {
@@ -844,7 +844,7 @@ const deserializeAws_json1_1CreatePartnerEventSourceCommandError = async (output
844
844
  $fault: "client",
845
845
  $metadata: deserializeMetadata(output),
846
846
  });
847
- throw smithy_client_1.decorateServiceException(response, parsedBody);
847
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
848
848
  }
849
849
  };
850
850
  const deserializeAws_json1_1DeactivateEventSourceCommand = async (output, context) => {
@@ -889,7 +889,7 @@ const deserializeAws_json1_1DeactivateEventSourceCommandError = async (output, c
889
889
  $fault: "client",
890
890
  $metadata: deserializeMetadata(output),
891
891
  });
892
- throw smithy_client_1.decorateServiceException(response, parsedBody);
892
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
893
893
  }
894
894
  };
895
895
  const deserializeAws_json1_1DeauthorizeConnectionCommand = async (output, context) => {
@@ -931,7 +931,7 @@ const deserializeAws_json1_1DeauthorizeConnectionCommandError = async (output, c
931
931
  $fault: "client",
932
932
  $metadata: deserializeMetadata(output),
933
933
  });
934
- throw smithy_client_1.decorateServiceException(response, parsedBody);
934
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
935
935
  }
936
936
  };
937
937
  const deserializeAws_json1_1DeleteApiDestinationCommand = async (output, context) => {
@@ -973,7 +973,7 @@ const deserializeAws_json1_1DeleteApiDestinationCommandError = async (output, co
973
973
  $fault: "client",
974
974
  $metadata: deserializeMetadata(output),
975
975
  });
976
- throw smithy_client_1.decorateServiceException(response, parsedBody);
976
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
977
977
  }
978
978
  };
979
979
  const deserializeAws_json1_1DeleteArchiveCommand = async (output, context) => {
@@ -1015,7 +1015,7 @@ const deserializeAws_json1_1DeleteArchiveCommandError = async (output, context)
1015
1015
  $fault: "client",
1016
1016
  $metadata: deserializeMetadata(output),
1017
1017
  });
1018
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1018
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1019
1019
  }
1020
1020
  };
1021
1021
  const deserializeAws_json1_1DeleteConnectionCommand = async (output, context) => {
@@ -1057,7 +1057,7 @@ const deserializeAws_json1_1DeleteConnectionCommandError = async (output, contex
1057
1057
  $fault: "client",
1058
1058
  $metadata: deserializeMetadata(output),
1059
1059
  });
1060
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1060
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1061
1061
  }
1062
1062
  };
1063
1063
  const deserializeAws_json1_1DeleteEventBusCommand = async (output, context) => {
@@ -1093,7 +1093,7 @@ const deserializeAws_json1_1DeleteEventBusCommandError = async (output, context)
1093
1093
  $fault: "client",
1094
1094
  $metadata: deserializeMetadata(output),
1095
1095
  });
1096
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1096
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1097
1097
  }
1098
1098
  };
1099
1099
  const deserializeAws_json1_1DeletePartnerEventSourceCommand = async (output, context) => {
@@ -1132,7 +1132,7 @@ const deserializeAws_json1_1DeletePartnerEventSourceCommandError = async (output
1132
1132
  $fault: "client",
1133
1133
  $metadata: deserializeMetadata(output),
1134
1134
  });
1135
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1135
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1136
1136
  }
1137
1137
  };
1138
1138
  const deserializeAws_json1_1DeleteRuleCommand = async (output, context) => {
@@ -1174,7 +1174,7 @@ const deserializeAws_json1_1DeleteRuleCommandError = async (output, context) =>
1174
1174
  $fault: "client",
1175
1175
  $metadata: deserializeMetadata(output),
1176
1176
  });
1177
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1177
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1178
1178
  }
1179
1179
  };
1180
1180
  const deserializeAws_json1_1DescribeApiDestinationCommand = async (output, context) => {
@@ -1213,7 +1213,7 @@ const deserializeAws_json1_1DescribeApiDestinationCommandError = async (output,
1213
1213
  $fault: "client",
1214
1214
  $metadata: deserializeMetadata(output),
1215
1215
  });
1216
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1216
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1217
1217
  }
1218
1218
  };
1219
1219
  const deserializeAws_json1_1DescribeArchiveCommand = async (output, context) => {
@@ -1255,7 +1255,7 @@ const deserializeAws_json1_1DescribeArchiveCommandError = async (output, context
1255
1255
  $fault: "client",
1256
1256
  $metadata: deserializeMetadata(output),
1257
1257
  });
1258
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1258
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1259
1259
  }
1260
1260
  };
1261
1261
  const deserializeAws_json1_1DescribeConnectionCommand = async (output, context) => {
@@ -1294,7 +1294,7 @@ const deserializeAws_json1_1DescribeConnectionCommandError = async (output, cont
1294
1294
  $fault: "client",
1295
1295
  $metadata: deserializeMetadata(output),
1296
1296
  });
1297
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1297
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1298
1298
  }
1299
1299
  };
1300
1300
  const deserializeAws_json1_1DescribeEventBusCommand = async (output, context) => {
@@ -1333,7 +1333,7 @@ const deserializeAws_json1_1DescribeEventBusCommandError = async (output, contex
1333
1333
  $fault: "client",
1334
1334
  $metadata: deserializeMetadata(output),
1335
1335
  });
1336
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1336
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1337
1337
  }
1338
1338
  };
1339
1339
  const deserializeAws_json1_1DescribeEventSourceCommand = async (output, context) => {
@@ -1375,7 +1375,7 @@ const deserializeAws_json1_1DescribeEventSourceCommandError = async (output, con
1375
1375
  $fault: "client",
1376
1376
  $metadata: deserializeMetadata(output),
1377
1377
  });
1378
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1378
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1379
1379
  }
1380
1380
  };
1381
1381
  const deserializeAws_json1_1DescribePartnerEventSourceCommand = async (output, context) => {
@@ -1417,7 +1417,7 @@ const deserializeAws_json1_1DescribePartnerEventSourceCommandError = async (outp
1417
1417
  $fault: "client",
1418
1418
  $metadata: deserializeMetadata(output),
1419
1419
  });
1420
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1420
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1421
1421
  }
1422
1422
  };
1423
1423
  const deserializeAws_json1_1DescribeReplayCommand = async (output, context) => {
@@ -1456,7 +1456,7 @@ const deserializeAws_json1_1DescribeReplayCommandError = async (output, context)
1456
1456
  $fault: "client",
1457
1457
  $metadata: deserializeMetadata(output),
1458
1458
  });
1459
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1459
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1460
1460
  }
1461
1461
  };
1462
1462
  const deserializeAws_json1_1DescribeRuleCommand = async (output, context) => {
@@ -1495,7 +1495,7 @@ const deserializeAws_json1_1DescribeRuleCommandError = async (output, context) =
1495
1495
  $fault: "client",
1496
1496
  $metadata: deserializeMetadata(output),
1497
1497
  });
1498
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1498
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1499
1499
  }
1500
1500
  };
1501
1501
  const deserializeAws_json1_1DisableRuleCommand = async (output, context) => {
@@ -1537,7 +1537,7 @@ const deserializeAws_json1_1DisableRuleCommandError = async (output, context) =>
1537
1537
  $fault: "client",
1538
1538
  $metadata: deserializeMetadata(output),
1539
1539
  });
1540
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1540
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1541
1541
  }
1542
1542
  };
1543
1543
  const deserializeAws_json1_1EnableRuleCommand = async (output, context) => {
@@ -1579,7 +1579,7 @@ const deserializeAws_json1_1EnableRuleCommandError = async (output, context) =>
1579
1579
  $fault: "client",
1580
1580
  $metadata: deserializeMetadata(output),
1581
1581
  });
1582
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1582
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1583
1583
  }
1584
1584
  };
1585
1585
  const deserializeAws_json1_1ListApiDestinationsCommand = async (output, context) => {
@@ -1615,7 +1615,7 @@ const deserializeAws_json1_1ListApiDestinationsCommandError = async (output, con
1615
1615
  $fault: "client",
1616
1616
  $metadata: deserializeMetadata(output),
1617
1617
  });
1618
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1618
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1619
1619
  }
1620
1620
  };
1621
1621
  const deserializeAws_json1_1ListArchivesCommand = async (output, context) => {
@@ -1654,7 +1654,7 @@ const deserializeAws_json1_1ListArchivesCommandError = async (output, context) =
1654
1654
  $fault: "client",
1655
1655
  $metadata: deserializeMetadata(output),
1656
1656
  });
1657
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1657
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1658
1658
  }
1659
1659
  };
1660
1660
  const deserializeAws_json1_1ListConnectionsCommand = async (output, context) => {
@@ -1690,7 +1690,7 @@ const deserializeAws_json1_1ListConnectionsCommandError = async (output, context
1690
1690
  $fault: "client",
1691
1691
  $metadata: deserializeMetadata(output),
1692
1692
  });
1693
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1693
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1694
1694
  }
1695
1695
  };
1696
1696
  const deserializeAws_json1_1ListEventBusesCommand = async (output, context) => {
@@ -1726,7 +1726,7 @@ const deserializeAws_json1_1ListEventBusesCommandError = async (output, context)
1726
1726
  $fault: "client",
1727
1727
  $metadata: deserializeMetadata(output),
1728
1728
  });
1729
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1729
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1730
1730
  }
1731
1731
  };
1732
1732
  const deserializeAws_json1_1ListEventSourcesCommand = async (output, context) => {
@@ -1765,7 +1765,7 @@ const deserializeAws_json1_1ListEventSourcesCommandError = async (output, contex
1765
1765
  $fault: "client",
1766
1766
  $metadata: deserializeMetadata(output),
1767
1767
  });
1768
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1768
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1769
1769
  }
1770
1770
  };
1771
1771
  const deserializeAws_json1_1ListPartnerEventSourceAccountsCommand = async (output, context) => {
@@ -1807,7 +1807,7 @@ const deserializeAws_json1_1ListPartnerEventSourceAccountsCommandError = async (
1807
1807
  $fault: "client",
1808
1808
  $metadata: deserializeMetadata(output),
1809
1809
  });
1810
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1810
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1811
1811
  }
1812
1812
  };
1813
1813
  const deserializeAws_json1_1ListPartnerEventSourcesCommand = async (output, context) => {
@@ -1846,7 +1846,7 @@ const deserializeAws_json1_1ListPartnerEventSourcesCommandError = async (output,
1846
1846
  $fault: "client",
1847
1847
  $metadata: deserializeMetadata(output),
1848
1848
  });
1849
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1849
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1850
1850
  }
1851
1851
  };
1852
1852
  const deserializeAws_json1_1ListReplaysCommand = async (output, context) => {
@@ -1882,7 +1882,7 @@ const deserializeAws_json1_1ListReplaysCommandError = async (output, context) =>
1882
1882
  $fault: "client",
1883
1883
  $metadata: deserializeMetadata(output),
1884
1884
  });
1885
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1885
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1886
1886
  }
1887
1887
  };
1888
1888
  const deserializeAws_json1_1ListRuleNamesByTargetCommand = async (output, context) => {
@@ -1921,7 +1921,7 @@ const deserializeAws_json1_1ListRuleNamesByTargetCommandError = async (output, c
1921
1921
  $fault: "client",
1922
1922
  $metadata: deserializeMetadata(output),
1923
1923
  });
1924
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1924
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1925
1925
  }
1926
1926
  };
1927
1927
  const deserializeAws_json1_1ListRulesCommand = async (output, context) => {
@@ -1960,7 +1960,7 @@ const deserializeAws_json1_1ListRulesCommandError = async (output, context) => {
1960
1960
  $fault: "client",
1961
1961
  $metadata: deserializeMetadata(output),
1962
1962
  });
1963
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1963
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1964
1964
  }
1965
1965
  };
1966
1966
  const deserializeAws_json1_1ListTagsForResourceCommand = async (output, context) => {
@@ -1999,7 +1999,7 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
1999
1999
  $fault: "client",
2000
2000
  $metadata: deserializeMetadata(output),
2001
2001
  });
2002
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2002
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2003
2003
  }
2004
2004
  };
2005
2005
  const deserializeAws_json1_1ListTargetsByRuleCommand = async (output, context) => {
@@ -2038,7 +2038,7 @@ const deserializeAws_json1_1ListTargetsByRuleCommandError = async (output, conte
2038
2038
  $fault: "client",
2039
2039
  $metadata: deserializeMetadata(output),
2040
2040
  });
2041
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2041
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2042
2042
  }
2043
2043
  };
2044
2044
  const deserializeAws_json1_1PutEventsCommand = async (output, context) => {
@@ -2074,7 +2074,7 @@ const deserializeAws_json1_1PutEventsCommandError = async (output, context) => {
2074
2074
  $fault: "client",
2075
2075
  $metadata: deserializeMetadata(output),
2076
2076
  });
2077
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2077
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2078
2078
  }
2079
2079
  };
2080
2080
  const deserializeAws_json1_1PutPartnerEventsCommand = async (output, context) => {
@@ -2113,7 +2113,7 @@ const deserializeAws_json1_1PutPartnerEventsCommandError = async (output, contex
2113
2113
  $fault: "client",
2114
2114
  $metadata: deserializeMetadata(output),
2115
2115
  });
2116
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2116
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2117
2117
  }
2118
2118
  };
2119
2119
  const deserializeAws_json1_1PutPermissionCommand = async (output, context) => {
@@ -2158,7 +2158,7 @@ const deserializeAws_json1_1PutPermissionCommandError = async (output, context)
2158
2158
  $fault: "client",
2159
2159
  $metadata: deserializeMetadata(output),
2160
2160
  });
2161
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2161
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2162
2162
  }
2163
2163
  };
2164
2164
  const deserializeAws_json1_1PutRuleCommand = async (output, context) => {
@@ -2209,7 +2209,7 @@ const deserializeAws_json1_1PutRuleCommandError = async (output, context) => {
2209
2209
  $fault: "client",
2210
2210
  $metadata: deserializeMetadata(output),
2211
2211
  });
2212
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2212
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2213
2213
  }
2214
2214
  };
2215
2215
  const deserializeAws_json1_1PutTargetsCommand = async (output, context) => {
@@ -2257,7 +2257,7 @@ const deserializeAws_json1_1PutTargetsCommandError = async (output, context) =>
2257
2257
  $fault: "client",
2258
2258
  $metadata: deserializeMetadata(output),
2259
2259
  });
2260
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2260
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2261
2261
  }
2262
2262
  };
2263
2263
  const deserializeAws_json1_1RemovePermissionCommand = async (output, context) => {
@@ -2299,7 +2299,7 @@ const deserializeAws_json1_1RemovePermissionCommandError = async (output, contex
2299
2299
  $fault: "client",
2300
2300
  $metadata: deserializeMetadata(output),
2301
2301
  });
2302
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2302
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2303
2303
  }
2304
2304
  };
2305
2305
  const deserializeAws_json1_1RemoveTargetsCommand = async (output, context) => {
@@ -2344,7 +2344,7 @@ const deserializeAws_json1_1RemoveTargetsCommandError = async (output, context)
2344
2344
  $fault: "client",
2345
2345
  $metadata: deserializeMetadata(output),
2346
2346
  });
2347
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2347
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2348
2348
  }
2349
2349
  };
2350
2350
  const deserializeAws_json1_1StartReplayCommand = async (output, context) => {
@@ -2392,7 +2392,7 @@ const deserializeAws_json1_1StartReplayCommandError = async (output, context) =>
2392
2392
  $fault: "client",
2393
2393
  $metadata: deserializeMetadata(output),
2394
2394
  });
2395
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2395
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2396
2396
  }
2397
2397
  };
2398
2398
  const deserializeAws_json1_1TagResourceCommand = async (output, context) => {
@@ -2437,7 +2437,7 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
2437
2437
  $fault: "client",
2438
2438
  $metadata: deserializeMetadata(output),
2439
2439
  });
2440
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2440
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2441
2441
  }
2442
2442
  };
2443
2443
  const deserializeAws_json1_1TestEventPatternCommand = async (output, context) => {
@@ -2476,7 +2476,7 @@ const deserializeAws_json1_1TestEventPatternCommandError = async (output, contex
2476
2476
  $fault: "client",
2477
2477
  $metadata: deserializeMetadata(output),
2478
2478
  });
2479
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2479
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2480
2480
  }
2481
2481
  };
2482
2482
  const deserializeAws_json1_1UntagResourceCommand = async (output, context) => {
@@ -2521,7 +2521,7 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
2521
2521
  $fault: "client",
2522
2522
  $metadata: deserializeMetadata(output),
2523
2523
  });
2524
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2524
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2525
2525
  }
2526
2526
  };
2527
2527
  const deserializeAws_json1_1UpdateApiDestinationCommand = async (output, context) => {
@@ -2566,7 +2566,7 @@ const deserializeAws_json1_1UpdateApiDestinationCommandError = async (output, co
2566
2566
  $fault: "client",
2567
2567
  $metadata: deserializeMetadata(output),
2568
2568
  });
2569
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2569
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2570
2570
  }
2571
2571
  };
2572
2572
  const deserializeAws_json1_1UpdateArchiveCommand = async (output, context) => {
@@ -2614,7 +2614,7 @@ const deserializeAws_json1_1UpdateArchiveCommandError = async (output, context)
2614
2614
  $fault: "client",
2615
2615
  $metadata: deserializeMetadata(output),
2616
2616
  });
2617
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2617
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2618
2618
  }
2619
2619
  };
2620
2620
  const deserializeAws_json1_1UpdateConnectionCommand = async (output, context) => {
@@ -2659,7 +2659,7 @@ const deserializeAws_json1_1UpdateConnectionCommandError = async (output, contex
2659
2659
  $fault: "client",
2660
2660
  $metadata: deserializeMetadata(output),
2661
2661
  });
2662
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2662
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2663
2663
  }
2664
2664
  };
2665
2665
  const deserializeAws_json1_1ConcurrentModificationExceptionResponse = async (parsedOutput, context) => {
@@ -2669,7 +2669,7 @@ const deserializeAws_json1_1ConcurrentModificationExceptionResponse = async (par
2669
2669
  $metadata: deserializeMetadata(parsedOutput),
2670
2670
  ...deserialized,
2671
2671
  });
2672
- return smithy_client_1.decorateServiceException(exception, body);
2672
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2673
2673
  };
2674
2674
  const deserializeAws_json1_1IllegalStatusExceptionResponse = async (parsedOutput, context) => {
2675
2675
  const body = parsedOutput.body;
@@ -2678,7 +2678,7 @@ const deserializeAws_json1_1IllegalStatusExceptionResponse = async (parsedOutput
2678
2678
  $metadata: deserializeMetadata(parsedOutput),
2679
2679
  ...deserialized,
2680
2680
  });
2681
- return smithy_client_1.decorateServiceException(exception, body);
2681
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2682
2682
  };
2683
2683
  const deserializeAws_json1_1InternalExceptionResponse = async (parsedOutput, context) => {
2684
2684
  const body = parsedOutput.body;
@@ -2687,7 +2687,7 @@ const deserializeAws_json1_1InternalExceptionResponse = async (parsedOutput, con
2687
2687
  $metadata: deserializeMetadata(parsedOutput),
2688
2688
  ...deserialized,
2689
2689
  });
2690
- return smithy_client_1.decorateServiceException(exception, body);
2690
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2691
2691
  };
2692
2692
  const deserializeAws_json1_1InvalidEventPatternExceptionResponse = async (parsedOutput, context) => {
2693
2693
  const body = parsedOutput.body;
@@ -2696,7 +2696,7 @@ const deserializeAws_json1_1InvalidEventPatternExceptionResponse = async (parsed
2696
2696
  $metadata: deserializeMetadata(parsedOutput),
2697
2697
  ...deserialized,
2698
2698
  });
2699
- return smithy_client_1.decorateServiceException(exception, body);
2699
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2700
2700
  };
2701
2701
  const deserializeAws_json1_1InvalidStateExceptionResponse = async (parsedOutput, context) => {
2702
2702
  const body = parsedOutput.body;
@@ -2705,7 +2705,7 @@ const deserializeAws_json1_1InvalidStateExceptionResponse = async (parsedOutput,
2705
2705
  $metadata: deserializeMetadata(parsedOutput),
2706
2706
  ...deserialized,
2707
2707
  });
2708
- return smithy_client_1.decorateServiceException(exception, body);
2708
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2709
2709
  };
2710
2710
  const deserializeAws_json1_1LimitExceededExceptionResponse = async (parsedOutput, context) => {
2711
2711
  const body = parsedOutput.body;
@@ -2714,7 +2714,7 @@ const deserializeAws_json1_1LimitExceededExceptionResponse = async (parsedOutput
2714
2714
  $metadata: deserializeMetadata(parsedOutput),
2715
2715
  ...deserialized,
2716
2716
  });
2717
- return smithy_client_1.decorateServiceException(exception, body);
2717
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2718
2718
  };
2719
2719
  const deserializeAws_json1_1ManagedRuleExceptionResponse = async (parsedOutput, context) => {
2720
2720
  const body = parsedOutput.body;
@@ -2723,7 +2723,7 @@ const deserializeAws_json1_1ManagedRuleExceptionResponse = async (parsedOutput,
2723
2723
  $metadata: deserializeMetadata(parsedOutput),
2724
2724
  ...deserialized,
2725
2725
  });
2726
- return smithy_client_1.decorateServiceException(exception, body);
2726
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2727
2727
  };
2728
2728
  const deserializeAws_json1_1OperationDisabledExceptionResponse = async (parsedOutput, context) => {
2729
2729
  const body = parsedOutput.body;
@@ -2732,7 +2732,7 @@ const deserializeAws_json1_1OperationDisabledExceptionResponse = async (parsedOu
2732
2732
  $metadata: deserializeMetadata(parsedOutput),
2733
2733
  ...deserialized,
2734
2734
  });
2735
- return smithy_client_1.decorateServiceException(exception, body);
2735
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2736
2736
  };
2737
2737
  const deserializeAws_json1_1PolicyLengthExceededExceptionResponse = async (parsedOutput, context) => {
2738
2738
  const body = parsedOutput.body;
@@ -2741,7 +2741,7 @@ const deserializeAws_json1_1PolicyLengthExceededExceptionResponse = async (parse
2741
2741
  $metadata: deserializeMetadata(parsedOutput),
2742
2742
  ...deserialized,
2743
2743
  });
2744
- return smithy_client_1.decorateServiceException(exception, body);
2744
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2745
2745
  };
2746
2746
  const deserializeAws_json1_1ResourceAlreadyExistsExceptionResponse = async (parsedOutput, context) => {
2747
2747
  const body = parsedOutput.body;
@@ -2750,7 +2750,7 @@ const deserializeAws_json1_1ResourceAlreadyExistsExceptionResponse = async (pars
2750
2750
  $metadata: deserializeMetadata(parsedOutput),
2751
2751
  ...deserialized,
2752
2752
  });
2753
- return smithy_client_1.decorateServiceException(exception, body);
2753
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2754
2754
  };
2755
2755
  const deserializeAws_json1_1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
2756
2756
  const body = parsedOutput.body;
@@ -2759,7 +2759,7 @@ const deserializeAws_json1_1ResourceNotFoundExceptionResponse = async (parsedOut
2759
2759
  $metadata: deserializeMetadata(parsedOutput),
2760
2760
  ...deserialized,
2761
2761
  });
2762
- return smithy_client_1.decorateServiceException(exception, body);
2762
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2763
2763
  };
2764
2764
  const serializeAws_json1_1ActivateEventSourceRequest = (input, context) => {
2765
2765
  return {
@@ -3792,19 +3792,19 @@ const serializeAws_json1_1UpdateConnectionRequest = (input, context) => {
3792
3792
  };
3793
3793
  const deserializeAws_json1_1ApiDestination = (output, context) => {
3794
3794
  return {
3795
- ApiDestinationArn: smithy_client_1.expectString(output.ApiDestinationArn),
3796
- ApiDestinationState: smithy_client_1.expectString(output.ApiDestinationState),
3797
- ConnectionArn: smithy_client_1.expectString(output.ConnectionArn),
3795
+ ApiDestinationArn: (0, smithy_client_1.expectString)(output.ApiDestinationArn),
3796
+ ApiDestinationState: (0, smithy_client_1.expectString)(output.ApiDestinationState),
3797
+ ConnectionArn: (0, smithy_client_1.expectString)(output.ConnectionArn),
3798
3798
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
3799
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
3799
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
3800
3800
  : undefined,
3801
- HttpMethod: smithy_client_1.expectString(output.HttpMethod),
3802
- InvocationEndpoint: smithy_client_1.expectString(output.InvocationEndpoint),
3803
- InvocationRateLimitPerSecond: smithy_client_1.expectInt32(output.InvocationRateLimitPerSecond),
3801
+ HttpMethod: (0, smithy_client_1.expectString)(output.HttpMethod),
3802
+ InvocationEndpoint: (0, smithy_client_1.expectString)(output.InvocationEndpoint),
3803
+ InvocationRateLimitPerSecond: (0, smithy_client_1.expectInt32)(output.InvocationRateLimitPerSecond),
3804
3804
  LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
3805
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedTime)))
3805
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedTime)))
3806
3806
  : undefined,
3807
- Name: smithy_client_1.expectString(output.Name),
3807
+ Name: (0, smithy_client_1.expectString)(output.Name),
3808
3808
  };
3809
3809
  };
3810
3810
  const deserializeAws_json1_1ApiDestinationResponseList = (output, context) => {
@@ -3820,16 +3820,16 @@ const deserializeAws_json1_1ApiDestinationResponseList = (output, context) => {
3820
3820
  };
3821
3821
  const deserializeAws_json1_1Archive = (output, context) => {
3822
3822
  return {
3823
- ArchiveName: smithy_client_1.expectString(output.ArchiveName),
3823
+ ArchiveName: (0, smithy_client_1.expectString)(output.ArchiveName),
3824
3824
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
3825
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
3825
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
3826
3826
  : undefined,
3827
- EventCount: smithy_client_1.expectLong(output.EventCount),
3828
- EventSourceArn: smithy_client_1.expectString(output.EventSourceArn),
3829
- RetentionDays: smithy_client_1.expectInt32(output.RetentionDays),
3830
- SizeBytes: smithy_client_1.expectLong(output.SizeBytes),
3831
- State: smithy_client_1.expectString(output.State),
3832
- StateReason: smithy_client_1.expectString(output.StateReason),
3827
+ EventCount: (0, smithy_client_1.expectLong)(output.EventCount),
3828
+ EventSourceArn: (0, smithy_client_1.expectString)(output.EventSourceArn),
3829
+ RetentionDays: (0, smithy_client_1.expectInt32)(output.RetentionDays),
3830
+ SizeBytes: (0, smithy_client_1.expectLong)(output.SizeBytes),
3831
+ State: (0, smithy_client_1.expectString)(output.State),
3832
+ StateReason: (0, smithy_client_1.expectString)(output.StateReason),
3833
3833
  };
3834
3834
  };
3835
3835
  const deserializeAws_json1_1ArchiveResponseList = (output, context) => {
@@ -3845,7 +3845,7 @@ const deserializeAws_json1_1ArchiveResponseList = (output, context) => {
3845
3845
  };
3846
3846
  const deserializeAws_json1_1AwsVpcConfiguration = (output, context) => {
3847
3847
  return {
3848
- AssignPublicIp: smithy_client_1.expectString(output.AssignPublicIp),
3848
+ AssignPublicIp: (0, smithy_client_1.expectString)(output.AssignPublicIp),
3849
3849
  SecurityGroups: output.SecurityGroups !== undefined && output.SecurityGroups !== null
3850
3850
  ? deserializeAws_json1_1StringList(output.SecurityGroups, context)
3851
3851
  : undefined,
@@ -3856,7 +3856,7 @@ const deserializeAws_json1_1AwsVpcConfiguration = (output, context) => {
3856
3856
  };
3857
3857
  const deserializeAws_json1_1BatchArrayProperties = (output, context) => {
3858
3858
  return {
3859
- Size: smithy_client_1.expectInt32(output.Size),
3859
+ Size: (0, smithy_client_1.expectInt32)(output.Size),
3860
3860
  };
3861
3861
  };
3862
3862
  const deserializeAws_json1_1BatchParameters = (output, context) => {
@@ -3864,8 +3864,8 @@ const deserializeAws_json1_1BatchParameters = (output, context) => {
3864
3864
  ArrayProperties: output.ArrayProperties !== undefined && output.ArrayProperties !== null
3865
3865
  ? deserializeAws_json1_1BatchArrayProperties(output.ArrayProperties, context)
3866
3866
  : undefined,
3867
- JobDefinition: smithy_client_1.expectString(output.JobDefinition),
3868
- JobName: smithy_client_1.expectString(output.JobName),
3867
+ JobDefinition: (0, smithy_client_1.expectString)(output.JobDefinition),
3868
+ JobName: (0, smithy_client_1.expectString)(output.JobName),
3869
3869
  RetryStrategy: output.RetryStrategy !== undefined && output.RetryStrategy !== null
3870
3870
  ? deserializeAws_json1_1BatchRetryStrategy(output.RetryStrategy, context)
3871
3871
  : undefined,
@@ -3873,14 +3873,14 @@ const deserializeAws_json1_1BatchParameters = (output, context) => {
3873
3873
  };
3874
3874
  const deserializeAws_json1_1BatchRetryStrategy = (output, context) => {
3875
3875
  return {
3876
- Attempts: smithy_client_1.expectInt32(output.Attempts),
3876
+ Attempts: (0, smithy_client_1.expectInt32)(output.Attempts),
3877
3877
  };
3878
3878
  };
3879
3879
  const deserializeAws_json1_1CancelReplayResponse = (output, context) => {
3880
3880
  return {
3881
- ReplayArn: smithy_client_1.expectString(output.ReplayArn),
3882
- State: smithy_client_1.expectString(output.State),
3883
- StateReason: smithy_client_1.expectString(output.StateReason),
3881
+ ReplayArn: (0, smithy_client_1.expectString)(output.ReplayArn),
3882
+ State: (0, smithy_client_1.expectString)(output.State),
3883
+ StateReason: (0, smithy_client_1.expectString)(output.StateReason),
3884
3884
  };
3885
3885
  };
3886
3886
  const deserializeAws_json1_1CapacityProviderStrategy = (output, context) => {
@@ -3896,37 +3896,37 @@ const deserializeAws_json1_1CapacityProviderStrategy = (output, context) => {
3896
3896
  };
3897
3897
  const deserializeAws_json1_1CapacityProviderStrategyItem = (output, context) => {
3898
3898
  return {
3899
- base: smithy_client_1.expectInt32(output.base),
3900
- capacityProvider: smithy_client_1.expectString(output.capacityProvider),
3901
- weight: smithy_client_1.expectInt32(output.weight),
3899
+ base: (0, smithy_client_1.expectInt32)(output.base),
3900
+ capacityProvider: (0, smithy_client_1.expectString)(output.capacityProvider),
3901
+ weight: (0, smithy_client_1.expectInt32)(output.weight),
3902
3902
  };
3903
3903
  };
3904
3904
  const deserializeAws_json1_1ConcurrentModificationException = (output, context) => {
3905
3905
  return {
3906
- message: smithy_client_1.expectString(output.message),
3906
+ message: (0, smithy_client_1.expectString)(output.message),
3907
3907
  };
3908
3908
  };
3909
3909
  const deserializeAws_json1_1Connection = (output, context) => {
3910
3910
  return {
3911
- AuthorizationType: smithy_client_1.expectString(output.AuthorizationType),
3912
- ConnectionArn: smithy_client_1.expectString(output.ConnectionArn),
3913
- ConnectionState: smithy_client_1.expectString(output.ConnectionState),
3911
+ AuthorizationType: (0, smithy_client_1.expectString)(output.AuthorizationType),
3912
+ ConnectionArn: (0, smithy_client_1.expectString)(output.ConnectionArn),
3913
+ ConnectionState: (0, smithy_client_1.expectString)(output.ConnectionState),
3914
3914
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
3915
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
3915
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
3916
3916
  : undefined,
3917
3917
  LastAuthorizedTime: output.LastAuthorizedTime !== undefined && output.LastAuthorizedTime !== null
3918
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastAuthorizedTime)))
3918
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastAuthorizedTime)))
3919
3919
  : undefined,
3920
3920
  LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
3921
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedTime)))
3921
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedTime)))
3922
3922
  : undefined,
3923
- Name: smithy_client_1.expectString(output.Name),
3924
- StateReason: smithy_client_1.expectString(output.StateReason),
3923
+ Name: (0, smithy_client_1.expectString)(output.Name),
3924
+ StateReason: (0, smithy_client_1.expectString)(output.StateReason),
3925
3925
  };
3926
3926
  };
3927
3927
  const deserializeAws_json1_1ConnectionApiKeyAuthResponseParameters = (output, context) => {
3928
3928
  return {
3929
- ApiKeyName: smithy_client_1.expectString(output.ApiKeyName),
3929
+ ApiKeyName: (0, smithy_client_1.expectString)(output.ApiKeyName),
3930
3930
  };
3931
3931
  };
3932
3932
  const deserializeAws_json1_1ConnectionAuthResponseParameters = (output, context) => {
@@ -3947,14 +3947,14 @@ const deserializeAws_json1_1ConnectionAuthResponseParameters = (output, context)
3947
3947
  };
3948
3948
  const deserializeAws_json1_1ConnectionBasicAuthResponseParameters = (output, context) => {
3949
3949
  return {
3950
- Username: smithy_client_1.expectString(output.Username),
3950
+ Username: (0, smithy_client_1.expectString)(output.Username),
3951
3951
  };
3952
3952
  };
3953
3953
  const deserializeAws_json1_1ConnectionBodyParameter = (output, context) => {
3954
3954
  return {
3955
- IsValueSecret: smithy_client_1.expectBoolean(output.IsValueSecret),
3956
- Key: smithy_client_1.expectString(output.Key),
3957
- Value: smithy_client_1.expectString(output.Value),
3955
+ IsValueSecret: (0, smithy_client_1.expectBoolean)(output.IsValueSecret),
3956
+ Key: (0, smithy_client_1.expectString)(output.Key),
3957
+ Value: (0, smithy_client_1.expectString)(output.Value),
3958
3958
  };
3959
3959
  };
3960
3960
  const deserializeAws_json1_1ConnectionBodyParametersList = (output, context) => {
@@ -3970,9 +3970,9 @@ const deserializeAws_json1_1ConnectionBodyParametersList = (output, context) =>
3970
3970
  };
3971
3971
  const deserializeAws_json1_1ConnectionHeaderParameter = (output, context) => {
3972
3972
  return {
3973
- IsValueSecret: smithy_client_1.expectBoolean(output.IsValueSecret),
3974
- Key: smithy_client_1.expectString(output.Key),
3975
- Value: smithy_client_1.expectString(output.Value),
3973
+ IsValueSecret: (0, smithy_client_1.expectBoolean)(output.IsValueSecret),
3974
+ Key: (0, smithy_client_1.expectString)(output.Key),
3975
+ Value: (0, smithy_client_1.expectString)(output.Value),
3976
3976
  };
3977
3977
  };
3978
3978
  const deserializeAws_json1_1ConnectionHeaderParametersList = (output, context) => {
@@ -4001,16 +4001,16 @@ const deserializeAws_json1_1ConnectionHttpParameters = (output, context) => {
4001
4001
  };
4002
4002
  const deserializeAws_json1_1ConnectionOAuthClientResponseParameters = (output, context) => {
4003
4003
  return {
4004
- ClientID: smithy_client_1.expectString(output.ClientID),
4004
+ ClientID: (0, smithy_client_1.expectString)(output.ClientID),
4005
4005
  };
4006
4006
  };
4007
4007
  const deserializeAws_json1_1ConnectionOAuthResponseParameters = (output, context) => {
4008
4008
  return {
4009
- AuthorizationEndpoint: smithy_client_1.expectString(output.AuthorizationEndpoint),
4009
+ AuthorizationEndpoint: (0, smithy_client_1.expectString)(output.AuthorizationEndpoint),
4010
4010
  ClientParameters: output.ClientParameters !== undefined && output.ClientParameters !== null
4011
4011
  ? deserializeAws_json1_1ConnectionOAuthClientResponseParameters(output.ClientParameters, context)
4012
4012
  : undefined,
4013
- HttpMethod: smithy_client_1.expectString(output.HttpMethod),
4013
+ HttpMethod: (0, smithy_client_1.expectString)(output.HttpMethod),
4014
4014
  OAuthHttpParameters: output.OAuthHttpParameters !== undefined && output.OAuthHttpParameters !== null
4015
4015
  ? deserializeAws_json1_1ConnectionHttpParameters(output.OAuthHttpParameters, context)
4016
4016
  : undefined,
@@ -4018,9 +4018,9 @@ const deserializeAws_json1_1ConnectionOAuthResponseParameters = (output, context
4018
4018
  };
4019
4019
  const deserializeAws_json1_1ConnectionQueryStringParameter = (output, context) => {
4020
4020
  return {
4021
- IsValueSecret: smithy_client_1.expectBoolean(output.IsValueSecret),
4022
- Key: smithy_client_1.expectString(output.Key),
4023
- Value: smithy_client_1.expectString(output.Value),
4021
+ IsValueSecret: (0, smithy_client_1.expectBoolean)(output.IsValueSecret),
4022
+ Key: (0, smithy_client_1.expectString)(output.Key),
4023
+ Value: (0, smithy_client_1.expectString)(output.Value),
4024
4024
  };
4025
4025
  };
4026
4026
  const deserializeAws_json1_1ConnectionQueryStringParametersList = (output, context) => {
@@ -4047,65 +4047,65 @@ const deserializeAws_json1_1ConnectionResponseList = (output, context) => {
4047
4047
  };
4048
4048
  const deserializeAws_json1_1CreateApiDestinationResponse = (output, context) => {
4049
4049
  return {
4050
- ApiDestinationArn: smithy_client_1.expectString(output.ApiDestinationArn),
4051
- ApiDestinationState: smithy_client_1.expectString(output.ApiDestinationState),
4050
+ ApiDestinationArn: (0, smithy_client_1.expectString)(output.ApiDestinationArn),
4051
+ ApiDestinationState: (0, smithy_client_1.expectString)(output.ApiDestinationState),
4052
4052
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
4053
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
4053
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
4054
4054
  : undefined,
4055
4055
  LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
4056
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedTime)))
4056
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedTime)))
4057
4057
  : undefined,
4058
4058
  };
4059
4059
  };
4060
4060
  const deserializeAws_json1_1CreateArchiveResponse = (output, context) => {
4061
4061
  return {
4062
- ArchiveArn: smithy_client_1.expectString(output.ArchiveArn),
4062
+ ArchiveArn: (0, smithy_client_1.expectString)(output.ArchiveArn),
4063
4063
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
4064
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
4064
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
4065
4065
  : undefined,
4066
- State: smithy_client_1.expectString(output.State),
4067
- StateReason: smithy_client_1.expectString(output.StateReason),
4066
+ State: (0, smithy_client_1.expectString)(output.State),
4067
+ StateReason: (0, smithy_client_1.expectString)(output.StateReason),
4068
4068
  };
4069
4069
  };
4070
4070
  const deserializeAws_json1_1CreateConnectionResponse = (output, context) => {
4071
4071
  return {
4072
- ConnectionArn: smithy_client_1.expectString(output.ConnectionArn),
4073
- ConnectionState: smithy_client_1.expectString(output.ConnectionState),
4072
+ ConnectionArn: (0, smithy_client_1.expectString)(output.ConnectionArn),
4073
+ ConnectionState: (0, smithy_client_1.expectString)(output.ConnectionState),
4074
4074
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
4075
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
4075
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
4076
4076
  : undefined,
4077
4077
  LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
4078
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedTime)))
4078
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedTime)))
4079
4079
  : undefined,
4080
4080
  };
4081
4081
  };
4082
4082
  const deserializeAws_json1_1CreateEventBusResponse = (output, context) => {
4083
4083
  return {
4084
- EventBusArn: smithy_client_1.expectString(output.EventBusArn),
4084
+ EventBusArn: (0, smithy_client_1.expectString)(output.EventBusArn),
4085
4085
  };
4086
4086
  };
4087
4087
  const deserializeAws_json1_1CreatePartnerEventSourceResponse = (output, context) => {
4088
4088
  return {
4089
- EventSourceArn: smithy_client_1.expectString(output.EventSourceArn),
4089
+ EventSourceArn: (0, smithy_client_1.expectString)(output.EventSourceArn),
4090
4090
  };
4091
4091
  };
4092
4092
  const deserializeAws_json1_1DeadLetterConfig = (output, context) => {
4093
4093
  return {
4094
- Arn: smithy_client_1.expectString(output.Arn),
4094
+ Arn: (0, smithy_client_1.expectString)(output.Arn),
4095
4095
  };
4096
4096
  };
4097
4097
  const deserializeAws_json1_1DeauthorizeConnectionResponse = (output, context) => {
4098
4098
  return {
4099
- ConnectionArn: smithy_client_1.expectString(output.ConnectionArn),
4100
- ConnectionState: smithy_client_1.expectString(output.ConnectionState),
4099
+ ConnectionArn: (0, smithy_client_1.expectString)(output.ConnectionArn),
4100
+ ConnectionState: (0, smithy_client_1.expectString)(output.ConnectionState),
4101
4101
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
4102
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
4102
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
4103
4103
  : undefined,
4104
4104
  LastAuthorizedTime: output.LastAuthorizedTime !== undefined && output.LastAuthorizedTime !== null
4105
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastAuthorizedTime)))
4105
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastAuthorizedTime)))
4106
4106
  : undefined,
4107
4107
  LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
4108
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedTime)))
4108
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedTime)))
4109
4109
  : undefined,
4110
4110
  };
4111
4111
  };
@@ -4117,52 +4117,52 @@ const deserializeAws_json1_1DeleteArchiveResponse = (output, context) => {
4117
4117
  };
4118
4118
  const deserializeAws_json1_1DeleteConnectionResponse = (output, context) => {
4119
4119
  return {
4120
- ConnectionArn: smithy_client_1.expectString(output.ConnectionArn),
4121
- ConnectionState: smithy_client_1.expectString(output.ConnectionState),
4120
+ ConnectionArn: (0, smithy_client_1.expectString)(output.ConnectionArn),
4121
+ ConnectionState: (0, smithy_client_1.expectString)(output.ConnectionState),
4122
4122
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
4123
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
4123
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
4124
4124
  : undefined,
4125
4125
  LastAuthorizedTime: output.LastAuthorizedTime !== undefined && output.LastAuthorizedTime !== null
4126
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastAuthorizedTime)))
4126
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastAuthorizedTime)))
4127
4127
  : undefined,
4128
4128
  LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
4129
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedTime)))
4129
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedTime)))
4130
4130
  : undefined,
4131
4131
  };
4132
4132
  };
4133
4133
  const deserializeAws_json1_1DescribeApiDestinationResponse = (output, context) => {
4134
4134
  return {
4135
- ApiDestinationArn: smithy_client_1.expectString(output.ApiDestinationArn),
4136
- ApiDestinationState: smithy_client_1.expectString(output.ApiDestinationState),
4137
- ConnectionArn: smithy_client_1.expectString(output.ConnectionArn),
4135
+ ApiDestinationArn: (0, smithy_client_1.expectString)(output.ApiDestinationArn),
4136
+ ApiDestinationState: (0, smithy_client_1.expectString)(output.ApiDestinationState),
4137
+ ConnectionArn: (0, smithy_client_1.expectString)(output.ConnectionArn),
4138
4138
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
4139
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
4139
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
4140
4140
  : undefined,
4141
- Description: smithy_client_1.expectString(output.Description),
4142
- HttpMethod: smithy_client_1.expectString(output.HttpMethod),
4143
- InvocationEndpoint: smithy_client_1.expectString(output.InvocationEndpoint),
4144
- InvocationRateLimitPerSecond: smithy_client_1.expectInt32(output.InvocationRateLimitPerSecond),
4141
+ Description: (0, smithy_client_1.expectString)(output.Description),
4142
+ HttpMethod: (0, smithy_client_1.expectString)(output.HttpMethod),
4143
+ InvocationEndpoint: (0, smithy_client_1.expectString)(output.InvocationEndpoint),
4144
+ InvocationRateLimitPerSecond: (0, smithy_client_1.expectInt32)(output.InvocationRateLimitPerSecond),
4145
4145
  LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
4146
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedTime)))
4146
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedTime)))
4147
4147
  : undefined,
4148
- Name: smithy_client_1.expectString(output.Name),
4148
+ Name: (0, smithy_client_1.expectString)(output.Name),
4149
4149
  };
4150
4150
  };
4151
4151
  const deserializeAws_json1_1DescribeArchiveResponse = (output, context) => {
4152
4152
  return {
4153
- ArchiveArn: smithy_client_1.expectString(output.ArchiveArn),
4154
- ArchiveName: smithy_client_1.expectString(output.ArchiveName),
4153
+ ArchiveArn: (0, smithy_client_1.expectString)(output.ArchiveArn),
4154
+ ArchiveName: (0, smithy_client_1.expectString)(output.ArchiveName),
4155
4155
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
4156
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
4156
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
4157
4157
  : undefined,
4158
- Description: smithy_client_1.expectString(output.Description),
4159
- EventCount: smithy_client_1.expectLong(output.EventCount),
4160
- EventPattern: smithy_client_1.expectString(output.EventPattern),
4161
- EventSourceArn: smithy_client_1.expectString(output.EventSourceArn),
4162
- RetentionDays: smithy_client_1.expectInt32(output.RetentionDays),
4163
- SizeBytes: smithy_client_1.expectLong(output.SizeBytes),
4164
- State: smithy_client_1.expectString(output.State),
4165
- StateReason: smithy_client_1.expectString(output.StateReason),
4158
+ Description: (0, smithy_client_1.expectString)(output.Description),
4159
+ EventCount: (0, smithy_client_1.expectLong)(output.EventCount),
4160
+ EventPattern: (0, smithy_client_1.expectString)(output.EventPattern),
4161
+ EventSourceArn: (0, smithy_client_1.expectString)(output.EventSourceArn),
4162
+ RetentionDays: (0, smithy_client_1.expectInt32)(output.RetentionDays),
4163
+ SizeBytes: (0, smithy_client_1.expectLong)(output.SizeBytes),
4164
+ State: (0, smithy_client_1.expectString)(output.State),
4165
+ StateReason: (0, smithy_client_1.expectString)(output.StateReason),
4166
4166
  };
4167
4167
  };
4168
4168
  const deserializeAws_json1_1DescribeConnectionResponse = (output, context) => {
@@ -4170,91 +4170,91 @@ const deserializeAws_json1_1DescribeConnectionResponse = (output, context) => {
4170
4170
  AuthParameters: output.AuthParameters !== undefined && output.AuthParameters !== null
4171
4171
  ? deserializeAws_json1_1ConnectionAuthResponseParameters(output.AuthParameters, context)
4172
4172
  : undefined,
4173
- AuthorizationType: smithy_client_1.expectString(output.AuthorizationType),
4174
- ConnectionArn: smithy_client_1.expectString(output.ConnectionArn),
4175
- ConnectionState: smithy_client_1.expectString(output.ConnectionState),
4173
+ AuthorizationType: (0, smithy_client_1.expectString)(output.AuthorizationType),
4174
+ ConnectionArn: (0, smithy_client_1.expectString)(output.ConnectionArn),
4175
+ ConnectionState: (0, smithy_client_1.expectString)(output.ConnectionState),
4176
4176
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
4177
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
4177
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
4178
4178
  : undefined,
4179
- Description: smithy_client_1.expectString(output.Description),
4179
+ Description: (0, smithy_client_1.expectString)(output.Description),
4180
4180
  LastAuthorizedTime: output.LastAuthorizedTime !== undefined && output.LastAuthorizedTime !== null
4181
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastAuthorizedTime)))
4181
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastAuthorizedTime)))
4182
4182
  : undefined,
4183
4183
  LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
4184
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedTime)))
4184
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedTime)))
4185
4185
  : undefined,
4186
- Name: smithy_client_1.expectString(output.Name),
4187
- SecretArn: smithy_client_1.expectString(output.SecretArn),
4188
- StateReason: smithy_client_1.expectString(output.StateReason),
4186
+ Name: (0, smithy_client_1.expectString)(output.Name),
4187
+ SecretArn: (0, smithy_client_1.expectString)(output.SecretArn),
4188
+ StateReason: (0, smithy_client_1.expectString)(output.StateReason),
4189
4189
  };
4190
4190
  };
4191
4191
  const deserializeAws_json1_1DescribeEventBusResponse = (output, context) => {
4192
4192
  return {
4193
- Arn: smithy_client_1.expectString(output.Arn),
4194
- Name: smithy_client_1.expectString(output.Name),
4195
- Policy: smithy_client_1.expectString(output.Policy),
4193
+ Arn: (0, smithy_client_1.expectString)(output.Arn),
4194
+ Name: (0, smithy_client_1.expectString)(output.Name),
4195
+ Policy: (0, smithy_client_1.expectString)(output.Policy),
4196
4196
  };
4197
4197
  };
4198
4198
  const deserializeAws_json1_1DescribeEventSourceResponse = (output, context) => {
4199
4199
  return {
4200
- Arn: smithy_client_1.expectString(output.Arn),
4201
- CreatedBy: smithy_client_1.expectString(output.CreatedBy),
4200
+ Arn: (0, smithy_client_1.expectString)(output.Arn),
4201
+ CreatedBy: (0, smithy_client_1.expectString)(output.CreatedBy),
4202
4202
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
4203
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
4203
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
4204
4204
  : undefined,
4205
4205
  ExpirationTime: output.ExpirationTime !== undefined && output.ExpirationTime !== null
4206
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ExpirationTime)))
4206
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ExpirationTime)))
4207
4207
  : undefined,
4208
- Name: smithy_client_1.expectString(output.Name),
4209
- State: smithy_client_1.expectString(output.State),
4208
+ Name: (0, smithy_client_1.expectString)(output.Name),
4209
+ State: (0, smithy_client_1.expectString)(output.State),
4210
4210
  };
4211
4211
  };
4212
4212
  const deserializeAws_json1_1DescribePartnerEventSourceResponse = (output, context) => {
4213
4213
  return {
4214
- Arn: smithy_client_1.expectString(output.Arn),
4215
- Name: smithy_client_1.expectString(output.Name),
4214
+ Arn: (0, smithy_client_1.expectString)(output.Arn),
4215
+ Name: (0, smithy_client_1.expectString)(output.Name),
4216
4216
  };
4217
4217
  };
4218
4218
  const deserializeAws_json1_1DescribeReplayResponse = (output, context) => {
4219
4219
  return {
4220
- Description: smithy_client_1.expectString(output.Description),
4220
+ Description: (0, smithy_client_1.expectString)(output.Description),
4221
4221
  Destination: output.Destination !== undefined && output.Destination !== null
4222
4222
  ? deserializeAws_json1_1ReplayDestination(output.Destination, context)
4223
4223
  : undefined,
4224
4224
  EventEndTime: output.EventEndTime !== undefined && output.EventEndTime !== null
4225
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EventEndTime)))
4225
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.EventEndTime)))
4226
4226
  : undefined,
4227
4227
  EventLastReplayedTime: output.EventLastReplayedTime !== undefined && output.EventLastReplayedTime !== null
4228
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EventLastReplayedTime)))
4228
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.EventLastReplayedTime)))
4229
4229
  : undefined,
4230
- EventSourceArn: smithy_client_1.expectString(output.EventSourceArn),
4230
+ EventSourceArn: (0, smithy_client_1.expectString)(output.EventSourceArn),
4231
4231
  EventStartTime: output.EventStartTime !== undefined && output.EventStartTime !== null
4232
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EventStartTime)))
4232
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.EventStartTime)))
4233
4233
  : undefined,
4234
- ReplayArn: smithy_client_1.expectString(output.ReplayArn),
4234
+ ReplayArn: (0, smithy_client_1.expectString)(output.ReplayArn),
4235
4235
  ReplayEndTime: output.ReplayEndTime !== undefined && output.ReplayEndTime !== null
4236
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ReplayEndTime)))
4236
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ReplayEndTime)))
4237
4237
  : undefined,
4238
- ReplayName: smithy_client_1.expectString(output.ReplayName),
4238
+ ReplayName: (0, smithy_client_1.expectString)(output.ReplayName),
4239
4239
  ReplayStartTime: output.ReplayStartTime !== undefined && output.ReplayStartTime !== null
4240
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ReplayStartTime)))
4240
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ReplayStartTime)))
4241
4241
  : undefined,
4242
- State: smithy_client_1.expectString(output.State),
4243
- StateReason: smithy_client_1.expectString(output.StateReason),
4242
+ State: (0, smithy_client_1.expectString)(output.State),
4243
+ StateReason: (0, smithy_client_1.expectString)(output.StateReason),
4244
4244
  };
4245
4245
  };
4246
4246
  const deserializeAws_json1_1DescribeRuleResponse = (output, context) => {
4247
4247
  return {
4248
- Arn: smithy_client_1.expectString(output.Arn),
4249
- CreatedBy: smithy_client_1.expectString(output.CreatedBy),
4250
- Description: smithy_client_1.expectString(output.Description),
4251
- EventBusName: smithy_client_1.expectString(output.EventBusName),
4252
- EventPattern: smithy_client_1.expectString(output.EventPattern),
4253
- ManagedBy: smithy_client_1.expectString(output.ManagedBy),
4254
- Name: smithy_client_1.expectString(output.Name),
4255
- RoleArn: smithy_client_1.expectString(output.RoleArn),
4256
- ScheduleExpression: smithy_client_1.expectString(output.ScheduleExpression),
4257
- State: smithy_client_1.expectString(output.State),
4248
+ Arn: (0, smithy_client_1.expectString)(output.Arn),
4249
+ CreatedBy: (0, smithy_client_1.expectString)(output.CreatedBy),
4250
+ Description: (0, smithy_client_1.expectString)(output.Description),
4251
+ EventBusName: (0, smithy_client_1.expectString)(output.EventBusName),
4252
+ EventPattern: (0, smithy_client_1.expectString)(output.EventPattern),
4253
+ ManagedBy: (0, smithy_client_1.expectString)(output.ManagedBy),
4254
+ Name: (0, smithy_client_1.expectString)(output.Name),
4255
+ RoleArn: (0, smithy_client_1.expectString)(output.RoleArn),
4256
+ ScheduleExpression: (0, smithy_client_1.expectString)(output.ScheduleExpression),
4257
+ State: (0, smithy_client_1.expectString)(output.State),
4258
4258
  };
4259
4259
  };
4260
4260
  const deserializeAws_json1_1EcsParameters = (output, context) => {
@@ -4262,10 +4262,10 @@ const deserializeAws_json1_1EcsParameters = (output, context) => {
4262
4262
  CapacityProviderStrategy: output.CapacityProviderStrategy !== undefined && output.CapacityProviderStrategy !== null
4263
4263
  ? deserializeAws_json1_1CapacityProviderStrategy(output.CapacityProviderStrategy, context)
4264
4264
  : undefined,
4265
- EnableECSManagedTags: smithy_client_1.expectBoolean(output.EnableECSManagedTags),
4266
- EnableExecuteCommand: smithy_client_1.expectBoolean(output.EnableExecuteCommand),
4267
- Group: smithy_client_1.expectString(output.Group),
4268
- LaunchType: smithy_client_1.expectString(output.LaunchType),
4265
+ EnableECSManagedTags: (0, smithy_client_1.expectBoolean)(output.EnableECSManagedTags),
4266
+ EnableExecuteCommand: (0, smithy_client_1.expectBoolean)(output.EnableExecuteCommand),
4267
+ Group: (0, smithy_client_1.expectString)(output.Group),
4268
+ LaunchType: (0, smithy_client_1.expectString)(output.LaunchType),
4269
4269
  NetworkConfiguration: output.NetworkConfiguration !== undefined && output.NetworkConfiguration !== null
4270
4270
  ? deserializeAws_json1_1NetworkConfiguration(output.NetworkConfiguration, context)
4271
4271
  : undefined,
@@ -4275,21 +4275,21 @@ const deserializeAws_json1_1EcsParameters = (output, context) => {
4275
4275
  PlacementStrategy: output.PlacementStrategy !== undefined && output.PlacementStrategy !== null
4276
4276
  ? deserializeAws_json1_1PlacementStrategies(output.PlacementStrategy, context)
4277
4277
  : undefined,
4278
- PlatformVersion: smithy_client_1.expectString(output.PlatformVersion),
4279
- PropagateTags: smithy_client_1.expectString(output.PropagateTags),
4280
- ReferenceId: smithy_client_1.expectString(output.ReferenceId),
4278
+ PlatformVersion: (0, smithy_client_1.expectString)(output.PlatformVersion),
4279
+ PropagateTags: (0, smithy_client_1.expectString)(output.PropagateTags),
4280
+ ReferenceId: (0, smithy_client_1.expectString)(output.ReferenceId),
4281
4281
  Tags: output.Tags !== undefined && output.Tags !== null
4282
4282
  ? deserializeAws_json1_1TagList(output.Tags, context)
4283
4283
  : undefined,
4284
- TaskCount: smithy_client_1.expectInt32(output.TaskCount),
4285
- TaskDefinitionArn: smithy_client_1.expectString(output.TaskDefinitionArn),
4284
+ TaskCount: (0, smithy_client_1.expectInt32)(output.TaskCount),
4285
+ TaskDefinitionArn: (0, smithy_client_1.expectString)(output.TaskDefinitionArn),
4286
4286
  };
4287
4287
  };
4288
4288
  const deserializeAws_json1_1EventBus = (output, context) => {
4289
4289
  return {
4290
- Arn: smithy_client_1.expectString(output.Arn),
4291
- Name: smithy_client_1.expectString(output.Name),
4292
- Policy: smithy_client_1.expectString(output.Policy),
4290
+ Arn: (0, smithy_client_1.expectString)(output.Arn),
4291
+ Name: (0, smithy_client_1.expectString)(output.Name),
4292
+ Policy: (0, smithy_client_1.expectString)(output.Policy),
4293
4293
  };
4294
4294
  };
4295
4295
  const deserializeAws_json1_1EventBusList = (output, context) => {
@@ -4305,16 +4305,16 @@ const deserializeAws_json1_1EventBusList = (output, context) => {
4305
4305
  };
4306
4306
  const deserializeAws_json1_1EventSource = (output, context) => {
4307
4307
  return {
4308
- Arn: smithy_client_1.expectString(output.Arn),
4309
- CreatedBy: smithy_client_1.expectString(output.CreatedBy),
4308
+ Arn: (0, smithy_client_1.expectString)(output.Arn),
4309
+ CreatedBy: (0, smithy_client_1.expectString)(output.CreatedBy),
4310
4310
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
4311
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
4311
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
4312
4312
  : undefined,
4313
4313
  ExpirationTime: output.ExpirationTime !== undefined && output.ExpirationTime !== null
4314
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ExpirationTime)))
4314
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ExpirationTime)))
4315
4315
  : undefined,
4316
- Name: smithy_client_1.expectString(output.Name),
4317
- State: smithy_client_1.expectString(output.State),
4316
+ Name: (0, smithy_client_1.expectString)(output.Name),
4317
+ State: (0, smithy_client_1.expectString)(output.State),
4318
4318
  };
4319
4319
  };
4320
4320
  const deserializeAws_json1_1EventSourceList = (output, context) => {
@@ -4335,7 +4335,7 @@ const deserializeAws_json1_1HeaderParametersMap = (output, context) => {
4335
4335
  }
4336
4336
  return {
4337
4337
  ...acc,
4338
- [key]: smithy_client_1.expectString(value),
4338
+ [key]: (0, smithy_client_1.expectString)(value),
4339
4339
  };
4340
4340
  }, {});
4341
4341
  };
@@ -4354,7 +4354,7 @@ const deserializeAws_json1_1HttpParameters = (output, context) => {
4354
4354
  };
4355
4355
  const deserializeAws_json1_1IllegalStatusException = (output, context) => {
4356
4356
  return {
4357
- message: smithy_client_1.expectString(output.message),
4357
+ message: (0, smithy_client_1.expectString)(output.message),
4358
4358
  };
4359
4359
  };
4360
4360
  const deserializeAws_json1_1InputTransformer = (output, context) => {
@@ -4362,32 +4362,32 @@ const deserializeAws_json1_1InputTransformer = (output, context) => {
4362
4362
  InputPathsMap: output.InputPathsMap !== undefined && output.InputPathsMap !== null
4363
4363
  ? deserializeAws_json1_1TransformerPaths(output.InputPathsMap, context)
4364
4364
  : undefined,
4365
- InputTemplate: smithy_client_1.expectString(output.InputTemplate),
4365
+ InputTemplate: (0, smithy_client_1.expectString)(output.InputTemplate),
4366
4366
  };
4367
4367
  };
4368
4368
  const deserializeAws_json1_1InternalException = (output, context) => {
4369
4369
  return {
4370
- message: smithy_client_1.expectString(output.message),
4370
+ message: (0, smithy_client_1.expectString)(output.message),
4371
4371
  };
4372
4372
  };
4373
4373
  const deserializeAws_json1_1InvalidEventPatternException = (output, context) => {
4374
4374
  return {
4375
- message: smithy_client_1.expectString(output.message),
4375
+ message: (0, smithy_client_1.expectString)(output.message),
4376
4376
  };
4377
4377
  };
4378
4378
  const deserializeAws_json1_1InvalidStateException = (output, context) => {
4379
4379
  return {
4380
- message: smithy_client_1.expectString(output.message),
4380
+ message: (0, smithy_client_1.expectString)(output.message),
4381
4381
  };
4382
4382
  };
4383
4383
  const deserializeAws_json1_1KinesisParameters = (output, context) => {
4384
4384
  return {
4385
- PartitionKeyPath: smithy_client_1.expectString(output.PartitionKeyPath),
4385
+ PartitionKeyPath: (0, smithy_client_1.expectString)(output.PartitionKeyPath),
4386
4386
  };
4387
4387
  };
4388
4388
  const deserializeAws_json1_1LimitExceededException = (output, context) => {
4389
4389
  return {
4390
- message: smithy_client_1.expectString(output.message),
4390
+ message: (0, smithy_client_1.expectString)(output.message),
4391
4391
  };
4392
4392
  };
4393
4393
  const deserializeAws_json1_1ListApiDestinationsResponse = (output, context) => {
@@ -4395,7 +4395,7 @@ const deserializeAws_json1_1ListApiDestinationsResponse = (output, context) => {
4395
4395
  ApiDestinations: output.ApiDestinations !== undefined && output.ApiDestinations !== null
4396
4396
  ? deserializeAws_json1_1ApiDestinationResponseList(output.ApiDestinations, context)
4397
4397
  : undefined,
4398
- NextToken: smithy_client_1.expectString(output.NextToken),
4398
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
4399
4399
  };
4400
4400
  };
4401
4401
  const deserializeAws_json1_1ListArchivesResponse = (output, context) => {
@@ -4403,7 +4403,7 @@ const deserializeAws_json1_1ListArchivesResponse = (output, context) => {
4403
4403
  Archives: output.Archives !== undefined && output.Archives !== null
4404
4404
  ? deserializeAws_json1_1ArchiveResponseList(output.Archives, context)
4405
4405
  : undefined,
4406
- NextToken: smithy_client_1.expectString(output.NextToken),
4406
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
4407
4407
  };
4408
4408
  };
4409
4409
  const deserializeAws_json1_1ListConnectionsResponse = (output, context) => {
@@ -4411,7 +4411,7 @@ const deserializeAws_json1_1ListConnectionsResponse = (output, context) => {
4411
4411
  Connections: output.Connections !== undefined && output.Connections !== null
4412
4412
  ? deserializeAws_json1_1ConnectionResponseList(output.Connections, context)
4413
4413
  : undefined,
4414
- NextToken: smithy_client_1.expectString(output.NextToken),
4414
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
4415
4415
  };
4416
4416
  };
4417
4417
  const deserializeAws_json1_1ListEventBusesResponse = (output, context) => {
@@ -4419,7 +4419,7 @@ const deserializeAws_json1_1ListEventBusesResponse = (output, context) => {
4419
4419
  EventBuses: output.EventBuses !== undefined && output.EventBuses !== null
4420
4420
  ? deserializeAws_json1_1EventBusList(output.EventBuses, context)
4421
4421
  : undefined,
4422
- NextToken: smithy_client_1.expectString(output.NextToken),
4422
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
4423
4423
  };
4424
4424
  };
4425
4425
  const deserializeAws_json1_1ListEventSourcesResponse = (output, context) => {
@@ -4427,12 +4427,12 @@ const deserializeAws_json1_1ListEventSourcesResponse = (output, context) => {
4427
4427
  EventSources: output.EventSources !== undefined && output.EventSources !== null
4428
4428
  ? deserializeAws_json1_1EventSourceList(output.EventSources, context)
4429
4429
  : undefined,
4430
- NextToken: smithy_client_1.expectString(output.NextToken),
4430
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
4431
4431
  };
4432
4432
  };
4433
4433
  const deserializeAws_json1_1ListPartnerEventSourceAccountsResponse = (output, context) => {
4434
4434
  return {
4435
- NextToken: smithy_client_1.expectString(output.NextToken),
4435
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
4436
4436
  PartnerEventSourceAccounts: output.PartnerEventSourceAccounts !== undefined && output.PartnerEventSourceAccounts !== null
4437
4437
  ? deserializeAws_json1_1PartnerEventSourceAccountList(output.PartnerEventSourceAccounts, context)
4438
4438
  : undefined,
@@ -4440,7 +4440,7 @@ const deserializeAws_json1_1ListPartnerEventSourceAccountsResponse = (output, co
4440
4440
  };
4441
4441
  const deserializeAws_json1_1ListPartnerEventSourcesResponse = (output, context) => {
4442
4442
  return {
4443
- NextToken: smithy_client_1.expectString(output.NextToken),
4443
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
4444
4444
  PartnerEventSources: output.PartnerEventSources !== undefined && output.PartnerEventSources !== null
4445
4445
  ? deserializeAws_json1_1PartnerEventSourceList(output.PartnerEventSources, context)
4446
4446
  : undefined,
@@ -4448,7 +4448,7 @@ const deserializeAws_json1_1ListPartnerEventSourcesResponse = (output, context)
4448
4448
  };
4449
4449
  const deserializeAws_json1_1ListReplaysResponse = (output, context) => {
4450
4450
  return {
4451
- NextToken: smithy_client_1.expectString(output.NextToken),
4451
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
4452
4452
  Replays: output.Replays !== undefined && output.Replays !== null
4453
4453
  ? deserializeAws_json1_1ReplayList(output.Replays, context)
4454
4454
  : undefined,
@@ -4456,7 +4456,7 @@ const deserializeAws_json1_1ListReplaysResponse = (output, context) => {
4456
4456
  };
4457
4457
  const deserializeAws_json1_1ListRuleNamesByTargetResponse = (output, context) => {
4458
4458
  return {
4459
- NextToken: smithy_client_1.expectString(output.NextToken),
4459
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
4460
4460
  RuleNames: output.RuleNames !== undefined && output.RuleNames !== null
4461
4461
  ? deserializeAws_json1_1RuleNameList(output.RuleNames, context)
4462
4462
  : undefined,
@@ -4464,7 +4464,7 @@ const deserializeAws_json1_1ListRuleNamesByTargetResponse = (output, context) =>
4464
4464
  };
4465
4465
  const deserializeAws_json1_1ListRulesResponse = (output, context) => {
4466
4466
  return {
4467
- NextToken: smithy_client_1.expectString(output.NextToken),
4467
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
4468
4468
  Rules: output.Rules !== undefined && output.Rules !== null
4469
4469
  ? deserializeAws_json1_1RuleResponseList(output.Rules, context)
4470
4470
  : undefined,
@@ -4479,7 +4479,7 @@ const deserializeAws_json1_1ListTagsForResourceResponse = (output, context) => {
4479
4479
  };
4480
4480
  const deserializeAws_json1_1ListTargetsByRuleResponse = (output, context) => {
4481
4481
  return {
4482
- NextToken: smithy_client_1.expectString(output.NextToken),
4482
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
4483
4483
  Targets: output.Targets !== undefined && output.Targets !== null
4484
4484
  ? deserializeAws_json1_1TargetList(output.Targets, context)
4485
4485
  : undefined,
@@ -4487,7 +4487,7 @@ const deserializeAws_json1_1ListTargetsByRuleResponse = (output, context) => {
4487
4487
  };
4488
4488
  const deserializeAws_json1_1ManagedRuleException = (output, context) => {
4489
4489
  return {
4490
- message: smithy_client_1.expectString(output.message),
4490
+ message: (0, smithy_client_1.expectString)(output.message),
4491
4491
  };
4492
4492
  };
4493
4493
  const deserializeAws_json1_1NetworkConfiguration = (output, context) => {
@@ -4499,25 +4499,25 @@ const deserializeAws_json1_1NetworkConfiguration = (output, context) => {
4499
4499
  };
4500
4500
  const deserializeAws_json1_1OperationDisabledException = (output, context) => {
4501
4501
  return {
4502
- message: smithy_client_1.expectString(output.message),
4502
+ message: (0, smithy_client_1.expectString)(output.message),
4503
4503
  };
4504
4504
  };
4505
4505
  const deserializeAws_json1_1PartnerEventSource = (output, context) => {
4506
4506
  return {
4507
- Arn: smithy_client_1.expectString(output.Arn),
4508
- Name: smithy_client_1.expectString(output.Name),
4507
+ Arn: (0, smithy_client_1.expectString)(output.Arn),
4508
+ Name: (0, smithy_client_1.expectString)(output.Name),
4509
4509
  };
4510
4510
  };
4511
4511
  const deserializeAws_json1_1PartnerEventSourceAccount = (output, context) => {
4512
4512
  return {
4513
- Account: smithy_client_1.expectString(output.Account),
4513
+ Account: (0, smithy_client_1.expectString)(output.Account),
4514
4514
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
4515
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
4515
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
4516
4516
  : undefined,
4517
4517
  ExpirationTime: output.ExpirationTime !== undefined && output.ExpirationTime !== null
4518
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ExpirationTime)))
4518
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ExpirationTime)))
4519
4519
  : undefined,
4520
- State: smithy_client_1.expectString(output.State),
4520
+ State: (0, smithy_client_1.expectString)(output.State),
4521
4521
  };
4522
4522
  };
4523
4523
  const deserializeAws_json1_1PartnerEventSourceAccountList = (output, context) => {
@@ -4549,14 +4549,14 @@ const deserializeAws_json1_1PathParameterList = (output, context) => {
4549
4549
  if (entry === null) {
4550
4550
  return null;
4551
4551
  }
4552
- return smithy_client_1.expectString(entry);
4552
+ return (0, smithy_client_1.expectString)(entry);
4553
4553
  });
4554
4554
  return retVal;
4555
4555
  };
4556
4556
  const deserializeAws_json1_1PlacementConstraint = (output, context) => {
4557
4557
  return {
4558
- expression: smithy_client_1.expectString(output.expression),
4559
- type: smithy_client_1.expectString(output.type),
4558
+ expression: (0, smithy_client_1.expectString)(output.expression),
4559
+ type: (0, smithy_client_1.expectString)(output.type),
4560
4560
  };
4561
4561
  };
4562
4562
  const deserializeAws_json1_1PlacementConstraints = (output, context) => {
@@ -4583,13 +4583,13 @@ const deserializeAws_json1_1PlacementStrategies = (output, context) => {
4583
4583
  };
4584
4584
  const deserializeAws_json1_1PlacementStrategy = (output, context) => {
4585
4585
  return {
4586
- field: smithy_client_1.expectString(output.field),
4587
- type: smithy_client_1.expectString(output.type),
4586
+ field: (0, smithy_client_1.expectString)(output.field),
4587
+ type: (0, smithy_client_1.expectString)(output.type),
4588
4588
  };
4589
4589
  };
4590
4590
  const deserializeAws_json1_1PolicyLengthExceededException = (output, context) => {
4591
4591
  return {
4592
- message: smithy_client_1.expectString(output.message),
4592
+ message: (0, smithy_client_1.expectString)(output.message),
4593
4593
  };
4594
4594
  };
4595
4595
  const deserializeAws_json1_1PutEventsResponse = (output, context) => {
@@ -4597,14 +4597,14 @@ const deserializeAws_json1_1PutEventsResponse = (output, context) => {
4597
4597
  Entries: output.Entries !== undefined && output.Entries !== null
4598
4598
  ? deserializeAws_json1_1PutEventsResultEntryList(output.Entries, context)
4599
4599
  : undefined,
4600
- FailedEntryCount: smithy_client_1.expectInt32(output.FailedEntryCount),
4600
+ FailedEntryCount: (0, smithy_client_1.expectInt32)(output.FailedEntryCount),
4601
4601
  };
4602
4602
  };
4603
4603
  const deserializeAws_json1_1PutEventsResultEntry = (output, context) => {
4604
4604
  return {
4605
- ErrorCode: smithy_client_1.expectString(output.ErrorCode),
4606
- ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
4607
- EventId: smithy_client_1.expectString(output.EventId),
4605
+ ErrorCode: (0, smithy_client_1.expectString)(output.ErrorCode),
4606
+ ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
4607
+ EventId: (0, smithy_client_1.expectString)(output.EventId),
4608
4608
  };
4609
4609
  };
4610
4610
  const deserializeAws_json1_1PutEventsResultEntryList = (output, context) => {
@@ -4623,14 +4623,14 @@ const deserializeAws_json1_1PutPartnerEventsResponse = (output, context) => {
4623
4623
  Entries: output.Entries !== undefined && output.Entries !== null
4624
4624
  ? deserializeAws_json1_1PutPartnerEventsResultEntryList(output.Entries, context)
4625
4625
  : undefined,
4626
- FailedEntryCount: smithy_client_1.expectInt32(output.FailedEntryCount),
4626
+ FailedEntryCount: (0, smithy_client_1.expectInt32)(output.FailedEntryCount),
4627
4627
  };
4628
4628
  };
4629
4629
  const deserializeAws_json1_1PutPartnerEventsResultEntry = (output, context) => {
4630
4630
  return {
4631
- ErrorCode: smithy_client_1.expectString(output.ErrorCode),
4632
- ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
4633
- EventId: smithy_client_1.expectString(output.EventId),
4631
+ ErrorCode: (0, smithy_client_1.expectString)(output.ErrorCode),
4632
+ ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
4633
+ EventId: (0, smithy_client_1.expectString)(output.EventId),
4634
4634
  };
4635
4635
  };
4636
4636
  const deserializeAws_json1_1PutPartnerEventsResultEntryList = (output, context) => {
@@ -4646,7 +4646,7 @@ const deserializeAws_json1_1PutPartnerEventsResultEntryList = (output, context)
4646
4646
  };
4647
4647
  const deserializeAws_json1_1PutRuleResponse = (output, context) => {
4648
4648
  return {
4649
- RuleArn: smithy_client_1.expectString(output.RuleArn),
4649
+ RuleArn: (0, smithy_client_1.expectString)(output.RuleArn),
4650
4650
  };
4651
4651
  };
4652
4652
  const deserializeAws_json1_1PutTargetsResponse = (output, context) => {
@@ -4654,14 +4654,14 @@ const deserializeAws_json1_1PutTargetsResponse = (output, context) => {
4654
4654
  FailedEntries: output.FailedEntries !== undefined && output.FailedEntries !== null
4655
4655
  ? deserializeAws_json1_1PutTargetsResultEntryList(output.FailedEntries, context)
4656
4656
  : undefined,
4657
- FailedEntryCount: smithy_client_1.expectInt32(output.FailedEntryCount),
4657
+ FailedEntryCount: (0, smithy_client_1.expectInt32)(output.FailedEntryCount),
4658
4658
  };
4659
4659
  };
4660
4660
  const deserializeAws_json1_1PutTargetsResultEntry = (output, context) => {
4661
4661
  return {
4662
- ErrorCode: smithy_client_1.expectString(output.ErrorCode),
4663
- ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
4664
- TargetId: smithy_client_1.expectString(output.TargetId),
4662
+ ErrorCode: (0, smithy_client_1.expectString)(output.ErrorCode),
4663
+ ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
4664
+ TargetId: (0, smithy_client_1.expectString)(output.TargetId),
4665
4665
  };
4666
4666
  };
4667
4667
  const deserializeAws_json1_1PutTargetsResultEntryList = (output, context) => {
@@ -4682,18 +4682,18 @@ const deserializeAws_json1_1QueryStringParametersMap = (output, context) => {
4682
4682
  }
4683
4683
  return {
4684
4684
  ...acc,
4685
- [key]: smithy_client_1.expectString(value),
4685
+ [key]: (0, smithy_client_1.expectString)(value),
4686
4686
  };
4687
4687
  }, {});
4688
4688
  };
4689
4689
  const deserializeAws_json1_1RedshiftDataParameters = (output, context) => {
4690
4690
  return {
4691
- Database: smithy_client_1.expectString(output.Database),
4692
- DbUser: smithy_client_1.expectString(output.DbUser),
4693
- SecretManagerArn: smithy_client_1.expectString(output.SecretManagerArn),
4694
- Sql: smithy_client_1.expectString(output.Sql),
4695
- StatementName: smithy_client_1.expectString(output.StatementName),
4696
- WithEvent: smithy_client_1.expectBoolean(output.WithEvent),
4691
+ Database: (0, smithy_client_1.expectString)(output.Database),
4692
+ DbUser: (0, smithy_client_1.expectString)(output.DbUser),
4693
+ SecretManagerArn: (0, smithy_client_1.expectString)(output.SecretManagerArn),
4694
+ Sql: (0, smithy_client_1.expectString)(output.Sql),
4695
+ StatementName: (0, smithy_client_1.expectString)(output.StatementName),
4696
+ WithEvent: (0, smithy_client_1.expectBoolean)(output.WithEvent),
4697
4697
  };
4698
4698
  };
4699
4699
  const deserializeAws_json1_1RemoveTargetsResponse = (output, context) => {
@@ -4701,14 +4701,14 @@ const deserializeAws_json1_1RemoveTargetsResponse = (output, context) => {
4701
4701
  FailedEntries: output.FailedEntries !== undefined && output.FailedEntries !== null
4702
4702
  ? deserializeAws_json1_1RemoveTargetsResultEntryList(output.FailedEntries, context)
4703
4703
  : undefined,
4704
- FailedEntryCount: smithy_client_1.expectInt32(output.FailedEntryCount),
4704
+ FailedEntryCount: (0, smithy_client_1.expectInt32)(output.FailedEntryCount),
4705
4705
  };
4706
4706
  };
4707
4707
  const deserializeAws_json1_1RemoveTargetsResultEntry = (output, context) => {
4708
4708
  return {
4709
- ErrorCode: smithy_client_1.expectString(output.ErrorCode),
4710
- ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
4711
- TargetId: smithy_client_1.expectString(output.TargetId),
4709
+ ErrorCode: (0, smithy_client_1.expectString)(output.ErrorCode),
4710
+ ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
4711
+ TargetId: (0, smithy_client_1.expectString)(output.TargetId),
4712
4712
  };
4713
4713
  };
4714
4714
  const deserializeAws_json1_1RemoveTargetsResultEntryList = (output, context) => {
@@ -4725,29 +4725,29 @@ const deserializeAws_json1_1RemoveTargetsResultEntryList = (output, context) =>
4725
4725
  const deserializeAws_json1_1Replay = (output, context) => {
4726
4726
  return {
4727
4727
  EventEndTime: output.EventEndTime !== undefined && output.EventEndTime !== null
4728
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EventEndTime)))
4728
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.EventEndTime)))
4729
4729
  : undefined,
4730
4730
  EventLastReplayedTime: output.EventLastReplayedTime !== undefined && output.EventLastReplayedTime !== null
4731
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EventLastReplayedTime)))
4731
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.EventLastReplayedTime)))
4732
4732
  : undefined,
4733
- EventSourceArn: smithy_client_1.expectString(output.EventSourceArn),
4733
+ EventSourceArn: (0, smithy_client_1.expectString)(output.EventSourceArn),
4734
4734
  EventStartTime: output.EventStartTime !== undefined && output.EventStartTime !== null
4735
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EventStartTime)))
4735
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.EventStartTime)))
4736
4736
  : undefined,
4737
4737
  ReplayEndTime: output.ReplayEndTime !== undefined && output.ReplayEndTime !== null
4738
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ReplayEndTime)))
4738
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ReplayEndTime)))
4739
4739
  : undefined,
4740
- ReplayName: smithy_client_1.expectString(output.ReplayName),
4740
+ ReplayName: (0, smithy_client_1.expectString)(output.ReplayName),
4741
4741
  ReplayStartTime: output.ReplayStartTime !== undefined && output.ReplayStartTime !== null
4742
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ReplayStartTime)))
4742
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ReplayStartTime)))
4743
4743
  : undefined,
4744
- State: smithy_client_1.expectString(output.State),
4745
- StateReason: smithy_client_1.expectString(output.StateReason),
4744
+ State: (0, smithy_client_1.expectString)(output.State),
4745
+ StateReason: (0, smithy_client_1.expectString)(output.StateReason),
4746
4746
  };
4747
4747
  };
4748
4748
  const deserializeAws_json1_1ReplayDestination = (output, context) => {
4749
4749
  return {
4750
- Arn: smithy_client_1.expectString(output.Arn),
4750
+ Arn: (0, smithy_client_1.expectString)(output.Arn),
4751
4751
  FilterArns: output.FilterArns !== undefined && output.FilterArns !== null
4752
4752
  ? deserializeAws_json1_1ReplayDestinationFilters(output.FilterArns, context)
4753
4753
  : undefined,
@@ -4760,7 +4760,7 @@ const deserializeAws_json1_1ReplayDestinationFilters = (output, context) => {
4760
4760
  if (entry === null) {
4761
4761
  return null;
4762
4762
  }
4763
- return smithy_client_1.expectString(entry);
4763
+ return (0, smithy_client_1.expectString)(entry);
4764
4764
  });
4765
4765
  return retVal;
4766
4766
  };
@@ -4777,31 +4777,31 @@ const deserializeAws_json1_1ReplayList = (output, context) => {
4777
4777
  };
4778
4778
  const deserializeAws_json1_1ResourceAlreadyExistsException = (output, context) => {
4779
4779
  return {
4780
- message: smithy_client_1.expectString(output.message),
4780
+ message: (0, smithy_client_1.expectString)(output.message),
4781
4781
  };
4782
4782
  };
4783
4783
  const deserializeAws_json1_1ResourceNotFoundException = (output, context) => {
4784
4784
  return {
4785
- message: smithy_client_1.expectString(output.message),
4785
+ message: (0, smithy_client_1.expectString)(output.message),
4786
4786
  };
4787
4787
  };
4788
4788
  const deserializeAws_json1_1RetryPolicy = (output, context) => {
4789
4789
  return {
4790
- MaximumEventAgeInSeconds: smithy_client_1.expectInt32(output.MaximumEventAgeInSeconds),
4791
- MaximumRetryAttempts: smithy_client_1.expectInt32(output.MaximumRetryAttempts),
4790
+ MaximumEventAgeInSeconds: (0, smithy_client_1.expectInt32)(output.MaximumEventAgeInSeconds),
4791
+ MaximumRetryAttempts: (0, smithy_client_1.expectInt32)(output.MaximumRetryAttempts),
4792
4792
  };
4793
4793
  };
4794
4794
  const deserializeAws_json1_1Rule = (output, context) => {
4795
4795
  return {
4796
- Arn: smithy_client_1.expectString(output.Arn),
4797
- Description: smithy_client_1.expectString(output.Description),
4798
- EventBusName: smithy_client_1.expectString(output.EventBusName),
4799
- EventPattern: smithy_client_1.expectString(output.EventPattern),
4800
- ManagedBy: smithy_client_1.expectString(output.ManagedBy),
4801
- Name: smithy_client_1.expectString(output.Name),
4802
- RoleArn: smithy_client_1.expectString(output.RoleArn),
4803
- ScheduleExpression: smithy_client_1.expectString(output.ScheduleExpression),
4804
- State: smithy_client_1.expectString(output.State),
4796
+ Arn: (0, smithy_client_1.expectString)(output.Arn),
4797
+ Description: (0, smithy_client_1.expectString)(output.Description),
4798
+ EventBusName: (0, smithy_client_1.expectString)(output.EventBusName),
4799
+ EventPattern: (0, smithy_client_1.expectString)(output.EventPattern),
4800
+ ManagedBy: (0, smithy_client_1.expectString)(output.ManagedBy),
4801
+ Name: (0, smithy_client_1.expectString)(output.Name),
4802
+ RoleArn: (0, smithy_client_1.expectString)(output.RoleArn),
4803
+ ScheduleExpression: (0, smithy_client_1.expectString)(output.ScheduleExpression),
4804
+ State: (0, smithy_client_1.expectString)(output.State),
4805
4805
  };
4806
4806
  };
4807
4807
  const deserializeAws_json1_1RuleNameList = (output, context) => {
@@ -4811,7 +4811,7 @@ const deserializeAws_json1_1RuleNameList = (output, context) => {
4811
4811
  if (entry === null) {
4812
4812
  return null;
4813
4813
  }
4814
- return smithy_client_1.expectString(entry);
4814
+ return (0, smithy_client_1.expectString)(entry);
4815
4815
  });
4816
4816
  return retVal;
4817
4817
  };
@@ -4835,7 +4835,7 @@ const deserializeAws_json1_1RunCommandParameters = (output, context) => {
4835
4835
  };
4836
4836
  const deserializeAws_json1_1RunCommandTarget = (output, context) => {
4837
4837
  return {
4838
- Key: smithy_client_1.expectString(output.Key),
4838
+ Key: (0, smithy_client_1.expectString)(output.Key),
4839
4839
  Values: output.Values !== undefined && output.Values !== null
4840
4840
  ? deserializeAws_json1_1RunCommandTargetValues(output.Values, context)
4841
4841
  : undefined,
@@ -4859,14 +4859,14 @@ const deserializeAws_json1_1RunCommandTargetValues = (output, context) => {
4859
4859
  if (entry === null) {
4860
4860
  return null;
4861
4861
  }
4862
- return smithy_client_1.expectString(entry);
4862
+ return (0, smithy_client_1.expectString)(entry);
4863
4863
  });
4864
4864
  return retVal;
4865
4865
  };
4866
4866
  const deserializeAws_json1_1SageMakerPipelineParameter = (output, context) => {
4867
4867
  return {
4868
- Name: smithy_client_1.expectString(output.Name),
4869
- Value: smithy_client_1.expectString(output.Value),
4868
+ Name: (0, smithy_client_1.expectString)(output.Name),
4869
+ Value: (0, smithy_client_1.expectString)(output.Value),
4870
4870
  };
4871
4871
  };
4872
4872
  const deserializeAws_json1_1SageMakerPipelineParameterList = (output, context) => {
@@ -4889,17 +4889,17 @@ const deserializeAws_json1_1SageMakerPipelineParameters = (output, context) => {
4889
4889
  };
4890
4890
  const deserializeAws_json1_1SqsParameters = (output, context) => {
4891
4891
  return {
4892
- MessageGroupId: smithy_client_1.expectString(output.MessageGroupId),
4892
+ MessageGroupId: (0, smithy_client_1.expectString)(output.MessageGroupId),
4893
4893
  };
4894
4894
  };
4895
4895
  const deserializeAws_json1_1StartReplayResponse = (output, context) => {
4896
4896
  return {
4897
- ReplayArn: smithy_client_1.expectString(output.ReplayArn),
4897
+ ReplayArn: (0, smithy_client_1.expectString)(output.ReplayArn),
4898
4898
  ReplayStartTime: output.ReplayStartTime !== undefined && output.ReplayStartTime !== null
4899
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ReplayStartTime)))
4899
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ReplayStartTime)))
4900
4900
  : undefined,
4901
- State: smithy_client_1.expectString(output.State),
4902
- StateReason: smithy_client_1.expectString(output.StateReason),
4901
+ State: (0, smithy_client_1.expectString)(output.State),
4902
+ StateReason: (0, smithy_client_1.expectString)(output.StateReason),
4903
4903
  };
4904
4904
  };
4905
4905
  const deserializeAws_json1_1StringList = (output, context) => {
@@ -4909,14 +4909,14 @@ const deserializeAws_json1_1StringList = (output, context) => {
4909
4909
  if (entry === null) {
4910
4910
  return null;
4911
4911
  }
4912
- return smithy_client_1.expectString(entry);
4912
+ return (0, smithy_client_1.expectString)(entry);
4913
4913
  });
4914
4914
  return retVal;
4915
4915
  };
4916
4916
  const deserializeAws_json1_1Tag = (output, context) => {
4917
4917
  return {
4918
- Key: smithy_client_1.expectString(output.Key),
4919
- Value: smithy_client_1.expectString(output.Value),
4918
+ Key: (0, smithy_client_1.expectString)(output.Key),
4919
+ Value: (0, smithy_client_1.expectString)(output.Value),
4920
4920
  };
4921
4921
  };
4922
4922
  const deserializeAws_json1_1TagList = (output, context) => {
@@ -4935,7 +4935,7 @@ const deserializeAws_json1_1TagResourceResponse = (output, context) => {
4935
4935
  };
4936
4936
  const deserializeAws_json1_1Target = (output, context) => {
4937
4937
  return {
4938
- Arn: smithy_client_1.expectString(output.Arn),
4938
+ Arn: (0, smithy_client_1.expectString)(output.Arn),
4939
4939
  BatchParameters: output.BatchParameters !== undefined && output.BatchParameters !== null
4940
4940
  ? deserializeAws_json1_1BatchParameters(output.BatchParameters, context)
4941
4941
  : undefined,
@@ -4948,9 +4948,9 @@ const deserializeAws_json1_1Target = (output, context) => {
4948
4948
  HttpParameters: output.HttpParameters !== undefined && output.HttpParameters !== null
4949
4949
  ? deserializeAws_json1_1HttpParameters(output.HttpParameters, context)
4950
4950
  : undefined,
4951
- Id: smithy_client_1.expectString(output.Id),
4952
- Input: smithy_client_1.expectString(output.Input),
4953
- InputPath: smithy_client_1.expectString(output.InputPath),
4951
+ Id: (0, smithy_client_1.expectString)(output.Id),
4952
+ Input: (0, smithy_client_1.expectString)(output.Input),
4953
+ InputPath: (0, smithy_client_1.expectString)(output.InputPath),
4954
4954
  InputTransformer: output.InputTransformer !== undefined && output.InputTransformer !== null
4955
4955
  ? deserializeAws_json1_1InputTransformer(output.InputTransformer, context)
4956
4956
  : undefined,
@@ -4963,7 +4963,7 @@ const deserializeAws_json1_1Target = (output, context) => {
4963
4963
  RetryPolicy: output.RetryPolicy !== undefined && output.RetryPolicy !== null
4964
4964
  ? deserializeAws_json1_1RetryPolicy(output.RetryPolicy, context)
4965
4965
  : undefined,
4966
- RoleArn: smithy_client_1.expectString(output.RoleArn),
4966
+ RoleArn: (0, smithy_client_1.expectString)(output.RoleArn),
4967
4967
  RunCommandParameters: output.RunCommandParameters !== undefined && output.RunCommandParameters !== null
4968
4968
  ? deserializeAws_json1_1RunCommandParameters(output.RunCommandParameters, context)
4969
4969
  : undefined,
@@ -4988,7 +4988,7 @@ const deserializeAws_json1_1TargetList = (output, context) => {
4988
4988
  };
4989
4989
  const deserializeAws_json1_1TestEventPatternResponse = (output, context) => {
4990
4990
  return {
4991
- Result: smithy_client_1.expectBoolean(output.Result),
4991
+ Result: (0, smithy_client_1.expectBoolean)(output.Result),
4992
4992
  };
4993
4993
  };
4994
4994
  const deserializeAws_json1_1TransformerPaths = (output, context) => {
@@ -4998,7 +4998,7 @@ const deserializeAws_json1_1TransformerPaths = (output, context) => {
4998
4998
  }
4999
4999
  return {
5000
5000
  ...acc,
5001
- [key]: smithy_client_1.expectString(value),
5001
+ [key]: (0, smithy_client_1.expectString)(value),
5002
5002
  };
5003
5003
  }, {});
5004
5004
  };
@@ -5007,38 +5007,38 @@ const deserializeAws_json1_1UntagResourceResponse = (output, context) => {
5007
5007
  };
5008
5008
  const deserializeAws_json1_1UpdateApiDestinationResponse = (output, context) => {
5009
5009
  return {
5010
- ApiDestinationArn: smithy_client_1.expectString(output.ApiDestinationArn),
5011
- ApiDestinationState: smithy_client_1.expectString(output.ApiDestinationState),
5010
+ ApiDestinationArn: (0, smithy_client_1.expectString)(output.ApiDestinationArn),
5011
+ ApiDestinationState: (0, smithy_client_1.expectString)(output.ApiDestinationState),
5012
5012
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
5013
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
5013
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
5014
5014
  : undefined,
5015
5015
  LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
5016
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedTime)))
5016
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedTime)))
5017
5017
  : undefined,
5018
5018
  };
5019
5019
  };
5020
5020
  const deserializeAws_json1_1UpdateArchiveResponse = (output, context) => {
5021
5021
  return {
5022
- ArchiveArn: smithy_client_1.expectString(output.ArchiveArn),
5022
+ ArchiveArn: (0, smithy_client_1.expectString)(output.ArchiveArn),
5023
5023
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
5024
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
5024
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
5025
5025
  : undefined,
5026
- State: smithy_client_1.expectString(output.State),
5027
- StateReason: smithy_client_1.expectString(output.StateReason),
5026
+ State: (0, smithy_client_1.expectString)(output.State),
5027
+ StateReason: (0, smithy_client_1.expectString)(output.StateReason),
5028
5028
  };
5029
5029
  };
5030
5030
  const deserializeAws_json1_1UpdateConnectionResponse = (output, context) => {
5031
5031
  return {
5032
- ConnectionArn: smithy_client_1.expectString(output.ConnectionArn),
5033
- ConnectionState: smithy_client_1.expectString(output.ConnectionState),
5032
+ ConnectionArn: (0, smithy_client_1.expectString)(output.ConnectionArn),
5033
+ ConnectionState: (0, smithy_client_1.expectString)(output.ConnectionState),
5034
5034
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
5035
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
5035
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
5036
5036
  : undefined,
5037
5037
  LastAuthorizedTime: output.LastAuthorizedTime !== undefined && output.LastAuthorizedTime !== null
5038
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastAuthorizedTime)))
5038
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastAuthorizedTime)))
5039
5039
  : undefined,
5040
5040
  LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
5041
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedTime)))
5041
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedTime)))
5042
5042
  : undefined,
5043
5043
  };
5044
5044
  };