@aws-sdk/client-glue 3.74.0 → 3.78.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 +30 -0
- package/dist-cjs/Glue.js +75 -0
- package/dist-cjs/commands/BatchGetCustomEntityTypesCommand.js +36 -0
- package/dist-cjs/commands/CreateCustomEntityTypeCommand.js +36 -0
- package/dist-cjs/commands/DeleteCustomEntityTypeCommand.js +36 -0
- package/dist-cjs/commands/GetColumnStatisticsForPartitionCommand.js +2 -1
- package/dist-cjs/commands/GetColumnStatisticsForTableCommand.js +3 -3
- package/dist-cjs/commands/GetCustomEntityTypeCommand.js +36 -0
- package/dist-cjs/commands/ListCustomEntityTypesCommand.js +36 -0
- package/dist-cjs/commands/UpdateJobCommand.js +2 -1
- package/dist-cjs/commands/UpdateMLTransformCommand.js +3 -3
- package/dist-cjs/commands/UpdatePartitionCommand.js +3 -3
- package/dist-cjs/commands/UpdateRegistryCommand.js +3 -3
- package/dist-cjs/commands/UpdateSchemaCommand.js +3 -3
- package/dist-cjs/commands/UpdateTableCommand.js +3 -3
- package/dist-cjs/commands/index.js +5 -0
- package/dist-cjs/models/models_0.js +61 -65
- package/dist-cjs/models/models_1.js +76 -72
- package/dist-cjs/models/models_2.js +67 -1
- package/dist-cjs/pagination/GetBlueprintRunsPaginator.js +2 -1
- package/dist-cjs/pagination/GetClassifiersPaginator.js +2 -1
- package/dist-cjs/pagination/GetConnectionsPaginator.js +2 -1
- package/dist-cjs/pagination/GetCrawlerMetricsPaginator.js +2 -1
- package/dist-cjs/pagination/GetCrawlersPaginator.js +2 -1
- package/dist-cjs/pagination/GetDatabasesPaginator.js +2 -1
- package/dist-cjs/pagination/GetDevEndpointsPaginator.js +2 -1
- package/dist-cjs/pagination/GetJobRunsPaginator.js +2 -1
- package/dist-cjs/pagination/GetJobsPaginator.js +2 -1
- package/dist-cjs/pagination/GetMLTaskRunsPaginator.js +2 -1
- package/dist-cjs/pagination/GetMLTransformsPaginator.js +2 -1
- package/dist-cjs/pagination/GetPartitionIndexesPaginator.js +2 -1
- package/dist-cjs/pagination/GetPartitionsPaginator.js +2 -1
- package/dist-cjs/pagination/GetResourcePoliciesPaginator.js +2 -1
- package/dist-cjs/pagination/GetSecurityConfigurationsPaginator.js +2 -1
- package/dist-cjs/pagination/GetTableVersionsPaginator.js +2 -1
- package/dist-cjs/pagination/GetTablesPaginator.js +2 -1
- package/dist-cjs/pagination/GetTriggersPaginator.js +2 -1
- package/dist-cjs/pagination/GetUnfilteredPartitionsMetadataPaginator.js +2 -1
- package/dist-cjs/pagination/GetUserDefinedFunctionsPaginator.js +2 -1
- package/dist-cjs/pagination/GetWorkflowRunsPaginator.js +2 -1
- package/dist-cjs/pagination/ListBlueprintsPaginator.js +2 -1
- package/dist-cjs/pagination/ListCrawlersPaginator.js +2 -1
- package/dist-cjs/pagination/ListCustomEntityTypesPaginator.js +36 -0
- package/dist-cjs/pagination/ListDevEndpointsPaginator.js +2 -1
- package/dist-cjs/pagination/ListJobsPaginator.js +2 -1
- package/dist-cjs/pagination/ListMLTransformsPaginator.js +2 -1
- package/dist-cjs/pagination/ListRegistriesPaginator.js +2 -1
- package/dist-cjs/pagination/ListSchemaVersionsPaginator.js +2 -1
- package/dist-cjs/pagination/ListSchemasPaginator.js +2 -1
- package/dist-cjs/pagination/ListSessionsPaginator.js +2 -1
- package/dist-cjs/pagination/ListTriggersPaginator.js +2 -1
- package/dist-cjs/pagination/ListWorkflowsPaginator.js +2 -1
- package/dist-cjs/pagination/SearchTablesPaginator.js +2 -1
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_json1_1.js +421 -8
- package/dist-es/Glue.js +75 -0
- package/dist-es/commands/BatchGetCustomEntityTypesCommand.js +39 -0
- package/dist-es/commands/CreateCustomEntityTypeCommand.js +39 -0
- package/dist-es/commands/DeleteCustomEntityTypeCommand.js +39 -0
- package/dist-es/commands/GetColumnStatisticsForPartitionCommand.js +2 -1
- package/dist-es/commands/GetColumnStatisticsForTableCommand.js +1 -1
- package/dist-es/commands/GetCustomEntityTypeCommand.js +39 -0
- package/dist-es/commands/ListCustomEntityTypesCommand.js +39 -0
- package/dist-es/commands/UpdateJobCommand.js +2 -1
- package/dist-es/commands/UpdateMLTransformCommand.js +1 -1
- package/dist-es/commands/UpdatePartitionCommand.js +1 -1
- package/dist-es/commands/UpdateRegistryCommand.js +1 -1
- package/dist-es/commands/UpdateSchemaCommand.js +1 -1
- package/dist-es/commands/UpdateTableCommand.js +1 -1
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_0.js +41 -47
- package/dist-es/models/models_1.js +50 -44
- package/dist-es/models/models_2.js +44 -0
- package/dist-es/pagination/GetBlueprintRunsPaginator.js +3 -2
- package/dist-es/pagination/GetClassifiersPaginator.js +3 -2
- package/dist-es/pagination/GetConnectionsPaginator.js +3 -2
- package/dist-es/pagination/GetCrawlerMetricsPaginator.js +3 -2
- package/dist-es/pagination/GetCrawlersPaginator.js +3 -2
- package/dist-es/pagination/GetDatabasesPaginator.js +3 -2
- package/dist-es/pagination/GetDevEndpointsPaginator.js +3 -2
- package/dist-es/pagination/GetJobRunsPaginator.js +3 -2
- package/dist-es/pagination/GetJobsPaginator.js +3 -2
- package/dist-es/pagination/GetMLTaskRunsPaginator.js +3 -2
- package/dist-es/pagination/GetMLTransformsPaginator.js +3 -2
- package/dist-es/pagination/GetPartitionIndexesPaginator.js +3 -2
- package/dist-es/pagination/GetPartitionsPaginator.js +3 -2
- package/dist-es/pagination/GetResourcePoliciesPaginator.js +3 -2
- package/dist-es/pagination/GetSecurityConfigurationsPaginator.js +3 -2
- package/dist-es/pagination/GetTableVersionsPaginator.js +3 -2
- package/dist-es/pagination/GetTablesPaginator.js +3 -2
- package/dist-es/pagination/GetTriggersPaginator.js +3 -2
- package/dist-es/pagination/GetUnfilteredPartitionsMetadataPaginator.js +3 -2
- package/dist-es/pagination/GetUserDefinedFunctionsPaginator.js +3 -2
- package/dist-es/pagination/GetWorkflowRunsPaginator.js +3 -2
- package/dist-es/pagination/ListBlueprintsPaginator.js +3 -2
- package/dist-es/pagination/ListCrawlersPaginator.js +3 -2
- package/dist-es/pagination/ListCustomEntityTypesPaginator.js +75 -0
- package/dist-es/pagination/ListDevEndpointsPaginator.js +3 -2
- package/dist-es/pagination/ListJobsPaginator.js +3 -2
- package/dist-es/pagination/ListMLTransformsPaginator.js +3 -2
- package/dist-es/pagination/ListRegistriesPaginator.js +3 -2
- package/dist-es/pagination/ListSchemaVersionsPaginator.js +3 -2
- package/dist-es/pagination/ListSchemasPaginator.js +3 -2
- package/dist-es/pagination/ListSessionsPaginator.js +3 -2
- package/dist-es/pagination/ListTriggersPaginator.js +3 -2
- package/dist-es/pagination/ListWorkflowsPaginator.js +3 -2
- package/dist-es/pagination/SearchTablesPaginator.js +3 -2
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +493 -0
- package/dist-types/Glue.d.ts +37 -0
- package/dist-types/GlueClient.d.ts +7 -2
- package/dist-types/commands/BatchGetCustomEntityTypesCommand.d.ts +35 -0
- package/dist-types/commands/CreateCustomEntityTypeCommand.d.ts +37 -0
- package/dist-types/commands/DeleteCustomEntityTypeCommand.d.ts +35 -0
- package/dist-types/commands/GetColumnStatisticsForPartitionCommand.d.ts +2 -1
- package/dist-types/commands/GetColumnStatisticsForTableCommand.d.ts +1 -1
- package/dist-types/commands/GetCustomEntityTypeCommand.d.ts +35 -0
- package/dist-types/commands/ListCustomEntityTypesCommand.d.ts +35 -0
- package/dist-types/commands/UpdateJobCommand.d.ts +2 -1
- package/dist-types/commands/UpdateMLTransformCommand.d.ts +1 -1
- package/dist-types/commands/UpdatePartitionCommand.d.ts +1 -1
- package/dist-types/commands/UpdateRegistryCommand.d.ts +1 -1
- package/dist-types/commands/UpdateSchemaCommand.d.ts +1 -1
- package/dist-types/commands/UpdateTableCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +141 -170
- package/dist-types/models/models_1.d.ts +223 -261
- package/dist-types/models/models_2.d.ts +262 -1
- package/dist-types/pagination/ListCustomEntityTypesPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +15 -0
- package/dist-types/ts3.4/Glue.d.ts +25 -0
- package/dist-types/ts3.4/GlueClient.d.ts +7 -2
- package/dist-types/ts3.4/commands/BatchGetCustomEntityTypesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateCustomEntityTypeCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteCustomEntityTypeCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetColumnStatisticsForPartitionCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetColumnStatisticsForTableCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetCustomEntityTypeCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListCustomEntityTypesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateJobCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/UpdateMLTransformCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdatePartitionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateRegistryCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateSchemaCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateTableCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +35 -0
- package/dist-types/ts3.4/models/models_1.d.ts +133 -1
- package/dist-types/ts3.4/models/models_2.d.ts +137 -1
- package/dist-types/ts3.4/pagination/ListCustomEntityTypesPaginator.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 +15 -0
- package/package.json +25 -25
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
|
+
import { ListCustomEntityTypesCommand, } from "../commands/ListCustomEntityTypesCommand";
|
|
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 ListCustomEntityTypesCommand(input)], __read(args), false))];
|
|
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.listCustomEntityTypes.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
};
|
|
33
|
+
export function paginateListCustomEntityTypes(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 paginateListCustomEntityTypes_1() {
|
|
39
|
+
var token, hasNext, page, prevToken;
|
|
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), false)))];
|
|
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), false)))];
|
|
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
|
+
prevToken = token;
|
|
67
|
+
token = page.NextToken;
|
|
68
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
69
|
+
return [3, 1];
|
|
70
|
+
case 9: return [4, __await(undefined)];
|
|
71
|
+
case 10: return [2, _a.sent()];
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
});
|
|
75
|
+
}
|
|
@@ -36,7 +36,7 @@ export function paginateListDevEndpoints(config, input) {
|
|
|
36
36
|
additionalArguments[_i - 2] = arguments[_i];
|
|
37
37
|
}
|
|
38
38
|
return __asyncGenerator(this, arguments, function paginateListDevEndpoints_1() {
|
|
39
|
-
var token, hasNext, page;
|
|
39
|
+
var token, hasNext, page, prevToken;
|
|
40
40
|
return __generator(this, function (_a) {
|
|
41
41
|
switch (_a.label) {
|
|
42
42
|
case 0:
|
|
@@ -63,8 +63,9 @@ export function paginateListDevEndpoints(config, input) {
|
|
|
63
63
|
case 7: return [4, _a.sent()];
|
|
64
64
|
case 8:
|
|
65
65
|
_a.sent();
|
|
66
|
+
prevToken = token;
|
|
66
67
|
token = page.NextToken;
|
|
67
|
-
hasNext = !!token;
|
|
68
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
68
69
|
return [3, 1];
|
|
69
70
|
case 9: return [4, __await(undefined)];
|
|
70
71
|
case 10: return [2, _a.sent()];
|
|
@@ -36,7 +36,7 @@ export function paginateListJobs(config, input) {
|
|
|
36
36
|
additionalArguments[_i - 2] = arguments[_i];
|
|
37
37
|
}
|
|
38
38
|
return __asyncGenerator(this, arguments, function paginateListJobs_1() {
|
|
39
|
-
var token, hasNext, page;
|
|
39
|
+
var token, hasNext, page, prevToken;
|
|
40
40
|
return __generator(this, function (_a) {
|
|
41
41
|
switch (_a.label) {
|
|
42
42
|
case 0:
|
|
@@ -63,8 +63,9 @@ export function paginateListJobs(config, input) {
|
|
|
63
63
|
case 7: return [4, _a.sent()];
|
|
64
64
|
case 8:
|
|
65
65
|
_a.sent();
|
|
66
|
+
prevToken = token;
|
|
66
67
|
token = page.NextToken;
|
|
67
|
-
hasNext = !!token;
|
|
68
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
68
69
|
return [3, 1];
|
|
69
70
|
case 9: return [4, __await(undefined)];
|
|
70
71
|
case 10: return [2, _a.sent()];
|
|
@@ -36,7 +36,7 @@ export function paginateListMLTransforms(config, input) {
|
|
|
36
36
|
additionalArguments[_i - 2] = arguments[_i];
|
|
37
37
|
}
|
|
38
38
|
return __asyncGenerator(this, arguments, function paginateListMLTransforms_1() {
|
|
39
|
-
var token, hasNext, page;
|
|
39
|
+
var token, hasNext, page, prevToken;
|
|
40
40
|
return __generator(this, function (_a) {
|
|
41
41
|
switch (_a.label) {
|
|
42
42
|
case 0:
|
|
@@ -63,8 +63,9 @@ export function paginateListMLTransforms(config, input) {
|
|
|
63
63
|
case 7: return [4, _a.sent()];
|
|
64
64
|
case 8:
|
|
65
65
|
_a.sent();
|
|
66
|
+
prevToken = token;
|
|
66
67
|
token = page.NextToken;
|
|
67
|
-
hasNext = !!token;
|
|
68
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
68
69
|
return [3, 1];
|
|
69
70
|
case 9: return [4, __await(undefined)];
|
|
70
71
|
case 10: return [2, _a.sent()];
|
|
@@ -36,7 +36,7 @@ export function paginateListRegistries(config, input) {
|
|
|
36
36
|
additionalArguments[_i - 2] = arguments[_i];
|
|
37
37
|
}
|
|
38
38
|
return __asyncGenerator(this, arguments, function paginateListRegistries_1() {
|
|
39
|
-
var token, hasNext, page;
|
|
39
|
+
var token, hasNext, page, prevToken;
|
|
40
40
|
return __generator(this, function (_a) {
|
|
41
41
|
switch (_a.label) {
|
|
42
42
|
case 0:
|
|
@@ -63,8 +63,9 @@ export function paginateListRegistries(config, input) {
|
|
|
63
63
|
case 7: return [4, _a.sent()];
|
|
64
64
|
case 8:
|
|
65
65
|
_a.sent();
|
|
66
|
+
prevToken = token;
|
|
66
67
|
token = page.NextToken;
|
|
67
|
-
hasNext = !!token;
|
|
68
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
68
69
|
return [3, 1];
|
|
69
70
|
case 9: return [4, __await(undefined)];
|
|
70
71
|
case 10: return [2, _a.sent()];
|
|
@@ -36,7 +36,7 @@ export function paginateListSchemaVersions(config, input) {
|
|
|
36
36
|
additionalArguments[_i - 2] = arguments[_i];
|
|
37
37
|
}
|
|
38
38
|
return __asyncGenerator(this, arguments, function paginateListSchemaVersions_1() {
|
|
39
|
-
var token, hasNext, page;
|
|
39
|
+
var token, hasNext, page, prevToken;
|
|
40
40
|
return __generator(this, function (_a) {
|
|
41
41
|
switch (_a.label) {
|
|
42
42
|
case 0:
|
|
@@ -63,8 +63,9 @@ export function paginateListSchemaVersions(config, input) {
|
|
|
63
63
|
case 7: return [4, _a.sent()];
|
|
64
64
|
case 8:
|
|
65
65
|
_a.sent();
|
|
66
|
+
prevToken = token;
|
|
66
67
|
token = page.NextToken;
|
|
67
|
-
hasNext = !!token;
|
|
68
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
68
69
|
return [3, 1];
|
|
69
70
|
case 9: return [4, __await(undefined)];
|
|
70
71
|
case 10: return [2, _a.sent()];
|
|
@@ -36,7 +36,7 @@ export function paginateListSchemas(config, input) {
|
|
|
36
36
|
additionalArguments[_i - 2] = arguments[_i];
|
|
37
37
|
}
|
|
38
38
|
return __asyncGenerator(this, arguments, function paginateListSchemas_1() {
|
|
39
|
-
var token, hasNext, page;
|
|
39
|
+
var token, hasNext, page, prevToken;
|
|
40
40
|
return __generator(this, function (_a) {
|
|
41
41
|
switch (_a.label) {
|
|
42
42
|
case 0:
|
|
@@ -63,8 +63,9 @@ export function paginateListSchemas(config, input) {
|
|
|
63
63
|
case 7: return [4, _a.sent()];
|
|
64
64
|
case 8:
|
|
65
65
|
_a.sent();
|
|
66
|
+
prevToken = token;
|
|
66
67
|
token = page.NextToken;
|
|
67
|
-
hasNext = !!token;
|
|
68
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
68
69
|
return [3, 1];
|
|
69
70
|
case 9: return [4, __await(undefined)];
|
|
70
71
|
case 10: return [2, _a.sent()];
|
|
@@ -36,7 +36,7 @@ export function paginateListSessions(config, input) {
|
|
|
36
36
|
additionalArguments[_i - 2] = arguments[_i];
|
|
37
37
|
}
|
|
38
38
|
return __asyncGenerator(this, arguments, function paginateListSessions_1() {
|
|
39
|
-
var token, hasNext, page;
|
|
39
|
+
var token, hasNext, page, prevToken;
|
|
40
40
|
return __generator(this, function (_a) {
|
|
41
41
|
switch (_a.label) {
|
|
42
42
|
case 0:
|
|
@@ -63,8 +63,9 @@ export function paginateListSessions(config, input) {
|
|
|
63
63
|
case 7: return [4, _a.sent()];
|
|
64
64
|
case 8:
|
|
65
65
|
_a.sent();
|
|
66
|
+
prevToken = token;
|
|
66
67
|
token = page.NextToken;
|
|
67
|
-
hasNext = !!token;
|
|
68
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
68
69
|
return [3, 1];
|
|
69
70
|
case 9: return [4, __await(undefined)];
|
|
70
71
|
case 10: return [2, _a.sent()];
|
|
@@ -36,7 +36,7 @@ export function paginateListTriggers(config, input) {
|
|
|
36
36
|
additionalArguments[_i - 2] = arguments[_i];
|
|
37
37
|
}
|
|
38
38
|
return __asyncGenerator(this, arguments, function paginateListTriggers_1() {
|
|
39
|
-
var token, hasNext, page;
|
|
39
|
+
var token, hasNext, page, prevToken;
|
|
40
40
|
return __generator(this, function (_a) {
|
|
41
41
|
switch (_a.label) {
|
|
42
42
|
case 0:
|
|
@@ -63,8 +63,9 @@ export function paginateListTriggers(config, input) {
|
|
|
63
63
|
case 7: return [4, _a.sent()];
|
|
64
64
|
case 8:
|
|
65
65
|
_a.sent();
|
|
66
|
+
prevToken = token;
|
|
66
67
|
token = page.NextToken;
|
|
67
|
-
hasNext = !!token;
|
|
68
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
68
69
|
return [3, 1];
|
|
69
70
|
case 9: return [4, __await(undefined)];
|
|
70
71
|
case 10: return [2, _a.sent()];
|
|
@@ -36,7 +36,7 @@ export function paginateListWorkflows(config, input) {
|
|
|
36
36
|
additionalArguments[_i - 2] = arguments[_i];
|
|
37
37
|
}
|
|
38
38
|
return __asyncGenerator(this, arguments, function paginateListWorkflows_1() {
|
|
39
|
-
var token, hasNext, page;
|
|
39
|
+
var token, hasNext, page, prevToken;
|
|
40
40
|
return __generator(this, function (_a) {
|
|
41
41
|
switch (_a.label) {
|
|
42
42
|
case 0:
|
|
@@ -63,8 +63,9 @@ export function paginateListWorkflows(config, input) {
|
|
|
63
63
|
case 7: return [4, _a.sent()];
|
|
64
64
|
case 8:
|
|
65
65
|
_a.sent();
|
|
66
|
+
prevToken = token;
|
|
66
67
|
token = page.NextToken;
|
|
67
|
-
hasNext = !!token;
|
|
68
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
68
69
|
return [3, 1];
|
|
69
70
|
case 9: return [4, __await(undefined)];
|
|
70
71
|
case 10: return [2, _a.sent()];
|
|
@@ -36,7 +36,7 @@ export function paginateSearchTables(config, input) {
|
|
|
36
36
|
additionalArguments[_i - 2] = arguments[_i];
|
|
37
37
|
}
|
|
38
38
|
return __asyncGenerator(this, arguments, function paginateSearchTables_1() {
|
|
39
|
-
var token, hasNext, page;
|
|
39
|
+
var token, hasNext, page, prevToken;
|
|
40
40
|
return __generator(this, function (_a) {
|
|
41
41
|
switch (_a.label) {
|
|
42
42
|
case 0:
|
|
@@ -63,8 +63,9 @@ export function paginateSearchTables(config, input) {
|
|
|
63
63
|
case 7: return [4, _a.sent()];
|
|
64
64
|
case 8:
|
|
65
65
|
_a.sent();
|
|
66
|
+
prevToken = token;
|
|
66
67
|
token = page.NextToken;
|
|
67
|
-
hasNext = !!token;
|
|
68
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
68
69
|
return [3, 1];
|
|
69
70
|
case 9: return [4, __await(undefined)];
|
|
70
71
|
case 10: return [2, _a.sent()];
|
|
@@ -22,6 +22,7 @@ export * from "./GetUserDefinedFunctionsPaginator";
|
|
|
22
22
|
export * from "./GetWorkflowRunsPaginator";
|
|
23
23
|
export * from "./ListBlueprintsPaginator";
|
|
24
24
|
export * from "./ListCrawlersPaginator";
|
|
25
|
+
export * from "./ListCustomEntityTypesPaginator";
|
|
25
26
|
export * from "./ListDevEndpointsPaginator";
|
|
26
27
|
export * from "./ListJobsPaginator";
|
|
27
28
|
export * from "./ListMLTransformsPaginator";
|