@aws-sdk/client-athena 3.53.0 → 3.55.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 (78) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/Athena.js +15 -0
  3. package/dist-cjs/AthenaClient.js +13 -13
  4. package/dist-cjs/commands/BatchGetNamedQueryCommand.js +3 -3
  5. package/dist-cjs/commands/BatchGetQueryExecutionCommand.js +3 -3
  6. package/dist-cjs/commands/CreateDataCatalogCommand.js +3 -3
  7. package/dist-cjs/commands/CreateNamedQueryCommand.js +3 -3
  8. package/dist-cjs/commands/CreatePreparedStatementCommand.js +3 -3
  9. package/dist-cjs/commands/CreateWorkGroupCommand.js +3 -3
  10. package/dist-cjs/commands/DeleteDataCatalogCommand.js +3 -3
  11. package/dist-cjs/commands/DeleteNamedQueryCommand.js +3 -3
  12. package/dist-cjs/commands/DeletePreparedStatementCommand.js +3 -3
  13. package/dist-cjs/commands/DeleteWorkGroupCommand.js +3 -3
  14. package/dist-cjs/commands/GetDataCatalogCommand.js +3 -3
  15. package/dist-cjs/commands/GetDatabaseCommand.js +3 -3
  16. package/dist-cjs/commands/GetNamedQueryCommand.js +3 -3
  17. package/dist-cjs/commands/GetPreparedStatementCommand.js +3 -3
  18. package/dist-cjs/commands/GetQueryExecutionCommand.js +3 -3
  19. package/dist-cjs/commands/GetQueryResultsCommand.js +3 -3
  20. package/dist-cjs/commands/GetTableMetadataCommand.js +3 -3
  21. package/dist-cjs/commands/GetWorkGroupCommand.js +3 -3
  22. package/dist-cjs/commands/ListDataCatalogsCommand.js +3 -3
  23. package/dist-cjs/commands/ListDatabasesCommand.js +3 -3
  24. package/dist-cjs/commands/ListEngineVersionsCommand.js +3 -3
  25. package/dist-cjs/commands/ListNamedQueriesCommand.js +3 -3
  26. package/dist-cjs/commands/ListPreparedStatementsCommand.js +3 -3
  27. package/dist-cjs/commands/ListQueryExecutionsCommand.js +3 -3
  28. package/dist-cjs/commands/ListTableMetadataCommand.js +3 -3
  29. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  30. package/dist-cjs/commands/ListWorkGroupsCommand.js +3 -3
  31. package/dist-cjs/commands/StartQueryExecutionCommand.js +3 -3
  32. package/dist-cjs/commands/StopQueryExecutionCommand.js +3 -3
  33. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  34. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  35. package/dist-cjs/commands/UpdateDataCatalogCommand.js +3 -3
  36. package/dist-cjs/commands/UpdateNamedQueryCommand.js +36 -0
  37. package/dist-cjs/commands/UpdatePreparedStatementCommand.js +3 -3
  38. package/dist-cjs/commands/UpdateWorkGroupCommand.js +3 -3
  39. package/dist-cjs/commands/index.js +1 -0
  40. package/dist-cjs/endpoints.js +1 -1
  41. package/dist-cjs/models/models_0.js +25 -3
  42. package/dist-cjs/protocols/Aws_json1_1.js +235 -152
  43. package/dist-cjs/runtimeConfig.browser.js +4 -4
  44. package/dist-cjs/runtimeConfig.js +9 -9
  45. package/dist-cjs/runtimeConfig.native.js +1 -1
  46. package/dist-es/Athena.js +49 -34
  47. package/dist-es/commands/UpdateNamedQueryCommand.js +39 -0
  48. package/dist-es/commands/index.js +1 -0
  49. package/dist-es/models/models_0.js +16 -0
  50. package/dist-es/pagination/GetQueryResultsPaginator.js +4 -4
  51. package/dist-es/pagination/ListDataCatalogsPaginator.js +4 -4
  52. package/dist-es/pagination/ListDatabasesPaginator.js +4 -4
  53. package/dist-es/pagination/ListNamedQueriesPaginator.js +4 -4
  54. package/dist-es/pagination/ListPreparedStatementsPaginator.js +4 -4
  55. package/dist-es/pagination/ListQueryExecutionsPaginator.js +4 -4
  56. package/dist-es/pagination/ListTableMetadataPaginator.js +4 -4
  57. package/dist-es/pagination/ListTagsForResourcePaginator.js +4 -4
  58. package/dist-es/pagination/ListWorkGroupsPaginator.js +4 -4
  59. package/dist-es/protocols/Aws_json1_1.js +92 -3
  60. package/dist-types/Athena.d.ts +7 -0
  61. package/dist-types/AthenaClient.d.ts +5 -4
  62. package/dist-types/commands/UpdateNamedQueryCommand.d.ts +35 -0
  63. package/dist-types/commands/index.d.ts +1 -0
  64. package/dist-types/models/models_0.d.ts +90 -7
  65. package/dist-types/protocols/Aws_json1_1.d.ts +3 -0
  66. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  67. package/dist-types/runtimeConfig.d.ts +1 -1
  68. package/dist-types/runtimeConfig.native.d.ts +3 -3
  69. package/dist-types/ts3.4/Athena.d.ts +5 -0
  70. package/dist-types/ts3.4/AthenaClient.d.ts +5 -4
  71. package/dist-types/ts3.4/commands/UpdateNamedQueryCommand.d.ts +17 -0
  72. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  73. package/dist-types/ts3.4/models/models_0.d.ts +38 -0
  74. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +3 -0
  75. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  76. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  77. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
  78. package/package.json +34 -34
package/CHANGELOG.md CHANGED
@@ -3,6 +3,33 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.55.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.1...v3.55.0) (2022-03-21)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-athena
9
+
10
+
11
+
12
+
13
+
14
+ ## [3.54.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.0...v3.54.1) (2022-03-15)
15
+
16
+ **Note:** Version bump only for package @aws-sdk/client-athena
17
+
18
+
19
+
20
+
21
+
22
+ # [3.54.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.53.1...v3.54.0) (2022-03-11)
23
+
24
+
25
+ ### Features
26
+
27
+ * **clients:** update clients as of 2022/03/10 ([#3411](https://github.com/aws/aws-sdk-js-v3/issues/3411)) ([8fa517a](https://github.com/aws/aws-sdk-js-v3/commit/8fa517a2c56d2f98a2e4a9c4ea6fd99b6ce61a71))
28
+
29
+
30
+
31
+
32
+
6
33
  # [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
7
34
 
8
35
 
@@ -34,6 +34,7 @@ const StopQueryExecutionCommand_1 = require("./commands/StopQueryExecutionComman
34
34
  const TagResourceCommand_1 = require("./commands/TagResourceCommand");
35
35
  const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
36
36
  const UpdateDataCatalogCommand_1 = require("./commands/UpdateDataCatalogCommand");
37
+ const UpdateNamedQueryCommand_1 = require("./commands/UpdateNamedQueryCommand");
37
38
  const UpdatePreparedStatementCommand_1 = require("./commands/UpdatePreparedStatementCommand");
38
39
  const UpdateWorkGroupCommand_1 = require("./commands/UpdateWorkGroupCommand");
39
40
  class Athena extends AthenaClient_1.AthenaClient {
@@ -485,6 +486,20 @@ class Athena extends AthenaClient_1.AthenaClient {
485
486
  return this.send(command, optionsOrCb);
486
487
  }
487
488
  }
489
+ updateNamedQuery(args, optionsOrCb, cb) {
490
+ const command = new UpdateNamedQueryCommand_1.UpdateNamedQueryCommand(args);
491
+ if (typeof optionsOrCb === "function") {
492
+ this.send(command, optionsOrCb);
493
+ }
494
+ else if (typeof cb === "function") {
495
+ if (typeof optionsOrCb !== "object")
496
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
497
+ this.send(command, optionsOrCb || {}, cb);
498
+ }
499
+ else {
500
+ return this.send(command, optionsOrCb);
501
+ }
502
+ }
488
503
  updatePreparedStatement(args, optionsOrCb, cb) {
489
504
  const command = new UpdatePreparedStatementCommand_1.UpdatePreparedStatementCommand(args);
490
505
  if (typeof optionsOrCb === "function") {
@@ -12,21 +12,21 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
12
12
  const runtimeConfig_1 = require("./runtimeConfig");
13
13
  class AthenaClient extends smithy_client_1.Client {
14
14
  constructor(configuration) {
15
- const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
16
- const _config_1 = config_resolver_1.resolveRegionConfig(_config_0);
17
- const _config_2 = config_resolver_1.resolveEndpointsConfig(_config_1);
18
- const _config_3 = middleware_retry_1.resolveRetryConfig(_config_2);
19
- const _config_4 = middleware_host_header_1.resolveHostHeaderConfig(_config_3);
20
- const _config_5 = middleware_signing_1.resolveAwsAuthConfig(_config_4);
21
- const _config_6 = middleware_user_agent_1.resolveUserAgentConfig(_config_5);
15
+ const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration);
16
+ const _config_1 = (0, config_resolver_1.resolveRegionConfig)(_config_0);
17
+ const _config_2 = (0, config_resolver_1.resolveEndpointsConfig)(_config_1);
18
+ const _config_3 = (0, middleware_retry_1.resolveRetryConfig)(_config_2);
19
+ const _config_4 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_3);
20
+ const _config_5 = (0, middleware_signing_1.resolveAwsAuthConfig)(_config_4);
21
+ const _config_6 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_5);
22
22
  super(_config_6);
23
23
  this.config = _config_6;
24
- this.middlewareStack.use(middleware_retry_1.getRetryPlugin(this.config));
25
- this.middlewareStack.use(middleware_content_length_1.getContentLengthPlugin(this.config));
26
- this.middlewareStack.use(middleware_host_header_1.getHostHeaderPlugin(this.config));
27
- this.middlewareStack.use(middleware_logger_1.getLoggerPlugin(this.config));
28
- this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
29
- this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
24
+ this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config));
25
+ this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
26
+ this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
27
+ this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
28
+ this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(this.config));
29
+ this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
30
30
  }
31
31
  destroy() {
32
32
  super.destroy();
@@ -11,7 +11,7 @@ class BatchGetNamedQueryCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "AthenaClient";
@@ -27,10 +27,10 @@ class BatchGetNamedQueryCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1BatchGetNamedQueryCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1BatchGetNamedQueryCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1BatchGetNamedQueryCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1BatchGetNamedQueryCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.BatchGetNamedQueryCommand = BatchGetNamedQueryCommand;
@@ -11,7 +11,7 @@ class BatchGetQueryExecutionCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "AthenaClient";
@@ -27,10 +27,10 @@ class BatchGetQueryExecutionCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1BatchGetQueryExecutionCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1BatchGetQueryExecutionCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1BatchGetQueryExecutionCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1BatchGetQueryExecutionCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.BatchGetQueryExecutionCommand = BatchGetQueryExecutionCommand;
@@ -11,7 +11,7 @@ class CreateDataCatalogCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "AthenaClient";
@@ -27,10 +27,10 @@ class CreateDataCatalogCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1CreateDataCatalogCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1CreateDataCatalogCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1CreateDataCatalogCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1CreateDataCatalogCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.CreateDataCatalogCommand = CreateDataCatalogCommand;
@@ -11,7 +11,7 @@ class CreateNamedQueryCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "AthenaClient";
@@ -27,10 +27,10 @@ class CreateNamedQueryCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1CreateNamedQueryCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1CreateNamedQueryCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1CreateNamedQueryCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1CreateNamedQueryCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.CreateNamedQueryCommand = CreateNamedQueryCommand;
@@ -11,7 +11,7 @@ class CreatePreparedStatementCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "AthenaClient";
@@ -27,10 +27,10 @@ class CreatePreparedStatementCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1CreatePreparedStatementCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1CreatePreparedStatementCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1CreatePreparedStatementCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1CreatePreparedStatementCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.CreatePreparedStatementCommand = CreatePreparedStatementCommand;
@@ -11,7 +11,7 @@ class CreateWorkGroupCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "AthenaClient";
@@ -27,10 +27,10 @@ class CreateWorkGroupCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1CreateWorkGroupCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1CreateWorkGroupCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1CreateWorkGroupCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1CreateWorkGroupCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.CreateWorkGroupCommand = CreateWorkGroupCommand;
@@ -11,7 +11,7 @@ class DeleteDataCatalogCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "AthenaClient";
@@ -27,10 +27,10 @@ class DeleteDataCatalogCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1DeleteDataCatalogCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1DeleteDataCatalogCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1DeleteDataCatalogCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1DeleteDataCatalogCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.DeleteDataCatalogCommand = DeleteDataCatalogCommand;
@@ -11,7 +11,7 @@ class DeleteNamedQueryCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "AthenaClient";
@@ -27,10 +27,10 @@ class DeleteNamedQueryCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1DeleteNamedQueryCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1DeleteNamedQueryCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1DeleteNamedQueryCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1DeleteNamedQueryCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.DeleteNamedQueryCommand = DeleteNamedQueryCommand;
@@ -11,7 +11,7 @@ class DeletePreparedStatementCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "AthenaClient";
@@ -27,10 +27,10 @@ class DeletePreparedStatementCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1DeletePreparedStatementCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1DeletePreparedStatementCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1DeletePreparedStatementCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1DeletePreparedStatementCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.DeletePreparedStatementCommand = DeletePreparedStatementCommand;
@@ -11,7 +11,7 @@ class DeleteWorkGroupCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "AthenaClient";
@@ -27,10 +27,10 @@ class DeleteWorkGroupCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1DeleteWorkGroupCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1DeleteWorkGroupCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1DeleteWorkGroupCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1DeleteWorkGroupCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.DeleteWorkGroupCommand = DeleteWorkGroupCommand;
@@ -11,7 +11,7 @@ class GetDataCatalogCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "AthenaClient";
@@ -27,10 +27,10 @@ class GetDataCatalogCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1GetDataCatalogCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1GetDataCatalogCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1GetDataCatalogCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1GetDataCatalogCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.GetDataCatalogCommand = GetDataCatalogCommand;
@@ -11,7 +11,7 @@ class GetDatabaseCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "AthenaClient";
@@ -27,10 +27,10 @@ class GetDatabaseCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1GetDatabaseCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1GetDatabaseCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1GetDatabaseCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1GetDatabaseCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.GetDatabaseCommand = GetDatabaseCommand;
@@ -11,7 +11,7 @@ class GetNamedQueryCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "AthenaClient";
@@ -27,10 +27,10 @@ class GetNamedQueryCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1GetNamedQueryCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1GetNamedQueryCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1GetNamedQueryCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1GetNamedQueryCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.GetNamedQueryCommand = GetNamedQueryCommand;
@@ -11,7 +11,7 @@ class GetPreparedStatementCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "AthenaClient";
@@ -27,10 +27,10 @@ class GetPreparedStatementCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1GetPreparedStatementCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1GetPreparedStatementCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1GetPreparedStatementCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1GetPreparedStatementCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.GetPreparedStatementCommand = GetPreparedStatementCommand;
@@ -11,7 +11,7 @@ class GetQueryExecutionCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "AthenaClient";
@@ -27,10 +27,10 @@ class GetQueryExecutionCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1GetQueryExecutionCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1GetQueryExecutionCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1GetQueryExecutionCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1GetQueryExecutionCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.GetQueryExecutionCommand = GetQueryExecutionCommand;
@@ -11,7 +11,7 @@ class GetQueryResultsCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "AthenaClient";
@@ -27,10 +27,10 @@ class GetQueryResultsCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1GetQueryResultsCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1GetQueryResultsCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1GetQueryResultsCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1GetQueryResultsCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.GetQueryResultsCommand = GetQueryResultsCommand;
@@ -11,7 +11,7 @@ class GetTableMetadataCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "AthenaClient";
@@ -27,10 +27,10 @@ class GetTableMetadataCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1GetTableMetadataCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1GetTableMetadataCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1GetTableMetadataCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1GetTableMetadataCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.GetTableMetadataCommand = GetTableMetadataCommand;
@@ -11,7 +11,7 @@ class GetWorkGroupCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "AthenaClient";
@@ -27,10 +27,10 @@ class GetWorkGroupCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1GetWorkGroupCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1GetWorkGroupCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1GetWorkGroupCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1GetWorkGroupCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.GetWorkGroupCommand = GetWorkGroupCommand;
@@ -11,7 +11,7 @@ class ListDataCatalogsCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "AthenaClient";
@@ -27,10 +27,10 @@ class ListDataCatalogsCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1ListDataCatalogsCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1ListDataCatalogsCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1ListDataCatalogsCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1ListDataCatalogsCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListDataCatalogsCommand = ListDataCatalogsCommand;
@@ -11,7 +11,7 @@ class ListDatabasesCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "AthenaClient";
@@ -27,10 +27,10 @@ class ListDatabasesCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1ListDatabasesCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1ListDatabasesCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1ListDatabasesCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1ListDatabasesCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListDatabasesCommand = ListDatabasesCommand;
@@ -11,7 +11,7 @@ class ListEngineVersionsCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "AthenaClient";
@@ -27,10 +27,10 @@ class ListEngineVersionsCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1ListEngineVersionsCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1ListEngineVersionsCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1ListEngineVersionsCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1ListEngineVersionsCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListEngineVersionsCommand = ListEngineVersionsCommand;
@@ -11,7 +11,7 @@ class ListNamedQueriesCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "AthenaClient";
@@ -27,10 +27,10 @@ class ListNamedQueriesCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1ListNamedQueriesCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1ListNamedQueriesCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1ListNamedQueriesCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1ListNamedQueriesCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListNamedQueriesCommand = ListNamedQueriesCommand;
@@ -11,7 +11,7 @@ class ListPreparedStatementsCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "AthenaClient";
@@ -27,10 +27,10 @@ class ListPreparedStatementsCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1ListPreparedStatementsCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1ListPreparedStatementsCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1ListPreparedStatementsCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1ListPreparedStatementsCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListPreparedStatementsCommand = ListPreparedStatementsCommand;