@aws-sdk/client-voice-id 3.299.0 → 3.301.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/README.md +73 -9
- package/dist-cjs/VoiceID.js +120 -0
- package/dist-cjs/commands/AssociateFraudsterCommand.js +46 -0
- package/dist-cjs/commands/CreateWatchlistCommand.js +46 -0
- package/dist-cjs/commands/DeleteWatchlistCommand.js +45 -0
- package/dist-cjs/commands/DescribeWatchlistCommand.js +46 -0
- package/dist-cjs/commands/DisassociateFraudsterCommand.js +46 -0
- package/dist-cjs/commands/ListFraudstersCommand.js +45 -0
- package/dist-cjs/commands/ListWatchlistsCommand.js +46 -0
- package/dist-cjs/commands/UpdateWatchlistCommand.js +46 -0
- package/dist-cjs/commands/index.js +8 -0
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +83 -24
- package/dist-cjs/pagination/ListFraudstersPaginator.js +29 -0
- package/dist-cjs/pagination/ListWatchlistsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +2 -0
- package/dist-cjs/protocols/Aws_json1_0.js +722 -29
- package/dist-es/VoiceID.js +120 -0
- package/dist-es/commands/AssociateFraudsterCommand.js +42 -0
- package/dist-es/commands/CreateWatchlistCommand.js +42 -0
- package/dist-es/commands/DeleteWatchlistCommand.js +41 -0
- package/dist-es/commands/DescribeWatchlistCommand.js +42 -0
- package/dist-es/commands/DisassociateFraudsterCommand.js +42 -0
- package/dist-es/commands/ListFraudstersCommand.js +41 -0
- package/dist-es/commands/ListWatchlistsCommand.js +42 -0
- package/dist-es/commands/UpdateWatchlistCommand.js +42 -0
- package/dist-es/commands/index.js +8 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +71 -22
- package/dist-es/pagination/ListFraudstersPaginator.js +25 -0
- package/dist-es/pagination/ListWatchlistsPaginator.js +25 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_json1_0.js +707 -31
- package/dist-types/VoiceID.d.ts +74 -4
- package/dist-types/VoiceIDClient.d.ts +12 -4
- package/dist-types/commands/AssociateFraudsterCommand.d.ts +93 -0
- package/dist-types/commands/CreateDomainCommand.d.ts +15 -1
- package/dist-types/commands/CreateWatchlistCommand.d.ts +94 -0
- package/dist-types/commands/DeleteDomainCommand.d.ts +3 -0
- package/dist-types/commands/DeleteFraudsterCommand.d.ts +5 -1
- package/dist-types/commands/DeleteSpeakerCommand.d.ts +4 -0
- package/dist-types/commands/DeleteWatchlistCommand.d.ts +91 -0
- package/dist-types/commands/DescribeDomainCommand.d.ts +3 -0
- package/dist-types/commands/DescribeFraudsterCommand.d.ts +4 -0
- package/dist-types/commands/DescribeFraudsterRegistrationJobCommand.d.ts +4 -0
- package/dist-types/commands/DescribeSpeakerCommand.d.ts +4 -0
- package/dist-types/commands/DescribeSpeakerEnrollmentJobCommand.d.ts +4 -0
- package/dist-types/commands/DescribeWatchlistCommand.d.ts +85 -0
- package/dist-types/commands/DisassociateFraudsterCommand.d.ts +93 -0
- package/dist-types/commands/EvaluateSessionCommand.d.ts +4 -0
- package/dist-types/commands/ListDomainsCommand.d.ts +4 -0
- package/dist-types/commands/ListFraudsterRegistrationJobsCommand.d.ts +6 -0
- package/dist-types/commands/ListFraudstersCommand.d.ts +87 -0
- package/dist-types/commands/ListSpeakerEnrollmentJobsCommand.d.ts +6 -0
- package/dist-types/commands/ListSpeakersCommand.d.ts +5 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
- package/dist-types/commands/ListWatchlistsCommand.d.ts +86 -0
- package/dist-types/commands/OptOutSpeakerCommand.d.ts +4 -0
- package/dist-types/commands/StartFraudsterRegistrationJobCommand.d.ts +20 -0
- package/dist-types/commands/StartSpeakerEnrollmentJobCommand.d.ts +23 -0
- package/dist-types/commands/TagResourceCommand.d.ts +9 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UpdateDomainCommand.d.ts +8 -0
- package/dist-types/commands/UpdateWatchlistCommand.d.ts +92 -0
- package/dist-types/commands/index.d.ts +8 -0
- package/dist-types/models/models_0.d.ts +621 -214
- package/dist-types/pagination/ListFraudstersPaginator.d.ts +7 -0
- package/dist-types/pagination/ListWatchlistsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_json1_0.d.ts +24 -0
- package/dist-types/ts3.4/VoiceID.d.ts +136 -0
- package/dist-types/ts3.4/VoiceIDClient.d.ts +50 -2
- package/dist-types/ts3.4/commands/AssociateFraudsterCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateWatchlistCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/DeleteWatchlistCommand.d.ts +32 -0
- package/dist-types/ts3.4/commands/DescribeWatchlistCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DisassociateFraudsterCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListFraudstersCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/ListWatchlistsCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/UpdateWatchlistCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/index.d.ts +8 -0
- package/dist-types/ts3.4/models/models_0.d.ts +197 -69
- package/dist-types/ts3.4/pagination/ListFraudstersPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListWatchlistsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +96 -0
- package/package.json +8 -8
package/dist-types/VoiceID.d.ts
CHANGED
|
@@ -1,40 +1,62 @@
|
|
|
1
1
|
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
|
+
import { AssociateFraudsterCommandInput, AssociateFraudsterCommandOutput } from "./commands/AssociateFraudsterCommand";
|
|
2
3
|
import { CreateDomainCommandInput, CreateDomainCommandOutput } from "./commands/CreateDomainCommand";
|
|
4
|
+
import { CreateWatchlistCommandInput, CreateWatchlistCommandOutput } from "./commands/CreateWatchlistCommand";
|
|
3
5
|
import { DeleteDomainCommandInput, DeleteDomainCommandOutput } from "./commands/DeleteDomainCommand";
|
|
4
6
|
import { DeleteFraudsterCommandInput, DeleteFraudsterCommandOutput } from "./commands/DeleteFraudsterCommand";
|
|
5
7
|
import { DeleteSpeakerCommandInput, DeleteSpeakerCommandOutput } from "./commands/DeleteSpeakerCommand";
|
|
8
|
+
import { DeleteWatchlistCommandInput, DeleteWatchlistCommandOutput } from "./commands/DeleteWatchlistCommand";
|
|
6
9
|
import { DescribeDomainCommandInput, DescribeDomainCommandOutput } from "./commands/DescribeDomainCommand";
|
|
7
10
|
import { DescribeFraudsterCommandInput, DescribeFraudsterCommandOutput } from "./commands/DescribeFraudsterCommand";
|
|
8
11
|
import { DescribeFraudsterRegistrationJobCommandInput, DescribeFraudsterRegistrationJobCommandOutput } from "./commands/DescribeFraudsterRegistrationJobCommand";
|
|
9
12
|
import { DescribeSpeakerCommandInput, DescribeSpeakerCommandOutput } from "./commands/DescribeSpeakerCommand";
|
|
10
13
|
import { DescribeSpeakerEnrollmentJobCommandInput, DescribeSpeakerEnrollmentJobCommandOutput } from "./commands/DescribeSpeakerEnrollmentJobCommand";
|
|
14
|
+
import { DescribeWatchlistCommandInput, DescribeWatchlistCommandOutput } from "./commands/DescribeWatchlistCommand";
|
|
15
|
+
import { DisassociateFraudsterCommandInput, DisassociateFraudsterCommandOutput } from "./commands/DisassociateFraudsterCommand";
|
|
11
16
|
import { EvaluateSessionCommandInput, EvaluateSessionCommandOutput } from "./commands/EvaluateSessionCommand";
|
|
12
17
|
import { ListDomainsCommandInput, ListDomainsCommandOutput } from "./commands/ListDomainsCommand";
|
|
13
18
|
import { ListFraudsterRegistrationJobsCommandInput, ListFraudsterRegistrationJobsCommandOutput } from "./commands/ListFraudsterRegistrationJobsCommand";
|
|
19
|
+
import { ListFraudstersCommandInput, ListFraudstersCommandOutput } from "./commands/ListFraudstersCommand";
|
|
14
20
|
import { ListSpeakerEnrollmentJobsCommandInput, ListSpeakerEnrollmentJobsCommandOutput } from "./commands/ListSpeakerEnrollmentJobsCommand";
|
|
15
21
|
import { ListSpeakersCommandInput, ListSpeakersCommandOutput } from "./commands/ListSpeakersCommand";
|
|
16
22
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
23
|
+
import { ListWatchlistsCommandInput, ListWatchlistsCommandOutput } from "./commands/ListWatchlistsCommand";
|
|
17
24
|
import { OptOutSpeakerCommandInput, OptOutSpeakerCommandOutput } from "./commands/OptOutSpeakerCommand";
|
|
18
25
|
import { StartFraudsterRegistrationJobCommandInput, StartFraudsterRegistrationJobCommandOutput } from "./commands/StartFraudsterRegistrationJobCommand";
|
|
19
26
|
import { StartSpeakerEnrollmentJobCommandInput, StartSpeakerEnrollmentJobCommandOutput } from "./commands/StartSpeakerEnrollmentJobCommand";
|
|
20
27
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
21
28
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
22
29
|
import { UpdateDomainCommandInput, UpdateDomainCommandOutput } from "./commands/UpdateDomainCommand";
|
|
30
|
+
import { UpdateWatchlistCommandInput, UpdateWatchlistCommandOutput } from "./commands/UpdateWatchlistCommand";
|
|
23
31
|
import { VoiceIDClient } from "./VoiceIDClient";
|
|
24
32
|
/**
|
|
25
33
|
* @public
|
|
26
|
-
* <p>Amazon Connect Voice ID provides real-time caller authentication and fraud
|
|
27
|
-
*
|
|
34
|
+
* <p>Amazon Connect Voice ID provides real-time caller authentication and fraud risk detection, which
|
|
35
|
+
* make voice interactions in contact centers more secure and efficient.</p>
|
|
28
36
|
*/
|
|
29
37
|
export declare class VoiceID extends VoiceIDClient {
|
|
38
|
+
/**
|
|
39
|
+
* @public
|
|
40
|
+
* <p>Associates the fraudsters with the watchlist specified in the same domain. </p>
|
|
41
|
+
*/
|
|
42
|
+
associateFraudster(args: AssociateFraudsterCommandInput, options?: __HttpHandlerOptions): Promise<AssociateFraudsterCommandOutput>;
|
|
43
|
+
associateFraudster(args: AssociateFraudsterCommandInput, cb: (err: any, data?: AssociateFraudsterCommandOutput) => void): void;
|
|
44
|
+
associateFraudster(args: AssociateFraudsterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateFraudsterCommandOutput) => void): void;
|
|
30
45
|
/**
|
|
31
46
|
* @public
|
|
32
47
|
* <p>Creates a domain that contains all Amazon Connect Voice ID data, such as speakers, fraudsters,
|
|
33
|
-
* customer audio, and voiceprints.
|
|
48
|
+
* customer audio, and voiceprints. Every domain is created with a default watchlist that fraudsters can be a part of.</p>
|
|
34
49
|
*/
|
|
35
50
|
createDomain(args: CreateDomainCommandInput, options?: __HttpHandlerOptions): Promise<CreateDomainCommandOutput>;
|
|
36
51
|
createDomain(args: CreateDomainCommandInput, cb: (err: any, data?: CreateDomainCommandOutput) => void): void;
|
|
37
52
|
createDomain(args: CreateDomainCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateDomainCommandOutput) => void): void;
|
|
53
|
+
/**
|
|
54
|
+
* @public
|
|
55
|
+
* <p>Creates a watchlist that fraudsters can be a part of.</p>
|
|
56
|
+
*/
|
|
57
|
+
createWatchlist(args: CreateWatchlistCommandInput, options?: __HttpHandlerOptions): Promise<CreateWatchlistCommandOutput>;
|
|
58
|
+
createWatchlist(args: CreateWatchlistCommandInput, cb: (err: any, data?: CreateWatchlistCommandOutput) => void): void;
|
|
59
|
+
createWatchlist(args: CreateWatchlistCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateWatchlistCommandOutput) => void): void;
|
|
38
60
|
/**
|
|
39
61
|
* @public
|
|
40
62
|
* <p>Deletes the specified domain from Voice ID.</p>
|
|
@@ -44,7 +66,7 @@ export declare class VoiceID extends VoiceIDClient {
|
|
|
44
66
|
deleteDomain(args: DeleteDomainCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteDomainCommandOutput) => void): void;
|
|
45
67
|
/**
|
|
46
68
|
* @public
|
|
47
|
-
* <p>Deletes the specified fraudster from Voice ID.</p>
|
|
69
|
+
* <p>Deletes the specified fraudster from Voice ID. This action disassociates the fraudster from any watchlists it is a part of.</p>
|
|
48
70
|
*/
|
|
49
71
|
deleteFraudster(args: DeleteFraudsterCommandInput, options?: __HttpHandlerOptions): Promise<DeleteFraudsterCommandOutput>;
|
|
50
72
|
deleteFraudster(args: DeleteFraudsterCommandInput, cb: (err: any, data?: DeleteFraudsterCommandOutput) => void): void;
|
|
@@ -56,6 +78,15 @@ export declare class VoiceID extends VoiceIDClient {
|
|
|
56
78
|
deleteSpeaker(args: DeleteSpeakerCommandInput, options?: __HttpHandlerOptions): Promise<DeleteSpeakerCommandOutput>;
|
|
57
79
|
deleteSpeaker(args: DeleteSpeakerCommandInput, cb: (err: any, data?: DeleteSpeakerCommandOutput) => void): void;
|
|
58
80
|
deleteSpeaker(args: DeleteSpeakerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteSpeakerCommandOutput) => void): void;
|
|
81
|
+
/**
|
|
82
|
+
* @public
|
|
83
|
+
* <p>Deletes the specified watchlist from Voice ID. This API throws an exception when
|
|
84
|
+
* there are fraudsters in the watchlist that you are trying to delete. You must delete the
|
|
85
|
+
* fraudsters, and then delete the watchlist. Every domain has a default watchlist which cannot be deleted. </p>
|
|
86
|
+
*/
|
|
87
|
+
deleteWatchlist(args: DeleteWatchlistCommandInput, options?: __HttpHandlerOptions): Promise<DeleteWatchlistCommandOutput>;
|
|
88
|
+
deleteWatchlist(args: DeleteWatchlistCommandInput, cb: (err: any, data?: DeleteWatchlistCommandOutput) => void): void;
|
|
89
|
+
deleteWatchlist(args: DeleteWatchlistCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteWatchlistCommandOutput) => void): void;
|
|
59
90
|
/**
|
|
60
91
|
* @public
|
|
61
92
|
* <p>Describes the specified domain.</p>
|
|
@@ -91,6 +122,23 @@ export declare class VoiceID extends VoiceIDClient {
|
|
|
91
122
|
describeSpeakerEnrollmentJob(args: DescribeSpeakerEnrollmentJobCommandInput, options?: __HttpHandlerOptions): Promise<DescribeSpeakerEnrollmentJobCommandOutput>;
|
|
92
123
|
describeSpeakerEnrollmentJob(args: DescribeSpeakerEnrollmentJobCommandInput, cb: (err: any, data?: DescribeSpeakerEnrollmentJobCommandOutput) => void): void;
|
|
93
124
|
describeSpeakerEnrollmentJob(args: DescribeSpeakerEnrollmentJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeSpeakerEnrollmentJobCommandOutput) => void): void;
|
|
125
|
+
/**
|
|
126
|
+
* @public
|
|
127
|
+
* <p>Describes the specified watchlist.</p>
|
|
128
|
+
*/
|
|
129
|
+
describeWatchlist(args: DescribeWatchlistCommandInput, options?: __HttpHandlerOptions): Promise<DescribeWatchlistCommandOutput>;
|
|
130
|
+
describeWatchlist(args: DescribeWatchlistCommandInput, cb: (err: any, data?: DescribeWatchlistCommandOutput) => void): void;
|
|
131
|
+
describeWatchlist(args: DescribeWatchlistCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeWatchlistCommandOutput) => void): void;
|
|
132
|
+
/**
|
|
133
|
+
* @public
|
|
134
|
+
* <p>Disassociates the fraudsters from the watchlist specified. Voice ID always expects a
|
|
135
|
+
* fraudster to be a part of at least one watchlist. If
|
|
136
|
+
* you try to disassociate a fraudster from its only watchlist, a <code>ValidationException</code> is thrown.
|
|
137
|
+
* </p>
|
|
138
|
+
*/
|
|
139
|
+
disassociateFraudster(args: DisassociateFraudsterCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateFraudsterCommandOutput>;
|
|
140
|
+
disassociateFraudster(args: DisassociateFraudsterCommandInput, cb: (err: any, data?: DisassociateFraudsterCommandOutput) => void): void;
|
|
141
|
+
disassociateFraudster(args: DisassociateFraudsterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateFraudsterCommandOutput) => void): void;
|
|
94
142
|
/**
|
|
95
143
|
* @public
|
|
96
144
|
* <p>Evaluates a specified session based on audio data accumulated during a streaming
|
|
@@ -115,6 +163,13 @@ export declare class VoiceID extends VoiceIDClient {
|
|
|
115
163
|
listFraudsterRegistrationJobs(args: ListFraudsterRegistrationJobsCommandInput, options?: __HttpHandlerOptions): Promise<ListFraudsterRegistrationJobsCommandOutput>;
|
|
116
164
|
listFraudsterRegistrationJobs(args: ListFraudsterRegistrationJobsCommandInput, cb: (err: any, data?: ListFraudsterRegistrationJobsCommandOutput) => void): void;
|
|
117
165
|
listFraudsterRegistrationJobs(args: ListFraudsterRegistrationJobsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListFraudsterRegistrationJobsCommandOutput) => void): void;
|
|
166
|
+
/**
|
|
167
|
+
* @public
|
|
168
|
+
* <p>Lists all fraudsters in a specified watchlist or domain.</p>
|
|
169
|
+
*/
|
|
170
|
+
listFraudsters(args: ListFraudstersCommandInput, options?: __HttpHandlerOptions): Promise<ListFraudstersCommandOutput>;
|
|
171
|
+
listFraudsters(args: ListFraudstersCommandInput, cb: (err: any, data?: ListFraudstersCommandOutput) => void): void;
|
|
172
|
+
listFraudsters(args: ListFraudstersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListFraudstersCommandOutput) => void): void;
|
|
118
173
|
/**
|
|
119
174
|
* @public
|
|
120
175
|
* <p>Lists all the speaker enrollment jobs in the domain with the specified
|
|
@@ -138,6 +193,13 @@ export declare class VoiceID extends VoiceIDClient {
|
|
|
138
193
|
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
139
194
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
140
195
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
196
|
+
/**
|
|
197
|
+
* @public
|
|
198
|
+
* <p>Lists all watchlists in a specified domain.</p>
|
|
199
|
+
*/
|
|
200
|
+
listWatchlists(args: ListWatchlistsCommandInput, options?: __HttpHandlerOptions): Promise<ListWatchlistsCommandOutput>;
|
|
201
|
+
listWatchlists(args: ListWatchlistsCommandInput, cb: (err: any, data?: ListWatchlistsCommandOutput) => void): void;
|
|
202
|
+
listWatchlists(args: ListWatchlistsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListWatchlistsCommandOutput) => void): void;
|
|
141
203
|
/**
|
|
142
204
|
* @public
|
|
143
205
|
* <p>Opts out a speaker from Voice ID. A speaker can be opted out regardless of whether or
|
|
@@ -187,4 +249,12 @@ export declare class VoiceID extends VoiceIDClient {
|
|
|
187
249
|
updateDomain(args: UpdateDomainCommandInput, options?: __HttpHandlerOptions): Promise<UpdateDomainCommandOutput>;
|
|
188
250
|
updateDomain(args: UpdateDomainCommandInput, cb: (err: any, data?: UpdateDomainCommandOutput) => void): void;
|
|
189
251
|
updateDomain(args: UpdateDomainCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateDomainCommandOutput) => void): void;
|
|
252
|
+
/**
|
|
253
|
+
* @public
|
|
254
|
+
* <p>Updates the specified watchlist. Every domain has a default watchlist which cannot be updated.
|
|
255
|
+
* </p>
|
|
256
|
+
*/
|
|
257
|
+
updateWatchlist(args: UpdateWatchlistCommandInput, options?: __HttpHandlerOptions): Promise<UpdateWatchlistCommandOutput>;
|
|
258
|
+
updateWatchlist(args: UpdateWatchlistCommandInput, cb: (err: any, data?: UpdateWatchlistCommandOutput) => void): void;
|
|
259
|
+
updateWatchlist(args: UpdateWatchlistCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateWatchlistCommandOutput) => void): void;
|
|
190
260
|
}
|
|
@@ -7,36 +7,44 @@ import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middlewa
|
|
|
7
7
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
8
8
|
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
9
9
|
import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as __ChecksumConstructor, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
10
|
+
import { AssociateFraudsterCommandInput, AssociateFraudsterCommandOutput } from "./commands/AssociateFraudsterCommand";
|
|
10
11
|
import { CreateDomainCommandInput, CreateDomainCommandOutput } from "./commands/CreateDomainCommand";
|
|
12
|
+
import { CreateWatchlistCommandInput, CreateWatchlistCommandOutput } from "./commands/CreateWatchlistCommand";
|
|
11
13
|
import { DeleteDomainCommandInput, DeleteDomainCommandOutput } from "./commands/DeleteDomainCommand";
|
|
12
14
|
import { DeleteFraudsterCommandInput, DeleteFraudsterCommandOutput } from "./commands/DeleteFraudsterCommand";
|
|
13
15
|
import { DeleteSpeakerCommandInput, DeleteSpeakerCommandOutput } from "./commands/DeleteSpeakerCommand";
|
|
16
|
+
import { DeleteWatchlistCommandInput, DeleteWatchlistCommandOutput } from "./commands/DeleteWatchlistCommand";
|
|
14
17
|
import { DescribeDomainCommandInput, DescribeDomainCommandOutput } from "./commands/DescribeDomainCommand";
|
|
15
18
|
import { DescribeFraudsterCommandInput, DescribeFraudsterCommandOutput } from "./commands/DescribeFraudsterCommand";
|
|
16
19
|
import { DescribeFraudsterRegistrationJobCommandInput, DescribeFraudsterRegistrationJobCommandOutput } from "./commands/DescribeFraudsterRegistrationJobCommand";
|
|
17
20
|
import { DescribeSpeakerCommandInput, DescribeSpeakerCommandOutput } from "./commands/DescribeSpeakerCommand";
|
|
18
21
|
import { DescribeSpeakerEnrollmentJobCommandInput, DescribeSpeakerEnrollmentJobCommandOutput } from "./commands/DescribeSpeakerEnrollmentJobCommand";
|
|
22
|
+
import { DescribeWatchlistCommandInput, DescribeWatchlistCommandOutput } from "./commands/DescribeWatchlistCommand";
|
|
23
|
+
import { DisassociateFraudsterCommandInput, DisassociateFraudsterCommandOutput } from "./commands/DisassociateFraudsterCommand";
|
|
19
24
|
import { EvaluateSessionCommandInput, EvaluateSessionCommandOutput } from "./commands/EvaluateSessionCommand";
|
|
20
25
|
import { ListDomainsCommandInput, ListDomainsCommandOutput } from "./commands/ListDomainsCommand";
|
|
21
26
|
import { ListFraudsterRegistrationJobsCommandInput, ListFraudsterRegistrationJobsCommandOutput } from "./commands/ListFraudsterRegistrationJobsCommand";
|
|
27
|
+
import { ListFraudstersCommandInput, ListFraudstersCommandOutput } from "./commands/ListFraudstersCommand";
|
|
22
28
|
import { ListSpeakerEnrollmentJobsCommandInput, ListSpeakerEnrollmentJobsCommandOutput } from "./commands/ListSpeakerEnrollmentJobsCommand";
|
|
23
29
|
import { ListSpeakersCommandInput, ListSpeakersCommandOutput } from "./commands/ListSpeakersCommand";
|
|
24
30
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
31
|
+
import { ListWatchlistsCommandInput, ListWatchlistsCommandOutput } from "./commands/ListWatchlistsCommand";
|
|
25
32
|
import { OptOutSpeakerCommandInput, OptOutSpeakerCommandOutput } from "./commands/OptOutSpeakerCommand";
|
|
26
33
|
import { StartFraudsterRegistrationJobCommandInput, StartFraudsterRegistrationJobCommandOutput } from "./commands/StartFraudsterRegistrationJobCommand";
|
|
27
34
|
import { StartSpeakerEnrollmentJobCommandInput, StartSpeakerEnrollmentJobCommandOutput } from "./commands/StartSpeakerEnrollmentJobCommand";
|
|
28
35
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
29
36
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
30
37
|
import { UpdateDomainCommandInput, UpdateDomainCommandOutput } from "./commands/UpdateDomainCommand";
|
|
38
|
+
import { UpdateWatchlistCommandInput, UpdateWatchlistCommandOutput } from "./commands/UpdateWatchlistCommand";
|
|
31
39
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
32
40
|
/**
|
|
33
41
|
* @public
|
|
34
42
|
*/
|
|
35
|
-
export type ServiceInputTypes = CreateDomainCommandInput | DeleteDomainCommandInput | DeleteFraudsterCommandInput | DeleteSpeakerCommandInput | DescribeDomainCommandInput | DescribeFraudsterCommandInput | DescribeFraudsterRegistrationJobCommandInput | DescribeSpeakerCommandInput | DescribeSpeakerEnrollmentJobCommandInput | EvaluateSessionCommandInput | ListDomainsCommandInput | ListFraudsterRegistrationJobsCommandInput | ListSpeakerEnrollmentJobsCommandInput | ListSpeakersCommandInput | ListTagsForResourceCommandInput | OptOutSpeakerCommandInput | StartFraudsterRegistrationJobCommandInput | StartSpeakerEnrollmentJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateDomainCommandInput;
|
|
43
|
+
export type ServiceInputTypes = AssociateFraudsterCommandInput | CreateDomainCommandInput | CreateWatchlistCommandInput | DeleteDomainCommandInput | DeleteFraudsterCommandInput | DeleteSpeakerCommandInput | DeleteWatchlistCommandInput | DescribeDomainCommandInput | DescribeFraudsterCommandInput | DescribeFraudsterRegistrationJobCommandInput | DescribeSpeakerCommandInput | DescribeSpeakerEnrollmentJobCommandInput | DescribeWatchlistCommandInput | DisassociateFraudsterCommandInput | EvaluateSessionCommandInput | ListDomainsCommandInput | ListFraudsterRegistrationJobsCommandInput | ListFraudstersCommandInput | ListSpeakerEnrollmentJobsCommandInput | ListSpeakersCommandInput | ListTagsForResourceCommandInput | ListWatchlistsCommandInput | OptOutSpeakerCommandInput | StartFraudsterRegistrationJobCommandInput | StartSpeakerEnrollmentJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateDomainCommandInput | UpdateWatchlistCommandInput;
|
|
36
44
|
/**
|
|
37
45
|
* @public
|
|
38
46
|
*/
|
|
39
|
-
export type ServiceOutputTypes = CreateDomainCommandOutput | DeleteDomainCommandOutput | DeleteFraudsterCommandOutput | DeleteSpeakerCommandOutput | DescribeDomainCommandOutput | DescribeFraudsterCommandOutput | DescribeFraudsterRegistrationJobCommandOutput | DescribeSpeakerCommandOutput | DescribeSpeakerEnrollmentJobCommandOutput | EvaluateSessionCommandOutput | ListDomainsCommandOutput | ListFraudsterRegistrationJobsCommandOutput | ListSpeakerEnrollmentJobsCommandOutput | ListSpeakersCommandOutput | ListTagsForResourceCommandOutput | OptOutSpeakerCommandOutput | StartFraudsterRegistrationJobCommandOutput | StartSpeakerEnrollmentJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateDomainCommandOutput;
|
|
47
|
+
export type ServiceOutputTypes = AssociateFraudsterCommandOutput | CreateDomainCommandOutput | CreateWatchlistCommandOutput | DeleteDomainCommandOutput | DeleteFraudsterCommandOutput | DeleteSpeakerCommandOutput | DeleteWatchlistCommandOutput | DescribeDomainCommandOutput | DescribeFraudsterCommandOutput | DescribeFraudsterRegistrationJobCommandOutput | DescribeSpeakerCommandOutput | DescribeSpeakerEnrollmentJobCommandOutput | DescribeWatchlistCommandOutput | DisassociateFraudsterCommandOutput | EvaluateSessionCommandOutput | ListDomainsCommandOutput | ListFraudsterRegistrationJobsCommandOutput | ListFraudstersCommandOutput | ListSpeakerEnrollmentJobsCommandOutput | ListSpeakersCommandOutput | ListTagsForResourceCommandOutput | ListWatchlistsCommandOutput | OptOutSpeakerCommandOutput | StartFraudsterRegistrationJobCommandOutput | StartSpeakerEnrollmentJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateDomainCommandOutput | UpdateWatchlistCommandOutput;
|
|
40
48
|
/**
|
|
41
49
|
* @public
|
|
42
50
|
*/
|
|
@@ -164,8 +172,8 @@ export interface VoiceIDClientResolvedConfig extends VoiceIDClientResolvedConfig
|
|
|
164
172
|
}
|
|
165
173
|
/**
|
|
166
174
|
* @public
|
|
167
|
-
* <p>Amazon Connect Voice ID provides real-time caller authentication and fraud
|
|
168
|
-
*
|
|
175
|
+
* <p>Amazon Connect Voice ID provides real-time caller authentication and fraud risk detection, which
|
|
176
|
+
* make voice interactions in contact centers more secure and efficient.</p>
|
|
169
177
|
*/
|
|
170
178
|
export declare class VoiceIDClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, VoiceIDClientResolvedConfig> {
|
|
171
179
|
/**
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { AssociateFraudsterRequest, AssociateFraudsterResponse } from "../models/models_0";
|
|
5
|
+
import { ServiceInputTypes, ServiceOutputTypes, VoiceIDClientResolvedConfig } from "../VoiceIDClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
9
|
+
* The input for {@link AssociateFraudsterCommand}.
|
|
10
|
+
*/
|
|
11
|
+
export interface AssociateFraudsterCommandInput extends AssociateFraudsterRequest {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
16
|
+
* The output of {@link AssociateFraudsterCommand}.
|
|
17
|
+
*/
|
|
18
|
+
export interface AssociateFraudsterCommandOutput extends AssociateFraudsterResponse, __MetadataBearer {
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
* <p>Associates the fraudsters with the watchlist specified in the same domain. </p>
|
|
23
|
+
* @example
|
|
24
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
25
|
+
* ```javascript
|
|
26
|
+
* import { VoiceIDClient, AssociateFraudsterCommand } from "@aws-sdk/client-voice-id"; // ES Modules import
|
|
27
|
+
* // const { VoiceIDClient, AssociateFraudsterCommand } = require("@aws-sdk/client-voice-id"); // CommonJS import
|
|
28
|
+
* const client = new VoiceIDClient(config);
|
|
29
|
+
* const input = { // AssociateFraudsterRequest
|
|
30
|
+
* DomainId: "STRING_VALUE", // required
|
|
31
|
+
* WatchlistId: "STRING_VALUE", // required
|
|
32
|
+
* FraudsterId: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
34
|
+
* const command = new AssociateFraudsterCommand(input);
|
|
35
|
+
* const response = await client.send(command);
|
|
36
|
+
* ```
|
|
37
|
+
*
|
|
38
|
+
* @param AssociateFraudsterCommandInput - {@link AssociateFraudsterCommandInput}
|
|
39
|
+
* @returns {@link AssociateFraudsterCommandOutput}
|
|
40
|
+
* @see {@link AssociateFraudsterCommandInput} for command's `input` shape.
|
|
41
|
+
* @see {@link AssociateFraudsterCommandOutput} for command's `response` shape.
|
|
42
|
+
* @see {@link VoiceIDClientResolvedConfig | config} for VoiceIDClient's `config` shape.
|
|
43
|
+
*
|
|
44
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
45
|
+
* <p>You do not have sufficient permissions to perform this action. Check the error message
|
|
46
|
+
* and try again.</p>
|
|
47
|
+
*
|
|
48
|
+
* @throws {@link ConflictException} (client fault)
|
|
49
|
+
* <p>The request failed due to a conflict. Check the <code>ConflictType</code> and error
|
|
50
|
+
* message for more details.</p>
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link InternalServerException} (server fault)
|
|
53
|
+
* <p>The request failed due to an unknown error on the server side.</p>
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
56
|
+
* <p>The specified resource cannot be found. Check the <code>ResourceType</code> and error
|
|
57
|
+
* message for more details.</p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
60
|
+
* <p>The request exceeded the service quota. Refer to <a href="https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html#voiceid-quotas">Voice ID Service Quotas</a> and try your request again.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
63
|
+
* <p>The request was denied due to request throttling. Please slow down your request rate.
|
|
64
|
+
* Refer to <a href="https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html##voiceid-api-quotas">
|
|
65
|
+
* Amazon Connect Voice ID Service API throttling quotas </a> and try your
|
|
66
|
+
* request again.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ValidationException} (client fault)
|
|
69
|
+
* <p>The request failed one or more validations; check the error message for more
|
|
70
|
+
* details.</p>
|
|
71
|
+
*
|
|
72
|
+
*
|
|
73
|
+
*/
|
|
74
|
+
export declare class AssociateFraudsterCommand extends $Command<AssociateFraudsterCommandInput, AssociateFraudsterCommandOutput, VoiceIDClientResolvedConfig> {
|
|
75
|
+
readonly input: AssociateFraudsterCommandInput;
|
|
76
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
77
|
+
/**
|
|
78
|
+
* @public
|
|
79
|
+
*/
|
|
80
|
+
constructor(input: AssociateFraudsterCommandInput);
|
|
81
|
+
/**
|
|
82
|
+
* @internal
|
|
83
|
+
*/
|
|
84
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: VoiceIDClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AssociateFraudsterCommandInput, AssociateFraudsterCommandOutput>;
|
|
85
|
+
/**
|
|
86
|
+
* @internal
|
|
87
|
+
*/
|
|
88
|
+
private serialize;
|
|
89
|
+
/**
|
|
90
|
+
* @internal
|
|
91
|
+
*/
|
|
92
|
+
private deserialize;
|
|
93
|
+
}
|
|
@@ -20,13 +20,27 @@ export interface CreateDomainCommandOutput extends CreateDomainResponse, __Metad
|
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
22
|
* <p>Creates a domain that contains all Amazon Connect Voice ID data, such as speakers, fraudsters,
|
|
23
|
-
* customer audio, and voiceprints.
|
|
23
|
+
* customer audio, and voiceprints. Every domain is created with a default watchlist that fraudsters can be a part of.</p>
|
|
24
24
|
* @example
|
|
25
25
|
* Use a bare-bones client and the command you need to make an API call.
|
|
26
26
|
* ```javascript
|
|
27
27
|
* import { VoiceIDClient, CreateDomainCommand } from "@aws-sdk/client-voice-id"; // ES Modules import
|
|
28
28
|
* // const { VoiceIDClient, CreateDomainCommand } = require("@aws-sdk/client-voice-id"); // CommonJS import
|
|
29
29
|
* const client = new VoiceIDClient(config);
|
|
30
|
+
* const input = { // CreateDomainRequest
|
|
31
|
+
* Name: "STRING_VALUE", // required
|
|
32
|
+
* Description: "STRING_VALUE",
|
|
33
|
+
* ServerSideEncryptionConfiguration: { // ServerSideEncryptionConfiguration
|
|
34
|
+
* KmsKeyId: "STRING_VALUE", // required
|
|
35
|
+
* },
|
|
36
|
+
* ClientToken: "STRING_VALUE",
|
|
37
|
+
* Tags: [ // TagList
|
|
38
|
+
* { // Tag
|
|
39
|
+
* Key: "STRING_VALUE", // required
|
|
40
|
+
* Value: "STRING_VALUE", // required
|
|
41
|
+
* },
|
|
42
|
+
* ],
|
|
43
|
+
* };
|
|
30
44
|
* const command = new CreateDomainCommand(input);
|
|
31
45
|
* const response = await client.send(command);
|
|
32
46
|
* ```
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { CreateWatchlistRequest, CreateWatchlistResponse } from "../models/models_0";
|
|
5
|
+
import { ServiceInputTypes, ServiceOutputTypes, VoiceIDClientResolvedConfig } from "../VoiceIDClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
9
|
+
* The input for {@link CreateWatchlistCommand}.
|
|
10
|
+
*/
|
|
11
|
+
export interface CreateWatchlistCommandInput extends CreateWatchlistRequest {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
16
|
+
* The output of {@link CreateWatchlistCommand}.
|
|
17
|
+
*/
|
|
18
|
+
export interface CreateWatchlistCommandOutput extends CreateWatchlistResponse, __MetadataBearer {
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
* <p>Creates a watchlist that fraudsters can be a part of.</p>
|
|
23
|
+
* @example
|
|
24
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
25
|
+
* ```javascript
|
|
26
|
+
* import { VoiceIDClient, CreateWatchlistCommand } from "@aws-sdk/client-voice-id"; // ES Modules import
|
|
27
|
+
* // const { VoiceIDClient, CreateWatchlistCommand } = require("@aws-sdk/client-voice-id"); // CommonJS import
|
|
28
|
+
* const client = new VoiceIDClient(config);
|
|
29
|
+
* const input = { // CreateWatchlistRequest
|
|
30
|
+
* DomainId: "STRING_VALUE", // required
|
|
31
|
+
* Name: "STRING_VALUE", // required
|
|
32
|
+
* Description: "STRING_VALUE",
|
|
33
|
+
* ClientToken: "STRING_VALUE",
|
|
34
|
+
* };
|
|
35
|
+
* const command = new CreateWatchlistCommand(input);
|
|
36
|
+
* const response = await client.send(command);
|
|
37
|
+
* ```
|
|
38
|
+
*
|
|
39
|
+
* @param CreateWatchlistCommandInput - {@link CreateWatchlistCommandInput}
|
|
40
|
+
* @returns {@link CreateWatchlistCommandOutput}
|
|
41
|
+
* @see {@link CreateWatchlistCommandInput} for command's `input` shape.
|
|
42
|
+
* @see {@link CreateWatchlistCommandOutput} for command's `response` shape.
|
|
43
|
+
* @see {@link VoiceIDClientResolvedConfig | config} for VoiceIDClient's `config` shape.
|
|
44
|
+
*
|
|
45
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
46
|
+
* <p>You do not have sufficient permissions to perform this action. Check the error message
|
|
47
|
+
* and try again.</p>
|
|
48
|
+
*
|
|
49
|
+
* @throws {@link ConflictException} (client fault)
|
|
50
|
+
* <p>The request failed due to a conflict. Check the <code>ConflictType</code> and error
|
|
51
|
+
* message for more details.</p>
|
|
52
|
+
*
|
|
53
|
+
* @throws {@link InternalServerException} (server fault)
|
|
54
|
+
* <p>The request failed due to an unknown error on the server side.</p>
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
57
|
+
* <p>The specified resource cannot be found. Check the <code>ResourceType</code> and error
|
|
58
|
+
* message for more details.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
61
|
+
* <p>The request exceeded the service quota. Refer to <a href="https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html#voiceid-quotas">Voice ID Service Quotas</a> and try your request again.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
64
|
+
* <p>The request was denied due to request throttling. Please slow down your request rate.
|
|
65
|
+
* Refer to <a href="https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html##voiceid-api-quotas">
|
|
66
|
+
* Amazon Connect Voice ID Service API throttling quotas </a> and try your
|
|
67
|
+
* request again.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ValidationException} (client fault)
|
|
70
|
+
* <p>The request failed one or more validations; check the error message for more
|
|
71
|
+
* details.</p>
|
|
72
|
+
*
|
|
73
|
+
*
|
|
74
|
+
*/
|
|
75
|
+
export declare class CreateWatchlistCommand extends $Command<CreateWatchlistCommandInput, CreateWatchlistCommandOutput, VoiceIDClientResolvedConfig> {
|
|
76
|
+
readonly input: CreateWatchlistCommandInput;
|
|
77
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
78
|
+
/**
|
|
79
|
+
* @public
|
|
80
|
+
*/
|
|
81
|
+
constructor(input: CreateWatchlistCommandInput);
|
|
82
|
+
/**
|
|
83
|
+
* @internal
|
|
84
|
+
*/
|
|
85
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: VoiceIDClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateWatchlistCommandInput, CreateWatchlistCommandOutput>;
|
|
86
|
+
/**
|
|
87
|
+
* @internal
|
|
88
|
+
*/
|
|
89
|
+
private serialize;
|
|
90
|
+
/**
|
|
91
|
+
* @internal
|
|
92
|
+
*/
|
|
93
|
+
private deserialize;
|
|
94
|
+
}
|
|
@@ -26,6 +26,9 @@ export interface DeleteDomainCommandOutput extends __MetadataBearer {
|
|
|
26
26
|
* import { VoiceIDClient, DeleteDomainCommand } from "@aws-sdk/client-voice-id"; // ES Modules import
|
|
27
27
|
* // const { VoiceIDClient, DeleteDomainCommand } = require("@aws-sdk/client-voice-id"); // CommonJS import
|
|
28
28
|
* const client = new VoiceIDClient(config);
|
|
29
|
+
* const input = { // DeleteDomainRequest
|
|
30
|
+
* DomainId: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DeleteDomainCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -19,13 +19,17 @@ export interface DeleteFraudsterCommandOutput extends __MetadataBearer {
|
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
|
-
* <p>Deletes the specified fraudster from Voice ID.</p>
|
|
22
|
+
* <p>Deletes the specified fraudster from Voice ID. This action disassociates the fraudster from any watchlists it is a part of.</p>
|
|
23
23
|
* @example
|
|
24
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
25
25
|
* ```javascript
|
|
26
26
|
* import { VoiceIDClient, DeleteFraudsterCommand } from "@aws-sdk/client-voice-id"; // ES Modules import
|
|
27
27
|
* // const { VoiceIDClient, DeleteFraudsterCommand } = require("@aws-sdk/client-voice-id"); // CommonJS import
|
|
28
28
|
* const client = new VoiceIDClient(config);
|
|
29
|
+
* const input = { // DeleteFraudsterRequest
|
|
30
|
+
* DomainId: "STRING_VALUE", // required
|
|
31
|
+
* FraudsterId: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new DeleteFraudsterCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface DeleteSpeakerCommandOutput extends __MetadataBearer {
|
|
|
26
26
|
* import { VoiceIDClient, DeleteSpeakerCommand } from "@aws-sdk/client-voice-id"; // ES Modules import
|
|
27
27
|
* // const { VoiceIDClient, DeleteSpeakerCommand } = require("@aws-sdk/client-voice-id"); // CommonJS import
|
|
28
28
|
* const client = new VoiceIDClient(config);
|
|
29
|
+
* const input = { // DeleteSpeakerRequest
|
|
30
|
+
* DomainId: "STRING_VALUE", // required
|
|
31
|
+
* SpeakerId: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new DeleteSpeakerCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { DeleteWatchlistRequest } from "../models/models_0";
|
|
5
|
+
import { ServiceInputTypes, ServiceOutputTypes, VoiceIDClientResolvedConfig } from "../VoiceIDClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
9
|
+
* The input for {@link DeleteWatchlistCommand}.
|
|
10
|
+
*/
|
|
11
|
+
export interface DeleteWatchlistCommandInput extends DeleteWatchlistRequest {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
16
|
+
* The output of {@link DeleteWatchlistCommand}.
|
|
17
|
+
*/
|
|
18
|
+
export interface DeleteWatchlistCommandOutput extends __MetadataBearer {
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
* <p>Deletes the specified watchlist from Voice ID. This API throws an exception when
|
|
23
|
+
* there are fraudsters in the watchlist that you are trying to delete. You must delete the
|
|
24
|
+
* fraudsters, and then delete the watchlist. Every domain has a default watchlist which cannot be deleted. </p>
|
|
25
|
+
* @example
|
|
26
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
+
* ```javascript
|
|
28
|
+
* import { VoiceIDClient, DeleteWatchlistCommand } from "@aws-sdk/client-voice-id"; // ES Modules import
|
|
29
|
+
* // const { VoiceIDClient, DeleteWatchlistCommand } = require("@aws-sdk/client-voice-id"); // CommonJS import
|
|
30
|
+
* const client = new VoiceIDClient(config);
|
|
31
|
+
* const input = { // DeleteWatchlistRequest
|
|
32
|
+
* DomainId: "STRING_VALUE", // required
|
|
33
|
+
* WatchlistId: "STRING_VALUE", // required
|
|
34
|
+
* };
|
|
35
|
+
* const command = new DeleteWatchlistCommand(input);
|
|
36
|
+
* const response = await client.send(command);
|
|
37
|
+
* ```
|
|
38
|
+
*
|
|
39
|
+
* @param DeleteWatchlistCommandInput - {@link DeleteWatchlistCommandInput}
|
|
40
|
+
* @returns {@link DeleteWatchlistCommandOutput}
|
|
41
|
+
* @see {@link DeleteWatchlistCommandInput} for command's `input` shape.
|
|
42
|
+
* @see {@link DeleteWatchlistCommandOutput} for command's `response` shape.
|
|
43
|
+
* @see {@link VoiceIDClientResolvedConfig | config} for VoiceIDClient's `config` shape.
|
|
44
|
+
*
|
|
45
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
46
|
+
* <p>You do not have sufficient permissions to perform this action. Check the error message
|
|
47
|
+
* and try again.</p>
|
|
48
|
+
*
|
|
49
|
+
* @throws {@link ConflictException} (client fault)
|
|
50
|
+
* <p>The request failed due to a conflict. Check the <code>ConflictType</code> and error
|
|
51
|
+
* message for more details.</p>
|
|
52
|
+
*
|
|
53
|
+
* @throws {@link InternalServerException} (server fault)
|
|
54
|
+
* <p>The request failed due to an unknown error on the server side.</p>
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
57
|
+
* <p>The specified resource cannot be found. Check the <code>ResourceType</code> and error
|
|
58
|
+
* message for more details.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
61
|
+
* <p>The request was denied due to request throttling. Please slow down your request rate.
|
|
62
|
+
* Refer to <a href="https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html##voiceid-api-quotas">
|
|
63
|
+
* Amazon Connect Voice ID Service API throttling quotas </a> and try your
|
|
64
|
+
* request again.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ValidationException} (client fault)
|
|
67
|
+
* <p>The request failed one or more validations; check the error message for more
|
|
68
|
+
* details.</p>
|
|
69
|
+
*
|
|
70
|
+
*
|
|
71
|
+
*/
|
|
72
|
+
export declare class DeleteWatchlistCommand extends $Command<DeleteWatchlistCommandInput, DeleteWatchlistCommandOutput, VoiceIDClientResolvedConfig> {
|
|
73
|
+
readonly input: DeleteWatchlistCommandInput;
|
|
74
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
75
|
+
/**
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
78
|
+
constructor(input: DeleteWatchlistCommandInput);
|
|
79
|
+
/**
|
|
80
|
+
* @internal
|
|
81
|
+
*/
|
|
82
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: VoiceIDClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteWatchlistCommandInput, DeleteWatchlistCommandOutput>;
|
|
83
|
+
/**
|
|
84
|
+
* @internal
|
|
85
|
+
*/
|
|
86
|
+
private serialize;
|
|
87
|
+
/**
|
|
88
|
+
* @internal
|
|
89
|
+
*/
|
|
90
|
+
private deserialize;
|
|
91
|
+
}
|
|
@@ -26,6 +26,9 @@ export interface DescribeDomainCommandOutput extends DescribeDomainResponse, __M
|
|
|
26
26
|
* import { VoiceIDClient, DescribeDomainCommand } from "@aws-sdk/client-voice-id"; // ES Modules import
|
|
27
27
|
* // const { VoiceIDClient, DescribeDomainCommand } = require("@aws-sdk/client-voice-id"); // CommonJS import
|
|
28
28
|
* const client = new VoiceIDClient(config);
|
|
29
|
+
* const input = { // DescribeDomainRequest
|
|
30
|
+
* DomainId: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DescribeDomainCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface DescribeFraudsterCommandOutput extends DescribeFraudsterRespons
|
|
|
26
26
|
* import { VoiceIDClient, DescribeFraudsterCommand } from "@aws-sdk/client-voice-id"; // ES Modules import
|
|
27
27
|
* // const { VoiceIDClient, DescribeFraudsterCommand } = require("@aws-sdk/client-voice-id"); // CommonJS import
|
|
28
28
|
* const client = new VoiceIDClient(config);
|
|
29
|
+
* const input = { // DescribeFraudsterRequest
|
|
30
|
+
* DomainId: "STRING_VALUE", // required
|
|
31
|
+
* FraudsterId: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new DescribeFraudsterCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface DescribeFraudsterRegistrationJobCommandOutput extends DescribeF
|
|
|
26
26
|
* import { VoiceIDClient, DescribeFraudsterRegistrationJobCommand } from "@aws-sdk/client-voice-id"; // ES Modules import
|
|
27
27
|
* // const { VoiceIDClient, DescribeFraudsterRegistrationJobCommand } = require("@aws-sdk/client-voice-id"); // CommonJS import
|
|
28
28
|
* const client = new VoiceIDClient(config);
|
|
29
|
+
* const input = { // DescribeFraudsterRegistrationJobRequest
|
|
30
|
+
* DomainId: "STRING_VALUE", // required
|
|
31
|
+
* JobId: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new DescribeFraudsterRegistrationJobCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface DescribeSpeakerCommandOutput extends DescribeSpeakerResponse, _
|
|
|
26
26
|
* import { VoiceIDClient, DescribeSpeakerCommand } from "@aws-sdk/client-voice-id"; // ES Modules import
|
|
27
27
|
* // const { VoiceIDClient, DescribeSpeakerCommand } = require("@aws-sdk/client-voice-id"); // CommonJS import
|
|
28
28
|
* const client = new VoiceIDClient(config);
|
|
29
|
+
* const input = { // DescribeSpeakerRequest
|
|
30
|
+
* DomainId: "STRING_VALUE", // required
|
|
31
|
+
* SpeakerId: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new DescribeSpeakerCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface DescribeSpeakerEnrollmentJobCommandOutput extends DescribeSpeak
|
|
|
26
26
|
* import { VoiceIDClient, DescribeSpeakerEnrollmentJobCommand } from "@aws-sdk/client-voice-id"; // ES Modules import
|
|
27
27
|
* // const { VoiceIDClient, DescribeSpeakerEnrollmentJobCommand } = require("@aws-sdk/client-voice-id"); // CommonJS import
|
|
28
28
|
* const client = new VoiceIDClient(config);
|
|
29
|
+
* const input = { // DescribeSpeakerEnrollmentJobRequest
|
|
30
|
+
* DomainId: "STRING_VALUE", // required
|
|
31
|
+
* JobId: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new DescribeSpeakerEnrollmentJobCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|