@aws-sdk/client-glue 3.42.0 → 3.46.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.
- package/CHANGELOG.md +48 -0
- package/dist-cjs/Glue.js +45 -0
- package/dist-cjs/commands/GetCrawlerMetricsCommand.js +2 -1
- package/dist-cjs/commands/GetCrawlersCommand.js +3 -3
- package/dist-cjs/commands/GetDatabaseCommand.js +1 -2
- package/dist-cjs/commands/GetUnfilteredPartitionMetadataCommand.js +36 -0
- package/dist-cjs/commands/GetUnfilteredPartitionsMetadataCommand.js +36 -0
- package/dist-cjs/commands/GetUnfilteredTableMetadataCommand.js +36 -0
- package/dist-cjs/commands/index.js +3 -0
- package/dist-cjs/endpoints.js +1 -0
- package/dist-cjs/models/models_0.js +36 -36
- package/dist-cjs/models/models_1.js +95 -6
- package/dist-cjs/pagination/GetUnfilteredPartitionsMetadataPaginator.js +35 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_json1_1.js +662 -5
- package/dist-cjs/runtimeConfig.js +0 -2
- package/dist-es/Glue.js +45 -0
- package/dist-es/commands/GetCrawlerMetricsCommand.js +2 -1
- package/dist-es/commands/GetCrawlersCommand.js +1 -1
- package/dist-es/commands/GetDatabaseCommand.js +1 -2
- package/dist-es/commands/GetUnfilteredPartitionMetadataCommand.js +39 -0
- package/dist-es/commands/GetUnfilteredPartitionsMetadataCommand.js +39 -0
- package/dist-es/commands/GetUnfilteredTableMetadataCommand.js +39 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/endpoints.js +1 -0
- package/dist-es/models/models_0.js +20 -20
- package/dist-es/models/models_1.js +61 -0
- package/dist-es/pagination/GetUnfilteredPartitionsMetadataPaginator.js +74 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +831 -197
- package/dist-es/runtimeConfig.js +0 -2
- package/dist-types/Glue.d.ts +12 -0
- package/dist-types/GlueClient.d.ts +5 -2
- package/dist-types/commands/GetCrawlerMetricsCommand.d.ts +2 -1
- package/dist-types/commands/GetCrawlersCommand.d.ts +1 -1
- package/dist-types/commands/GetDatabaseCommand.d.ts +1 -2
- package/dist-types/commands/GetUnfilteredPartitionMetadataCommand.d.ts +18 -0
- package/dist-types/commands/GetUnfilteredPartitionsMetadataCommand.d.ts +18 -0
- package/dist-types/commands/GetUnfilteredTableMetadataCommand.d.ts +18 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +99 -116
- package/dist-types/models/models_1.d.ts +272 -1
- package/dist-types/pagination/GetUnfilteredPartitionsMetadataPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +9 -0
- package/dist-types/ts3.4/Glue.d.ts +12 -0
- package/dist-types/ts3.4/GlueClient.d.ts +5 -2
- package/dist-types/ts3.4/commands/GetCrawlerMetricsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetCrawlersCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetDatabaseCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/GetUnfilteredPartitionMetadataCommand.d.ts +16 -0
- package/dist-types/ts3.4/commands/GetUnfilteredPartitionsMetadataCommand.d.ts +16 -0
- package/dist-types/ts3.4/commands/GetUnfilteredTableMetadataCommand.d.ts +16 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +58 -0
- package/dist-types/ts3.4/models/models_1.d.ts +177 -1
- package/dist-types/ts3.4/pagination/GetUnfilteredPartitionsMetadataPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +9 -0
- package/package.json +36 -43
|
@@ -15,10 +15,8 @@ const util_body_length_node_1 = require("@aws-sdk/util-body-length-node");
|
|
|
15
15
|
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
|
-
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
19
18
|
const getRuntimeConfig = (config) => {
|
|
20
19
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
21
|
-
smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
|
|
22
20
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
23
21
|
return {
|
|
24
22
|
...clientSharedValues,
|
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
|
|
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/
|
|
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/
|
|
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";
|
package/dist-es/endpoints.js
CHANGED
|
@@ -15,6 +15,10 @@ export var AlreadyExistsException;
|
|
|
15
15
|
(function (AlreadyExistsException) {
|
|
16
16
|
AlreadyExistsException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
17
17
|
})(AlreadyExistsException || (AlreadyExistsException = {}));
|
|
18
|
+
export var AuditContext;
|
|
19
|
+
(function (AuditContext) {
|
|
20
|
+
AuditContext.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
21
|
+
})(AuditContext || (AuditContext = {}));
|
|
18
22
|
export var Column;
|
|
19
23
|
(function (Column) {
|
|
20
24
|
Column.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -119,6 +123,10 @@ export var BatchDeleteTableResponse;
|
|
|
119
123
|
(function (BatchDeleteTableResponse) {
|
|
120
124
|
BatchDeleteTableResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
121
125
|
})(BatchDeleteTableResponse || (BatchDeleteTableResponse = {}));
|
|
126
|
+
export var ResourceNotReadyException;
|
|
127
|
+
(function (ResourceNotReadyException) {
|
|
128
|
+
ResourceNotReadyException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
129
|
+
})(ResourceNotReadyException || (ResourceNotReadyException = {}));
|
|
122
130
|
export var BatchDeleteTableVersionRequest;
|
|
123
131
|
(function (BatchDeleteTableVersionRequest) {
|
|
124
132
|
BatchDeleteTableVersionRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -158,6 +166,10 @@ export var BatchGetCrawlersRequest;
|
|
|
158
166
|
(function (BatchGetCrawlersRequest) {
|
|
159
167
|
BatchGetCrawlersRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
160
168
|
})(BatchGetCrawlersRequest || (BatchGetCrawlersRequest = {}));
|
|
169
|
+
export var LakeFormationConfiguration;
|
|
170
|
+
(function (LakeFormationConfiguration) {
|
|
171
|
+
LakeFormationConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
172
|
+
})(LakeFormationConfiguration || (LakeFormationConfiguration = {}));
|
|
161
173
|
export var LastCrawlStatus;
|
|
162
174
|
(function (LastCrawlStatus) {
|
|
163
175
|
LastCrawlStatus["CANCELLED"] = "CANCELLED";
|
|
@@ -222,6 +234,10 @@ export var CatalogTarget;
|
|
|
222
234
|
(function (CatalogTarget) {
|
|
223
235
|
CatalogTarget.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
224
236
|
})(CatalogTarget || (CatalogTarget = {}));
|
|
237
|
+
export var DeltaTarget;
|
|
238
|
+
(function (DeltaTarget) {
|
|
239
|
+
DeltaTarget.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
240
|
+
})(DeltaTarget || (DeltaTarget = {}));
|
|
225
241
|
export var DynamoDBTarget;
|
|
226
242
|
(function (DynamoDBTarget) {
|
|
227
243
|
DynamoDBTarget.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -298,6 +314,10 @@ export var BatchGetPartitionResponse;
|
|
|
298
314
|
(function (BatchGetPartitionResponse) {
|
|
299
315
|
BatchGetPartitionResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
300
316
|
})(BatchGetPartitionResponse || (BatchGetPartitionResponse = {}));
|
|
317
|
+
export var InvalidStateException;
|
|
318
|
+
(function (InvalidStateException) {
|
|
319
|
+
InvalidStateException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
320
|
+
})(InvalidStateException || (InvalidStateException = {}));
|
|
301
321
|
export var BatchGetTriggersRequest;
|
|
302
322
|
(function (BatchGetTriggersRequest) {
|
|
303
323
|
BatchGetTriggersRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1301,23 +1321,3 @@ export var CrawlerMetrics;
|
|
|
1301
1321
|
(function (CrawlerMetrics) {
|
|
1302
1322
|
CrawlerMetrics.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1303
1323
|
})(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 = {}));
|
|
@@ -1,4 +1,24 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
|
+
export var GetCrawlerMetricsResponse;
|
|
3
|
+
(function (GetCrawlerMetricsResponse) {
|
|
4
|
+
GetCrawlerMetricsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
5
|
+
})(GetCrawlerMetricsResponse || (GetCrawlerMetricsResponse = {}));
|
|
6
|
+
export var GetCrawlersRequest;
|
|
7
|
+
(function (GetCrawlersRequest) {
|
|
8
|
+
GetCrawlersRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
9
|
+
})(GetCrawlersRequest || (GetCrawlersRequest = {}));
|
|
10
|
+
export var GetCrawlersResponse;
|
|
11
|
+
(function (GetCrawlersResponse) {
|
|
12
|
+
GetCrawlersResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
13
|
+
})(GetCrawlersResponse || (GetCrawlersResponse = {}));
|
|
14
|
+
export var GetDatabaseRequest;
|
|
15
|
+
(function (GetDatabaseRequest) {
|
|
16
|
+
GetDatabaseRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
17
|
+
})(GetDatabaseRequest || (GetDatabaseRequest = {}));
|
|
18
|
+
export var Database;
|
|
19
|
+
(function (Database) {
|
|
20
|
+
Database.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
21
|
+
})(Database || (Database = {}));
|
|
2
22
|
export var GetDatabaseResponse;
|
|
3
23
|
(function (GetDatabaseResponse) {
|
|
4
24
|
GetDatabaseResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -473,6 +493,47 @@ export var GetTriggersResponse;
|
|
|
473
493
|
(function (GetTriggersResponse) {
|
|
474
494
|
GetTriggersResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
475
495
|
})(GetTriggersResponse || (GetTriggersResponse = {}));
|
|
496
|
+
export var PermissionType;
|
|
497
|
+
(function (PermissionType) {
|
|
498
|
+
PermissionType["CELL_FILTER_PERMISSION"] = "CELL_FILTER_PERMISSION";
|
|
499
|
+
PermissionType["COLUMN_PERMISSION"] = "COLUMN_PERMISSION";
|
|
500
|
+
})(PermissionType || (PermissionType = {}));
|
|
501
|
+
export var GetUnfilteredPartitionMetadataRequest;
|
|
502
|
+
(function (GetUnfilteredPartitionMetadataRequest) {
|
|
503
|
+
GetUnfilteredPartitionMetadataRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
504
|
+
})(GetUnfilteredPartitionMetadataRequest || (GetUnfilteredPartitionMetadataRequest = {}));
|
|
505
|
+
export var GetUnfilteredPartitionMetadataResponse;
|
|
506
|
+
(function (GetUnfilteredPartitionMetadataResponse) {
|
|
507
|
+
GetUnfilteredPartitionMetadataResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
508
|
+
})(GetUnfilteredPartitionMetadataResponse || (GetUnfilteredPartitionMetadataResponse = {}));
|
|
509
|
+
export var PermissionTypeMismatchException;
|
|
510
|
+
(function (PermissionTypeMismatchException) {
|
|
511
|
+
PermissionTypeMismatchException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
512
|
+
})(PermissionTypeMismatchException || (PermissionTypeMismatchException = {}));
|
|
513
|
+
export var GetUnfilteredPartitionsMetadataRequest;
|
|
514
|
+
(function (GetUnfilteredPartitionsMetadataRequest) {
|
|
515
|
+
GetUnfilteredPartitionsMetadataRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
516
|
+
})(GetUnfilteredPartitionsMetadataRequest || (GetUnfilteredPartitionsMetadataRequest = {}));
|
|
517
|
+
export var UnfilteredPartition;
|
|
518
|
+
(function (UnfilteredPartition) {
|
|
519
|
+
UnfilteredPartition.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
520
|
+
})(UnfilteredPartition || (UnfilteredPartition = {}));
|
|
521
|
+
export var GetUnfilteredPartitionsMetadataResponse;
|
|
522
|
+
(function (GetUnfilteredPartitionsMetadataResponse) {
|
|
523
|
+
GetUnfilteredPartitionsMetadataResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
524
|
+
})(GetUnfilteredPartitionsMetadataResponse || (GetUnfilteredPartitionsMetadataResponse = {}));
|
|
525
|
+
export var GetUnfilteredTableMetadataRequest;
|
|
526
|
+
(function (GetUnfilteredTableMetadataRequest) {
|
|
527
|
+
GetUnfilteredTableMetadataRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
528
|
+
})(GetUnfilteredTableMetadataRequest || (GetUnfilteredTableMetadataRequest = {}));
|
|
529
|
+
export var ColumnRowFilter;
|
|
530
|
+
(function (ColumnRowFilter) {
|
|
531
|
+
ColumnRowFilter.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
532
|
+
})(ColumnRowFilter || (ColumnRowFilter = {}));
|
|
533
|
+
export var GetUnfilteredTableMetadataResponse;
|
|
534
|
+
(function (GetUnfilteredTableMetadataResponse) {
|
|
535
|
+
GetUnfilteredTableMetadataResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
536
|
+
})(GetUnfilteredTableMetadataResponse || (GetUnfilteredTableMetadataResponse = {}));
|
|
476
537
|
export var GetUserDefinedFunctionRequest;
|
|
477
538
|
(function (GetUserDefinedFunctionRequest) {
|
|
478
539
|
GetUserDefinedFunctionRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
|
+
import { GetUnfilteredPartitionsMetadataCommand, } from "../commands/GetUnfilteredPartitionsMetadataCommand";
|
|
3
|
+
import { Glue } from "../Glue";
|
|
4
|
+
import { GlueClient } from "../GlueClient";
|
|
5
|
+
var makePagedClientRequest = function (client, input) {
|
|
6
|
+
var args = [];
|
|
7
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
8
|
+
args[_i - 2] = arguments[_i];
|
|
9
|
+
}
|
|
10
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
|
+
return __generator(this, function (_a) {
|
|
12
|
+
switch (_a.label) {
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new GetUnfilteredPartitionsMetadataCommand(input)], __read(args)))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
});
|
|
18
|
+
};
|
|
19
|
+
var makePagedRequest = function (client, input) {
|
|
20
|
+
var args = [];
|
|
21
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
22
|
+
args[_i - 2] = arguments[_i];
|
|
23
|
+
}
|
|
24
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
|
+
return __generator(this, function (_a) {
|
|
26
|
+
switch (_a.label) {
|
|
27
|
+
case 0: return [4, client.getUnfilteredPartitionsMetadata.apply(client, __spreadArray([input], __read(args)))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
};
|
|
33
|
+
export function paginateGetUnfilteredPartitionsMetadata(config, input) {
|
|
34
|
+
var additionalArguments = [];
|
|
35
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
36
|
+
additionalArguments[_i - 2] = arguments[_i];
|
|
37
|
+
}
|
|
38
|
+
return __asyncGenerator(this, arguments, function paginateGetUnfilteredPartitionsMetadata_1() {
|
|
39
|
+
var token, hasNext, page;
|
|
40
|
+
return __generator(this, function (_a) {
|
|
41
|
+
switch (_a.label) {
|
|
42
|
+
case 0:
|
|
43
|
+
token = config.startingToken || undefined;
|
|
44
|
+
hasNext = true;
|
|
45
|
+
_a.label = 1;
|
|
46
|
+
case 1:
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
48
|
+
input.NextToken = token;
|
|
49
|
+
input["MaxResults"] = config.pageSize;
|
|
50
|
+
if (!(config.client instanceof Glue)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
52
|
+
case 2:
|
|
53
|
+
page = _a.sent();
|
|
54
|
+
return [3, 6];
|
|
55
|
+
case 3:
|
|
56
|
+
if (!(config.client instanceof GlueClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
58
|
+
case 4:
|
|
59
|
+
page = _a.sent();
|
|
60
|
+
return [3, 6];
|
|
61
|
+
case 5: throw new Error("Invalid client, expected Glue | GlueClient");
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
64
|
+
case 8:
|
|
65
|
+
_a.sent();
|
|
66
|
+
token = page.NextToken;
|
|
67
|
+
hasNext = !!token;
|
|
68
|
+
return [3, 1];
|
|
69
|
+
case 9: return [4, __await(undefined)];
|
|
70
|
+
case 10: return [2, _a.sent()];
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
});
|
|
74
|
+
}
|
|
@@ -17,6 +17,7 @@ export * from "./GetSecurityConfigurationsPaginator";
|
|
|
17
17
|
export * from "./GetTableVersionsPaginator";
|
|
18
18
|
export * from "./GetTablesPaginator";
|
|
19
19
|
export * from "./GetTriggersPaginator";
|
|
20
|
+
export * from "./GetUnfilteredPartitionsMetadataPaginator";
|
|
20
21
|
export * from "./GetUserDefinedFunctionsPaginator";
|
|
21
22
|
export * from "./GetWorkflowRunsPaginator";
|
|
22
23
|
export * from "./ListBlueprintsPaginator";
|