@aws-sdk/client-entityresolution 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/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-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-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 +5 -5
|
@@ -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");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListIdMappingJobsCommand, } from "../commands/ListIdMappingJobsCommand";
|
|
2
3
|
import { EntityResolutionClient } from "../EntityResolutionClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListIdMappingJobsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListIdMappingJobs(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 EntityResolutionClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected EntityResolution | EntityResolutionClient");
|
|
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 paginateListIdMappingJobs = createPaginator(EntityResolutionClient, ListIdMappingJobsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListIdMappingWorkflowsCommand, } from "../commands/ListIdMappingWorkflowsCommand";
|
|
2
3
|
import { EntityResolutionClient } from "../EntityResolutionClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListIdMappingWorkflowsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListIdMappingWorkflows(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 EntityResolutionClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected EntityResolution | EntityResolutionClient");
|
|
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 paginateListIdMappingWorkflows = createPaginator(EntityResolutionClient, ListIdMappingWorkflowsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListMatchingJobsCommand, } from "../commands/ListMatchingJobsCommand";
|
|
2
3
|
import { EntityResolutionClient } from "../EntityResolutionClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListMatchingJobsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListMatchingJobs(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 EntityResolutionClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected EntityResolution | EntityResolutionClient");
|
|
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 paginateListMatchingJobs = createPaginator(EntityResolutionClient, ListMatchingJobsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListMatchingWorkflowsCommand, } from "../commands/ListMatchingWorkflowsCommand";
|
|
2
3
|
import { EntityResolutionClient } from "../EntityResolutionClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListMatchingWorkflowsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListMatchingWorkflows(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 EntityResolutionClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected EntityResolution | EntityResolutionClient");
|
|
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 paginateListMatchingWorkflows = createPaginator(EntityResolutionClient, ListMatchingWorkflowsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListProviderServicesCommand, } from "../commands/ListProviderServicesCommand";
|
|
2
3
|
import { EntityResolutionClient } from "../EntityResolutionClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListProviderServicesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListProviderServices(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 EntityResolutionClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected EntityResolution | EntityResolutionClient");
|
|
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 paginateListProviderServices = createPaginator(EntityResolutionClient, ListProviderServicesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListSchemaMappingsCommand, } from "../commands/ListSchemaMappingsCommand";
|
|
2
3
|
import { EntityResolutionClient } from "../EntityResolutionClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListSchemaMappingsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListSchemaMappings(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 EntityResolutionClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected EntityResolution | EntityResolutionClient");
|
|
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 paginateListSchemaMappings = createPaginator(EntityResolutionClient, ListSchemaMappingsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -4,4 +4,4 @@ import { EntityResolutionPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListIdMappingJobs: (config: EntityResolutionPaginationConfiguration, input: ListIdMappingJobsCommandInput, ...rest: any[]) => Paginator<ListIdMappingJobsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { EntityResolutionPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListIdMappingWorkflows: (config: EntityResolutionPaginationConfiguration, input: ListIdMappingWorkflowsCommandInput, ...rest: any[]) => Paginator<ListIdMappingWorkflowsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { EntityResolutionPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListMatchingJobs: (config: EntityResolutionPaginationConfiguration, input: ListMatchingJobsCommandInput, ...rest: any[]) => Paginator<ListMatchingJobsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { EntityResolutionPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListMatchingWorkflows: (config: EntityResolutionPaginationConfiguration, input: ListMatchingWorkflowsCommandInput, ...rest: any[]) => Paginator<ListMatchingWorkflowsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { EntityResolutionPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListProviderServices: (config: EntityResolutionPaginationConfiguration, input: ListProviderServicesCommandInput, ...rest: any[]) => Paginator<ListProviderServicesCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { EntityResolutionPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListSchemaMappings: (config: EntityResolutionPaginationConfiguration, input: ListSchemaMappingsCommandInput, ...rest: any[]) => Paginator<ListSchemaMappingsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListIdMappingJobsCommandOutput,
|
|
5
5
|
} from "../commands/ListIdMappingJobsCommand";
|
|
6
6
|
import { EntityResolutionPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListIdMappingJobs: (
|
|
8
8
|
config: EntityResolutionPaginationConfiguration,
|
|
9
9
|
input: ListIdMappingJobsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListIdMappingJobsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListIdMappingWorkflowsCommandOutput,
|
|
5
5
|
} from "../commands/ListIdMappingWorkflowsCommand";
|
|
6
6
|
import { EntityResolutionPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListIdMappingWorkflows: (
|
|
8
8
|
config: EntityResolutionPaginationConfiguration,
|
|
9
9
|
input: ListIdMappingWorkflowsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListIdMappingWorkflowsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListMatchingJobsCommandOutput,
|
|
5
5
|
} from "../commands/ListMatchingJobsCommand";
|
|
6
6
|
import { EntityResolutionPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListMatchingJobs: (
|
|
8
8
|
config: EntityResolutionPaginationConfiguration,
|
|
9
9
|
input: ListMatchingJobsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListMatchingJobsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListMatchingWorkflowsCommandOutput,
|
|
5
5
|
} from "../commands/ListMatchingWorkflowsCommand";
|
|
6
6
|
import { EntityResolutionPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListMatchingWorkflows: (
|
|
8
8
|
config: EntityResolutionPaginationConfiguration,
|
|
9
9
|
input: ListMatchingWorkflowsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListMatchingWorkflowsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListProviderServicesCommandOutput,
|
|
5
5
|
} from "../commands/ListProviderServicesCommand";
|
|
6
6
|
import { EntityResolutionPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListProviderServices: (
|
|
8
8
|
config: EntityResolutionPaginationConfiguration,
|
|
9
9
|
input: ListProviderServicesCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListProviderServicesCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListSchemaMappingsCommandOutput,
|
|
5
5
|
} from "../commands/ListSchemaMappingsCommand";
|
|
6
6
|
import { EntityResolutionPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListSchemaMappings: (
|
|
8
8
|
config: EntityResolutionPaginationConfiguration,
|
|
9
9
|
input: ListSchemaMappingsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListSchemaMappingsCommandOutput>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-entityresolution",
|
|
3
3
|
"description": "AWS SDK for JavaScript Entityresolution 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",
|