@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 GetPreparedStatementCommand 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, GetPreparedStatementCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "AthenaClient";
29
- const commandName = "GetPreparedStatementCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AmazonAthena",
38
- operation: "GetPreparedStatement",
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_GetPreparedStatementCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_GetPreparedStatementCommand)(output, context);
49
- }
10
+ class GetPreparedStatementCommand 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", "GetPreparedStatement", {})
22
+ .n("AthenaClient", "GetPreparedStatementCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_GetPreparedStatementCommand)
25
+ .de(Aws_json1_1_1.de_GetPreparedStatementCommand)
26
+ .build() {
50
27
  }
51
28
  exports.GetPreparedStatementCommand = GetPreparedStatementCommand;
@@ -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 GetQueryExecutionCommand 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, GetQueryExecutionCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "AthenaClient";
29
- const commandName = "GetQueryExecutionCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AmazonAthena",
38
- operation: "GetQueryExecution",
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_GetQueryExecutionCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_GetQueryExecutionCommand)(output, context);
49
- }
10
+ class GetQueryExecutionCommand 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", "GetQueryExecution", {})
22
+ .n("AthenaClient", "GetQueryExecutionCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_GetQueryExecutionCommand)
25
+ .de(Aws_json1_1_1.de_GetQueryExecutionCommand)
26
+ .build() {
50
27
  }
51
28
  exports.GetQueryExecutionCommand = GetQueryExecutionCommand;
@@ -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 GetQueryResultsCommand 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, GetQueryResultsCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "AthenaClient";
29
- const commandName = "GetQueryResultsCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AmazonAthena",
38
- operation: "GetQueryResults",
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_GetQueryResultsCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_GetQueryResultsCommand)(output, context);
49
- }
10
+ class GetQueryResultsCommand 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", "GetQueryResults", {})
22
+ .n("AthenaClient", "GetQueryResultsCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_GetQueryResultsCommand)
25
+ .de(Aws_json1_1_1.de_GetQueryResultsCommand)
26
+ .build() {
50
27
  }
51
28
  exports.GetQueryResultsCommand = GetQueryResultsCommand;
@@ -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 GetQueryRuntimeStatisticsCommand 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, GetQueryRuntimeStatisticsCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "AthenaClient";
29
- const commandName = "GetQueryRuntimeStatisticsCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AmazonAthena",
38
- operation: "GetQueryRuntimeStatistics",
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_GetQueryRuntimeStatisticsCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_GetQueryRuntimeStatisticsCommand)(output, context);
49
- }
10
+ class GetQueryRuntimeStatisticsCommand 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", "GetQueryRuntimeStatistics", {})
22
+ .n("AthenaClient", "GetQueryRuntimeStatisticsCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_GetQueryRuntimeStatisticsCommand)
25
+ .de(Aws_json1_1_1.de_GetQueryRuntimeStatisticsCommand)
26
+ .build() {
50
27
  }
51
28
  exports.GetQueryRuntimeStatisticsCommand = GetQueryRuntimeStatisticsCommand;
@@ -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 GetSessionCommand 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, GetSessionCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "AthenaClient";
29
- const commandName = "GetSessionCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AmazonAthena",
38
- operation: "GetSession",
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_GetSessionCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_GetSessionCommand)(output, context);
49
- }
10
+ class GetSessionCommand 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", "GetSession", {})
22
+ .n("AthenaClient", "GetSessionCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_GetSessionCommand)
25
+ .de(Aws_json1_1_1.de_GetSessionCommand)
26
+ .build() {
50
27
  }
51
28
  exports.GetSessionCommand = GetSessionCommand;
@@ -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 GetSessionStatusCommand 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, GetSessionStatusCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "AthenaClient";
29
- const commandName = "GetSessionStatusCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AmazonAthena",
38
- operation: "GetSessionStatus",
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_GetSessionStatusCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_GetSessionStatusCommand)(output, context);
49
- }
10
+ class GetSessionStatusCommand 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", "GetSessionStatus", {})
22
+ .n("AthenaClient", "GetSessionStatusCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_GetSessionStatusCommand)
25
+ .de(Aws_json1_1_1.de_GetSessionStatusCommand)
26
+ .build() {
50
27
  }
51
28
  exports.GetSessionStatusCommand = GetSessionStatusCommand;
@@ -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 GetTableMetadataCommand 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, GetTableMetadataCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "AthenaClient";
29
- const commandName = "GetTableMetadataCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AmazonAthena",
38
- operation: "GetTableMetadata",
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_GetTableMetadataCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_GetTableMetadataCommand)(output, context);
49
- }
10
+ class GetTableMetadataCommand 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", "GetTableMetadata", {})
22
+ .n("AthenaClient", "GetTableMetadataCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_GetTableMetadataCommand)
25
+ .de(Aws_json1_1_1.de_GetTableMetadataCommand)
26
+ .build() {
50
27
  }
51
28
  exports.GetTableMetadataCommand = GetTableMetadataCommand;
@@ -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 GetWorkGroupCommand 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, GetWorkGroupCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "AthenaClient";
29
- const commandName = "GetWorkGroupCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AmazonAthena",
38
- operation: "GetWorkGroup",
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_GetWorkGroupCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_GetWorkGroupCommand)(output, context);
49
- }
10
+ class GetWorkGroupCommand 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", "GetWorkGroup", {})
22
+ .n("AthenaClient", "GetWorkGroupCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_GetWorkGroupCommand)
25
+ .de(Aws_json1_1_1.de_GetWorkGroupCommand)
26
+ .build() {
50
27
  }
51
28
  exports.GetWorkGroupCommand = GetWorkGroupCommand;
@@ -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 ImportNotebookCommand 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, ImportNotebookCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "AthenaClient";
29
- const commandName = "ImportNotebookCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AmazonAthena",
38
- operation: "ImportNotebook",
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_ImportNotebookCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_ImportNotebookCommand)(output, context);
49
- }
10
+ class ImportNotebookCommand 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", "ImportNotebook", {})
22
+ .n("AthenaClient", "ImportNotebookCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_ImportNotebookCommand)
25
+ .de(Aws_json1_1_1.de_ImportNotebookCommand)
26
+ .build() {
50
27
  }
51
28
  exports.ImportNotebookCommand = ImportNotebookCommand;