@aws-sdk/client-athena 3.54.0 → 3.56.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist-cjs/AthenaClient.js +13 -13
  3. package/dist-cjs/commands/BatchGetNamedQueryCommand.js +3 -3
  4. package/dist-cjs/commands/BatchGetQueryExecutionCommand.js +3 -3
  5. package/dist-cjs/commands/CreateDataCatalogCommand.js +3 -3
  6. package/dist-cjs/commands/CreateNamedQueryCommand.js +3 -3
  7. package/dist-cjs/commands/CreatePreparedStatementCommand.js +3 -3
  8. package/dist-cjs/commands/CreateWorkGroupCommand.js +3 -3
  9. package/dist-cjs/commands/DeleteDataCatalogCommand.js +3 -3
  10. package/dist-cjs/commands/DeleteNamedQueryCommand.js +3 -3
  11. package/dist-cjs/commands/DeletePreparedStatementCommand.js +3 -3
  12. package/dist-cjs/commands/DeleteWorkGroupCommand.js +3 -3
  13. package/dist-cjs/commands/GetDataCatalogCommand.js +3 -3
  14. package/dist-cjs/commands/GetDatabaseCommand.js +3 -3
  15. package/dist-cjs/commands/GetNamedQueryCommand.js +3 -3
  16. package/dist-cjs/commands/GetPreparedStatementCommand.js +3 -3
  17. package/dist-cjs/commands/GetQueryExecutionCommand.js +3 -3
  18. package/dist-cjs/commands/GetQueryResultsCommand.js +3 -3
  19. package/dist-cjs/commands/GetTableMetadataCommand.js +3 -3
  20. package/dist-cjs/commands/GetWorkGroupCommand.js +3 -3
  21. package/dist-cjs/commands/ListDataCatalogsCommand.js +3 -3
  22. package/dist-cjs/commands/ListDatabasesCommand.js +3 -3
  23. package/dist-cjs/commands/ListEngineVersionsCommand.js +3 -3
  24. package/dist-cjs/commands/ListNamedQueriesCommand.js +3 -3
  25. package/dist-cjs/commands/ListPreparedStatementsCommand.js +3 -3
  26. package/dist-cjs/commands/ListQueryExecutionsCommand.js +3 -3
  27. package/dist-cjs/commands/ListTableMetadataCommand.js +3 -3
  28. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  29. package/dist-cjs/commands/ListWorkGroupsCommand.js +3 -3
  30. package/dist-cjs/commands/StartQueryExecutionCommand.js +3 -3
  31. package/dist-cjs/commands/StopQueryExecutionCommand.js +3 -3
  32. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  33. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  34. package/dist-cjs/commands/UpdateDataCatalogCommand.js +3 -3
  35. package/dist-cjs/commands/UpdateNamedQueryCommand.js +3 -3
  36. package/dist-cjs/commands/UpdatePreparedStatementCommand.js +3 -3
  37. package/dist-cjs/commands/UpdateWorkGroupCommand.js +3 -3
  38. package/dist-cjs/endpoints.js +1 -1
  39. package/dist-cjs/protocols/Aws_json1_1.js +152 -152
  40. package/dist-cjs/runtimeConfig.browser.js +4 -4
  41. package/dist-cjs/runtimeConfig.js +9 -9
  42. package/dist-cjs/runtimeConfig.native.js +1 -1
  43. package/dist-es/Athena.js +35 -35
  44. package/dist-es/pagination/GetQueryResultsPaginator.js +4 -4
  45. package/dist-es/pagination/ListDataCatalogsPaginator.js +4 -4
  46. package/dist-es/pagination/ListDatabasesPaginator.js +4 -4
  47. package/dist-es/pagination/ListNamedQueriesPaginator.js +4 -4
  48. package/dist-es/pagination/ListPreparedStatementsPaginator.js +4 -4
  49. package/dist-es/pagination/ListQueryExecutionsPaginator.js +4 -4
  50. package/dist-es/pagination/ListTableMetadataPaginator.js +4 -4
  51. package/dist-es/pagination/ListTagsForResourcePaginator.js +4 -4
  52. package/dist-es/pagination/ListWorkGroupsPaginator.js +4 -4
  53. package/dist-types/runtimeConfig.native.d.ts +2 -2
  54. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
  55. package/package.json +34 -34
@@ -393,7 +393,7 @@ const deserializeAws_json1_1BatchGetNamedQueryCommandError = async (output, cont
393
393
  $fault: "client",
394
394
  $metadata: deserializeMetadata(output),
395
395
  });
396
- throw smithy_client_1.decorateServiceException(response, parsedBody);
396
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
397
397
  }
398
398
  };
399
399
  const deserializeAws_json1_1BatchGetQueryExecutionCommand = async (output, context) => {
@@ -432,7 +432,7 @@ const deserializeAws_json1_1BatchGetQueryExecutionCommandError = async (output,
432
432
  $fault: "client",
433
433
  $metadata: deserializeMetadata(output),
434
434
  });
435
- throw smithy_client_1.decorateServiceException(response, parsedBody);
435
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
436
436
  }
437
437
  };
438
438
  const deserializeAws_json1_1CreateDataCatalogCommand = async (output, context) => {
@@ -471,7 +471,7 @@ const deserializeAws_json1_1CreateDataCatalogCommandError = async (output, conte
471
471
  $fault: "client",
472
472
  $metadata: deserializeMetadata(output),
473
473
  });
474
- throw smithy_client_1.decorateServiceException(response, parsedBody);
474
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
475
475
  }
476
476
  };
477
477
  const deserializeAws_json1_1CreateNamedQueryCommand = async (output, context) => {
@@ -510,7 +510,7 @@ const deserializeAws_json1_1CreateNamedQueryCommandError = async (output, contex
510
510
  $fault: "client",
511
511
  $metadata: deserializeMetadata(output),
512
512
  });
513
- throw smithy_client_1.decorateServiceException(response, parsedBody);
513
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
514
514
  }
515
515
  };
516
516
  const deserializeAws_json1_1CreatePreparedStatementCommand = async (output, context) => {
@@ -549,7 +549,7 @@ const deserializeAws_json1_1CreatePreparedStatementCommandError = async (output,
549
549
  $fault: "client",
550
550
  $metadata: deserializeMetadata(output),
551
551
  });
552
- throw smithy_client_1.decorateServiceException(response, parsedBody);
552
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
553
553
  }
554
554
  };
555
555
  const deserializeAws_json1_1CreateWorkGroupCommand = async (output, context) => {
@@ -588,7 +588,7 @@ const deserializeAws_json1_1CreateWorkGroupCommandError = async (output, context
588
588
  $fault: "client",
589
589
  $metadata: deserializeMetadata(output),
590
590
  });
591
- throw smithy_client_1.decorateServiceException(response, parsedBody);
591
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
592
592
  }
593
593
  };
594
594
  const deserializeAws_json1_1DeleteDataCatalogCommand = async (output, context) => {
@@ -627,7 +627,7 @@ const deserializeAws_json1_1DeleteDataCatalogCommandError = async (output, conte
627
627
  $fault: "client",
628
628
  $metadata: deserializeMetadata(output),
629
629
  });
630
- throw smithy_client_1.decorateServiceException(response, parsedBody);
630
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
631
631
  }
632
632
  };
633
633
  const deserializeAws_json1_1DeleteNamedQueryCommand = async (output, context) => {
@@ -666,7 +666,7 @@ const deserializeAws_json1_1DeleteNamedQueryCommandError = async (output, contex
666
666
  $fault: "client",
667
667
  $metadata: deserializeMetadata(output),
668
668
  });
669
- throw smithy_client_1.decorateServiceException(response, parsedBody);
669
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
670
670
  }
671
671
  };
672
672
  const deserializeAws_json1_1DeletePreparedStatementCommand = async (output, context) => {
@@ -708,7 +708,7 @@ const deserializeAws_json1_1DeletePreparedStatementCommandError = async (output,
708
708
  $fault: "client",
709
709
  $metadata: deserializeMetadata(output),
710
710
  });
711
- throw smithy_client_1.decorateServiceException(response, parsedBody);
711
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
712
712
  }
713
713
  };
714
714
  const deserializeAws_json1_1DeleteWorkGroupCommand = async (output, context) => {
@@ -747,7 +747,7 @@ const deserializeAws_json1_1DeleteWorkGroupCommandError = async (output, context
747
747
  $fault: "client",
748
748
  $metadata: deserializeMetadata(output),
749
749
  });
750
- throw smithy_client_1.decorateServiceException(response, parsedBody);
750
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
751
751
  }
752
752
  };
753
753
  const deserializeAws_json1_1GetDatabaseCommand = async (output, context) => {
@@ -789,7 +789,7 @@ const deserializeAws_json1_1GetDatabaseCommandError = async (output, context) =>
789
789
  $fault: "client",
790
790
  $metadata: deserializeMetadata(output),
791
791
  });
792
- throw smithy_client_1.decorateServiceException(response, parsedBody);
792
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
793
793
  }
794
794
  };
795
795
  const deserializeAws_json1_1GetDataCatalogCommand = async (output, context) => {
@@ -828,7 +828,7 @@ const deserializeAws_json1_1GetDataCatalogCommandError = async (output, context)
828
828
  $fault: "client",
829
829
  $metadata: deserializeMetadata(output),
830
830
  });
831
- throw smithy_client_1.decorateServiceException(response, parsedBody);
831
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
832
832
  }
833
833
  };
834
834
  const deserializeAws_json1_1GetNamedQueryCommand = async (output, context) => {
@@ -867,7 +867,7 @@ const deserializeAws_json1_1GetNamedQueryCommandError = async (output, context)
867
867
  $fault: "client",
868
868
  $metadata: deserializeMetadata(output),
869
869
  });
870
- throw smithy_client_1.decorateServiceException(response, parsedBody);
870
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
871
871
  }
872
872
  };
873
873
  const deserializeAws_json1_1GetPreparedStatementCommand = async (output, context) => {
@@ -909,7 +909,7 @@ const deserializeAws_json1_1GetPreparedStatementCommandError = async (output, co
909
909
  $fault: "client",
910
910
  $metadata: deserializeMetadata(output),
911
911
  });
912
- throw smithy_client_1.decorateServiceException(response, parsedBody);
912
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
913
913
  }
914
914
  };
915
915
  const deserializeAws_json1_1GetQueryExecutionCommand = async (output, context) => {
@@ -948,7 +948,7 @@ const deserializeAws_json1_1GetQueryExecutionCommandError = async (output, conte
948
948
  $fault: "client",
949
949
  $metadata: deserializeMetadata(output),
950
950
  });
951
- throw smithy_client_1.decorateServiceException(response, parsedBody);
951
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
952
952
  }
953
953
  };
954
954
  const deserializeAws_json1_1GetQueryResultsCommand = async (output, context) => {
@@ -987,7 +987,7 @@ const deserializeAws_json1_1GetQueryResultsCommandError = async (output, context
987
987
  $fault: "client",
988
988
  $metadata: deserializeMetadata(output),
989
989
  });
990
- throw smithy_client_1.decorateServiceException(response, parsedBody);
990
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
991
991
  }
992
992
  };
993
993
  const deserializeAws_json1_1GetTableMetadataCommand = async (output, context) => {
@@ -1029,7 +1029,7 @@ const deserializeAws_json1_1GetTableMetadataCommandError = async (output, contex
1029
1029
  $fault: "client",
1030
1030
  $metadata: deserializeMetadata(output),
1031
1031
  });
1032
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1032
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1033
1033
  }
1034
1034
  };
1035
1035
  const deserializeAws_json1_1GetWorkGroupCommand = async (output, context) => {
@@ -1068,7 +1068,7 @@ const deserializeAws_json1_1GetWorkGroupCommandError = async (output, context) =
1068
1068
  $fault: "client",
1069
1069
  $metadata: deserializeMetadata(output),
1070
1070
  });
1071
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1071
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1072
1072
  }
1073
1073
  };
1074
1074
  const deserializeAws_json1_1ListDatabasesCommand = async (output, context) => {
@@ -1110,7 +1110,7 @@ const deserializeAws_json1_1ListDatabasesCommandError = async (output, context)
1110
1110
  $fault: "client",
1111
1111
  $metadata: deserializeMetadata(output),
1112
1112
  });
1113
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1113
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1114
1114
  }
1115
1115
  };
1116
1116
  const deserializeAws_json1_1ListDataCatalogsCommand = async (output, context) => {
@@ -1149,7 +1149,7 @@ const deserializeAws_json1_1ListDataCatalogsCommandError = async (output, contex
1149
1149
  $fault: "client",
1150
1150
  $metadata: deserializeMetadata(output),
1151
1151
  });
1152
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1152
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1153
1153
  }
1154
1154
  };
1155
1155
  const deserializeAws_json1_1ListEngineVersionsCommand = async (output, context) => {
@@ -1188,7 +1188,7 @@ const deserializeAws_json1_1ListEngineVersionsCommandError = async (output, cont
1188
1188
  $fault: "client",
1189
1189
  $metadata: deserializeMetadata(output),
1190
1190
  });
1191
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1191
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1192
1192
  }
1193
1193
  };
1194
1194
  const deserializeAws_json1_1ListNamedQueriesCommand = async (output, context) => {
@@ -1227,7 +1227,7 @@ const deserializeAws_json1_1ListNamedQueriesCommandError = async (output, contex
1227
1227
  $fault: "client",
1228
1228
  $metadata: deserializeMetadata(output),
1229
1229
  });
1230
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1230
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1231
1231
  }
1232
1232
  };
1233
1233
  const deserializeAws_json1_1ListPreparedStatementsCommand = async (output, context) => {
@@ -1266,7 +1266,7 @@ const deserializeAws_json1_1ListPreparedStatementsCommandError = async (output,
1266
1266
  $fault: "client",
1267
1267
  $metadata: deserializeMetadata(output),
1268
1268
  });
1269
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1269
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1270
1270
  }
1271
1271
  };
1272
1272
  const deserializeAws_json1_1ListQueryExecutionsCommand = async (output, context) => {
@@ -1305,7 +1305,7 @@ const deserializeAws_json1_1ListQueryExecutionsCommandError = async (output, con
1305
1305
  $fault: "client",
1306
1306
  $metadata: deserializeMetadata(output),
1307
1307
  });
1308
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1308
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1309
1309
  }
1310
1310
  };
1311
1311
  const deserializeAws_json1_1ListTableMetadataCommand = async (output, context) => {
@@ -1347,7 +1347,7 @@ const deserializeAws_json1_1ListTableMetadataCommandError = async (output, conte
1347
1347
  $fault: "client",
1348
1348
  $metadata: deserializeMetadata(output),
1349
1349
  });
1350
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1350
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1351
1351
  }
1352
1352
  };
1353
1353
  const deserializeAws_json1_1ListTagsForResourceCommand = async (output, context) => {
@@ -1389,7 +1389,7 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
1389
1389
  $fault: "client",
1390
1390
  $metadata: deserializeMetadata(output),
1391
1391
  });
1392
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1392
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1393
1393
  }
1394
1394
  };
1395
1395
  const deserializeAws_json1_1ListWorkGroupsCommand = async (output, context) => {
@@ -1428,7 +1428,7 @@ const deserializeAws_json1_1ListWorkGroupsCommandError = async (output, context)
1428
1428
  $fault: "client",
1429
1429
  $metadata: deserializeMetadata(output),
1430
1430
  });
1431
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1431
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1432
1432
  }
1433
1433
  };
1434
1434
  const deserializeAws_json1_1StartQueryExecutionCommand = async (output, context) => {
@@ -1470,7 +1470,7 @@ const deserializeAws_json1_1StartQueryExecutionCommandError = async (output, con
1470
1470
  $fault: "client",
1471
1471
  $metadata: deserializeMetadata(output),
1472
1472
  });
1473
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1473
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1474
1474
  }
1475
1475
  };
1476
1476
  const deserializeAws_json1_1StopQueryExecutionCommand = async (output, context) => {
@@ -1509,7 +1509,7 @@ const deserializeAws_json1_1StopQueryExecutionCommandError = async (output, cont
1509
1509
  $fault: "client",
1510
1510
  $metadata: deserializeMetadata(output),
1511
1511
  });
1512
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1512
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1513
1513
  }
1514
1514
  };
1515
1515
  const deserializeAws_json1_1TagResourceCommand = async (output, context) => {
@@ -1551,7 +1551,7 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
1551
1551
  $fault: "client",
1552
1552
  $metadata: deserializeMetadata(output),
1553
1553
  });
1554
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1554
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1555
1555
  }
1556
1556
  };
1557
1557
  const deserializeAws_json1_1UntagResourceCommand = async (output, context) => {
@@ -1593,7 +1593,7 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
1593
1593
  $fault: "client",
1594
1594
  $metadata: deserializeMetadata(output),
1595
1595
  });
1596
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1596
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1597
1597
  }
1598
1598
  };
1599
1599
  const deserializeAws_json1_1UpdateDataCatalogCommand = async (output, context) => {
@@ -1632,7 +1632,7 @@ const deserializeAws_json1_1UpdateDataCatalogCommandError = async (output, conte
1632
1632
  $fault: "client",
1633
1633
  $metadata: deserializeMetadata(output),
1634
1634
  });
1635
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1635
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1636
1636
  }
1637
1637
  };
1638
1638
  const deserializeAws_json1_1UpdateNamedQueryCommand = async (output, context) => {
@@ -1671,7 +1671,7 @@ const deserializeAws_json1_1UpdateNamedQueryCommandError = async (output, contex
1671
1671
  $fault: "client",
1672
1672
  $metadata: deserializeMetadata(output),
1673
1673
  });
1674
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1674
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1675
1675
  }
1676
1676
  };
1677
1677
  const deserializeAws_json1_1UpdatePreparedStatementCommand = async (output, context) => {
@@ -1713,7 +1713,7 @@ const deserializeAws_json1_1UpdatePreparedStatementCommandError = async (output,
1713
1713
  $fault: "client",
1714
1714
  $metadata: deserializeMetadata(output),
1715
1715
  });
1716
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1716
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1717
1717
  }
1718
1718
  };
1719
1719
  const deserializeAws_json1_1UpdateWorkGroupCommand = async (output, context) => {
@@ -1752,7 +1752,7 @@ const deserializeAws_json1_1UpdateWorkGroupCommandError = async (output, context
1752
1752
  $fault: "client",
1753
1753
  $metadata: deserializeMetadata(output),
1754
1754
  });
1755
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1755
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1756
1756
  }
1757
1757
  };
1758
1758
  const deserializeAws_json1_1InternalServerExceptionResponse = async (parsedOutput, context) => {
@@ -1762,7 +1762,7 @@ const deserializeAws_json1_1InternalServerExceptionResponse = async (parsedOutpu
1762
1762
  $metadata: deserializeMetadata(parsedOutput),
1763
1763
  ...deserialized,
1764
1764
  });
1765
- return smithy_client_1.decorateServiceException(exception, body);
1765
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1766
1766
  };
1767
1767
  const deserializeAws_json1_1InvalidRequestExceptionResponse = async (parsedOutput, context) => {
1768
1768
  const body = parsedOutput.body;
@@ -1771,7 +1771,7 @@ const deserializeAws_json1_1InvalidRequestExceptionResponse = async (parsedOutpu
1771
1771
  $metadata: deserializeMetadata(parsedOutput),
1772
1772
  ...deserialized,
1773
1773
  });
1774
- return smithy_client_1.decorateServiceException(exception, body);
1774
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1775
1775
  };
1776
1776
  const deserializeAws_json1_1MetadataExceptionResponse = async (parsedOutput, context) => {
1777
1777
  const body = parsedOutput.body;
@@ -1780,7 +1780,7 @@ const deserializeAws_json1_1MetadataExceptionResponse = async (parsedOutput, con
1780
1780
  $metadata: deserializeMetadata(parsedOutput),
1781
1781
  ...deserialized,
1782
1782
  });
1783
- return smithy_client_1.decorateServiceException(exception, body);
1783
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1784
1784
  };
1785
1785
  const deserializeAws_json1_1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
1786
1786
  const body = parsedOutput.body;
@@ -1789,7 +1789,7 @@ const deserializeAws_json1_1ResourceNotFoundExceptionResponse = async (parsedOut
1789
1789
  $metadata: deserializeMetadata(parsedOutput),
1790
1790
  ...deserialized,
1791
1791
  });
1792
- return smithy_client_1.decorateServiceException(exception, body);
1792
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1793
1793
  };
1794
1794
  const deserializeAws_json1_1TooManyRequestsExceptionResponse = async (parsedOutput, context) => {
1795
1795
  const body = parsedOutput.body;
@@ -1798,7 +1798,7 @@ const deserializeAws_json1_1TooManyRequestsExceptionResponse = async (parsedOutp
1798
1798
  $metadata: deserializeMetadata(parsedOutput),
1799
1799
  ...deserialized,
1800
1800
  });
1801
- return smithy_client_1.decorateServiceException(exception, body);
1801
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1802
1802
  };
1803
1803
  const serializeAws_json1_1AclConfiguration = (input, context) => {
1804
1804
  return {
@@ -1834,7 +1834,7 @@ const serializeAws_json1_1CreateDataCatalogInput = (input, context) => {
1834
1834
  const serializeAws_json1_1CreateNamedQueryInput = (input, context) => {
1835
1835
  var _a;
1836
1836
  return {
1837
- ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
1837
+ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
1838
1838
  ...(input.Database !== undefined && input.Database !== null && { Database: input.Database }),
1839
1839
  ...(input.Description !== undefined && input.Description !== null && { Description: input.Description }),
1840
1840
  ...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
@@ -1870,7 +1870,7 @@ const serializeAws_json1_1DeleteDataCatalogInput = (input, context) => {
1870
1870
  const serializeAws_json1_1DeleteNamedQueryInput = (input, context) => {
1871
1871
  var _a;
1872
1872
  return {
1873
- NamedQueryId: (_a = input.NamedQueryId) !== null && _a !== void 0 ? _a : uuid_1.v4(),
1873
+ NamedQueryId: (_a = input.NamedQueryId) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
1874
1874
  };
1875
1875
  };
1876
1876
  const serializeAws_json1_1DeletePreparedStatementInput = (input, context) => {
@@ -2093,7 +2093,7 @@ const serializeAws_json1_1ResultConfigurationUpdates = (input, context) => {
2093
2093
  const serializeAws_json1_1StartQueryExecutionInput = (input, context) => {
2094
2094
  var _a;
2095
2095
  return {
2096
- ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
2096
+ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
2097
2097
  ...(input.QueryExecutionContext !== undefined &&
2098
2098
  input.QueryExecutionContext !== null && {
2099
2099
  QueryExecutionContext: serializeAws_json1_1QueryExecutionContext(input.QueryExecutionContext, context),
@@ -2109,7 +2109,7 @@ const serializeAws_json1_1StartQueryExecutionInput = (input, context) => {
2109
2109
  const serializeAws_json1_1StopQueryExecutionInput = (input, context) => {
2110
2110
  var _a;
2111
2111
  return {
2112
- QueryExecutionId: (_a = input.QueryExecutionId) !== null && _a !== void 0 ? _a : uuid_1.v4(),
2112
+ QueryExecutionId: (_a = input.QueryExecutionId) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
2113
2113
  };
2114
2114
  };
2115
2115
  const serializeAws_json1_1Tag = (input, context) => {
@@ -2242,13 +2242,13 @@ const serializeAws_json1_1WorkGroupConfigurationUpdates = (input, context) => {
2242
2242
  };
2243
2243
  const deserializeAws_json1_1AclConfiguration = (output, context) => {
2244
2244
  return {
2245
- S3AclOption: smithy_client_1.expectString(output.S3AclOption),
2245
+ S3AclOption: (0, smithy_client_1.expectString)(output.S3AclOption),
2246
2246
  };
2247
2247
  };
2248
2248
  const deserializeAws_json1_1AthenaError = (output, context) => {
2249
2249
  return {
2250
- ErrorCategory: smithy_client_1.expectInt32(output.ErrorCategory),
2251
- ErrorType: smithy_client_1.expectInt32(output.ErrorType),
2250
+ ErrorCategory: (0, smithy_client_1.expectInt32)(output.ErrorCategory),
2251
+ ErrorType: (0, smithy_client_1.expectInt32)(output.ErrorType),
2252
2252
  };
2253
2253
  };
2254
2254
  const deserializeAws_json1_1BatchGetNamedQueryOutput = (output, context) => {
@@ -2273,23 +2273,23 @@ const deserializeAws_json1_1BatchGetQueryExecutionOutput = (output, context) =>
2273
2273
  };
2274
2274
  const deserializeAws_json1_1Column = (output, context) => {
2275
2275
  return {
2276
- Comment: smithy_client_1.expectString(output.Comment),
2277
- Name: smithy_client_1.expectString(output.Name),
2278
- Type: smithy_client_1.expectString(output.Type),
2276
+ Comment: (0, smithy_client_1.expectString)(output.Comment),
2277
+ Name: (0, smithy_client_1.expectString)(output.Name),
2278
+ Type: (0, smithy_client_1.expectString)(output.Type),
2279
2279
  };
2280
2280
  };
2281
2281
  const deserializeAws_json1_1ColumnInfo = (output, context) => {
2282
2282
  return {
2283
- CaseSensitive: smithy_client_1.expectBoolean(output.CaseSensitive),
2284
- CatalogName: smithy_client_1.expectString(output.CatalogName),
2285
- Label: smithy_client_1.expectString(output.Label),
2286
- Name: smithy_client_1.expectString(output.Name),
2287
- Nullable: smithy_client_1.expectString(output.Nullable),
2288
- Precision: smithy_client_1.expectInt32(output.Precision),
2289
- Scale: smithy_client_1.expectInt32(output.Scale),
2290
- SchemaName: smithy_client_1.expectString(output.SchemaName),
2291
- TableName: smithy_client_1.expectString(output.TableName),
2292
- Type: smithy_client_1.expectString(output.Type),
2283
+ CaseSensitive: (0, smithy_client_1.expectBoolean)(output.CaseSensitive),
2284
+ CatalogName: (0, smithy_client_1.expectString)(output.CatalogName),
2285
+ Label: (0, smithy_client_1.expectString)(output.Label),
2286
+ Name: (0, smithy_client_1.expectString)(output.Name),
2287
+ Nullable: (0, smithy_client_1.expectString)(output.Nullable),
2288
+ Precision: (0, smithy_client_1.expectInt32)(output.Precision),
2289
+ Scale: (0, smithy_client_1.expectInt32)(output.Scale),
2290
+ SchemaName: (0, smithy_client_1.expectString)(output.SchemaName),
2291
+ TableName: (0, smithy_client_1.expectString)(output.TableName),
2292
+ Type: (0, smithy_client_1.expectString)(output.Type),
2293
2293
  };
2294
2294
  };
2295
2295
  const deserializeAws_json1_1ColumnInfoList = (output, context) => {
@@ -2319,7 +2319,7 @@ const deserializeAws_json1_1CreateDataCatalogOutput = (output, context) => {
2319
2319
  };
2320
2320
  const deserializeAws_json1_1CreateNamedQueryOutput = (output, context) => {
2321
2321
  return {
2322
- NamedQueryId: smithy_client_1.expectString(output.NamedQueryId),
2322
+ NamedQueryId: (0, smithy_client_1.expectString)(output.NamedQueryId),
2323
2323
  };
2324
2324
  };
2325
2325
  const deserializeAws_json1_1CreatePreparedStatementOutput = (output, context) => {
@@ -2330,8 +2330,8 @@ const deserializeAws_json1_1CreateWorkGroupOutput = (output, context) => {
2330
2330
  };
2331
2331
  const deserializeAws_json1_1Database = (output, context) => {
2332
2332
  return {
2333
- Description: smithy_client_1.expectString(output.Description),
2334
- Name: smithy_client_1.expectString(output.Name),
2333
+ Description: (0, smithy_client_1.expectString)(output.Description),
2334
+ Name: (0, smithy_client_1.expectString)(output.Name),
2335
2335
  Parameters: output.Parameters !== undefined && output.Parameters !== null
2336
2336
  ? deserializeAws_json1_1ParametersMap(output.Parameters, context)
2337
2337
  : undefined,
@@ -2350,18 +2350,18 @@ const deserializeAws_json1_1DatabaseList = (output, context) => {
2350
2350
  };
2351
2351
  const deserializeAws_json1_1DataCatalog = (output, context) => {
2352
2352
  return {
2353
- Description: smithy_client_1.expectString(output.Description),
2354
- Name: smithy_client_1.expectString(output.Name),
2353
+ Description: (0, smithy_client_1.expectString)(output.Description),
2354
+ Name: (0, smithy_client_1.expectString)(output.Name),
2355
2355
  Parameters: output.Parameters !== undefined && output.Parameters !== null
2356
2356
  ? deserializeAws_json1_1ParametersMap(output.Parameters, context)
2357
2357
  : undefined,
2358
- Type: smithy_client_1.expectString(output.Type),
2358
+ Type: (0, smithy_client_1.expectString)(output.Type),
2359
2359
  };
2360
2360
  };
2361
2361
  const deserializeAws_json1_1DataCatalogSummary = (output, context) => {
2362
2362
  return {
2363
- CatalogName: smithy_client_1.expectString(output.CatalogName),
2364
- Type: smithy_client_1.expectString(output.Type),
2363
+ CatalogName: (0, smithy_client_1.expectString)(output.CatalogName),
2364
+ Type: (0, smithy_client_1.expectString)(output.Type),
2365
2365
  };
2366
2366
  };
2367
2367
  const deserializeAws_json1_1DataCatalogSummaryList = (output, context) => {
@@ -2377,7 +2377,7 @@ const deserializeAws_json1_1DataCatalogSummaryList = (output, context) => {
2377
2377
  };
2378
2378
  const deserializeAws_json1_1Datum = (output, context) => {
2379
2379
  return {
2380
- VarCharValue: smithy_client_1.expectString(output.VarCharValue),
2380
+ VarCharValue: (0, smithy_client_1.expectString)(output.VarCharValue),
2381
2381
  };
2382
2382
  };
2383
2383
  const deserializeAws_json1_1datumList = (output, context) => {
@@ -2405,14 +2405,14 @@ const deserializeAws_json1_1DeleteWorkGroupOutput = (output, context) => {
2405
2405
  };
2406
2406
  const deserializeAws_json1_1EncryptionConfiguration = (output, context) => {
2407
2407
  return {
2408
- EncryptionOption: smithy_client_1.expectString(output.EncryptionOption),
2409
- KmsKey: smithy_client_1.expectString(output.KmsKey),
2408
+ EncryptionOption: (0, smithy_client_1.expectString)(output.EncryptionOption),
2409
+ KmsKey: (0, smithy_client_1.expectString)(output.KmsKey),
2410
2410
  };
2411
2411
  };
2412
2412
  const deserializeAws_json1_1EngineVersion = (output, context) => {
2413
2413
  return {
2414
- EffectiveEngineVersion: smithy_client_1.expectString(output.EffectiveEngineVersion),
2415
- SelectedEngineVersion: smithy_client_1.expectString(output.SelectedEngineVersion),
2414
+ EffectiveEngineVersion: (0, smithy_client_1.expectString)(output.EffectiveEngineVersion),
2415
+ SelectedEngineVersion: (0, smithy_client_1.expectString)(output.SelectedEngineVersion),
2416
2416
  };
2417
2417
  };
2418
2418
  const deserializeAws_json1_1EngineVersionsList = (output, context) => {
@@ -2463,11 +2463,11 @@ const deserializeAws_json1_1GetQueryExecutionOutput = (output, context) => {
2463
2463
  };
2464
2464
  const deserializeAws_json1_1GetQueryResultsOutput = (output, context) => {
2465
2465
  return {
2466
- NextToken: smithy_client_1.expectString(output.NextToken),
2466
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
2467
2467
  ResultSet: output.ResultSet !== undefined && output.ResultSet !== null
2468
2468
  ? deserializeAws_json1_1ResultSet(output.ResultSet, context)
2469
2469
  : undefined,
2470
- UpdateCount: smithy_client_1.expectLong(output.UpdateCount),
2470
+ UpdateCount: (0, smithy_client_1.expectLong)(output.UpdateCount),
2471
2471
  };
2472
2472
  };
2473
2473
  const deserializeAws_json1_1GetTableMetadataOutput = (output, context) => {
@@ -2486,13 +2486,13 @@ const deserializeAws_json1_1GetWorkGroupOutput = (output, context) => {
2486
2486
  };
2487
2487
  const deserializeAws_json1_1InternalServerException = (output, context) => {
2488
2488
  return {
2489
- Message: smithy_client_1.expectString(output.Message),
2489
+ Message: (0, smithy_client_1.expectString)(output.Message),
2490
2490
  };
2491
2491
  };
2492
2492
  const deserializeAws_json1_1InvalidRequestException = (output, context) => {
2493
2493
  return {
2494
- AthenaErrorCode: smithy_client_1.expectString(output.AthenaErrorCode),
2495
- Message: smithy_client_1.expectString(output.Message),
2494
+ AthenaErrorCode: (0, smithy_client_1.expectString)(output.AthenaErrorCode),
2495
+ Message: (0, smithy_client_1.expectString)(output.Message),
2496
2496
  };
2497
2497
  };
2498
2498
  const deserializeAws_json1_1ListDatabasesOutput = (output, context) => {
@@ -2500,7 +2500,7 @@ const deserializeAws_json1_1ListDatabasesOutput = (output, context) => {
2500
2500
  DatabaseList: output.DatabaseList !== undefined && output.DatabaseList !== null
2501
2501
  ? deserializeAws_json1_1DatabaseList(output.DatabaseList, context)
2502
2502
  : undefined,
2503
- NextToken: smithy_client_1.expectString(output.NextToken),
2503
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
2504
2504
  };
2505
2505
  };
2506
2506
  const deserializeAws_json1_1ListDataCatalogsOutput = (output, context) => {
@@ -2508,7 +2508,7 @@ const deserializeAws_json1_1ListDataCatalogsOutput = (output, context) => {
2508
2508
  DataCatalogsSummary: output.DataCatalogsSummary !== undefined && output.DataCatalogsSummary !== null
2509
2509
  ? deserializeAws_json1_1DataCatalogSummaryList(output.DataCatalogsSummary, context)
2510
2510
  : undefined,
2511
- NextToken: smithy_client_1.expectString(output.NextToken),
2511
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
2512
2512
  };
2513
2513
  };
2514
2514
  const deserializeAws_json1_1ListEngineVersionsOutput = (output, context) => {
@@ -2516,7 +2516,7 @@ const deserializeAws_json1_1ListEngineVersionsOutput = (output, context) => {
2516
2516
  EngineVersions: output.EngineVersions !== undefined && output.EngineVersions !== null
2517
2517
  ? deserializeAws_json1_1EngineVersionsList(output.EngineVersions, context)
2518
2518
  : undefined,
2519
- NextToken: smithy_client_1.expectString(output.NextToken),
2519
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
2520
2520
  };
2521
2521
  };
2522
2522
  const deserializeAws_json1_1ListNamedQueriesOutput = (output, context) => {
@@ -2524,12 +2524,12 @@ const deserializeAws_json1_1ListNamedQueriesOutput = (output, context) => {
2524
2524
  NamedQueryIds: output.NamedQueryIds !== undefined && output.NamedQueryIds !== null
2525
2525
  ? deserializeAws_json1_1NamedQueryIdList(output.NamedQueryIds, context)
2526
2526
  : undefined,
2527
- NextToken: smithy_client_1.expectString(output.NextToken),
2527
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
2528
2528
  };
2529
2529
  };
2530
2530
  const deserializeAws_json1_1ListPreparedStatementsOutput = (output, context) => {
2531
2531
  return {
2532
- NextToken: smithy_client_1.expectString(output.NextToken),
2532
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
2533
2533
  PreparedStatements: output.PreparedStatements !== undefined && output.PreparedStatements !== null
2534
2534
  ? deserializeAws_json1_1PreparedStatementsList(output.PreparedStatements, context)
2535
2535
  : undefined,
@@ -2537,7 +2537,7 @@ const deserializeAws_json1_1ListPreparedStatementsOutput = (output, context) =>
2537
2537
  };
2538
2538
  const deserializeAws_json1_1ListQueryExecutionsOutput = (output, context) => {
2539
2539
  return {
2540
- NextToken: smithy_client_1.expectString(output.NextToken),
2540
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
2541
2541
  QueryExecutionIds: output.QueryExecutionIds !== undefined && output.QueryExecutionIds !== null
2542
2542
  ? deserializeAws_json1_1QueryExecutionIdList(output.QueryExecutionIds, context)
2543
2543
  : undefined,
@@ -2545,7 +2545,7 @@ const deserializeAws_json1_1ListQueryExecutionsOutput = (output, context) => {
2545
2545
  };
2546
2546
  const deserializeAws_json1_1ListTableMetadataOutput = (output, context) => {
2547
2547
  return {
2548
- NextToken: smithy_client_1.expectString(output.NextToken),
2548
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
2549
2549
  TableMetadataList: output.TableMetadataList !== undefined && output.TableMetadataList !== null
2550
2550
  ? deserializeAws_json1_1TableMetadataList(output.TableMetadataList, context)
2551
2551
  : undefined,
@@ -2553,7 +2553,7 @@ const deserializeAws_json1_1ListTableMetadataOutput = (output, context) => {
2553
2553
  };
2554
2554
  const deserializeAws_json1_1ListTagsForResourceOutput = (output, context) => {
2555
2555
  return {
2556
- NextToken: smithy_client_1.expectString(output.NextToken),
2556
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
2557
2557
  Tags: output.Tags !== undefined && output.Tags !== null
2558
2558
  ? deserializeAws_json1_1TagList(output.Tags, context)
2559
2559
  : undefined,
@@ -2561,7 +2561,7 @@ const deserializeAws_json1_1ListTagsForResourceOutput = (output, context) => {
2561
2561
  };
2562
2562
  const deserializeAws_json1_1ListWorkGroupsOutput = (output, context) => {
2563
2563
  return {
2564
- NextToken: smithy_client_1.expectString(output.NextToken),
2564
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
2565
2565
  WorkGroups: output.WorkGroups !== undefined && output.WorkGroups !== null
2566
2566
  ? deserializeAws_json1_1WorkGroupsList(output.WorkGroups, context)
2567
2567
  : undefined,
@@ -2569,17 +2569,17 @@ const deserializeAws_json1_1ListWorkGroupsOutput = (output, context) => {
2569
2569
  };
2570
2570
  const deserializeAws_json1_1MetadataException = (output, context) => {
2571
2571
  return {
2572
- Message: smithy_client_1.expectString(output.Message),
2572
+ Message: (0, smithy_client_1.expectString)(output.Message),
2573
2573
  };
2574
2574
  };
2575
2575
  const deserializeAws_json1_1NamedQuery = (output, context) => {
2576
2576
  return {
2577
- Database: smithy_client_1.expectString(output.Database),
2578
- Description: smithy_client_1.expectString(output.Description),
2579
- Name: smithy_client_1.expectString(output.Name),
2580
- NamedQueryId: smithy_client_1.expectString(output.NamedQueryId),
2581
- QueryString: smithy_client_1.expectString(output.QueryString),
2582
- WorkGroup: smithy_client_1.expectString(output.WorkGroup),
2577
+ Database: (0, smithy_client_1.expectString)(output.Database),
2578
+ Description: (0, smithy_client_1.expectString)(output.Description),
2579
+ Name: (0, smithy_client_1.expectString)(output.Name),
2580
+ NamedQueryId: (0, smithy_client_1.expectString)(output.NamedQueryId),
2581
+ QueryString: (0, smithy_client_1.expectString)(output.QueryString),
2582
+ WorkGroup: (0, smithy_client_1.expectString)(output.WorkGroup),
2583
2583
  };
2584
2584
  };
2585
2585
  const deserializeAws_json1_1NamedQueryIdList = (output, context) => {
@@ -2589,7 +2589,7 @@ const deserializeAws_json1_1NamedQueryIdList = (output, context) => {
2589
2589
  if (entry === null) {
2590
2590
  return null;
2591
2591
  }
2592
- return smithy_client_1.expectString(entry);
2592
+ return (0, smithy_client_1.expectString)(entry);
2593
2593
  });
2594
2594
  return retVal;
2595
2595
  };
@@ -2611,19 +2611,19 @@ const deserializeAws_json1_1ParametersMap = (output, context) => {
2611
2611
  }
2612
2612
  return {
2613
2613
  ...acc,
2614
- [key]: smithy_client_1.expectString(value),
2614
+ [key]: (0, smithy_client_1.expectString)(value),
2615
2615
  };
2616
2616
  }, {});
2617
2617
  };
2618
2618
  const deserializeAws_json1_1PreparedStatement = (output, context) => {
2619
2619
  return {
2620
- Description: smithy_client_1.expectString(output.Description),
2620
+ Description: (0, smithy_client_1.expectString)(output.Description),
2621
2621
  LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
2622
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedTime)))
2622
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedTime)))
2623
2623
  : undefined,
2624
- QueryStatement: smithy_client_1.expectString(output.QueryStatement),
2625
- StatementName: smithy_client_1.expectString(output.StatementName),
2626
- WorkGroupName: smithy_client_1.expectString(output.WorkGroupName),
2624
+ QueryStatement: (0, smithy_client_1.expectString)(output.QueryStatement),
2625
+ StatementName: (0, smithy_client_1.expectString)(output.StatementName),
2626
+ WorkGroupName: (0, smithy_client_1.expectString)(output.WorkGroupName),
2627
2627
  };
2628
2628
  };
2629
2629
  const deserializeAws_json1_1PreparedStatementsList = (output, context) => {
@@ -2640,9 +2640,9 @@ const deserializeAws_json1_1PreparedStatementsList = (output, context) => {
2640
2640
  const deserializeAws_json1_1PreparedStatementSummary = (output, context) => {
2641
2641
  return {
2642
2642
  LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
2643
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedTime)))
2643
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedTime)))
2644
2644
  : undefined,
2645
- StatementName: smithy_client_1.expectString(output.StatementName),
2645
+ StatementName: (0, smithy_client_1.expectString)(output.StatementName),
2646
2646
  };
2647
2647
  };
2648
2648
  const deserializeAws_json1_1QueryExecution = (output, context) => {
@@ -2650,28 +2650,28 @@ const deserializeAws_json1_1QueryExecution = (output, context) => {
2650
2650
  EngineVersion: output.EngineVersion !== undefined && output.EngineVersion !== null
2651
2651
  ? deserializeAws_json1_1EngineVersion(output.EngineVersion, context)
2652
2652
  : undefined,
2653
- Query: smithy_client_1.expectString(output.Query),
2653
+ Query: (0, smithy_client_1.expectString)(output.Query),
2654
2654
  QueryExecutionContext: output.QueryExecutionContext !== undefined && output.QueryExecutionContext !== null
2655
2655
  ? deserializeAws_json1_1QueryExecutionContext(output.QueryExecutionContext, context)
2656
2656
  : undefined,
2657
- QueryExecutionId: smithy_client_1.expectString(output.QueryExecutionId),
2657
+ QueryExecutionId: (0, smithy_client_1.expectString)(output.QueryExecutionId),
2658
2658
  ResultConfiguration: output.ResultConfiguration !== undefined && output.ResultConfiguration !== null
2659
2659
  ? deserializeAws_json1_1ResultConfiguration(output.ResultConfiguration, context)
2660
2660
  : undefined,
2661
- StatementType: smithy_client_1.expectString(output.StatementType),
2661
+ StatementType: (0, smithy_client_1.expectString)(output.StatementType),
2662
2662
  Statistics: output.Statistics !== undefined && output.Statistics !== null
2663
2663
  ? deserializeAws_json1_1QueryExecutionStatistics(output.Statistics, context)
2664
2664
  : undefined,
2665
2665
  Status: output.Status !== undefined && output.Status !== null
2666
2666
  ? deserializeAws_json1_1QueryExecutionStatus(output.Status, context)
2667
2667
  : undefined,
2668
- WorkGroup: smithy_client_1.expectString(output.WorkGroup),
2668
+ WorkGroup: (0, smithy_client_1.expectString)(output.WorkGroup),
2669
2669
  };
2670
2670
  };
2671
2671
  const deserializeAws_json1_1QueryExecutionContext = (output, context) => {
2672
2672
  return {
2673
- Catalog: smithy_client_1.expectString(output.Catalog),
2674
- Database: smithy_client_1.expectString(output.Database),
2673
+ Catalog: (0, smithy_client_1.expectString)(output.Catalog),
2674
+ Database: (0, smithy_client_1.expectString)(output.Database),
2675
2675
  };
2676
2676
  };
2677
2677
  const deserializeAws_json1_1QueryExecutionIdList = (output, context) => {
@@ -2681,7 +2681,7 @@ const deserializeAws_json1_1QueryExecutionIdList = (output, context) => {
2681
2681
  if (entry === null) {
2682
2682
  return null;
2683
2683
  }
2684
- return smithy_client_1.expectString(entry);
2684
+ return (0, smithy_client_1.expectString)(entry);
2685
2685
  });
2686
2686
  return retVal;
2687
2687
  };
@@ -2698,13 +2698,13 @@ const deserializeAws_json1_1QueryExecutionList = (output, context) => {
2698
2698
  };
2699
2699
  const deserializeAws_json1_1QueryExecutionStatistics = (output, context) => {
2700
2700
  return {
2701
- DataManifestLocation: smithy_client_1.expectString(output.DataManifestLocation),
2702
- DataScannedInBytes: smithy_client_1.expectLong(output.DataScannedInBytes),
2703
- EngineExecutionTimeInMillis: smithy_client_1.expectLong(output.EngineExecutionTimeInMillis),
2704
- QueryPlanningTimeInMillis: smithy_client_1.expectLong(output.QueryPlanningTimeInMillis),
2705
- QueryQueueTimeInMillis: smithy_client_1.expectLong(output.QueryQueueTimeInMillis),
2706
- ServiceProcessingTimeInMillis: smithy_client_1.expectLong(output.ServiceProcessingTimeInMillis),
2707
- TotalExecutionTimeInMillis: smithy_client_1.expectLong(output.TotalExecutionTimeInMillis),
2701
+ DataManifestLocation: (0, smithy_client_1.expectString)(output.DataManifestLocation),
2702
+ DataScannedInBytes: (0, smithy_client_1.expectLong)(output.DataScannedInBytes),
2703
+ EngineExecutionTimeInMillis: (0, smithy_client_1.expectLong)(output.EngineExecutionTimeInMillis),
2704
+ QueryPlanningTimeInMillis: (0, smithy_client_1.expectLong)(output.QueryPlanningTimeInMillis),
2705
+ QueryQueueTimeInMillis: (0, smithy_client_1.expectLong)(output.QueryQueueTimeInMillis),
2706
+ ServiceProcessingTimeInMillis: (0, smithy_client_1.expectLong)(output.ServiceProcessingTimeInMillis),
2707
+ TotalExecutionTimeInMillis: (0, smithy_client_1.expectLong)(output.TotalExecutionTimeInMillis),
2708
2708
  };
2709
2709
  };
2710
2710
  const deserializeAws_json1_1QueryExecutionStatus = (output, context) => {
@@ -2713,19 +2713,19 @@ const deserializeAws_json1_1QueryExecutionStatus = (output, context) => {
2713
2713
  ? deserializeAws_json1_1AthenaError(output.AthenaError, context)
2714
2714
  : undefined,
2715
2715
  CompletionDateTime: output.CompletionDateTime !== undefined && output.CompletionDateTime !== null
2716
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CompletionDateTime)))
2716
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CompletionDateTime)))
2717
2717
  : undefined,
2718
- State: smithy_client_1.expectString(output.State),
2719
- StateChangeReason: smithy_client_1.expectString(output.StateChangeReason),
2718
+ State: (0, smithy_client_1.expectString)(output.State),
2719
+ StateChangeReason: (0, smithy_client_1.expectString)(output.StateChangeReason),
2720
2720
  SubmissionDateTime: output.SubmissionDateTime !== undefined && output.SubmissionDateTime !== null
2721
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.SubmissionDateTime)))
2721
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.SubmissionDateTime)))
2722
2722
  : undefined,
2723
2723
  };
2724
2724
  };
2725
2725
  const deserializeAws_json1_1ResourceNotFoundException = (output, context) => {
2726
2726
  return {
2727
- Message: smithy_client_1.expectString(output.Message),
2728
- ResourceName: smithy_client_1.expectString(output.ResourceName),
2727
+ Message: (0, smithy_client_1.expectString)(output.Message),
2728
+ ResourceName: (0, smithy_client_1.expectString)(output.ResourceName),
2729
2729
  };
2730
2730
  };
2731
2731
  const deserializeAws_json1_1ResultConfiguration = (output, context) => {
@@ -2736,8 +2736,8 @@ const deserializeAws_json1_1ResultConfiguration = (output, context) => {
2736
2736
  EncryptionConfiguration: output.EncryptionConfiguration !== undefined && output.EncryptionConfiguration !== null
2737
2737
  ? deserializeAws_json1_1EncryptionConfiguration(output.EncryptionConfiguration, context)
2738
2738
  : undefined,
2739
- ExpectedBucketOwner: smithy_client_1.expectString(output.ExpectedBucketOwner),
2740
- OutputLocation: smithy_client_1.expectString(output.OutputLocation),
2739
+ ExpectedBucketOwner: (0, smithy_client_1.expectString)(output.ExpectedBucketOwner),
2740
+ OutputLocation: (0, smithy_client_1.expectString)(output.OutputLocation),
2741
2741
  };
2742
2742
  };
2743
2743
  const deserializeAws_json1_1ResultSet = (output, context) => {
@@ -2777,7 +2777,7 @@ const deserializeAws_json1_1RowList = (output, context) => {
2777
2777
  };
2778
2778
  const deserializeAws_json1_1StartQueryExecutionOutput = (output, context) => {
2779
2779
  return {
2780
- QueryExecutionId: smithy_client_1.expectString(output.QueryExecutionId),
2780
+ QueryExecutionId: (0, smithy_client_1.expectString)(output.QueryExecutionId),
2781
2781
  };
2782
2782
  };
2783
2783
  const deserializeAws_json1_1StopQueryExecutionOutput = (output, context) => {
@@ -2789,19 +2789,19 @@ const deserializeAws_json1_1TableMetadata = (output, context) => {
2789
2789
  ? deserializeAws_json1_1ColumnList(output.Columns, context)
2790
2790
  : undefined,
2791
2791
  CreateTime: output.CreateTime !== undefined && output.CreateTime !== null
2792
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreateTime)))
2792
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreateTime)))
2793
2793
  : undefined,
2794
2794
  LastAccessTime: output.LastAccessTime !== undefined && output.LastAccessTime !== null
2795
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastAccessTime)))
2795
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastAccessTime)))
2796
2796
  : undefined,
2797
- Name: smithy_client_1.expectString(output.Name),
2797
+ Name: (0, smithy_client_1.expectString)(output.Name),
2798
2798
  Parameters: output.Parameters !== undefined && output.Parameters !== null
2799
2799
  ? deserializeAws_json1_1ParametersMap(output.Parameters, context)
2800
2800
  : undefined,
2801
2801
  PartitionKeys: output.PartitionKeys !== undefined && output.PartitionKeys !== null
2802
2802
  ? deserializeAws_json1_1ColumnList(output.PartitionKeys, context)
2803
2803
  : undefined,
2804
- TableType: smithy_client_1.expectString(output.TableType),
2804
+ TableType: (0, smithy_client_1.expectString)(output.TableType),
2805
2805
  };
2806
2806
  };
2807
2807
  const deserializeAws_json1_1TableMetadataList = (output, context) => {
@@ -2817,8 +2817,8 @@ const deserializeAws_json1_1TableMetadataList = (output, context) => {
2817
2817
  };
2818
2818
  const deserializeAws_json1_1Tag = (output, context) => {
2819
2819
  return {
2820
- Key: smithy_client_1.expectString(output.Key),
2821
- Value: smithy_client_1.expectString(output.Value),
2820
+ Key: (0, smithy_client_1.expectString)(output.Key),
2821
+ Value: (0, smithy_client_1.expectString)(output.Value),
2822
2822
  };
2823
2823
  };
2824
2824
  const deserializeAws_json1_1TagList = (output, context) => {
@@ -2837,15 +2837,15 @@ const deserializeAws_json1_1TagResourceOutput = (output, context) => {
2837
2837
  };
2838
2838
  const deserializeAws_json1_1TooManyRequestsException = (output, context) => {
2839
2839
  return {
2840
- Message: smithy_client_1.expectString(output.Message),
2841
- Reason: smithy_client_1.expectString(output.Reason),
2840
+ Message: (0, smithy_client_1.expectString)(output.Message),
2841
+ Reason: (0, smithy_client_1.expectString)(output.Reason),
2842
2842
  };
2843
2843
  };
2844
2844
  const deserializeAws_json1_1UnprocessedNamedQueryId = (output, context) => {
2845
2845
  return {
2846
- ErrorCode: smithy_client_1.expectString(output.ErrorCode),
2847
- ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
2848
- NamedQueryId: smithy_client_1.expectString(output.NamedQueryId),
2846
+ ErrorCode: (0, smithy_client_1.expectString)(output.ErrorCode),
2847
+ ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
2848
+ NamedQueryId: (0, smithy_client_1.expectString)(output.NamedQueryId),
2849
2849
  };
2850
2850
  };
2851
2851
  const deserializeAws_json1_1UnprocessedNamedQueryIdList = (output, context) => {
@@ -2861,9 +2861,9 @@ const deserializeAws_json1_1UnprocessedNamedQueryIdList = (output, context) => {
2861
2861
  };
2862
2862
  const deserializeAws_json1_1UnprocessedQueryExecutionId = (output, context) => {
2863
2863
  return {
2864
- ErrorCode: smithy_client_1.expectString(output.ErrorCode),
2865
- ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
2866
- QueryExecutionId: smithy_client_1.expectString(output.QueryExecutionId),
2864
+ ErrorCode: (0, smithy_client_1.expectString)(output.ErrorCode),
2865
+ ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
2866
+ QueryExecutionId: (0, smithy_client_1.expectString)(output.QueryExecutionId),
2867
2867
  };
2868
2868
  };
2869
2869
  const deserializeAws_json1_1UnprocessedQueryExecutionIdList = (output, context) => {
@@ -2898,22 +2898,22 @@ const deserializeAws_json1_1WorkGroup = (output, context) => {
2898
2898
  ? deserializeAws_json1_1WorkGroupConfiguration(output.Configuration, context)
2899
2899
  : undefined,
2900
2900
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
2901
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
2901
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
2902
2902
  : undefined,
2903
- Description: smithy_client_1.expectString(output.Description),
2904
- Name: smithy_client_1.expectString(output.Name),
2905
- State: smithy_client_1.expectString(output.State),
2903
+ Description: (0, smithy_client_1.expectString)(output.Description),
2904
+ Name: (0, smithy_client_1.expectString)(output.Name),
2905
+ State: (0, smithy_client_1.expectString)(output.State),
2906
2906
  };
2907
2907
  };
2908
2908
  const deserializeAws_json1_1WorkGroupConfiguration = (output, context) => {
2909
2909
  return {
2910
- BytesScannedCutoffPerQuery: smithy_client_1.expectLong(output.BytesScannedCutoffPerQuery),
2911
- EnforceWorkGroupConfiguration: smithy_client_1.expectBoolean(output.EnforceWorkGroupConfiguration),
2910
+ BytesScannedCutoffPerQuery: (0, smithy_client_1.expectLong)(output.BytesScannedCutoffPerQuery),
2911
+ EnforceWorkGroupConfiguration: (0, smithy_client_1.expectBoolean)(output.EnforceWorkGroupConfiguration),
2912
2912
  EngineVersion: output.EngineVersion !== undefined && output.EngineVersion !== null
2913
2913
  ? deserializeAws_json1_1EngineVersion(output.EngineVersion, context)
2914
2914
  : undefined,
2915
- PublishCloudWatchMetricsEnabled: smithy_client_1.expectBoolean(output.PublishCloudWatchMetricsEnabled),
2916
- RequesterPaysEnabled: smithy_client_1.expectBoolean(output.RequesterPaysEnabled),
2915
+ PublishCloudWatchMetricsEnabled: (0, smithy_client_1.expectBoolean)(output.PublishCloudWatchMetricsEnabled),
2916
+ RequesterPaysEnabled: (0, smithy_client_1.expectBoolean)(output.RequesterPaysEnabled),
2917
2917
  ResultConfiguration: output.ResultConfiguration !== undefined && output.ResultConfiguration !== null
2918
2918
  ? deserializeAws_json1_1ResultConfiguration(output.ResultConfiguration, context)
2919
2919
  : undefined,
@@ -2933,14 +2933,14 @@ const deserializeAws_json1_1WorkGroupsList = (output, context) => {
2933
2933
  const deserializeAws_json1_1WorkGroupSummary = (output, context) => {
2934
2934
  return {
2935
2935
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
2936
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
2936
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
2937
2937
  : undefined,
2938
- Description: smithy_client_1.expectString(output.Description),
2938
+ Description: (0, smithy_client_1.expectString)(output.Description),
2939
2939
  EngineVersion: output.EngineVersion !== undefined && output.EngineVersion !== null
2940
2940
  ? deserializeAws_json1_1EngineVersion(output.EngineVersion, context)
2941
2941
  : undefined,
2942
- Name: smithy_client_1.expectString(output.Name),
2943
- State: smithy_client_1.expectString(output.State),
2942
+ Name: (0, smithy_client_1.expectString)(output.Name),
2943
+ State: (0, smithy_client_1.expectString)(output.State),
2944
2944
  };
2945
2945
  };
2946
2946
  const deserializeMetadata = (output) => {