@aws-sdk/client-voice-id 3.975.0 → 3.978.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/index.js +21 -13
- package/dist-es/VoiceID.js +15 -1
- package/dist-types/VoiceID.d.ts +43 -1
- package/dist-types/ts3.4/VoiceID.d.ts +47 -1
- package/package.json +17 -17
package/dist-cjs/index.js
CHANGED
|
@@ -1364,6 +1364,18 @@ class UpdateWatchlistCommand extends smithyClient.Command
|
|
|
1364
1364
|
.build() {
|
|
1365
1365
|
}
|
|
1366
1366
|
|
|
1367
|
+
const paginateListDomains = core.createPaginator(VoiceIDClient, ListDomainsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1368
|
+
|
|
1369
|
+
const paginateListFraudsterRegistrationJobs = core.createPaginator(VoiceIDClient, ListFraudsterRegistrationJobsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1370
|
+
|
|
1371
|
+
const paginateListFraudsters = core.createPaginator(VoiceIDClient, ListFraudstersCommand, "NextToken", "NextToken", "MaxResults");
|
|
1372
|
+
|
|
1373
|
+
const paginateListSpeakerEnrollmentJobs = core.createPaginator(VoiceIDClient, ListSpeakerEnrollmentJobsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1374
|
+
|
|
1375
|
+
const paginateListSpeakers = core.createPaginator(VoiceIDClient, ListSpeakersCommand, "NextToken", "NextToken", "MaxResults");
|
|
1376
|
+
|
|
1377
|
+
const paginateListWatchlists = core.createPaginator(VoiceIDClient, ListWatchlistsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1378
|
+
|
|
1367
1379
|
const commands = {
|
|
1368
1380
|
AssociateFraudsterCommand,
|
|
1369
1381
|
CreateDomainCommand,
|
|
@@ -1395,21 +1407,17 @@ const commands = {
|
|
|
1395
1407
|
UpdateDomainCommand,
|
|
1396
1408
|
UpdateWatchlistCommand,
|
|
1397
1409
|
};
|
|
1410
|
+
const paginators = {
|
|
1411
|
+
paginateListDomains,
|
|
1412
|
+
paginateListFraudsterRegistrationJobs,
|
|
1413
|
+
paginateListFraudsters,
|
|
1414
|
+
paginateListSpeakerEnrollmentJobs,
|
|
1415
|
+
paginateListSpeakers,
|
|
1416
|
+
paginateListWatchlists,
|
|
1417
|
+
};
|
|
1398
1418
|
class VoiceID extends VoiceIDClient {
|
|
1399
1419
|
}
|
|
1400
|
-
smithyClient.createAggregatedClient(commands, VoiceID);
|
|
1401
|
-
|
|
1402
|
-
const paginateListDomains = core.createPaginator(VoiceIDClient, ListDomainsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1403
|
-
|
|
1404
|
-
const paginateListFraudsterRegistrationJobs = core.createPaginator(VoiceIDClient, ListFraudsterRegistrationJobsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1405
|
-
|
|
1406
|
-
const paginateListFraudsters = core.createPaginator(VoiceIDClient, ListFraudstersCommand, "NextToken", "NextToken", "MaxResults");
|
|
1407
|
-
|
|
1408
|
-
const paginateListSpeakerEnrollmentJobs = core.createPaginator(VoiceIDClient, ListSpeakerEnrollmentJobsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1409
|
-
|
|
1410
|
-
const paginateListSpeakers = core.createPaginator(VoiceIDClient, ListSpeakersCommand, "NextToken", "NextToken", "MaxResults");
|
|
1411
|
-
|
|
1412
|
-
const paginateListWatchlists = core.createPaginator(VoiceIDClient, ListWatchlistsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1420
|
+
smithyClient.createAggregatedClient(commands, VoiceID, { paginators });
|
|
1413
1421
|
|
|
1414
1422
|
const ConflictType = {
|
|
1415
1423
|
ANOTHER_ACTIVE_STREAM: "ANOTHER_ACTIVE_STREAM",
|
package/dist-es/VoiceID.js
CHANGED
|
@@ -28,6 +28,12 @@ import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
|
28
28
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
29
29
|
import { UpdateDomainCommand, } from "./commands/UpdateDomainCommand";
|
|
30
30
|
import { UpdateWatchlistCommand, } from "./commands/UpdateWatchlistCommand";
|
|
31
|
+
import { paginateListDomains } from "./pagination/ListDomainsPaginator";
|
|
32
|
+
import { paginateListFraudsterRegistrationJobs } from "./pagination/ListFraudsterRegistrationJobsPaginator";
|
|
33
|
+
import { paginateListFraudsters } from "./pagination/ListFraudstersPaginator";
|
|
34
|
+
import { paginateListSpeakerEnrollmentJobs } from "./pagination/ListSpeakerEnrollmentJobsPaginator";
|
|
35
|
+
import { paginateListSpeakers } from "./pagination/ListSpeakersPaginator";
|
|
36
|
+
import { paginateListWatchlists } from "./pagination/ListWatchlistsPaginator";
|
|
31
37
|
import { VoiceIDClient } from "./VoiceIDClient";
|
|
32
38
|
const commands = {
|
|
33
39
|
AssociateFraudsterCommand,
|
|
@@ -60,6 +66,14 @@ const commands = {
|
|
|
60
66
|
UpdateDomainCommand,
|
|
61
67
|
UpdateWatchlistCommand,
|
|
62
68
|
};
|
|
69
|
+
const paginators = {
|
|
70
|
+
paginateListDomains,
|
|
71
|
+
paginateListFraudsterRegistrationJobs,
|
|
72
|
+
paginateListFraudsters,
|
|
73
|
+
paginateListSpeakerEnrollmentJobs,
|
|
74
|
+
paginateListSpeakers,
|
|
75
|
+
paginateListWatchlists,
|
|
76
|
+
};
|
|
63
77
|
export class VoiceID extends VoiceIDClient {
|
|
64
78
|
}
|
|
65
|
-
createAggregatedClient(commands, VoiceID);
|
|
79
|
+
createAggregatedClient(commands, VoiceID, { paginators });
|
package/dist-types/VoiceID.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
|
|
2
2
|
import { AssociateFraudsterCommandInput, AssociateFraudsterCommandOutput } from "./commands/AssociateFraudsterCommand";
|
|
3
3
|
import { CreateDomainCommandInput, CreateDomainCommandOutput } from "./commands/CreateDomainCommand";
|
|
4
4
|
import { CreateWatchlistCommandInput, CreateWatchlistCommandOutput } from "./commands/CreateWatchlistCommand";
|
|
@@ -205,6 +205,48 @@ export interface VoiceID {
|
|
|
205
205
|
updateWatchlist(args: UpdateWatchlistCommandInput, options?: __HttpHandlerOptions): Promise<UpdateWatchlistCommandOutput>;
|
|
206
206
|
updateWatchlist(args: UpdateWatchlistCommandInput, cb: (err: any, data?: UpdateWatchlistCommandOutput) => void): void;
|
|
207
207
|
updateWatchlist(args: UpdateWatchlistCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateWatchlistCommandOutput) => void): void;
|
|
208
|
+
/**
|
|
209
|
+
* @see {@link ListDomainsCommand}
|
|
210
|
+
* @param args - command input.
|
|
211
|
+
* @param paginationConfig - optional pagination config.
|
|
212
|
+
* @returns AsyncIterable of {@link ListDomainsCommandOutput}.
|
|
213
|
+
*/
|
|
214
|
+
paginateListDomains(args?: ListDomainsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListDomainsCommandOutput>;
|
|
215
|
+
/**
|
|
216
|
+
* @see {@link ListFraudsterRegistrationJobsCommand}
|
|
217
|
+
* @param args - command input.
|
|
218
|
+
* @param paginationConfig - optional pagination config.
|
|
219
|
+
* @returns AsyncIterable of {@link ListFraudsterRegistrationJobsCommandOutput}.
|
|
220
|
+
*/
|
|
221
|
+
paginateListFraudsterRegistrationJobs(args: ListFraudsterRegistrationJobsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListFraudsterRegistrationJobsCommandOutput>;
|
|
222
|
+
/**
|
|
223
|
+
* @see {@link ListFraudstersCommand}
|
|
224
|
+
* @param args - command input.
|
|
225
|
+
* @param paginationConfig - optional pagination config.
|
|
226
|
+
* @returns AsyncIterable of {@link ListFraudstersCommandOutput}.
|
|
227
|
+
*/
|
|
228
|
+
paginateListFraudsters(args: ListFraudstersCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListFraudstersCommandOutput>;
|
|
229
|
+
/**
|
|
230
|
+
* @see {@link ListSpeakerEnrollmentJobsCommand}
|
|
231
|
+
* @param args - command input.
|
|
232
|
+
* @param paginationConfig - optional pagination config.
|
|
233
|
+
* @returns AsyncIterable of {@link ListSpeakerEnrollmentJobsCommandOutput}.
|
|
234
|
+
*/
|
|
235
|
+
paginateListSpeakerEnrollmentJobs(args: ListSpeakerEnrollmentJobsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListSpeakerEnrollmentJobsCommandOutput>;
|
|
236
|
+
/**
|
|
237
|
+
* @see {@link ListSpeakersCommand}
|
|
238
|
+
* @param args - command input.
|
|
239
|
+
* @param paginationConfig - optional pagination config.
|
|
240
|
+
* @returns AsyncIterable of {@link ListSpeakersCommandOutput}.
|
|
241
|
+
*/
|
|
242
|
+
paginateListSpeakers(args: ListSpeakersCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListSpeakersCommandOutput>;
|
|
243
|
+
/**
|
|
244
|
+
* @see {@link ListWatchlistsCommand}
|
|
245
|
+
* @param args - command input.
|
|
246
|
+
* @param paginationConfig - optional pagination config.
|
|
247
|
+
* @returns AsyncIterable of {@link ListWatchlistsCommandOutput}.
|
|
248
|
+
*/
|
|
249
|
+
paginateListWatchlists(args: ListWatchlistsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListWatchlistsCommandOutput>;
|
|
208
250
|
}
|
|
209
251
|
/**
|
|
210
252
|
* <p>Amazon Connect Voice ID provides real-time caller authentication and fraud risk detection, which
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
PaginationConfiguration,
|
|
4
|
+
Paginator,
|
|
5
|
+
} from "@smithy/types";
|
|
2
6
|
import {
|
|
3
7
|
AssociateFraudsterCommandInput,
|
|
4
8
|
AssociateFraudsterCommandOutput,
|
|
@@ -495,5 +499,47 @@ export interface VoiceID {
|
|
|
495
499
|
options: __HttpHandlerOptions,
|
|
496
500
|
cb: (err: any, data?: UpdateWatchlistCommandOutput) => void
|
|
497
501
|
): void;
|
|
502
|
+
paginateListDomains(
|
|
503
|
+
args?: ListDomainsCommandInput,
|
|
504
|
+
paginationConfig?: Pick<
|
|
505
|
+
PaginationConfiguration,
|
|
506
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
507
|
+
>
|
|
508
|
+
): Paginator<ListDomainsCommandOutput>;
|
|
509
|
+
paginateListFraudsterRegistrationJobs(
|
|
510
|
+
args: ListFraudsterRegistrationJobsCommandInput,
|
|
511
|
+
paginationConfig?: Pick<
|
|
512
|
+
PaginationConfiguration,
|
|
513
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
514
|
+
>
|
|
515
|
+
): Paginator<ListFraudsterRegistrationJobsCommandOutput>;
|
|
516
|
+
paginateListFraudsters(
|
|
517
|
+
args: ListFraudstersCommandInput,
|
|
518
|
+
paginationConfig?: Pick<
|
|
519
|
+
PaginationConfiguration,
|
|
520
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
521
|
+
>
|
|
522
|
+
): Paginator<ListFraudstersCommandOutput>;
|
|
523
|
+
paginateListSpeakerEnrollmentJobs(
|
|
524
|
+
args: ListSpeakerEnrollmentJobsCommandInput,
|
|
525
|
+
paginationConfig?: Pick<
|
|
526
|
+
PaginationConfiguration,
|
|
527
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
528
|
+
>
|
|
529
|
+
): Paginator<ListSpeakerEnrollmentJobsCommandOutput>;
|
|
530
|
+
paginateListSpeakers(
|
|
531
|
+
args: ListSpeakersCommandInput,
|
|
532
|
+
paginationConfig?: Pick<
|
|
533
|
+
PaginationConfiguration,
|
|
534
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
535
|
+
>
|
|
536
|
+
): Paginator<ListSpeakersCommandOutput>;
|
|
537
|
+
paginateListWatchlists(
|
|
538
|
+
args: ListWatchlistsCommandInput,
|
|
539
|
+
paginationConfig?: Pick<
|
|
540
|
+
PaginationConfiguration,
|
|
541
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
542
|
+
>
|
|
543
|
+
): Paginator<ListWatchlistsCommandOutput>;
|
|
498
544
|
}
|
|
499
545
|
export declare class VoiceID extends VoiceIDClient implements VoiceID {}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-voice-id",
|
|
3
3
|
"description": "AWS SDK for JavaScript Voice Id Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.978.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-voice-id",
|
|
@@ -21,38 +21,38 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.973.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "^3.972.
|
|
27
|
-
"@aws-sdk/middleware-logger": "^3.972.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
31
|
-
"@aws-sdk/types": "^3.973.
|
|
24
|
+
"@aws-sdk/core": "^3.973.4",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.2",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "^3.972.2",
|
|
27
|
+
"@aws-sdk/middleware-logger": "^3.972.2",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.2",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.4",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "^3.972.2",
|
|
31
|
+
"@aws-sdk/types": "^3.973.1",
|
|
32
32
|
"@aws-sdk/util-endpoints": "3.972.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.2",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.2",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.6",
|
|
36
|
-
"@smithy/core": "^3.
|
|
36
|
+
"@smithy/core": "^3.22.0",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
38
38
|
"@smithy/hash-node": "^4.2.8",
|
|
39
39
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.29",
|
|
43
43
|
"@smithy/middleware-serde": "^4.2.9",
|
|
44
44
|
"@smithy/middleware-stack": "^4.2.8",
|
|
45
45
|
"@smithy/node-config-provider": "^4.3.8",
|
|
46
46
|
"@smithy/node-http-handler": "^4.4.8",
|
|
47
47
|
"@smithy/protocol-http": "^5.3.8",
|
|
48
|
-
"@smithy/smithy-client": "^4.
|
|
48
|
+
"@smithy/smithy-client": "^4.11.1",
|
|
49
49
|
"@smithy/types": "^4.12.0",
|
|
50
50
|
"@smithy/url-parser": "^4.2.8",
|
|
51
51
|
"@smithy/util-base64": "^4.3.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.28",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.31",
|
|
56
56
|
"@smithy/util-endpoints": "^3.2.8",
|
|
57
57
|
"@smithy/util-middleware": "^4.2.8",
|
|
58
58
|
"@smithy/util-retry": "^4.2.8",
|