@aws-sdk/client-glue 3.219.0 → 3.221.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/dist-cjs/Glue.js +240 -0
- package/dist-cjs/commands/BatchGetDataQualityResultCommand.js +46 -0
- package/dist-cjs/commands/CancelDataQualityRuleRecommendationRunCommand.js +46 -0
- package/dist-cjs/commands/CancelDataQualityRulesetEvaluationRunCommand.js +46 -0
- package/dist-cjs/commands/CreateDataQualityRulesetCommand.js +46 -0
- package/dist-cjs/commands/CreateSecurityConfigurationCommand.js +3 -3
- package/dist-cjs/commands/CreateSessionCommand.js +3 -3
- package/dist-cjs/commands/CreateTableCommand.js +3 -3
- package/dist-cjs/commands/CreateTriggerCommand.js +3 -3
- package/dist-cjs/commands/DeleteDataQualityRulesetCommand.js +46 -0
- package/dist-cjs/commands/GetDataQualityResultCommand.js +46 -0
- package/dist-cjs/commands/GetDataQualityRuleRecommendationRunCommand.js +46 -0
- package/dist-cjs/commands/GetDataQualityRulesetCommand.js +46 -0
- package/dist-cjs/commands/GetDataQualityRulesetEvaluationRunCommand.js +46 -0
- package/dist-cjs/commands/ListDataQualityResultsCommand.js +46 -0
- package/dist-cjs/commands/ListDataQualityRuleRecommendationRunsCommand.js +46 -0
- package/dist-cjs/commands/ListDataQualityRulesetEvaluationRunsCommand.js +46 -0
- package/dist-cjs/commands/ListDataQualityRulesetsCommand.js +46 -0
- package/dist-cjs/commands/ListDevEndpointsCommand.js +3 -3
- package/dist-cjs/commands/ListJobsCommand.js +3 -3
- package/dist-cjs/commands/ListMLTransformsCommand.js +3 -3
- package/dist-cjs/commands/ListRegistriesCommand.js +3 -3
- package/dist-cjs/commands/ListSchemaVersionsCommand.js +3 -3
- package/dist-cjs/commands/ListSchemasCommand.js +3 -3
- package/dist-cjs/commands/ListSessionsCommand.js +3 -3
- package/dist-cjs/commands/ListStatementsCommand.js +3 -3
- package/dist-cjs/commands/ListTriggersCommand.js +3 -3
- package/dist-cjs/commands/ListWorkflowsCommand.js +3 -3
- package/dist-cjs/commands/PutDataCatalogEncryptionSettingsCommand.js +3 -3
- package/dist-cjs/commands/PutResourcePolicyCommand.js +3 -3
- package/dist-cjs/commands/StartDataQualityRuleRecommendationRunCommand.js +46 -0
- package/dist-cjs/commands/StartDataQualityRulesetEvaluationRunCommand.js +46 -0
- package/dist-cjs/commands/UpdateDataQualityRulesetCommand.js +46 -0
- package/dist-cjs/commands/index.js +16 -0
- package/dist-cjs/models/models_0.js +86 -91
- package/dist-cjs/models/models_1.js +133 -127
- package/dist-cjs/models/models_2.js +211 -3
- package/dist-cjs/pagination/ListDataQualityResultsPaginator.js +36 -0
- package/dist-cjs/pagination/ListDataQualityRuleRecommendationRunsPaginator.js +36 -0
- package/dist-cjs/pagination/ListDataQualityRulesetEvaluationRunsPaginator.js +36 -0
- package/dist-cjs/pagination/ListDataQualityRulesetsPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +4 -0
- package/dist-cjs/protocols/Aws_json1_1.js +1492 -40
- package/dist-es/Glue.js +240 -0
- package/dist-es/commands/BatchGetDataQualityResultCommand.js +42 -0
- package/dist-es/commands/CancelDataQualityRuleRecommendationRunCommand.js +42 -0
- package/dist-es/commands/CancelDataQualityRulesetEvaluationRunCommand.js +42 -0
- package/dist-es/commands/CreateDataQualityRulesetCommand.js +42 -0
- package/dist-es/commands/CreateSecurityConfigurationCommand.js +1 -1
- package/dist-es/commands/CreateSessionCommand.js +1 -1
- package/dist-es/commands/CreateTableCommand.js +1 -1
- package/dist-es/commands/CreateTriggerCommand.js +1 -1
- package/dist-es/commands/DeleteDataQualityRulesetCommand.js +42 -0
- package/dist-es/commands/GetDataQualityResultCommand.js +42 -0
- package/dist-es/commands/GetDataQualityRuleRecommendationRunCommand.js +42 -0
- package/dist-es/commands/GetDataQualityRulesetCommand.js +42 -0
- package/dist-es/commands/GetDataQualityRulesetEvaluationRunCommand.js +42 -0
- package/dist-es/commands/ListDataQualityResultsCommand.js +42 -0
- package/dist-es/commands/ListDataQualityRuleRecommendationRunsCommand.js +42 -0
- package/dist-es/commands/ListDataQualityRulesetEvaluationRunsCommand.js +42 -0
- package/dist-es/commands/ListDataQualityRulesetsCommand.js +42 -0
- package/dist-es/commands/ListDevEndpointsCommand.js +1 -1
- package/dist-es/commands/ListJobsCommand.js +1 -1
- package/dist-es/commands/ListMLTransformsCommand.js +1 -1
- package/dist-es/commands/ListRegistriesCommand.js +1 -1
- package/dist-es/commands/ListSchemaVersionsCommand.js +1 -1
- package/dist-es/commands/ListSchemasCommand.js +1 -1
- package/dist-es/commands/ListSessionsCommand.js +1 -1
- package/dist-es/commands/ListStatementsCommand.js +1 -1
- package/dist-es/commands/ListTriggersCommand.js +1 -1
- package/dist-es/commands/ListWorkflowsCommand.js +1 -1
- package/dist-es/commands/PutDataCatalogEncryptionSettingsCommand.js +1 -1
- package/dist-es/commands/PutResourcePolicyCommand.js +1 -1
- package/dist-es/commands/StartDataQualityRuleRecommendationRunCommand.js +42 -0
- package/dist-es/commands/StartDataQualityRulesetEvaluationRunCommand.js +42 -0
- package/dist-es/commands/UpdateDataQualityRulesetCommand.js +42 -0
- package/dist-es/commands/index.js +16 -0
- package/dist-es/models/models_0.js +64 -69
- package/dist-es/models/models_1.js +100 -93
- package/dist-es/models/models_2.js +158 -0
- package/dist-es/pagination/ListDataQualityResultsPaginator.js +32 -0
- package/dist-es/pagination/ListDataQualityRuleRecommendationRunsPaginator.js +32 -0
- package/dist-es/pagination/ListDataQualityRulesetEvaluationRunsPaginator.js +32 -0
- package/dist-es/pagination/ListDataQualityRulesetsPaginator.js +32 -0
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/protocols/Aws_json1_1.js +1448 -29
- package/dist-types/Glue.d.ts +166 -22
- package/dist-types/GlueClient.d.ts +18 -2
- package/dist-types/commands/BatchGetDataQualityResultCommand.d.ts +37 -0
- package/dist-types/commands/CancelDataQualityRuleRecommendationRunCommand.d.ts +37 -0
- package/dist-types/commands/CancelDataQualityRulesetEvaluationRunCommand.d.ts +37 -0
- package/dist-types/commands/CreateCustomEntityTypeCommand.d.ts +2 -1
- package/dist-types/commands/CreateDataQualityRulesetCommand.d.ts +39 -0
- package/dist-types/commands/CreateMLTransformCommand.d.ts +3 -1
- package/dist-types/commands/CreateSecurityConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/CreateSessionCommand.d.ts +1 -1
- package/dist-types/commands/CreateTableCommand.d.ts +1 -1
- package/dist-types/commands/CreateTriggerCommand.d.ts +1 -1
- package/dist-types/commands/DeleteColumnStatisticsForPartitionCommand.d.ts +2 -1
- package/dist-types/commands/DeleteColumnStatisticsForTableCommand.d.ts +2 -1
- package/dist-types/commands/DeleteDataQualityRulesetCommand.d.ts +37 -0
- package/dist-types/commands/GetColumnStatisticsForPartitionCommand.d.ts +2 -1
- package/dist-types/commands/GetColumnStatisticsForTableCommand.d.ts +1 -0
- package/dist-types/commands/GetDataQualityResultCommand.d.ts +37 -0
- package/dist-types/commands/GetDataQualityRuleRecommendationRunCommand.d.ts +37 -0
- package/dist-types/commands/GetDataQualityRulesetCommand.d.ts +37 -0
- package/dist-types/commands/GetDataQualityRulesetEvaluationRunCommand.d.ts +37 -0
- package/dist-types/commands/GetJobBookmarkCommand.d.ts +4 -2
- package/dist-types/commands/GetMLTaskRunsCommand.d.ts +2 -1
- package/dist-types/commands/ListCrawlersCommand.d.ts +1 -0
- package/dist-types/commands/ListCrawlsCommand.d.ts +3 -2
- package/dist-types/commands/ListDataQualityResultsCommand.d.ts +37 -0
- package/dist-types/commands/ListDataQualityRuleRecommendationRunsCommand.d.ts +37 -0
- package/dist-types/commands/ListDataQualityRulesetEvaluationRunsCommand.d.ts +37 -0
- package/dist-types/commands/ListDataQualityRulesetsCommand.d.ts +37 -0
- package/dist-types/commands/ListDevEndpointsCommand.d.ts +2 -1
- package/dist-types/commands/ListJobsCommand.d.ts +3 -2
- package/dist-types/commands/ListMLTransformsCommand.d.ts +1 -1
- package/dist-types/commands/ListRegistriesCommand.d.ts +1 -1
- package/dist-types/commands/ListSchemaVersionsCommand.d.ts +1 -1
- package/dist-types/commands/ListSchemasCommand.d.ts +1 -1
- package/dist-types/commands/ListSessionsCommand.d.ts +1 -1
- package/dist-types/commands/ListStatementsCommand.d.ts +1 -1
- package/dist-types/commands/ListTriggersCommand.d.ts +2 -1
- package/dist-types/commands/ListWorkflowsCommand.d.ts +1 -1
- package/dist-types/commands/PutDataCatalogEncryptionSettingsCommand.d.ts +1 -1
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +1 -1
- package/dist-types/commands/RegisterSchemaVersionCommand.d.ts +1 -1
- package/dist-types/commands/ResetJobBookmarkCommand.d.ts +4 -2
- package/dist-types/commands/StartDataQualityRuleRecommendationRunCommand.d.ts +37 -0
- package/dist-types/commands/StartDataQualityRulesetEvaluationRunCommand.d.ts +37 -0
- package/dist-types/commands/StartImportLabelsTaskRunCommand.d.ts +3 -0
- package/dist-types/commands/StartMLEvaluationTaskRunCommand.d.ts +4 -2
- package/dist-types/commands/StartMLLabelingSetGenerationTaskRunCommand.d.ts +4 -1
- package/dist-types/commands/UpdateColumnStatisticsForPartitionCommand.d.ts +1 -0
- package/dist-types/commands/UpdateColumnStatisticsForTableCommand.d.ts +2 -1
- package/dist-types/commands/UpdateDataQualityRulesetCommand.d.ts +37 -0
- package/dist-types/commands/UpdateJobFromSourceControlCommand.d.ts +2 -1
- package/dist-types/commands/UpdateMLTransformCommand.d.ts +1 -0
- package/dist-types/commands/UpdateSchemaCommand.d.ts +2 -2
- package/dist-types/commands/UpdateSourceControlFromJobCommand.d.ts +2 -1
- package/dist-types/commands/index.d.ts +16 -0
- package/dist-types/models/models_0.d.ts +431 -537
- package/dist-types/models/models_1.d.ts +3102 -2857
- package/dist-types/models/models_2.d.ts +1104 -64
- package/dist-types/pagination/ListDataQualityResultsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListDataQualityRuleRecommendationRunsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListDataQualityRulesetEvaluationRunsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListDataQualityRulesetsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +48 -0
- package/dist-types/ts3.4/Glue.d.ts +320 -0
- package/dist-types/ts3.4/GlueClient.d.ts +96 -0
- package/dist-types/ts3.4/commands/BatchGetDataQualityResultCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/CancelDataQualityRuleRecommendationRunCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/CancelDataQualityRulesetEvaluationRunCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/CreateDataQualityRulesetCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/CreateSecurityConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateSessionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateTableCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateTriggerCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteDataQualityRulesetCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetDataQualityResultCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetDataQualityRuleRecommendationRunCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetDataQualityRulesetCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetDataQualityRulesetEvaluationRunCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListDataQualityResultsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListDataQualityRuleRecommendationRunsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListDataQualityRulesetEvaluationRunsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListDataQualityRulesetsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListDevEndpointsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListJobsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListMLTransformsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListRegistriesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListSchemaVersionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListSchemasCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListSessionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListStatementsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListTriggersCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListWorkflowsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutDataCatalogEncryptionSettingsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartDataQualityRuleRecommendationRunCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/StartDataQualityRulesetEvaluationRunCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/UpdateDataQualityRulesetCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/index.d.ts +16 -0
- package/dist-types/ts3.4/models/models_0.d.ts +133 -165
- package/dist-types/ts3.4/models/models_1.d.ts +284 -232
- package/dist-types/ts3.4/models/models_2.d.ts +425 -2
- package/dist-types/ts3.4/pagination/ListDataQualityResultsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListDataQualityRuleRecommendationRunsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListDataQualityRulesetEvaluationRunsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListDataQualityRulesetsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +192 -0
- package/package.json +1 -1
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListDataQualityResults = void 0;
|
|
4
|
+
const ListDataQualityResultsCommand_1 = require("../commands/ListDataQualityResultsCommand");
|
|
5
|
+
const Glue_1 = require("../Glue");
|
|
6
|
+
const GlueClient_1 = require("../GlueClient");
|
|
7
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.send(new ListDataQualityResultsCommand_1.ListDataQualityResultsCommand(input), ...args);
|
|
9
|
+
};
|
|
10
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
+
return await client.listDataQualityResults(input, ...args);
|
|
12
|
+
};
|
|
13
|
+
async function* paginateListDataQualityResults(config, input, ...additionalArguments) {
|
|
14
|
+
let token = config.startingToken || undefined;
|
|
15
|
+
let hasNext = true;
|
|
16
|
+
let page;
|
|
17
|
+
while (hasNext) {
|
|
18
|
+
input.NextToken = token;
|
|
19
|
+
input["MaxResults"] = config.pageSize;
|
|
20
|
+
if (config.client instanceof Glue_1.Glue) {
|
|
21
|
+
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
+
}
|
|
23
|
+
else if (config.client instanceof GlueClient_1.GlueClient) {
|
|
24
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
throw new Error("Invalid client, expected Glue | GlueClient");
|
|
28
|
+
}
|
|
29
|
+
yield page;
|
|
30
|
+
const prevToken = token;
|
|
31
|
+
token = page.NextToken;
|
|
32
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
33
|
+
}
|
|
34
|
+
return undefined;
|
|
35
|
+
}
|
|
36
|
+
exports.paginateListDataQualityResults = paginateListDataQualityResults;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListDataQualityRuleRecommendationRuns = void 0;
|
|
4
|
+
const ListDataQualityRuleRecommendationRunsCommand_1 = require("../commands/ListDataQualityRuleRecommendationRunsCommand");
|
|
5
|
+
const Glue_1 = require("../Glue");
|
|
6
|
+
const GlueClient_1 = require("../GlueClient");
|
|
7
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.send(new ListDataQualityRuleRecommendationRunsCommand_1.ListDataQualityRuleRecommendationRunsCommand(input), ...args);
|
|
9
|
+
};
|
|
10
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
+
return await client.listDataQualityRuleRecommendationRuns(input, ...args);
|
|
12
|
+
};
|
|
13
|
+
async function* paginateListDataQualityRuleRecommendationRuns(config, input, ...additionalArguments) {
|
|
14
|
+
let token = config.startingToken || undefined;
|
|
15
|
+
let hasNext = true;
|
|
16
|
+
let page;
|
|
17
|
+
while (hasNext) {
|
|
18
|
+
input.NextToken = token;
|
|
19
|
+
input["MaxResults"] = config.pageSize;
|
|
20
|
+
if (config.client instanceof Glue_1.Glue) {
|
|
21
|
+
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
+
}
|
|
23
|
+
else if (config.client instanceof GlueClient_1.GlueClient) {
|
|
24
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
throw new Error("Invalid client, expected Glue | GlueClient");
|
|
28
|
+
}
|
|
29
|
+
yield page;
|
|
30
|
+
const prevToken = token;
|
|
31
|
+
token = page.NextToken;
|
|
32
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
33
|
+
}
|
|
34
|
+
return undefined;
|
|
35
|
+
}
|
|
36
|
+
exports.paginateListDataQualityRuleRecommendationRuns = paginateListDataQualityRuleRecommendationRuns;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListDataQualityRulesetEvaluationRuns = void 0;
|
|
4
|
+
const ListDataQualityRulesetEvaluationRunsCommand_1 = require("../commands/ListDataQualityRulesetEvaluationRunsCommand");
|
|
5
|
+
const Glue_1 = require("../Glue");
|
|
6
|
+
const GlueClient_1 = require("../GlueClient");
|
|
7
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.send(new ListDataQualityRulesetEvaluationRunsCommand_1.ListDataQualityRulesetEvaluationRunsCommand(input), ...args);
|
|
9
|
+
};
|
|
10
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
+
return await client.listDataQualityRulesetEvaluationRuns(input, ...args);
|
|
12
|
+
};
|
|
13
|
+
async function* paginateListDataQualityRulesetEvaluationRuns(config, input, ...additionalArguments) {
|
|
14
|
+
let token = config.startingToken || undefined;
|
|
15
|
+
let hasNext = true;
|
|
16
|
+
let page;
|
|
17
|
+
while (hasNext) {
|
|
18
|
+
input.NextToken = token;
|
|
19
|
+
input["MaxResults"] = config.pageSize;
|
|
20
|
+
if (config.client instanceof Glue_1.Glue) {
|
|
21
|
+
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
+
}
|
|
23
|
+
else if (config.client instanceof GlueClient_1.GlueClient) {
|
|
24
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
throw new Error("Invalid client, expected Glue | GlueClient");
|
|
28
|
+
}
|
|
29
|
+
yield page;
|
|
30
|
+
const prevToken = token;
|
|
31
|
+
token = page.NextToken;
|
|
32
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
33
|
+
}
|
|
34
|
+
return undefined;
|
|
35
|
+
}
|
|
36
|
+
exports.paginateListDataQualityRulesetEvaluationRuns = paginateListDataQualityRulesetEvaluationRuns;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListDataQualityRulesets = void 0;
|
|
4
|
+
const ListDataQualityRulesetsCommand_1 = require("../commands/ListDataQualityRulesetsCommand");
|
|
5
|
+
const Glue_1 = require("../Glue");
|
|
6
|
+
const GlueClient_1 = require("../GlueClient");
|
|
7
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.send(new ListDataQualityRulesetsCommand_1.ListDataQualityRulesetsCommand(input), ...args);
|
|
9
|
+
};
|
|
10
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
+
return await client.listDataQualityRulesets(input, ...args);
|
|
12
|
+
};
|
|
13
|
+
async function* paginateListDataQualityRulesets(config, input, ...additionalArguments) {
|
|
14
|
+
let token = config.startingToken || undefined;
|
|
15
|
+
let hasNext = true;
|
|
16
|
+
let page;
|
|
17
|
+
while (hasNext) {
|
|
18
|
+
input.NextToken = token;
|
|
19
|
+
input["MaxResults"] = config.pageSize;
|
|
20
|
+
if (config.client instanceof Glue_1.Glue) {
|
|
21
|
+
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
+
}
|
|
23
|
+
else if (config.client instanceof GlueClient_1.GlueClient) {
|
|
24
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
throw new Error("Invalid client, expected Glue | GlueClient");
|
|
28
|
+
}
|
|
29
|
+
yield page;
|
|
30
|
+
const prevToken = token;
|
|
31
|
+
token = page.NextToken;
|
|
32
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
33
|
+
}
|
|
34
|
+
return undefined;
|
|
35
|
+
}
|
|
36
|
+
exports.paginateListDataQualityRulesets = paginateListDataQualityRulesets;
|
|
@@ -26,6 +26,10 @@ tslib_1.__exportStar(require("./GetWorkflowRunsPaginator"), exports);
|
|
|
26
26
|
tslib_1.__exportStar(require("./ListBlueprintsPaginator"), exports);
|
|
27
27
|
tslib_1.__exportStar(require("./ListCrawlersPaginator"), exports);
|
|
28
28
|
tslib_1.__exportStar(require("./ListCustomEntityTypesPaginator"), exports);
|
|
29
|
+
tslib_1.__exportStar(require("./ListDataQualityResultsPaginator"), exports);
|
|
30
|
+
tslib_1.__exportStar(require("./ListDataQualityRuleRecommendationRunsPaginator"), exports);
|
|
31
|
+
tslib_1.__exportStar(require("./ListDataQualityRulesetEvaluationRunsPaginator"), exports);
|
|
32
|
+
tslib_1.__exportStar(require("./ListDataQualityRulesetsPaginator"), exports);
|
|
29
33
|
tslib_1.__exportStar(require("./ListDevEndpointsPaginator"), exports);
|
|
30
34
|
tslib_1.__exportStar(require("./ListJobsPaginator"), exports);
|
|
31
35
|
tslib_1.__exportStar(require("./ListMLTransformsPaginator"), exports);
|