@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.
- package/CHANGELOG.md +45 -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/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 +0 -24
- package/dist-cjs/models/models_0.js +22 -124
- package/dist-cjs/models/models_1.js +77 -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 +545 -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/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 +0 -24
- package/dist-es/models/models_0.js +12 -80
- package/dist-es/models/models_1.js +49 -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 +538 -7
- 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/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 +49 -148
- package/dist-types/models/models_1.d.ts +172 -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/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 +32 -38
- package/dist-types/ts3.4/models/models_1.d.ts +126 -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 +39 -46
|
@@ -1,4 +1,16 @@
|
|
|
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 = {}));
|
|
2
14
|
export var GetDatabaseRequest;
|
|
3
15
|
(function (GetDatabaseRequest) {
|
|
4
16
|
GetDatabaseRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -481,6 +493,43 @@ export var GetTriggersResponse;
|
|
|
481
493
|
(function (GetTriggersResponse) {
|
|
482
494
|
GetTriggersResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
483
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 = {}));
|
|
484
533
|
export var GetUserDefinedFunctionRequest;
|
|
485
534
|
(function (GetUserDefinedFunctionRequest) {
|
|
486
535
|
GetUserDefinedFunctionRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -720,14 +769,6 @@ export var ResetJobBookmarkResponse;
|
|
|
720
769
|
(function (ResetJobBookmarkResponse) {
|
|
721
770
|
ResetJobBookmarkResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
722
771
|
})(ResetJobBookmarkResponse || (ResetJobBookmarkResponse = {}));
|
|
723
|
-
export var ConcurrentRunsExceededException;
|
|
724
|
-
(function (ConcurrentRunsExceededException) {
|
|
725
|
-
ConcurrentRunsExceededException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
726
|
-
})(ConcurrentRunsExceededException || (ConcurrentRunsExceededException = {}));
|
|
727
|
-
export var IllegalWorkflowStateException;
|
|
728
|
-
(function (IllegalWorkflowStateException) {
|
|
729
|
-
IllegalWorkflowStateException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
730
|
-
})(IllegalWorkflowStateException || (IllegalWorkflowStateException = {}));
|
|
731
772
|
export var ResumeWorkflowRunRequest;
|
|
732
773
|
(function (ResumeWorkflowRunRequest) {
|
|
733
774
|
ResumeWorkflowRunRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -765,10 +806,6 @@ export var SearchTablesResponse;
|
|
|
765
806
|
(function (SearchTablesResponse) {
|
|
766
807
|
SearchTablesResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
767
808
|
})(SearchTablesResponse || (SearchTablesResponse = {}));
|
|
768
|
-
export var IllegalBlueprintStateException;
|
|
769
|
-
(function (IllegalBlueprintStateException) {
|
|
770
|
-
IllegalBlueprintStateException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
771
|
-
})(IllegalBlueprintStateException || (IllegalBlueprintStateException = {}));
|
|
772
809
|
export var StartBlueprintRunRequest;
|
|
773
810
|
(function (StartBlueprintRunRequest) {
|
|
774
811
|
StartBlueprintRunRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -785,14 +822,6 @@ export var StartCrawlerResponse;
|
|
|
785
822
|
(function (StartCrawlerResponse) {
|
|
786
823
|
StartCrawlerResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
787
824
|
})(StartCrawlerResponse || (StartCrawlerResponse = {}));
|
|
788
|
-
export var NoScheduleException;
|
|
789
|
-
(function (NoScheduleException) {
|
|
790
|
-
NoScheduleException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
791
|
-
})(NoScheduleException || (NoScheduleException = {}));
|
|
792
|
-
export var SchedulerRunningException;
|
|
793
|
-
(function (SchedulerRunningException) {
|
|
794
|
-
SchedulerRunningException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
795
|
-
})(SchedulerRunningException || (SchedulerRunningException = {}));
|
|
796
825
|
export var StartCrawlerScheduleRequest;
|
|
797
826
|
(function (StartCrawlerScheduleRequest) {
|
|
798
827
|
StartCrawlerScheduleRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -825,10 +854,6 @@ export var StartJobRunResponse;
|
|
|
825
854
|
(function (StartJobRunResponse) {
|
|
826
855
|
StartJobRunResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
827
856
|
})(StartJobRunResponse || (StartJobRunResponse = {}));
|
|
828
|
-
export var MLTransformNotReadyException;
|
|
829
|
-
(function (MLTransformNotReadyException) {
|
|
830
|
-
MLTransformNotReadyException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
831
|
-
})(MLTransformNotReadyException || (MLTransformNotReadyException = {}));
|
|
832
857
|
export var StartMLEvaluationTaskRunRequest;
|
|
833
858
|
(function (StartMLEvaluationTaskRunRequest) {
|
|
834
859
|
StartMLEvaluationTaskRunRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -861,14 +886,6 @@ export var StartWorkflowRunResponse;
|
|
|
861
886
|
(function (StartWorkflowRunResponse) {
|
|
862
887
|
StartWorkflowRunResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
863
888
|
})(StartWorkflowRunResponse || (StartWorkflowRunResponse = {}));
|
|
864
|
-
export var CrawlerNotRunningException;
|
|
865
|
-
(function (CrawlerNotRunningException) {
|
|
866
|
-
CrawlerNotRunningException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
867
|
-
})(CrawlerNotRunningException || (CrawlerNotRunningException = {}));
|
|
868
|
-
export var CrawlerStoppingException;
|
|
869
|
-
(function (CrawlerStoppingException) {
|
|
870
|
-
CrawlerStoppingException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
871
|
-
})(CrawlerStoppingException || (CrawlerStoppingException = {}));
|
|
872
889
|
export var StopCrawlerRequest;
|
|
873
890
|
(function (StopCrawlerRequest) {
|
|
874
891
|
StopCrawlerRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -877,10 +894,6 @@ export var StopCrawlerResponse;
|
|
|
877
894
|
(function (StopCrawlerResponse) {
|
|
878
895
|
StopCrawlerResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
879
896
|
})(StopCrawlerResponse || (StopCrawlerResponse = {}));
|
|
880
|
-
export var SchedulerNotRunningException;
|
|
881
|
-
(function (SchedulerNotRunningException) {
|
|
882
|
-
SchedulerNotRunningException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
883
|
-
})(SchedulerNotRunningException || (SchedulerNotRunningException = {}));
|
|
884
897
|
export var StopCrawlerScheduleRequest;
|
|
885
898
|
(function (StopCrawlerScheduleRequest) {
|
|
886
899
|
StopCrawlerScheduleRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -953,10 +966,6 @@ export var UpdateClassifierResponse;
|
|
|
953
966
|
(function (UpdateClassifierResponse) {
|
|
954
967
|
UpdateClassifierResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
955
968
|
})(UpdateClassifierResponse || (UpdateClassifierResponse = {}));
|
|
956
|
-
export var VersionMismatchException;
|
|
957
|
-
(function (VersionMismatchException) {
|
|
958
|
-
VersionMismatchException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
959
|
-
})(VersionMismatchException || (VersionMismatchException = {}));
|
|
960
969
|
export var UpdateColumnStatisticsForPartitionRequest;
|
|
961
970
|
(function (UpdateColumnStatisticsForPartitionRequest) {
|
|
962
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";
|