@aws-sdk/client-glue 3.45.0 → 3.47.2

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 (64) hide show
  1. package/CHANGELOG.md +45 -0
  2. package/dist-cjs/Glue.js +45 -0
  3. package/dist-cjs/commands/GetCrawlerMetricsCommand.js +2 -1
  4. package/dist-cjs/commands/GetCrawlersCommand.js +3 -3
  5. package/dist-cjs/commands/GetUnfilteredPartitionMetadataCommand.js +36 -0
  6. package/dist-cjs/commands/GetUnfilteredPartitionsMetadataCommand.js +36 -0
  7. package/dist-cjs/commands/GetUnfilteredTableMetadataCommand.js +36 -0
  8. package/dist-cjs/commands/index.js +3 -0
  9. package/dist-cjs/endpoints.js +0 -24
  10. package/dist-cjs/models/models_0.js +22 -124
  11. package/dist-cjs/models/models_1.js +77 -66
  12. package/dist-cjs/pagination/GetUnfilteredPartitionsMetadataPaginator.js +35 -0
  13. package/dist-cjs/pagination/index.js +1 -0
  14. package/dist-cjs/protocols/Aws_json1_1.js +545 -5
  15. package/dist-cjs/runtimeConfig.browser.js +7 -2
  16. package/dist-cjs/runtimeConfig.js +9 -3
  17. package/dist-es/Glue.js +45 -0
  18. package/dist-es/commands/GetCrawlerMetricsCommand.js +2 -1
  19. package/dist-es/commands/GetCrawlersCommand.js +1 -1
  20. package/dist-es/commands/GetUnfilteredPartitionMetadataCommand.js +39 -0
  21. package/dist-es/commands/GetUnfilteredPartitionsMetadataCommand.js +39 -0
  22. package/dist-es/commands/GetUnfilteredTableMetadataCommand.js +39 -0
  23. package/dist-es/commands/index.js +3 -0
  24. package/dist-es/endpoints.js +0 -24
  25. package/dist-es/models/models_0.js +12 -80
  26. package/dist-es/models/models_1.js +49 -40
  27. package/dist-es/pagination/GetUnfilteredPartitionsMetadataPaginator.js +74 -0
  28. package/dist-es/pagination/index.js +1 -0
  29. package/dist-es/protocols/Aws_json1_1.js +538 -7
  30. package/dist-es/runtimeConfig.browser.js +12 -3
  31. package/dist-es/runtimeConfig.js +13 -6
  32. package/dist-types/Glue.d.ts +12 -0
  33. package/dist-types/GlueClient.d.ts +10 -3
  34. package/dist-types/commands/GetCrawlerMetricsCommand.d.ts +2 -1
  35. package/dist-types/commands/GetCrawlersCommand.d.ts +1 -1
  36. package/dist-types/commands/GetUnfilteredPartitionMetadataCommand.d.ts +18 -0
  37. package/dist-types/commands/GetUnfilteredPartitionsMetadataCommand.d.ts +18 -0
  38. package/dist-types/commands/GetUnfilteredTableMetadataCommand.d.ts +18 -0
  39. package/dist-types/commands/index.d.ts +3 -0
  40. package/dist-types/models/models_0.d.ts +49 -148
  41. package/dist-types/models/models_1.d.ts +172 -61
  42. package/dist-types/pagination/GetUnfilteredPartitionsMetadataPaginator.d.ts +4 -0
  43. package/dist-types/pagination/index.d.ts +1 -0
  44. package/dist-types/protocols/Aws_json1_1.d.ts +9 -0
  45. package/dist-types/runtimeConfig.browser.d.ts +3 -2
  46. package/dist-types/runtimeConfig.d.ts +4 -3
  47. package/dist-types/runtimeConfig.native.d.ts +1 -0
  48. package/dist-types/ts3.4/Glue.d.ts +12 -0
  49. package/dist-types/ts3.4/GlueClient.d.ts +8 -3
  50. package/dist-types/ts3.4/commands/GetCrawlerMetricsCommand.d.ts +2 -1
  51. package/dist-types/ts3.4/commands/GetCrawlersCommand.d.ts +1 -1
  52. package/dist-types/ts3.4/commands/GetUnfilteredPartitionMetadataCommand.d.ts +16 -0
  53. package/dist-types/ts3.4/commands/GetUnfilteredPartitionsMetadataCommand.d.ts +16 -0
  54. package/dist-types/ts3.4/commands/GetUnfilteredTableMetadataCommand.d.ts +16 -0
  55. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  56. package/dist-types/ts3.4/models/models_0.d.ts +32 -38
  57. package/dist-types/ts3.4/models/models_1.d.ts +126 -41
  58. package/dist-types/ts3.4/pagination/GetUnfilteredPartitionsMetadataPaginator.d.ts +4 -0
  59. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  60. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +9 -0
  61. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
  62. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
  63. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
  64. package/package.json +39 -46
@@ -13,13 +13,18 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
13
13
  const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
14
14
  const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
15
15
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
16
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
17
+ const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
16
18
  const getRuntimeConfig = (config) => {
17
19
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
20
+ const defaultsMode = util_defaults_mode_browser_1.resolveDefaultsModeConfig(config);
21
+ const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
18
22
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
19
23
  return {
20
24
  ...clientSharedValues,
21
25
  ...config,
22
26
  runtime: "browser",
27
+ defaultsMode,
23
28
  base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_browser_1.fromBase64,
24
29
  base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64,
25
30
  bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_browser_1.calculateBodyLength,
@@ -27,8 +32,8 @@ const getRuntimeConfig = (config) => {
27
32
  defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_browser_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
28
33
  maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
29
34
  region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalid_dependency_1.invalidProvider("Region is missing"),
30
- requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(),
31
- retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (() => Promise.resolve(middleware_retry_1.DEFAULT_RETRY_MODE)),
35
+ requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
36
+ retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
32
37
  sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
33
38
  streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : fetch_http_handler_1.streamCollector,
34
39
  useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
@@ -16,14 +16,17 @@ const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
16
16
  const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
17
17
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
18
18
  const smithy_client_1 = require("@aws-sdk/smithy-client");
19
+ const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
19
20
  const getRuntimeConfig = (config) => {
20
21
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
21
- smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
22
+ const defaultsMode = util_defaults_mode_node_1.resolveDefaultsModeConfig(config);
23
+ const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
22
24
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
23
25
  return {
24
26
  ...clientSharedValues,
25
27
  ...config,
26
28
  runtime: "node",
29
+ defaultsMode,
27
30
  base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
28
31
  base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
29
32
  bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
@@ -31,8 +34,11 @@ const getRuntimeConfig = (config) => {
31
34
  defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_node_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
32
35
  maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : node_config_provider_1.loadConfig(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
33
36
  region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : node_config_provider_1.loadConfig(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
34
- requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(),
35
- retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig(middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS),
37
+ requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
38
+ retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig({
39
+ ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
40
+ default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
41
+ }),
36
42
  sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
37
43
  streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
38
44
  useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
package/dist-es/Glue.js CHANGED
@@ -104,6 +104,9 @@ import { GetTableVersionsCommand, } from "./commands/GetTableVersionsCommand";
104
104
  import { GetTagsCommand } from "./commands/GetTagsCommand";
105
105
  import { GetTriggerCommand } from "./commands/GetTriggerCommand";
106
106
  import { GetTriggersCommand } from "./commands/GetTriggersCommand";
107
+ import { GetUnfilteredPartitionMetadataCommand, } from "./commands/GetUnfilteredPartitionMetadataCommand";
108
+ import { GetUnfilteredPartitionsMetadataCommand, } from "./commands/GetUnfilteredPartitionsMetadataCommand";
109
+ import { GetUnfilteredTableMetadataCommand, } from "./commands/GetUnfilteredTableMetadataCommand";
107
110
  import { GetUserDefinedFunctionCommand, } from "./commands/GetUserDefinedFunctionCommand";
108
111
  import { GetUserDefinedFunctionsCommand, } from "./commands/GetUserDefinedFunctionsCommand";
109
112
  import { GetWorkflowCommand } from "./commands/GetWorkflowCommand";
@@ -1641,6 +1644,48 @@ var Glue = (function (_super) {
1641
1644
  return this.send(command, optionsOrCb);
1642
1645
  }
1643
1646
  };
1647
+ Glue.prototype.getUnfilteredPartitionMetadata = function (args, optionsOrCb, cb) {
1648
+ var command = new GetUnfilteredPartitionMetadataCommand(args);
1649
+ if (typeof optionsOrCb === "function") {
1650
+ this.send(command, optionsOrCb);
1651
+ }
1652
+ else if (typeof cb === "function") {
1653
+ if (typeof optionsOrCb !== "object")
1654
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
1655
+ this.send(command, optionsOrCb || {}, cb);
1656
+ }
1657
+ else {
1658
+ return this.send(command, optionsOrCb);
1659
+ }
1660
+ };
1661
+ Glue.prototype.getUnfilteredPartitionsMetadata = function (args, optionsOrCb, cb) {
1662
+ var command = new GetUnfilteredPartitionsMetadataCommand(args);
1663
+ if (typeof optionsOrCb === "function") {
1664
+ this.send(command, optionsOrCb);
1665
+ }
1666
+ else if (typeof cb === "function") {
1667
+ if (typeof optionsOrCb !== "object")
1668
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
1669
+ this.send(command, optionsOrCb || {}, cb);
1670
+ }
1671
+ else {
1672
+ return this.send(command, optionsOrCb);
1673
+ }
1674
+ };
1675
+ Glue.prototype.getUnfilteredTableMetadata = function (args, optionsOrCb, cb) {
1676
+ var command = new GetUnfilteredTableMetadataCommand(args);
1677
+ if (typeof optionsOrCb === "function") {
1678
+ this.send(command, optionsOrCb);
1679
+ }
1680
+ else if (typeof cb === "function") {
1681
+ if (typeof optionsOrCb !== "object")
1682
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
1683
+ this.send(command, optionsOrCb || {}, cb);
1684
+ }
1685
+ else {
1686
+ return this.send(command, optionsOrCb);
1687
+ }
1688
+ };
1644
1689
  Glue.prototype.getUserDefinedFunction = function (args, optionsOrCb, cb) {
1645
1690
  var command = new GetUserDefinedFunctionCommand(args);
1646
1691
  if (typeof optionsOrCb === "function") {
@@ -1,7 +1,8 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { GetCrawlerMetricsRequest, GetCrawlerMetricsResponse } from "../models/models_0";
4
+ import { GetCrawlerMetricsRequest } from "../models/models_0";
5
+ import { GetCrawlerMetricsResponse } from "../models/models_1";
5
6
  import { deserializeAws_json1_1GetCrawlerMetricsCommand, serializeAws_json1_1GetCrawlerMetricsCommand, } from "../protocols/Aws_json1_1";
6
7
  var GetCrawlerMetricsCommand = (function (_super) {
7
8
  __extends(GetCrawlerMetricsCommand, _super);
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { GetCrawlersRequest, GetCrawlersResponse } from "../models/models_0";
4
+ import { GetCrawlersRequest, GetCrawlersResponse } from "../models/models_1";
5
5
  import { deserializeAws_json1_1GetCrawlersCommand, serializeAws_json1_1GetCrawlersCommand, } from "../protocols/Aws_json1_1";
6
6
  var GetCrawlersCommand = (function (_super) {
7
7
  __extends(GetCrawlersCommand, _super);
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { GetUnfilteredPartitionMetadataRequest, GetUnfilteredPartitionMetadataResponse } from "../models/models_1";
5
+ import { deserializeAws_json1_1GetUnfilteredPartitionMetadataCommand, serializeAws_json1_1GetUnfilteredPartitionMetadataCommand, } from "../protocols/Aws_json1_1";
6
+ var GetUnfilteredPartitionMetadataCommand = (function (_super) {
7
+ __extends(GetUnfilteredPartitionMetadataCommand, _super);
8
+ function GetUnfilteredPartitionMetadataCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ GetUnfilteredPartitionMetadataCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "GlueClient";
18
+ var commandName = "GetUnfilteredPartitionMetadataCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: GetUnfilteredPartitionMetadataRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: GetUnfilteredPartitionMetadataResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetUnfilteredPartitionMetadataCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_json1_1GetUnfilteredPartitionMetadataCommand(input, context);
33
+ };
34
+ GetUnfilteredPartitionMetadataCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_json1_1GetUnfilteredPartitionMetadataCommand(output, context);
36
+ };
37
+ return GetUnfilteredPartitionMetadataCommand;
38
+ }($Command));
39
+ export { GetUnfilteredPartitionMetadataCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { GetUnfilteredPartitionsMetadataRequest, GetUnfilteredPartitionsMetadataResponse } from "../models/models_1";
5
+ import { deserializeAws_json1_1GetUnfilteredPartitionsMetadataCommand, serializeAws_json1_1GetUnfilteredPartitionsMetadataCommand, } from "../protocols/Aws_json1_1";
6
+ var GetUnfilteredPartitionsMetadataCommand = (function (_super) {
7
+ __extends(GetUnfilteredPartitionsMetadataCommand, _super);
8
+ function GetUnfilteredPartitionsMetadataCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ GetUnfilteredPartitionsMetadataCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "GlueClient";
18
+ var commandName = "GetUnfilteredPartitionsMetadataCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: GetUnfilteredPartitionsMetadataRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: GetUnfilteredPartitionsMetadataResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetUnfilteredPartitionsMetadataCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_json1_1GetUnfilteredPartitionsMetadataCommand(input, context);
33
+ };
34
+ GetUnfilteredPartitionsMetadataCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_json1_1GetUnfilteredPartitionsMetadataCommand(output, context);
36
+ };
37
+ return GetUnfilteredPartitionsMetadataCommand;
38
+ }($Command));
39
+ export { GetUnfilteredPartitionsMetadataCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { GetUnfilteredTableMetadataRequest, GetUnfilteredTableMetadataResponse } from "../models/models_1";
5
+ import { deserializeAws_json1_1GetUnfilteredTableMetadataCommand, serializeAws_json1_1GetUnfilteredTableMetadataCommand, } from "../protocols/Aws_json1_1";
6
+ var GetUnfilteredTableMetadataCommand = (function (_super) {
7
+ __extends(GetUnfilteredTableMetadataCommand, _super);
8
+ function GetUnfilteredTableMetadataCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ GetUnfilteredTableMetadataCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "GlueClient";
18
+ var commandName = "GetUnfilteredTableMetadataCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: GetUnfilteredTableMetadataRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: GetUnfilteredTableMetadataResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetUnfilteredTableMetadataCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_json1_1GetUnfilteredTableMetadataCommand(input, context);
33
+ };
34
+ GetUnfilteredTableMetadataCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_json1_1GetUnfilteredTableMetadataCommand(output, context);
36
+ };
37
+ return GetUnfilteredTableMetadataCommand;
38
+ }($Command));
39
+ export { GetUnfilteredTableMetadataCommand };
@@ -103,6 +103,9 @@ export * from "./GetTablesCommand";
103
103
  export * from "./GetTagsCommand";
104
104
  export * from "./GetTriggerCommand";
105
105
  export * from "./GetTriggersCommand";
106
+ export * from "./GetUnfilteredPartitionMetadataCommand";
107
+ export * from "./GetUnfilteredPartitionsMetadataCommand";
108
+ export * from "./GetUnfilteredTableMetadataCommand";
106
109
  export * from "./GetUserDefinedFunctionCommand";
107
110
  export * from "./GetUserDefinedFunctionsCommand";
108
111
  export * from "./GetWorkflowCommand";
@@ -3,10 +3,6 @@ import { getRegionInfo } from "@aws-sdk/config-resolver";
3
3
  var regionHash = {
4
4
  "us-east-1": {
5
5
  variants: [
6
- {
7
- hostname: "glue.us-east-1.amazonaws.com",
8
- tags: [],
9
- },
10
6
  {
11
7
  hostname: "glue-fips.us-east-1.amazonaws.com",
12
8
  tags: ["fips"],
@@ -15,10 +11,6 @@ var regionHash = {
15
11
  },
16
12
  "us-east-2": {
17
13
  variants: [
18
- {
19
- hostname: "glue.us-east-2.amazonaws.com",
20
- tags: [],
21
- },
22
14
  {
23
15
  hostname: "glue-fips.us-east-2.amazonaws.com",
24
16
  tags: ["fips"],
@@ -27,10 +19,6 @@ var regionHash = {
27
19
  },
28
20
  "us-gov-east-1": {
29
21
  variants: [
30
- {
31
- hostname: "glue.us-gov-east-1.amazonaws.com",
32
- tags: [],
33
- },
34
22
  {
35
23
  hostname: "glue-fips.us-gov-east-1.amazonaws.com",
36
24
  tags: ["fips"],
@@ -39,10 +27,6 @@ var regionHash = {
39
27
  },
40
28
  "us-gov-west-1": {
41
29
  variants: [
42
- {
43
- hostname: "glue.us-gov-west-1.amazonaws.com",
44
- tags: [],
45
- },
46
30
  {
47
31
  hostname: "glue-fips.us-gov-west-1.amazonaws.com",
48
32
  tags: ["fips"],
@@ -51,10 +35,6 @@ var regionHash = {
51
35
  },
52
36
  "us-west-1": {
53
37
  variants: [
54
- {
55
- hostname: "glue.us-west-1.amazonaws.com",
56
- tags: [],
57
- },
58
38
  {
59
39
  hostname: "glue-fips.us-west-1.amazonaws.com",
60
40
  tags: ["fips"],
@@ -63,10 +43,6 @@ var regionHash = {
63
43
  },
64
44
  "us-west-2": {
65
45
  variants: [
66
- {
67
- hostname: "glue.us-west-2.amazonaws.com",
68
- tags: [],
69
- },
70
46
  {
71
47
  hostname: "glue-fips.us-west-2.amazonaws.com",
72
48
  tags: ["fips"],
@@ -1,8 +1,4 @@
1
1
  import { __assign } from "tslib";
2
- export var AccessDeniedException;
3
- (function (AccessDeniedException) {
4
- AccessDeniedException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
5
- })(AccessDeniedException || (AccessDeniedException = {}));
6
2
  export var NotificationProperty;
7
3
  (function (NotificationProperty) {
8
4
  NotificationProperty.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -11,10 +7,10 @@ export var Action;
11
7
  (function (Action) {
12
8
  Action.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
13
9
  })(Action || (Action = {}));
14
- export var AlreadyExistsException;
15
- (function (AlreadyExistsException) {
16
- AlreadyExistsException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
17
- })(AlreadyExistsException || (AlreadyExistsException = {}));
10
+ export var AuditContext;
11
+ (function (AuditContext) {
12
+ AuditContext.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
13
+ })(AuditContext || (AuditContext = {}));
18
14
  export var Column;
19
15
  (function (Column) {
20
16
  Column.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -63,30 +59,6 @@ export var BatchCreatePartitionResponse;
63
59
  (function (BatchCreatePartitionResponse) {
64
60
  BatchCreatePartitionResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
65
61
  })(BatchCreatePartitionResponse || (BatchCreatePartitionResponse = {}));
66
- export var EntityNotFoundException;
67
- (function (EntityNotFoundException) {
68
- EntityNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
69
- })(EntityNotFoundException || (EntityNotFoundException = {}));
70
- export var GlueEncryptionException;
71
- (function (GlueEncryptionException) {
72
- GlueEncryptionException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
73
- })(GlueEncryptionException || (GlueEncryptionException = {}));
74
- export var InternalServiceException;
75
- (function (InternalServiceException) {
76
- InternalServiceException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
77
- })(InternalServiceException || (InternalServiceException = {}));
78
- export var InvalidInputException;
79
- (function (InvalidInputException) {
80
- InvalidInputException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
81
- })(InvalidInputException || (InvalidInputException = {}));
82
- export var OperationTimeoutException;
83
- (function (OperationTimeoutException) {
84
- OperationTimeoutException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
85
- })(OperationTimeoutException || (OperationTimeoutException = {}));
86
- export var ResourceNumberLimitExceededException;
87
- (function (ResourceNumberLimitExceededException) {
88
- ResourceNumberLimitExceededException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
89
- })(ResourceNumberLimitExceededException || (ResourceNumberLimitExceededException = {}));
90
62
  export var BatchDeleteConnectionRequest;
91
63
  (function (BatchDeleteConnectionRequest) {
92
64
  BatchDeleteConnectionRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -119,10 +91,6 @@ export var BatchDeleteTableResponse;
119
91
  (function (BatchDeleteTableResponse) {
120
92
  BatchDeleteTableResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
121
93
  })(BatchDeleteTableResponse || (BatchDeleteTableResponse = {}));
122
- export var ResourceNotReadyException;
123
- (function (ResourceNotReadyException) {
124
- ResourceNotReadyException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
125
- })(ResourceNotReadyException || (ResourceNotReadyException = {}));
126
94
  export var BatchDeleteTableVersionRequest;
127
95
  (function (BatchDeleteTableVersionRequest) {
128
96
  BatchDeleteTableVersionRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -162,6 +130,10 @@ export var BatchGetCrawlersRequest;
162
130
  (function (BatchGetCrawlersRequest) {
163
131
  BatchGetCrawlersRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
164
132
  })(BatchGetCrawlersRequest || (BatchGetCrawlersRequest = {}));
133
+ export var LakeFormationConfiguration;
134
+ (function (LakeFormationConfiguration) {
135
+ LakeFormationConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
136
+ })(LakeFormationConfiguration || (LakeFormationConfiguration = {}));
165
137
  export var LastCrawlStatus;
166
138
  (function (LastCrawlStatus) {
167
139
  LastCrawlStatus["CANCELLED"] = "CANCELLED";
@@ -226,6 +198,10 @@ export var CatalogTarget;
226
198
  (function (CatalogTarget) {
227
199
  CatalogTarget.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
228
200
  })(CatalogTarget || (CatalogTarget = {}));
201
+ export var DeltaTarget;
202
+ (function (DeltaTarget) {
203
+ DeltaTarget.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
204
+ })(DeltaTarget || (DeltaTarget = {}));
229
205
  export var DynamoDBTarget;
230
206
  (function (DynamoDBTarget) {
231
207
  DynamoDBTarget.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -302,10 +278,6 @@ export var BatchGetPartitionResponse;
302
278
  (function (BatchGetPartitionResponse) {
303
279
  BatchGetPartitionResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
304
280
  })(BatchGetPartitionResponse || (BatchGetPartitionResponse = {}));
305
- export var InvalidStateException;
306
- (function (InvalidStateException) {
307
- InvalidStateException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
308
- })(InvalidStateException || (InvalidStateException = {}));
309
281
  export var BatchGetTriggersRequest;
310
282
  (function (BatchGetTriggersRequest) {
311
283
  BatchGetTriggersRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -621,10 +593,6 @@ export var CreateCrawlerResponse;
621
593
  (function (CreateCrawlerResponse) {
622
594
  CreateCrawlerResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
623
595
  })(CreateCrawlerResponse || (CreateCrawlerResponse = {}));
624
- export var ConcurrentModificationException;
625
- (function (ConcurrentModificationException) {
626
- ConcurrentModificationException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
627
- })(ConcurrentModificationException || (ConcurrentModificationException = {}));
628
596
  export var Permission;
629
597
  (function (Permission) {
630
598
  Permission["ALL"] = "ALL";
@@ -669,14 +637,6 @@ export var CreateDevEndpointResponse;
669
637
  (function (CreateDevEndpointResponse) {
670
638
  CreateDevEndpointResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
671
639
  })(CreateDevEndpointResponse || (CreateDevEndpointResponse = {}));
672
- export var IdempotentParameterMismatchException;
673
- (function (IdempotentParameterMismatchException) {
674
- IdempotentParameterMismatchException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
675
- })(IdempotentParameterMismatchException || (IdempotentParameterMismatchException = {}));
676
- export var ValidationException;
677
- (function (ValidationException) {
678
- ValidationException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
679
- })(ValidationException || (ValidationException = {}));
680
640
  export var CreateJobRequest;
681
641
  (function (CreateJobRequest) {
682
642
  CreateJobRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -951,10 +911,6 @@ export var DeleteConnectionResponse;
951
911
  (function (DeleteConnectionResponse) {
952
912
  DeleteConnectionResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
953
913
  })(DeleteConnectionResponse || (DeleteConnectionResponse = {}));
954
- export var CrawlerRunningException;
955
- (function (CrawlerRunningException) {
956
- CrawlerRunningException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
957
- })(CrawlerRunningException || (CrawlerRunningException = {}));
958
914
  export var DeleteCrawlerRequest;
959
915
  (function (DeleteCrawlerRequest) {
960
916
  DeleteCrawlerRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -963,10 +919,6 @@ export var DeleteCrawlerResponse;
963
919
  (function (DeleteCrawlerResponse) {
964
920
  DeleteCrawlerResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
965
921
  })(DeleteCrawlerResponse || (DeleteCrawlerResponse = {}));
966
- export var SchedulerTransitioningException;
967
- (function (SchedulerTransitioningException) {
968
- SchedulerTransitioningException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
969
- })(SchedulerTransitioningException || (SchedulerTransitioningException = {}));
970
922
  export var DeleteDatabaseRequest;
971
923
  (function (DeleteDatabaseRequest) {
972
924
  DeleteDatabaseRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -1007,10 +959,6 @@ export var DeletePartitionResponse;
1007
959
  (function (DeletePartitionResponse) {
1008
960
  DeletePartitionResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1009
961
  })(DeletePartitionResponse || (DeletePartitionResponse = {}));
1010
- export var ConflictException;
1011
- (function (ConflictException) {
1012
- ConflictException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1013
- })(ConflictException || (ConflictException = {}));
1014
962
  export var DeletePartitionIndexRequest;
1015
963
  (function (DeletePartitionIndexRequest) {
1016
964
  DeletePartitionIndexRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -1032,10 +980,6 @@ export var DeleteRegistryResponse;
1032
980
  (function (DeleteRegistryResponse) {
1033
981
  DeleteRegistryResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1034
982
  })(DeleteRegistryResponse || (DeleteRegistryResponse = {}));
1035
- export var ConditionCheckFailureException;
1036
- (function (ConditionCheckFailureException) {
1037
- ConditionCheckFailureException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1038
- })(ConditionCheckFailureException || (ConditionCheckFailureException = {}));
1039
983
  export var DeleteResourcePolicyRequest;
1040
984
  (function (DeleteResourcePolicyRequest) {
1041
985
  DeleteResourcePolicyRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -1309,15 +1253,3 @@ export var CrawlerMetrics;
1309
1253
  (function (CrawlerMetrics) {
1310
1254
  CrawlerMetrics.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1311
1255
  })(CrawlerMetrics || (CrawlerMetrics = {}));
1312
- export var GetCrawlerMetricsResponse;
1313
- (function (GetCrawlerMetricsResponse) {
1314
- GetCrawlerMetricsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1315
- })(GetCrawlerMetricsResponse || (GetCrawlerMetricsResponse = {}));
1316
- export var GetCrawlersRequest;
1317
- (function (GetCrawlersRequest) {
1318
- GetCrawlersRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1319
- })(GetCrawlersRequest || (GetCrawlersRequest = {}));
1320
- export var GetCrawlersResponse;
1321
- (function (GetCrawlersResponse) {
1322
- GetCrawlersResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1323
- })(GetCrawlersResponse || (GetCrawlersResponse = {}));