@aws-sdk/client-athena 3.478.0 → 3.484.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 (277) hide show
  1. package/dist-cjs/commands/BatchGetNamedQueryCommand.js +18 -41
  2. package/dist-cjs/commands/BatchGetPreparedStatementCommand.js +18 -41
  3. package/dist-cjs/commands/BatchGetQueryExecutionCommand.js +18 -41
  4. package/dist-cjs/commands/CancelCapacityReservationCommand.js +18 -41
  5. package/dist-cjs/commands/CreateCapacityReservationCommand.js +18 -41
  6. package/dist-cjs/commands/CreateDataCatalogCommand.js +18 -41
  7. package/dist-cjs/commands/CreateNamedQueryCommand.js +18 -41
  8. package/dist-cjs/commands/CreateNotebookCommand.js +18 -41
  9. package/dist-cjs/commands/CreatePreparedStatementCommand.js +18 -41
  10. package/dist-cjs/commands/CreatePresignedNotebookUrlCommand.js +18 -41
  11. package/dist-cjs/commands/CreateWorkGroupCommand.js +18 -41
  12. package/dist-cjs/commands/DeleteCapacityReservationCommand.js +18 -41
  13. package/dist-cjs/commands/DeleteDataCatalogCommand.js +18 -41
  14. package/dist-cjs/commands/DeleteNamedQueryCommand.js +18 -41
  15. package/dist-cjs/commands/DeleteNotebookCommand.js +18 -41
  16. package/dist-cjs/commands/DeletePreparedStatementCommand.js +18 -41
  17. package/dist-cjs/commands/DeleteWorkGroupCommand.js +18 -41
  18. package/dist-cjs/commands/ExportNotebookCommand.js +18 -41
  19. package/dist-cjs/commands/GetCalculationExecutionCodeCommand.js +18 -41
  20. package/dist-cjs/commands/GetCalculationExecutionCommand.js +18 -41
  21. package/dist-cjs/commands/GetCalculationExecutionStatusCommand.js +18 -41
  22. package/dist-cjs/commands/GetCapacityAssignmentConfigurationCommand.js +18 -41
  23. package/dist-cjs/commands/GetCapacityReservationCommand.js +18 -41
  24. package/dist-cjs/commands/GetDataCatalogCommand.js +18 -41
  25. package/dist-cjs/commands/GetDatabaseCommand.js +18 -41
  26. package/dist-cjs/commands/GetNamedQueryCommand.js +18 -41
  27. package/dist-cjs/commands/GetNotebookMetadataCommand.js +18 -41
  28. package/dist-cjs/commands/GetPreparedStatementCommand.js +18 -41
  29. package/dist-cjs/commands/GetQueryExecutionCommand.js +18 -41
  30. package/dist-cjs/commands/GetQueryResultsCommand.js +18 -41
  31. package/dist-cjs/commands/GetQueryRuntimeStatisticsCommand.js +18 -41
  32. package/dist-cjs/commands/GetSessionCommand.js +18 -41
  33. package/dist-cjs/commands/GetSessionStatusCommand.js +18 -41
  34. package/dist-cjs/commands/GetTableMetadataCommand.js +18 -41
  35. package/dist-cjs/commands/GetWorkGroupCommand.js +18 -41
  36. package/dist-cjs/commands/ImportNotebookCommand.js +18 -41
  37. package/dist-cjs/commands/ListApplicationDPUSizesCommand.js +18 -41
  38. package/dist-cjs/commands/ListCalculationExecutionsCommand.js +18 -41
  39. package/dist-cjs/commands/ListCapacityReservationsCommand.js +18 -41
  40. package/dist-cjs/commands/ListDataCatalogsCommand.js +18 -41
  41. package/dist-cjs/commands/ListDatabasesCommand.js +18 -41
  42. package/dist-cjs/commands/ListEngineVersionsCommand.js +18 -41
  43. package/dist-cjs/commands/ListExecutorsCommand.js +18 -41
  44. package/dist-cjs/commands/ListNamedQueriesCommand.js +18 -41
  45. package/dist-cjs/commands/ListNotebookMetadataCommand.js +18 -41
  46. package/dist-cjs/commands/ListNotebookSessionsCommand.js +18 -41
  47. package/dist-cjs/commands/ListPreparedStatementsCommand.js +18 -41
  48. package/dist-cjs/commands/ListQueryExecutionsCommand.js +18 -41
  49. package/dist-cjs/commands/ListSessionsCommand.js +18 -41
  50. package/dist-cjs/commands/ListTableMetadataCommand.js +18 -41
  51. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  52. package/dist-cjs/commands/ListWorkGroupsCommand.js +18 -41
  53. package/dist-cjs/commands/PutCapacityAssignmentConfigurationCommand.js +18 -41
  54. package/dist-cjs/commands/StartCalculationExecutionCommand.js +18 -41
  55. package/dist-cjs/commands/StartQueryExecutionCommand.js +18 -41
  56. package/dist-cjs/commands/StartSessionCommand.js +18 -41
  57. package/dist-cjs/commands/StopCalculationExecutionCommand.js +18 -41
  58. package/dist-cjs/commands/StopQueryExecutionCommand.js +18 -41
  59. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  60. package/dist-cjs/commands/TerminateSessionCommand.js +18 -41
  61. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  62. package/dist-cjs/commands/UpdateCapacityReservationCommand.js +18 -41
  63. package/dist-cjs/commands/UpdateDataCatalogCommand.js +18 -41
  64. package/dist-cjs/commands/UpdateNamedQueryCommand.js +18 -41
  65. package/dist-cjs/commands/UpdateNotebookCommand.js +18 -41
  66. package/dist-cjs/commands/UpdateNotebookMetadataCommand.js +18 -41
  67. package/dist-cjs/commands/UpdatePreparedStatementCommand.js +18 -41
  68. package/dist-cjs/commands/UpdateWorkGroupCommand.js +18 -41
  69. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  70. package/dist-es/commands/BatchGetNamedQueryCommand.js +18 -41
  71. package/dist-es/commands/BatchGetPreparedStatementCommand.js +18 -41
  72. package/dist-es/commands/BatchGetQueryExecutionCommand.js +18 -41
  73. package/dist-es/commands/CancelCapacityReservationCommand.js +18 -41
  74. package/dist-es/commands/CreateCapacityReservationCommand.js +18 -41
  75. package/dist-es/commands/CreateDataCatalogCommand.js +18 -41
  76. package/dist-es/commands/CreateNamedQueryCommand.js +18 -41
  77. package/dist-es/commands/CreateNotebookCommand.js +18 -41
  78. package/dist-es/commands/CreatePreparedStatementCommand.js +18 -41
  79. package/dist-es/commands/CreatePresignedNotebookUrlCommand.js +18 -41
  80. package/dist-es/commands/CreateWorkGroupCommand.js +18 -41
  81. package/dist-es/commands/DeleteCapacityReservationCommand.js +18 -41
  82. package/dist-es/commands/DeleteDataCatalogCommand.js +18 -41
  83. package/dist-es/commands/DeleteNamedQueryCommand.js +18 -41
  84. package/dist-es/commands/DeleteNotebookCommand.js +18 -41
  85. package/dist-es/commands/DeletePreparedStatementCommand.js +18 -41
  86. package/dist-es/commands/DeleteWorkGroupCommand.js +18 -41
  87. package/dist-es/commands/ExportNotebookCommand.js +18 -41
  88. package/dist-es/commands/GetCalculationExecutionCodeCommand.js +18 -41
  89. package/dist-es/commands/GetCalculationExecutionCommand.js +18 -41
  90. package/dist-es/commands/GetCalculationExecutionStatusCommand.js +18 -41
  91. package/dist-es/commands/GetCapacityAssignmentConfigurationCommand.js +18 -41
  92. package/dist-es/commands/GetCapacityReservationCommand.js +18 -41
  93. package/dist-es/commands/GetDataCatalogCommand.js +18 -41
  94. package/dist-es/commands/GetDatabaseCommand.js +18 -41
  95. package/dist-es/commands/GetNamedQueryCommand.js +18 -41
  96. package/dist-es/commands/GetNotebookMetadataCommand.js +18 -41
  97. package/dist-es/commands/GetPreparedStatementCommand.js +18 -41
  98. package/dist-es/commands/GetQueryExecutionCommand.js +18 -41
  99. package/dist-es/commands/GetQueryResultsCommand.js +18 -41
  100. package/dist-es/commands/GetQueryRuntimeStatisticsCommand.js +18 -41
  101. package/dist-es/commands/GetSessionCommand.js +18 -41
  102. package/dist-es/commands/GetSessionStatusCommand.js +18 -41
  103. package/dist-es/commands/GetTableMetadataCommand.js +18 -41
  104. package/dist-es/commands/GetWorkGroupCommand.js +18 -41
  105. package/dist-es/commands/ImportNotebookCommand.js +18 -41
  106. package/dist-es/commands/ListApplicationDPUSizesCommand.js +18 -41
  107. package/dist-es/commands/ListCalculationExecutionsCommand.js +18 -41
  108. package/dist-es/commands/ListCapacityReservationsCommand.js +18 -41
  109. package/dist-es/commands/ListDataCatalogsCommand.js +18 -41
  110. package/dist-es/commands/ListDatabasesCommand.js +18 -41
  111. package/dist-es/commands/ListEngineVersionsCommand.js +18 -41
  112. package/dist-es/commands/ListExecutorsCommand.js +18 -41
  113. package/dist-es/commands/ListNamedQueriesCommand.js +18 -41
  114. package/dist-es/commands/ListNotebookMetadataCommand.js +18 -41
  115. package/dist-es/commands/ListNotebookSessionsCommand.js +18 -41
  116. package/dist-es/commands/ListPreparedStatementsCommand.js +18 -41
  117. package/dist-es/commands/ListQueryExecutionsCommand.js +18 -41
  118. package/dist-es/commands/ListSessionsCommand.js +18 -41
  119. package/dist-es/commands/ListTableMetadataCommand.js +18 -41
  120. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  121. package/dist-es/commands/ListWorkGroupsCommand.js +18 -41
  122. package/dist-es/commands/PutCapacityAssignmentConfigurationCommand.js +18 -41
  123. package/dist-es/commands/StartCalculationExecutionCommand.js +18 -41
  124. package/dist-es/commands/StartQueryExecutionCommand.js +18 -41
  125. package/dist-es/commands/StartSessionCommand.js +18 -41
  126. package/dist-es/commands/StopCalculationExecutionCommand.js +18 -41
  127. package/dist-es/commands/StopQueryExecutionCommand.js +18 -41
  128. package/dist-es/commands/TagResourceCommand.js +18 -41
  129. package/dist-es/commands/TerminateSessionCommand.js +18 -41
  130. package/dist-es/commands/UntagResourceCommand.js +18 -41
  131. package/dist-es/commands/UpdateCapacityReservationCommand.js +18 -41
  132. package/dist-es/commands/UpdateDataCatalogCommand.js +18 -41
  133. package/dist-es/commands/UpdateNamedQueryCommand.js +18 -41
  134. package/dist-es/commands/UpdateNotebookCommand.js +18 -41
  135. package/dist-es/commands/UpdateNotebookMetadataCommand.js +18 -41
  136. package/dist-es/commands/UpdatePreparedStatementCommand.js +18 -41
  137. package/dist-es/commands/UpdateWorkGroupCommand.js +18 -41
  138. package/dist-es/endpoint/EndpointParameters.js +6 -0
  139. package/dist-types/commands/BatchGetNamedQueryCommand.d.ts +6 -21
  140. package/dist-types/commands/BatchGetPreparedStatementCommand.d.ts +6 -21
  141. package/dist-types/commands/BatchGetQueryExecutionCommand.d.ts +6 -21
  142. package/dist-types/commands/CancelCapacityReservationCommand.d.ts +6 -21
  143. package/dist-types/commands/CreateCapacityReservationCommand.d.ts +6 -21
  144. package/dist-types/commands/CreateDataCatalogCommand.d.ts +6 -21
  145. package/dist-types/commands/CreateNamedQueryCommand.d.ts +6 -21
  146. package/dist-types/commands/CreateNotebookCommand.d.ts +6 -21
  147. package/dist-types/commands/CreatePreparedStatementCommand.d.ts +6 -21
  148. package/dist-types/commands/CreatePresignedNotebookUrlCommand.d.ts +6 -21
  149. package/dist-types/commands/CreateWorkGroupCommand.d.ts +6 -21
  150. package/dist-types/commands/DeleteCapacityReservationCommand.d.ts +6 -21
  151. package/dist-types/commands/DeleteDataCatalogCommand.d.ts +6 -21
  152. package/dist-types/commands/DeleteNamedQueryCommand.d.ts +6 -21
  153. package/dist-types/commands/DeleteNotebookCommand.d.ts +6 -21
  154. package/dist-types/commands/DeletePreparedStatementCommand.d.ts +6 -21
  155. package/dist-types/commands/DeleteWorkGroupCommand.d.ts +6 -21
  156. package/dist-types/commands/ExportNotebookCommand.d.ts +6 -21
  157. package/dist-types/commands/GetCalculationExecutionCodeCommand.d.ts +6 -21
  158. package/dist-types/commands/GetCalculationExecutionCommand.d.ts +6 -21
  159. package/dist-types/commands/GetCalculationExecutionStatusCommand.d.ts +6 -21
  160. package/dist-types/commands/GetCapacityAssignmentConfigurationCommand.d.ts +6 -21
  161. package/dist-types/commands/GetCapacityReservationCommand.d.ts +6 -21
  162. package/dist-types/commands/GetDataCatalogCommand.d.ts +6 -21
  163. package/dist-types/commands/GetDatabaseCommand.d.ts +6 -21
  164. package/dist-types/commands/GetNamedQueryCommand.d.ts +6 -21
  165. package/dist-types/commands/GetNotebookMetadataCommand.d.ts +6 -21
  166. package/dist-types/commands/GetPreparedStatementCommand.d.ts +6 -21
  167. package/dist-types/commands/GetQueryExecutionCommand.d.ts +6 -21
  168. package/dist-types/commands/GetQueryResultsCommand.d.ts +6 -21
  169. package/dist-types/commands/GetQueryRuntimeStatisticsCommand.d.ts +6 -21
  170. package/dist-types/commands/GetSessionCommand.d.ts +6 -21
  171. package/dist-types/commands/GetSessionStatusCommand.d.ts +6 -21
  172. package/dist-types/commands/GetTableMetadataCommand.d.ts +6 -21
  173. package/dist-types/commands/GetWorkGroupCommand.d.ts +6 -21
  174. package/dist-types/commands/ImportNotebookCommand.d.ts +6 -21
  175. package/dist-types/commands/ListApplicationDPUSizesCommand.d.ts +6 -21
  176. package/dist-types/commands/ListCalculationExecutionsCommand.d.ts +6 -21
  177. package/dist-types/commands/ListCapacityReservationsCommand.d.ts +6 -21
  178. package/dist-types/commands/ListDataCatalogsCommand.d.ts +6 -21
  179. package/dist-types/commands/ListDatabasesCommand.d.ts +6 -21
  180. package/dist-types/commands/ListEngineVersionsCommand.d.ts +6 -21
  181. package/dist-types/commands/ListExecutorsCommand.d.ts +6 -21
  182. package/dist-types/commands/ListNamedQueriesCommand.d.ts +6 -21
  183. package/dist-types/commands/ListNotebookMetadataCommand.d.ts +6 -21
  184. package/dist-types/commands/ListNotebookSessionsCommand.d.ts +6 -21
  185. package/dist-types/commands/ListPreparedStatementsCommand.d.ts +6 -21
  186. package/dist-types/commands/ListQueryExecutionsCommand.d.ts +6 -21
  187. package/dist-types/commands/ListSessionsCommand.d.ts +6 -21
  188. package/dist-types/commands/ListTableMetadataCommand.d.ts +6 -21
  189. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  190. package/dist-types/commands/ListWorkGroupsCommand.d.ts +6 -21
  191. package/dist-types/commands/PutCapacityAssignmentConfigurationCommand.d.ts +6 -21
  192. package/dist-types/commands/StartCalculationExecutionCommand.d.ts +6 -21
  193. package/dist-types/commands/StartQueryExecutionCommand.d.ts +6 -21
  194. package/dist-types/commands/StartSessionCommand.d.ts +6 -21
  195. package/dist-types/commands/StopCalculationExecutionCommand.d.ts +6 -21
  196. package/dist-types/commands/StopQueryExecutionCommand.d.ts +6 -21
  197. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  198. package/dist-types/commands/TerminateSessionCommand.d.ts +6 -21
  199. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  200. package/dist-types/commands/UpdateCapacityReservationCommand.d.ts +6 -21
  201. package/dist-types/commands/UpdateDataCatalogCommand.d.ts +6 -21
  202. package/dist-types/commands/UpdateNamedQueryCommand.d.ts +6 -21
  203. package/dist-types/commands/UpdateNotebookCommand.d.ts +6 -21
  204. package/dist-types/commands/UpdateNotebookMetadataCommand.d.ts +6 -21
  205. package/dist-types/commands/UpdatePreparedStatementCommand.d.ts +6 -21
  206. package/dist-types/commands/UpdateWorkGroupCommand.d.ts +6 -21
  207. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  208. package/dist-types/ts3.4/commands/BatchGetNamedQueryCommand.d.ts +14 -23
  209. package/dist-types/ts3.4/commands/BatchGetPreparedStatementCommand.d.ts +12 -24
  210. package/dist-types/ts3.4/commands/BatchGetQueryExecutionCommand.d.ts +12 -24
  211. package/dist-types/ts3.4/commands/CancelCapacityReservationCommand.d.ts +12 -24
  212. package/dist-types/ts3.4/commands/CreateCapacityReservationCommand.d.ts +12 -24
  213. package/dist-types/ts3.4/commands/CreateDataCatalogCommand.d.ts +14 -23
  214. package/dist-types/ts3.4/commands/CreateNamedQueryCommand.d.ts +14 -23
  215. package/dist-types/ts3.4/commands/CreateNotebookCommand.d.ts +14 -23
  216. package/dist-types/ts3.4/commands/CreatePreparedStatementCommand.d.ts +12 -24
  217. package/dist-types/ts3.4/commands/CreatePresignedNotebookUrlCommand.d.ts +12 -24
  218. package/dist-types/ts3.4/commands/CreateWorkGroupCommand.d.ts +14 -23
  219. package/dist-types/ts3.4/commands/DeleteCapacityReservationCommand.d.ts +12 -24
  220. package/dist-types/ts3.4/commands/DeleteDataCatalogCommand.d.ts +14 -23
  221. package/dist-types/ts3.4/commands/DeleteNamedQueryCommand.d.ts +14 -23
  222. package/dist-types/ts3.4/commands/DeleteNotebookCommand.d.ts +14 -23
  223. package/dist-types/ts3.4/commands/DeletePreparedStatementCommand.d.ts +12 -24
  224. package/dist-types/ts3.4/commands/DeleteWorkGroupCommand.d.ts +14 -23
  225. package/dist-types/ts3.4/commands/ExportNotebookCommand.d.ts +14 -23
  226. package/dist-types/ts3.4/commands/GetCalculationExecutionCodeCommand.d.ts +12 -24
  227. package/dist-types/ts3.4/commands/GetCalculationExecutionCommand.d.ts +12 -24
  228. package/dist-types/ts3.4/commands/GetCalculationExecutionStatusCommand.d.ts +12 -24
  229. package/dist-types/ts3.4/commands/GetCapacityAssignmentConfigurationCommand.d.ts +12 -24
  230. package/dist-types/ts3.4/commands/GetCapacityReservationCommand.d.ts +12 -24
  231. package/dist-types/ts3.4/commands/GetDataCatalogCommand.d.ts +14 -23
  232. package/dist-types/ts3.4/commands/GetDatabaseCommand.d.ts +14 -23
  233. package/dist-types/ts3.4/commands/GetNamedQueryCommand.d.ts +14 -23
  234. package/dist-types/ts3.4/commands/GetNotebookMetadataCommand.d.ts +14 -23
  235. package/dist-types/ts3.4/commands/GetPreparedStatementCommand.d.ts +12 -24
  236. package/dist-types/ts3.4/commands/GetQueryExecutionCommand.d.ts +14 -23
  237. package/dist-types/ts3.4/commands/GetQueryResultsCommand.d.ts +14 -23
  238. package/dist-types/ts3.4/commands/GetQueryRuntimeStatisticsCommand.d.ts +12 -24
  239. package/dist-types/ts3.4/commands/GetSessionCommand.d.ts +14 -23
  240. package/dist-types/ts3.4/commands/GetSessionStatusCommand.d.ts +14 -23
  241. package/dist-types/ts3.4/commands/GetTableMetadataCommand.d.ts +14 -23
  242. package/dist-types/ts3.4/commands/GetWorkGroupCommand.d.ts +14 -23
  243. package/dist-types/ts3.4/commands/ImportNotebookCommand.d.ts +14 -23
  244. package/dist-types/ts3.4/commands/ListApplicationDPUSizesCommand.d.ts +12 -24
  245. package/dist-types/ts3.4/commands/ListCalculationExecutionsCommand.d.ts +12 -24
  246. package/dist-types/ts3.4/commands/ListCapacityReservationsCommand.d.ts +12 -24
  247. package/dist-types/ts3.4/commands/ListDataCatalogsCommand.d.ts +14 -23
  248. package/dist-types/ts3.4/commands/ListDatabasesCommand.d.ts +14 -23
  249. package/dist-types/ts3.4/commands/ListEngineVersionsCommand.d.ts +14 -23
  250. package/dist-types/ts3.4/commands/ListExecutorsCommand.d.ts +14 -23
  251. package/dist-types/ts3.4/commands/ListNamedQueriesCommand.d.ts +14 -23
  252. package/dist-types/ts3.4/commands/ListNotebookMetadataCommand.d.ts +12 -24
  253. package/dist-types/ts3.4/commands/ListNotebookSessionsCommand.d.ts +12 -24
  254. package/dist-types/ts3.4/commands/ListPreparedStatementsCommand.d.ts +12 -24
  255. package/dist-types/ts3.4/commands/ListQueryExecutionsCommand.d.ts +14 -23
  256. package/dist-types/ts3.4/commands/ListSessionsCommand.d.ts +14 -23
  257. package/dist-types/ts3.4/commands/ListTableMetadataCommand.d.ts +14 -23
  258. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  259. package/dist-types/ts3.4/commands/ListWorkGroupsCommand.d.ts +14 -23
  260. package/dist-types/ts3.4/commands/PutCapacityAssignmentConfigurationCommand.d.ts +12 -24
  261. package/dist-types/ts3.4/commands/StartCalculationExecutionCommand.d.ts +12 -24
  262. package/dist-types/ts3.4/commands/StartQueryExecutionCommand.d.ts +14 -23
  263. package/dist-types/ts3.4/commands/StartSessionCommand.d.ts +14 -23
  264. package/dist-types/ts3.4/commands/StopCalculationExecutionCommand.d.ts +12 -24
  265. package/dist-types/ts3.4/commands/StopQueryExecutionCommand.d.ts +14 -23
  266. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  267. package/dist-types/ts3.4/commands/TerminateSessionCommand.d.ts +14 -23
  268. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  269. package/dist-types/ts3.4/commands/UpdateCapacityReservationCommand.d.ts +12 -24
  270. package/dist-types/ts3.4/commands/UpdateDataCatalogCommand.d.ts +14 -23
  271. package/dist-types/ts3.4/commands/UpdateNamedQueryCommand.d.ts +14 -23
  272. package/dist-types/ts3.4/commands/UpdateNotebookCommand.d.ts +14 -23
  273. package/dist-types/ts3.4/commands/UpdateNotebookMetadataCommand.d.ts +12 -24
  274. package/dist-types/ts3.4/commands/UpdatePreparedStatementCommand.d.ts +12 -24
  275. package/dist-types/ts3.4/commands/UpdateWorkGroupCommand.d.ts +14 -23
  276. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  277. package/package.json +11 -11
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class UpdateNamedQueryCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateNamedQueryCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "AthenaClient";
29
- const commandName = "UpdateNamedQueryCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AmazonAthena",
38
- operation: "UpdateNamedQuery",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_UpdateNamedQueryCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_UpdateNamedQueryCommand)(output, context);
49
- }
10
+ class UpdateNamedQueryCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AmazonAthena", "UpdateNamedQuery", {})
22
+ .n("AthenaClient", "UpdateNamedQueryCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_UpdateNamedQueryCommand)
25
+ .de(Aws_json1_1_1.de_UpdateNamedQueryCommand)
26
+ .build() {
50
27
  }
51
28
  exports.UpdateNamedQueryCommand = UpdateNamedQueryCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class UpdateNotebookCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateNotebookCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "AthenaClient";
29
- const commandName = "UpdateNotebookCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AmazonAthena",
38
- operation: "UpdateNotebook",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_UpdateNotebookCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_UpdateNotebookCommand)(output, context);
49
- }
10
+ class UpdateNotebookCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AmazonAthena", "UpdateNotebook", {})
22
+ .n("AthenaClient", "UpdateNotebookCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_UpdateNotebookCommand)
25
+ .de(Aws_json1_1_1.de_UpdateNotebookCommand)
26
+ .build() {
50
27
  }
51
28
  exports.UpdateNotebookCommand = UpdateNotebookCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class UpdateNotebookMetadataCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateNotebookMetadataCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "AthenaClient";
29
- const commandName = "UpdateNotebookMetadataCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AmazonAthena",
38
- operation: "UpdateNotebookMetadata",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_UpdateNotebookMetadataCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_UpdateNotebookMetadataCommand)(output, context);
49
- }
10
+ class UpdateNotebookMetadataCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AmazonAthena", "UpdateNotebookMetadata", {})
22
+ .n("AthenaClient", "UpdateNotebookMetadataCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_UpdateNotebookMetadataCommand)
25
+ .de(Aws_json1_1_1.de_UpdateNotebookMetadataCommand)
26
+ .build() {
50
27
  }
51
28
  exports.UpdateNotebookMetadataCommand = UpdateNotebookMetadataCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class UpdatePreparedStatementCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdatePreparedStatementCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "AthenaClient";
29
- const commandName = "UpdatePreparedStatementCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AmazonAthena",
38
- operation: "UpdatePreparedStatement",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_UpdatePreparedStatementCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_UpdatePreparedStatementCommand)(output, context);
49
- }
10
+ class UpdatePreparedStatementCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AmazonAthena", "UpdatePreparedStatement", {})
22
+ .n("AthenaClient", "UpdatePreparedStatementCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_UpdatePreparedStatementCommand)
25
+ .de(Aws_json1_1_1.de_UpdatePreparedStatementCommand)
26
+ .build() {
50
27
  }
51
28
  exports.UpdatePreparedStatementCommand = UpdatePreparedStatementCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class UpdateWorkGroupCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateWorkGroupCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "AthenaClient";
29
- const commandName = "UpdateWorkGroupCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AmazonAthena",
38
- operation: "UpdateWorkGroup",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_UpdateWorkGroupCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_UpdateWorkGroupCommand)(output, context);
49
- }
10
+ class UpdateWorkGroupCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AmazonAthena", "UpdateWorkGroup", {})
22
+ .n("AthenaClient", "UpdateWorkGroupCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_UpdateWorkGroupCommand)
25
+ .de(Aws_json1_1_1.de_UpdateWorkGroupCommand)
26
+ .build() {
50
27
  }
51
28
  exports.UpdateWorkGroupCommand = UpdateWorkGroupCommand;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.resolveClientEndpointParameters = void 0;
3
+ exports.commonParams = exports.resolveClientEndpointParameters = void 0;
4
4
  const resolveClientEndpointParameters = (options) => {
5
5
  return {
6
6
  ...options,
@@ -10,3 +10,9 @@ const resolveClientEndpointParameters = (options) => {
10
10
  };
11
11
  };
12
12
  exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
13
+ exports.commonParams = {
14
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
+ Endpoint: { type: "builtInParams", name: "endpoint" },
16
+ Region: { type: "builtInParams", name: "region" },
17
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
+ };
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_BatchGetNamedQueryCommand, se_BatchGetNamedQueryCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class BatchGetNamedQueryCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, BatchGetNamedQueryCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "AthenaClient";
26
- const commandName = "BatchGetNamedQueryCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmazonAthena",
35
- operation: "BatchGetNamedQuery",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_BatchGetNamedQueryCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_BatchGetNamedQueryCommand(output, context);
46
- }
7
+ export class BatchGetNamedQueryCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonAthena", "BatchGetNamedQuery", {})
19
+ .n("AthenaClient", "BatchGetNamedQueryCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_BatchGetNamedQueryCommand)
22
+ .de(de_BatchGetNamedQueryCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_BatchGetPreparedStatementCommand, se_BatchGetPreparedStatementCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class BatchGetPreparedStatementCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, BatchGetPreparedStatementCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "AthenaClient";
26
- const commandName = "BatchGetPreparedStatementCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmazonAthena",
35
- operation: "BatchGetPreparedStatement",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_BatchGetPreparedStatementCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_BatchGetPreparedStatementCommand(output, context);
46
- }
7
+ export class BatchGetPreparedStatementCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonAthena", "BatchGetPreparedStatement", {})
19
+ .n("AthenaClient", "BatchGetPreparedStatementCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_BatchGetPreparedStatementCommand)
22
+ .de(de_BatchGetPreparedStatementCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_BatchGetQueryExecutionCommand, se_BatchGetQueryExecutionCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class BatchGetQueryExecutionCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, BatchGetQueryExecutionCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "AthenaClient";
26
- const commandName = "BatchGetQueryExecutionCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmazonAthena",
35
- operation: "BatchGetQueryExecution",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_BatchGetQueryExecutionCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_BatchGetQueryExecutionCommand(output, context);
46
- }
7
+ export class BatchGetQueryExecutionCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonAthena", "BatchGetQueryExecution", {})
19
+ .n("AthenaClient", "BatchGetQueryExecutionCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_BatchGetQueryExecutionCommand)
22
+ .de(de_BatchGetQueryExecutionCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_CancelCapacityReservationCommand, se_CancelCapacityReservationCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class CancelCapacityReservationCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, CancelCapacityReservationCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "AthenaClient";
26
- const commandName = "CancelCapacityReservationCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmazonAthena",
35
- operation: "CancelCapacityReservation",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_CancelCapacityReservationCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_CancelCapacityReservationCommand(output, context);
46
- }
7
+ export class CancelCapacityReservationCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonAthena", "CancelCapacityReservation", {})
19
+ .n("AthenaClient", "CancelCapacityReservationCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_CancelCapacityReservationCommand)
22
+ .de(de_CancelCapacityReservationCommand)
23
+ .build() {
47
24
  }