@aws-sdk/client-voice-id 3.168.0 → 3.170.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.
Files changed (42) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist-types/ts3.4/VoiceID.d.ts +382 -110
  3. package/dist-types/ts3.4/VoiceIDClient.d.ts +255 -94
  4. package/dist-types/ts3.4/commands/CreateDomainCommand.d.ts +34 -17
  5. package/dist-types/ts3.4/commands/DeleteDomainCommand.d.ts +32 -17
  6. package/dist-types/ts3.4/commands/DeleteFraudsterCommand.d.ts +32 -17
  7. package/dist-types/ts3.4/commands/DeleteSpeakerCommand.d.ts +32 -17
  8. package/dist-types/ts3.4/commands/DescribeDomainCommand.d.ts +37 -17
  9. package/dist-types/ts3.4/commands/DescribeFraudsterCommand.d.ts +38 -17
  10. package/dist-types/ts3.4/commands/DescribeFraudsterRegistrationJobCommand.d.ts +41 -17
  11. package/dist-types/ts3.4/commands/DescribeSpeakerCommand.d.ts +37 -17
  12. package/dist-types/ts3.4/commands/DescribeSpeakerEnrollmentJobCommand.d.ts +41 -17
  13. package/dist-types/ts3.4/commands/EvaluateSessionCommand.d.ts +37 -17
  14. package/dist-types/ts3.4/commands/ListDomainsCommand.d.ts +34 -17
  15. package/dist-types/ts3.4/commands/ListFraudsterRegistrationJobsCommand.d.ts +41 -17
  16. package/dist-types/ts3.4/commands/ListSpeakerEnrollmentJobsCommand.d.ts +41 -17
  17. package/dist-types/ts3.4/commands/ListSpeakersCommand.d.ts +34 -17
  18. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +38 -17
  19. package/dist-types/ts3.4/commands/OptOutSpeakerCommand.d.ts +37 -17
  20. package/dist-types/ts3.4/commands/StartFraudsterRegistrationJobCommand.d.ts +41 -17
  21. package/dist-types/ts3.4/commands/StartSpeakerEnrollmentJobCommand.d.ts +41 -17
  22. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +34 -17
  23. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +37 -17
  24. package/dist-types/ts3.4/commands/UpdateDomainCommand.d.ts +34 -17
  25. package/dist-types/ts3.4/commands/index.d.ts +21 -21
  26. package/dist-types/ts3.4/endpoints.d.ts +2 -2
  27. package/dist-types/ts3.4/index.d.ts +6 -6
  28. package/dist-types/ts3.4/models/VoiceIDServiceException.d.ts +8 -6
  29. package/dist-types/ts3.4/models/index.d.ts +1 -1
  30. package/dist-types/ts3.4/models/models_0.d.ts +900 -829
  31. package/dist-types/ts3.4/pagination/Interfaces.d.ts +7 -6
  32. package/dist-types/ts3.4/pagination/ListDomainsPaginator.d.ts +11 -4
  33. package/dist-types/ts3.4/pagination/ListFraudsterRegistrationJobsPaginator.d.ts +11 -4
  34. package/dist-types/ts3.4/pagination/ListSpeakerEnrollmentJobsPaginator.d.ts +11 -4
  35. package/dist-types/ts3.4/pagination/ListSpeakersPaginator.d.ts +11 -4
  36. package/dist-types/ts3.4/pagination/index.d.ts +5 -5
  37. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +257 -65
  38. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +66 -38
  39. package/dist-types/ts3.4/runtimeConfig.d.ts +66 -38
  40. package/dist-types/ts3.4/runtimeConfig.native.d.ts +67 -37
  41. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -11
  42. package/package.json +34 -34
@@ -1,829 +1,900 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
- import { VoiceIDServiceException as __BaseException } from "./VoiceIDServiceException";
3
-
4
- export declare class AccessDeniedException extends __BaseException {
5
- readonly name: "AccessDeniedException";
6
- readonly $fault: "client";
7
- Message?: string;
8
-
9
- constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
10
- }
11
-
12
- export interface AuthenticationConfiguration {
13
-
14
- AcceptanceThreshold: number | undefined;
15
- }
16
- export declare enum AuthenticationDecision {
17
- ACCEPT = "ACCEPT",
18
- NOT_ENOUGH_SPEECH = "NOT_ENOUGH_SPEECH",
19
- REJECT = "REJECT",
20
- SPEAKER_EXPIRED = "SPEAKER_EXPIRED",
21
- SPEAKER_ID_NOT_PROVIDED = "SPEAKER_ID_NOT_PROVIDED",
22
- SPEAKER_NOT_ENROLLED = "SPEAKER_NOT_ENROLLED",
23
- SPEAKER_OPTED_OUT = "SPEAKER_OPTED_OUT"
24
- }
25
-
26
- export interface AuthenticationResult {
27
-
28
- AuthenticationResultId?: string;
29
-
30
- AudioAggregationStartedAt?: Date;
31
-
32
- AudioAggregationEndedAt?: Date;
33
-
34
- CustomerSpeakerId?: string;
35
-
36
- GeneratedSpeakerId?: string;
37
-
38
- Decision?: AuthenticationDecision | string;
39
-
40
- Score?: number;
41
-
42
- Configuration?: AuthenticationConfiguration;
43
- }
44
- export declare enum ConflictType {
45
- ANOTHER_ACTIVE_STREAM = "ANOTHER_ACTIVE_STREAM",
46
- CANNOT_CHANGE_SPEAKER_AFTER_ENROLLMENT = "CANNOT_CHANGE_SPEAKER_AFTER_ENROLLMENT",
47
- CONCURRENT_CHANGES = "CONCURRENT_CHANGES",
48
- DOMAIN_LOCKED_FROM_ENCRYPTION_UPDATES = "DOMAIN_LOCKED_FROM_ENCRYPTION_UPDATES",
49
- DOMAIN_NOT_ACTIVE = "DOMAIN_NOT_ACTIVE",
50
- ENROLLMENT_ALREADY_EXISTS = "ENROLLMENT_ALREADY_EXISTS",
51
- SPEAKER_NOT_SET = "SPEAKER_NOT_SET",
52
- SPEAKER_OPTED_OUT = "SPEAKER_OPTED_OUT"
53
- }
54
-
55
- export declare class ConflictException extends __BaseException {
56
- readonly name: "ConflictException";
57
- readonly $fault: "client";
58
- Message?: string;
59
-
60
- ConflictType?: ConflictType | string;
61
-
62
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
63
- }
64
-
65
- export interface ServerSideEncryptionConfiguration {
66
-
67
- KmsKeyId: string | undefined;
68
- }
69
-
70
- export interface Tag {
71
-
72
- Key: string | undefined;
73
-
74
- Value: string | undefined;
75
- }
76
- export interface CreateDomainRequest {
77
-
78
- Name: string | undefined;
79
-
80
- Description?: string;
81
-
82
- ServerSideEncryptionConfiguration: ServerSideEncryptionConfiguration | undefined;
83
-
84
- ClientToken?: string;
85
-
86
- Tags?: Tag[];
87
- }
88
- export declare enum DomainStatus {
89
- ACTIVE = "ACTIVE",
90
- PENDING = "PENDING",
91
- SUSPENDED = "SUSPENDED"
92
- }
93
- export declare enum ServerSideEncryptionUpdateStatus {
94
- COMPLETED = "COMPLETED",
95
- FAILED = "FAILED",
96
- IN_PROGRESS = "IN_PROGRESS"
97
- }
98
-
99
- export interface ServerSideEncryptionUpdateDetails {
100
-
101
- OldKmsKeyId?: string;
102
-
103
- UpdateStatus?: ServerSideEncryptionUpdateStatus | string;
104
-
105
- Message?: string;
106
- }
107
-
108
- export interface Domain {
109
-
110
- DomainId?: string;
111
-
112
- Arn?: string;
113
-
114
- Name?: string;
115
-
116
- Description?: string;
117
-
118
- DomainStatus?: DomainStatus | string;
119
-
120
- ServerSideEncryptionConfiguration?: ServerSideEncryptionConfiguration;
121
-
122
- CreatedAt?: Date;
123
-
124
- UpdatedAt?: Date;
125
-
126
- ServerSideEncryptionUpdateDetails?: ServerSideEncryptionUpdateDetails;
127
- }
128
- export interface CreateDomainResponse {
129
-
130
- Domain?: Domain;
131
- }
132
-
133
- export declare class InternalServerException extends __BaseException {
134
- readonly name: "InternalServerException";
135
- readonly $fault: "server";
136
- Message?: string;
137
-
138
- constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
139
- }
140
- export declare enum ResourceType {
141
- BATCH_JOB = "BATCH_JOB",
142
- COMPLIANCE_CONSENT = "COMPLIANCE_CONSENT",
143
- DOMAIN = "DOMAIN",
144
- FRAUDSTER = "FRAUDSTER",
145
- SESSION = "SESSION",
146
- SPEAKER = "SPEAKER"
147
- }
148
-
149
- export declare class ResourceNotFoundException extends __BaseException {
150
- readonly name: "ResourceNotFoundException";
151
- readonly $fault: "client";
152
- Message?: string;
153
-
154
- ResourceType?: ResourceType | string;
155
-
156
- constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
157
- }
158
-
159
- export declare class ServiceQuotaExceededException extends __BaseException {
160
- readonly name: "ServiceQuotaExceededException";
161
- readonly $fault: "client";
162
- Message?: string;
163
-
164
- constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
165
- }
166
-
167
- export declare class ThrottlingException extends __BaseException {
168
- readonly name: "ThrottlingException";
169
- readonly $fault: "client";
170
- Message?: string;
171
-
172
- constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
173
- }
174
-
175
- export declare class ValidationException extends __BaseException {
176
- readonly name: "ValidationException";
177
- readonly $fault: "client";
178
- Message?: string;
179
-
180
- constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
181
- }
182
- export interface DeleteDomainRequest {
183
-
184
- DomainId: string | undefined;
185
- }
186
- export interface DeleteFraudsterRequest {
187
-
188
- DomainId: string | undefined;
189
-
190
- FraudsterId: string | undefined;
191
- }
192
- export interface DeleteSpeakerRequest {
193
-
194
- DomainId: string | undefined;
195
-
196
- SpeakerId: string | undefined;
197
- }
198
- export interface DescribeDomainRequest {
199
-
200
- DomainId: string | undefined;
201
- }
202
- export interface DescribeDomainResponse {
203
-
204
- Domain?: Domain;
205
- }
206
- export interface DescribeFraudsterRequest {
207
-
208
- DomainId: string | undefined;
209
-
210
- FraudsterId: string | undefined;
211
- }
212
-
213
- export interface Fraudster {
214
-
215
- DomainId?: string;
216
-
217
- GeneratedFraudsterId?: string;
218
-
219
- CreatedAt?: Date;
220
- }
221
- export interface DescribeFraudsterResponse {
222
-
223
- Fraudster?: Fraudster;
224
- }
225
- export interface DescribeFraudsterRegistrationJobRequest {
226
-
227
- DomainId: string | undefined;
228
-
229
- JobId: string | undefined;
230
- }
231
-
232
- export interface FailureDetails {
233
-
234
- StatusCode?: number;
235
-
236
- Message?: string;
237
- }
238
-
239
- export interface InputDataConfig {
240
-
241
- S3Uri: string | undefined;
242
- }
243
-
244
- export interface JobProgress {
245
-
246
- PercentComplete?: number;
247
- }
248
- export declare enum FraudsterRegistrationJobStatus {
249
- COMPLETED = "COMPLETED",
250
- COMPLETED_WITH_ERRORS = "COMPLETED_WITH_ERRORS",
251
- FAILED = "FAILED",
252
- IN_PROGRESS = "IN_PROGRESS",
253
- SUBMITTED = "SUBMITTED"
254
- }
255
-
256
- export interface OutputDataConfig {
257
-
258
- S3Uri: string | undefined;
259
-
260
- KmsKeyId?: string;
261
- }
262
- export declare enum DuplicateRegistrationAction {
263
- REGISTER_AS_NEW = "REGISTER_AS_NEW",
264
- SKIP = "SKIP"
265
- }
266
-
267
- export interface RegistrationConfig {
268
-
269
- DuplicateRegistrationAction?: DuplicateRegistrationAction | string;
270
-
271
- FraudsterSimilarityThreshold?: number;
272
- }
273
-
274
- export interface FraudsterRegistrationJob {
275
-
276
- JobName?: string;
277
-
278
- JobId?: string;
279
-
280
- JobStatus?: FraudsterRegistrationJobStatus | string;
281
-
282
- DomainId?: string;
283
-
284
- DataAccessRoleArn?: string;
285
-
286
- RegistrationConfig?: RegistrationConfig;
287
-
288
- InputDataConfig?: InputDataConfig;
289
-
290
- OutputDataConfig?: OutputDataConfig;
291
-
292
- CreatedAt?: Date;
293
-
294
- EndedAt?: Date;
295
-
296
- FailureDetails?: FailureDetails;
297
-
298
- JobProgress?: JobProgress;
299
- }
300
- export interface DescribeFraudsterRegistrationJobResponse {
301
-
302
- Job?: FraudsterRegistrationJob;
303
- }
304
- export interface DescribeSpeakerRequest {
305
-
306
- DomainId: string | undefined;
307
-
308
- SpeakerId: string | undefined;
309
- }
310
- export declare enum SpeakerStatus {
311
- ENROLLED = "ENROLLED",
312
- EXPIRED = "EXPIRED",
313
- OPTED_OUT = "OPTED_OUT",
314
- PENDING = "PENDING"
315
- }
316
-
317
- export interface Speaker {
318
-
319
- DomainId?: string;
320
-
321
- CustomerSpeakerId?: string;
322
-
323
- GeneratedSpeakerId?: string;
324
-
325
- Status?: SpeakerStatus | string;
326
-
327
- CreatedAt?: Date;
328
-
329
- UpdatedAt?: Date;
330
-
331
- LastAccessedAt?: Date;
332
- }
333
- export interface DescribeSpeakerResponse {
334
-
335
- Speaker?: Speaker;
336
- }
337
- export interface DescribeSpeakerEnrollmentJobRequest {
338
-
339
- DomainId: string | undefined;
340
-
341
- JobId: string | undefined;
342
- }
343
- export declare enum ExistingEnrollmentAction {
344
- OVERWRITE = "OVERWRITE",
345
- SKIP = "SKIP"
346
- }
347
- export declare enum FraudDetectionAction {
348
- FAIL = "FAIL",
349
- IGNORE = "IGNORE"
350
- }
351
-
352
- export interface EnrollmentJobFraudDetectionConfig {
353
-
354
- FraudDetectionAction?: FraudDetectionAction | string;
355
-
356
- RiskThreshold?: number;
357
- }
358
-
359
- export interface EnrollmentConfig {
360
-
361
- ExistingEnrollmentAction?: ExistingEnrollmentAction | string;
362
-
363
- FraudDetectionConfig?: EnrollmentJobFraudDetectionConfig;
364
- }
365
- export declare enum SpeakerEnrollmentJobStatus {
366
- COMPLETED = "COMPLETED",
367
- COMPLETED_WITH_ERRORS = "COMPLETED_WITH_ERRORS",
368
- FAILED = "FAILED",
369
- IN_PROGRESS = "IN_PROGRESS",
370
- SUBMITTED = "SUBMITTED"
371
- }
372
-
373
- export interface SpeakerEnrollmentJob {
374
-
375
- JobName?: string;
376
-
377
- JobId?: string;
378
-
379
- JobStatus?: SpeakerEnrollmentJobStatus | string;
380
-
381
- DomainId?: string;
382
-
383
- DataAccessRoleArn?: string;
384
-
385
- EnrollmentConfig?: EnrollmentConfig;
386
-
387
- InputDataConfig?: InputDataConfig;
388
-
389
- OutputDataConfig?: OutputDataConfig;
390
-
391
- CreatedAt?: Date;
392
-
393
- EndedAt?: Date;
394
-
395
- FailureDetails?: FailureDetails;
396
-
397
- JobProgress?: JobProgress;
398
- }
399
- export interface DescribeSpeakerEnrollmentJobResponse {
400
-
401
- Job?: SpeakerEnrollmentJob;
402
- }
403
- export interface ListDomainsRequest {
404
-
405
- MaxResults?: number;
406
-
407
- NextToken?: string;
408
- }
409
-
410
- export interface DomainSummary {
411
-
412
- DomainId?: string;
413
-
414
- Arn?: string;
415
-
416
- Name?: string;
417
-
418
- Description?: string;
419
-
420
- DomainStatus?: DomainStatus | string;
421
-
422
- ServerSideEncryptionConfiguration?: ServerSideEncryptionConfiguration;
423
-
424
- CreatedAt?: Date;
425
-
426
- UpdatedAt?: Date;
427
-
428
- ServerSideEncryptionUpdateDetails?: ServerSideEncryptionUpdateDetails;
429
- }
430
- export interface ListDomainsResponse {
431
-
432
- DomainSummaries?: DomainSummary[];
433
-
434
- NextToken?: string;
435
- }
436
- export interface UpdateDomainRequest {
437
-
438
- DomainId: string | undefined;
439
-
440
- Name: string | undefined;
441
-
442
- Description?: string;
443
-
444
- ServerSideEncryptionConfiguration: ServerSideEncryptionConfiguration | undefined;
445
- }
446
- export interface UpdateDomainResponse {
447
-
448
- Domain?: Domain;
449
- }
450
- export interface EvaluateSessionRequest {
451
-
452
- DomainId: string | undefined;
453
-
454
- SessionNameOrId: string | undefined;
455
- }
456
-
457
- export interface FraudDetectionConfiguration {
458
-
459
- RiskThreshold: number | undefined;
460
- }
461
- export declare enum FraudDetectionDecision {
462
- HIGH_RISK = "HIGH_RISK",
463
- LOW_RISK = "LOW_RISK",
464
- NOT_ENOUGH_SPEECH = "NOT_ENOUGH_SPEECH"
465
- }
466
- export declare enum FraudDetectionReason {
467
- KNOWN_FRAUDSTER = "KNOWN_FRAUDSTER",
468
- VOICE_SPOOFING = "VOICE_SPOOFING"
469
- }
470
-
471
- export interface KnownFraudsterRisk {
472
-
473
- RiskScore: number | undefined;
474
-
475
- GeneratedFraudsterId?: string;
476
- }
477
-
478
- export interface VoiceSpoofingRisk {
479
-
480
- RiskScore: number | undefined;
481
- }
482
-
483
- export interface FraudRiskDetails {
484
-
485
- KnownFraudsterRisk: KnownFraudsterRisk | undefined;
486
-
487
- VoiceSpoofingRisk: VoiceSpoofingRisk | undefined;
488
- }
489
-
490
- export interface FraudDetectionResult {
491
-
492
- FraudDetectionResultId?: string;
493
-
494
- AudioAggregationStartedAt?: Date;
495
-
496
- AudioAggregationEndedAt?: Date;
497
-
498
- Configuration?: FraudDetectionConfiguration;
499
-
500
- Decision?: FraudDetectionDecision | string;
501
-
502
- Reasons?: (FraudDetectionReason | string)[];
503
-
504
- RiskDetails?: FraudRiskDetails;
505
- }
506
- export declare enum StreamingStatus {
507
- ENDED = "ENDED",
508
- ONGOING = "ONGOING",
509
- PENDING_CONFIGURATION = "PENDING_CONFIGURATION"
510
- }
511
- export interface EvaluateSessionResponse {
512
-
513
- DomainId?: string;
514
-
515
- SessionId?: string;
516
-
517
- SessionName?: string;
518
-
519
- StreamingStatus?: StreamingStatus | string;
520
-
521
- AuthenticationResult?: AuthenticationResult;
522
-
523
- FraudDetectionResult?: FraudDetectionResult;
524
- }
525
-
526
- export interface FraudsterRegistrationJobSummary {
527
-
528
- JobName?: string;
529
-
530
- JobId?: string;
531
-
532
- JobStatus?: FraudsterRegistrationJobStatus | string;
533
-
534
- DomainId?: string;
535
-
536
- CreatedAt?: Date;
537
-
538
- EndedAt?: Date;
539
-
540
- FailureDetails?: FailureDetails;
541
-
542
- JobProgress?: JobProgress;
543
- }
544
- export interface ListFraudsterRegistrationJobsRequest {
545
-
546
- DomainId: string | undefined;
547
-
548
- JobStatus?: FraudsterRegistrationJobStatus | string;
549
-
550
- MaxResults?: number;
551
-
552
- NextToken?: string;
553
- }
554
- export interface ListFraudsterRegistrationJobsResponse {
555
-
556
- JobSummaries?: FraudsterRegistrationJobSummary[];
557
-
558
- NextToken?: string;
559
- }
560
- export interface ListSpeakerEnrollmentJobsRequest {
561
-
562
- DomainId: string | undefined;
563
-
564
- JobStatus?: SpeakerEnrollmentJobStatus | string;
565
-
566
- MaxResults?: number;
567
-
568
- NextToken?: string;
569
- }
570
-
571
- export interface SpeakerEnrollmentJobSummary {
572
-
573
- JobName?: string;
574
-
575
- JobId?: string;
576
-
577
- JobStatus?: SpeakerEnrollmentJobStatus | string;
578
-
579
- DomainId?: string;
580
-
581
- CreatedAt?: Date;
582
-
583
- EndedAt?: Date;
584
-
585
- FailureDetails?: FailureDetails;
586
-
587
- JobProgress?: JobProgress;
588
- }
589
- export interface ListSpeakerEnrollmentJobsResponse {
590
-
591
- JobSummaries?: SpeakerEnrollmentJobSummary[];
592
-
593
- NextToken?: string;
594
- }
595
- export interface ListSpeakersRequest {
596
-
597
- DomainId: string | undefined;
598
-
599
- MaxResults?: number;
600
-
601
- NextToken?: string;
602
- }
603
-
604
- export interface SpeakerSummary {
605
-
606
- DomainId?: string;
607
-
608
- CustomerSpeakerId?: string;
609
-
610
- GeneratedSpeakerId?: string;
611
-
612
- Status?: SpeakerStatus | string;
613
-
614
- CreatedAt?: Date;
615
-
616
- UpdatedAt?: Date;
617
-
618
- LastAccessedAt?: Date;
619
- }
620
- export interface ListSpeakersResponse {
621
-
622
- SpeakerSummaries?: SpeakerSummary[];
623
-
624
- NextToken?: string;
625
- }
626
- export interface ListTagsForResourceRequest {
627
-
628
- ResourceArn: string | undefined;
629
- }
630
- export interface ListTagsForResourceResponse {
631
-
632
- Tags?: Tag[];
633
- }
634
- export interface OptOutSpeakerRequest {
635
-
636
- DomainId: string | undefined;
637
-
638
- SpeakerId: string | undefined;
639
- }
640
- export interface OptOutSpeakerResponse {
641
-
642
- Speaker?: Speaker;
643
- }
644
- export interface StartFraudsterRegistrationJobRequest {
645
-
646
- ClientToken?: string;
647
-
648
- JobName?: string;
649
-
650
- DomainId: string | undefined;
651
-
652
- DataAccessRoleArn: string | undefined;
653
-
654
- RegistrationConfig?: RegistrationConfig;
655
-
656
- InputDataConfig: InputDataConfig | undefined;
657
-
658
- OutputDataConfig: OutputDataConfig | undefined;
659
- }
660
- export interface StartFraudsterRegistrationJobResponse {
661
-
662
- Job?: FraudsterRegistrationJob;
663
- }
664
- export interface StartSpeakerEnrollmentJobRequest {
665
-
666
- ClientToken?: string;
667
-
668
- JobName?: string;
669
-
670
- DomainId: string | undefined;
671
-
672
- DataAccessRoleArn: string | undefined;
673
-
674
- EnrollmentConfig?: EnrollmentConfig;
675
-
676
- InputDataConfig: InputDataConfig | undefined;
677
-
678
- OutputDataConfig: OutputDataConfig | undefined;
679
- }
680
- export interface StartSpeakerEnrollmentJobResponse {
681
-
682
- Job?: SpeakerEnrollmentJob;
683
- }
684
- export interface TagResourceRequest {
685
-
686
- ResourceArn: string | undefined;
687
-
688
- Tags: Tag[] | undefined;
689
- }
690
- export interface TagResourceResponse {
691
- }
692
- export interface UntagResourceRequest {
693
-
694
- ResourceArn: string | undefined;
695
-
696
- TagKeys: string[] | undefined;
697
- }
698
- export interface UntagResourceResponse {
699
- }
700
-
701
- export declare const AuthenticationConfigurationFilterSensitiveLog: (obj: AuthenticationConfiguration) => any;
702
-
703
- export declare const AuthenticationResultFilterSensitiveLog: (obj: AuthenticationResult) => any;
704
-
705
- export declare const ServerSideEncryptionConfigurationFilterSensitiveLog: (obj: ServerSideEncryptionConfiguration) => any;
706
-
707
- export declare const TagFilterSensitiveLog: (obj: Tag) => any;
708
-
709
- export declare const CreateDomainRequestFilterSensitiveLog: (obj: CreateDomainRequest) => any;
710
-
711
- export declare const ServerSideEncryptionUpdateDetailsFilterSensitiveLog: (obj: ServerSideEncryptionUpdateDetails) => any;
712
-
713
- export declare const DomainFilterSensitiveLog: (obj: Domain) => any;
714
-
715
- export declare const CreateDomainResponseFilterSensitiveLog: (obj: CreateDomainResponse) => any;
716
-
717
- export declare const DeleteDomainRequestFilterSensitiveLog: (obj: DeleteDomainRequest) => any;
718
-
719
- export declare const DeleteFraudsterRequestFilterSensitiveLog: (obj: DeleteFraudsterRequest) => any;
720
-
721
- export declare const DeleteSpeakerRequestFilterSensitiveLog: (obj: DeleteSpeakerRequest) => any;
722
-
723
- export declare const DescribeDomainRequestFilterSensitiveLog: (obj: DescribeDomainRequest) => any;
724
-
725
- export declare const DescribeDomainResponseFilterSensitiveLog: (obj: DescribeDomainResponse) => any;
726
-
727
- export declare const DescribeFraudsterRequestFilterSensitiveLog: (obj: DescribeFraudsterRequest) => any;
728
-
729
- export declare const FraudsterFilterSensitiveLog: (obj: Fraudster) => any;
730
-
731
- export declare const DescribeFraudsterResponseFilterSensitiveLog: (obj: DescribeFraudsterResponse) => any;
732
-
733
- export declare const DescribeFraudsterRegistrationJobRequestFilterSensitiveLog: (obj: DescribeFraudsterRegistrationJobRequest) => any;
734
-
735
- export declare const FailureDetailsFilterSensitiveLog: (obj: FailureDetails) => any;
736
-
737
- export declare const InputDataConfigFilterSensitiveLog: (obj: InputDataConfig) => any;
738
-
739
- export declare const JobProgressFilterSensitiveLog: (obj: JobProgress) => any;
740
-
741
- export declare const OutputDataConfigFilterSensitiveLog: (obj: OutputDataConfig) => any;
742
-
743
- export declare const RegistrationConfigFilterSensitiveLog: (obj: RegistrationConfig) => any;
744
-
745
- export declare const FraudsterRegistrationJobFilterSensitiveLog: (obj: FraudsterRegistrationJob) => any;
746
-
747
- export declare const DescribeFraudsterRegistrationJobResponseFilterSensitiveLog: (obj: DescribeFraudsterRegistrationJobResponse) => any;
748
-
749
- export declare const DescribeSpeakerRequestFilterSensitiveLog: (obj: DescribeSpeakerRequest) => any;
750
-
751
- export declare const SpeakerFilterSensitiveLog: (obj: Speaker) => any;
752
-
753
- export declare const DescribeSpeakerResponseFilterSensitiveLog: (obj: DescribeSpeakerResponse) => any;
754
-
755
- export declare const DescribeSpeakerEnrollmentJobRequestFilterSensitiveLog: (obj: DescribeSpeakerEnrollmentJobRequest) => any;
756
-
757
- export declare const EnrollmentJobFraudDetectionConfigFilterSensitiveLog: (obj: EnrollmentJobFraudDetectionConfig) => any;
758
-
759
- export declare const EnrollmentConfigFilterSensitiveLog: (obj: EnrollmentConfig) => any;
760
-
761
- export declare const SpeakerEnrollmentJobFilterSensitiveLog: (obj: SpeakerEnrollmentJob) => any;
762
-
763
- export declare const DescribeSpeakerEnrollmentJobResponseFilterSensitiveLog: (obj: DescribeSpeakerEnrollmentJobResponse) => any;
764
-
765
- export declare const ListDomainsRequestFilterSensitiveLog: (obj: ListDomainsRequest) => any;
766
-
767
- export declare const DomainSummaryFilterSensitiveLog: (obj: DomainSummary) => any;
768
-
769
- export declare const ListDomainsResponseFilterSensitiveLog: (obj: ListDomainsResponse) => any;
770
-
771
- export declare const UpdateDomainRequestFilterSensitiveLog: (obj: UpdateDomainRequest) => any;
772
-
773
- export declare const UpdateDomainResponseFilterSensitiveLog: (obj: UpdateDomainResponse) => any;
774
-
775
- export declare const EvaluateSessionRequestFilterSensitiveLog: (obj: EvaluateSessionRequest) => any;
776
-
777
- export declare const FraudDetectionConfigurationFilterSensitiveLog: (obj: FraudDetectionConfiguration) => any;
778
-
779
- export declare const KnownFraudsterRiskFilterSensitiveLog: (obj: KnownFraudsterRisk) => any;
780
-
781
- export declare const VoiceSpoofingRiskFilterSensitiveLog: (obj: VoiceSpoofingRisk) => any;
782
-
783
- export declare const FraudRiskDetailsFilterSensitiveLog: (obj: FraudRiskDetails) => any;
784
-
785
- export declare const FraudDetectionResultFilterSensitiveLog: (obj: FraudDetectionResult) => any;
786
-
787
- export declare const EvaluateSessionResponseFilterSensitiveLog: (obj: EvaluateSessionResponse) => any;
788
-
789
- export declare const FraudsterRegistrationJobSummaryFilterSensitiveLog: (obj: FraudsterRegistrationJobSummary) => any;
790
-
791
- export declare const ListFraudsterRegistrationJobsRequestFilterSensitiveLog: (obj: ListFraudsterRegistrationJobsRequest) => any;
792
-
793
- export declare const ListFraudsterRegistrationJobsResponseFilterSensitiveLog: (obj: ListFraudsterRegistrationJobsResponse) => any;
794
-
795
- export declare const ListSpeakerEnrollmentJobsRequestFilterSensitiveLog: (obj: ListSpeakerEnrollmentJobsRequest) => any;
796
-
797
- export declare const SpeakerEnrollmentJobSummaryFilterSensitiveLog: (obj: SpeakerEnrollmentJobSummary) => any;
798
-
799
- export declare const ListSpeakerEnrollmentJobsResponseFilterSensitiveLog: (obj: ListSpeakerEnrollmentJobsResponse) => any;
800
-
801
- export declare const ListSpeakersRequestFilterSensitiveLog: (obj: ListSpeakersRequest) => any;
802
-
803
- export declare const SpeakerSummaryFilterSensitiveLog: (obj: SpeakerSummary) => any;
804
-
805
- export declare const ListSpeakersResponseFilterSensitiveLog: (obj: ListSpeakersResponse) => any;
806
-
807
- export declare const ListTagsForResourceRequestFilterSensitiveLog: (obj: ListTagsForResourceRequest) => any;
808
-
809
- export declare const ListTagsForResourceResponseFilterSensitiveLog: (obj: ListTagsForResourceResponse) => any;
810
-
811
- export declare const OptOutSpeakerRequestFilterSensitiveLog: (obj: OptOutSpeakerRequest) => any;
812
-
813
- export declare const OptOutSpeakerResponseFilterSensitiveLog: (obj: OptOutSpeakerResponse) => any;
814
-
815
- export declare const StartFraudsterRegistrationJobRequestFilterSensitiveLog: (obj: StartFraudsterRegistrationJobRequest) => any;
816
-
817
- export declare const StartFraudsterRegistrationJobResponseFilterSensitiveLog: (obj: StartFraudsterRegistrationJobResponse) => any;
818
-
819
- export declare const StartSpeakerEnrollmentJobRequestFilterSensitiveLog: (obj: StartSpeakerEnrollmentJobRequest) => any;
820
-
821
- export declare const StartSpeakerEnrollmentJobResponseFilterSensitiveLog: (obj: StartSpeakerEnrollmentJobResponse) => any;
822
-
823
- export declare const TagResourceRequestFilterSensitiveLog: (obj: TagResourceRequest) => any;
824
-
825
- export declare const TagResourceResponseFilterSensitiveLog: (obj: TagResourceResponse) => any;
826
-
827
- export declare const UntagResourceRequestFilterSensitiveLog: (obj: UntagResourceRequest) => any;
828
-
829
- export declare const UntagResourceResponseFilterSensitiveLog: (obj: UntagResourceResponse) => any;
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { VoiceIDServiceException as __BaseException } from "./VoiceIDServiceException";
3
+
4
+ export declare class AccessDeniedException extends __BaseException {
5
+ readonly name: "AccessDeniedException";
6
+ readonly $fault: "client";
7
+ Message?: string;
8
+
9
+ constructor(
10
+ opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
11
+ );
12
+ }
13
+
14
+ export interface AuthenticationConfiguration {
15
+ AcceptanceThreshold: number | undefined;
16
+ }
17
+ export declare enum AuthenticationDecision {
18
+ ACCEPT = "ACCEPT",
19
+ NOT_ENOUGH_SPEECH = "NOT_ENOUGH_SPEECH",
20
+ REJECT = "REJECT",
21
+ SPEAKER_EXPIRED = "SPEAKER_EXPIRED",
22
+ SPEAKER_ID_NOT_PROVIDED = "SPEAKER_ID_NOT_PROVIDED",
23
+ SPEAKER_NOT_ENROLLED = "SPEAKER_NOT_ENROLLED",
24
+ SPEAKER_OPTED_OUT = "SPEAKER_OPTED_OUT",
25
+ }
26
+
27
+ export interface AuthenticationResult {
28
+ AuthenticationResultId?: string;
29
+
30
+ AudioAggregationStartedAt?: Date;
31
+
32
+ AudioAggregationEndedAt?: Date;
33
+
34
+ CustomerSpeakerId?: string;
35
+
36
+ GeneratedSpeakerId?: string;
37
+
38
+ Decision?: AuthenticationDecision | string;
39
+
40
+ Score?: number;
41
+
42
+ Configuration?: AuthenticationConfiguration;
43
+ }
44
+ export declare enum ConflictType {
45
+ ANOTHER_ACTIVE_STREAM = "ANOTHER_ACTIVE_STREAM",
46
+ CANNOT_CHANGE_SPEAKER_AFTER_ENROLLMENT = "CANNOT_CHANGE_SPEAKER_AFTER_ENROLLMENT",
47
+ CONCURRENT_CHANGES = "CONCURRENT_CHANGES",
48
+ DOMAIN_LOCKED_FROM_ENCRYPTION_UPDATES = "DOMAIN_LOCKED_FROM_ENCRYPTION_UPDATES",
49
+ DOMAIN_NOT_ACTIVE = "DOMAIN_NOT_ACTIVE",
50
+ ENROLLMENT_ALREADY_EXISTS = "ENROLLMENT_ALREADY_EXISTS",
51
+ SPEAKER_NOT_SET = "SPEAKER_NOT_SET",
52
+ SPEAKER_OPTED_OUT = "SPEAKER_OPTED_OUT",
53
+ }
54
+
55
+ export declare class ConflictException extends __BaseException {
56
+ readonly name: "ConflictException";
57
+ readonly $fault: "client";
58
+ Message?: string;
59
+
60
+ ConflictType?: ConflictType | string;
61
+
62
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
63
+ }
64
+
65
+ export interface ServerSideEncryptionConfiguration {
66
+ KmsKeyId: string | undefined;
67
+ }
68
+
69
+ export interface Tag {
70
+ Key: string | undefined;
71
+
72
+ Value: string | undefined;
73
+ }
74
+ export interface CreateDomainRequest {
75
+ Name: string | undefined;
76
+
77
+ Description?: string;
78
+
79
+ ServerSideEncryptionConfiguration:
80
+ | ServerSideEncryptionConfiguration
81
+ | undefined;
82
+
83
+ ClientToken?: string;
84
+
85
+ Tags?: Tag[];
86
+ }
87
+ export declare enum DomainStatus {
88
+ ACTIVE = "ACTIVE",
89
+ PENDING = "PENDING",
90
+ SUSPENDED = "SUSPENDED",
91
+ }
92
+ export declare enum ServerSideEncryptionUpdateStatus {
93
+ COMPLETED = "COMPLETED",
94
+ FAILED = "FAILED",
95
+ IN_PROGRESS = "IN_PROGRESS",
96
+ }
97
+
98
+ export interface ServerSideEncryptionUpdateDetails {
99
+ OldKmsKeyId?: string;
100
+
101
+ UpdateStatus?: ServerSideEncryptionUpdateStatus | string;
102
+
103
+ Message?: string;
104
+ }
105
+
106
+ export interface Domain {
107
+ DomainId?: string;
108
+
109
+ Arn?: string;
110
+
111
+ Name?: string;
112
+
113
+ Description?: string;
114
+
115
+ DomainStatus?: DomainStatus | string;
116
+
117
+ ServerSideEncryptionConfiguration?: ServerSideEncryptionConfiguration;
118
+
119
+ CreatedAt?: Date;
120
+
121
+ UpdatedAt?: Date;
122
+
123
+ ServerSideEncryptionUpdateDetails?: ServerSideEncryptionUpdateDetails;
124
+ }
125
+ export interface CreateDomainResponse {
126
+ Domain?: Domain;
127
+ }
128
+
129
+ export declare class InternalServerException extends __BaseException {
130
+ readonly name: "InternalServerException";
131
+ readonly $fault: "server";
132
+ Message?: string;
133
+
134
+ constructor(
135
+ opts: __ExceptionOptionType<InternalServerException, __BaseException>
136
+ );
137
+ }
138
+ export declare enum ResourceType {
139
+ BATCH_JOB = "BATCH_JOB",
140
+ COMPLIANCE_CONSENT = "COMPLIANCE_CONSENT",
141
+ DOMAIN = "DOMAIN",
142
+ FRAUDSTER = "FRAUDSTER",
143
+ SESSION = "SESSION",
144
+ SPEAKER = "SPEAKER",
145
+ }
146
+
147
+ export declare class ResourceNotFoundException extends __BaseException {
148
+ readonly name: "ResourceNotFoundException";
149
+ readonly $fault: "client";
150
+ Message?: string;
151
+
152
+ ResourceType?: ResourceType | string;
153
+
154
+ constructor(
155
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
156
+ );
157
+ }
158
+
159
+ export declare class ServiceQuotaExceededException extends __BaseException {
160
+ readonly name: "ServiceQuotaExceededException";
161
+ readonly $fault: "client";
162
+ Message?: string;
163
+
164
+ constructor(
165
+ opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
166
+ );
167
+ }
168
+
169
+ export declare class ThrottlingException extends __BaseException {
170
+ readonly name: "ThrottlingException";
171
+ readonly $fault: "client";
172
+ Message?: string;
173
+
174
+ constructor(
175
+ opts: __ExceptionOptionType<ThrottlingException, __BaseException>
176
+ );
177
+ }
178
+
179
+ export declare class ValidationException extends __BaseException {
180
+ readonly name: "ValidationException";
181
+ readonly $fault: "client";
182
+ Message?: string;
183
+
184
+ constructor(
185
+ opts: __ExceptionOptionType<ValidationException, __BaseException>
186
+ );
187
+ }
188
+ export interface DeleteDomainRequest {
189
+ DomainId: string | undefined;
190
+ }
191
+ export interface DeleteFraudsterRequest {
192
+ DomainId: string | undefined;
193
+
194
+ FraudsterId: string | undefined;
195
+ }
196
+ export interface DeleteSpeakerRequest {
197
+ DomainId: string | undefined;
198
+
199
+ SpeakerId: string | undefined;
200
+ }
201
+ export interface DescribeDomainRequest {
202
+ DomainId: string | undefined;
203
+ }
204
+ export interface DescribeDomainResponse {
205
+ Domain?: Domain;
206
+ }
207
+ export interface DescribeFraudsterRequest {
208
+ DomainId: string | undefined;
209
+
210
+ FraudsterId: string | undefined;
211
+ }
212
+
213
+ export interface Fraudster {
214
+ DomainId?: string;
215
+
216
+ GeneratedFraudsterId?: string;
217
+
218
+ CreatedAt?: Date;
219
+ }
220
+ export interface DescribeFraudsterResponse {
221
+ Fraudster?: Fraudster;
222
+ }
223
+ export interface DescribeFraudsterRegistrationJobRequest {
224
+ DomainId: string | undefined;
225
+
226
+ JobId: string | undefined;
227
+ }
228
+
229
+ export interface FailureDetails {
230
+ StatusCode?: number;
231
+
232
+ Message?: string;
233
+ }
234
+
235
+ export interface InputDataConfig {
236
+ S3Uri: string | undefined;
237
+ }
238
+
239
+ export interface JobProgress {
240
+ PercentComplete?: number;
241
+ }
242
+ export declare enum FraudsterRegistrationJobStatus {
243
+ COMPLETED = "COMPLETED",
244
+ COMPLETED_WITH_ERRORS = "COMPLETED_WITH_ERRORS",
245
+ FAILED = "FAILED",
246
+ IN_PROGRESS = "IN_PROGRESS",
247
+ SUBMITTED = "SUBMITTED",
248
+ }
249
+
250
+ export interface OutputDataConfig {
251
+ S3Uri: string | undefined;
252
+
253
+ KmsKeyId?: string;
254
+ }
255
+ export declare enum DuplicateRegistrationAction {
256
+ REGISTER_AS_NEW = "REGISTER_AS_NEW",
257
+ SKIP = "SKIP",
258
+ }
259
+
260
+ export interface RegistrationConfig {
261
+ DuplicateRegistrationAction?: DuplicateRegistrationAction | string;
262
+
263
+ FraudsterSimilarityThreshold?: number;
264
+ }
265
+
266
+ export interface FraudsterRegistrationJob {
267
+ JobName?: string;
268
+
269
+ JobId?: string;
270
+
271
+ JobStatus?: FraudsterRegistrationJobStatus | string;
272
+
273
+ DomainId?: string;
274
+
275
+ DataAccessRoleArn?: string;
276
+
277
+ RegistrationConfig?: RegistrationConfig;
278
+
279
+ InputDataConfig?: InputDataConfig;
280
+
281
+ OutputDataConfig?: OutputDataConfig;
282
+
283
+ CreatedAt?: Date;
284
+
285
+ EndedAt?: Date;
286
+
287
+ FailureDetails?: FailureDetails;
288
+
289
+ JobProgress?: JobProgress;
290
+ }
291
+ export interface DescribeFraudsterRegistrationJobResponse {
292
+ Job?: FraudsterRegistrationJob;
293
+ }
294
+ export interface DescribeSpeakerRequest {
295
+ DomainId: string | undefined;
296
+
297
+ SpeakerId: string | undefined;
298
+ }
299
+ export declare enum SpeakerStatus {
300
+ ENROLLED = "ENROLLED",
301
+ EXPIRED = "EXPIRED",
302
+ OPTED_OUT = "OPTED_OUT",
303
+ PENDING = "PENDING",
304
+ }
305
+
306
+ export interface Speaker {
307
+ DomainId?: string;
308
+
309
+ CustomerSpeakerId?: string;
310
+
311
+ GeneratedSpeakerId?: string;
312
+
313
+ Status?: SpeakerStatus | string;
314
+
315
+ CreatedAt?: Date;
316
+
317
+ UpdatedAt?: Date;
318
+
319
+ LastAccessedAt?: Date;
320
+ }
321
+ export interface DescribeSpeakerResponse {
322
+ Speaker?: Speaker;
323
+ }
324
+ export interface DescribeSpeakerEnrollmentJobRequest {
325
+ DomainId: string | undefined;
326
+
327
+ JobId: string | undefined;
328
+ }
329
+ export declare enum ExistingEnrollmentAction {
330
+ OVERWRITE = "OVERWRITE",
331
+ SKIP = "SKIP",
332
+ }
333
+ export declare enum FraudDetectionAction {
334
+ FAIL = "FAIL",
335
+ IGNORE = "IGNORE",
336
+ }
337
+
338
+ export interface EnrollmentJobFraudDetectionConfig {
339
+ FraudDetectionAction?: FraudDetectionAction | string;
340
+
341
+ RiskThreshold?: number;
342
+ }
343
+
344
+ export interface EnrollmentConfig {
345
+ ExistingEnrollmentAction?: ExistingEnrollmentAction | string;
346
+
347
+ FraudDetectionConfig?: EnrollmentJobFraudDetectionConfig;
348
+ }
349
+ export declare enum SpeakerEnrollmentJobStatus {
350
+ COMPLETED = "COMPLETED",
351
+ COMPLETED_WITH_ERRORS = "COMPLETED_WITH_ERRORS",
352
+ FAILED = "FAILED",
353
+ IN_PROGRESS = "IN_PROGRESS",
354
+ SUBMITTED = "SUBMITTED",
355
+ }
356
+
357
+ export interface SpeakerEnrollmentJob {
358
+ JobName?: string;
359
+
360
+ JobId?: string;
361
+
362
+ JobStatus?: SpeakerEnrollmentJobStatus | string;
363
+
364
+ DomainId?: string;
365
+
366
+ DataAccessRoleArn?: string;
367
+
368
+ EnrollmentConfig?: EnrollmentConfig;
369
+
370
+ InputDataConfig?: InputDataConfig;
371
+
372
+ OutputDataConfig?: OutputDataConfig;
373
+
374
+ CreatedAt?: Date;
375
+
376
+ EndedAt?: Date;
377
+
378
+ FailureDetails?: FailureDetails;
379
+
380
+ JobProgress?: JobProgress;
381
+ }
382
+ export interface DescribeSpeakerEnrollmentJobResponse {
383
+ Job?: SpeakerEnrollmentJob;
384
+ }
385
+ export interface ListDomainsRequest {
386
+ MaxResults?: number;
387
+
388
+ NextToken?: string;
389
+ }
390
+
391
+ export interface DomainSummary {
392
+ DomainId?: string;
393
+
394
+ Arn?: string;
395
+
396
+ Name?: string;
397
+
398
+ Description?: string;
399
+
400
+ DomainStatus?: DomainStatus | string;
401
+
402
+ ServerSideEncryptionConfiguration?: ServerSideEncryptionConfiguration;
403
+
404
+ CreatedAt?: Date;
405
+
406
+ UpdatedAt?: Date;
407
+
408
+ ServerSideEncryptionUpdateDetails?: ServerSideEncryptionUpdateDetails;
409
+ }
410
+ export interface ListDomainsResponse {
411
+ DomainSummaries?: DomainSummary[];
412
+
413
+ NextToken?: string;
414
+ }
415
+ export interface UpdateDomainRequest {
416
+ DomainId: string | undefined;
417
+
418
+ Name: string | undefined;
419
+
420
+ Description?: string;
421
+
422
+ ServerSideEncryptionConfiguration:
423
+ | ServerSideEncryptionConfiguration
424
+ | undefined;
425
+ }
426
+ export interface UpdateDomainResponse {
427
+ Domain?: Domain;
428
+ }
429
+ export interface EvaluateSessionRequest {
430
+ DomainId: string | undefined;
431
+
432
+ SessionNameOrId: string | undefined;
433
+ }
434
+
435
+ export interface FraudDetectionConfiguration {
436
+ RiskThreshold: number | undefined;
437
+ }
438
+ export declare enum FraudDetectionDecision {
439
+ HIGH_RISK = "HIGH_RISK",
440
+ LOW_RISK = "LOW_RISK",
441
+ NOT_ENOUGH_SPEECH = "NOT_ENOUGH_SPEECH",
442
+ }
443
+ export declare enum FraudDetectionReason {
444
+ KNOWN_FRAUDSTER = "KNOWN_FRAUDSTER",
445
+ VOICE_SPOOFING = "VOICE_SPOOFING",
446
+ }
447
+
448
+ export interface KnownFraudsterRisk {
449
+ RiskScore: number | undefined;
450
+
451
+ GeneratedFraudsterId?: string;
452
+ }
453
+
454
+ export interface VoiceSpoofingRisk {
455
+ RiskScore: number | undefined;
456
+ }
457
+
458
+ export interface FraudRiskDetails {
459
+ KnownFraudsterRisk: KnownFraudsterRisk | undefined;
460
+
461
+ VoiceSpoofingRisk: VoiceSpoofingRisk | undefined;
462
+ }
463
+
464
+ export interface FraudDetectionResult {
465
+ FraudDetectionResultId?: string;
466
+
467
+ AudioAggregationStartedAt?: Date;
468
+
469
+ AudioAggregationEndedAt?: Date;
470
+
471
+ Configuration?: FraudDetectionConfiguration;
472
+
473
+ Decision?: FraudDetectionDecision | string;
474
+
475
+ Reasons?: (FraudDetectionReason | string)[];
476
+
477
+ RiskDetails?: FraudRiskDetails;
478
+ }
479
+ export declare enum StreamingStatus {
480
+ ENDED = "ENDED",
481
+ ONGOING = "ONGOING",
482
+ PENDING_CONFIGURATION = "PENDING_CONFIGURATION",
483
+ }
484
+ export interface EvaluateSessionResponse {
485
+ DomainId?: string;
486
+
487
+ SessionId?: string;
488
+
489
+ SessionName?: string;
490
+
491
+ StreamingStatus?: StreamingStatus | string;
492
+
493
+ AuthenticationResult?: AuthenticationResult;
494
+
495
+ FraudDetectionResult?: FraudDetectionResult;
496
+ }
497
+
498
+ export interface FraudsterRegistrationJobSummary {
499
+ JobName?: string;
500
+
501
+ JobId?: string;
502
+
503
+ JobStatus?: FraudsterRegistrationJobStatus | string;
504
+
505
+ DomainId?: string;
506
+
507
+ CreatedAt?: Date;
508
+
509
+ EndedAt?: Date;
510
+
511
+ FailureDetails?: FailureDetails;
512
+
513
+ JobProgress?: JobProgress;
514
+ }
515
+ export interface ListFraudsterRegistrationJobsRequest {
516
+ DomainId: string | undefined;
517
+
518
+ JobStatus?: FraudsterRegistrationJobStatus | string;
519
+
520
+ MaxResults?: number;
521
+
522
+ NextToken?: string;
523
+ }
524
+ export interface ListFraudsterRegistrationJobsResponse {
525
+ JobSummaries?: FraudsterRegistrationJobSummary[];
526
+
527
+ NextToken?: string;
528
+ }
529
+ export interface ListSpeakerEnrollmentJobsRequest {
530
+ DomainId: string | undefined;
531
+
532
+ JobStatus?: SpeakerEnrollmentJobStatus | string;
533
+
534
+ MaxResults?: number;
535
+
536
+ NextToken?: string;
537
+ }
538
+
539
+ export interface SpeakerEnrollmentJobSummary {
540
+ JobName?: string;
541
+
542
+ JobId?: string;
543
+
544
+ JobStatus?: SpeakerEnrollmentJobStatus | string;
545
+
546
+ DomainId?: string;
547
+
548
+ CreatedAt?: Date;
549
+
550
+ EndedAt?: Date;
551
+
552
+ FailureDetails?: FailureDetails;
553
+
554
+ JobProgress?: JobProgress;
555
+ }
556
+ export interface ListSpeakerEnrollmentJobsResponse {
557
+ JobSummaries?: SpeakerEnrollmentJobSummary[];
558
+
559
+ NextToken?: string;
560
+ }
561
+ export interface ListSpeakersRequest {
562
+ DomainId: string | undefined;
563
+
564
+ MaxResults?: number;
565
+
566
+ NextToken?: string;
567
+ }
568
+
569
+ export interface SpeakerSummary {
570
+ DomainId?: string;
571
+
572
+ CustomerSpeakerId?: string;
573
+
574
+ GeneratedSpeakerId?: string;
575
+
576
+ Status?: SpeakerStatus | string;
577
+
578
+ CreatedAt?: Date;
579
+
580
+ UpdatedAt?: Date;
581
+
582
+ LastAccessedAt?: Date;
583
+ }
584
+ export interface ListSpeakersResponse {
585
+ SpeakerSummaries?: SpeakerSummary[];
586
+
587
+ NextToken?: string;
588
+ }
589
+ export interface ListTagsForResourceRequest {
590
+ ResourceArn: string | undefined;
591
+ }
592
+ export interface ListTagsForResourceResponse {
593
+ Tags?: Tag[];
594
+ }
595
+ export interface OptOutSpeakerRequest {
596
+ DomainId: string | undefined;
597
+
598
+ SpeakerId: string | undefined;
599
+ }
600
+ export interface OptOutSpeakerResponse {
601
+ Speaker?: Speaker;
602
+ }
603
+ export interface StartFraudsterRegistrationJobRequest {
604
+ ClientToken?: string;
605
+
606
+ JobName?: string;
607
+
608
+ DomainId: string | undefined;
609
+
610
+ DataAccessRoleArn: string | undefined;
611
+
612
+ RegistrationConfig?: RegistrationConfig;
613
+
614
+ InputDataConfig: InputDataConfig | undefined;
615
+
616
+ OutputDataConfig: OutputDataConfig | undefined;
617
+ }
618
+ export interface StartFraudsterRegistrationJobResponse {
619
+ Job?: FraudsterRegistrationJob;
620
+ }
621
+ export interface StartSpeakerEnrollmentJobRequest {
622
+ ClientToken?: string;
623
+
624
+ JobName?: string;
625
+
626
+ DomainId: string | undefined;
627
+
628
+ DataAccessRoleArn: string | undefined;
629
+
630
+ EnrollmentConfig?: EnrollmentConfig;
631
+
632
+ InputDataConfig: InputDataConfig | undefined;
633
+
634
+ OutputDataConfig: OutputDataConfig | undefined;
635
+ }
636
+ export interface StartSpeakerEnrollmentJobResponse {
637
+ Job?: SpeakerEnrollmentJob;
638
+ }
639
+ export interface TagResourceRequest {
640
+ ResourceArn: string | undefined;
641
+
642
+ Tags: Tag[] | undefined;
643
+ }
644
+ export interface TagResourceResponse {}
645
+ export interface UntagResourceRequest {
646
+ ResourceArn: string | undefined;
647
+
648
+ TagKeys: string[] | undefined;
649
+ }
650
+ export interface UntagResourceResponse {}
651
+
652
+ export declare const AuthenticationConfigurationFilterSensitiveLog: (
653
+ obj: AuthenticationConfiguration
654
+ ) => any;
655
+
656
+ export declare const AuthenticationResultFilterSensitiveLog: (
657
+ obj: AuthenticationResult
658
+ ) => any;
659
+
660
+ export declare const ServerSideEncryptionConfigurationFilterSensitiveLog: (
661
+ obj: ServerSideEncryptionConfiguration
662
+ ) => any;
663
+
664
+ export declare const TagFilterSensitiveLog: (obj: Tag) => any;
665
+
666
+ export declare const CreateDomainRequestFilterSensitiveLog: (
667
+ obj: CreateDomainRequest
668
+ ) => any;
669
+
670
+ export declare const ServerSideEncryptionUpdateDetailsFilterSensitiveLog: (
671
+ obj: ServerSideEncryptionUpdateDetails
672
+ ) => any;
673
+
674
+ export declare const DomainFilterSensitiveLog: (obj: Domain) => any;
675
+
676
+ export declare const CreateDomainResponseFilterSensitiveLog: (
677
+ obj: CreateDomainResponse
678
+ ) => any;
679
+
680
+ export declare const DeleteDomainRequestFilterSensitiveLog: (
681
+ obj: DeleteDomainRequest
682
+ ) => any;
683
+
684
+ export declare const DeleteFraudsterRequestFilterSensitiveLog: (
685
+ obj: DeleteFraudsterRequest
686
+ ) => any;
687
+
688
+ export declare const DeleteSpeakerRequestFilterSensitiveLog: (
689
+ obj: DeleteSpeakerRequest
690
+ ) => any;
691
+
692
+ export declare const DescribeDomainRequestFilterSensitiveLog: (
693
+ obj: DescribeDomainRequest
694
+ ) => any;
695
+
696
+ export declare const DescribeDomainResponseFilterSensitiveLog: (
697
+ obj: DescribeDomainResponse
698
+ ) => any;
699
+
700
+ export declare const DescribeFraudsterRequestFilterSensitiveLog: (
701
+ obj: DescribeFraudsterRequest
702
+ ) => any;
703
+
704
+ export declare const FraudsterFilterSensitiveLog: (obj: Fraudster) => any;
705
+
706
+ export declare const DescribeFraudsterResponseFilterSensitiveLog: (
707
+ obj: DescribeFraudsterResponse
708
+ ) => any;
709
+
710
+ export declare const DescribeFraudsterRegistrationJobRequestFilterSensitiveLog: (
711
+ obj: DescribeFraudsterRegistrationJobRequest
712
+ ) => any;
713
+
714
+ export declare const FailureDetailsFilterSensitiveLog: (
715
+ obj: FailureDetails
716
+ ) => any;
717
+
718
+ export declare const InputDataConfigFilterSensitiveLog: (
719
+ obj: InputDataConfig
720
+ ) => any;
721
+
722
+ export declare const JobProgressFilterSensitiveLog: (obj: JobProgress) => any;
723
+
724
+ export declare const OutputDataConfigFilterSensitiveLog: (
725
+ obj: OutputDataConfig
726
+ ) => any;
727
+
728
+ export declare const RegistrationConfigFilterSensitiveLog: (
729
+ obj: RegistrationConfig
730
+ ) => any;
731
+
732
+ export declare const FraudsterRegistrationJobFilterSensitiveLog: (
733
+ obj: FraudsterRegistrationJob
734
+ ) => any;
735
+
736
+ export declare const DescribeFraudsterRegistrationJobResponseFilterSensitiveLog: (
737
+ obj: DescribeFraudsterRegistrationJobResponse
738
+ ) => any;
739
+
740
+ export declare const DescribeSpeakerRequestFilterSensitiveLog: (
741
+ obj: DescribeSpeakerRequest
742
+ ) => any;
743
+
744
+ export declare const SpeakerFilterSensitiveLog: (obj: Speaker) => any;
745
+
746
+ export declare const DescribeSpeakerResponseFilterSensitiveLog: (
747
+ obj: DescribeSpeakerResponse
748
+ ) => any;
749
+
750
+ export declare const DescribeSpeakerEnrollmentJobRequestFilterSensitiveLog: (
751
+ obj: DescribeSpeakerEnrollmentJobRequest
752
+ ) => any;
753
+
754
+ export declare const EnrollmentJobFraudDetectionConfigFilterSensitiveLog: (
755
+ obj: EnrollmentJobFraudDetectionConfig
756
+ ) => any;
757
+
758
+ export declare const EnrollmentConfigFilterSensitiveLog: (
759
+ obj: EnrollmentConfig
760
+ ) => any;
761
+
762
+ export declare const SpeakerEnrollmentJobFilterSensitiveLog: (
763
+ obj: SpeakerEnrollmentJob
764
+ ) => any;
765
+
766
+ export declare const DescribeSpeakerEnrollmentJobResponseFilterSensitiveLog: (
767
+ obj: DescribeSpeakerEnrollmentJobResponse
768
+ ) => any;
769
+
770
+ export declare const ListDomainsRequestFilterSensitiveLog: (
771
+ obj: ListDomainsRequest
772
+ ) => any;
773
+
774
+ export declare const DomainSummaryFilterSensitiveLog: (
775
+ obj: DomainSummary
776
+ ) => any;
777
+
778
+ export declare const ListDomainsResponseFilterSensitiveLog: (
779
+ obj: ListDomainsResponse
780
+ ) => any;
781
+
782
+ export declare const UpdateDomainRequestFilterSensitiveLog: (
783
+ obj: UpdateDomainRequest
784
+ ) => any;
785
+
786
+ export declare const UpdateDomainResponseFilterSensitiveLog: (
787
+ obj: UpdateDomainResponse
788
+ ) => any;
789
+
790
+ export declare const EvaluateSessionRequestFilterSensitiveLog: (
791
+ obj: EvaluateSessionRequest
792
+ ) => any;
793
+
794
+ export declare const FraudDetectionConfigurationFilterSensitiveLog: (
795
+ obj: FraudDetectionConfiguration
796
+ ) => any;
797
+
798
+ export declare const KnownFraudsterRiskFilterSensitiveLog: (
799
+ obj: KnownFraudsterRisk
800
+ ) => any;
801
+
802
+ export declare const VoiceSpoofingRiskFilterSensitiveLog: (
803
+ obj: VoiceSpoofingRisk
804
+ ) => any;
805
+
806
+ export declare const FraudRiskDetailsFilterSensitiveLog: (
807
+ obj: FraudRiskDetails
808
+ ) => any;
809
+
810
+ export declare const FraudDetectionResultFilterSensitiveLog: (
811
+ obj: FraudDetectionResult
812
+ ) => any;
813
+
814
+ export declare const EvaluateSessionResponseFilterSensitiveLog: (
815
+ obj: EvaluateSessionResponse
816
+ ) => any;
817
+
818
+ export declare const FraudsterRegistrationJobSummaryFilterSensitiveLog: (
819
+ obj: FraudsterRegistrationJobSummary
820
+ ) => any;
821
+
822
+ export declare const ListFraudsterRegistrationJobsRequestFilterSensitiveLog: (
823
+ obj: ListFraudsterRegistrationJobsRequest
824
+ ) => any;
825
+
826
+ export declare const ListFraudsterRegistrationJobsResponseFilterSensitiveLog: (
827
+ obj: ListFraudsterRegistrationJobsResponse
828
+ ) => any;
829
+
830
+ export declare const ListSpeakerEnrollmentJobsRequestFilterSensitiveLog: (
831
+ obj: ListSpeakerEnrollmentJobsRequest
832
+ ) => any;
833
+
834
+ export declare const SpeakerEnrollmentJobSummaryFilterSensitiveLog: (
835
+ obj: SpeakerEnrollmentJobSummary
836
+ ) => any;
837
+
838
+ export declare const ListSpeakerEnrollmentJobsResponseFilterSensitiveLog: (
839
+ obj: ListSpeakerEnrollmentJobsResponse
840
+ ) => any;
841
+
842
+ export declare const ListSpeakersRequestFilterSensitiveLog: (
843
+ obj: ListSpeakersRequest
844
+ ) => any;
845
+
846
+ export declare const SpeakerSummaryFilterSensitiveLog: (
847
+ obj: SpeakerSummary
848
+ ) => any;
849
+
850
+ export declare const ListSpeakersResponseFilterSensitiveLog: (
851
+ obj: ListSpeakersResponse
852
+ ) => any;
853
+
854
+ export declare const ListTagsForResourceRequestFilterSensitiveLog: (
855
+ obj: ListTagsForResourceRequest
856
+ ) => any;
857
+
858
+ export declare const ListTagsForResourceResponseFilterSensitiveLog: (
859
+ obj: ListTagsForResourceResponse
860
+ ) => any;
861
+
862
+ export declare const OptOutSpeakerRequestFilterSensitiveLog: (
863
+ obj: OptOutSpeakerRequest
864
+ ) => any;
865
+
866
+ export declare const OptOutSpeakerResponseFilterSensitiveLog: (
867
+ obj: OptOutSpeakerResponse
868
+ ) => any;
869
+
870
+ export declare const StartFraudsterRegistrationJobRequestFilterSensitiveLog: (
871
+ obj: StartFraudsterRegistrationJobRequest
872
+ ) => any;
873
+
874
+ export declare const StartFraudsterRegistrationJobResponseFilterSensitiveLog: (
875
+ obj: StartFraudsterRegistrationJobResponse
876
+ ) => any;
877
+
878
+ export declare const StartSpeakerEnrollmentJobRequestFilterSensitiveLog: (
879
+ obj: StartSpeakerEnrollmentJobRequest
880
+ ) => any;
881
+
882
+ export declare const StartSpeakerEnrollmentJobResponseFilterSensitiveLog: (
883
+ obj: StartSpeakerEnrollmentJobResponse
884
+ ) => any;
885
+
886
+ export declare const TagResourceRequestFilterSensitiveLog: (
887
+ obj: TagResourceRequest
888
+ ) => any;
889
+
890
+ export declare const TagResourceResponseFilterSensitiveLog: (
891
+ obj: TagResourceResponse
892
+ ) => any;
893
+
894
+ export declare const UntagResourceRequestFilterSensitiveLog: (
895
+ obj: UntagResourceRequest
896
+ ) => any;
897
+
898
+ export declare const UntagResourceResponseFilterSensitiveLog: (
899
+ obj: UntagResourceResponse
900
+ ) => any;