@aws-sdk/client-glue 3.477.0 → 3.478.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/pagination/GetBlueprintRunsPaginator.js +2 -24
- package/dist-cjs/pagination/GetClassifiersPaginator.js +2 -24
- package/dist-cjs/pagination/GetColumnStatisticsTaskRunsPaginator.js +2 -24
- package/dist-cjs/pagination/GetConnectionsPaginator.js +2 -24
- package/dist-cjs/pagination/GetCrawlerMetricsPaginator.js +2 -24
- package/dist-cjs/pagination/GetCrawlersPaginator.js +2 -24
- package/dist-cjs/pagination/GetDatabasesPaginator.js +2 -24
- package/dist-cjs/pagination/GetDevEndpointsPaginator.js +2 -24
- package/dist-cjs/pagination/GetJobRunsPaginator.js +2 -24
- package/dist-cjs/pagination/GetJobsPaginator.js +2 -24
- package/dist-cjs/pagination/GetMLTaskRunsPaginator.js +2 -24
- package/dist-cjs/pagination/GetMLTransformsPaginator.js +2 -24
- package/dist-cjs/pagination/GetPartitionIndexesPaginator.js +2 -23
- package/dist-cjs/pagination/GetPartitionsPaginator.js +2 -24
- package/dist-cjs/pagination/GetResourcePoliciesPaginator.js +2 -24
- package/dist-cjs/pagination/GetSecurityConfigurationsPaginator.js +2 -24
- package/dist-cjs/pagination/GetTableVersionsPaginator.js +2 -24
- package/dist-cjs/pagination/GetTablesPaginator.js +2 -24
- package/dist-cjs/pagination/GetTriggersPaginator.js +2 -24
- package/dist-cjs/pagination/GetUnfilteredPartitionsMetadataPaginator.js +2 -24
- package/dist-cjs/pagination/GetUserDefinedFunctionsPaginator.js +2 -24
- package/dist-cjs/pagination/GetWorkflowRunsPaginator.js +2 -24
- package/dist-cjs/pagination/ListBlueprintsPaginator.js +2 -24
- package/dist-cjs/pagination/ListColumnStatisticsTaskRunsPaginator.js +2 -24
- package/dist-cjs/pagination/ListCrawlersPaginator.js +2 -24
- package/dist-cjs/pagination/ListCustomEntityTypesPaginator.js +2 -24
- package/dist-cjs/pagination/ListDataQualityResultsPaginator.js +2 -24
- package/dist-cjs/pagination/ListDataQualityRuleRecommendationRunsPaginator.js +2 -24
- package/dist-cjs/pagination/ListDataQualityRulesetEvaluationRunsPaginator.js +2 -24
- package/dist-cjs/pagination/ListDataQualityRulesetsPaginator.js +2 -24
- package/dist-cjs/pagination/ListDevEndpointsPaginator.js +2 -24
- package/dist-cjs/pagination/ListJobsPaginator.js +2 -24
- package/dist-cjs/pagination/ListMLTransformsPaginator.js +2 -24
- package/dist-cjs/pagination/ListRegistriesPaginator.js +2 -24
- package/dist-cjs/pagination/ListSchemaVersionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListSchemasPaginator.js +2 -24
- package/dist-cjs/pagination/ListSessionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListTableOptimizerRunsPaginator.js +2 -24
- package/dist-cjs/pagination/ListTriggersPaginator.js +2 -24
- package/dist-cjs/pagination/ListWorkflowsPaginator.js +2 -24
- package/dist-cjs/pagination/SearchTablesPaginator.js +2 -24
- package/dist-es/pagination/GetBlueprintRunsPaginator.js +2 -23
- package/dist-es/pagination/GetClassifiersPaginator.js +2 -23
- package/dist-es/pagination/GetColumnStatisticsTaskRunsPaginator.js +2 -23
- package/dist-es/pagination/GetConnectionsPaginator.js +2 -23
- package/dist-es/pagination/GetCrawlerMetricsPaginator.js +2 -23
- package/dist-es/pagination/GetCrawlersPaginator.js +2 -23
- package/dist-es/pagination/GetDatabasesPaginator.js +2 -23
- package/dist-es/pagination/GetDevEndpointsPaginator.js +2 -23
- package/dist-es/pagination/GetJobRunsPaginator.js +2 -23
- package/dist-es/pagination/GetJobsPaginator.js +2 -23
- package/dist-es/pagination/GetMLTaskRunsPaginator.js +2 -23
- package/dist-es/pagination/GetMLTransformsPaginator.js +2 -23
- package/dist-es/pagination/GetPartitionIndexesPaginator.js +2 -22
- package/dist-es/pagination/GetPartitionsPaginator.js +2 -23
- package/dist-es/pagination/GetResourcePoliciesPaginator.js +2 -23
- package/dist-es/pagination/GetSecurityConfigurationsPaginator.js +2 -23
- package/dist-es/pagination/GetTableVersionsPaginator.js +2 -23
- package/dist-es/pagination/GetTablesPaginator.js +2 -23
- package/dist-es/pagination/GetTriggersPaginator.js +2 -23
- package/dist-es/pagination/GetUnfilteredPartitionsMetadataPaginator.js +2 -23
- package/dist-es/pagination/GetUserDefinedFunctionsPaginator.js +2 -23
- package/dist-es/pagination/GetWorkflowRunsPaginator.js +2 -23
- package/dist-es/pagination/ListBlueprintsPaginator.js +2 -23
- package/dist-es/pagination/ListColumnStatisticsTaskRunsPaginator.js +2 -23
- package/dist-es/pagination/ListCrawlersPaginator.js +2 -23
- package/dist-es/pagination/ListCustomEntityTypesPaginator.js +2 -23
- package/dist-es/pagination/ListDataQualityResultsPaginator.js +2 -23
- package/dist-es/pagination/ListDataQualityRuleRecommendationRunsPaginator.js +2 -23
- package/dist-es/pagination/ListDataQualityRulesetEvaluationRunsPaginator.js +2 -23
- package/dist-es/pagination/ListDataQualityRulesetsPaginator.js +2 -23
- package/dist-es/pagination/ListDevEndpointsPaginator.js +2 -23
- package/dist-es/pagination/ListJobsPaginator.js +2 -23
- package/dist-es/pagination/ListMLTransformsPaginator.js +2 -23
- package/dist-es/pagination/ListRegistriesPaginator.js +2 -23
- package/dist-es/pagination/ListSchemaVersionsPaginator.js +2 -23
- package/dist-es/pagination/ListSchemasPaginator.js +2 -23
- package/dist-es/pagination/ListSessionsPaginator.js +2 -23
- package/dist-es/pagination/ListTableOptimizerRunsPaginator.js +2 -23
- package/dist-es/pagination/ListTriggersPaginator.js +2 -23
- package/dist-es/pagination/ListWorkflowsPaginator.js +2 -23
- package/dist-es/pagination/SearchTablesPaginator.js +2 -23
- package/dist-types/pagination/GetBlueprintRunsPaginator.d.ts +1 -1
- package/dist-types/pagination/GetClassifiersPaginator.d.ts +1 -1
- package/dist-types/pagination/GetColumnStatisticsTaskRunsPaginator.d.ts +1 -1
- package/dist-types/pagination/GetConnectionsPaginator.d.ts +1 -1
- package/dist-types/pagination/GetCrawlerMetricsPaginator.d.ts +1 -1
- package/dist-types/pagination/GetCrawlersPaginator.d.ts +1 -1
- package/dist-types/pagination/GetDatabasesPaginator.d.ts +1 -1
- package/dist-types/pagination/GetDevEndpointsPaginator.d.ts +1 -1
- package/dist-types/pagination/GetJobRunsPaginator.d.ts +1 -1
- package/dist-types/pagination/GetJobsPaginator.d.ts +1 -1
- package/dist-types/pagination/GetMLTaskRunsPaginator.d.ts +1 -1
- package/dist-types/pagination/GetMLTransformsPaginator.d.ts +1 -1
- package/dist-types/pagination/GetPartitionIndexesPaginator.d.ts +1 -1
- package/dist-types/pagination/GetPartitionsPaginator.d.ts +1 -1
- package/dist-types/pagination/GetResourcePoliciesPaginator.d.ts +1 -1
- package/dist-types/pagination/GetSecurityConfigurationsPaginator.d.ts +1 -1
- package/dist-types/pagination/GetTableVersionsPaginator.d.ts +1 -1
- package/dist-types/pagination/GetTablesPaginator.d.ts +1 -1
- package/dist-types/pagination/GetTriggersPaginator.d.ts +1 -1
- package/dist-types/pagination/GetUnfilteredPartitionsMetadataPaginator.d.ts +1 -1
- package/dist-types/pagination/GetUserDefinedFunctionsPaginator.d.ts +1 -1
- package/dist-types/pagination/GetWorkflowRunsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListBlueprintsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListColumnStatisticsTaskRunsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListCrawlersPaginator.d.ts +1 -1
- package/dist-types/pagination/ListCustomEntityTypesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListDataQualityResultsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListDataQualityRuleRecommendationRunsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListDataQualityRulesetEvaluationRunsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListDataQualityRulesetsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListDevEndpointsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListJobsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListMLTransformsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListRegistriesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListSchemaVersionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListSchemasPaginator.d.ts +1 -1
- package/dist-types/pagination/ListSessionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListTableOptimizerRunsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListTriggersPaginator.d.ts +1 -1
- package/dist-types/pagination/ListWorkflowsPaginator.d.ts +1 -1
- package/dist-types/pagination/SearchTablesPaginator.d.ts +1 -1
- package/dist-types/ts3.4/pagination/GetBlueprintRunsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/GetClassifiersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/GetColumnStatisticsTaskRunsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/GetConnectionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/GetCrawlerMetricsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/GetCrawlersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/GetDatabasesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/GetDevEndpointsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/GetJobRunsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/GetJobsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/GetMLTaskRunsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/GetMLTransformsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/GetPartitionIndexesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/GetPartitionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/GetResourcePoliciesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/GetSecurityConfigurationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/GetTableVersionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/GetTablesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/GetTriggersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/GetUnfilteredPartitionsMetadataPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/GetUserDefinedFunctionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/GetWorkflowRunsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListBlueprintsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListColumnStatisticsTaskRunsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListCrawlersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListCustomEntityTypesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListDataQualityResultsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListDataQualityRuleRecommendationRunsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListDataQualityRulesetEvaluationRunsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListDataQualityRulesetsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListDevEndpointsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListJobsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListMLTransformsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListRegistriesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListSchemaVersionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListSchemasPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListSessionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListTableOptimizerRunsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListTriggersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListWorkflowsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/SearchTablesPaginator.d.ts +3 -3
- package/package.json +6 -5
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { GetUserDefinedFunctionsCommand, } from "../commands/GetUserDefinedFunctionsCommand";
|
|
2
3
|
import { GlueClient } from "../GlueClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new GetUserDefinedFunctionsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateGetUserDefinedFunctions(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof GlueClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Glue | GlueClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateGetUserDefinedFunctions = createPaginator(GlueClient, GetUserDefinedFunctionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { GetWorkflowRunsCommand, } from "../commands/GetWorkflowRunsCommand";
|
|
2
3
|
import { GlueClient } from "../GlueClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new GetWorkflowRunsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateGetWorkflowRuns(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof GlueClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Glue | GlueClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateGetWorkflowRuns = createPaginator(GlueClient, GetWorkflowRunsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListBlueprintsCommand, } from "../commands/ListBlueprintsCommand";
|
|
2
3
|
import { GlueClient } from "../GlueClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListBlueprintsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListBlueprints(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof GlueClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Glue | GlueClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListBlueprints = createPaginator(GlueClient, ListBlueprintsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListColumnStatisticsTaskRunsCommand, } from "../commands/ListColumnStatisticsTaskRunsCommand";
|
|
2
3
|
import { GlueClient } from "../GlueClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListColumnStatisticsTaskRunsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListColumnStatisticsTaskRuns(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof GlueClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Glue | GlueClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListColumnStatisticsTaskRuns = createPaginator(GlueClient, ListColumnStatisticsTaskRunsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListCrawlersCommand, } from "../commands/ListCrawlersCommand";
|
|
2
3
|
import { GlueClient } from "../GlueClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListCrawlersCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListCrawlers(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof GlueClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Glue | GlueClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListCrawlers = createPaginator(GlueClient, ListCrawlersCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListCustomEntityTypesCommand, } from "../commands/ListCustomEntityTypesCommand";
|
|
2
3
|
import { GlueClient } from "../GlueClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListCustomEntityTypesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListCustomEntityTypes(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof GlueClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Glue | GlueClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListCustomEntityTypes = createPaginator(GlueClient, ListCustomEntityTypesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListDataQualityResultsCommand, } from "../commands/ListDataQualityResultsCommand";
|
|
2
3
|
import { GlueClient } from "../GlueClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListDataQualityResultsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListDataQualityResults(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof GlueClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Glue | GlueClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListDataQualityResults = createPaginator(GlueClient, ListDataQualityResultsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListDataQualityRuleRecommendationRunsCommand, } from "../commands/ListDataQualityRuleRecommendationRunsCommand";
|
|
2
3
|
import { GlueClient } from "../GlueClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListDataQualityRuleRecommendationRunsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListDataQualityRuleRecommendationRuns(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof GlueClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Glue | GlueClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListDataQualityRuleRecommendationRuns = createPaginator(GlueClient, ListDataQualityRuleRecommendationRunsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListDataQualityRulesetEvaluationRunsCommand, } from "../commands/ListDataQualityRulesetEvaluationRunsCommand";
|
|
2
3
|
import { GlueClient } from "../GlueClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListDataQualityRulesetEvaluationRunsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListDataQualityRulesetEvaluationRuns(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof GlueClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Glue | GlueClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListDataQualityRulesetEvaluationRuns = createPaginator(GlueClient, ListDataQualityRulesetEvaluationRunsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListDataQualityRulesetsCommand, } from "../commands/ListDataQualityRulesetsCommand";
|
|
2
3
|
import { GlueClient } from "../GlueClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListDataQualityRulesetsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListDataQualityRulesets(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof GlueClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Glue | GlueClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListDataQualityRulesets = createPaginator(GlueClient, ListDataQualityRulesetsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListDevEndpointsCommand, } from "../commands/ListDevEndpointsCommand";
|
|
2
3
|
import { GlueClient } from "../GlueClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListDevEndpointsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListDevEndpoints(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof GlueClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Glue | GlueClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListDevEndpoints = createPaginator(GlueClient, ListDevEndpointsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListJobsCommand } from "../commands/ListJobsCommand";
|
|
2
3
|
import { GlueClient } from "../GlueClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListJobsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListJobs(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof GlueClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Glue | GlueClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListJobs = createPaginator(GlueClient, ListJobsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListMLTransformsCommand, } from "../commands/ListMLTransformsCommand";
|
|
2
3
|
import { GlueClient } from "../GlueClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListMLTransformsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListMLTransforms(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof GlueClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Glue | GlueClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListMLTransforms = createPaginator(GlueClient, ListMLTransformsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListRegistriesCommand, } from "../commands/ListRegistriesCommand";
|
|
2
3
|
import { GlueClient } from "../GlueClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListRegistriesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListRegistries(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof GlueClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Glue | GlueClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListRegistries = createPaginator(GlueClient, ListRegistriesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListSchemaVersionsCommand, } from "../commands/ListSchemaVersionsCommand";
|
|
2
3
|
import { GlueClient } from "../GlueClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListSchemaVersionsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListSchemaVersions(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof GlueClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Glue | GlueClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListSchemaVersions = createPaginator(GlueClient, ListSchemaVersionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListSchemasCommand } from "../commands/ListSchemasCommand";
|
|
2
3
|
import { GlueClient } from "../GlueClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListSchemasCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListSchemas(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof GlueClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Glue | GlueClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListSchemas = createPaginator(GlueClient, ListSchemasCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListSessionsCommand, } from "../commands/ListSessionsCommand";
|
|
2
3
|
import { GlueClient } from "../GlueClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListSessionsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListSessions(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof GlueClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Glue | GlueClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListSessions = createPaginator(GlueClient, ListSessionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListTableOptimizerRunsCommand, } from "../commands/ListTableOptimizerRunsCommand";
|
|
2
3
|
import { GlueClient } from "../GlueClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListTableOptimizerRunsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListTableOptimizerRuns(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof GlueClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Glue | GlueClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListTableOptimizerRuns = createPaginator(GlueClient, ListTableOptimizerRunsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListTriggersCommand, } from "../commands/ListTriggersCommand";
|
|
2
3
|
import { GlueClient } from "../GlueClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListTriggersCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListTriggers(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof GlueClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Glue | GlueClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListTriggers = createPaginator(GlueClient, ListTriggersCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListWorkflowsCommand, } from "../commands/ListWorkflowsCommand";
|
|
2
3
|
import { GlueClient } from "../GlueClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListWorkflowsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListWorkflows(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof GlueClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Glue | GlueClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListWorkflows = createPaginator(GlueClient, ListWorkflowsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { SearchTablesCommand, } from "../commands/SearchTablesCommand";
|
|
2
3
|
import { GlueClient } from "../GlueClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new SearchTablesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateSearchTables(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof GlueClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Glue | GlueClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateSearchTables = createPaginator(GlueClient, SearchTablesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -4,4 +4,4 @@ import { GluePaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateGetBlueprintRuns: (config: GluePaginationConfiguration, input: GetBlueprintRunsCommandInput, ...rest: any[]) => Paginator<GetBlueprintRunsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { GluePaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateGetClassifiers: (config: GluePaginationConfiguration, input: GetClassifiersCommandInput, ...rest: any[]) => Paginator<GetClassifiersCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { GluePaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateGetColumnStatisticsTaskRuns: (config: GluePaginationConfiguration, input: GetColumnStatisticsTaskRunsCommandInput, ...rest: any[]) => Paginator<GetColumnStatisticsTaskRunsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { GluePaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateGetConnections: (config: GluePaginationConfiguration, input: GetConnectionsCommandInput, ...rest: any[]) => Paginator<GetConnectionsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { GluePaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateGetCrawlerMetrics: (config: GluePaginationConfiguration, input: GetCrawlerMetricsCommandInput, ...rest: any[]) => Paginator<GetCrawlerMetricsCommandOutput>;
|