@aws-sdk/client-athena 3.54.1 → 3.58.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 (55) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist-cjs/AthenaClient.js +13 -13
  3. package/dist-cjs/commands/BatchGetNamedQueryCommand.js +3 -3
  4. package/dist-cjs/commands/BatchGetQueryExecutionCommand.js +3 -3
  5. package/dist-cjs/commands/CreateDataCatalogCommand.js +3 -3
  6. package/dist-cjs/commands/CreateNamedQueryCommand.js +3 -3
  7. package/dist-cjs/commands/CreatePreparedStatementCommand.js +3 -3
  8. package/dist-cjs/commands/CreateWorkGroupCommand.js +3 -3
  9. package/dist-cjs/commands/DeleteDataCatalogCommand.js +3 -3
  10. package/dist-cjs/commands/DeleteNamedQueryCommand.js +3 -3
  11. package/dist-cjs/commands/DeletePreparedStatementCommand.js +3 -3
  12. package/dist-cjs/commands/DeleteWorkGroupCommand.js +3 -3
  13. package/dist-cjs/commands/GetDataCatalogCommand.js +3 -3
  14. package/dist-cjs/commands/GetDatabaseCommand.js +3 -3
  15. package/dist-cjs/commands/GetNamedQueryCommand.js +3 -3
  16. package/dist-cjs/commands/GetPreparedStatementCommand.js +3 -3
  17. package/dist-cjs/commands/GetQueryExecutionCommand.js +3 -3
  18. package/dist-cjs/commands/GetQueryResultsCommand.js +3 -3
  19. package/dist-cjs/commands/GetTableMetadataCommand.js +3 -3
  20. package/dist-cjs/commands/GetWorkGroupCommand.js +3 -3
  21. package/dist-cjs/commands/ListDataCatalogsCommand.js +3 -3
  22. package/dist-cjs/commands/ListDatabasesCommand.js +3 -3
  23. package/dist-cjs/commands/ListEngineVersionsCommand.js +3 -3
  24. package/dist-cjs/commands/ListNamedQueriesCommand.js +3 -3
  25. package/dist-cjs/commands/ListPreparedStatementsCommand.js +3 -3
  26. package/dist-cjs/commands/ListQueryExecutionsCommand.js +3 -3
  27. package/dist-cjs/commands/ListTableMetadataCommand.js +3 -3
  28. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  29. package/dist-cjs/commands/ListWorkGroupsCommand.js +3 -3
  30. package/dist-cjs/commands/StartQueryExecutionCommand.js +3 -3
  31. package/dist-cjs/commands/StopQueryExecutionCommand.js +3 -3
  32. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  33. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  34. package/dist-cjs/commands/UpdateDataCatalogCommand.js +3 -3
  35. package/dist-cjs/commands/UpdateNamedQueryCommand.js +3 -3
  36. package/dist-cjs/commands/UpdatePreparedStatementCommand.js +3 -3
  37. package/dist-cjs/commands/UpdateWorkGroupCommand.js +3 -3
  38. package/dist-cjs/endpoints.js +1 -1
  39. package/dist-cjs/protocols/Aws_json1_1.js +152 -152
  40. package/dist-cjs/runtimeConfig.browser.js +4 -4
  41. package/dist-cjs/runtimeConfig.js +9 -9
  42. package/dist-cjs/runtimeConfig.native.js +1 -1
  43. package/dist-es/Athena.js +35 -35
  44. package/dist-es/pagination/GetQueryResultsPaginator.js +4 -4
  45. package/dist-es/pagination/ListDataCatalogsPaginator.js +4 -4
  46. package/dist-es/pagination/ListDatabasesPaginator.js +4 -4
  47. package/dist-es/pagination/ListNamedQueriesPaginator.js +4 -4
  48. package/dist-es/pagination/ListPreparedStatementsPaginator.js +4 -4
  49. package/dist-es/pagination/ListQueryExecutionsPaginator.js +4 -4
  50. package/dist-es/pagination/ListTableMetadataPaginator.js +4 -4
  51. package/dist-es/pagination/ListTagsForResourcePaginator.js +4 -4
  52. package/dist-es/pagination/ListWorkGroupsPaginator.js +4 -4
  53. package/dist-types/runtimeConfig.native.d.ts +2 -2
  54. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
  55. package/package.json +34 -34
@@ -11,7 +11,7 @@ class ListTableMetadataCommand 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 ListTableMetadataCommand 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_1ListTableMetadataCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1ListTableMetadataCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1ListTableMetadataCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1ListTableMetadataCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListTableMetadataCommand = ListTableMetadataCommand;
@@ -11,7 +11,7 @@ class ListTagsForResourceCommand 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 ListTagsForResourceCommand 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_1ListTagsForResourceCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1ListTagsForResourceCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1ListTagsForResourceCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1ListTagsForResourceCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
@@ -11,7 +11,7 @@ class ListWorkGroupsCommand 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 ListWorkGroupsCommand 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_1ListWorkGroupsCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1ListWorkGroupsCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1ListWorkGroupsCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1ListWorkGroupsCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListWorkGroupsCommand = ListWorkGroupsCommand;
@@ -11,7 +11,7 @@ class StartQueryExecutionCommand 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 StartQueryExecutionCommand 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_1StartQueryExecutionCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1StartQueryExecutionCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1StartQueryExecutionCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1StartQueryExecutionCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.StartQueryExecutionCommand = StartQueryExecutionCommand;
@@ -11,7 +11,7 @@ class StopQueryExecutionCommand 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 StopQueryExecutionCommand 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_1StopQueryExecutionCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1StopQueryExecutionCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1StopQueryExecutionCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1StopQueryExecutionCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.StopQueryExecutionCommand = StopQueryExecutionCommand;
@@ -11,7 +11,7 @@ class TagResourceCommand 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 TagResourceCommand 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_1TagResourceCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1TagResourceCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1TagResourceCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1TagResourceCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.TagResourceCommand = TagResourceCommand;
@@ -11,7 +11,7 @@ class UntagResourceCommand 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 UntagResourceCommand 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_1UntagResourceCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1UntagResourceCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1UntagResourceCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1UntagResourceCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.UntagResourceCommand = UntagResourceCommand;
@@ -11,7 +11,7 @@ class UpdateDataCatalogCommand 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 UpdateDataCatalogCommand 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_1UpdateDataCatalogCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1UpdateDataCatalogCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1UpdateDataCatalogCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1UpdateDataCatalogCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.UpdateDataCatalogCommand = UpdateDataCatalogCommand;
@@ -11,7 +11,7 @@ class UpdateNamedQueryCommand 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 UpdateNamedQueryCommand 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_1UpdateNamedQueryCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1UpdateNamedQueryCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1UpdateNamedQueryCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1UpdateNamedQueryCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.UpdateNamedQueryCommand = UpdateNamedQueryCommand;
@@ -11,7 +11,7 @@ class UpdatePreparedStatementCommand 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 UpdatePreparedStatementCommand 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_1UpdatePreparedStatementCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1UpdatePreparedStatementCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1UpdatePreparedStatementCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1UpdatePreparedStatementCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.UpdatePreparedStatementCommand = UpdatePreparedStatementCommand;
@@ -11,7 +11,7 @@ class UpdateWorkGroupCommand 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 UpdateWorkGroupCommand 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_1UpdateWorkGroupCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1UpdateWorkGroupCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1UpdateWorkGroupCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1UpdateWorkGroupCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.UpdateWorkGroupCommand = UpdateWorkGroupCommand;
@@ -175,7 +175,7 @@ const partitionHash = {
175
175
  ],
176
176
  },
177
177
  };
178
- const defaultRegionInfoProvider = async (region, options) => config_resolver_1.getRegionInfo(region, {
178
+ const defaultRegionInfoProvider = async (region, options) => (0, config_resolver_1.getRegionInfo)(region, {
179
179
  ...options,
180
180
  signingService: "athena",
181
181
  regionHash,