@aws-sdk/client-databrew 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/ListDatasetsPaginator.js +2 -24
- package/dist-cjs/pagination/ListJobRunsPaginator.js +2 -24
- package/dist-cjs/pagination/ListJobsPaginator.js +2 -24
- package/dist-cjs/pagination/ListProjectsPaginator.js +2 -24
- package/dist-cjs/pagination/ListRecipeVersionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListRecipesPaginator.js +2 -24
- package/dist-cjs/pagination/ListRulesetsPaginator.js +2 -24
- package/dist-cjs/pagination/ListSchedulesPaginator.js +2 -24
- package/dist-es/pagination/ListDatasetsPaginator.js +2 -23
- package/dist-es/pagination/ListJobRunsPaginator.js +2 -23
- package/dist-es/pagination/ListJobsPaginator.js +2 -23
- package/dist-es/pagination/ListProjectsPaginator.js +2 -23
- package/dist-es/pagination/ListRecipeVersionsPaginator.js +2 -23
- package/dist-es/pagination/ListRecipesPaginator.js +2 -23
- package/dist-es/pagination/ListRulesetsPaginator.js +2 -23
- package/dist-es/pagination/ListSchedulesPaginator.js +2 -23
- package/dist-types/pagination/ListDatasetsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListJobRunsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListJobsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListProjectsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListRecipeVersionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListRecipesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListRulesetsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListSchedulesPaginator.d.ts +1 -1
- package/dist-types/ts3.4/pagination/ListDatasetsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListJobRunsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListJobsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListProjectsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListRecipeVersionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListRecipesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListRulesetsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListSchedulesPaginator.d.ts +3 -3
- package/package.json +5 -5
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListDatasets = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListDatasetsCommand_1 = require("../commands/ListDatasetsCommand");
|
|
5
6
|
const DataBrewClient_1 = require("../DataBrewClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListDatasetsCommand_1.ListDatasetsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListDatasets(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof DataBrewClient_1.DataBrewClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected DataBrew | DataBrewClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListDatasets = paginateListDatasets;
|
|
7
|
+
exports.paginateListDatasets = (0, core_1.createPaginator)(DataBrewClient_1.DataBrewClient, ListDatasetsCommand_1.ListDatasetsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListJobRuns = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListJobRunsCommand_1 = require("../commands/ListJobRunsCommand");
|
|
5
6
|
const DataBrewClient_1 = require("../DataBrewClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListJobRunsCommand_1.ListJobRunsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListJobRuns(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof DataBrewClient_1.DataBrewClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected DataBrew | DataBrewClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListJobRuns = paginateListJobRuns;
|
|
7
|
+
exports.paginateListJobRuns = (0, core_1.createPaginator)(DataBrewClient_1.DataBrewClient, ListJobRunsCommand_1.ListJobRunsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListJobs = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListJobsCommand_1 = require("../commands/ListJobsCommand");
|
|
5
6
|
const DataBrewClient_1 = require("../DataBrewClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListJobsCommand_1.ListJobsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListJobs(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof DataBrewClient_1.DataBrewClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected DataBrew | DataBrewClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListJobs = paginateListJobs;
|
|
7
|
+
exports.paginateListJobs = (0, core_1.createPaginator)(DataBrewClient_1.DataBrewClient, ListJobsCommand_1.ListJobsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListProjects = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListProjectsCommand_1 = require("../commands/ListProjectsCommand");
|
|
5
6
|
const DataBrewClient_1 = require("../DataBrewClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListProjectsCommand_1.ListProjectsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListProjects(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof DataBrewClient_1.DataBrewClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected DataBrew | DataBrewClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListProjects = paginateListProjects;
|
|
7
|
+
exports.paginateListProjects = (0, core_1.createPaginator)(DataBrewClient_1.DataBrewClient, ListProjectsCommand_1.ListProjectsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListRecipeVersions = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListRecipeVersionsCommand_1 = require("../commands/ListRecipeVersionsCommand");
|
|
5
6
|
const DataBrewClient_1 = require("../DataBrewClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListRecipeVersionsCommand_1.ListRecipeVersionsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListRecipeVersions(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof DataBrewClient_1.DataBrewClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected DataBrew | DataBrewClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListRecipeVersions = paginateListRecipeVersions;
|
|
7
|
+
exports.paginateListRecipeVersions = (0, core_1.createPaginator)(DataBrewClient_1.DataBrewClient, ListRecipeVersionsCommand_1.ListRecipeVersionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListRecipes = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListRecipesCommand_1 = require("../commands/ListRecipesCommand");
|
|
5
6
|
const DataBrewClient_1 = require("../DataBrewClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListRecipesCommand_1.ListRecipesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListRecipes(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof DataBrewClient_1.DataBrewClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected DataBrew | DataBrewClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListRecipes = paginateListRecipes;
|
|
7
|
+
exports.paginateListRecipes = (0, core_1.createPaginator)(DataBrewClient_1.DataBrewClient, ListRecipesCommand_1.ListRecipesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListRulesets = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListRulesetsCommand_1 = require("../commands/ListRulesetsCommand");
|
|
5
6
|
const DataBrewClient_1 = require("../DataBrewClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListRulesetsCommand_1.ListRulesetsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListRulesets(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof DataBrewClient_1.DataBrewClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected DataBrew | DataBrewClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListRulesets = paginateListRulesets;
|
|
7
|
+
exports.paginateListRulesets = (0, core_1.createPaginator)(DataBrewClient_1.DataBrewClient, ListRulesetsCommand_1.ListRulesetsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListSchedules = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListSchedulesCommand_1 = require("../commands/ListSchedulesCommand");
|
|
5
6
|
const DataBrewClient_1 = require("../DataBrewClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListSchedulesCommand_1.ListSchedulesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListSchedules(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof DataBrewClient_1.DataBrewClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected DataBrew | DataBrewClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListSchedules = paginateListSchedules;
|
|
7
|
+
exports.paginateListSchedules = (0, core_1.createPaginator)(DataBrewClient_1.DataBrewClient, ListSchedulesCommand_1.ListSchedulesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListDatasetsCommand, } from "../commands/ListDatasetsCommand";
|
|
2
3
|
import { DataBrewClient } from "../DataBrewClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListDatasetsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListDatasets(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 DataBrewClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected DataBrew | DataBrewClient");
|
|
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 paginateListDatasets = createPaginator(DataBrewClient, ListDatasetsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListJobRunsCommand } from "../commands/ListJobRunsCommand";
|
|
2
3
|
import { DataBrewClient } from "../DataBrewClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListJobRunsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListJobRuns(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 DataBrewClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected DataBrew | DataBrewClient");
|
|
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 paginateListJobRuns = createPaginator(DataBrewClient, ListJobRunsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListJobsCommand } from "../commands/ListJobsCommand";
|
|
2
3
|
import { DataBrewClient } from "../DataBrewClient";
|
|
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 DataBrewClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected DataBrew | DataBrewClient");
|
|
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(DataBrewClient, ListJobsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListProjectsCommand, } from "../commands/ListProjectsCommand";
|
|
2
3
|
import { DataBrewClient } from "../DataBrewClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListProjectsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListProjects(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 DataBrewClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected DataBrew | DataBrewClient");
|
|
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 paginateListProjects = createPaginator(DataBrewClient, ListProjectsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListRecipeVersionsCommand, } from "../commands/ListRecipeVersionsCommand";
|
|
2
3
|
import { DataBrewClient } from "../DataBrewClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListRecipeVersionsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListRecipeVersions(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 DataBrewClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected DataBrew | DataBrewClient");
|
|
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 paginateListRecipeVersions = createPaginator(DataBrewClient, ListRecipeVersionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListRecipesCommand } from "../commands/ListRecipesCommand";
|
|
2
3
|
import { DataBrewClient } from "../DataBrewClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListRecipesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListRecipes(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 DataBrewClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected DataBrew | DataBrewClient");
|
|
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 paginateListRecipes = createPaginator(DataBrewClient, ListRecipesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListRulesetsCommand, } from "../commands/ListRulesetsCommand";
|
|
2
3
|
import { DataBrewClient } from "../DataBrewClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListRulesetsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListRulesets(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 DataBrewClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected DataBrew | DataBrewClient");
|
|
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 paginateListRulesets = createPaginator(DataBrewClient, ListRulesetsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListSchedulesCommand, } from "../commands/ListSchedulesCommand";
|
|
2
3
|
import { DataBrewClient } from "../DataBrewClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListSchedulesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListSchedules(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 DataBrewClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected DataBrew | DataBrewClient");
|
|
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 paginateListSchedules = createPaginator(DataBrewClient, ListSchedulesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -4,4 +4,4 @@ import { DataBrewPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListDatasets: (config: DataBrewPaginationConfiguration, input: ListDatasetsCommandInput, ...rest: any[]) => Paginator<ListDatasetsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { DataBrewPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListJobRuns: (config: DataBrewPaginationConfiguration, input: ListJobRunsCommandInput, ...rest: any[]) => Paginator<ListJobRunsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { DataBrewPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListJobs: (config: DataBrewPaginationConfiguration, input: ListJobsCommandInput, ...rest: any[]) => Paginator<ListJobsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { DataBrewPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListProjects: (config: DataBrewPaginationConfiguration, input: ListProjectsCommandInput, ...rest: any[]) => Paginator<ListProjectsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { DataBrewPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListRecipeVersions: (config: DataBrewPaginationConfiguration, input: ListRecipeVersionsCommandInput, ...rest: any[]) => Paginator<ListRecipeVersionsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { DataBrewPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListRecipes: (config: DataBrewPaginationConfiguration, input: ListRecipesCommandInput, ...rest: any[]) => Paginator<ListRecipesCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { DataBrewPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListRulesets: (config: DataBrewPaginationConfiguration, input: ListRulesetsCommandInput, ...rest: any[]) => Paginator<ListRulesetsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { DataBrewPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListSchedules: (config: DataBrewPaginationConfiguration, input: ListSchedulesCommandInput, ...rest: any[]) => Paginator<ListSchedulesCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListDatasetsCommandOutput,
|
|
5
5
|
} from "../commands/ListDatasetsCommand";
|
|
6
6
|
import { DataBrewPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListDatasets: (
|
|
8
8
|
config: DataBrewPaginationConfiguration,
|
|
9
9
|
input: ListDatasetsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListDatasetsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListJobRunsCommandOutput,
|
|
5
5
|
} from "../commands/ListJobRunsCommand";
|
|
6
6
|
import { DataBrewPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListJobRuns: (
|
|
8
8
|
config: DataBrewPaginationConfiguration,
|
|
9
9
|
input: ListJobRunsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListJobRunsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListJobsCommandOutput,
|
|
5
5
|
} from "../commands/ListJobsCommand";
|
|
6
6
|
import { DataBrewPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListJobs: (
|
|
8
8
|
config: DataBrewPaginationConfiguration,
|
|
9
9
|
input: ListJobsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListJobsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListProjectsCommandOutput,
|
|
5
5
|
} from "../commands/ListProjectsCommand";
|
|
6
6
|
import { DataBrewPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListProjects: (
|
|
8
8
|
config: DataBrewPaginationConfiguration,
|
|
9
9
|
input: ListProjectsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListProjectsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListRecipeVersionsCommandOutput,
|
|
5
5
|
} from "../commands/ListRecipeVersionsCommand";
|
|
6
6
|
import { DataBrewPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListRecipeVersions: (
|
|
8
8
|
config: DataBrewPaginationConfiguration,
|
|
9
9
|
input: ListRecipeVersionsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListRecipeVersionsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListRecipesCommandOutput,
|
|
5
5
|
} from "../commands/ListRecipesCommand";
|
|
6
6
|
import { DataBrewPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListRecipes: (
|
|
8
8
|
config: DataBrewPaginationConfiguration,
|
|
9
9
|
input: ListRecipesCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListRecipesCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListRulesetsCommandOutput,
|
|
5
5
|
} from "../commands/ListRulesetsCommand";
|
|
6
6
|
import { DataBrewPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListRulesets: (
|
|
8
8
|
config: DataBrewPaginationConfiguration,
|
|
9
9
|
input: ListRulesetsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListRulesetsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListSchedulesCommandOutput,
|
|
5
5
|
} from "../commands/ListSchedulesCommand";
|
|
6
6
|
import { DataBrewPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListSchedules: (
|
|
8
8
|
config: DataBrewPaginationConfiguration,
|
|
9
9
|
input: ListSchedulesCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListSchedulesCommandOutput>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-databrew",
|
|
3
3
|
"description": "AWS SDK for JavaScript Databrew Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.478.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -20,17 +20,17 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.478.0",
|
|
24
24
|
"@aws-sdk/core": "3.477.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.478.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.468.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.468.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.468.0",
|
|
29
29
|
"@aws-sdk/middleware-signing": "3.468.0",
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.478.0",
|
|
31
31
|
"@aws-sdk/region-config-resolver": "3.470.0",
|
|
32
32
|
"@aws-sdk/types": "3.468.0",
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.478.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.468.0",
|
|
35
35
|
"@aws-sdk/util-user-agent-node": "3.470.0",
|
|
36
36
|
"@smithy/config-resolver": "^2.0.21",
|