@aws-sdk/client-entityresolution 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/ListIdMappingJobsPaginator.js +2 -24
- package/dist-cjs/pagination/ListIdMappingWorkflowsPaginator.js +2 -24
- package/dist-cjs/pagination/ListMatchingJobsPaginator.js +2 -24
- package/dist-cjs/pagination/ListMatchingWorkflowsPaginator.js +2 -24
- package/dist-cjs/pagination/ListProviderServicesPaginator.js +2 -24
- package/dist-cjs/pagination/ListSchemaMappingsPaginator.js +2 -24
- package/dist-cjs/protocols/Aws_restJson1.js +151 -346
- package/dist-es/pagination/ListIdMappingJobsPaginator.js +2 -23
- package/dist-es/pagination/ListIdMappingWorkflowsPaginator.js +2 -23
- package/dist-es/pagination/ListMatchingJobsPaginator.js +2 -23
- package/dist-es/pagination/ListMatchingWorkflowsPaginator.js +2 -23
- package/dist-es/pagination/ListProviderServicesPaginator.js +2 -23
- package/dist-es/pagination/ListSchemaMappingsPaginator.js +2 -23
- package/dist-es/protocols/Aws_restJson1.js +152 -347
- package/dist-types/pagination/ListIdMappingJobsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListIdMappingWorkflowsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListMatchingJobsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListMatchingWorkflowsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListProviderServicesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListSchemaMappingsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/pagination/ListIdMappingJobsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListIdMappingWorkflowsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListMatchingJobsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListMatchingWorkflowsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListProviderServicesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListSchemaMappingsPaginator.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.paginateListIdMappingJobs = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListIdMappingJobsCommand_1 = require("../commands/ListIdMappingJobsCommand");
|
|
5
6
|
const EntityResolutionClient_1 = require("../EntityResolutionClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListIdMappingJobsCommand_1.ListIdMappingJobsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListIdMappingJobs(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 EntityResolutionClient_1.EntityResolutionClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected EntityResolution | EntityResolutionClient");
|
|
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.paginateListIdMappingJobs = paginateListIdMappingJobs;
|
|
7
|
+
exports.paginateListIdMappingJobs = (0, core_1.createPaginator)(EntityResolutionClient_1.EntityResolutionClient, ListIdMappingJobsCommand_1.ListIdMappingJobsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListIdMappingWorkflows = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListIdMappingWorkflowsCommand_1 = require("../commands/ListIdMappingWorkflowsCommand");
|
|
5
6
|
const EntityResolutionClient_1 = require("../EntityResolutionClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListIdMappingWorkflowsCommand_1.ListIdMappingWorkflowsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListIdMappingWorkflows(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 EntityResolutionClient_1.EntityResolutionClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected EntityResolution | EntityResolutionClient");
|
|
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.paginateListIdMappingWorkflows = paginateListIdMappingWorkflows;
|
|
7
|
+
exports.paginateListIdMappingWorkflows = (0, core_1.createPaginator)(EntityResolutionClient_1.EntityResolutionClient, ListIdMappingWorkflowsCommand_1.ListIdMappingWorkflowsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListMatchingJobs = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListMatchingJobsCommand_1 = require("../commands/ListMatchingJobsCommand");
|
|
5
6
|
const EntityResolutionClient_1 = require("../EntityResolutionClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListMatchingJobsCommand_1.ListMatchingJobsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListMatchingJobs(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 EntityResolutionClient_1.EntityResolutionClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected EntityResolution | EntityResolutionClient");
|
|
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.paginateListMatchingJobs = paginateListMatchingJobs;
|
|
7
|
+
exports.paginateListMatchingJobs = (0, core_1.createPaginator)(EntityResolutionClient_1.EntityResolutionClient, ListMatchingJobsCommand_1.ListMatchingJobsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListMatchingWorkflows = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListMatchingWorkflowsCommand_1 = require("../commands/ListMatchingWorkflowsCommand");
|
|
5
6
|
const EntityResolutionClient_1 = require("../EntityResolutionClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListMatchingWorkflowsCommand_1.ListMatchingWorkflowsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListMatchingWorkflows(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 EntityResolutionClient_1.EntityResolutionClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected EntityResolution | EntityResolutionClient");
|
|
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.paginateListMatchingWorkflows = paginateListMatchingWorkflows;
|
|
7
|
+
exports.paginateListMatchingWorkflows = (0, core_1.createPaginator)(EntityResolutionClient_1.EntityResolutionClient, ListMatchingWorkflowsCommand_1.ListMatchingWorkflowsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListProviderServices = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListProviderServicesCommand_1 = require("../commands/ListProviderServicesCommand");
|
|
5
6
|
const EntityResolutionClient_1 = require("../EntityResolutionClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListProviderServicesCommand_1.ListProviderServicesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListProviderServices(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 EntityResolutionClient_1.EntityResolutionClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected EntityResolution | EntityResolutionClient");
|
|
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.paginateListProviderServices = paginateListProviderServices;
|
|
7
|
+
exports.paginateListProviderServices = (0, core_1.createPaginator)(EntityResolutionClient_1.EntityResolutionClient, ListProviderServicesCommand_1.ListProviderServicesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListSchemaMappings = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListSchemaMappingsCommand_1 = require("../commands/ListSchemaMappingsCommand");
|
|
5
6
|
const EntityResolutionClient_1 = require("../EntityResolutionClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListSchemaMappingsCommand_1.ListSchemaMappingsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListSchemaMappings(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 EntityResolutionClient_1.EntityResolutionClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected EntityResolution | EntityResolutionClient");
|
|
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.paginateListSchemaMappings = paginateListSchemaMappings;
|
|
7
|
+
exports.paginateListSchemaMappings = (0, core_1.createPaginator)(EntityResolutionClient_1.EntityResolutionClient, ListSchemaMappingsCommand_1.ListSchemaMappingsCommand, "nextToken", "nextToken", "maxResults");
|