@aws-sdk/client-athena 3.1076.0 → 3.1078.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 (230) hide show
  1. package/dist-cjs/index.js +219 -843
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/BatchGetNamedQueryCommand.js +2 -14
  4. package/dist-es/commands/BatchGetPreparedStatementCommand.js +2 -14
  5. package/dist-es/commands/BatchGetQueryExecutionCommand.js +2 -14
  6. package/dist-es/commands/CancelCapacityReservationCommand.js +2 -14
  7. package/dist-es/commands/CreateCapacityReservationCommand.js +2 -14
  8. package/dist-es/commands/CreateDataCatalogCommand.js +2 -14
  9. package/dist-es/commands/CreateNamedQueryCommand.js +2 -14
  10. package/dist-es/commands/CreateNotebookCommand.js +2 -14
  11. package/dist-es/commands/CreatePreparedStatementCommand.js +2 -14
  12. package/dist-es/commands/CreatePresignedNotebookUrlCommand.js +2 -14
  13. package/dist-es/commands/CreateWorkGroupCommand.js +2 -14
  14. package/dist-es/commands/DeleteCapacityReservationCommand.js +2 -14
  15. package/dist-es/commands/DeleteDataCatalogCommand.js +2 -14
  16. package/dist-es/commands/DeleteNamedQueryCommand.js +2 -14
  17. package/dist-es/commands/DeleteNotebookCommand.js +2 -14
  18. package/dist-es/commands/DeletePreparedStatementCommand.js +2 -14
  19. package/dist-es/commands/DeleteWorkGroupCommand.js +2 -14
  20. package/dist-es/commands/ExportNotebookCommand.js +2 -14
  21. package/dist-es/commands/GetCalculationExecutionCodeCommand.js +2 -14
  22. package/dist-es/commands/GetCalculationExecutionCommand.js +2 -14
  23. package/dist-es/commands/GetCalculationExecutionStatusCommand.js +2 -14
  24. package/dist-es/commands/GetCapacityAssignmentConfigurationCommand.js +2 -14
  25. package/dist-es/commands/GetCapacityReservationCommand.js +2 -14
  26. package/dist-es/commands/GetDataCatalogCommand.js +2 -14
  27. package/dist-es/commands/GetDatabaseCommand.js +2 -14
  28. package/dist-es/commands/GetNamedQueryCommand.js +2 -14
  29. package/dist-es/commands/GetNotebookMetadataCommand.js +2 -14
  30. package/dist-es/commands/GetPreparedStatementCommand.js +2 -14
  31. package/dist-es/commands/GetQueryExecutionCommand.js +2 -14
  32. package/dist-es/commands/GetQueryResultsCommand.js +2 -14
  33. package/dist-es/commands/GetQueryRuntimeStatisticsCommand.js +2 -14
  34. package/dist-es/commands/GetResourceDashboardCommand.js +2 -14
  35. package/dist-es/commands/GetSessionCommand.js +2 -14
  36. package/dist-es/commands/GetSessionEndpointCommand.js +2 -14
  37. package/dist-es/commands/GetSessionStatusCommand.js +2 -14
  38. package/dist-es/commands/GetTableMetadataCommand.js +2 -14
  39. package/dist-es/commands/GetWorkGroupCommand.js +2 -14
  40. package/dist-es/commands/ImportNotebookCommand.js +2 -14
  41. package/dist-es/commands/ListApplicationDPUSizesCommand.js +2 -14
  42. package/dist-es/commands/ListCalculationExecutionsCommand.js +2 -14
  43. package/dist-es/commands/ListCapacityReservationsCommand.js +2 -14
  44. package/dist-es/commands/ListDataCatalogsCommand.js +2 -14
  45. package/dist-es/commands/ListDatabasesCommand.js +2 -14
  46. package/dist-es/commands/ListEngineVersionsCommand.js +2 -14
  47. package/dist-es/commands/ListExecutorsCommand.js +2 -14
  48. package/dist-es/commands/ListNamedQueriesCommand.js +2 -14
  49. package/dist-es/commands/ListNotebookMetadataCommand.js +2 -14
  50. package/dist-es/commands/ListNotebookSessionsCommand.js +2 -14
  51. package/dist-es/commands/ListPreparedStatementsCommand.js +2 -14
  52. package/dist-es/commands/ListQueryExecutionsCommand.js +2 -14
  53. package/dist-es/commands/ListSessionsCommand.js +2 -14
  54. package/dist-es/commands/ListTableMetadataCommand.js +2 -14
  55. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  56. package/dist-es/commands/ListWorkGroupsCommand.js +2 -14
  57. package/dist-es/commands/PutCapacityAssignmentConfigurationCommand.js +2 -14
  58. package/dist-es/commands/StartCalculationExecutionCommand.js +2 -14
  59. package/dist-es/commands/StartQueryExecutionCommand.js +2 -14
  60. package/dist-es/commands/StartSessionCommand.js +2 -14
  61. package/dist-es/commands/StopCalculationExecutionCommand.js +2 -14
  62. package/dist-es/commands/StopQueryExecutionCommand.js +2 -14
  63. package/dist-es/commands/TagResourceCommand.js +2 -14
  64. package/dist-es/commands/TerminateSessionCommand.js +2 -14
  65. package/dist-es/commands/UntagResourceCommand.js +2 -14
  66. package/dist-es/commands/UpdateCapacityReservationCommand.js +2 -14
  67. package/dist-es/commands/UpdateDataCatalogCommand.js +2 -14
  68. package/dist-es/commands/UpdateNamedQueryCommand.js +2 -14
  69. package/dist-es/commands/UpdateNotebookCommand.js +2 -14
  70. package/dist-es/commands/UpdateNotebookMetadataCommand.js +2 -14
  71. package/dist-es/commands/UpdatePreparedStatementCommand.js +2 -14
  72. package/dist-es/commands/UpdateWorkGroupCommand.js +2 -14
  73. package/dist-es/index.js +1 -0
  74. package/dist-es/runtimeConfig.browser.js +0 -2
  75. package/dist-es/runtimeConfig.js +1 -2
  76. package/dist-es/runtimeConfig.native.js +0 -2
  77. package/dist-es/runtimeConfig.shared.js +2 -0
  78. package/dist-types/commandBuilder.d.ts +18 -0
  79. package/dist-types/commands/BatchGetNamedQueryCommand.d.ts +3 -8
  80. package/dist-types/commands/BatchGetPreparedStatementCommand.d.ts +3 -8
  81. package/dist-types/commands/BatchGetQueryExecutionCommand.d.ts +3 -8
  82. package/dist-types/commands/CancelCapacityReservationCommand.d.ts +3 -8
  83. package/dist-types/commands/CreateCapacityReservationCommand.d.ts +3 -8
  84. package/dist-types/commands/CreateDataCatalogCommand.d.ts +3 -8
  85. package/dist-types/commands/CreateNamedQueryCommand.d.ts +3 -8
  86. package/dist-types/commands/CreateNotebookCommand.d.ts +3 -8
  87. package/dist-types/commands/CreatePreparedStatementCommand.d.ts +3 -8
  88. package/dist-types/commands/CreatePresignedNotebookUrlCommand.d.ts +3 -8
  89. package/dist-types/commands/CreateWorkGroupCommand.d.ts +3 -8
  90. package/dist-types/commands/DeleteCapacityReservationCommand.d.ts +3 -8
  91. package/dist-types/commands/DeleteDataCatalogCommand.d.ts +3 -8
  92. package/dist-types/commands/DeleteNamedQueryCommand.d.ts +3 -8
  93. package/dist-types/commands/DeleteNotebookCommand.d.ts +3 -8
  94. package/dist-types/commands/DeletePreparedStatementCommand.d.ts +3 -8
  95. package/dist-types/commands/DeleteWorkGroupCommand.d.ts +3 -8
  96. package/dist-types/commands/ExportNotebookCommand.d.ts +3 -8
  97. package/dist-types/commands/GetCalculationExecutionCodeCommand.d.ts +3 -8
  98. package/dist-types/commands/GetCalculationExecutionCommand.d.ts +3 -8
  99. package/dist-types/commands/GetCalculationExecutionStatusCommand.d.ts +3 -8
  100. package/dist-types/commands/GetCapacityAssignmentConfigurationCommand.d.ts +3 -8
  101. package/dist-types/commands/GetCapacityReservationCommand.d.ts +3 -8
  102. package/dist-types/commands/GetDataCatalogCommand.d.ts +3 -8
  103. package/dist-types/commands/GetDatabaseCommand.d.ts +3 -8
  104. package/dist-types/commands/GetNamedQueryCommand.d.ts +3 -8
  105. package/dist-types/commands/GetNotebookMetadataCommand.d.ts +3 -8
  106. package/dist-types/commands/GetPreparedStatementCommand.d.ts +3 -8
  107. package/dist-types/commands/GetQueryExecutionCommand.d.ts +3 -8
  108. package/dist-types/commands/GetQueryResultsCommand.d.ts +3 -8
  109. package/dist-types/commands/GetQueryRuntimeStatisticsCommand.d.ts +3 -8
  110. package/dist-types/commands/GetResourceDashboardCommand.d.ts +3 -8
  111. package/dist-types/commands/GetSessionCommand.d.ts +3 -8
  112. package/dist-types/commands/GetSessionEndpointCommand.d.ts +3 -8
  113. package/dist-types/commands/GetSessionStatusCommand.d.ts +3 -8
  114. package/dist-types/commands/GetTableMetadataCommand.d.ts +3 -8
  115. package/dist-types/commands/GetWorkGroupCommand.d.ts +3 -8
  116. package/dist-types/commands/ImportNotebookCommand.d.ts +3 -8
  117. package/dist-types/commands/ListApplicationDPUSizesCommand.d.ts +3 -8
  118. package/dist-types/commands/ListCalculationExecutionsCommand.d.ts +3 -8
  119. package/dist-types/commands/ListCapacityReservationsCommand.d.ts +3 -8
  120. package/dist-types/commands/ListDataCatalogsCommand.d.ts +3 -8
  121. package/dist-types/commands/ListDatabasesCommand.d.ts +3 -8
  122. package/dist-types/commands/ListEngineVersionsCommand.d.ts +3 -8
  123. package/dist-types/commands/ListExecutorsCommand.d.ts +3 -8
  124. package/dist-types/commands/ListNamedQueriesCommand.d.ts +3 -8
  125. package/dist-types/commands/ListNotebookMetadataCommand.d.ts +3 -8
  126. package/dist-types/commands/ListNotebookSessionsCommand.d.ts +3 -8
  127. package/dist-types/commands/ListPreparedStatementsCommand.d.ts +3 -8
  128. package/dist-types/commands/ListQueryExecutionsCommand.d.ts +3 -8
  129. package/dist-types/commands/ListSessionsCommand.d.ts +3 -8
  130. package/dist-types/commands/ListTableMetadataCommand.d.ts +3 -8
  131. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  132. package/dist-types/commands/ListWorkGroupsCommand.d.ts +3 -8
  133. package/dist-types/commands/PutCapacityAssignmentConfigurationCommand.d.ts +3 -8
  134. package/dist-types/commands/StartCalculationExecutionCommand.d.ts +3 -8
  135. package/dist-types/commands/StartQueryExecutionCommand.d.ts +3 -8
  136. package/dist-types/commands/StartSessionCommand.d.ts +3 -8
  137. package/dist-types/commands/StopCalculationExecutionCommand.d.ts +3 -8
  138. package/dist-types/commands/StopQueryExecutionCommand.d.ts +3 -8
  139. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  140. package/dist-types/commands/TerminateSessionCommand.d.ts +3 -8
  141. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  142. package/dist-types/commands/UpdateCapacityReservationCommand.d.ts +3 -8
  143. package/dist-types/commands/UpdateDataCatalogCommand.d.ts +3 -8
  144. package/dist-types/commands/UpdateNamedQueryCommand.d.ts +3 -8
  145. package/dist-types/commands/UpdateNotebookCommand.d.ts +3 -8
  146. package/dist-types/commands/UpdateNotebookMetadataCommand.d.ts +3 -8
  147. package/dist-types/commands/UpdatePreparedStatementCommand.d.ts +3 -8
  148. package/dist-types/commands/UpdateWorkGroupCommand.d.ts +3 -8
  149. package/dist-types/index.d.ts +1 -0
  150. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  151. package/dist-types/runtimeConfig.d.ts +1 -1
  152. package/dist-types/runtimeConfig.native.d.ts +1 -1
  153. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  154. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  155. package/dist-types/ts3.4/commands/BatchGetNamedQueryCommand.d.ts +7 -16
  156. package/dist-types/ts3.4/commands/BatchGetPreparedStatementCommand.d.ts +7 -16
  157. package/dist-types/ts3.4/commands/BatchGetQueryExecutionCommand.d.ts +7 -16
  158. package/dist-types/ts3.4/commands/CancelCapacityReservationCommand.d.ts +7 -16
  159. package/dist-types/ts3.4/commands/CreateCapacityReservationCommand.d.ts +7 -16
  160. package/dist-types/ts3.4/commands/CreateDataCatalogCommand.d.ts +7 -16
  161. package/dist-types/ts3.4/commands/CreateNamedQueryCommand.d.ts +7 -16
  162. package/dist-types/ts3.4/commands/CreateNotebookCommand.d.ts +7 -16
  163. package/dist-types/ts3.4/commands/CreatePreparedStatementCommand.d.ts +7 -16
  164. package/dist-types/ts3.4/commands/CreatePresignedNotebookUrlCommand.d.ts +7 -16
  165. package/dist-types/ts3.4/commands/CreateWorkGroupCommand.d.ts +7 -16
  166. package/dist-types/ts3.4/commands/DeleteCapacityReservationCommand.d.ts +7 -16
  167. package/dist-types/ts3.4/commands/DeleteDataCatalogCommand.d.ts +7 -16
  168. package/dist-types/ts3.4/commands/DeleteNamedQueryCommand.d.ts +7 -16
  169. package/dist-types/ts3.4/commands/DeleteNotebookCommand.d.ts +7 -16
  170. package/dist-types/ts3.4/commands/DeletePreparedStatementCommand.d.ts +7 -16
  171. package/dist-types/ts3.4/commands/DeleteWorkGroupCommand.d.ts +7 -16
  172. package/dist-types/ts3.4/commands/ExportNotebookCommand.d.ts +7 -16
  173. package/dist-types/ts3.4/commands/GetCalculationExecutionCodeCommand.d.ts +7 -16
  174. package/dist-types/ts3.4/commands/GetCalculationExecutionCommand.d.ts +7 -16
  175. package/dist-types/ts3.4/commands/GetCalculationExecutionStatusCommand.d.ts +7 -16
  176. package/dist-types/ts3.4/commands/GetCapacityAssignmentConfigurationCommand.d.ts +7 -16
  177. package/dist-types/ts3.4/commands/GetCapacityReservationCommand.d.ts +7 -16
  178. package/dist-types/ts3.4/commands/GetDataCatalogCommand.d.ts +7 -16
  179. package/dist-types/ts3.4/commands/GetDatabaseCommand.d.ts +7 -16
  180. package/dist-types/ts3.4/commands/GetNamedQueryCommand.d.ts +7 -16
  181. package/dist-types/ts3.4/commands/GetNotebookMetadataCommand.d.ts +7 -16
  182. package/dist-types/ts3.4/commands/GetPreparedStatementCommand.d.ts +7 -16
  183. package/dist-types/ts3.4/commands/GetQueryExecutionCommand.d.ts +7 -16
  184. package/dist-types/ts3.4/commands/GetQueryResultsCommand.d.ts +7 -16
  185. package/dist-types/ts3.4/commands/GetQueryRuntimeStatisticsCommand.d.ts +7 -16
  186. package/dist-types/ts3.4/commands/GetResourceDashboardCommand.d.ts +7 -16
  187. package/dist-types/ts3.4/commands/GetSessionCommand.d.ts +7 -16
  188. package/dist-types/ts3.4/commands/GetSessionEndpointCommand.d.ts +7 -16
  189. package/dist-types/ts3.4/commands/GetSessionStatusCommand.d.ts +7 -16
  190. package/dist-types/ts3.4/commands/GetTableMetadataCommand.d.ts +7 -16
  191. package/dist-types/ts3.4/commands/GetWorkGroupCommand.d.ts +7 -16
  192. package/dist-types/ts3.4/commands/ImportNotebookCommand.d.ts +7 -16
  193. package/dist-types/ts3.4/commands/ListApplicationDPUSizesCommand.d.ts +7 -16
  194. package/dist-types/ts3.4/commands/ListCalculationExecutionsCommand.d.ts +7 -16
  195. package/dist-types/ts3.4/commands/ListCapacityReservationsCommand.d.ts +7 -16
  196. package/dist-types/ts3.4/commands/ListDataCatalogsCommand.d.ts +7 -16
  197. package/dist-types/ts3.4/commands/ListDatabasesCommand.d.ts +7 -16
  198. package/dist-types/ts3.4/commands/ListEngineVersionsCommand.d.ts +7 -16
  199. package/dist-types/ts3.4/commands/ListExecutorsCommand.d.ts +7 -16
  200. package/dist-types/ts3.4/commands/ListNamedQueriesCommand.d.ts +7 -16
  201. package/dist-types/ts3.4/commands/ListNotebookMetadataCommand.d.ts +7 -16
  202. package/dist-types/ts3.4/commands/ListNotebookSessionsCommand.d.ts +7 -16
  203. package/dist-types/ts3.4/commands/ListPreparedStatementsCommand.d.ts +7 -16
  204. package/dist-types/ts3.4/commands/ListQueryExecutionsCommand.d.ts +7 -16
  205. package/dist-types/ts3.4/commands/ListSessionsCommand.d.ts +7 -16
  206. package/dist-types/ts3.4/commands/ListTableMetadataCommand.d.ts +7 -16
  207. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  208. package/dist-types/ts3.4/commands/ListWorkGroupsCommand.d.ts +7 -16
  209. package/dist-types/ts3.4/commands/PutCapacityAssignmentConfigurationCommand.d.ts +7 -16
  210. package/dist-types/ts3.4/commands/StartCalculationExecutionCommand.d.ts +7 -16
  211. package/dist-types/ts3.4/commands/StartQueryExecutionCommand.d.ts +7 -16
  212. package/dist-types/ts3.4/commands/StartSessionCommand.d.ts +7 -16
  213. package/dist-types/ts3.4/commands/StopCalculationExecutionCommand.d.ts +7 -16
  214. package/dist-types/ts3.4/commands/StopQueryExecutionCommand.d.ts +7 -16
  215. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  216. package/dist-types/ts3.4/commands/TerminateSessionCommand.d.ts +7 -16
  217. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  218. package/dist-types/ts3.4/commands/UpdateCapacityReservationCommand.d.ts +7 -16
  219. package/dist-types/ts3.4/commands/UpdateDataCatalogCommand.d.ts +7 -16
  220. package/dist-types/ts3.4/commands/UpdateNamedQueryCommand.d.ts +7 -16
  221. package/dist-types/ts3.4/commands/UpdateNotebookCommand.d.ts +7 -16
  222. package/dist-types/ts3.4/commands/UpdateNotebookMetadataCommand.d.ts +7 -16
  223. package/dist-types/ts3.4/commands/UpdatePreparedStatementCommand.d.ts +7 -16
  224. package/dist-types/ts3.4/commands/UpdateWorkGroupCommand.d.ts +7 -16
  225. package/dist-types/ts3.4/index.d.ts +1 -0
  226. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  227. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  228. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  229. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  230. package/package.json +8 -10
package/dist-cjs/index.js CHANGED
@@ -1,7 +1,8 @@
1
1
  const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
2
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
3
- const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
4
- exports.$Command = Command;
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
4
+ const { Command: $Command } = require("@smithy/core/client");
5
+ exports.$Command = $Command;
5
6
  exports.__Client = Client;
6
7
  const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
8
  const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
@@ -10,9 +11,10 @@ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CON
10
11
  const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
11
12
  const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
12
13
  const { defaultProvider } = require("@aws-sdk/credential-provider-node");
13
- const { toUtf8, fromUtf8, toBase64, fromBase64, Hash, calculateBodyLength } = require("@smithy/core/serde");
14
+ const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
14
15
  const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
15
16
  const { AwsJson1_1Protocol } = require("@aws-sdk/core/protocols");
17
+ const { Sha256 } = require("@smithy/core/checksum");
16
18
 
17
19
  const defaultAthenaHttpAuthSchemeParametersProvider = async (config, context, input) => {
18
20
  return {
@@ -67,7 +69,7 @@ const commonParams = {
67
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
68
70
  };
69
71
 
70
- var version = "3.1075.0";
72
+ var version = "3.1077.0";
71
73
  var packageInfo = {
72
74
  version: version};
73
75
 
@@ -2147,6 +2149,7 @@ const getRuntimeConfig$1 = (config) => {
2147
2149
  serviceTarget: "AmazonAthena",
2148
2150
  },
2149
2151
  serviceId: config?.serviceId ?? "Athena",
2152
+ sha256: config?.sha256 ?? Sha256,
2150
2153
  urlParser: config?.urlParser ?? parseUrl,
2151
2154
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
2152
2155
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -2180,7 +2183,6 @@ const getRuntimeConfig = (config) => {
2180
2183
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
2181
2184
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
2182
2185
  }, config),
2183
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
2184
2186
  streamCollector: config?.streamCollector ?? streamCollector,
2185
2187
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
2186
2188
  useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -2268,844 +2270,218 @@ class AthenaClient extends Client {
2268
2270
  }
2269
2271
  }
2270
2272
 
2271
- class BatchGetNamedQueryCommand extends Command
2272
- .classBuilder()
2273
- .ep(commonParams)
2274
- .m(function (Command, cs, config, o) {
2275
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2276
- })
2277
- .s("AmazonAthena", "BatchGetNamedQuery", {})
2278
- .n("AthenaClient", "BatchGetNamedQueryCommand")
2279
- .sc(BatchGetNamedQuery$)
2280
- .build() {
2281
- }
2282
-
2283
- class BatchGetPreparedStatementCommand extends Command
2284
- .classBuilder()
2285
- .ep(commonParams)
2286
- .m(function (Command, cs, config, o) {
2287
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2288
- })
2289
- .s("AmazonAthena", "BatchGetPreparedStatement", {})
2290
- .n("AthenaClient", "BatchGetPreparedStatementCommand")
2291
- .sc(BatchGetPreparedStatement$)
2292
- .build() {
2293
- }
2294
-
2295
- class BatchGetQueryExecutionCommand extends Command
2296
- .classBuilder()
2297
- .ep(commonParams)
2298
- .m(function (Command, cs, config, o) {
2299
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2300
- })
2301
- .s("AmazonAthena", "BatchGetQueryExecution", {})
2302
- .n("AthenaClient", "BatchGetQueryExecutionCommand")
2303
- .sc(BatchGetQueryExecution$)
2304
- .build() {
2305
- }
2306
-
2307
- class CancelCapacityReservationCommand extends Command
2308
- .classBuilder()
2309
- .ep(commonParams)
2310
- .m(function (Command, cs, config, o) {
2311
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2312
- })
2313
- .s("AmazonAthena", "CancelCapacityReservation", {})
2314
- .n("AthenaClient", "CancelCapacityReservationCommand")
2315
- .sc(CancelCapacityReservation$)
2316
- .build() {
2317
- }
2318
-
2319
- class CreateCapacityReservationCommand extends Command
2320
- .classBuilder()
2321
- .ep(commonParams)
2322
- .m(function (Command, cs, config, o) {
2323
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2324
- })
2325
- .s("AmazonAthena", "CreateCapacityReservation", {})
2326
- .n("AthenaClient", "CreateCapacityReservationCommand")
2327
- .sc(CreateCapacityReservation$)
2328
- .build() {
2329
- }
2330
-
2331
- class CreateDataCatalogCommand extends Command
2332
- .classBuilder()
2333
- .ep(commonParams)
2334
- .m(function (Command, cs, config, o) {
2335
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2336
- })
2337
- .s("AmazonAthena", "CreateDataCatalog", {})
2338
- .n("AthenaClient", "CreateDataCatalogCommand")
2339
- .sc(CreateDataCatalog$)
2340
- .build() {
2341
- }
2342
-
2343
- class CreateNamedQueryCommand extends Command
2344
- .classBuilder()
2345
- .ep(commonParams)
2346
- .m(function (Command, cs, config, o) {
2347
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2348
- })
2349
- .s("AmazonAthena", "CreateNamedQuery", {})
2350
- .n("AthenaClient", "CreateNamedQueryCommand")
2351
- .sc(CreateNamedQuery$)
2352
- .build() {
2353
- }
2354
-
2355
- class CreateNotebookCommand extends Command
2356
- .classBuilder()
2357
- .ep(commonParams)
2358
- .m(function (Command, cs, config, o) {
2359
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2360
- })
2361
- .s("AmazonAthena", "CreateNotebook", {})
2362
- .n("AthenaClient", "CreateNotebookCommand")
2363
- .sc(CreateNotebook$)
2364
- .build() {
2365
- }
2366
-
2367
- class CreatePreparedStatementCommand extends Command
2368
- .classBuilder()
2369
- .ep(commonParams)
2370
- .m(function (Command, cs, config, o) {
2371
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2372
- })
2373
- .s("AmazonAthena", "CreatePreparedStatement", {})
2374
- .n("AthenaClient", "CreatePreparedStatementCommand")
2375
- .sc(CreatePreparedStatement$)
2376
- .build() {
2377
- }
2378
-
2379
- class CreatePresignedNotebookUrlCommand extends Command
2380
- .classBuilder()
2381
- .ep(commonParams)
2382
- .m(function (Command, cs, config, o) {
2383
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2384
- })
2385
- .s("AmazonAthena", "CreatePresignedNotebookUrl", {})
2386
- .n("AthenaClient", "CreatePresignedNotebookUrlCommand")
2387
- .sc(CreatePresignedNotebookUrl$)
2388
- .build() {
2389
- }
2390
-
2391
- class CreateWorkGroupCommand extends Command
2392
- .classBuilder()
2393
- .ep(commonParams)
2394
- .m(function (Command, cs, config, o) {
2395
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2396
- })
2397
- .s("AmazonAthena", "CreateWorkGroup", {})
2398
- .n("AthenaClient", "CreateWorkGroupCommand")
2399
- .sc(CreateWorkGroup$)
2400
- .build() {
2401
- }
2402
-
2403
- class DeleteCapacityReservationCommand extends Command
2404
- .classBuilder()
2405
- .ep(commonParams)
2406
- .m(function (Command, cs, config, o) {
2407
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2408
- })
2409
- .s("AmazonAthena", "DeleteCapacityReservation", {})
2410
- .n("AthenaClient", "DeleteCapacityReservationCommand")
2411
- .sc(DeleteCapacityReservation$)
2412
- .build() {
2413
- }
2414
-
2415
- class DeleteDataCatalogCommand extends Command
2416
- .classBuilder()
2417
- .ep(commonParams)
2418
- .m(function (Command, cs, config, o) {
2419
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2420
- })
2421
- .s("AmazonAthena", "DeleteDataCatalog", {})
2422
- .n("AthenaClient", "DeleteDataCatalogCommand")
2423
- .sc(DeleteDataCatalog$)
2424
- .build() {
2425
- }
2426
-
2427
- class DeleteNamedQueryCommand extends Command
2428
- .classBuilder()
2429
- .ep(commonParams)
2430
- .m(function (Command, cs, config, o) {
2431
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2432
- })
2433
- .s("AmazonAthena", "DeleteNamedQuery", {})
2434
- .n("AthenaClient", "DeleteNamedQueryCommand")
2435
- .sc(DeleteNamedQuery$)
2436
- .build() {
2437
- }
2438
-
2439
- class DeleteNotebookCommand extends Command
2440
- .classBuilder()
2441
- .ep(commonParams)
2442
- .m(function (Command, cs, config, o) {
2443
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2444
- })
2445
- .s("AmazonAthena", "DeleteNotebook", {})
2446
- .n("AthenaClient", "DeleteNotebookCommand")
2447
- .sc(DeleteNotebook$)
2448
- .build() {
2449
- }
2450
-
2451
- class DeletePreparedStatementCommand extends Command
2452
- .classBuilder()
2453
- .ep(commonParams)
2454
- .m(function (Command, cs, config, o) {
2455
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2456
- })
2457
- .s("AmazonAthena", "DeletePreparedStatement", {})
2458
- .n("AthenaClient", "DeletePreparedStatementCommand")
2459
- .sc(DeletePreparedStatement$)
2460
- .build() {
2461
- }
2462
-
2463
- class DeleteWorkGroupCommand extends Command
2464
- .classBuilder()
2465
- .ep(commonParams)
2466
- .m(function (Command, cs, config, o) {
2467
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2468
- })
2469
- .s("AmazonAthena", "DeleteWorkGroup", {})
2470
- .n("AthenaClient", "DeleteWorkGroupCommand")
2471
- .sc(DeleteWorkGroup$)
2472
- .build() {
2473
- }
2474
-
2475
- class ExportNotebookCommand extends Command
2476
- .classBuilder()
2477
- .ep(commonParams)
2478
- .m(function (Command, cs, config, o) {
2479
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2480
- })
2481
- .s("AmazonAthena", "ExportNotebook", {})
2482
- .n("AthenaClient", "ExportNotebookCommand")
2483
- .sc(ExportNotebook$)
2484
- .build() {
2485
- }
2486
-
2487
- class GetCalculationExecutionCodeCommand extends Command
2488
- .classBuilder()
2489
- .ep(commonParams)
2490
- .m(function (Command, cs, config, o) {
2491
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2492
- })
2493
- .s("AmazonAthena", "GetCalculationExecutionCode", {})
2494
- .n("AthenaClient", "GetCalculationExecutionCodeCommand")
2495
- .sc(GetCalculationExecutionCode$)
2496
- .build() {
2497
- }
2498
-
2499
- class GetCalculationExecutionCommand extends Command
2500
- .classBuilder()
2501
- .ep(commonParams)
2502
- .m(function (Command, cs, config, o) {
2503
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2504
- })
2505
- .s("AmazonAthena", "GetCalculationExecution", {})
2506
- .n("AthenaClient", "GetCalculationExecutionCommand")
2507
- .sc(GetCalculationExecution$)
2508
- .build() {
2509
- }
2510
-
2511
- class GetCalculationExecutionStatusCommand extends Command
2512
- .classBuilder()
2513
- .ep(commonParams)
2514
- .m(function (Command, cs, config, o) {
2515
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2516
- })
2517
- .s("AmazonAthena", "GetCalculationExecutionStatus", {})
2518
- .n("AthenaClient", "GetCalculationExecutionStatusCommand")
2519
- .sc(GetCalculationExecutionStatus$)
2520
- .build() {
2521
- }
2522
-
2523
- class GetCapacityAssignmentConfigurationCommand extends Command
2524
- .classBuilder()
2525
- .ep(commonParams)
2526
- .m(function (Command, cs, config, o) {
2527
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2528
- })
2529
- .s("AmazonAthena", "GetCapacityAssignmentConfiguration", {})
2530
- .n("AthenaClient", "GetCapacityAssignmentConfigurationCommand")
2531
- .sc(GetCapacityAssignmentConfiguration$)
2532
- .build() {
2533
- }
2534
-
2535
- class GetCapacityReservationCommand extends Command
2536
- .classBuilder()
2537
- .ep(commonParams)
2538
- .m(function (Command, cs, config, o) {
2539
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2540
- })
2541
- .s("AmazonAthena", "GetCapacityReservation", {})
2542
- .n("AthenaClient", "GetCapacityReservationCommand")
2543
- .sc(GetCapacityReservation$)
2544
- .build() {
2545
- }
2546
-
2547
- class GetDatabaseCommand extends Command
2548
- .classBuilder()
2549
- .ep(commonParams)
2550
- .m(function (Command, cs, config, o) {
2551
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2552
- })
2553
- .s("AmazonAthena", "GetDatabase", {})
2554
- .n("AthenaClient", "GetDatabaseCommand")
2555
- .sc(GetDatabase$)
2556
- .build() {
2557
- }
2558
-
2559
- class GetDataCatalogCommand extends Command
2560
- .classBuilder()
2561
- .ep(commonParams)
2562
- .m(function (Command, cs, config, o) {
2563
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2564
- })
2565
- .s("AmazonAthena", "GetDataCatalog", {})
2566
- .n("AthenaClient", "GetDataCatalogCommand")
2567
- .sc(GetDataCatalog$)
2568
- .build() {
2569
- }
2570
-
2571
- class GetNamedQueryCommand extends Command
2572
- .classBuilder()
2573
- .ep(commonParams)
2574
- .m(function (Command, cs, config, o) {
2575
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2576
- })
2577
- .s("AmazonAthena", "GetNamedQuery", {})
2578
- .n("AthenaClient", "GetNamedQueryCommand")
2579
- .sc(GetNamedQuery$)
2580
- .build() {
2581
- }
2582
-
2583
- class GetNotebookMetadataCommand extends Command
2584
- .classBuilder()
2585
- .ep(commonParams)
2586
- .m(function (Command, cs, config, o) {
2587
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2588
- })
2589
- .s("AmazonAthena", "GetNotebookMetadata", {})
2590
- .n("AthenaClient", "GetNotebookMetadataCommand")
2591
- .sc(GetNotebookMetadata$)
2592
- .build() {
2593
- }
2594
-
2595
- class GetPreparedStatementCommand extends Command
2596
- .classBuilder()
2597
- .ep(commonParams)
2598
- .m(function (Command, cs, config, o) {
2599
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2600
- })
2601
- .s("AmazonAthena", "GetPreparedStatement", {})
2602
- .n("AthenaClient", "GetPreparedStatementCommand")
2603
- .sc(GetPreparedStatement$)
2604
- .build() {
2605
- }
2606
-
2607
- class GetQueryExecutionCommand extends Command
2608
- .classBuilder()
2609
- .ep(commonParams)
2610
- .m(function (Command, cs, config, o) {
2611
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2612
- })
2613
- .s("AmazonAthena", "GetQueryExecution", {})
2614
- .n("AthenaClient", "GetQueryExecutionCommand")
2615
- .sc(GetQueryExecution$)
2616
- .build() {
2617
- }
2618
-
2619
- class GetQueryResultsCommand extends Command
2620
- .classBuilder()
2621
- .ep(commonParams)
2622
- .m(function (Command, cs, config, o) {
2623
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2624
- })
2625
- .s("AmazonAthena", "GetQueryResults", {})
2626
- .n("AthenaClient", "GetQueryResultsCommand")
2627
- .sc(GetQueryResults$)
2628
- .build() {
2629
- }
2630
-
2631
- class GetQueryRuntimeStatisticsCommand extends Command
2632
- .classBuilder()
2633
- .ep(commonParams)
2634
- .m(function (Command, cs, config, o) {
2635
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2636
- })
2637
- .s("AmazonAthena", "GetQueryRuntimeStatistics", {})
2638
- .n("AthenaClient", "GetQueryRuntimeStatisticsCommand")
2639
- .sc(GetQueryRuntimeStatistics$)
2640
- .build() {
2641
- }
2642
-
2643
- class GetResourceDashboardCommand extends Command
2644
- .classBuilder()
2645
- .ep(commonParams)
2646
- .m(function (Command, cs, config, o) {
2647
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2648
- })
2649
- .s("AmazonAthena", "GetResourceDashboard", {})
2650
- .n("AthenaClient", "GetResourceDashboardCommand")
2651
- .sc(GetResourceDashboard$)
2652
- .build() {
2653
- }
2654
-
2655
- class GetSessionCommand extends Command
2656
- .classBuilder()
2657
- .ep(commonParams)
2658
- .m(function (Command, cs, config, o) {
2659
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2660
- })
2661
- .s("AmazonAthena", "GetSession", {})
2662
- .n("AthenaClient", "GetSessionCommand")
2663
- .sc(GetSession$)
2664
- .build() {
2665
- }
2666
-
2667
- class GetSessionEndpointCommand extends Command
2668
- .classBuilder()
2669
- .ep(commonParams)
2670
- .m(function (Command, cs, config, o) {
2671
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2672
- })
2673
- .s("AmazonAthena", "GetSessionEndpoint", {})
2674
- .n("AthenaClient", "GetSessionEndpointCommand")
2675
- .sc(GetSessionEndpoint$)
2676
- .build() {
2677
- }
2678
-
2679
- class GetSessionStatusCommand extends Command
2680
- .classBuilder()
2681
- .ep(commonParams)
2682
- .m(function (Command, cs, config, o) {
2683
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2684
- })
2685
- .s("AmazonAthena", "GetSessionStatus", {})
2686
- .n("AthenaClient", "GetSessionStatusCommand")
2687
- .sc(GetSessionStatus$)
2688
- .build() {
2689
- }
2690
-
2691
- class GetTableMetadataCommand extends Command
2692
- .classBuilder()
2693
- .ep(commonParams)
2694
- .m(function (Command, cs, config, o) {
2695
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2696
- })
2697
- .s("AmazonAthena", "GetTableMetadata", {})
2698
- .n("AthenaClient", "GetTableMetadataCommand")
2699
- .sc(GetTableMetadata$)
2700
- .build() {
2701
- }
2702
-
2703
- class GetWorkGroupCommand extends Command
2704
- .classBuilder()
2705
- .ep(commonParams)
2706
- .m(function (Command, cs, config, o) {
2707
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2708
- })
2709
- .s("AmazonAthena", "GetWorkGroup", {})
2710
- .n("AthenaClient", "GetWorkGroupCommand")
2711
- .sc(GetWorkGroup$)
2712
- .build() {
2713
- }
2714
-
2715
- class ImportNotebookCommand extends Command
2716
- .classBuilder()
2717
- .ep(commonParams)
2718
- .m(function (Command, cs, config, o) {
2719
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2720
- })
2721
- .s("AmazonAthena", "ImportNotebook", {})
2722
- .n("AthenaClient", "ImportNotebookCommand")
2723
- .sc(ImportNotebook$)
2724
- .build() {
2725
- }
2726
-
2727
- class ListApplicationDPUSizesCommand extends Command
2728
- .classBuilder()
2729
- .ep(commonParams)
2730
- .m(function (Command, cs, config, o) {
2731
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2732
- })
2733
- .s("AmazonAthena", "ListApplicationDPUSizes", {})
2734
- .n("AthenaClient", "ListApplicationDPUSizesCommand")
2735
- .sc(ListApplicationDPUSizes$)
2736
- .build() {
2737
- }
2738
-
2739
- class ListCalculationExecutionsCommand extends Command
2740
- .classBuilder()
2741
- .ep(commonParams)
2742
- .m(function (Command, cs, config, o) {
2743
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2744
- })
2745
- .s("AmazonAthena", "ListCalculationExecutions", {})
2746
- .n("AthenaClient", "ListCalculationExecutionsCommand")
2747
- .sc(ListCalculationExecutions$)
2748
- .build() {
2749
- }
2750
-
2751
- class ListCapacityReservationsCommand extends Command
2752
- .classBuilder()
2753
- .ep(commonParams)
2754
- .m(function (Command, cs, config, o) {
2755
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2756
- })
2757
- .s("AmazonAthena", "ListCapacityReservations", {})
2758
- .n("AthenaClient", "ListCapacityReservationsCommand")
2759
- .sc(ListCapacityReservations$)
2760
- .build() {
2761
- }
2762
-
2763
- class ListDatabasesCommand extends Command
2764
- .classBuilder()
2765
- .ep(commonParams)
2766
- .m(function (Command, cs, config, o) {
2767
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2768
- })
2769
- .s("AmazonAthena", "ListDatabases", {})
2770
- .n("AthenaClient", "ListDatabasesCommand")
2771
- .sc(ListDatabases$)
2772
- .build() {
2773
- }
2774
-
2775
- class ListDataCatalogsCommand extends Command
2776
- .classBuilder()
2777
- .ep(commonParams)
2778
- .m(function (Command, cs, config, o) {
2779
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2780
- })
2781
- .s("AmazonAthena", "ListDataCatalogs", {})
2782
- .n("AthenaClient", "ListDataCatalogsCommand")
2783
- .sc(ListDataCatalogs$)
2784
- .build() {
2785
- }
2786
-
2787
- class ListEngineVersionsCommand extends Command
2788
- .classBuilder()
2789
- .ep(commonParams)
2790
- .m(function (Command, cs, config, o) {
2791
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2792
- })
2793
- .s("AmazonAthena", "ListEngineVersions", {})
2794
- .n("AthenaClient", "ListEngineVersionsCommand")
2795
- .sc(ListEngineVersions$)
2796
- .build() {
2797
- }
2798
-
2799
- class ListExecutorsCommand extends Command
2800
- .classBuilder()
2801
- .ep(commonParams)
2802
- .m(function (Command, cs, config, o) {
2803
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2804
- })
2805
- .s("AmazonAthena", "ListExecutors", {})
2806
- .n("AthenaClient", "ListExecutorsCommand")
2807
- .sc(ListExecutors$)
2808
- .build() {
2809
- }
2810
-
2811
- class ListNamedQueriesCommand extends Command
2812
- .classBuilder()
2813
- .ep(commonParams)
2814
- .m(function (Command, cs, config, o) {
2815
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2816
- })
2817
- .s("AmazonAthena", "ListNamedQueries", {})
2818
- .n("AthenaClient", "ListNamedQueriesCommand")
2819
- .sc(ListNamedQueries$)
2820
- .build() {
2821
- }
2822
-
2823
- class ListNotebookMetadataCommand extends Command
2824
- .classBuilder()
2825
- .ep(commonParams)
2826
- .m(function (Command, cs, config, o) {
2827
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2828
- })
2829
- .s("AmazonAthena", "ListNotebookMetadata", {})
2830
- .n("AthenaClient", "ListNotebookMetadataCommand")
2831
- .sc(ListNotebookMetadata$)
2832
- .build() {
2833
- }
2834
-
2835
- class ListNotebookSessionsCommand extends Command
2836
- .classBuilder()
2837
- .ep(commonParams)
2838
- .m(function (Command, cs, config, o) {
2839
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2840
- })
2841
- .s("AmazonAthena", "ListNotebookSessions", {})
2842
- .n("AthenaClient", "ListNotebookSessionsCommand")
2843
- .sc(ListNotebookSessions$)
2844
- .build() {
2845
- }
2846
-
2847
- class ListPreparedStatementsCommand extends Command
2848
- .classBuilder()
2849
- .ep(commonParams)
2850
- .m(function (Command, cs, config, o) {
2851
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2852
- })
2853
- .s("AmazonAthena", "ListPreparedStatements", {})
2854
- .n("AthenaClient", "ListPreparedStatementsCommand")
2855
- .sc(ListPreparedStatements$)
2856
- .build() {
2857
- }
2858
-
2859
- class ListQueryExecutionsCommand extends Command
2860
- .classBuilder()
2861
- .ep(commonParams)
2862
- .m(function (Command, cs, config, o) {
2863
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2864
- })
2865
- .s("AmazonAthena", "ListQueryExecutions", {})
2866
- .n("AthenaClient", "ListQueryExecutionsCommand")
2867
- .sc(ListQueryExecutions$)
2868
- .build() {
2869
- }
2870
-
2871
- class ListSessionsCommand extends Command
2872
- .classBuilder()
2873
- .ep(commonParams)
2874
- .m(function (Command, cs, config, o) {
2875
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2876
- })
2877
- .s("AmazonAthena", "ListSessions", {})
2878
- .n("AthenaClient", "ListSessionsCommand")
2879
- .sc(ListSessions$)
2880
- .build() {
2881
- }
2882
-
2883
- class ListTableMetadataCommand extends Command
2884
- .classBuilder()
2885
- .ep(commonParams)
2886
- .m(function (Command, cs, config, o) {
2887
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2888
- })
2889
- .s("AmazonAthena", "ListTableMetadata", {})
2890
- .n("AthenaClient", "ListTableMetadataCommand")
2891
- .sc(ListTableMetadata$)
2892
- .build() {
2893
- }
2894
-
2895
- class ListTagsForResourceCommand extends Command
2896
- .classBuilder()
2897
- .ep(commonParams)
2898
- .m(function (Command, cs, config, o) {
2899
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2900
- })
2901
- .s("AmazonAthena", "ListTagsForResource", {})
2902
- .n("AthenaClient", "ListTagsForResourceCommand")
2903
- .sc(ListTagsForResource$)
2904
- .build() {
2905
- }
2906
-
2907
- class ListWorkGroupsCommand extends Command
2908
- .classBuilder()
2909
- .ep(commonParams)
2910
- .m(function (Command, cs, config, o) {
2911
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2912
- })
2913
- .s("AmazonAthena", "ListWorkGroups", {})
2914
- .n("AthenaClient", "ListWorkGroupsCommand")
2915
- .sc(ListWorkGroups$)
2916
- .build() {
2917
- }
2918
-
2919
- class PutCapacityAssignmentConfigurationCommand extends Command
2920
- .classBuilder()
2921
- .ep(commonParams)
2922
- .m(function (Command, cs, config, o) {
2923
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2924
- })
2925
- .s("AmazonAthena", "PutCapacityAssignmentConfiguration", {})
2926
- .n("AthenaClient", "PutCapacityAssignmentConfigurationCommand")
2927
- .sc(PutCapacityAssignmentConfiguration$)
2928
- .build() {
2929
- }
2930
-
2931
- class StartCalculationExecutionCommand extends Command
2932
- .classBuilder()
2933
- .ep(commonParams)
2934
- .m(function (Command, cs, config, o) {
2935
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2936
- })
2937
- .s("AmazonAthena", "StartCalculationExecution", {})
2938
- .n("AthenaClient", "StartCalculationExecutionCommand")
2939
- .sc(StartCalculationExecution$)
2940
- .build() {
2941
- }
2942
-
2943
- class StartQueryExecutionCommand extends Command
2944
- .classBuilder()
2945
- .ep(commonParams)
2946
- .m(function (Command, cs, config, o) {
2947
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2948
- })
2949
- .s("AmazonAthena", "StartQueryExecution", {})
2950
- .n("AthenaClient", "StartQueryExecutionCommand")
2951
- .sc(StartQueryExecution$)
2952
- .build() {
2953
- }
2954
-
2955
- class StartSessionCommand extends Command
2956
- .classBuilder()
2957
- .ep(commonParams)
2958
- .m(function (Command, cs, config, o) {
2959
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2960
- })
2961
- .s("AmazonAthena", "StartSession", {})
2962
- .n("AthenaClient", "StartSessionCommand")
2963
- .sc(StartSession$)
2964
- .build() {
2965
- }
2966
-
2967
- class StopCalculationExecutionCommand extends Command
2968
- .classBuilder()
2969
- .ep(commonParams)
2970
- .m(function (Command, cs, config, o) {
2971
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2972
- })
2973
- .s("AmazonAthena", "StopCalculationExecution", {})
2974
- .n("AthenaClient", "StopCalculationExecutionCommand")
2975
- .sc(StopCalculationExecution$)
2976
- .build() {
2977
- }
2978
-
2979
- class StopQueryExecutionCommand extends Command
2980
- .classBuilder()
2981
- .ep(commonParams)
2982
- .m(function (Command, cs, config, o) {
2983
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2984
- })
2985
- .s("AmazonAthena", "StopQueryExecution", {})
2986
- .n("AthenaClient", "StopQueryExecutionCommand")
2987
- .sc(StopQueryExecution$)
2988
- .build() {
2989
- }
2990
-
2991
- class TagResourceCommand extends Command
2992
- .classBuilder()
2993
- .ep(commonParams)
2994
- .m(function (Command, cs, config, o) {
2995
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2996
- })
2997
- .s("AmazonAthena", "TagResource", {})
2998
- .n("AthenaClient", "TagResourceCommand")
2999
- .sc(TagResource$)
3000
- .build() {
3001
- }
3002
-
3003
- class TerminateSessionCommand extends Command
3004
- .classBuilder()
3005
- .ep(commonParams)
3006
- .m(function (Command, cs, config, o) {
3007
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3008
- })
3009
- .s("AmazonAthena", "TerminateSession", {})
3010
- .n("AthenaClient", "TerminateSessionCommand")
3011
- .sc(TerminateSession$)
3012
- .build() {
3013
- }
3014
-
3015
- class UntagResourceCommand extends Command
3016
- .classBuilder()
3017
- .ep(commonParams)
3018
- .m(function (Command, cs, config, o) {
3019
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3020
- })
3021
- .s("AmazonAthena", "UntagResource", {})
3022
- .n("AthenaClient", "UntagResourceCommand")
3023
- .sc(UntagResource$)
3024
- .build() {
3025
- }
3026
-
3027
- class UpdateCapacityReservationCommand extends Command
3028
- .classBuilder()
3029
- .ep(commonParams)
3030
- .m(function (Command, cs, config, o) {
3031
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3032
- })
3033
- .s("AmazonAthena", "UpdateCapacityReservation", {})
3034
- .n("AthenaClient", "UpdateCapacityReservationCommand")
3035
- .sc(UpdateCapacityReservation$)
3036
- .build() {
3037
- }
3038
-
3039
- class UpdateDataCatalogCommand extends Command
3040
- .classBuilder()
3041
- .ep(commonParams)
3042
- .m(function (Command, cs, config, o) {
3043
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3044
- })
3045
- .s("AmazonAthena", "UpdateDataCatalog", {})
3046
- .n("AthenaClient", "UpdateDataCatalogCommand")
3047
- .sc(UpdateDataCatalog$)
3048
- .build() {
3049
- }
3050
-
3051
- class UpdateNamedQueryCommand extends Command
3052
- .classBuilder()
3053
- .ep(commonParams)
3054
- .m(function (Command, cs, config, o) {
3055
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3056
- })
3057
- .s("AmazonAthena", "UpdateNamedQuery", {})
3058
- .n("AthenaClient", "UpdateNamedQueryCommand")
3059
- .sc(UpdateNamedQuery$)
3060
- .build() {
3061
- }
3062
-
3063
- class UpdateNotebookCommand extends Command
3064
- .classBuilder()
3065
- .ep(commonParams)
3066
- .m(function (Command, cs, config, o) {
3067
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3068
- })
3069
- .s("AmazonAthena", "UpdateNotebook", {})
3070
- .n("AthenaClient", "UpdateNotebookCommand")
3071
- .sc(UpdateNotebook$)
3072
- .build() {
3073
- }
3074
-
3075
- class UpdateNotebookMetadataCommand extends Command
3076
- .classBuilder()
3077
- .ep(commonParams)
3078
- .m(function (Command, cs, config, o) {
3079
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3080
- })
3081
- .s("AmazonAthena", "UpdateNotebookMetadata", {})
3082
- .n("AthenaClient", "UpdateNotebookMetadataCommand")
3083
- .sc(UpdateNotebookMetadata$)
3084
- .build() {
3085
- }
3086
-
3087
- class UpdatePreparedStatementCommand extends Command
3088
- .classBuilder()
3089
- .ep(commonParams)
3090
- .m(function (Command, cs, config, o) {
3091
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3092
- })
3093
- .s("AmazonAthena", "UpdatePreparedStatement", {})
3094
- .n("AthenaClient", "UpdatePreparedStatementCommand")
3095
- .sc(UpdatePreparedStatement$)
3096
- .build() {
3097
- }
3098
-
3099
- class UpdateWorkGroupCommand extends Command
3100
- .classBuilder()
3101
- .ep(commonParams)
3102
- .m(function (Command, cs, config, o) {
3103
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3104
- })
3105
- .s("AmazonAthena", "UpdateWorkGroup", {})
3106
- .n("AthenaClient", "UpdateWorkGroupCommand")
3107
- .sc(UpdateWorkGroup$)
3108
- .build() {
2273
+ const command = makeBuilder(commonParams, "AmazonAthena", "AthenaClient", getEndpointPlugin);
2274
+ const _ep0 = {};
2275
+ const _mw0 = (Command, cs, config, o) => [];
2276
+
2277
+ class BatchGetNamedQueryCommand extends command(_ep0, _mw0, "BatchGetNamedQuery", BatchGetNamedQuery$) {
2278
+ }
2279
+
2280
+ class BatchGetPreparedStatementCommand extends command(_ep0, _mw0, "BatchGetPreparedStatement", BatchGetPreparedStatement$) {
2281
+ }
2282
+
2283
+ class BatchGetQueryExecutionCommand extends command(_ep0, _mw0, "BatchGetQueryExecution", BatchGetQueryExecution$) {
2284
+ }
2285
+
2286
+ class CancelCapacityReservationCommand extends command(_ep0, _mw0, "CancelCapacityReservation", CancelCapacityReservation$) {
2287
+ }
2288
+
2289
+ class CreateCapacityReservationCommand extends command(_ep0, _mw0, "CreateCapacityReservation", CreateCapacityReservation$) {
2290
+ }
2291
+
2292
+ class CreateDataCatalogCommand extends command(_ep0, _mw0, "CreateDataCatalog", CreateDataCatalog$) {
2293
+ }
2294
+
2295
+ class CreateNamedQueryCommand extends command(_ep0, _mw0, "CreateNamedQuery", CreateNamedQuery$) {
2296
+ }
2297
+
2298
+ class CreateNotebookCommand extends command(_ep0, _mw0, "CreateNotebook", CreateNotebook$) {
2299
+ }
2300
+
2301
+ class CreatePreparedStatementCommand extends command(_ep0, _mw0, "CreatePreparedStatement", CreatePreparedStatement$) {
2302
+ }
2303
+
2304
+ class CreatePresignedNotebookUrlCommand extends command(_ep0, _mw0, "CreatePresignedNotebookUrl", CreatePresignedNotebookUrl$) {
2305
+ }
2306
+
2307
+ class CreateWorkGroupCommand extends command(_ep0, _mw0, "CreateWorkGroup", CreateWorkGroup$) {
2308
+ }
2309
+
2310
+ class DeleteCapacityReservationCommand extends command(_ep0, _mw0, "DeleteCapacityReservation", DeleteCapacityReservation$) {
2311
+ }
2312
+
2313
+ class DeleteDataCatalogCommand extends command(_ep0, _mw0, "DeleteDataCatalog", DeleteDataCatalog$) {
2314
+ }
2315
+
2316
+ class DeleteNamedQueryCommand extends command(_ep0, _mw0, "DeleteNamedQuery", DeleteNamedQuery$) {
2317
+ }
2318
+
2319
+ class DeleteNotebookCommand extends command(_ep0, _mw0, "DeleteNotebook", DeleteNotebook$) {
2320
+ }
2321
+
2322
+ class DeletePreparedStatementCommand extends command(_ep0, _mw0, "DeletePreparedStatement", DeletePreparedStatement$) {
2323
+ }
2324
+
2325
+ class DeleteWorkGroupCommand extends command(_ep0, _mw0, "DeleteWorkGroup", DeleteWorkGroup$) {
2326
+ }
2327
+
2328
+ class ExportNotebookCommand extends command(_ep0, _mw0, "ExportNotebook", ExportNotebook$) {
2329
+ }
2330
+
2331
+ class GetCalculationExecutionCodeCommand extends command(_ep0, _mw0, "GetCalculationExecutionCode", GetCalculationExecutionCode$) {
2332
+ }
2333
+
2334
+ class GetCalculationExecutionCommand extends command(_ep0, _mw0, "GetCalculationExecution", GetCalculationExecution$) {
2335
+ }
2336
+
2337
+ class GetCalculationExecutionStatusCommand extends command(_ep0, _mw0, "GetCalculationExecutionStatus", GetCalculationExecutionStatus$) {
2338
+ }
2339
+
2340
+ class GetCapacityAssignmentConfigurationCommand extends command(_ep0, _mw0, "GetCapacityAssignmentConfiguration", GetCapacityAssignmentConfiguration$) {
2341
+ }
2342
+
2343
+ class GetCapacityReservationCommand extends command(_ep0, _mw0, "GetCapacityReservation", GetCapacityReservation$) {
2344
+ }
2345
+
2346
+ class GetDatabaseCommand extends command(_ep0, _mw0, "GetDatabase", GetDatabase$) {
2347
+ }
2348
+
2349
+ class GetDataCatalogCommand extends command(_ep0, _mw0, "GetDataCatalog", GetDataCatalog$) {
2350
+ }
2351
+
2352
+ class GetNamedQueryCommand extends command(_ep0, _mw0, "GetNamedQuery", GetNamedQuery$) {
2353
+ }
2354
+
2355
+ class GetNotebookMetadataCommand extends command(_ep0, _mw0, "GetNotebookMetadata", GetNotebookMetadata$) {
2356
+ }
2357
+
2358
+ class GetPreparedStatementCommand extends command(_ep0, _mw0, "GetPreparedStatement", GetPreparedStatement$) {
2359
+ }
2360
+
2361
+ class GetQueryExecutionCommand extends command(_ep0, _mw0, "GetQueryExecution", GetQueryExecution$) {
2362
+ }
2363
+
2364
+ class GetQueryResultsCommand extends command(_ep0, _mw0, "GetQueryResults", GetQueryResults$) {
2365
+ }
2366
+
2367
+ class GetQueryRuntimeStatisticsCommand extends command(_ep0, _mw0, "GetQueryRuntimeStatistics", GetQueryRuntimeStatistics$) {
2368
+ }
2369
+
2370
+ class GetResourceDashboardCommand extends command(_ep0, _mw0, "GetResourceDashboard", GetResourceDashboard$) {
2371
+ }
2372
+
2373
+ class GetSessionCommand extends command(_ep0, _mw0, "GetSession", GetSession$) {
2374
+ }
2375
+
2376
+ class GetSessionEndpointCommand extends command(_ep0, _mw0, "GetSessionEndpoint", GetSessionEndpoint$) {
2377
+ }
2378
+
2379
+ class GetSessionStatusCommand extends command(_ep0, _mw0, "GetSessionStatus", GetSessionStatus$) {
2380
+ }
2381
+
2382
+ class GetTableMetadataCommand extends command(_ep0, _mw0, "GetTableMetadata", GetTableMetadata$) {
2383
+ }
2384
+
2385
+ class GetWorkGroupCommand extends command(_ep0, _mw0, "GetWorkGroup", GetWorkGroup$) {
2386
+ }
2387
+
2388
+ class ImportNotebookCommand extends command(_ep0, _mw0, "ImportNotebook", ImportNotebook$) {
2389
+ }
2390
+
2391
+ class ListApplicationDPUSizesCommand extends command(_ep0, _mw0, "ListApplicationDPUSizes", ListApplicationDPUSizes$) {
2392
+ }
2393
+
2394
+ class ListCalculationExecutionsCommand extends command(_ep0, _mw0, "ListCalculationExecutions", ListCalculationExecutions$) {
2395
+ }
2396
+
2397
+ class ListCapacityReservationsCommand extends command(_ep0, _mw0, "ListCapacityReservations", ListCapacityReservations$) {
2398
+ }
2399
+
2400
+ class ListDatabasesCommand extends command(_ep0, _mw0, "ListDatabases", ListDatabases$) {
2401
+ }
2402
+
2403
+ class ListDataCatalogsCommand extends command(_ep0, _mw0, "ListDataCatalogs", ListDataCatalogs$) {
2404
+ }
2405
+
2406
+ class ListEngineVersionsCommand extends command(_ep0, _mw0, "ListEngineVersions", ListEngineVersions$) {
2407
+ }
2408
+
2409
+ class ListExecutorsCommand extends command(_ep0, _mw0, "ListExecutors", ListExecutors$) {
2410
+ }
2411
+
2412
+ class ListNamedQueriesCommand extends command(_ep0, _mw0, "ListNamedQueries", ListNamedQueries$) {
2413
+ }
2414
+
2415
+ class ListNotebookMetadataCommand extends command(_ep0, _mw0, "ListNotebookMetadata", ListNotebookMetadata$) {
2416
+ }
2417
+
2418
+ class ListNotebookSessionsCommand extends command(_ep0, _mw0, "ListNotebookSessions", ListNotebookSessions$) {
2419
+ }
2420
+
2421
+ class ListPreparedStatementsCommand extends command(_ep0, _mw0, "ListPreparedStatements", ListPreparedStatements$) {
2422
+ }
2423
+
2424
+ class ListQueryExecutionsCommand extends command(_ep0, _mw0, "ListQueryExecutions", ListQueryExecutions$) {
2425
+ }
2426
+
2427
+ class ListSessionsCommand extends command(_ep0, _mw0, "ListSessions", ListSessions$) {
2428
+ }
2429
+
2430
+ class ListTableMetadataCommand extends command(_ep0, _mw0, "ListTableMetadata", ListTableMetadata$) {
2431
+ }
2432
+
2433
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
2434
+ }
2435
+
2436
+ class ListWorkGroupsCommand extends command(_ep0, _mw0, "ListWorkGroups", ListWorkGroups$) {
2437
+ }
2438
+
2439
+ class PutCapacityAssignmentConfigurationCommand extends command(_ep0, _mw0, "PutCapacityAssignmentConfiguration", PutCapacityAssignmentConfiguration$) {
2440
+ }
2441
+
2442
+ class StartCalculationExecutionCommand extends command(_ep0, _mw0, "StartCalculationExecution", StartCalculationExecution$) {
2443
+ }
2444
+
2445
+ class StartQueryExecutionCommand extends command(_ep0, _mw0, "StartQueryExecution", StartQueryExecution$) {
2446
+ }
2447
+
2448
+ class StartSessionCommand extends command(_ep0, _mw0, "StartSession", StartSession$) {
2449
+ }
2450
+
2451
+ class StopCalculationExecutionCommand extends command(_ep0, _mw0, "StopCalculationExecution", StopCalculationExecution$) {
2452
+ }
2453
+
2454
+ class StopQueryExecutionCommand extends command(_ep0, _mw0, "StopQueryExecution", StopQueryExecution$) {
2455
+ }
2456
+
2457
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
2458
+ }
2459
+
2460
+ class TerminateSessionCommand extends command(_ep0, _mw0, "TerminateSession", TerminateSession$) {
2461
+ }
2462
+
2463
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
2464
+ }
2465
+
2466
+ class UpdateCapacityReservationCommand extends command(_ep0, _mw0, "UpdateCapacityReservation", UpdateCapacityReservation$) {
2467
+ }
2468
+
2469
+ class UpdateDataCatalogCommand extends command(_ep0, _mw0, "UpdateDataCatalog", UpdateDataCatalog$) {
2470
+ }
2471
+
2472
+ class UpdateNamedQueryCommand extends command(_ep0, _mw0, "UpdateNamedQuery", UpdateNamedQuery$) {
2473
+ }
2474
+
2475
+ class UpdateNotebookCommand extends command(_ep0, _mw0, "UpdateNotebook", UpdateNotebook$) {
2476
+ }
2477
+
2478
+ class UpdateNotebookMetadataCommand extends command(_ep0, _mw0, "UpdateNotebookMetadata", UpdateNotebookMetadata$) {
2479
+ }
2480
+
2481
+ class UpdatePreparedStatementCommand extends command(_ep0, _mw0, "UpdatePreparedStatement", UpdatePreparedStatement$) {
2482
+ }
2483
+
2484
+ class UpdateWorkGroupCommand extends command(_ep0, _mw0, "UpdateWorkGroup", UpdateWorkGroup$) {
3109
2485
  }
3110
2486
 
3111
2487
  const paginateGetQueryResults = createPaginator(AthenaClient, GetQueryResultsCommand, "NextToken", "NextToken", "MaxResults");