@aws-sdk/client-athena 3.183.0 → 3.185.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 (60) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/protocols/Aws_json1_1.js +2 -2
  3. package/dist-es/Athena.js +157 -150
  4. package/dist-es/AthenaClient.js +28 -22
  5. package/dist-es/commands/BatchGetNamedQueryCommand.js +28 -21
  6. package/dist-es/commands/BatchGetPreparedStatementCommand.js +28 -21
  7. package/dist-es/commands/BatchGetQueryExecutionCommand.js +28 -21
  8. package/dist-es/commands/CreateDataCatalogCommand.js +28 -21
  9. package/dist-es/commands/CreateNamedQueryCommand.js +28 -21
  10. package/dist-es/commands/CreatePreparedStatementCommand.js +28 -21
  11. package/dist-es/commands/CreateWorkGroupCommand.js +28 -21
  12. package/dist-es/commands/DeleteDataCatalogCommand.js +28 -21
  13. package/dist-es/commands/DeleteNamedQueryCommand.js +28 -21
  14. package/dist-es/commands/DeletePreparedStatementCommand.js +28 -21
  15. package/dist-es/commands/DeleteWorkGroupCommand.js +28 -21
  16. package/dist-es/commands/GetDataCatalogCommand.js +28 -21
  17. package/dist-es/commands/GetDatabaseCommand.js +28 -21
  18. package/dist-es/commands/GetNamedQueryCommand.js +28 -21
  19. package/dist-es/commands/GetPreparedStatementCommand.js +28 -21
  20. package/dist-es/commands/GetQueryExecutionCommand.js +28 -21
  21. package/dist-es/commands/GetQueryResultsCommand.js +28 -21
  22. package/dist-es/commands/GetQueryRuntimeStatisticsCommand.js +28 -21
  23. package/dist-es/commands/GetTableMetadataCommand.js +28 -21
  24. package/dist-es/commands/GetWorkGroupCommand.js +28 -21
  25. package/dist-es/commands/ListDataCatalogsCommand.js +28 -21
  26. package/dist-es/commands/ListDatabasesCommand.js +28 -21
  27. package/dist-es/commands/ListEngineVersionsCommand.js +28 -21
  28. package/dist-es/commands/ListNamedQueriesCommand.js +28 -21
  29. package/dist-es/commands/ListPreparedStatementsCommand.js +28 -21
  30. package/dist-es/commands/ListQueryExecutionsCommand.js +28 -21
  31. package/dist-es/commands/ListTableMetadataCommand.js +28 -21
  32. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  33. package/dist-es/commands/ListWorkGroupsCommand.js +28 -21
  34. package/dist-es/commands/StartQueryExecutionCommand.js +28 -21
  35. package/dist-es/commands/StopQueryExecutionCommand.js +28 -21
  36. package/dist-es/commands/TagResourceCommand.js +28 -21
  37. package/dist-es/commands/UntagResourceCommand.js +28 -21
  38. package/dist-es/commands/UpdateDataCatalogCommand.js +28 -21
  39. package/dist-es/commands/UpdateNamedQueryCommand.js +28 -21
  40. package/dist-es/commands/UpdatePreparedStatementCommand.js +28 -21
  41. package/dist-es/commands/UpdateWorkGroupCommand.js +28 -21
  42. package/dist-es/endpoints.js +8 -8
  43. package/dist-es/models/AthenaServiceException.js +10 -5
  44. package/dist-es/models/models_0.js +174 -393
  45. package/dist-es/pagination/GetQueryResultsPaginator.js +68 -25
  46. package/dist-es/pagination/ListDataCatalogsPaginator.js +68 -25
  47. package/dist-es/pagination/ListDatabasesPaginator.js +68 -25
  48. package/dist-es/pagination/ListEngineVersionsPaginator.js +68 -25
  49. package/dist-es/pagination/ListNamedQueriesPaginator.js +68 -25
  50. package/dist-es/pagination/ListPreparedStatementsPaginator.js +68 -25
  51. package/dist-es/pagination/ListQueryExecutionsPaginator.js +68 -25
  52. package/dist-es/pagination/ListTableMetadataPaginator.js +68 -25
  53. package/dist-es/pagination/ListTagsForResourcePaginator.js +68 -25
  54. package/dist-es/pagination/ListWorkGroupsPaginator.js +68 -25
  55. package/dist-es/protocols/Aws_json1_1.js +2942 -2301
  56. package/dist-es/runtimeConfig.browser.js +12 -26
  57. package/dist-es/runtimeConfig.js +12 -30
  58. package/dist-es/runtimeConfig.native.js +5 -8
  59. package/dist-es/runtimeConfig.shared.js +11 -8
  60. package/package.json +5 -5
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetWorkGroupInputFilterSensitiveLog, GetWorkGroupOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1GetWorkGroupCommand, serializeAws_json1_1GetWorkGroupCommand, } from "../protocols/Aws_json1_1";
5
- export class GetWorkGroupCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetWorkGroupCommand = (function (_super) {
7
+ __extends(GetWorkGroupCommand, _super);
8
+ function GetWorkGroupCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetWorkGroupCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "AthenaClient";
15
- const commandName = "GetWorkGroupCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AthenaClient";
18
+ var commandName = "GetWorkGroupCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetWorkGroupInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetWorkGroupOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetWorkGroupCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1GetWorkGroupCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetWorkGroupCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1GetWorkGroupCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetWorkGroupCommand;
38
+ }($Command));
39
+ export { GetWorkGroupCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListDataCatalogsInputFilterSensitiveLog, ListDataCatalogsOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ListDataCatalogsCommand, serializeAws_json1_1ListDataCatalogsCommand, } from "../protocols/Aws_json1_1";
5
- export class ListDataCatalogsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListDataCatalogsCommand = (function (_super) {
7
+ __extends(ListDataCatalogsCommand, _super);
8
+ function ListDataCatalogsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListDataCatalogsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "AthenaClient";
15
- const commandName = "ListDataCatalogsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AthenaClient";
18
+ var commandName = "ListDataCatalogsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListDataCatalogsInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListDataCatalogsOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListDataCatalogsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ListDataCatalogsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListDataCatalogsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ListDataCatalogsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListDataCatalogsCommand;
38
+ }($Command));
39
+ export { ListDataCatalogsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListDatabasesInputFilterSensitiveLog, ListDatabasesOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ListDatabasesCommand, serializeAws_json1_1ListDatabasesCommand, } from "../protocols/Aws_json1_1";
5
- export class ListDatabasesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListDatabasesCommand = (function (_super) {
7
+ __extends(ListDatabasesCommand, _super);
8
+ function ListDatabasesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListDatabasesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "AthenaClient";
15
- const commandName = "ListDatabasesCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AthenaClient";
18
+ var commandName = "ListDatabasesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListDatabasesInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListDatabasesOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListDatabasesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ListDatabasesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListDatabasesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ListDatabasesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListDatabasesCommand;
38
+ }($Command));
39
+ export { ListDatabasesCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListEngineVersionsInputFilterSensitiveLog, ListEngineVersionsOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ListEngineVersionsCommand, serializeAws_json1_1ListEngineVersionsCommand, } from "../protocols/Aws_json1_1";
5
- export class ListEngineVersionsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListEngineVersionsCommand = (function (_super) {
7
+ __extends(ListEngineVersionsCommand, _super);
8
+ function ListEngineVersionsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListEngineVersionsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "AthenaClient";
15
- const commandName = "ListEngineVersionsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AthenaClient";
18
+ var commandName = "ListEngineVersionsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListEngineVersionsInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListEngineVersionsOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListEngineVersionsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ListEngineVersionsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListEngineVersionsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ListEngineVersionsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListEngineVersionsCommand;
38
+ }($Command));
39
+ export { ListEngineVersionsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListNamedQueriesInputFilterSensitiveLog, ListNamedQueriesOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ListNamedQueriesCommand, serializeAws_json1_1ListNamedQueriesCommand, } from "../protocols/Aws_json1_1";
5
- export class ListNamedQueriesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListNamedQueriesCommand = (function (_super) {
7
+ __extends(ListNamedQueriesCommand, _super);
8
+ function ListNamedQueriesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListNamedQueriesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "AthenaClient";
15
- const commandName = "ListNamedQueriesCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AthenaClient";
18
+ var commandName = "ListNamedQueriesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListNamedQueriesInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListNamedQueriesOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListNamedQueriesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ListNamedQueriesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListNamedQueriesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ListNamedQueriesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListNamedQueriesCommand;
38
+ }($Command));
39
+ export { ListNamedQueriesCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListPreparedStatementsInputFilterSensitiveLog, ListPreparedStatementsOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ListPreparedStatementsCommand, serializeAws_json1_1ListPreparedStatementsCommand, } from "../protocols/Aws_json1_1";
5
- export class ListPreparedStatementsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListPreparedStatementsCommand = (function (_super) {
7
+ __extends(ListPreparedStatementsCommand, _super);
8
+ function ListPreparedStatementsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListPreparedStatementsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "AthenaClient";
15
- const commandName = "ListPreparedStatementsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AthenaClient";
18
+ var commandName = "ListPreparedStatementsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListPreparedStatementsInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListPreparedStatementsOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListPreparedStatementsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ListPreparedStatementsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListPreparedStatementsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ListPreparedStatementsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListPreparedStatementsCommand;
38
+ }($Command));
39
+ export { ListPreparedStatementsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListQueryExecutionsInputFilterSensitiveLog, ListQueryExecutionsOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ListQueryExecutionsCommand, serializeAws_json1_1ListQueryExecutionsCommand, } from "../protocols/Aws_json1_1";
5
- export class ListQueryExecutionsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListQueryExecutionsCommand = (function (_super) {
7
+ __extends(ListQueryExecutionsCommand, _super);
8
+ function ListQueryExecutionsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListQueryExecutionsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "AthenaClient";
15
- const commandName = "ListQueryExecutionsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AthenaClient";
18
+ var commandName = "ListQueryExecutionsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListQueryExecutionsInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListQueryExecutionsOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListQueryExecutionsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ListQueryExecutionsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListQueryExecutionsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ListQueryExecutionsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListQueryExecutionsCommand;
38
+ }($Command));
39
+ export { ListQueryExecutionsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListTableMetadataInputFilterSensitiveLog, ListTableMetadataOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ListTableMetadataCommand, serializeAws_json1_1ListTableMetadataCommand, } from "../protocols/Aws_json1_1";
5
- export class ListTableMetadataCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListTableMetadataCommand = (function (_super) {
7
+ __extends(ListTableMetadataCommand, _super);
8
+ function ListTableMetadataCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListTableMetadataCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "AthenaClient";
15
- const commandName = "ListTableMetadataCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AthenaClient";
18
+ var commandName = "ListTableMetadataCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListTableMetadataInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListTableMetadataOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListTableMetadataCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ListTableMetadataCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListTableMetadataCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ListTableMetadataCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListTableMetadataCommand;
38
+ }($Command));
39
+ export { ListTableMetadataCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListTagsForResourceInputFilterSensitiveLog, ListTagsForResourceOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ListTagsForResourceCommand, serializeAws_json1_1ListTagsForResourceCommand, } from "../protocols/Aws_json1_1";
5
- export class ListTagsForResourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListTagsForResourceCommand = (function (_super) {
7
+ __extends(ListTagsForResourceCommand, _super);
8
+ function ListTagsForResourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListTagsForResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "AthenaClient";
15
- const commandName = "ListTagsForResourceCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AthenaClient";
18
+ var commandName = "ListTagsForResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListTagsForResourceInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListTagsForResourceOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListTagsForResourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ListTagsForResourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListTagsForResourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ListTagsForResourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListTagsForResourceCommand;
38
+ }($Command));
39
+ export { ListTagsForResourceCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListWorkGroupsInputFilterSensitiveLog, ListWorkGroupsOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ListWorkGroupsCommand, serializeAws_json1_1ListWorkGroupsCommand, } from "../protocols/Aws_json1_1";
5
- export class ListWorkGroupsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListWorkGroupsCommand = (function (_super) {
7
+ __extends(ListWorkGroupsCommand, _super);
8
+ function ListWorkGroupsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListWorkGroupsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "AthenaClient";
15
- const commandName = "ListWorkGroupsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AthenaClient";
18
+ var commandName = "ListWorkGroupsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListWorkGroupsInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListWorkGroupsOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListWorkGroupsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ListWorkGroupsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListWorkGroupsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ListWorkGroupsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListWorkGroupsCommand;
38
+ }($Command));
39
+ export { ListWorkGroupsCommand };