@aws-sdk/client-databrew 3.476.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-cjs/protocols/Aws_restJson1.js +253 -554
- 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-es/protocols/Aws_restJson1.js +254 -555
- 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 +7 -6
|
@@ -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");
|