@aws-sdk/client-voice-id 3.295.0 → 3.297.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-types/VoiceID.d.ts +22 -0
- package/dist-types/VoiceIDClient.d.ts +24 -4
- package/dist-types/commands/CreateDomainCommand.d.ts +16 -0
- package/dist-types/commands/DeleteDomainCommand.d.ts +16 -0
- package/dist-types/commands/DeleteFraudsterCommand.d.ts +16 -0
- package/dist-types/commands/DeleteSpeakerCommand.d.ts +16 -0
- package/dist-types/commands/DescribeDomainCommand.d.ts +16 -0
- package/dist-types/commands/DescribeFraudsterCommand.d.ts +16 -0
- package/dist-types/commands/DescribeFraudsterRegistrationJobCommand.d.ts +16 -0
- package/dist-types/commands/DescribeSpeakerCommand.d.ts +16 -0
- package/dist-types/commands/DescribeSpeakerEnrollmentJobCommand.d.ts +16 -0
- package/dist-types/commands/EvaluateSessionCommand.d.ts +16 -0
- package/dist-types/commands/ListDomainsCommand.d.ts +16 -0
- package/dist-types/commands/ListFraudsterRegistrationJobsCommand.d.ts +16 -0
- package/dist-types/commands/ListSpeakerEnrollmentJobsCommand.d.ts +16 -0
- package/dist-types/commands/ListSpeakersCommand.d.ts +16 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +16 -0
- package/dist-types/commands/OptOutSpeakerCommand.d.ts +16 -0
- package/dist-types/commands/StartFraudsterRegistrationJobCommand.d.ts +16 -0
- package/dist-types/commands/StartSpeakerEnrollmentJobCommand.d.ts +16 -0
- package/dist-types/commands/TagResourceCommand.d.ts +16 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +16 -0
- package/dist-types/commands/UpdateDomainCommand.d.ts +16 -0
- package/dist-types/models/VoiceIDServiceException.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +193 -1
- package/dist-types/pagination/Interfaces.d.ts +3 -0
- package/dist-types/pagination/ListDomainsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListFraudsterRegistrationJobsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListSpeakerEnrollmentJobsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListSpeakersPaginator.d.ts +3 -0
- package/package.json +29 -29
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { VoiceIDServiceException as __BaseException } from "./VoiceIDServiceException";
|
|
3
3
|
/**
|
|
4
|
+
* @public
|
|
4
5
|
* <p>You do not have sufficient permissions to perform this action. Check the error message
|
|
5
6
|
* and try again.</p>
|
|
6
7
|
*/
|
|
@@ -14,6 +15,7 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
14
15
|
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
15
16
|
}
|
|
16
17
|
/**
|
|
18
|
+
* @public
|
|
17
19
|
* <p>The configuration used to authenticate a speaker during a session.</p>
|
|
18
20
|
*/
|
|
19
21
|
export interface AuthenticationConfiguration {
|
|
@@ -22,6 +24,9 @@ export interface AuthenticationConfiguration {
|
|
|
22
24
|
*/
|
|
23
25
|
AcceptanceThreshold: number | undefined;
|
|
24
26
|
}
|
|
27
|
+
/**
|
|
28
|
+
* @public
|
|
29
|
+
*/
|
|
25
30
|
export declare enum AuthenticationDecision {
|
|
26
31
|
ACCEPT = "ACCEPT",
|
|
27
32
|
NOT_ENOUGH_SPEECH = "NOT_ENOUGH_SPEECH",
|
|
@@ -32,6 +37,7 @@ export declare enum AuthenticationDecision {
|
|
|
32
37
|
SPEAKER_OPTED_OUT = "SPEAKER_OPTED_OUT"
|
|
33
38
|
}
|
|
34
39
|
/**
|
|
40
|
+
* @public
|
|
35
41
|
* <p>The authentication result produced by Voice ID, processed against the current session
|
|
36
42
|
* state and streamed audio of the speaker.</p>
|
|
37
43
|
*/
|
|
@@ -81,6 +87,9 @@ export interface AuthenticationResult {
|
|
|
81
87
|
*/
|
|
82
88
|
Configuration?: AuthenticationConfiguration;
|
|
83
89
|
}
|
|
90
|
+
/**
|
|
91
|
+
* @public
|
|
92
|
+
*/
|
|
84
93
|
export declare enum ConflictType {
|
|
85
94
|
ANOTHER_ACTIVE_STREAM = "ANOTHER_ACTIVE_STREAM",
|
|
86
95
|
CANNOT_CHANGE_SPEAKER_AFTER_ENROLLMENT = "CANNOT_CHANGE_SPEAKER_AFTER_ENROLLMENT",
|
|
@@ -92,6 +101,7 @@ export declare enum ConflictType {
|
|
|
92
101
|
SPEAKER_OPTED_OUT = "SPEAKER_OPTED_OUT"
|
|
93
102
|
}
|
|
94
103
|
/**
|
|
104
|
+
* @public
|
|
95
105
|
* <p>The request failed due to a conflict. Check the <code>ConflictType</code> and error
|
|
96
106
|
* message for more details.</p>
|
|
97
107
|
*/
|
|
@@ -141,6 +151,7 @@ export declare class ConflictException extends __BaseException {
|
|
|
141
151
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
142
152
|
}
|
|
143
153
|
/**
|
|
154
|
+
* @public
|
|
144
155
|
* <p>The configuration containing information about the customer managed key used for
|
|
145
156
|
* encrypting customer data.</p>
|
|
146
157
|
*/
|
|
@@ -152,7 +163,8 @@ export interface ServerSideEncryptionConfiguration {
|
|
|
152
163
|
KmsKeyId: string | undefined;
|
|
153
164
|
}
|
|
154
165
|
/**
|
|
155
|
-
*
|
|
166
|
+
* @public
|
|
167
|
+
* <p>The tags used to organize, track, or control access for this resource. For example, \{ "tags": \{"key1":"value1", "key2":"value2"\} \}.</p>
|
|
156
168
|
*/
|
|
157
169
|
export interface Tag {
|
|
158
170
|
/**
|
|
@@ -166,6 +178,9 @@ export interface Tag {
|
|
|
166
178
|
*/
|
|
167
179
|
Value: string | undefined;
|
|
168
180
|
}
|
|
181
|
+
/**
|
|
182
|
+
* @public
|
|
183
|
+
*/
|
|
169
184
|
export interface CreateDomainRequest {
|
|
170
185
|
/**
|
|
171
186
|
* <p>The name of the domain.</p>
|
|
@@ -191,17 +206,24 @@ export interface CreateDomainRequest {
|
|
|
191
206
|
*/
|
|
192
207
|
Tags?: Tag[];
|
|
193
208
|
}
|
|
209
|
+
/**
|
|
210
|
+
* @public
|
|
211
|
+
*/
|
|
194
212
|
export declare enum DomainStatus {
|
|
195
213
|
ACTIVE = "ACTIVE",
|
|
196
214
|
PENDING = "PENDING",
|
|
197
215
|
SUSPENDED = "SUSPENDED"
|
|
198
216
|
}
|
|
217
|
+
/**
|
|
218
|
+
* @public
|
|
219
|
+
*/
|
|
199
220
|
export declare enum ServerSideEncryptionUpdateStatus {
|
|
200
221
|
COMPLETED = "COMPLETED",
|
|
201
222
|
FAILED = "FAILED",
|
|
202
223
|
IN_PROGRESS = "IN_PROGRESS"
|
|
203
224
|
}
|
|
204
225
|
/**
|
|
226
|
+
* @public
|
|
205
227
|
* <p>Details about the most recent server-side encryption configuration update. When the
|
|
206
228
|
* server-side encryption configuration is changed, dependency on the old KMS key is removed through an asynchronous process. When this update is
|
|
207
229
|
* complete, the domain’s data can only be accessed using the new KMS key.</p>
|
|
@@ -227,6 +249,7 @@ export interface ServerSideEncryptionUpdateDetails {
|
|
|
227
249
|
Message?: string;
|
|
228
250
|
}
|
|
229
251
|
/**
|
|
252
|
+
* @public
|
|
230
253
|
* <p>Contains all the information about a domain.</p>
|
|
231
254
|
*/
|
|
232
255
|
export interface Domain {
|
|
@@ -270,6 +293,9 @@ export interface Domain {
|
|
|
270
293
|
*/
|
|
271
294
|
ServerSideEncryptionUpdateDetails?: ServerSideEncryptionUpdateDetails;
|
|
272
295
|
}
|
|
296
|
+
/**
|
|
297
|
+
* @public
|
|
298
|
+
*/
|
|
273
299
|
export interface CreateDomainResponse {
|
|
274
300
|
/**
|
|
275
301
|
* <p>Information about the newly created domain.</p>
|
|
@@ -277,6 +303,7 @@ export interface CreateDomainResponse {
|
|
|
277
303
|
Domain?: Domain;
|
|
278
304
|
}
|
|
279
305
|
/**
|
|
306
|
+
* @public
|
|
280
307
|
* <p>The request failed due to an unknown error on the server side.</p>
|
|
281
308
|
*/
|
|
282
309
|
export declare class InternalServerException extends __BaseException {
|
|
@@ -288,6 +315,9 @@ export declare class InternalServerException extends __BaseException {
|
|
|
288
315
|
*/
|
|
289
316
|
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
290
317
|
}
|
|
318
|
+
/**
|
|
319
|
+
* @public
|
|
320
|
+
*/
|
|
291
321
|
export declare enum ResourceType {
|
|
292
322
|
BATCH_JOB = "BATCH_JOB",
|
|
293
323
|
COMPLIANCE_CONSENT = "COMPLIANCE_CONSENT",
|
|
@@ -297,6 +327,7 @@ export declare enum ResourceType {
|
|
|
297
327
|
SPEAKER = "SPEAKER"
|
|
298
328
|
}
|
|
299
329
|
/**
|
|
330
|
+
* @public
|
|
300
331
|
* <p>The specified resource cannot be found. Check the <code>ResourceType</code> and error
|
|
301
332
|
* message for more details.</p>
|
|
302
333
|
*/
|
|
@@ -316,6 +347,7 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
316
347
|
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
317
348
|
}
|
|
318
349
|
/**
|
|
350
|
+
* @public
|
|
319
351
|
* <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>
|
|
320
352
|
*/
|
|
321
353
|
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
@@ -328,6 +360,7 @@ export declare class ServiceQuotaExceededException extends __BaseException {
|
|
|
328
360
|
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
329
361
|
}
|
|
330
362
|
/**
|
|
363
|
+
* @public
|
|
331
364
|
* <p>The request was denied due to request throttling. Please slow down your request rate.
|
|
332
365
|
* Refer to <a href="https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html##voiceid-api-quotas">
|
|
333
366
|
* Amazon Connect Voice ID Service API throttling quotas </a> and try your
|
|
@@ -343,6 +376,7 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
343
376
|
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
344
377
|
}
|
|
345
378
|
/**
|
|
379
|
+
* @public
|
|
346
380
|
* <p>The request failed one or more validations; check the error message for more
|
|
347
381
|
* details.</p>
|
|
348
382
|
*/
|
|
@@ -355,12 +389,18 @@ export declare class ValidationException extends __BaseException {
|
|
|
355
389
|
*/
|
|
356
390
|
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
357
391
|
}
|
|
392
|
+
/**
|
|
393
|
+
* @public
|
|
394
|
+
*/
|
|
358
395
|
export interface DeleteDomainRequest {
|
|
359
396
|
/**
|
|
360
397
|
* <p>The identifier of the domain you want to delete.</p>
|
|
361
398
|
*/
|
|
362
399
|
DomainId: string | undefined;
|
|
363
400
|
}
|
|
401
|
+
/**
|
|
402
|
+
* @public
|
|
403
|
+
*/
|
|
364
404
|
export interface DeleteFraudsterRequest {
|
|
365
405
|
/**
|
|
366
406
|
* <p>The identifier of the domain containing the fraudster.</p>
|
|
@@ -371,6 +411,9 @@ export interface DeleteFraudsterRequest {
|
|
|
371
411
|
*/
|
|
372
412
|
FraudsterId: string | undefined;
|
|
373
413
|
}
|
|
414
|
+
/**
|
|
415
|
+
* @public
|
|
416
|
+
*/
|
|
374
417
|
export interface DeleteSpeakerRequest {
|
|
375
418
|
/**
|
|
376
419
|
* <p>The identifier of the domain containing the speaker.</p>
|
|
@@ -381,18 +424,27 @@ export interface DeleteSpeakerRequest {
|
|
|
381
424
|
*/
|
|
382
425
|
SpeakerId: string | undefined;
|
|
383
426
|
}
|
|
427
|
+
/**
|
|
428
|
+
* @public
|
|
429
|
+
*/
|
|
384
430
|
export interface DescribeDomainRequest {
|
|
385
431
|
/**
|
|
386
432
|
* <p>The identifier of the domain you are describing.</p>
|
|
387
433
|
*/
|
|
388
434
|
DomainId: string | undefined;
|
|
389
435
|
}
|
|
436
|
+
/**
|
|
437
|
+
* @public
|
|
438
|
+
*/
|
|
390
439
|
export interface DescribeDomainResponse {
|
|
391
440
|
/**
|
|
392
441
|
* <p>Information about the specified domain.</p>
|
|
393
442
|
*/
|
|
394
443
|
Domain?: Domain;
|
|
395
444
|
}
|
|
445
|
+
/**
|
|
446
|
+
* @public
|
|
447
|
+
*/
|
|
396
448
|
export interface DescribeFraudsterRequest {
|
|
397
449
|
/**
|
|
398
450
|
* <p>The identifier of the domain containing the fraudster.</p>
|
|
@@ -404,6 +456,7 @@ export interface DescribeFraudsterRequest {
|
|
|
404
456
|
FraudsterId: string | undefined;
|
|
405
457
|
}
|
|
406
458
|
/**
|
|
459
|
+
* @public
|
|
407
460
|
* <p>Contains all the information about a fraudster.</p>
|
|
408
461
|
*/
|
|
409
462
|
export interface Fraudster {
|
|
@@ -420,12 +473,18 @@ export interface Fraudster {
|
|
|
420
473
|
*/
|
|
421
474
|
CreatedAt?: Date;
|
|
422
475
|
}
|
|
476
|
+
/**
|
|
477
|
+
* @public
|
|
478
|
+
*/
|
|
423
479
|
export interface DescribeFraudsterResponse {
|
|
424
480
|
/**
|
|
425
481
|
* <p>Information about the specified fraudster.</p>
|
|
426
482
|
*/
|
|
427
483
|
Fraudster?: Fraudster;
|
|
428
484
|
}
|
|
485
|
+
/**
|
|
486
|
+
* @public
|
|
487
|
+
*/
|
|
429
488
|
export interface DescribeFraudsterRegistrationJobRequest {
|
|
430
489
|
/**
|
|
431
490
|
* <p>The identifier for the domain containing the fraudster registration job.</p>
|
|
@@ -437,6 +496,7 @@ export interface DescribeFraudsterRegistrationJobRequest {
|
|
|
437
496
|
JobId: string | undefined;
|
|
438
497
|
}
|
|
439
498
|
/**
|
|
499
|
+
* @public
|
|
440
500
|
* <p>Contains error details for a failed batch job.</p>
|
|
441
501
|
*/
|
|
442
502
|
export interface FailureDetails {
|
|
@@ -450,6 +510,7 @@ export interface FailureDetails {
|
|
|
450
510
|
Message?: string;
|
|
451
511
|
}
|
|
452
512
|
/**
|
|
513
|
+
* @public
|
|
453
514
|
* <p>The configuration containing input file information for a batch job.</p>
|
|
454
515
|
*/
|
|
455
516
|
export interface InputDataConfig {
|
|
@@ -460,6 +521,7 @@ export interface InputDataConfig {
|
|
|
460
521
|
S3Uri: string | undefined;
|
|
461
522
|
}
|
|
462
523
|
/**
|
|
524
|
+
* @public
|
|
463
525
|
* <p>Indicates the completion progress for a batch job.</p>
|
|
464
526
|
*/
|
|
465
527
|
export interface JobProgress {
|
|
@@ -469,6 +531,9 @@ export interface JobProgress {
|
|
|
469
531
|
*/
|
|
470
532
|
PercentComplete?: number;
|
|
471
533
|
}
|
|
534
|
+
/**
|
|
535
|
+
* @public
|
|
536
|
+
*/
|
|
472
537
|
export declare enum FraudsterRegistrationJobStatus {
|
|
473
538
|
COMPLETED = "COMPLETED",
|
|
474
539
|
COMPLETED_WITH_ERRORS = "COMPLETED_WITH_ERRORS",
|
|
@@ -477,6 +542,7 @@ export declare enum FraudsterRegistrationJobStatus {
|
|
|
477
542
|
SUBMITTED = "SUBMITTED"
|
|
478
543
|
}
|
|
479
544
|
/**
|
|
545
|
+
* @public
|
|
480
546
|
* <p>The configuration containing output file information for a batch job.</p>
|
|
481
547
|
*/
|
|
482
548
|
export interface OutputDataConfig {
|
|
@@ -495,11 +561,15 @@ export interface OutputDataConfig {
|
|
|
495
561
|
*/
|
|
496
562
|
KmsKeyId?: string;
|
|
497
563
|
}
|
|
564
|
+
/**
|
|
565
|
+
* @public
|
|
566
|
+
*/
|
|
498
567
|
export declare enum DuplicateRegistrationAction {
|
|
499
568
|
REGISTER_AS_NEW = "REGISTER_AS_NEW",
|
|
500
569
|
SKIP = "SKIP"
|
|
501
570
|
}
|
|
502
571
|
/**
|
|
572
|
+
* @public
|
|
503
573
|
* <p>The configuration defining the action to take when a duplicate fraudster is detected,
|
|
504
574
|
* and the similarity threshold to use for detecting a duplicate fraudster during a batch
|
|
505
575
|
* fraudster registration job.</p>
|
|
@@ -519,6 +589,7 @@ export interface RegistrationConfig {
|
|
|
519
589
|
FraudsterSimilarityThreshold?: number;
|
|
520
590
|
}
|
|
521
591
|
/**
|
|
592
|
+
* @public
|
|
522
593
|
* <p>Contains all the information about a fraudster registration job.</p>
|
|
523
594
|
*/
|
|
524
595
|
export interface FraudsterRegistrationJob {
|
|
@@ -582,12 +653,18 @@ export interface FraudsterRegistrationJob {
|
|
|
582
653
|
*/
|
|
583
654
|
JobProgress?: JobProgress;
|
|
584
655
|
}
|
|
656
|
+
/**
|
|
657
|
+
* @public
|
|
658
|
+
*/
|
|
585
659
|
export interface DescribeFraudsterRegistrationJobResponse {
|
|
586
660
|
/**
|
|
587
661
|
* <p>Contains details about the specified fraudster registration job.</p>
|
|
588
662
|
*/
|
|
589
663
|
Job?: FraudsterRegistrationJob;
|
|
590
664
|
}
|
|
665
|
+
/**
|
|
666
|
+
* @public
|
|
667
|
+
*/
|
|
591
668
|
export interface DescribeSpeakerRequest {
|
|
592
669
|
/**
|
|
593
670
|
* <p>The identifier of the domain that contains the speaker.</p>
|
|
@@ -598,6 +675,9 @@ export interface DescribeSpeakerRequest {
|
|
|
598
675
|
*/
|
|
599
676
|
SpeakerId: string | undefined;
|
|
600
677
|
}
|
|
678
|
+
/**
|
|
679
|
+
* @public
|
|
680
|
+
*/
|
|
601
681
|
export declare enum SpeakerStatus {
|
|
602
682
|
ENROLLED = "ENROLLED",
|
|
603
683
|
EXPIRED = "EXPIRED",
|
|
@@ -605,6 +685,7 @@ export declare enum SpeakerStatus {
|
|
|
605
685
|
PENDING = "PENDING"
|
|
606
686
|
}
|
|
607
687
|
/**
|
|
688
|
+
* @public
|
|
608
689
|
* <p>Contains all the information about a speaker.</p>
|
|
609
690
|
*/
|
|
610
691
|
export interface Speaker {
|
|
@@ -638,12 +719,18 @@ export interface Speaker {
|
|
|
638
719
|
*/
|
|
639
720
|
LastAccessedAt?: Date;
|
|
640
721
|
}
|
|
722
|
+
/**
|
|
723
|
+
* @public
|
|
724
|
+
*/
|
|
641
725
|
export interface DescribeSpeakerResponse {
|
|
642
726
|
/**
|
|
643
727
|
* <p>Information about the specified speaker.</p>
|
|
644
728
|
*/
|
|
645
729
|
Speaker?: Speaker;
|
|
646
730
|
}
|
|
731
|
+
/**
|
|
732
|
+
* @public
|
|
733
|
+
*/
|
|
647
734
|
export interface DescribeSpeakerEnrollmentJobRequest {
|
|
648
735
|
/**
|
|
649
736
|
* <p>The identifier of the domain containing the speaker enrollment job.</p>
|
|
@@ -654,15 +741,22 @@ export interface DescribeSpeakerEnrollmentJobRequest {
|
|
|
654
741
|
*/
|
|
655
742
|
JobId: string | undefined;
|
|
656
743
|
}
|
|
744
|
+
/**
|
|
745
|
+
* @public
|
|
746
|
+
*/
|
|
657
747
|
export declare enum ExistingEnrollmentAction {
|
|
658
748
|
OVERWRITE = "OVERWRITE",
|
|
659
749
|
SKIP = "SKIP"
|
|
660
750
|
}
|
|
751
|
+
/**
|
|
752
|
+
* @public
|
|
753
|
+
*/
|
|
661
754
|
export declare enum FraudDetectionAction {
|
|
662
755
|
FAIL = "FAIL",
|
|
663
756
|
IGNORE = "IGNORE"
|
|
664
757
|
}
|
|
665
758
|
/**
|
|
759
|
+
* @public
|
|
666
760
|
* <p>The configuration defining the action to take when a speaker is flagged by the fraud
|
|
667
761
|
* detection system during a batch speaker enrollment job, and the risk threshold to use
|
|
668
762
|
* for identification.</p>
|
|
@@ -683,6 +777,7 @@ export interface EnrollmentJobFraudDetectionConfig {
|
|
|
683
777
|
RiskThreshold?: number;
|
|
684
778
|
}
|
|
685
779
|
/**
|
|
780
|
+
* @public
|
|
686
781
|
* <p>Contains configurations defining enrollment behavior for the batch job.</p>
|
|
687
782
|
*/
|
|
688
783
|
export interface EnrollmentConfig {
|
|
@@ -699,6 +794,9 @@ export interface EnrollmentConfig {
|
|
|
699
794
|
*/
|
|
700
795
|
FraudDetectionConfig?: EnrollmentJobFraudDetectionConfig;
|
|
701
796
|
}
|
|
797
|
+
/**
|
|
798
|
+
* @public
|
|
799
|
+
*/
|
|
702
800
|
export declare enum SpeakerEnrollmentJobStatus {
|
|
703
801
|
COMPLETED = "COMPLETED",
|
|
704
802
|
COMPLETED_WITH_ERRORS = "COMPLETED_WITH_ERRORS",
|
|
@@ -707,6 +805,7 @@ export declare enum SpeakerEnrollmentJobStatus {
|
|
|
707
805
|
SUBMITTED = "SUBMITTED"
|
|
708
806
|
}
|
|
709
807
|
/**
|
|
808
|
+
* @public
|
|
710
809
|
* <p>Contains all the information about a speaker enrollment job.</p>
|
|
711
810
|
*/
|
|
712
811
|
export interface SpeakerEnrollmentJob {
|
|
@@ -769,12 +868,18 @@ export interface SpeakerEnrollmentJob {
|
|
|
769
868
|
*/
|
|
770
869
|
JobProgress?: JobProgress;
|
|
771
870
|
}
|
|
871
|
+
/**
|
|
872
|
+
* @public
|
|
873
|
+
*/
|
|
772
874
|
export interface DescribeSpeakerEnrollmentJobResponse {
|
|
773
875
|
/**
|
|
774
876
|
* <p>Contains details about the specified speaker enrollment job.</p>
|
|
775
877
|
*/
|
|
776
878
|
Job?: SpeakerEnrollmentJob;
|
|
777
879
|
}
|
|
880
|
+
/**
|
|
881
|
+
* @public
|
|
882
|
+
*/
|
|
778
883
|
export interface ListDomainsRequest {
|
|
779
884
|
/**
|
|
780
885
|
* <p>The maximum number of domains to list per API call.</p>
|
|
@@ -789,6 +894,7 @@ export interface ListDomainsRequest {
|
|
|
789
894
|
NextToken?: string;
|
|
790
895
|
}
|
|
791
896
|
/**
|
|
897
|
+
* @public
|
|
792
898
|
* <p>Contains a summary of information about a domain.</p>
|
|
793
899
|
*/
|
|
794
900
|
export interface DomainSummary {
|
|
@@ -832,6 +938,9 @@ export interface DomainSummary {
|
|
|
832
938
|
*/
|
|
833
939
|
ServerSideEncryptionUpdateDetails?: ServerSideEncryptionUpdateDetails;
|
|
834
940
|
}
|
|
941
|
+
/**
|
|
942
|
+
* @public
|
|
943
|
+
*/
|
|
835
944
|
export interface ListDomainsResponse {
|
|
836
945
|
/**
|
|
837
946
|
* <p>A list containing details about each domain in the Amazon Web Services account.</p>
|
|
@@ -845,6 +954,9 @@ export interface ListDomainsResponse {
|
|
|
845
954
|
*/
|
|
846
955
|
NextToken?: string;
|
|
847
956
|
}
|
|
957
|
+
/**
|
|
958
|
+
* @public
|
|
959
|
+
*/
|
|
848
960
|
export interface UpdateDomainRequest {
|
|
849
961
|
/**
|
|
850
962
|
* <p>The identifier of the domain to be updated.</p>
|
|
@@ -869,12 +981,18 @@ export interface UpdateDomainRequest {
|
|
|
869
981
|
*/
|
|
870
982
|
ServerSideEncryptionConfiguration: ServerSideEncryptionConfiguration | undefined;
|
|
871
983
|
}
|
|
984
|
+
/**
|
|
985
|
+
* @public
|
|
986
|
+
*/
|
|
872
987
|
export interface UpdateDomainResponse {
|
|
873
988
|
/**
|
|
874
989
|
* <p>Details about the updated domain</p>
|
|
875
990
|
*/
|
|
876
991
|
Domain?: Domain;
|
|
877
992
|
}
|
|
993
|
+
/**
|
|
994
|
+
* @public
|
|
995
|
+
*/
|
|
878
996
|
export interface EvaluateSessionRequest {
|
|
879
997
|
/**
|
|
880
998
|
* <p>The identifier of the domain where the session started.</p>
|
|
@@ -887,6 +1005,7 @@ export interface EvaluateSessionRequest {
|
|
|
887
1005
|
SessionNameOrId: string | undefined;
|
|
888
1006
|
}
|
|
889
1007
|
/**
|
|
1008
|
+
* @public
|
|
890
1009
|
* <p>The configuration used for performing fraud detection over a speaker during a
|
|
891
1010
|
* session.</p>
|
|
892
1011
|
*/
|
|
@@ -898,16 +1017,23 @@ export interface FraudDetectionConfiguration {
|
|
|
898
1017
|
*/
|
|
899
1018
|
RiskThreshold: number | undefined;
|
|
900
1019
|
}
|
|
1020
|
+
/**
|
|
1021
|
+
* @public
|
|
1022
|
+
*/
|
|
901
1023
|
export declare enum FraudDetectionDecision {
|
|
902
1024
|
HIGH_RISK = "HIGH_RISK",
|
|
903
1025
|
LOW_RISK = "LOW_RISK",
|
|
904
1026
|
NOT_ENOUGH_SPEECH = "NOT_ENOUGH_SPEECH"
|
|
905
1027
|
}
|
|
1028
|
+
/**
|
|
1029
|
+
* @public
|
|
1030
|
+
*/
|
|
906
1031
|
export declare enum FraudDetectionReason {
|
|
907
1032
|
KNOWN_FRAUDSTER = "KNOWN_FRAUDSTER",
|
|
908
1033
|
VOICE_SPOOFING = "VOICE_SPOOFING"
|
|
909
1034
|
}
|
|
910
1035
|
/**
|
|
1036
|
+
* @public
|
|
911
1037
|
* <p>Contains details produced as a result of performing known fraudster risk analysis on a
|
|
912
1038
|
* speaker.</p>
|
|
913
1039
|
*/
|
|
@@ -924,6 +1050,7 @@ export interface KnownFraudsterRisk {
|
|
|
924
1050
|
GeneratedFraudsterId?: string;
|
|
925
1051
|
}
|
|
926
1052
|
/**
|
|
1053
|
+
* @public
|
|
927
1054
|
* <p>The details resulting from 'Voice Spoofing Risk' analysis of the speaker.</p>
|
|
928
1055
|
*/
|
|
929
1056
|
export interface VoiceSpoofingRisk {
|
|
@@ -933,6 +1060,7 @@ export interface VoiceSpoofingRisk {
|
|
|
933
1060
|
RiskScore: number | undefined;
|
|
934
1061
|
}
|
|
935
1062
|
/**
|
|
1063
|
+
* @public
|
|
936
1064
|
* <p>Details regarding various fraud risk analyses performed against the current session
|
|
937
1065
|
* state and streamed audio of the speaker.</p>
|
|
938
1066
|
*/
|
|
@@ -947,6 +1075,7 @@ export interface FraudRiskDetails {
|
|
|
947
1075
|
VoiceSpoofingRisk: VoiceSpoofingRisk | undefined;
|
|
948
1076
|
}
|
|
949
1077
|
/**
|
|
1078
|
+
* @public
|
|
950
1079
|
* <p>The fraud detection result produced by Voice ID, processed against the current
|
|
951
1080
|
* session state and streamed audio of the speaker.</p>
|
|
952
1081
|
*/
|
|
@@ -991,11 +1120,17 @@ export interface FraudDetectionResult {
|
|
|
991
1120
|
*/
|
|
992
1121
|
RiskDetails?: FraudRiskDetails;
|
|
993
1122
|
}
|
|
1123
|
+
/**
|
|
1124
|
+
* @public
|
|
1125
|
+
*/
|
|
994
1126
|
export declare enum StreamingStatus {
|
|
995
1127
|
ENDED = "ENDED",
|
|
996
1128
|
ONGOING = "ONGOING",
|
|
997
1129
|
PENDING_CONFIGURATION = "PENDING_CONFIGURATION"
|
|
998
1130
|
}
|
|
1131
|
+
/**
|
|
1132
|
+
* @public
|
|
1133
|
+
*/
|
|
999
1134
|
export interface EvaluateSessionResponse {
|
|
1000
1135
|
/**
|
|
1001
1136
|
* <p>The identifier of the domain containing the session.</p>
|
|
@@ -1033,6 +1168,7 @@ export interface EvaluateSessionResponse {
|
|
|
1033
1168
|
FraudDetectionResult?: FraudDetectionResult;
|
|
1034
1169
|
}
|
|
1035
1170
|
/**
|
|
1171
|
+
* @public
|
|
1036
1172
|
* <p>Contains a summary of information about a fraudster registration job.</p>
|
|
1037
1173
|
*/
|
|
1038
1174
|
export interface FraudsterRegistrationJobSummary {
|
|
@@ -1074,6 +1210,9 @@ export interface FraudsterRegistrationJobSummary {
|
|
|
1074
1210
|
*/
|
|
1075
1211
|
JobProgress?: JobProgress;
|
|
1076
1212
|
}
|
|
1213
|
+
/**
|
|
1214
|
+
* @public
|
|
1215
|
+
*/
|
|
1077
1216
|
export interface ListFraudsterRegistrationJobsRequest {
|
|
1078
1217
|
/**
|
|
1079
1218
|
* <p>The identifier of the domain containing the fraudster registration Jobs.</p>
|
|
@@ -1097,6 +1236,9 @@ export interface ListFraudsterRegistrationJobsRequest {
|
|
|
1097
1236
|
*/
|
|
1098
1237
|
NextToken?: string;
|
|
1099
1238
|
}
|
|
1239
|
+
/**
|
|
1240
|
+
* @public
|
|
1241
|
+
*/
|
|
1100
1242
|
export interface ListFraudsterRegistrationJobsResponse {
|
|
1101
1243
|
/**
|
|
1102
1244
|
* <p>A list containing details about each specified fraudster registration job.</p>
|
|
@@ -1110,6 +1252,9 @@ export interface ListFraudsterRegistrationJobsResponse {
|
|
|
1110
1252
|
*/
|
|
1111
1253
|
NextToken?: string;
|
|
1112
1254
|
}
|
|
1255
|
+
/**
|
|
1256
|
+
* @public
|
|
1257
|
+
*/
|
|
1113
1258
|
export interface ListSpeakerEnrollmentJobsRequest {
|
|
1114
1259
|
/**
|
|
1115
1260
|
* <p>The identifier of the domain containing the speaker enrollment jobs.</p>
|
|
@@ -1134,6 +1279,7 @@ export interface ListSpeakerEnrollmentJobsRequest {
|
|
|
1134
1279
|
NextToken?: string;
|
|
1135
1280
|
}
|
|
1136
1281
|
/**
|
|
1282
|
+
* @public
|
|
1137
1283
|
* <p>Contains a summary of information about a speaker enrollment job.</p>
|
|
1138
1284
|
*/
|
|
1139
1285
|
export interface SpeakerEnrollmentJobSummary {
|
|
@@ -1175,6 +1321,9 @@ export interface SpeakerEnrollmentJobSummary {
|
|
|
1175
1321
|
*/
|
|
1176
1322
|
JobProgress?: JobProgress;
|
|
1177
1323
|
}
|
|
1324
|
+
/**
|
|
1325
|
+
* @public
|
|
1326
|
+
*/
|
|
1178
1327
|
export interface ListSpeakerEnrollmentJobsResponse {
|
|
1179
1328
|
/**
|
|
1180
1329
|
* <p>A list containing details about each specified speaker enrollment job.</p>
|
|
@@ -1188,6 +1337,9 @@ export interface ListSpeakerEnrollmentJobsResponse {
|
|
|
1188
1337
|
*/
|
|
1189
1338
|
NextToken?: string;
|
|
1190
1339
|
}
|
|
1340
|
+
/**
|
|
1341
|
+
* @public
|
|
1342
|
+
*/
|
|
1191
1343
|
export interface ListSpeakersRequest {
|
|
1192
1344
|
/**
|
|
1193
1345
|
* <p>The identifier of the domain.</p>
|
|
@@ -1208,6 +1360,7 @@ export interface ListSpeakersRequest {
|
|
|
1208
1360
|
NextToken?: string;
|
|
1209
1361
|
}
|
|
1210
1362
|
/**
|
|
1363
|
+
* @public
|
|
1211
1364
|
* <p>Contains a summary of information about a speaker.</p>
|
|
1212
1365
|
*/
|
|
1213
1366
|
export interface SpeakerSummary {
|
|
@@ -1241,6 +1394,9 @@ export interface SpeakerSummary {
|
|
|
1241
1394
|
*/
|
|
1242
1395
|
LastAccessedAt?: Date;
|
|
1243
1396
|
}
|
|
1397
|
+
/**
|
|
1398
|
+
* @public
|
|
1399
|
+
*/
|
|
1244
1400
|
export interface ListSpeakersResponse {
|
|
1245
1401
|
/**
|
|
1246
1402
|
* <p>A list containing details about each speaker in the Amazon Web Services account.
|
|
@@ -1255,6 +1411,9 @@ export interface ListSpeakersResponse {
|
|
|
1255
1411
|
*/
|
|
1256
1412
|
NextToken?: string;
|
|
1257
1413
|
}
|
|
1414
|
+
/**
|
|
1415
|
+
* @public
|
|
1416
|
+
*/
|
|
1258
1417
|
export interface ListTagsForResourceRequest {
|
|
1259
1418
|
/**
|
|
1260
1419
|
* <p>The Amazon Resource Name (ARN) of the Voice ID resource for which you want to list
|
|
@@ -1262,12 +1421,18 @@ export interface ListTagsForResourceRequest {
|
|
|
1262
1421
|
*/
|
|
1263
1422
|
ResourceArn: string | undefined;
|
|
1264
1423
|
}
|
|
1424
|
+
/**
|
|
1425
|
+
* @public
|
|
1426
|
+
*/
|
|
1265
1427
|
export interface ListTagsForResourceResponse {
|
|
1266
1428
|
/**
|
|
1267
1429
|
* <p>The list of tags associated with the specified resource.</p>
|
|
1268
1430
|
*/
|
|
1269
1431
|
Tags?: Tag[];
|
|
1270
1432
|
}
|
|
1433
|
+
/**
|
|
1434
|
+
* @public
|
|
1435
|
+
*/
|
|
1271
1436
|
export interface OptOutSpeakerRequest {
|
|
1272
1437
|
/**
|
|
1273
1438
|
* <p>The identifier of the domain containing the speaker.</p>
|
|
@@ -1278,12 +1443,18 @@ export interface OptOutSpeakerRequest {
|
|
|
1278
1443
|
*/
|
|
1279
1444
|
SpeakerId: string | undefined;
|
|
1280
1445
|
}
|
|
1446
|
+
/**
|
|
1447
|
+
* @public
|
|
1448
|
+
*/
|
|
1281
1449
|
export interface OptOutSpeakerResponse {
|
|
1282
1450
|
/**
|
|
1283
1451
|
* <p>Details about the opted-out speaker.</p>
|
|
1284
1452
|
*/
|
|
1285
1453
|
Speaker?: Speaker;
|
|
1286
1454
|
}
|
|
1455
|
+
/**
|
|
1456
|
+
* @public
|
|
1457
|
+
*/
|
|
1287
1458
|
export interface StartFraudsterRegistrationJobRequest {
|
|
1288
1459
|
/**
|
|
1289
1460
|
* <p>The idempotency token for starting a new fraudster registration job. If not provided,
|
|
@@ -1325,12 +1496,18 @@ export interface StartFraudsterRegistrationJobRequest {
|
|
|
1325
1496
|
*/
|
|
1326
1497
|
OutputDataConfig: OutputDataConfig | undefined;
|
|
1327
1498
|
}
|
|
1499
|
+
/**
|
|
1500
|
+
* @public
|
|
1501
|
+
*/
|
|
1328
1502
|
export interface StartFraudsterRegistrationJobResponse {
|
|
1329
1503
|
/**
|
|
1330
1504
|
* <p>Details about the started fraudster registration job.</p>
|
|
1331
1505
|
*/
|
|
1332
1506
|
Job?: FraudsterRegistrationJob;
|
|
1333
1507
|
}
|
|
1508
|
+
/**
|
|
1509
|
+
* @public
|
|
1510
|
+
*/
|
|
1334
1511
|
export interface StartSpeakerEnrollmentJobRequest {
|
|
1335
1512
|
/**
|
|
1336
1513
|
* <p>The idempotency token for starting a new speaker enrollment Job. If not provided,
|
|
@@ -1370,12 +1547,18 @@ export interface StartSpeakerEnrollmentJobRequest {
|
|
|
1370
1547
|
*/
|
|
1371
1548
|
OutputDataConfig: OutputDataConfig | undefined;
|
|
1372
1549
|
}
|
|
1550
|
+
/**
|
|
1551
|
+
* @public
|
|
1552
|
+
*/
|
|
1373
1553
|
export interface StartSpeakerEnrollmentJobResponse {
|
|
1374
1554
|
/**
|
|
1375
1555
|
* <p>Details about the started speaker enrollment job.</p>
|
|
1376
1556
|
*/
|
|
1377
1557
|
Job?: SpeakerEnrollmentJob;
|
|
1378
1558
|
}
|
|
1559
|
+
/**
|
|
1560
|
+
* @public
|
|
1561
|
+
*/
|
|
1379
1562
|
export interface TagResourceRequest {
|
|
1380
1563
|
/**
|
|
1381
1564
|
* <p>The Amazon Resource Name (ARN) of the Voice ID resource you want to tag.</p>
|
|
@@ -1386,8 +1569,14 @@ export interface TagResourceRequest {
|
|
|
1386
1569
|
*/
|
|
1387
1570
|
Tags: Tag[] | undefined;
|
|
1388
1571
|
}
|
|
1572
|
+
/**
|
|
1573
|
+
* @public
|
|
1574
|
+
*/
|
|
1389
1575
|
export interface TagResourceResponse {
|
|
1390
1576
|
}
|
|
1577
|
+
/**
|
|
1578
|
+
* @public
|
|
1579
|
+
*/
|
|
1391
1580
|
export interface UntagResourceRequest {
|
|
1392
1581
|
/**
|
|
1393
1582
|
* <p>The Amazon Resource Name (ARN) of the Voice ID resource you want to remove tags
|
|
@@ -1399,6 +1588,9 @@ export interface UntagResourceRequest {
|
|
|
1399
1588
|
*/
|
|
1400
1589
|
TagKeys: string[] | undefined;
|
|
1401
1590
|
}
|
|
1591
|
+
/**
|
|
1592
|
+
* @public
|
|
1593
|
+
*/
|
|
1402
1594
|
export interface UntagResourceResponse {
|
|
1403
1595
|
}
|
|
1404
1596
|
/**
|