@aws-sdk/client-glue 3.43.0 → 3.47.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 (68) hide show
  1. package/CHANGELOG.md +51 -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/GetDatabaseCommand.js +1 -2
  6. package/dist-cjs/commands/GetUnfilteredPartitionMetadataCommand.js +36 -0
  7. package/dist-cjs/commands/GetUnfilteredPartitionsMetadataCommand.js +36 -0
  8. package/dist-cjs/commands/GetUnfilteredTableMetadataCommand.js +36 -0
  9. package/dist-cjs/commands/index.js +3 -0
  10. package/dist-cjs/endpoints.js +1 -24
  11. package/dist-cjs/models/models_0.js +22 -124
  12. package/dist-cjs/models/models_1.js +89 -66
  13. package/dist-cjs/pagination/GetUnfilteredPartitionsMetadataPaginator.js +35 -0
  14. package/dist-cjs/pagination/index.js +1 -0
  15. package/dist-cjs/protocols/Aws_json1_1.js +662 -5
  16. package/dist-cjs/runtimeConfig.browser.js +7 -2
  17. package/dist-cjs/runtimeConfig.js +9 -3
  18. package/dist-es/Glue.js +45 -0
  19. package/dist-es/commands/GetCrawlerMetricsCommand.js +2 -1
  20. package/dist-es/commands/GetCrawlersCommand.js +1 -1
  21. package/dist-es/commands/GetDatabaseCommand.js +1 -2
  22. package/dist-es/commands/GetUnfilteredPartitionMetadataCommand.js +39 -0
  23. package/dist-es/commands/GetUnfilteredPartitionsMetadataCommand.js +39 -0
  24. package/dist-es/commands/GetUnfilteredTableMetadataCommand.js +39 -0
  25. package/dist-es/commands/index.js +3 -0
  26. package/dist-es/endpoints.js +1 -24
  27. package/dist-es/models/models_0.js +12 -80
  28. package/dist-es/models/models_1.js +57 -40
  29. package/dist-es/pagination/GetUnfilteredPartitionsMetadataPaginator.js +74 -0
  30. package/dist-es/pagination/index.js +1 -0
  31. package/dist-es/protocols/Aws_json1_1.js +831 -197
  32. package/dist-es/runtimeConfig.browser.js +12 -3
  33. package/dist-es/runtimeConfig.js +13 -6
  34. package/dist-types/Glue.d.ts +12 -0
  35. package/dist-types/GlueClient.d.ts +10 -3
  36. package/dist-types/commands/GetCrawlerMetricsCommand.d.ts +2 -1
  37. package/dist-types/commands/GetCrawlersCommand.d.ts +1 -1
  38. package/dist-types/commands/GetDatabaseCommand.d.ts +1 -2
  39. package/dist-types/commands/GetUnfilteredPartitionMetadataCommand.d.ts +18 -0
  40. package/dist-types/commands/GetUnfilteredPartitionsMetadataCommand.d.ts +18 -0
  41. package/dist-types/commands/GetUnfilteredTableMetadataCommand.d.ts +18 -0
  42. package/dist-types/commands/index.d.ts +3 -0
  43. package/dist-types/models/models_0.d.ts +83 -202
  44. package/dist-types/models/models_1.d.ts +266 -61
  45. package/dist-types/pagination/GetUnfilteredPartitionsMetadataPaginator.d.ts +4 -0
  46. package/dist-types/pagination/index.d.ts +1 -0
  47. package/dist-types/protocols/Aws_json1_1.d.ts +9 -0
  48. package/dist-types/runtimeConfig.browser.d.ts +3 -2
  49. package/dist-types/runtimeConfig.d.ts +4 -3
  50. package/dist-types/runtimeConfig.native.d.ts +1 -0
  51. package/dist-types/ts3.4/Glue.d.ts +12 -0
  52. package/dist-types/ts3.4/GlueClient.d.ts +8 -3
  53. package/dist-types/ts3.4/commands/GetCrawlerMetricsCommand.d.ts +2 -1
  54. package/dist-types/ts3.4/commands/GetCrawlersCommand.d.ts +1 -1
  55. package/dist-types/ts3.4/commands/GetDatabaseCommand.d.ts +1 -2
  56. package/dist-types/ts3.4/commands/GetUnfilteredPartitionMetadataCommand.d.ts +16 -0
  57. package/dist-types/ts3.4/commands/GetUnfilteredPartitionsMetadataCommand.d.ts +16 -0
  58. package/dist-types/ts3.4/commands/GetUnfilteredTableMetadataCommand.d.ts +16 -0
  59. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  60. package/dist-types/ts3.4/models/models_0.d.ts +48 -30
  61. package/dist-types/ts3.4/models/models_1.d.ts +173 -41
  62. package/dist-types/ts3.4/pagination/GetUnfilteredPartitionsMetadataPaginator.d.ts +4 -0
  63. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  64. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +9 -0
  65. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
  66. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
  67. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
  68. package/package.json +38 -45
@@ -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);
@@ -1,8 +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 { GetDatabaseRequest } from "../models/models_0";
5
- import { GetDatabaseResponse } from "../models/models_1";
4
+ import { GetDatabaseRequest, GetDatabaseResponse } from "../models/models_1";
6
5
  import { deserializeAws_json1_1GetDatabaseCommand, serializeAws_json1_1GetDatabaseCommand, } from "../protocols/Aws_json1_1";
7
6
  var GetDatabaseCommand = (function (_super) {
8
7
  __extends(GetDatabaseCommand, _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"],
@@ -85,6 +61,7 @@ var partitionHash = {
85
61
  "ap-south-1",
86
62
  "ap-southeast-1",
87
63
  "ap-southeast-2",
64
+ "ap-southeast-3",
88
65
  "ca-central-1",
89
66
  "eu-central-1",
90
67
  "eu-north-1",
@@ -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)); };
@@ -158,6 +130,10 @@ export var BatchGetCrawlersRequest;
158
130
  (function (BatchGetCrawlersRequest) {
159
131
  BatchGetCrawlersRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
160
132
  })(BatchGetCrawlersRequest || (BatchGetCrawlersRequest = {}));
133
+ export var LakeFormationConfiguration;
134
+ (function (LakeFormationConfiguration) {
135
+ LakeFormationConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
136
+ })(LakeFormationConfiguration || (LakeFormationConfiguration = {}));
161
137
  export var LastCrawlStatus;
162
138
  (function (LastCrawlStatus) {
163
139
  LastCrawlStatus["CANCELLED"] = "CANCELLED";
@@ -222,6 +198,10 @@ export var CatalogTarget;
222
198
  (function (CatalogTarget) {
223
199
  CatalogTarget.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
224
200
  })(CatalogTarget || (CatalogTarget = {}));
201
+ export var DeltaTarget;
202
+ (function (DeltaTarget) {
203
+ DeltaTarget.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
204
+ })(DeltaTarget || (DeltaTarget = {}));
225
205
  export var DynamoDBTarget;
226
206
  (function (DynamoDBTarget) {
227
207
  DynamoDBTarget.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -613,10 +593,6 @@ export var CreateCrawlerResponse;
613
593
  (function (CreateCrawlerResponse) {
614
594
  CreateCrawlerResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
615
595
  })(CreateCrawlerResponse || (CreateCrawlerResponse = {}));
616
- export var ConcurrentModificationException;
617
- (function (ConcurrentModificationException) {
618
- ConcurrentModificationException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
619
- })(ConcurrentModificationException || (ConcurrentModificationException = {}));
620
596
  export var Permission;
621
597
  (function (Permission) {
622
598
  Permission["ALL"] = "ALL";
@@ -661,14 +637,6 @@ export var CreateDevEndpointResponse;
661
637
  (function (CreateDevEndpointResponse) {
662
638
  CreateDevEndpointResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
663
639
  })(CreateDevEndpointResponse || (CreateDevEndpointResponse = {}));
664
- export var IdempotentParameterMismatchException;
665
- (function (IdempotentParameterMismatchException) {
666
- IdempotentParameterMismatchException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
667
- })(IdempotentParameterMismatchException || (IdempotentParameterMismatchException = {}));
668
- export var ValidationException;
669
- (function (ValidationException) {
670
- ValidationException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
671
- })(ValidationException || (ValidationException = {}));
672
640
  export var CreateJobRequest;
673
641
  (function (CreateJobRequest) {
674
642
  CreateJobRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -943,10 +911,6 @@ export var DeleteConnectionResponse;
943
911
  (function (DeleteConnectionResponse) {
944
912
  DeleteConnectionResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
945
913
  })(DeleteConnectionResponse || (DeleteConnectionResponse = {}));
946
- export var CrawlerRunningException;
947
- (function (CrawlerRunningException) {
948
- CrawlerRunningException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
949
- })(CrawlerRunningException || (CrawlerRunningException = {}));
950
914
  export var DeleteCrawlerRequest;
951
915
  (function (DeleteCrawlerRequest) {
952
916
  DeleteCrawlerRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -955,10 +919,6 @@ export var DeleteCrawlerResponse;
955
919
  (function (DeleteCrawlerResponse) {
956
920
  DeleteCrawlerResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
957
921
  })(DeleteCrawlerResponse || (DeleteCrawlerResponse = {}));
958
- export var SchedulerTransitioningException;
959
- (function (SchedulerTransitioningException) {
960
- SchedulerTransitioningException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
961
- })(SchedulerTransitioningException || (SchedulerTransitioningException = {}));
962
922
  export var DeleteDatabaseRequest;
963
923
  (function (DeleteDatabaseRequest) {
964
924
  DeleteDatabaseRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -999,10 +959,6 @@ export var DeletePartitionResponse;
999
959
  (function (DeletePartitionResponse) {
1000
960
  DeletePartitionResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1001
961
  })(DeletePartitionResponse || (DeletePartitionResponse = {}));
1002
- export var ConflictException;
1003
- (function (ConflictException) {
1004
- ConflictException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1005
- })(ConflictException || (ConflictException = {}));
1006
962
  export var DeletePartitionIndexRequest;
1007
963
  (function (DeletePartitionIndexRequest) {
1008
964
  DeletePartitionIndexRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -1024,10 +980,6 @@ export var DeleteRegistryResponse;
1024
980
  (function (DeleteRegistryResponse) {
1025
981
  DeleteRegistryResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1026
982
  })(DeleteRegistryResponse || (DeleteRegistryResponse = {}));
1027
- export var ConditionCheckFailureException;
1028
- (function (ConditionCheckFailureException) {
1029
- ConditionCheckFailureException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1030
- })(ConditionCheckFailureException || (ConditionCheckFailureException = {}));
1031
983
  export var DeleteResourcePolicyRequest;
1032
984
  (function (DeleteResourcePolicyRequest) {
1033
985
  DeleteResourcePolicyRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -1301,23 +1253,3 @@ export var CrawlerMetrics;
1301
1253
  (function (CrawlerMetrics) {
1302
1254
  CrawlerMetrics.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1303
1255
  })(CrawlerMetrics || (CrawlerMetrics = {}));
1304
- export var GetCrawlerMetricsResponse;
1305
- (function (GetCrawlerMetricsResponse) {
1306
- GetCrawlerMetricsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1307
- })(GetCrawlerMetricsResponse || (GetCrawlerMetricsResponse = {}));
1308
- export var GetCrawlersRequest;
1309
- (function (GetCrawlersRequest) {
1310
- GetCrawlersRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1311
- })(GetCrawlersRequest || (GetCrawlersRequest = {}));
1312
- export var GetCrawlersResponse;
1313
- (function (GetCrawlersResponse) {
1314
- GetCrawlersResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1315
- })(GetCrawlersResponse || (GetCrawlersResponse = {}));
1316
- export var GetDatabaseRequest;
1317
- (function (GetDatabaseRequest) {
1318
- GetDatabaseRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1319
- })(GetDatabaseRequest || (GetDatabaseRequest = {}));
1320
- export var Database;
1321
- (function (Database) {
1322
- Database.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1323
- })(Database || (Database = {}));