@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/README.md
CHANGED
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
|
|
10
10
|
AWS SDK for JavaScript VoiceID Client for Node.js, Browser and React Native.
|
|
11
11
|
|
|
12
|
-
<p>Amazon Connect Voice ID provides real-time caller authentication and fraud
|
|
13
|
-
|
|
12
|
+
<p>Amazon Connect Voice ID provides real-time caller authentication and fraud risk detection, which
|
|
13
|
+
make voice interactions in contact centers more secure and efficient.</p>
|
|
14
14
|
|
|
15
15
|
## Installing
|
|
16
16
|
|
|
@@ -27,16 +27,16 @@ using your favorite package manager:
|
|
|
27
27
|
|
|
28
28
|
The AWS SDK is modulized by clients and commands.
|
|
29
29
|
To send a request, you only need to import the `VoiceIDClient` and
|
|
30
|
-
the commands you need, for example `
|
|
30
|
+
the commands you need, for example `AssociateFraudsterCommand`:
|
|
31
31
|
|
|
32
32
|
```js
|
|
33
33
|
// ES5 example
|
|
34
|
-
const { VoiceIDClient,
|
|
34
|
+
const { VoiceIDClient, AssociateFraudsterCommand } = require("@aws-sdk/client-voice-id");
|
|
35
35
|
```
|
|
36
36
|
|
|
37
37
|
```ts
|
|
38
38
|
// ES6+ example
|
|
39
|
-
import { VoiceIDClient,
|
|
39
|
+
import { VoiceIDClient, AssociateFraudsterCommand } from "@aws-sdk/client-voice-id";
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
### Usage
|
|
@@ -55,7 +55,7 @@ const client = new VoiceIDClient({ region: "REGION" });
|
|
|
55
55
|
const params = {
|
|
56
56
|
/** input parameters */
|
|
57
57
|
};
|
|
58
|
-
const command = new
|
|
58
|
+
const command = new AssociateFraudsterCommand(params);
|
|
59
59
|
```
|
|
60
60
|
|
|
61
61
|
#### Async/await
|
|
@@ -134,7 +134,7 @@ const client = new AWS.VoiceID({ region: "REGION" });
|
|
|
134
134
|
|
|
135
135
|
// async/await.
|
|
136
136
|
try {
|
|
137
|
-
const data = await client.
|
|
137
|
+
const data = await client.associateFraudster(params);
|
|
138
138
|
// process data.
|
|
139
139
|
} catch (error) {
|
|
140
140
|
// error handling.
|
|
@@ -142,7 +142,7 @@ try {
|
|
|
142
142
|
|
|
143
143
|
// Promises.
|
|
144
144
|
client
|
|
145
|
-
.
|
|
145
|
+
.associateFraudster(params)
|
|
146
146
|
.then((data) => {
|
|
147
147
|
// process data.
|
|
148
148
|
})
|
|
@@ -151,7 +151,7 @@ client
|
|
|
151
151
|
});
|
|
152
152
|
|
|
153
153
|
// callbacks.
|
|
154
|
-
client.
|
|
154
|
+
client.associateFraudster(params, (err, data) => {
|
|
155
155
|
// process err and data.
|
|
156
156
|
});
|
|
157
157
|
```
|
|
@@ -207,6 +207,14 @@ see LICENSE for more information.
|
|
|
207
207
|
|
|
208
208
|
## Client Commands (Operations List)
|
|
209
209
|
|
|
210
|
+
<details>
|
|
211
|
+
<summary>
|
|
212
|
+
AssociateFraudster
|
|
213
|
+
</summary>
|
|
214
|
+
|
|
215
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-voice-id/classes/associatefraudstercommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-voice-id/interfaces/associatefraudstercommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-voice-id/interfaces/associatefraudstercommandoutput.html)
|
|
216
|
+
|
|
217
|
+
</details>
|
|
210
218
|
<details>
|
|
211
219
|
<summary>
|
|
212
220
|
CreateDomain
|
|
@@ -214,6 +222,14 @@ CreateDomain
|
|
|
214
222
|
|
|
215
223
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-voice-id/classes/createdomaincommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-voice-id/interfaces/createdomaincommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-voice-id/interfaces/createdomaincommandoutput.html)
|
|
216
224
|
|
|
225
|
+
</details>
|
|
226
|
+
<details>
|
|
227
|
+
<summary>
|
|
228
|
+
CreateWatchlist
|
|
229
|
+
</summary>
|
|
230
|
+
|
|
231
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-voice-id/classes/createwatchlistcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-voice-id/interfaces/createwatchlistcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-voice-id/interfaces/createwatchlistcommandoutput.html)
|
|
232
|
+
|
|
217
233
|
</details>
|
|
218
234
|
<details>
|
|
219
235
|
<summary>
|
|
@@ -238,6 +254,14 @@ DeleteSpeaker
|
|
|
238
254
|
|
|
239
255
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-voice-id/classes/deletespeakercommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-voice-id/interfaces/deletespeakercommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-voice-id/interfaces/deletespeakercommandoutput.html)
|
|
240
256
|
|
|
257
|
+
</details>
|
|
258
|
+
<details>
|
|
259
|
+
<summary>
|
|
260
|
+
DeleteWatchlist
|
|
261
|
+
</summary>
|
|
262
|
+
|
|
263
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-voice-id/classes/deletewatchlistcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-voice-id/interfaces/deletewatchlistcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-voice-id/interfaces/deletewatchlistcommandoutput.html)
|
|
264
|
+
|
|
241
265
|
</details>
|
|
242
266
|
<details>
|
|
243
267
|
<summary>
|
|
@@ -278,6 +302,22 @@ DescribeSpeakerEnrollmentJob
|
|
|
278
302
|
|
|
279
303
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-voice-id/classes/describespeakerenrollmentjobcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-voice-id/interfaces/describespeakerenrollmentjobcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-voice-id/interfaces/describespeakerenrollmentjobcommandoutput.html)
|
|
280
304
|
|
|
305
|
+
</details>
|
|
306
|
+
<details>
|
|
307
|
+
<summary>
|
|
308
|
+
DescribeWatchlist
|
|
309
|
+
</summary>
|
|
310
|
+
|
|
311
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-voice-id/classes/describewatchlistcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-voice-id/interfaces/describewatchlistcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-voice-id/interfaces/describewatchlistcommandoutput.html)
|
|
312
|
+
|
|
313
|
+
</details>
|
|
314
|
+
<details>
|
|
315
|
+
<summary>
|
|
316
|
+
DisassociateFraudster
|
|
317
|
+
</summary>
|
|
318
|
+
|
|
319
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-voice-id/classes/disassociatefraudstercommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-voice-id/interfaces/disassociatefraudstercommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-voice-id/interfaces/disassociatefraudstercommandoutput.html)
|
|
320
|
+
|
|
281
321
|
</details>
|
|
282
322
|
<details>
|
|
283
323
|
<summary>
|
|
@@ -302,6 +342,14 @@ ListFraudsterRegistrationJobs
|
|
|
302
342
|
|
|
303
343
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-voice-id/classes/listfraudsterregistrationjobscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-voice-id/interfaces/listfraudsterregistrationjobscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-voice-id/interfaces/listfraudsterregistrationjobscommandoutput.html)
|
|
304
344
|
|
|
345
|
+
</details>
|
|
346
|
+
<details>
|
|
347
|
+
<summary>
|
|
348
|
+
ListFraudsters
|
|
349
|
+
</summary>
|
|
350
|
+
|
|
351
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-voice-id/classes/listfraudsterscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-voice-id/interfaces/listfraudsterscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-voice-id/interfaces/listfraudsterscommandoutput.html)
|
|
352
|
+
|
|
305
353
|
</details>
|
|
306
354
|
<details>
|
|
307
355
|
<summary>
|
|
@@ -326,6 +374,14 @@ ListTagsForResource
|
|
|
326
374
|
|
|
327
375
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-voice-id/classes/listtagsforresourcecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-voice-id/interfaces/listtagsforresourcecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-voice-id/interfaces/listtagsforresourcecommandoutput.html)
|
|
328
376
|
|
|
377
|
+
</details>
|
|
378
|
+
<details>
|
|
379
|
+
<summary>
|
|
380
|
+
ListWatchlists
|
|
381
|
+
</summary>
|
|
382
|
+
|
|
383
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-voice-id/classes/listwatchlistscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-voice-id/interfaces/listwatchlistscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-voice-id/interfaces/listwatchlistscommandoutput.html)
|
|
384
|
+
|
|
329
385
|
</details>
|
|
330
386
|
<details>
|
|
331
387
|
<summary>
|
|
@@ -375,3 +431,11 @@ UpdateDomain
|
|
|
375
431
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-voice-id/classes/updatedomaincommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-voice-id/interfaces/updatedomaincommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-voice-id/interfaces/updatedomaincommandoutput.html)
|
|
376
432
|
|
|
377
433
|
</details>
|
|
434
|
+
<details>
|
|
435
|
+
<summary>
|
|
436
|
+
UpdateWatchlist
|
|
437
|
+
</summary>
|
|
438
|
+
|
|
439
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-voice-id/classes/updatewatchlistcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-voice-id/interfaces/updatewatchlistcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-voice-id/interfaces/updatewatchlistcommandoutput.html)
|
|
440
|
+
|
|
441
|
+
</details>
|
package/dist-cjs/VoiceID.js
CHANGED
|
@@ -1,29 +1,51 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.VoiceID = void 0;
|
|
4
|
+
const AssociateFraudsterCommand_1 = require("./commands/AssociateFraudsterCommand");
|
|
4
5
|
const CreateDomainCommand_1 = require("./commands/CreateDomainCommand");
|
|
6
|
+
const CreateWatchlistCommand_1 = require("./commands/CreateWatchlistCommand");
|
|
5
7
|
const DeleteDomainCommand_1 = require("./commands/DeleteDomainCommand");
|
|
6
8
|
const DeleteFraudsterCommand_1 = require("./commands/DeleteFraudsterCommand");
|
|
7
9
|
const DeleteSpeakerCommand_1 = require("./commands/DeleteSpeakerCommand");
|
|
10
|
+
const DeleteWatchlistCommand_1 = require("./commands/DeleteWatchlistCommand");
|
|
8
11
|
const DescribeDomainCommand_1 = require("./commands/DescribeDomainCommand");
|
|
9
12
|
const DescribeFraudsterCommand_1 = require("./commands/DescribeFraudsterCommand");
|
|
10
13
|
const DescribeFraudsterRegistrationJobCommand_1 = require("./commands/DescribeFraudsterRegistrationJobCommand");
|
|
11
14
|
const DescribeSpeakerCommand_1 = require("./commands/DescribeSpeakerCommand");
|
|
12
15
|
const DescribeSpeakerEnrollmentJobCommand_1 = require("./commands/DescribeSpeakerEnrollmentJobCommand");
|
|
16
|
+
const DescribeWatchlistCommand_1 = require("./commands/DescribeWatchlistCommand");
|
|
17
|
+
const DisassociateFraudsterCommand_1 = require("./commands/DisassociateFraudsterCommand");
|
|
13
18
|
const EvaluateSessionCommand_1 = require("./commands/EvaluateSessionCommand");
|
|
14
19
|
const ListDomainsCommand_1 = require("./commands/ListDomainsCommand");
|
|
15
20
|
const ListFraudsterRegistrationJobsCommand_1 = require("./commands/ListFraudsterRegistrationJobsCommand");
|
|
21
|
+
const ListFraudstersCommand_1 = require("./commands/ListFraudstersCommand");
|
|
16
22
|
const ListSpeakerEnrollmentJobsCommand_1 = require("./commands/ListSpeakerEnrollmentJobsCommand");
|
|
17
23
|
const ListSpeakersCommand_1 = require("./commands/ListSpeakersCommand");
|
|
18
24
|
const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceCommand");
|
|
25
|
+
const ListWatchlistsCommand_1 = require("./commands/ListWatchlistsCommand");
|
|
19
26
|
const OptOutSpeakerCommand_1 = require("./commands/OptOutSpeakerCommand");
|
|
20
27
|
const StartFraudsterRegistrationJobCommand_1 = require("./commands/StartFraudsterRegistrationJobCommand");
|
|
21
28
|
const StartSpeakerEnrollmentJobCommand_1 = require("./commands/StartSpeakerEnrollmentJobCommand");
|
|
22
29
|
const TagResourceCommand_1 = require("./commands/TagResourceCommand");
|
|
23
30
|
const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
|
|
24
31
|
const UpdateDomainCommand_1 = require("./commands/UpdateDomainCommand");
|
|
32
|
+
const UpdateWatchlistCommand_1 = require("./commands/UpdateWatchlistCommand");
|
|
25
33
|
const VoiceIDClient_1 = require("./VoiceIDClient");
|
|
26
34
|
class VoiceID extends VoiceIDClient_1.VoiceIDClient {
|
|
35
|
+
associateFraudster(args, optionsOrCb, cb) {
|
|
36
|
+
const command = new AssociateFraudsterCommand_1.AssociateFraudsterCommand(args);
|
|
37
|
+
if (typeof optionsOrCb === "function") {
|
|
38
|
+
this.send(command, optionsOrCb);
|
|
39
|
+
}
|
|
40
|
+
else if (typeof cb === "function") {
|
|
41
|
+
if (typeof optionsOrCb !== "object")
|
|
42
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
43
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
44
|
+
}
|
|
45
|
+
else {
|
|
46
|
+
return this.send(command, optionsOrCb);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
27
49
|
createDomain(args, optionsOrCb, cb) {
|
|
28
50
|
const command = new CreateDomainCommand_1.CreateDomainCommand(args);
|
|
29
51
|
if (typeof optionsOrCb === "function") {
|
|
@@ -38,6 +60,20 @@ class VoiceID extends VoiceIDClient_1.VoiceIDClient {
|
|
|
38
60
|
return this.send(command, optionsOrCb);
|
|
39
61
|
}
|
|
40
62
|
}
|
|
63
|
+
createWatchlist(args, optionsOrCb, cb) {
|
|
64
|
+
const command = new CreateWatchlistCommand_1.CreateWatchlistCommand(args);
|
|
65
|
+
if (typeof optionsOrCb === "function") {
|
|
66
|
+
this.send(command, optionsOrCb);
|
|
67
|
+
}
|
|
68
|
+
else if (typeof cb === "function") {
|
|
69
|
+
if (typeof optionsOrCb !== "object")
|
|
70
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
71
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
72
|
+
}
|
|
73
|
+
else {
|
|
74
|
+
return this.send(command, optionsOrCb);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
41
77
|
deleteDomain(args, optionsOrCb, cb) {
|
|
42
78
|
const command = new DeleteDomainCommand_1.DeleteDomainCommand(args);
|
|
43
79
|
if (typeof optionsOrCb === "function") {
|
|
@@ -80,6 +116,20 @@ class VoiceID extends VoiceIDClient_1.VoiceIDClient {
|
|
|
80
116
|
return this.send(command, optionsOrCb);
|
|
81
117
|
}
|
|
82
118
|
}
|
|
119
|
+
deleteWatchlist(args, optionsOrCb, cb) {
|
|
120
|
+
const command = new DeleteWatchlistCommand_1.DeleteWatchlistCommand(args);
|
|
121
|
+
if (typeof optionsOrCb === "function") {
|
|
122
|
+
this.send(command, optionsOrCb);
|
|
123
|
+
}
|
|
124
|
+
else if (typeof cb === "function") {
|
|
125
|
+
if (typeof optionsOrCb !== "object")
|
|
126
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
127
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
128
|
+
}
|
|
129
|
+
else {
|
|
130
|
+
return this.send(command, optionsOrCb);
|
|
131
|
+
}
|
|
132
|
+
}
|
|
83
133
|
describeDomain(args, optionsOrCb, cb) {
|
|
84
134
|
const command = new DescribeDomainCommand_1.DescribeDomainCommand(args);
|
|
85
135
|
if (typeof optionsOrCb === "function") {
|
|
@@ -150,6 +200,34 @@ class VoiceID extends VoiceIDClient_1.VoiceIDClient {
|
|
|
150
200
|
return this.send(command, optionsOrCb);
|
|
151
201
|
}
|
|
152
202
|
}
|
|
203
|
+
describeWatchlist(args, optionsOrCb, cb) {
|
|
204
|
+
const command = new DescribeWatchlistCommand_1.DescribeWatchlistCommand(args);
|
|
205
|
+
if (typeof optionsOrCb === "function") {
|
|
206
|
+
this.send(command, optionsOrCb);
|
|
207
|
+
}
|
|
208
|
+
else if (typeof cb === "function") {
|
|
209
|
+
if (typeof optionsOrCb !== "object")
|
|
210
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
211
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
212
|
+
}
|
|
213
|
+
else {
|
|
214
|
+
return this.send(command, optionsOrCb);
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
disassociateFraudster(args, optionsOrCb, cb) {
|
|
218
|
+
const command = new DisassociateFraudsterCommand_1.DisassociateFraudsterCommand(args);
|
|
219
|
+
if (typeof optionsOrCb === "function") {
|
|
220
|
+
this.send(command, optionsOrCb);
|
|
221
|
+
}
|
|
222
|
+
else if (typeof cb === "function") {
|
|
223
|
+
if (typeof optionsOrCb !== "object")
|
|
224
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
225
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
226
|
+
}
|
|
227
|
+
else {
|
|
228
|
+
return this.send(command, optionsOrCb);
|
|
229
|
+
}
|
|
230
|
+
}
|
|
153
231
|
evaluateSession(args, optionsOrCb, cb) {
|
|
154
232
|
const command = new EvaluateSessionCommand_1.EvaluateSessionCommand(args);
|
|
155
233
|
if (typeof optionsOrCb === "function") {
|
|
@@ -192,6 +270,20 @@ class VoiceID extends VoiceIDClient_1.VoiceIDClient {
|
|
|
192
270
|
return this.send(command, optionsOrCb);
|
|
193
271
|
}
|
|
194
272
|
}
|
|
273
|
+
listFraudsters(args, optionsOrCb, cb) {
|
|
274
|
+
const command = new ListFraudstersCommand_1.ListFraudstersCommand(args);
|
|
275
|
+
if (typeof optionsOrCb === "function") {
|
|
276
|
+
this.send(command, optionsOrCb);
|
|
277
|
+
}
|
|
278
|
+
else if (typeof cb === "function") {
|
|
279
|
+
if (typeof optionsOrCb !== "object")
|
|
280
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
281
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
282
|
+
}
|
|
283
|
+
else {
|
|
284
|
+
return this.send(command, optionsOrCb);
|
|
285
|
+
}
|
|
286
|
+
}
|
|
195
287
|
listSpeakerEnrollmentJobs(args, optionsOrCb, cb) {
|
|
196
288
|
const command = new ListSpeakerEnrollmentJobsCommand_1.ListSpeakerEnrollmentJobsCommand(args);
|
|
197
289
|
if (typeof optionsOrCb === "function") {
|
|
@@ -234,6 +326,20 @@ class VoiceID extends VoiceIDClient_1.VoiceIDClient {
|
|
|
234
326
|
return this.send(command, optionsOrCb);
|
|
235
327
|
}
|
|
236
328
|
}
|
|
329
|
+
listWatchlists(args, optionsOrCb, cb) {
|
|
330
|
+
const command = new ListWatchlistsCommand_1.ListWatchlistsCommand(args);
|
|
331
|
+
if (typeof optionsOrCb === "function") {
|
|
332
|
+
this.send(command, optionsOrCb);
|
|
333
|
+
}
|
|
334
|
+
else if (typeof cb === "function") {
|
|
335
|
+
if (typeof optionsOrCb !== "object")
|
|
336
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
337
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
338
|
+
}
|
|
339
|
+
else {
|
|
340
|
+
return this.send(command, optionsOrCb);
|
|
341
|
+
}
|
|
342
|
+
}
|
|
237
343
|
optOutSpeaker(args, optionsOrCb, cb) {
|
|
238
344
|
const command = new OptOutSpeakerCommand_1.OptOutSpeakerCommand(args);
|
|
239
345
|
if (typeof optionsOrCb === "function") {
|
|
@@ -318,5 +424,19 @@ class VoiceID extends VoiceIDClient_1.VoiceIDClient {
|
|
|
318
424
|
return this.send(command, optionsOrCb);
|
|
319
425
|
}
|
|
320
426
|
}
|
|
427
|
+
updateWatchlist(args, optionsOrCb, cb) {
|
|
428
|
+
const command = new UpdateWatchlistCommand_1.UpdateWatchlistCommand(args);
|
|
429
|
+
if (typeof optionsOrCb === "function") {
|
|
430
|
+
this.send(command, optionsOrCb);
|
|
431
|
+
}
|
|
432
|
+
else if (typeof cb === "function") {
|
|
433
|
+
if (typeof optionsOrCb !== "object")
|
|
434
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
435
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
436
|
+
}
|
|
437
|
+
else {
|
|
438
|
+
return this.send(command, optionsOrCb);
|
|
439
|
+
}
|
|
440
|
+
}
|
|
321
441
|
}
|
|
322
442
|
exports.VoiceID = VoiceID;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AssociateFraudsterCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const models_0_1 = require("../models/models_0");
|
|
8
|
+
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
9
|
+
class AssociateFraudsterCommand extends smithy_client_1.Command {
|
|
10
|
+
static getEndpointParameterInstructions() {
|
|
11
|
+
return {
|
|
12
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
13
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
14
|
+
Region: { type: "builtInParams", name: "region" },
|
|
15
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
constructor(input) {
|
|
19
|
+
super();
|
|
20
|
+
this.input = input;
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, AssociateFraudsterCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "VoiceIDClient";
|
|
28
|
+
const commandName = "AssociateFraudsterCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: models_0_1.AssociateFraudsterRequestFilterSensitiveLog,
|
|
34
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_json1_0_1.serializeAws_json1_0AssociateFraudsterCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_json1_0_1.deserializeAws_json1_0AssociateFraudsterCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.AssociateFraudsterCommand = AssociateFraudsterCommand;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateWatchlistCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const models_0_1 = require("../models/models_0");
|
|
8
|
+
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
9
|
+
class CreateWatchlistCommand extends smithy_client_1.Command {
|
|
10
|
+
static getEndpointParameterInstructions() {
|
|
11
|
+
return {
|
|
12
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
13
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
14
|
+
Region: { type: "builtInParams", name: "region" },
|
|
15
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
constructor(input) {
|
|
19
|
+
super();
|
|
20
|
+
this.input = input;
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateWatchlistCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "VoiceIDClient";
|
|
28
|
+
const commandName = "CreateWatchlistCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: models_0_1.CreateWatchlistRequestFilterSensitiveLog,
|
|
34
|
+
outputFilterSensitiveLog: models_0_1.CreateWatchlistResponseFilterSensitiveLog,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_json1_0_1.serializeAws_json1_0CreateWatchlistCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_json1_0_1.deserializeAws_json1_0CreateWatchlistCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.CreateWatchlistCommand = CreateWatchlistCommand;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteWatchlistCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
8
|
+
class DeleteWatchlistCommand extends smithy_client_1.Command {
|
|
9
|
+
static getEndpointParameterInstructions() {
|
|
10
|
+
return {
|
|
11
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
12
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
13
|
+
Region: { type: "builtInParams", name: "region" },
|
|
14
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
constructor(input) {
|
|
18
|
+
super();
|
|
19
|
+
this.input = input;
|
|
20
|
+
}
|
|
21
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
22
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
23
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteWatchlistCommand.getEndpointParameterInstructions()));
|
|
24
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
25
|
+
const { logger } = configuration;
|
|
26
|
+
const clientName = "VoiceIDClient";
|
|
27
|
+
const commandName = "DeleteWatchlistCommand";
|
|
28
|
+
const handlerExecutionContext = {
|
|
29
|
+
logger,
|
|
30
|
+
clientName,
|
|
31
|
+
commandName,
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
34
|
+
};
|
|
35
|
+
const { requestHandler } = configuration;
|
|
36
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
|
+
}
|
|
38
|
+
serialize(input, context) {
|
|
39
|
+
return (0, Aws_json1_0_1.serializeAws_json1_0DeleteWatchlistCommand)(input, context);
|
|
40
|
+
}
|
|
41
|
+
deserialize(output, context) {
|
|
42
|
+
return (0, Aws_json1_0_1.deserializeAws_json1_0DeleteWatchlistCommand)(output, context);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
exports.DeleteWatchlistCommand = DeleteWatchlistCommand;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DescribeWatchlistCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const models_0_1 = require("../models/models_0");
|
|
8
|
+
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
9
|
+
class DescribeWatchlistCommand extends smithy_client_1.Command {
|
|
10
|
+
static getEndpointParameterInstructions() {
|
|
11
|
+
return {
|
|
12
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
13
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
14
|
+
Region: { type: "builtInParams", name: "region" },
|
|
15
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
constructor(input) {
|
|
19
|
+
super();
|
|
20
|
+
this.input = input;
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeWatchlistCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "VoiceIDClient";
|
|
28
|
+
const commandName = "DescribeWatchlistCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: (_) => _,
|
|
34
|
+
outputFilterSensitiveLog: models_0_1.DescribeWatchlistResponseFilterSensitiveLog,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_json1_0_1.serializeAws_json1_0DescribeWatchlistCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_json1_0_1.deserializeAws_json1_0DescribeWatchlistCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.DescribeWatchlistCommand = DescribeWatchlistCommand;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DisassociateFraudsterCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const models_0_1 = require("../models/models_0");
|
|
8
|
+
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
9
|
+
class DisassociateFraudsterCommand extends smithy_client_1.Command {
|
|
10
|
+
static getEndpointParameterInstructions() {
|
|
11
|
+
return {
|
|
12
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
13
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
14
|
+
Region: { type: "builtInParams", name: "region" },
|
|
15
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
constructor(input) {
|
|
19
|
+
super();
|
|
20
|
+
this.input = input;
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DisassociateFraudsterCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "VoiceIDClient";
|
|
28
|
+
const commandName = "DisassociateFraudsterCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: models_0_1.DisassociateFraudsterRequestFilterSensitiveLog,
|
|
34
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_json1_0_1.serializeAws_json1_0DisassociateFraudsterCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_json1_0_1.deserializeAws_json1_0DisassociateFraudsterCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.DisassociateFraudsterCommand = DisassociateFraudsterCommand;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListFraudstersCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
8
|
+
class ListFraudstersCommand extends smithy_client_1.Command {
|
|
9
|
+
static getEndpointParameterInstructions() {
|
|
10
|
+
return {
|
|
11
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
12
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
13
|
+
Region: { type: "builtInParams", name: "region" },
|
|
14
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
constructor(input) {
|
|
18
|
+
super();
|
|
19
|
+
this.input = input;
|
|
20
|
+
}
|
|
21
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
22
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
23
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListFraudstersCommand.getEndpointParameterInstructions()));
|
|
24
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
25
|
+
const { logger } = configuration;
|
|
26
|
+
const clientName = "VoiceIDClient";
|
|
27
|
+
const commandName = "ListFraudstersCommand";
|
|
28
|
+
const handlerExecutionContext = {
|
|
29
|
+
logger,
|
|
30
|
+
clientName,
|
|
31
|
+
commandName,
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
34
|
+
};
|
|
35
|
+
const { requestHandler } = configuration;
|
|
36
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
|
+
}
|
|
38
|
+
serialize(input, context) {
|
|
39
|
+
return (0, Aws_json1_0_1.serializeAws_json1_0ListFraudstersCommand)(input, context);
|
|
40
|
+
}
|
|
41
|
+
deserialize(output, context) {
|
|
42
|
+
return (0, Aws_json1_0_1.deserializeAws_json1_0ListFraudstersCommand)(output, context);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
exports.ListFraudstersCommand = ListFraudstersCommand;
|