@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.
- package/CHANGELOG.md +51 -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 -24
- package/dist-cjs/models/models_0.js +22 -124
- package/dist-cjs/models/models_1.js +89 -66
- 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.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +9 -3
- 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 -24
- package/dist-es/models/models_0.js +12 -80
- package/dist-es/models/models_1.js +57 -40
- 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.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -6
- package/dist-types/Glue.d.ts +12 -0
- package/dist-types/GlueClient.d.ts +10 -3
- 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 +83 -202
- package/dist-types/models/models_1.d.ts +266 -61
- 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/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/runtimeConfig.d.ts +4 -3
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/Glue.d.ts +12 -0
- package/dist-types/ts3.4/GlueClient.d.ts +8 -3
- 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 +48 -30
- package/dist-types/ts3.4/models/models_1.d.ts +173 -41
- 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/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +38 -45
|
@@ -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,43 @@ 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 GetUnfilteredPartitionsMetadataRequest;
|
|
510
|
+
(function (GetUnfilteredPartitionsMetadataRequest) {
|
|
511
|
+
GetUnfilteredPartitionsMetadataRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
512
|
+
})(GetUnfilteredPartitionsMetadataRequest || (GetUnfilteredPartitionsMetadataRequest = {}));
|
|
513
|
+
export var UnfilteredPartition;
|
|
514
|
+
(function (UnfilteredPartition) {
|
|
515
|
+
UnfilteredPartition.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
516
|
+
})(UnfilteredPartition || (UnfilteredPartition = {}));
|
|
517
|
+
export var GetUnfilteredPartitionsMetadataResponse;
|
|
518
|
+
(function (GetUnfilteredPartitionsMetadataResponse) {
|
|
519
|
+
GetUnfilteredPartitionsMetadataResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
520
|
+
})(GetUnfilteredPartitionsMetadataResponse || (GetUnfilteredPartitionsMetadataResponse = {}));
|
|
521
|
+
export var GetUnfilteredTableMetadataRequest;
|
|
522
|
+
(function (GetUnfilteredTableMetadataRequest) {
|
|
523
|
+
GetUnfilteredTableMetadataRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
524
|
+
})(GetUnfilteredTableMetadataRequest || (GetUnfilteredTableMetadataRequest = {}));
|
|
525
|
+
export var ColumnRowFilter;
|
|
526
|
+
(function (ColumnRowFilter) {
|
|
527
|
+
ColumnRowFilter.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
528
|
+
})(ColumnRowFilter || (ColumnRowFilter = {}));
|
|
529
|
+
export var GetUnfilteredTableMetadataResponse;
|
|
530
|
+
(function (GetUnfilteredTableMetadataResponse) {
|
|
531
|
+
GetUnfilteredTableMetadataResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
532
|
+
})(GetUnfilteredTableMetadataResponse || (GetUnfilteredTableMetadataResponse = {}));
|
|
476
533
|
export var GetUserDefinedFunctionRequest;
|
|
477
534
|
(function (GetUserDefinedFunctionRequest) {
|
|
478
535
|
GetUserDefinedFunctionRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -712,14 +769,6 @@ export var ResetJobBookmarkResponse;
|
|
|
712
769
|
(function (ResetJobBookmarkResponse) {
|
|
713
770
|
ResetJobBookmarkResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
714
771
|
})(ResetJobBookmarkResponse || (ResetJobBookmarkResponse = {}));
|
|
715
|
-
export var ConcurrentRunsExceededException;
|
|
716
|
-
(function (ConcurrentRunsExceededException) {
|
|
717
|
-
ConcurrentRunsExceededException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
718
|
-
})(ConcurrentRunsExceededException || (ConcurrentRunsExceededException = {}));
|
|
719
|
-
export var IllegalWorkflowStateException;
|
|
720
|
-
(function (IllegalWorkflowStateException) {
|
|
721
|
-
IllegalWorkflowStateException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
722
|
-
})(IllegalWorkflowStateException || (IllegalWorkflowStateException = {}));
|
|
723
772
|
export var ResumeWorkflowRunRequest;
|
|
724
773
|
(function (ResumeWorkflowRunRequest) {
|
|
725
774
|
ResumeWorkflowRunRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -757,10 +806,6 @@ export var SearchTablesResponse;
|
|
|
757
806
|
(function (SearchTablesResponse) {
|
|
758
807
|
SearchTablesResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
759
808
|
})(SearchTablesResponse || (SearchTablesResponse = {}));
|
|
760
|
-
export var IllegalBlueprintStateException;
|
|
761
|
-
(function (IllegalBlueprintStateException) {
|
|
762
|
-
IllegalBlueprintStateException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
763
|
-
})(IllegalBlueprintStateException || (IllegalBlueprintStateException = {}));
|
|
764
809
|
export var StartBlueprintRunRequest;
|
|
765
810
|
(function (StartBlueprintRunRequest) {
|
|
766
811
|
StartBlueprintRunRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -777,14 +822,6 @@ export var StartCrawlerResponse;
|
|
|
777
822
|
(function (StartCrawlerResponse) {
|
|
778
823
|
StartCrawlerResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
779
824
|
})(StartCrawlerResponse || (StartCrawlerResponse = {}));
|
|
780
|
-
export var NoScheduleException;
|
|
781
|
-
(function (NoScheduleException) {
|
|
782
|
-
NoScheduleException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
783
|
-
})(NoScheduleException || (NoScheduleException = {}));
|
|
784
|
-
export var SchedulerRunningException;
|
|
785
|
-
(function (SchedulerRunningException) {
|
|
786
|
-
SchedulerRunningException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
787
|
-
})(SchedulerRunningException || (SchedulerRunningException = {}));
|
|
788
825
|
export var StartCrawlerScheduleRequest;
|
|
789
826
|
(function (StartCrawlerScheduleRequest) {
|
|
790
827
|
StartCrawlerScheduleRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -817,10 +854,6 @@ export var StartJobRunResponse;
|
|
|
817
854
|
(function (StartJobRunResponse) {
|
|
818
855
|
StartJobRunResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
819
856
|
})(StartJobRunResponse || (StartJobRunResponse = {}));
|
|
820
|
-
export var MLTransformNotReadyException;
|
|
821
|
-
(function (MLTransformNotReadyException) {
|
|
822
|
-
MLTransformNotReadyException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
823
|
-
})(MLTransformNotReadyException || (MLTransformNotReadyException = {}));
|
|
824
857
|
export var StartMLEvaluationTaskRunRequest;
|
|
825
858
|
(function (StartMLEvaluationTaskRunRequest) {
|
|
826
859
|
StartMLEvaluationTaskRunRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -853,14 +886,6 @@ export var StartWorkflowRunResponse;
|
|
|
853
886
|
(function (StartWorkflowRunResponse) {
|
|
854
887
|
StartWorkflowRunResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
855
888
|
})(StartWorkflowRunResponse || (StartWorkflowRunResponse = {}));
|
|
856
|
-
export var CrawlerNotRunningException;
|
|
857
|
-
(function (CrawlerNotRunningException) {
|
|
858
|
-
CrawlerNotRunningException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
859
|
-
})(CrawlerNotRunningException || (CrawlerNotRunningException = {}));
|
|
860
|
-
export var CrawlerStoppingException;
|
|
861
|
-
(function (CrawlerStoppingException) {
|
|
862
|
-
CrawlerStoppingException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
863
|
-
})(CrawlerStoppingException || (CrawlerStoppingException = {}));
|
|
864
889
|
export var StopCrawlerRequest;
|
|
865
890
|
(function (StopCrawlerRequest) {
|
|
866
891
|
StopCrawlerRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -869,10 +894,6 @@ export var StopCrawlerResponse;
|
|
|
869
894
|
(function (StopCrawlerResponse) {
|
|
870
895
|
StopCrawlerResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
871
896
|
})(StopCrawlerResponse || (StopCrawlerResponse = {}));
|
|
872
|
-
export var SchedulerNotRunningException;
|
|
873
|
-
(function (SchedulerNotRunningException) {
|
|
874
|
-
SchedulerNotRunningException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
875
|
-
})(SchedulerNotRunningException || (SchedulerNotRunningException = {}));
|
|
876
897
|
export var StopCrawlerScheduleRequest;
|
|
877
898
|
(function (StopCrawlerScheduleRequest) {
|
|
878
899
|
StopCrawlerScheduleRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -945,10 +966,6 @@ export var UpdateClassifierResponse;
|
|
|
945
966
|
(function (UpdateClassifierResponse) {
|
|
946
967
|
UpdateClassifierResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
947
968
|
})(UpdateClassifierResponse || (UpdateClassifierResponse = {}));
|
|
948
|
-
export var VersionMismatchException;
|
|
949
|
-
(function (VersionMismatchException) {
|
|
950
|
-
VersionMismatchException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
951
|
-
})(VersionMismatchException || (VersionMismatchException = {}));
|
|
952
969
|
export var UpdateColumnStatisticsForPartitionRequest;
|
|
953
970
|
(function (UpdateColumnStatisticsForPartitionRequest) {
|
|
954
971
|
UpdateColumnStatisticsForPartitionRequest.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";
|