@aws-sdk/client-athena 3.1045.0 → 3.1046.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 (245) hide show
  1. package/dist-cjs/auth/httpAuthSchemeProvider.js +4 -4
  2. package/dist-cjs/endpoint/bdd.js +2 -2
  3. package/dist-cjs/endpoint/endpointResolver.js +4 -4
  4. package/dist-cjs/index.js +156 -157
  5. package/dist-cjs/models/AthenaServiceException.js +3 -3
  6. package/dist-cjs/runtimeConfig.browser.js +12 -14
  7. package/dist-cjs/runtimeConfig.js +18 -22
  8. package/dist-cjs/runtimeConfig.shared.js +9 -10
  9. package/dist-es/Athena.js +1 -1
  10. package/dist-es/AthenaClient.js +5 -5
  11. package/dist-es/auth/httpAuthSchemeProvider.js +1 -1
  12. package/dist-es/commands/BatchGetNamedQueryCommand.js +2 -2
  13. package/dist-es/commands/BatchGetPreparedStatementCommand.js +2 -2
  14. package/dist-es/commands/BatchGetQueryExecutionCommand.js +2 -2
  15. package/dist-es/commands/CancelCapacityReservationCommand.js +2 -2
  16. package/dist-es/commands/CreateCapacityReservationCommand.js +2 -2
  17. package/dist-es/commands/CreateDataCatalogCommand.js +2 -2
  18. package/dist-es/commands/CreateNamedQueryCommand.js +2 -2
  19. package/dist-es/commands/CreateNotebookCommand.js +2 -2
  20. package/dist-es/commands/CreatePreparedStatementCommand.js +2 -2
  21. package/dist-es/commands/CreatePresignedNotebookUrlCommand.js +2 -2
  22. package/dist-es/commands/CreateWorkGroupCommand.js +2 -2
  23. package/dist-es/commands/DeleteCapacityReservationCommand.js +2 -2
  24. package/dist-es/commands/DeleteDataCatalogCommand.js +2 -2
  25. package/dist-es/commands/DeleteNamedQueryCommand.js +2 -2
  26. package/dist-es/commands/DeleteNotebookCommand.js +2 -2
  27. package/dist-es/commands/DeletePreparedStatementCommand.js +2 -2
  28. package/dist-es/commands/DeleteWorkGroupCommand.js +2 -2
  29. package/dist-es/commands/ExportNotebookCommand.js +2 -2
  30. package/dist-es/commands/GetCalculationExecutionCodeCommand.js +2 -2
  31. package/dist-es/commands/GetCalculationExecutionCommand.js +2 -2
  32. package/dist-es/commands/GetCalculationExecutionStatusCommand.js +2 -2
  33. package/dist-es/commands/GetCapacityAssignmentConfigurationCommand.js +2 -2
  34. package/dist-es/commands/GetCapacityReservationCommand.js +2 -2
  35. package/dist-es/commands/GetDataCatalogCommand.js +2 -2
  36. package/dist-es/commands/GetDatabaseCommand.js +2 -2
  37. package/dist-es/commands/GetNamedQueryCommand.js +2 -2
  38. package/dist-es/commands/GetNotebookMetadataCommand.js +2 -2
  39. package/dist-es/commands/GetPreparedStatementCommand.js +2 -2
  40. package/dist-es/commands/GetQueryExecutionCommand.js +2 -2
  41. package/dist-es/commands/GetQueryResultsCommand.js +2 -2
  42. package/dist-es/commands/GetQueryRuntimeStatisticsCommand.js +2 -2
  43. package/dist-es/commands/GetResourceDashboardCommand.js +2 -2
  44. package/dist-es/commands/GetSessionCommand.js +2 -2
  45. package/dist-es/commands/GetSessionEndpointCommand.js +2 -2
  46. package/dist-es/commands/GetSessionStatusCommand.js +2 -2
  47. package/dist-es/commands/GetTableMetadataCommand.js +2 -2
  48. package/dist-es/commands/GetWorkGroupCommand.js +2 -2
  49. package/dist-es/commands/ImportNotebookCommand.js +2 -2
  50. package/dist-es/commands/ListApplicationDPUSizesCommand.js +2 -2
  51. package/dist-es/commands/ListCalculationExecutionsCommand.js +2 -2
  52. package/dist-es/commands/ListCapacityReservationsCommand.js +2 -2
  53. package/dist-es/commands/ListDataCatalogsCommand.js +2 -2
  54. package/dist-es/commands/ListDatabasesCommand.js +2 -2
  55. package/dist-es/commands/ListEngineVersionsCommand.js +2 -2
  56. package/dist-es/commands/ListExecutorsCommand.js +2 -2
  57. package/dist-es/commands/ListNamedQueriesCommand.js +2 -2
  58. package/dist-es/commands/ListNotebookMetadataCommand.js +2 -2
  59. package/dist-es/commands/ListNotebookSessionsCommand.js +2 -2
  60. package/dist-es/commands/ListPreparedStatementsCommand.js +2 -2
  61. package/dist-es/commands/ListQueryExecutionsCommand.js +2 -2
  62. package/dist-es/commands/ListSessionsCommand.js +2 -2
  63. package/dist-es/commands/ListTableMetadataCommand.js +2 -2
  64. package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
  65. package/dist-es/commands/ListWorkGroupsCommand.js +2 -2
  66. package/dist-es/commands/PutCapacityAssignmentConfigurationCommand.js +2 -2
  67. package/dist-es/commands/StartCalculationExecutionCommand.js +2 -2
  68. package/dist-es/commands/StartQueryExecutionCommand.js +2 -2
  69. package/dist-es/commands/StartSessionCommand.js +2 -2
  70. package/dist-es/commands/StopCalculationExecutionCommand.js +2 -2
  71. package/dist-es/commands/StopQueryExecutionCommand.js +2 -2
  72. package/dist-es/commands/TagResourceCommand.js +2 -2
  73. package/dist-es/commands/TerminateSessionCommand.js +2 -2
  74. package/dist-es/commands/UntagResourceCommand.js +2 -2
  75. package/dist-es/commands/UpdateCapacityReservationCommand.js +2 -2
  76. package/dist-es/commands/UpdateDataCatalogCommand.js +2 -2
  77. package/dist-es/commands/UpdateNamedQueryCommand.js +2 -2
  78. package/dist-es/commands/UpdateNotebookCommand.js +2 -2
  79. package/dist-es/commands/UpdateNotebookMetadataCommand.js +2 -2
  80. package/dist-es/commands/UpdatePreparedStatementCommand.js +2 -2
  81. package/dist-es/commands/UpdateWorkGroupCommand.js +2 -2
  82. package/dist-es/endpoint/bdd.js +1 -1
  83. package/dist-es/endpoint/endpointResolver.js +1 -1
  84. package/dist-es/models/AthenaServiceException.js +1 -1
  85. package/dist-es/runtimeConfig.browser.js +4 -6
  86. package/dist-es/runtimeConfig.js +4 -8
  87. package/dist-es/runtimeConfig.shared.js +3 -4
  88. package/dist-es/runtimeExtensions.js +2 -2
  89. package/dist-types/AthenaClient.d.ts +5 -5
  90. package/dist-types/commands/BatchGetNamedQueryCommand.d.ts +6 -4
  91. package/dist-types/commands/BatchGetPreparedStatementCommand.d.ts +6 -4
  92. package/dist-types/commands/BatchGetQueryExecutionCommand.d.ts +6 -4
  93. package/dist-types/commands/CancelCapacityReservationCommand.d.ts +6 -4
  94. package/dist-types/commands/CreateCapacityReservationCommand.d.ts +6 -4
  95. package/dist-types/commands/CreateDataCatalogCommand.d.ts +6 -4
  96. package/dist-types/commands/CreateNamedQueryCommand.d.ts +6 -4
  97. package/dist-types/commands/CreateNotebookCommand.d.ts +6 -4
  98. package/dist-types/commands/CreatePreparedStatementCommand.d.ts +6 -4
  99. package/dist-types/commands/CreatePresignedNotebookUrlCommand.d.ts +6 -4
  100. package/dist-types/commands/CreateWorkGroupCommand.d.ts +6 -4
  101. package/dist-types/commands/DeleteCapacityReservationCommand.d.ts +6 -4
  102. package/dist-types/commands/DeleteDataCatalogCommand.d.ts +6 -4
  103. package/dist-types/commands/DeleteNamedQueryCommand.d.ts +6 -4
  104. package/dist-types/commands/DeleteNotebookCommand.d.ts +6 -4
  105. package/dist-types/commands/DeletePreparedStatementCommand.d.ts +6 -4
  106. package/dist-types/commands/DeleteWorkGroupCommand.d.ts +6 -4
  107. package/dist-types/commands/ExportNotebookCommand.d.ts +6 -4
  108. package/dist-types/commands/GetCalculationExecutionCodeCommand.d.ts +6 -4
  109. package/dist-types/commands/GetCalculationExecutionCommand.d.ts +6 -4
  110. package/dist-types/commands/GetCalculationExecutionStatusCommand.d.ts +6 -4
  111. package/dist-types/commands/GetCapacityAssignmentConfigurationCommand.d.ts +6 -4
  112. package/dist-types/commands/GetCapacityReservationCommand.d.ts +6 -4
  113. package/dist-types/commands/GetDataCatalogCommand.d.ts +6 -4
  114. package/dist-types/commands/GetDatabaseCommand.d.ts +6 -4
  115. package/dist-types/commands/GetNamedQueryCommand.d.ts +6 -4
  116. package/dist-types/commands/GetNotebookMetadataCommand.d.ts +6 -4
  117. package/dist-types/commands/GetPreparedStatementCommand.d.ts +6 -4
  118. package/dist-types/commands/GetQueryExecutionCommand.d.ts +6 -4
  119. package/dist-types/commands/GetQueryResultsCommand.d.ts +6 -4
  120. package/dist-types/commands/GetQueryRuntimeStatisticsCommand.d.ts +6 -4
  121. package/dist-types/commands/GetResourceDashboardCommand.d.ts +6 -4
  122. package/dist-types/commands/GetSessionCommand.d.ts +6 -4
  123. package/dist-types/commands/GetSessionEndpointCommand.d.ts +6 -4
  124. package/dist-types/commands/GetSessionStatusCommand.d.ts +6 -4
  125. package/dist-types/commands/GetTableMetadataCommand.d.ts +6 -4
  126. package/dist-types/commands/GetWorkGroupCommand.d.ts +6 -4
  127. package/dist-types/commands/ImportNotebookCommand.d.ts +6 -4
  128. package/dist-types/commands/ListApplicationDPUSizesCommand.d.ts +6 -4
  129. package/dist-types/commands/ListCalculationExecutionsCommand.d.ts +6 -4
  130. package/dist-types/commands/ListCapacityReservationsCommand.d.ts +6 -4
  131. package/dist-types/commands/ListDataCatalogsCommand.d.ts +6 -4
  132. package/dist-types/commands/ListDatabasesCommand.d.ts +6 -4
  133. package/dist-types/commands/ListEngineVersionsCommand.d.ts +6 -4
  134. package/dist-types/commands/ListExecutorsCommand.d.ts +6 -4
  135. package/dist-types/commands/ListNamedQueriesCommand.d.ts +6 -4
  136. package/dist-types/commands/ListNotebookMetadataCommand.d.ts +6 -4
  137. package/dist-types/commands/ListNotebookSessionsCommand.d.ts +6 -4
  138. package/dist-types/commands/ListPreparedStatementsCommand.d.ts +6 -4
  139. package/dist-types/commands/ListQueryExecutionsCommand.d.ts +6 -4
  140. package/dist-types/commands/ListSessionsCommand.d.ts +6 -4
  141. package/dist-types/commands/ListTableMetadataCommand.d.ts +6 -4
  142. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -4
  143. package/dist-types/commands/ListWorkGroupsCommand.d.ts +6 -4
  144. package/dist-types/commands/PutCapacityAssignmentConfigurationCommand.d.ts +6 -4
  145. package/dist-types/commands/StartCalculationExecutionCommand.d.ts +6 -4
  146. package/dist-types/commands/StartQueryExecutionCommand.d.ts +6 -4
  147. package/dist-types/commands/StartSessionCommand.d.ts +6 -4
  148. package/dist-types/commands/StopCalculationExecutionCommand.d.ts +6 -4
  149. package/dist-types/commands/StopQueryExecutionCommand.d.ts +6 -4
  150. package/dist-types/commands/TagResourceCommand.d.ts +6 -4
  151. package/dist-types/commands/TerminateSessionCommand.d.ts +6 -4
  152. package/dist-types/commands/UntagResourceCommand.d.ts +6 -4
  153. package/dist-types/commands/UpdateCapacityReservationCommand.d.ts +6 -4
  154. package/dist-types/commands/UpdateDataCatalogCommand.d.ts +6 -4
  155. package/dist-types/commands/UpdateNamedQueryCommand.d.ts +6 -4
  156. package/dist-types/commands/UpdateNotebookCommand.d.ts +6 -4
  157. package/dist-types/commands/UpdateNotebookMetadataCommand.d.ts +6 -4
  158. package/dist-types/commands/UpdatePreparedStatementCommand.d.ts +6 -4
  159. package/dist-types/commands/UpdateWorkGroupCommand.d.ts +6 -4
  160. package/dist-types/endpoint/bdd.d.ts +1 -1
  161. package/dist-types/extensionConfiguration.d.ts +1 -1
  162. package/dist-types/models/AthenaServiceException.d.ts +1 -1
  163. package/dist-types/models/errors.d.ts +1 -1
  164. package/dist-types/runtimeConfig.browser.d.ts +2 -2
  165. package/dist-types/runtimeConfig.d.ts +2 -2
  166. package/dist-types/runtimeConfig.native.d.ts +2 -2
  167. package/dist-types/ts3.4/AthenaClient.d.ts +8 -14
  168. package/dist-types/ts3.4/commands/BatchGetNamedQueryCommand.d.ts +6 -4
  169. package/dist-types/ts3.4/commands/BatchGetPreparedStatementCommand.d.ts +6 -4
  170. package/dist-types/ts3.4/commands/BatchGetQueryExecutionCommand.d.ts +6 -4
  171. package/dist-types/ts3.4/commands/CancelCapacityReservationCommand.d.ts +6 -4
  172. package/dist-types/ts3.4/commands/CreateCapacityReservationCommand.d.ts +6 -4
  173. package/dist-types/ts3.4/commands/CreateDataCatalogCommand.d.ts +6 -4
  174. package/dist-types/ts3.4/commands/CreateNamedQueryCommand.d.ts +6 -4
  175. package/dist-types/ts3.4/commands/CreateNotebookCommand.d.ts +6 -4
  176. package/dist-types/ts3.4/commands/CreatePreparedStatementCommand.d.ts +6 -4
  177. package/dist-types/ts3.4/commands/CreatePresignedNotebookUrlCommand.d.ts +6 -4
  178. package/dist-types/ts3.4/commands/CreateWorkGroupCommand.d.ts +6 -4
  179. package/dist-types/ts3.4/commands/DeleteCapacityReservationCommand.d.ts +6 -4
  180. package/dist-types/ts3.4/commands/DeleteDataCatalogCommand.d.ts +6 -4
  181. package/dist-types/ts3.4/commands/DeleteNamedQueryCommand.d.ts +6 -4
  182. package/dist-types/ts3.4/commands/DeleteNotebookCommand.d.ts +6 -4
  183. package/dist-types/ts3.4/commands/DeletePreparedStatementCommand.d.ts +6 -4
  184. package/dist-types/ts3.4/commands/DeleteWorkGroupCommand.d.ts +6 -4
  185. package/dist-types/ts3.4/commands/ExportNotebookCommand.d.ts +6 -4
  186. package/dist-types/ts3.4/commands/GetCalculationExecutionCodeCommand.d.ts +6 -4
  187. package/dist-types/ts3.4/commands/GetCalculationExecutionCommand.d.ts +6 -4
  188. package/dist-types/ts3.4/commands/GetCalculationExecutionStatusCommand.d.ts +6 -4
  189. package/dist-types/ts3.4/commands/GetCapacityAssignmentConfigurationCommand.d.ts +6 -4
  190. package/dist-types/ts3.4/commands/GetCapacityReservationCommand.d.ts +6 -4
  191. package/dist-types/ts3.4/commands/GetDataCatalogCommand.d.ts +6 -4
  192. package/dist-types/ts3.4/commands/GetDatabaseCommand.d.ts +6 -4
  193. package/dist-types/ts3.4/commands/GetNamedQueryCommand.d.ts +6 -4
  194. package/dist-types/ts3.4/commands/GetNotebookMetadataCommand.d.ts +6 -4
  195. package/dist-types/ts3.4/commands/GetPreparedStatementCommand.d.ts +6 -4
  196. package/dist-types/ts3.4/commands/GetQueryExecutionCommand.d.ts +6 -4
  197. package/dist-types/ts3.4/commands/GetQueryResultsCommand.d.ts +6 -4
  198. package/dist-types/ts3.4/commands/GetQueryRuntimeStatisticsCommand.d.ts +6 -4
  199. package/dist-types/ts3.4/commands/GetResourceDashboardCommand.d.ts +6 -4
  200. package/dist-types/ts3.4/commands/GetSessionCommand.d.ts +6 -4
  201. package/dist-types/ts3.4/commands/GetSessionEndpointCommand.d.ts +6 -4
  202. package/dist-types/ts3.4/commands/GetSessionStatusCommand.d.ts +6 -4
  203. package/dist-types/ts3.4/commands/GetTableMetadataCommand.d.ts +6 -4
  204. package/dist-types/ts3.4/commands/GetWorkGroupCommand.d.ts +6 -4
  205. package/dist-types/ts3.4/commands/ImportNotebookCommand.d.ts +6 -4
  206. package/dist-types/ts3.4/commands/ListApplicationDPUSizesCommand.d.ts +6 -4
  207. package/dist-types/ts3.4/commands/ListCalculationExecutionsCommand.d.ts +6 -4
  208. package/dist-types/ts3.4/commands/ListCapacityReservationsCommand.d.ts +6 -4
  209. package/dist-types/ts3.4/commands/ListDataCatalogsCommand.d.ts +6 -4
  210. package/dist-types/ts3.4/commands/ListDatabasesCommand.d.ts +6 -4
  211. package/dist-types/ts3.4/commands/ListEngineVersionsCommand.d.ts +6 -4
  212. package/dist-types/ts3.4/commands/ListExecutorsCommand.d.ts +6 -4
  213. package/dist-types/ts3.4/commands/ListNamedQueriesCommand.d.ts +6 -4
  214. package/dist-types/ts3.4/commands/ListNotebookMetadataCommand.d.ts +6 -4
  215. package/dist-types/ts3.4/commands/ListNotebookSessionsCommand.d.ts +6 -4
  216. package/dist-types/ts3.4/commands/ListPreparedStatementsCommand.d.ts +6 -4
  217. package/dist-types/ts3.4/commands/ListQueryExecutionsCommand.d.ts +6 -4
  218. package/dist-types/ts3.4/commands/ListSessionsCommand.d.ts +6 -4
  219. package/dist-types/ts3.4/commands/ListTableMetadataCommand.d.ts +6 -4
  220. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +6 -4
  221. package/dist-types/ts3.4/commands/ListWorkGroupsCommand.d.ts +6 -4
  222. package/dist-types/ts3.4/commands/PutCapacityAssignmentConfigurationCommand.d.ts +6 -4
  223. package/dist-types/ts3.4/commands/StartCalculationExecutionCommand.d.ts +6 -4
  224. package/dist-types/ts3.4/commands/StartQueryExecutionCommand.d.ts +6 -4
  225. package/dist-types/ts3.4/commands/StartSessionCommand.d.ts +6 -4
  226. package/dist-types/ts3.4/commands/StopCalculationExecutionCommand.d.ts +6 -4
  227. package/dist-types/ts3.4/commands/StopQueryExecutionCommand.d.ts +6 -4
  228. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +6 -4
  229. package/dist-types/ts3.4/commands/TerminateSessionCommand.d.ts +6 -4
  230. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +6 -4
  231. package/dist-types/ts3.4/commands/UpdateCapacityReservationCommand.d.ts +6 -4
  232. package/dist-types/ts3.4/commands/UpdateDataCatalogCommand.d.ts +6 -4
  233. package/dist-types/ts3.4/commands/UpdateNamedQueryCommand.d.ts +6 -4
  234. package/dist-types/ts3.4/commands/UpdateNotebookCommand.d.ts +6 -4
  235. package/dist-types/ts3.4/commands/UpdateNotebookMetadataCommand.d.ts +6 -4
  236. package/dist-types/ts3.4/commands/UpdatePreparedStatementCommand.d.ts +6 -4
  237. package/dist-types/ts3.4/commands/UpdateWorkGroupCommand.d.ts +6 -4
  238. package/dist-types/ts3.4/endpoint/bdd.d.ts +1 -1
  239. package/dist-types/ts3.4/extensionConfiguration.d.ts +1 -1
  240. package/dist-types/ts3.4/models/AthenaServiceException.d.ts +1 -1
  241. package/dist-types/ts3.4/models/errors.d.ts +1 -1
  242. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
  243. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
  244. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
  245. package/package.json +13 -34
package/dist-cjs/index.js CHANGED
@@ -4,17 +4,16 @@ var middlewareHostHeader = require('@aws-sdk/middleware-host-header');
4
4
  var middlewareLogger = require('@aws-sdk/middleware-logger');
5
5
  var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection');
6
6
  var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
7
- var configResolver = require('@smithy/config-resolver');
8
7
  var core = require('@smithy/core');
8
+ var client = require('@smithy/core/client');
9
+ var config = require('@smithy/core/config');
10
+ var endpoints = require('@smithy/core/endpoints');
11
+ var protocols = require('@smithy/core/protocols');
12
+ var retry = require('@smithy/core/retry');
9
13
  var schema = require('@smithy/core/schema');
10
- var middlewareContentLength = require('@smithy/middleware-content-length');
11
- var middlewareEndpoint = require('@smithy/middleware-endpoint');
12
- var middlewareRetry = require('@smithy/middleware-retry');
13
- var smithyClient = require('@smithy/smithy-client');
14
14
  var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
15
15
  var runtimeConfig = require('./runtimeConfig');
16
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
17
- var protocolHttp = require('@smithy/protocol-http');
18
17
  var schemas_0 = require('./schemas/schemas_0');
19
18
  var errors = require('./models/errors');
20
19
  var AthenaServiceException = require('./models/AthenaServiceException');
@@ -73,12 +72,12 @@ const resolveHttpAuthRuntimeConfig = (config) => {
73
72
  };
74
73
 
75
74
  const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
76
- const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), smithyClient.getDefaultExtensionConfiguration(runtimeConfig), protocolHttp.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
75
+ const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), client.getDefaultExtensionConfiguration(runtimeConfig), protocols.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
77
76
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
78
- return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), smithyClient.resolveDefaultRuntimeConfig(extensionConfiguration), protocolHttp.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
77
+ return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), client.resolveDefaultRuntimeConfig(extensionConfiguration), protocols.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
79
78
  };
80
79
 
81
- class AthenaClient extends smithyClient.Client {
80
+ class AthenaClient extends client.Client {
82
81
  config;
83
82
  constructor(...[configuration]) {
84
83
  const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});
@@ -86,17 +85,17 @@ class AthenaClient extends smithyClient.Client {
86
85
  this.initConfig = _config_0;
87
86
  const _config_1 = resolveClientEndpointParameters(_config_0);
88
87
  const _config_2 = middlewareUserAgent.resolveUserAgentConfig(_config_1);
89
- const _config_3 = middlewareRetry.resolveRetryConfig(_config_2);
90
- const _config_4 = configResolver.resolveRegionConfig(_config_3);
88
+ const _config_3 = retry.resolveRetryConfig(_config_2);
89
+ const _config_4 = config.resolveRegionConfig(_config_3);
91
90
  const _config_5 = middlewareHostHeader.resolveHostHeaderConfig(_config_4);
92
- const _config_6 = middlewareEndpoint.resolveEndpointConfig(_config_5);
91
+ const _config_6 = endpoints.resolveEndpointConfig(_config_5);
93
92
  const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
94
93
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
95
94
  this.config = _config_8;
96
95
  this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
97
96
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
98
- this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
99
- this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
97
+ this.middlewareStack.use(retry.getRetryPlugin(this.config));
98
+ this.middlewareStack.use(protocols.getContentLengthPlugin(this.config));
100
99
  this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config));
101
100
  this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config));
102
101
  this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config));
@@ -113,11 +112,11 @@ class AthenaClient extends smithyClient.Client {
113
112
  }
114
113
  }
115
114
 
116
- class BatchGetNamedQueryCommand extends smithyClient.Command
115
+ class BatchGetNamedQueryCommand extends client.Command
117
116
  .classBuilder()
118
117
  .ep(commonParams)
119
118
  .m(function (Command, cs, config, o) {
120
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
119
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
121
120
  })
122
121
  .s("AmazonAthena", "BatchGetNamedQuery", {})
123
122
  .n("AthenaClient", "BatchGetNamedQueryCommand")
@@ -125,11 +124,11 @@ class BatchGetNamedQueryCommand extends smithyClient.Command
125
124
  .build() {
126
125
  }
127
126
 
128
- class BatchGetPreparedStatementCommand extends smithyClient.Command
127
+ class BatchGetPreparedStatementCommand extends client.Command
129
128
  .classBuilder()
130
129
  .ep(commonParams)
131
130
  .m(function (Command, cs, config, o) {
132
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
131
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
133
132
  })
134
133
  .s("AmazonAthena", "BatchGetPreparedStatement", {})
135
134
  .n("AthenaClient", "BatchGetPreparedStatementCommand")
@@ -137,11 +136,11 @@ class BatchGetPreparedStatementCommand extends smithyClient.Command
137
136
  .build() {
138
137
  }
139
138
 
140
- class BatchGetQueryExecutionCommand extends smithyClient.Command
139
+ class BatchGetQueryExecutionCommand extends client.Command
141
140
  .classBuilder()
142
141
  .ep(commonParams)
143
142
  .m(function (Command, cs, config, o) {
144
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
143
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
145
144
  })
146
145
  .s("AmazonAthena", "BatchGetQueryExecution", {})
147
146
  .n("AthenaClient", "BatchGetQueryExecutionCommand")
@@ -149,11 +148,11 @@ class BatchGetQueryExecutionCommand extends smithyClient.Command
149
148
  .build() {
150
149
  }
151
150
 
152
- class CancelCapacityReservationCommand extends smithyClient.Command
151
+ class CancelCapacityReservationCommand extends client.Command
153
152
  .classBuilder()
154
153
  .ep(commonParams)
155
154
  .m(function (Command, cs, config, o) {
156
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
155
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
157
156
  })
158
157
  .s("AmazonAthena", "CancelCapacityReservation", {})
159
158
  .n("AthenaClient", "CancelCapacityReservationCommand")
@@ -161,11 +160,11 @@ class CancelCapacityReservationCommand extends smithyClient.Command
161
160
  .build() {
162
161
  }
163
162
 
164
- class CreateCapacityReservationCommand extends smithyClient.Command
163
+ class CreateCapacityReservationCommand extends client.Command
165
164
  .classBuilder()
166
165
  .ep(commonParams)
167
166
  .m(function (Command, cs, config, o) {
168
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
167
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
169
168
  })
170
169
  .s("AmazonAthena", "CreateCapacityReservation", {})
171
170
  .n("AthenaClient", "CreateCapacityReservationCommand")
@@ -173,11 +172,11 @@ class CreateCapacityReservationCommand extends smithyClient.Command
173
172
  .build() {
174
173
  }
175
174
 
176
- class CreateDataCatalogCommand extends smithyClient.Command
175
+ class CreateDataCatalogCommand extends client.Command
177
176
  .classBuilder()
178
177
  .ep(commonParams)
179
178
  .m(function (Command, cs, config, o) {
180
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
179
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
181
180
  })
182
181
  .s("AmazonAthena", "CreateDataCatalog", {})
183
182
  .n("AthenaClient", "CreateDataCatalogCommand")
@@ -185,11 +184,11 @@ class CreateDataCatalogCommand extends smithyClient.Command
185
184
  .build() {
186
185
  }
187
186
 
188
- class CreateNamedQueryCommand extends smithyClient.Command
187
+ class CreateNamedQueryCommand extends client.Command
189
188
  .classBuilder()
190
189
  .ep(commonParams)
191
190
  .m(function (Command, cs, config, o) {
192
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
191
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
193
192
  })
194
193
  .s("AmazonAthena", "CreateNamedQuery", {})
195
194
  .n("AthenaClient", "CreateNamedQueryCommand")
@@ -197,11 +196,11 @@ class CreateNamedQueryCommand extends smithyClient.Command
197
196
  .build() {
198
197
  }
199
198
 
200
- class CreateNotebookCommand extends smithyClient.Command
199
+ class CreateNotebookCommand extends client.Command
201
200
  .classBuilder()
202
201
  .ep(commonParams)
203
202
  .m(function (Command, cs, config, o) {
204
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
203
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
205
204
  })
206
205
  .s("AmazonAthena", "CreateNotebook", {})
207
206
  .n("AthenaClient", "CreateNotebookCommand")
@@ -209,11 +208,11 @@ class CreateNotebookCommand extends smithyClient.Command
209
208
  .build() {
210
209
  }
211
210
 
212
- class CreatePreparedStatementCommand extends smithyClient.Command
211
+ class CreatePreparedStatementCommand extends client.Command
213
212
  .classBuilder()
214
213
  .ep(commonParams)
215
214
  .m(function (Command, cs, config, o) {
216
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
215
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
217
216
  })
218
217
  .s("AmazonAthena", "CreatePreparedStatement", {})
219
218
  .n("AthenaClient", "CreatePreparedStatementCommand")
@@ -221,11 +220,11 @@ class CreatePreparedStatementCommand extends smithyClient.Command
221
220
  .build() {
222
221
  }
223
222
 
224
- class CreatePresignedNotebookUrlCommand extends smithyClient.Command
223
+ class CreatePresignedNotebookUrlCommand extends client.Command
225
224
  .classBuilder()
226
225
  .ep(commonParams)
227
226
  .m(function (Command, cs, config, o) {
228
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
227
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
229
228
  })
230
229
  .s("AmazonAthena", "CreatePresignedNotebookUrl", {})
231
230
  .n("AthenaClient", "CreatePresignedNotebookUrlCommand")
@@ -233,11 +232,11 @@ class CreatePresignedNotebookUrlCommand extends smithyClient.Command
233
232
  .build() {
234
233
  }
235
234
 
236
- class CreateWorkGroupCommand extends smithyClient.Command
235
+ class CreateWorkGroupCommand extends client.Command
237
236
  .classBuilder()
238
237
  .ep(commonParams)
239
238
  .m(function (Command, cs, config, o) {
240
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
239
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
241
240
  })
242
241
  .s("AmazonAthena", "CreateWorkGroup", {})
243
242
  .n("AthenaClient", "CreateWorkGroupCommand")
@@ -245,11 +244,11 @@ class CreateWorkGroupCommand extends smithyClient.Command
245
244
  .build() {
246
245
  }
247
246
 
248
- class DeleteCapacityReservationCommand extends smithyClient.Command
247
+ class DeleteCapacityReservationCommand extends client.Command
249
248
  .classBuilder()
250
249
  .ep(commonParams)
251
250
  .m(function (Command, cs, config, o) {
252
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
251
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
253
252
  })
254
253
  .s("AmazonAthena", "DeleteCapacityReservation", {})
255
254
  .n("AthenaClient", "DeleteCapacityReservationCommand")
@@ -257,11 +256,11 @@ class DeleteCapacityReservationCommand extends smithyClient.Command
257
256
  .build() {
258
257
  }
259
258
 
260
- class DeleteDataCatalogCommand extends smithyClient.Command
259
+ class DeleteDataCatalogCommand extends client.Command
261
260
  .classBuilder()
262
261
  .ep(commonParams)
263
262
  .m(function (Command, cs, config, o) {
264
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
263
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
265
264
  })
266
265
  .s("AmazonAthena", "DeleteDataCatalog", {})
267
266
  .n("AthenaClient", "DeleteDataCatalogCommand")
@@ -269,11 +268,11 @@ class DeleteDataCatalogCommand extends smithyClient.Command
269
268
  .build() {
270
269
  }
271
270
 
272
- class DeleteNamedQueryCommand extends smithyClient.Command
271
+ class DeleteNamedQueryCommand extends client.Command
273
272
  .classBuilder()
274
273
  .ep(commonParams)
275
274
  .m(function (Command, cs, config, o) {
276
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
275
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
277
276
  })
278
277
  .s("AmazonAthena", "DeleteNamedQuery", {})
279
278
  .n("AthenaClient", "DeleteNamedQueryCommand")
@@ -281,11 +280,11 @@ class DeleteNamedQueryCommand extends smithyClient.Command
281
280
  .build() {
282
281
  }
283
282
 
284
- class DeleteNotebookCommand extends smithyClient.Command
283
+ class DeleteNotebookCommand extends client.Command
285
284
  .classBuilder()
286
285
  .ep(commonParams)
287
286
  .m(function (Command, cs, config, o) {
288
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
287
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
289
288
  })
290
289
  .s("AmazonAthena", "DeleteNotebook", {})
291
290
  .n("AthenaClient", "DeleteNotebookCommand")
@@ -293,11 +292,11 @@ class DeleteNotebookCommand extends smithyClient.Command
293
292
  .build() {
294
293
  }
295
294
 
296
- class DeletePreparedStatementCommand extends smithyClient.Command
295
+ class DeletePreparedStatementCommand extends client.Command
297
296
  .classBuilder()
298
297
  .ep(commonParams)
299
298
  .m(function (Command, cs, config, o) {
300
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
299
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
301
300
  })
302
301
  .s("AmazonAthena", "DeletePreparedStatement", {})
303
302
  .n("AthenaClient", "DeletePreparedStatementCommand")
@@ -305,11 +304,11 @@ class DeletePreparedStatementCommand extends smithyClient.Command
305
304
  .build() {
306
305
  }
307
306
 
308
- class DeleteWorkGroupCommand extends smithyClient.Command
307
+ class DeleteWorkGroupCommand extends client.Command
309
308
  .classBuilder()
310
309
  .ep(commonParams)
311
310
  .m(function (Command, cs, config, o) {
312
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
311
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
313
312
  })
314
313
  .s("AmazonAthena", "DeleteWorkGroup", {})
315
314
  .n("AthenaClient", "DeleteWorkGroupCommand")
@@ -317,11 +316,11 @@ class DeleteWorkGroupCommand extends smithyClient.Command
317
316
  .build() {
318
317
  }
319
318
 
320
- class ExportNotebookCommand extends smithyClient.Command
319
+ class ExportNotebookCommand extends client.Command
321
320
  .classBuilder()
322
321
  .ep(commonParams)
323
322
  .m(function (Command, cs, config, o) {
324
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
323
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
325
324
  })
326
325
  .s("AmazonAthena", "ExportNotebook", {})
327
326
  .n("AthenaClient", "ExportNotebookCommand")
@@ -329,11 +328,11 @@ class ExportNotebookCommand extends smithyClient.Command
329
328
  .build() {
330
329
  }
331
330
 
332
- class GetCalculationExecutionCodeCommand extends smithyClient.Command
331
+ class GetCalculationExecutionCodeCommand extends client.Command
333
332
  .classBuilder()
334
333
  .ep(commonParams)
335
334
  .m(function (Command, cs, config, o) {
336
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
335
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
337
336
  })
338
337
  .s("AmazonAthena", "GetCalculationExecutionCode", {})
339
338
  .n("AthenaClient", "GetCalculationExecutionCodeCommand")
@@ -341,11 +340,11 @@ class GetCalculationExecutionCodeCommand extends smithyClient.Command
341
340
  .build() {
342
341
  }
343
342
 
344
- class GetCalculationExecutionCommand extends smithyClient.Command
343
+ class GetCalculationExecutionCommand extends client.Command
345
344
  .classBuilder()
346
345
  .ep(commonParams)
347
346
  .m(function (Command, cs, config, o) {
348
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
347
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
349
348
  })
350
349
  .s("AmazonAthena", "GetCalculationExecution", {})
351
350
  .n("AthenaClient", "GetCalculationExecutionCommand")
@@ -353,11 +352,11 @@ class GetCalculationExecutionCommand extends smithyClient.Command
353
352
  .build() {
354
353
  }
355
354
 
356
- class GetCalculationExecutionStatusCommand extends smithyClient.Command
355
+ class GetCalculationExecutionStatusCommand extends client.Command
357
356
  .classBuilder()
358
357
  .ep(commonParams)
359
358
  .m(function (Command, cs, config, o) {
360
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
359
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
361
360
  })
362
361
  .s("AmazonAthena", "GetCalculationExecutionStatus", {})
363
362
  .n("AthenaClient", "GetCalculationExecutionStatusCommand")
@@ -365,11 +364,11 @@ class GetCalculationExecutionStatusCommand extends smithyClient.Command
365
364
  .build() {
366
365
  }
367
366
 
368
- class GetCapacityAssignmentConfigurationCommand extends smithyClient.Command
367
+ class GetCapacityAssignmentConfigurationCommand extends client.Command
369
368
  .classBuilder()
370
369
  .ep(commonParams)
371
370
  .m(function (Command, cs, config, o) {
372
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
371
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
373
372
  })
374
373
  .s("AmazonAthena", "GetCapacityAssignmentConfiguration", {})
375
374
  .n("AthenaClient", "GetCapacityAssignmentConfigurationCommand")
@@ -377,11 +376,11 @@ class GetCapacityAssignmentConfigurationCommand extends smithyClient.Command
377
376
  .build() {
378
377
  }
379
378
 
380
- class GetCapacityReservationCommand extends smithyClient.Command
379
+ class GetCapacityReservationCommand extends client.Command
381
380
  .classBuilder()
382
381
  .ep(commonParams)
383
382
  .m(function (Command, cs, config, o) {
384
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
383
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
385
384
  })
386
385
  .s("AmazonAthena", "GetCapacityReservation", {})
387
386
  .n("AthenaClient", "GetCapacityReservationCommand")
@@ -389,11 +388,11 @@ class GetCapacityReservationCommand extends smithyClient.Command
389
388
  .build() {
390
389
  }
391
390
 
392
- class GetDatabaseCommand extends smithyClient.Command
391
+ class GetDatabaseCommand extends client.Command
393
392
  .classBuilder()
394
393
  .ep(commonParams)
395
394
  .m(function (Command, cs, config, o) {
396
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
395
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
397
396
  })
398
397
  .s("AmazonAthena", "GetDatabase", {})
399
398
  .n("AthenaClient", "GetDatabaseCommand")
@@ -401,11 +400,11 @@ class GetDatabaseCommand extends smithyClient.Command
401
400
  .build() {
402
401
  }
403
402
 
404
- class GetDataCatalogCommand extends smithyClient.Command
403
+ class GetDataCatalogCommand extends client.Command
405
404
  .classBuilder()
406
405
  .ep(commonParams)
407
406
  .m(function (Command, cs, config, o) {
408
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
407
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
409
408
  })
410
409
  .s("AmazonAthena", "GetDataCatalog", {})
411
410
  .n("AthenaClient", "GetDataCatalogCommand")
@@ -413,11 +412,11 @@ class GetDataCatalogCommand extends smithyClient.Command
413
412
  .build() {
414
413
  }
415
414
 
416
- class GetNamedQueryCommand extends smithyClient.Command
415
+ class GetNamedQueryCommand extends client.Command
417
416
  .classBuilder()
418
417
  .ep(commonParams)
419
418
  .m(function (Command, cs, config, o) {
420
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
419
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
421
420
  })
422
421
  .s("AmazonAthena", "GetNamedQuery", {})
423
422
  .n("AthenaClient", "GetNamedQueryCommand")
@@ -425,11 +424,11 @@ class GetNamedQueryCommand extends smithyClient.Command
425
424
  .build() {
426
425
  }
427
426
 
428
- class GetNotebookMetadataCommand extends smithyClient.Command
427
+ class GetNotebookMetadataCommand extends client.Command
429
428
  .classBuilder()
430
429
  .ep(commonParams)
431
430
  .m(function (Command, cs, config, o) {
432
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
431
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
433
432
  })
434
433
  .s("AmazonAthena", "GetNotebookMetadata", {})
435
434
  .n("AthenaClient", "GetNotebookMetadataCommand")
@@ -437,11 +436,11 @@ class GetNotebookMetadataCommand extends smithyClient.Command
437
436
  .build() {
438
437
  }
439
438
 
440
- class GetPreparedStatementCommand extends smithyClient.Command
439
+ class GetPreparedStatementCommand extends client.Command
441
440
  .classBuilder()
442
441
  .ep(commonParams)
443
442
  .m(function (Command, cs, config, o) {
444
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
443
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
445
444
  })
446
445
  .s("AmazonAthena", "GetPreparedStatement", {})
447
446
  .n("AthenaClient", "GetPreparedStatementCommand")
@@ -449,11 +448,11 @@ class GetPreparedStatementCommand extends smithyClient.Command
449
448
  .build() {
450
449
  }
451
450
 
452
- class GetQueryExecutionCommand extends smithyClient.Command
451
+ class GetQueryExecutionCommand extends client.Command
453
452
  .classBuilder()
454
453
  .ep(commonParams)
455
454
  .m(function (Command, cs, config, o) {
456
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
455
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
457
456
  })
458
457
  .s("AmazonAthena", "GetQueryExecution", {})
459
458
  .n("AthenaClient", "GetQueryExecutionCommand")
@@ -461,11 +460,11 @@ class GetQueryExecutionCommand extends smithyClient.Command
461
460
  .build() {
462
461
  }
463
462
 
464
- class GetQueryResultsCommand extends smithyClient.Command
463
+ class GetQueryResultsCommand extends client.Command
465
464
  .classBuilder()
466
465
  .ep(commonParams)
467
466
  .m(function (Command, cs, config, o) {
468
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
467
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
469
468
  })
470
469
  .s("AmazonAthena", "GetQueryResults", {})
471
470
  .n("AthenaClient", "GetQueryResultsCommand")
@@ -473,11 +472,11 @@ class GetQueryResultsCommand extends smithyClient.Command
473
472
  .build() {
474
473
  }
475
474
 
476
- class GetQueryRuntimeStatisticsCommand extends smithyClient.Command
475
+ class GetQueryRuntimeStatisticsCommand extends client.Command
477
476
  .classBuilder()
478
477
  .ep(commonParams)
479
478
  .m(function (Command, cs, config, o) {
480
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
479
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
481
480
  })
482
481
  .s("AmazonAthena", "GetQueryRuntimeStatistics", {})
483
482
  .n("AthenaClient", "GetQueryRuntimeStatisticsCommand")
@@ -485,11 +484,11 @@ class GetQueryRuntimeStatisticsCommand extends smithyClient.Command
485
484
  .build() {
486
485
  }
487
486
 
488
- class GetResourceDashboardCommand extends smithyClient.Command
487
+ class GetResourceDashboardCommand extends client.Command
489
488
  .classBuilder()
490
489
  .ep(commonParams)
491
490
  .m(function (Command, cs, config, o) {
492
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
491
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
493
492
  })
494
493
  .s("AmazonAthena", "GetResourceDashboard", {})
495
494
  .n("AthenaClient", "GetResourceDashboardCommand")
@@ -497,11 +496,11 @@ class GetResourceDashboardCommand extends smithyClient.Command
497
496
  .build() {
498
497
  }
499
498
 
500
- class GetSessionCommand extends smithyClient.Command
499
+ class GetSessionCommand extends client.Command
501
500
  .classBuilder()
502
501
  .ep(commonParams)
503
502
  .m(function (Command, cs, config, o) {
504
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
503
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
505
504
  })
506
505
  .s("AmazonAthena", "GetSession", {})
507
506
  .n("AthenaClient", "GetSessionCommand")
@@ -509,11 +508,11 @@ class GetSessionCommand extends smithyClient.Command
509
508
  .build() {
510
509
  }
511
510
 
512
- class GetSessionEndpointCommand extends smithyClient.Command
511
+ class GetSessionEndpointCommand extends client.Command
513
512
  .classBuilder()
514
513
  .ep(commonParams)
515
514
  .m(function (Command, cs, config, o) {
516
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
515
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
517
516
  })
518
517
  .s("AmazonAthena", "GetSessionEndpoint", {})
519
518
  .n("AthenaClient", "GetSessionEndpointCommand")
@@ -521,11 +520,11 @@ class GetSessionEndpointCommand extends smithyClient.Command
521
520
  .build() {
522
521
  }
523
522
 
524
- class GetSessionStatusCommand extends smithyClient.Command
523
+ class GetSessionStatusCommand extends client.Command
525
524
  .classBuilder()
526
525
  .ep(commonParams)
527
526
  .m(function (Command, cs, config, o) {
528
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
527
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
529
528
  })
530
529
  .s("AmazonAthena", "GetSessionStatus", {})
531
530
  .n("AthenaClient", "GetSessionStatusCommand")
@@ -533,11 +532,11 @@ class GetSessionStatusCommand extends smithyClient.Command
533
532
  .build() {
534
533
  }
535
534
 
536
- class GetTableMetadataCommand extends smithyClient.Command
535
+ class GetTableMetadataCommand extends client.Command
537
536
  .classBuilder()
538
537
  .ep(commonParams)
539
538
  .m(function (Command, cs, config, o) {
540
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
539
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
541
540
  })
542
541
  .s("AmazonAthena", "GetTableMetadata", {})
543
542
  .n("AthenaClient", "GetTableMetadataCommand")
@@ -545,11 +544,11 @@ class GetTableMetadataCommand extends smithyClient.Command
545
544
  .build() {
546
545
  }
547
546
 
548
- class GetWorkGroupCommand extends smithyClient.Command
547
+ class GetWorkGroupCommand extends client.Command
549
548
  .classBuilder()
550
549
  .ep(commonParams)
551
550
  .m(function (Command, cs, config, o) {
552
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
551
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
553
552
  })
554
553
  .s("AmazonAthena", "GetWorkGroup", {})
555
554
  .n("AthenaClient", "GetWorkGroupCommand")
@@ -557,11 +556,11 @@ class GetWorkGroupCommand extends smithyClient.Command
557
556
  .build() {
558
557
  }
559
558
 
560
- class ImportNotebookCommand extends smithyClient.Command
559
+ class ImportNotebookCommand extends client.Command
561
560
  .classBuilder()
562
561
  .ep(commonParams)
563
562
  .m(function (Command, cs, config, o) {
564
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
563
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
565
564
  })
566
565
  .s("AmazonAthena", "ImportNotebook", {})
567
566
  .n("AthenaClient", "ImportNotebookCommand")
@@ -569,11 +568,11 @@ class ImportNotebookCommand extends smithyClient.Command
569
568
  .build() {
570
569
  }
571
570
 
572
- class ListApplicationDPUSizesCommand extends smithyClient.Command
571
+ class ListApplicationDPUSizesCommand extends client.Command
573
572
  .classBuilder()
574
573
  .ep(commonParams)
575
574
  .m(function (Command, cs, config, o) {
576
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
575
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
577
576
  })
578
577
  .s("AmazonAthena", "ListApplicationDPUSizes", {})
579
578
  .n("AthenaClient", "ListApplicationDPUSizesCommand")
@@ -581,11 +580,11 @@ class ListApplicationDPUSizesCommand extends smithyClient.Command
581
580
  .build() {
582
581
  }
583
582
 
584
- class ListCalculationExecutionsCommand extends smithyClient.Command
583
+ class ListCalculationExecutionsCommand extends client.Command
585
584
  .classBuilder()
586
585
  .ep(commonParams)
587
586
  .m(function (Command, cs, config, o) {
588
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
587
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
589
588
  })
590
589
  .s("AmazonAthena", "ListCalculationExecutions", {})
591
590
  .n("AthenaClient", "ListCalculationExecutionsCommand")
@@ -593,11 +592,11 @@ class ListCalculationExecutionsCommand extends smithyClient.Command
593
592
  .build() {
594
593
  }
595
594
 
596
- class ListCapacityReservationsCommand extends smithyClient.Command
595
+ class ListCapacityReservationsCommand extends client.Command
597
596
  .classBuilder()
598
597
  .ep(commonParams)
599
598
  .m(function (Command, cs, config, o) {
600
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
599
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
601
600
  })
602
601
  .s("AmazonAthena", "ListCapacityReservations", {})
603
602
  .n("AthenaClient", "ListCapacityReservationsCommand")
@@ -605,11 +604,11 @@ class ListCapacityReservationsCommand extends smithyClient.Command
605
604
  .build() {
606
605
  }
607
606
 
608
- class ListDatabasesCommand extends smithyClient.Command
607
+ class ListDatabasesCommand extends client.Command
609
608
  .classBuilder()
610
609
  .ep(commonParams)
611
610
  .m(function (Command, cs, config, o) {
612
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
611
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
613
612
  })
614
613
  .s("AmazonAthena", "ListDatabases", {})
615
614
  .n("AthenaClient", "ListDatabasesCommand")
@@ -617,11 +616,11 @@ class ListDatabasesCommand extends smithyClient.Command
617
616
  .build() {
618
617
  }
619
618
 
620
- class ListDataCatalogsCommand extends smithyClient.Command
619
+ class ListDataCatalogsCommand extends client.Command
621
620
  .classBuilder()
622
621
  .ep(commonParams)
623
622
  .m(function (Command, cs, config, o) {
624
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
623
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
625
624
  })
626
625
  .s("AmazonAthena", "ListDataCatalogs", {})
627
626
  .n("AthenaClient", "ListDataCatalogsCommand")
@@ -629,11 +628,11 @@ class ListDataCatalogsCommand extends smithyClient.Command
629
628
  .build() {
630
629
  }
631
630
 
632
- class ListEngineVersionsCommand extends smithyClient.Command
631
+ class ListEngineVersionsCommand extends client.Command
633
632
  .classBuilder()
634
633
  .ep(commonParams)
635
634
  .m(function (Command, cs, config, o) {
636
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
635
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
637
636
  })
638
637
  .s("AmazonAthena", "ListEngineVersions", {})
639
638
  .n("AthenaClient", "ListEngineVersionsCommand")
@@ -641,11 +640,11 @@ class ListEngineVersionsCommand extends smithyClient.Command
641
640
  .build() {
642
641
  }
643
642
 
644
- class ListExecutorsCommand extends smithyClient.Command
643
+ class ListExecutorsCommand extends client.Command
645
644
  .classBuilder()
646
645
  .ep(commonParams)
647
646
  .m(function (Command, cs, config, o) {
648
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
647
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
649
648
  })
650
649
  .s("AmazonAthena", "ListExecutors", {})
651
650
  .n("AthenaClient", "ListExecutorsCommand")
@@ -653,11 +652,11 @@ class ListExecutorsCommand extends smithyClient.Command
653
652
  .build() {
654
653
  }
655
654
 
656
- class ListNamedQueriesCommand extends smithyClient.Command
655
+ class ListNamedQueriesCommand extends client.Command
657
656
  .classBuilder()
658
657
  .ep(commonParams)
659
658
  .m(function (Command, cs, config, o) {
660
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
659
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
661
660
  })
662
661
  .s("AmazonAthena", "ListNamedQueries", {})
663
662
  .n("AthenaClient", "ListNamedQueriesCommand")
@@ -665,11 +664,11 @@ class ListNamedQueriesCommand extends smithyClient.Command
665
664
  .build() {
666
665
  }
667
666
 
668
- class ListNotebookMetadataCommand extends smithyClient.Command
667
+ class ListNotebookMetadataCommand extends client.Command
669
668
  .classBuilder()
670
669
  .ep(commonParams)
671
670
  .m(function (Command, cs, config, o) {
672
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
671
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
673
672
  })
674
673
  .s("AmazonAthena", "ListNotebookMetadata", {})
675
674
  .n("AthenaClient", "ListNotebookMetadataCommand")
@@ -677,11 +676,11 @@ class ListNotebookMetadataCommand extends smithyClient.Command
677
676
  .build() {
678
677
  }
679
678
 
680
- class ListNotebookSessionsCommand extends smithyClient.Command
679
+ class ListNotebookSessionsCommand extends client.Command
681
680
  .classBuilder()
682
681
  .ep(commonParams)
683
682
  .m(function (Command, cs, config, o) {
684
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
683
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
685
684
  })
686
685
  .s("AmazonAthena", "ListNotebookSessions", {})
687
686
  .n("AthenaClient", "ListNotebookSessionsCommand")
@@ -689,11 +688,11 @@ class ListNotebookSessionsCommand extends smithyClient.Command
689
688
  .build() {
690
689
  }
691
690
 
692
- class ListPreparedStatementsCommand extends smithyClient.Command
691
+ class ListPreparedStatementsCommand extends client.Command
693
692
  .classBuilder()
694
693
  .ep(commonParams)
695
694
  .m(function (Command, cs, config, o) {
696
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
695
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
697
696
  })
698
697
  .s("AmazonAthena", "ListPreparedStatements", {})
699
698
  .n("AthenaClient", "ListPreparedStatementsCommand")
@@ -701,11 +700,11 @@ class ListPreparedStatementsCommand extends smithyClient.Command
701
700
  .build() {
702
701
  }
703
702
 
704
- class ListQueryExecutionsCommand extends smithyClient.Command
703
+ class ListQueryExecutionsCommand extends client.Command
705
704
  .classBuilder()
706
705
  .ep(commonParams)
707
706
  .m(function (Command, cs, config, o) {
708
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
707
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
709
708
  })
710
709
  .s("AmazonAthena", "ListQueryExecutions", {})
711
710
  .n("AthenaClient", "ListQueryExecutionsCommand")
@@ -713,11 +712,11 @@ class ListQueryExecutionsCommand extends smithyClient.Command
713
712
  .build() {
714
713
  }
715
714
 
716
- class ListSessionsCommand extends smithyClient.Command
715
+ class ListSessionsCommand extends client.Command
717
716
  .classBuilder()
718
717
  .ep(commonParams)
719
718
  .m(function (Command, cs, config, o) {
720
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
719
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
721
720
  })
722
721
  .s("AmazonAthena", "ListSessions", {})
723
722
  .n("AthenaClient", "ListSessionsCommand")
@@ -725,11 +724,11 @@ class ListSessionsCommand extends smithyClient.Command
725
724
  .build() {
726
725
  }
727
726
 
728
- class ListTableMetadataCommand extends smithyClient.Command
727
+ class ListTableMetadataCommand extends client.Command
729
728
  .classBuilder()
730
729
  .ep(commonParams)
731
730
  .m(function (Command, cs, config, o) {
732
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
731
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
733
732
  })
734
733
  .s("AmazonAthena", "ListTableMetadata", {})
735
734
  .n("AthenaClient", "ListTableMetadataCommand")
@@ -737,11 +736,11 @@ class ListTableMetadataCommand extends smithyClient.Command
737
736
  .build() {
738
737
  }
739
738
 
740
- class ListTagsForResourceCommand extends smithyClient.Command
739
+ class ListTagsForResourceCommand extends client.Command
741
740
  .classBuilder()
742
741
  .ep(commonParams)
743
742
  .m(function (Command, cs, config, o) {
744
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
743
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
745
744
  })
746
745
  .s("AmazonAthena", "ListTagsForResource", {})
747
746
  .n("AthenaClient", "ListTagsForResourceCommand")
@@ -749,11 +748,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
749
748
  .build() {
750
749
  }
751
750
 
752
- class ListWorkGroupsCommand extends smithyClient.Command
751
+ class ListWorkGroupsCommand extends client.Command
753
752
  .classBuilder()
754
753
  .ep(commonParams)
755
754
  .m(function (Command, cs, config, o) {
756
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
755
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
757
756
  })
758
757
  .s("AmazonAthena", "ListWorkGroups", {})
759
758
  .n("AthenaClient", "ListWorkGroupsCommand")
@@ -761,11 +760,11 @@ class ListWorkGroupsCommand extends smithyClient.Command
761
760
  .build() {
762
761
  }
763
762
 
764
- class PutCapacityAssignmentConfigurationCommand extends smithyClient.Command
763
+ class PutCapacityAssignmentConfigurationCommand extends client.Command
765
764
  .classBuilder()
766
765
  .ep(commonParams)
767
766
  .m(function (Command, cs, config, o) {
768
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
767
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
769
768
  })
770
769
  .s("AmazonAthena", "PutCapacityAssignmentConfiguration", {})
771
770
  .n("AthenaClient", "PutCapacityAssignmentConfigurationCommand")
@@ -773,11 +772,11 @@ class PutCapacityAssignmentConfigurationCommand extends smithyClient.Command
773
772
  .build() {
774
773
  }
775
774
 
776
- class StartCalculationExecutionCommand extends smithyClient.Command
775
+ class StartCalculationExecutionCommand extends client.Command
777
776
  .classBuilder()
778
777
  .ep(commonParams)
779
778
  .m(function (Command, cs, config, o) {
780
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
779
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
781
780
  })
782
781
  .s("AmazonAthena", "StartCalculationExecution", {})
783
782
  .n("AthenaClient", "StartCalculationExecutionCommand")
@@ -785,11 +784,11 @@ class StartCalculationExecutionCommand extends smithyClient.Command
785
784
  .build() {
786
785
  }
787
786
 
788
- class StartQueryExecutionCommand extends smithyClient.Command
787
+ class StartQueryExecutionCommand extends client.Command
789
788
  .classBuilder()
790
789
  .ep(commonParams)
791
790
  .m(function (Command, cs, config, o) {
792
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
791
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
793
792
  })
794
793
  .s("AmazonAthena", "StartQueryExecution", {})
795
794
  .n("AthenaClient", "StartQueryExecutionCommand")
@@ -797,11 +796,11 @@ class StartQueryExecutionCommand extends smithyClient.Command
797
796
  .build() {
798
797
  }
799
798
 
800
- class StartSessionCommand extends smithyClient.Command
799
+ class StartSessionCommand extends client.Command
801
800
  .classBuilder()
802
801
  .ep(commonParams)
803
802
  .m(function (Command, cs, config, o) {
804
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
803
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
805
804
  })
806
805
  .s("AmazonAthena", "StartSession", {})
807
806
  .n("AthenaClient", "StartSessionCommand")
@@ -809,11 +808,11 @@ class StartSessionCommand extends smithyClient.Command
809
808
  .build() {
810
809
  }
811
810
 
812
- class StopCalculationExecutionCommand extends smithyClient.Command
811
+ class StopCalculationExecutionCommand extends client.Command
813
812
  .classBuilder()
814
813
  .ep(commonParams)
815
814
  .m(function (Command, cs, config, o) {
816
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
815
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
817
816
  })
818
817
  .s("AmazonAthena", "StopCalculationExecution", {})
819
818
  .n("AthenaClient", "StopCalculationExecutionCommand")
@@ -821,11 +820,11 @@ class StopCalculationExecutionCommand extends smithyClient.Command
821
820
  .build() {
822
821
  }
823
822
 
824
- class StopQueryExecutionCommand extends smithyClient.Command
823
+ class StopQueryExecutionCommand extends client.Command
825
824
  .classBuilder()
826
825
  .ep(commonParams)
827
826
  .m(function (Command, cs, config, o) {
828
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
827
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
829
828
  })
830
829
  .s("AmazonAthena", "StopQueryExecution", {})
831
830
  .n("AthenaClient", "StopQueryExecutionCommand")
@@ -833,11 +832,11 @@ class StopQueryExecutionCommand extends smithyClient.Command
833
832
  .build() {
834
833
  }
835
834
 
836
- class TagResourceCommand extends smithyClient.Command
835
+ class TagResourceCommand extends client.Command
837
836
  .classBuilder()
838
837
  .ep(commonParams)
839
838
  .m(function (Command, cs, config, o) {
840
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
839
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
841
840
  })
842
841
  .s("AmazonAthena", "TagResource", {})
843
842
  .n("AthenaClient", "TagResourceCommand")
@@ -845,11 +844,11 @@ class TagResourceCommand extends smithyClient.Command
845
844
  .build() {
846
845
  }
847
846
 
848
- class TerminateSessionCommand extends smithyClient.Command
847
+ class TerminateSessionCommand extends client.Command
849
848
  .classBuilder()
850
849
  .ep(commonParams)
851
850
  .m(function (Command, cs, config, o) {
852
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
851
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
853
852
  })
854
853
  .s("AmazonAthena", "TerminateSession", {})
855
854
  .n("AthenaClient", "TerminateSessionCommand")
@@ -857,11 +856,11 @@ class TerminateSessionCommand extends smithyClient.Command
857
856
  .build() {
858
857
  }
859
858
 
860
- class UntagResourceCommand extends smithyClient.Command
859
+ class UntagResourceCommand extends client.Command
861
860
  .classBuilder()
862
861
  .ep(commonParams)
863
862
  .m(function (Command, cs, config, o) {
864
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
863
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
865
864
  })
866
865
  .s("AmazonAthena", "UntagResource", {})
867
866
  .n("AthenaClient", "UntagResourceCommand")
@@ -869,11 +868,11 @@ class UntagResourceCommand extends smithyClient.Command
869
868
  .build() {
870
869
  }
871
870
 
872
- class UpdateCapacityReservationCommand extends smithyClient.Command
871
+ class UpdateCapacityReservationCommand extends client.Command
873
872
  .classBuilder()
874
873
  .ep(commonParams)
875
874
  .m(function (Command, cs, config, o) {
876
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
875
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
877
876
  })
878
877
  .s("AmazonAthena", "UpdateCapacityReservation", {})
879
878
  .n("AthenaClient", "UpdateCapacityReservationCommand")
@@ -881,11 +880,11 @@ class UpdateCapacityReservationCommand extends smithyClient.Command
881
880
  .build() {
882
881
  }
883
882
 
884
- class UpdateDataCatalogCommand extends smithyClient.Command
883
+ class UpdateDataCatalogCommand extends client.Command
885
884
  .classBuilder()
886
885
  .ep(commonParams)
887
886
  .m(function (Command, cs, config, o) {
888
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
887
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
889
888
  })
890
889
  .s("AmazonAthena", "UpdateDataCatalog", {})
891
890
  .n("AthenaClient", "UpdateDataCatalogCommand")
@@ -893,11 +892,11 @@ class UpdateDataCatalogCommand extends smithyClient.Command
893
892
  .build() {
894
893
  }
895
894
 
896
- class UpdateNamedQueryCommand extends smithyClient.Command
895
+ class UpdateNamedQueryCommand extends client.Command
897
896
  .classBuilder()
898
897
  .ep(commonParams)
899
898
  .m(function (Command, cs, config, o) {
900
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
899
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
901
900
  })
902
901
  .s("AmazonAthena", "UpdateNamedQuery", {})
903
902
  .n("AthenaClient", "UpdateNamedQueryCommand")
@@ -905,11 +904,11 @@ class UpdateNamedQueryCommand extends smithyClient.Command
905
904
  .build() {
906
905
  }
907
906
 
908
- class UpdateNotebookCommand extends smithyClient.Command
907
+ class UpdateNotebookCommand extends client.Command
909
908
  .classBuilder()
910
909
  .ep(commonParams)
911
910
  .m(function (Command, cs, config, o) {
912
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
911
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
913
912
  })
914
913
  .s("AmazonAthena", "UpdateNotebook", {})
915
914
  .n("AthenaClient", "UpdateNotebookCommand")
@@ -917,11 +916,11 @@ class UpdateNotebookCommand extends smithyClient.Command
917
916
  .build() {
918
917
  }
919
918
 
920
- class UpdateNotebookMetadataCommand extends smithyClient.Command
919
+ class UpdateNotebookMetadataCommand extends client.Command
921
920
  .classBuilder()
922
921
  .ep(commonParams)
923
922
  .m(function (Command, cs, config, o) {
924
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
923
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
925
924
  })
926
925
  .s("AmazonAthena", "UpdateNotebookMetadata", {})
927
926
  .n("AthenaClient", "UpdateNotebookMetadataCommand")
@@ -929,11 +928,11 @@ class UpdateNotebookMetadataCommand extends smithyClient.Command
929
928
  .build() {
930
929
  }
931
930
 
932
- class UpdatePreparedStatementCommand extends smithyClient.Command
931
+ class UpdatePreparedStatementCommand extends client.Command
933
932
  .classBuilder()
934
933
  .ep(commonParams)
935
934
  .m(function (Command, cs, config, o) {
936
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
935
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
937
936
  })
938
937
  .s("AmazonAthena", "UpdatePreparedStatement", {})
939
938
  .n("AthenaClient", "UpdatePreparedStatementCommand")
@@ -941,11 +940,11 @@ class UpdatePreparedStatementCommand extends smithyClient.Command
941
940
  .build() {
942
941
  }
943
942
 
944
- class UpdateWorkGroupCommand extends smithyClient.Command
943
+ class UpdateWorkGroupCommand extends client.Command
945
944
  .classBuilder()
946
945
  .ep(commonParams)
947
946
  .m(function (Command, cs, config, o) {
948
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
947
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
949
948
  })
950
949
  .s("AmazonAthena", "UpdateWorkGroup", {})
951
950
  .n("AthenaClient", "UpdateWorkGroupCommand")
@@ -1074,7 +1073,7 @@ const paginators = {
1074
1073
  };
1075
1074
  class Athena extends AthenaClient {
1076
1075
  }
1077
- smithyClient.createAggregatedClient(commands, Athena, { paginators });
1076
+ client.createAggregatedClient(commands, Athena, { paginators });
1078
1077
 
1079
1078
  const S3AclOption = {
1080
1079
  BUCKET_OWNER_FULL_CONTROL: "BUCKET_OWNER_FULL_CONTROL",
@@ -1204,8 +1203,8 @@ const ExecutorType = {
1204
1203
  WORKER: "WORKER",
1205
1204
  };
1206
1205
 
1207
- exports.$Command = smithyClient.Command;
1208
- exports.__Client = smithyClient.Client;
1206
+ exports.$Command = client.Command;
1207
+ exports.__Client = client.Client;
1209
1208
  exports.AthenaServiceException = AthenaServiceException.AthenaServiceException;
1210
1209
  exports.Athena = Athena;
1211
1210
  exports.AthenaClient = AthenaClient;