@aws-sdk/client-voice-id 3.300.0 → 3.303.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 (34) hide show
  1. package/dist-cjs/models/models_0.js +86 -100
  2. package/dist-es/models/models_0.js +86 -100
  3. package/dist-types/commands/AssociateFraudsterCommand.d.ts +1 -1
  4. package/dist-types/commands/CreateDomainCommand.d.ts +4 -4
  5. package/dist-types/commands/CreateWatchlistCommand.d.ts +1 -1
  6. package/dist-types/commands/DeleteDomainCommand.d.ts +1 -1
  7. package/dist-types/commands/DeleteFraudsterCommand.d.ts +1 -1
  8. package/dist-types/commands/DeleteSpeakerCommand.d.ts +1 -1
  9. package/dist-types/commands/DeleteWatchlistCommand.d.ts +1 -1
  10. package/dist-types/commands/DescribeDomainCommand.d.ts +1 -1
  11. package/dist-types/commands/DescribeFraudsterCommand.d.ts +1 -1
  12. package/dist-types/commands/DescribeFraudsterRegistrationJobCommand.d.ts +1 -1
  13. package/dist-types/commands/DescribeSpeakerCommand.d.ts +1 -1
  14. package/dist-types/commands/DescribeSpeakerEnrollmentJobCommand.d.ts +1 -1
  15. package/dist-types/commands/DescribeWatchlistCommand.d.ts +1 -1
  16. package/dist-types/commands/DisassociateFraudsterCommand.d.ts +1 -1
  17. package/dist-types/commands/EvaluateSessionCommand.d.ts +1 -1
  18. package/dist-types/commands/ListDomainsCommand.d.ts +1 -1
  19. package/dist-types/commands/ListFraudsterRegistrationJobsCommand.d.ts +1 -1
  20. package/dist-types/commands/ListFraudstersCommand.d.ts +1 -1
  21. package/dist-types/commands/ListSpeakerEnrollmentJobsCommand.d.ts +1 -1
  22. package/dist-types/commands/ListSpeakersCommand.d.ts +1 -1
  23. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  24. package/dist-types/commands/ListWatchlistsCommand.d.ts +1 -1
  25. package/dist-types/commands/OptOutSpeakerCommand.d.ts +1 -1
  26. package/dist-types/commands/StartFraudsterRegistrationJobCommand.d.ts +5 -5
  27. package/dist-types/commands/StartSpeakerEnrollmentJobCommand.d.ts +6 -6
  28. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  29. package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
  30. package/dist-types/commands/UpdateDomainCommand.d.ts +2 -2
  31. package/dist-types/commands/UpdateWatchlistCommand.d.ts +1 -1
  32. package/dist-types/models/models_0.d.ts +156 -86
  33. package/dist-types/ts3.4/models/models_0.d.ts +110 -86
  34. package/package.json +34 -34
@@ -28,7 +28,7 @@ export interface ListSpeakerEnrollmentJobsCommandOutput extends ListSpeakerEnrol
28
28
  * import { VoiceIDClient, ListSpeakerEnrollmentJobsCommand } from "@aws-sdk/client-voice-id"; // ES Modules import
29
29
  * // const { VoiceIDClient, ListSpeakerEnrollmentJobsCommand } = require("@aws-sdk/client-voice-id"); // CommonJS import
30
30
  * const client = new VoiceIDClient(config);
31
- * const input = {
31
+ * const input = { // ListSpeakerEnrollmentJobsRequest
32
32
  * DomainId: "STRING_VALUE", // required
33
33
  * JobStatus: "STRING_VALUE",
34
34
  * MaxResults: Number("int"),
@@ -26,7 +26,7 @@ export interface ListSpeakersCommandOutput extends ListSpeakersResponse, __Metad
26
26
  * import { VoiceIDClient, ListSpeakersCommand } from "@aws-sdk/client-voice-id"; // ES Modules import
27
27
  * // const { VoiceIDClient, ListSpeakersCommand } = require("@aws-sdk/client-voice-id"); // CommonJS import
28
28
  * const client = new VoiceIDClient(config);
29
- * const input = {
29
+ * const input = { // ListSpeakersRequest
30
30
  * DomainId: "STRING_VALUE", // required
31
31
  * MaxResults: Number("int"),
32
32
  * NextToken: "STRING_VALUE",
@@ -26,7 +26,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
26
26
  * import { VoiceIDClient, ListTagsForResourceCommand } from "@aws-sdk/client-voice-id"; // ES Modules import
27
27
  * // const { VoiceIDClient, ListTagsForResourceCommand } = require("@aws-sdk/client-voice-id"); // CommonJS import
28
28
  * const client = new VoiceIDClient(config);
29
- * const input = {
29
+ * const input = { // ListTagsForResourceRequest
30
30
  * ResourceArn: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new ListTagsForResourceCommand(input);
@@ -26,7 +26,7 @@ export interface ListWatchlistsCommandOutput extends ListWatchlistsResponse, __M
26
26
  * import { VoiceIDClient, ListWatchlistsCommand } from "@aws-sdk/client-voice-id"; // ES Modules import
27
27
  * // const { VoiceIDClient, ListWatchlistsCommand } = require("@aws-sdk/client-voice-id"); // CommonJS import
28
28
  * const client = new VoiceIDClient(config);
29
- * const input = {
29
+ * const input = { // ListWatchlistsRequest
30
30
  * DomainId: "STRING_VALUE", // required
31
31
  * MaxResults: Number("int"),
32
32
  * NextToken: "STRING_VALUE",
@@ -31,7 +31,7 @@ export interface OptOutSpeakerCommandOutput extends OptOutSpeakerResponse, __Met
31
31
  * import { VoiceIDClient, OptOutSpeakerCommand } from "@aws-sdk/client-voice-id"; // ES Modules import
32
32
  * // const { VoiceIDClient, OptOutSpeakerCommand } = require("@aws-sdk/client-voice-id"); // CommonJS import
33
33
  * const client = new VoiceIDClient(config);
34
- * const input = {
34
+ * const input = { // OptOutSpeakerRequest
35
35
  * DomainId: "STRING_VALUE", // required
36
36
  * SpeakerId: "STRING_VALUE", // required
37
37
  * };
@@ -26,22 +26,22 @@ export interface StartFraudsterRegistrationJobCommandOutput extends StartFraudst
26
26
  * import { VoiceIDClient, StartFraudsterRegistrationJobCommand } from "@aws-sdk/client-voice-id"; // ES Modules import
27
27
  * // const { VoiceIDClient, StartFraudsterRegistrationJobCommand } = require("@aws-sdk/client-voice-id"); // CommonJS import
28
28
  * const client = new VoiceIDClient(config);
29
- * const input = {
29
+ * const input = { // StartFraudsterRegistrationJobRequest
30
30
  * ClientToken: "STRING_VALUE",
31
31
  * JobName: "STRING_VALUE",
32
32
  * DomainId: "STRING_VALUE", // required
33
33
  * DataAccessRoleArn: "STRING_VALUE", // required
34
- * RegistrationConfig: {
34
+ * RegistrationConfig: { // RegistrationConfig
35
35
  * DuplicateRegistrationAction: "STRING_VALUE",
36
36
  * FraudsterSimilarityThreshold: Number("int"),
37
- * WatchlistIds: [
37
+ * WatchlistIds: [ // RegistrationConfigWatchlistIds
38
38
  * "STRING_VALUE",
39
39
  * ],
40
40
  * },
41
- * InputDataConfig: {
41
+ * InputDataConfig: { // InputDataConfig
42
42
  * S3Uri: "STRING_VALUE", // required
43
43
  * },
44
- * OutputDataConfig: {
44
+ * OutputDataConfig: { // OutputDataConfig
45
45
  * S3Uri: "STRING_VALUE", // required
46
46
  * KmsKeyId: "STRING_VALUE",
47
47
  * },
@@ -26,25 +26,25 @@ export interface StartSpeakerEnrollmentJobCommandOutput extends StartSpeakerEnro
26
26
  * import { VoiceIDClient, StartSpeakerEnrollmentJobCommand } from "@aws-sdk/client-voice-id"; // ES Modules import
27
27
  * // const { VoiceIDClient, StartSpeakerEnrollmentJobCommand } = require("@aws-sdk/client-voice-id"); // CommonJS import
28
28
  * const client = new VoiceIDClient(config);
29
- * const input = {
29
+ * const input = { // StartSpeakerEnrollmentJobRequest
30
30
  * ClientToken: "STRING_VALUE",
31
31
  * JobName: "STRING_VALUE",
32
32
  * DomainId: "STRING_VALUE", // required
33
33
  * DataAccessRoleArn: "STRING_VALUE", // required
34
- * EnrollmentConfig: {
34
+ * EnrollmentConfig: { // EnrollmentConfig
35
35
  * ExistingEnrollmentAction: "STRING_VALUE",
36
- * FraudDetectionConfig: {
36
+ * FraudDetectionConfig: { // EnrollmentJobFraudDetectionConfig
37
37
  * FraudDetectionAction: "STRING_VALUE",
38
38
  * RiskThreshold: Number("int"),
39
- * WatchlistIds: [
39
+ * WatchlistIds: [ // EnrollmentJobFraudDetectionConfigWatchlistIds
40
40
  * "STRING_VALUE",
41
41
  * ],
42
42
  * },
43
43
  * },
44
- * InputDataConfig: {
44
+ * InputDataConfig: { // InputDataConfig
45
45
  * S3Uri: "STRING_VALUE", // required
46
46
  * },
47
- * OutputDataConfig: {
47
+ * OutputDataConfig: { // OutputDataConfig
48
48
  * S3Uri: "STRING_VALUE", // required
49
49
  * KmsKeyId: "STRING_VALUE",
50
50
  * },
@@ -26,10 +26,10 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
26
26
  * import { VoiceIDClient, TagResourceCommand } from "@aws-sdk/client-voice-id"; // ES Modules import
27
27
  * // const { VoiceIDClient, TagResourceCommand } = require("@aws-sdk/client-voice-id"); // CommonJS import
28
28
  * const client = new VoiceIDClient(config);
29
- * const input = {
29
+ * const input = { // TagResourceRequest
30
30
  * ResourceArn: "STRING_VALUE", // required
31
- * Tags: [ // required
32
- * {
31
+ * Tags: [ // TagList // required
32
+ * { // Tag
33
33
  * Key: "STRING_VALUE", // required
34
34
  * Value: "STRING_VALUE", // required
35
35
  * },
@@ -26,9 +26,9 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
26
26
  * import { VoiceIDClient, UntagResourceCommand } from "@aws-sdk/client-voice-id"; // ES Modules import
27
27
  * // const { VoiceIDClient, UntagResourceCommand } = require("@aws-sdk/client-voice-id"); // CommonJS import
28
28
  * const client = new VoiceIDClient(config);
29
- * const input = {
29
+ * const input = { // UntagResourceRequest
30
30
  * ResourceArn: "STRING_VALUE", // required
31
- * TagKeys: [ // required
31
+ * TagKeys: [ // TagKeyList // required
32
32
  * "STRING_VALUE",
33
33
  * ],
34
34
  * };
@@ -28,11 +28,11 @@ export interface UpdateDomainCommandOutput extends UpdateDomainResponse, __Metad
28
28
  * import { VoiceIDClient, UpdateDomainCommand } from "@aws-sdk/client-voice-id"; // ES Modules import
29
29
  * // const { VoiceIDClient, UpdateDomainCommand } = require("@aws-sdk/client-voice-id"); // CommonJS import
30
30
  * const client = new VoiceIDClient(config);
31
- * const input = {
31
+ * const input = { // UpdateDomainRequest
32
32
  * DomainId: "STRING_VALUE", // required
33
33
  * Name: "STRING_VALUE", // required
34
34
  * Description: "STRING_VALUE",
35
- * ServerSideEncryptionConfiguration: {
35
+ * ServerSideEncryptionConfiguration: { // ServerSideEncryptionConfiguration
36
36
  * KmsKeyId: "STRING_VALUE", // required
37
37
  * },
38
38
  * };
@@ -27,7 +27,7 @@ export interface UpdateWatchlistCommandOutput extends UpdateWatchlistResponse, _
27
27
  * import { VoiceIDClient, UpdateWatchlistCommand } from "@aws-sdk/client-voice-id"; // ES Modules import
28
28
  * // const { VoiceIDClient, UpdateWatchlistCommand } = require("@aws-sdk/client-voice-id"); // CommonJS import
29
29
  * const client = new VoiceIDClient(config);
30
- * const input = {
30
+ * const input = { // UpdateWatchlistRequest
31
31
  * DomainId: "STRING_VALUE", // required
32
32
  * WatchlistId: "STRING_VALUE", // required
33
33
  * Name: "STRING_VALUE",
@@ -64,19 +64,24 @@ export interface AssociateFraudsterResponse {
64
64
  }
65
65
  /**
66
66
  * @public
67
+ * @enum
67
68
  */
68
- export declare enum ConflictType {
69
- ANOTHER_ACTIVE_STREAM = "ANOTHER_ACTIVE_STREAM",
70
- CANNOT_CHANGE_SPEAKER_AFTER_ENROLLMENT = "CANNOT_CHANGE_SPEAKER_AFTER_ENROLLMENT",
71
- CANNOT_DELETE_NON_EMPTY_WATCHLIST = "CANNOT_DELETE_NON_EMPTY_WATCHLIST",
72
- CONCURRENT_CHANGES = "CONCURRENT_CHANGES",
73
- DOMAIN_LOCKED_FROM_ENCRYPTION_UPDATES = "DOMAIN_LOCKED_FROM_ENCRYPTION_UPDATES",
74
- DOMAIN_NOT_ACTIVE = "DOMAIN_NOT_ACTIVE",
75
- ENROLLMENT_ALREADY_EXISTS = "ENROLLMENT_ALREADY_EXISTS",
76
- FRAUDSTER_MUST_BELONG_TO_AT_LEAST_ONE_WATCHLIST = "FRAUDSTER_MUST_BELONG_TO_AT_LEAST_ONE_WATCHLIST",
77
- SPEAKER_NOT_SET = "SPEAKER_NOT_SET",
78
- SPEAKER_OPTED_OUT = "SPEAKER_OPTED_OUT"
79
- }
69
+ export declare const ConflictType: {
70
+ readonly ANOTHER_ACTIVE_STREAM: "ANOTHER_ACTIVE_STREAM";
71
+ readonly CANNOT_CHANGE_SPEAKER_AFTER_ENROLLMENT: "CANNOT_CHANGE_SPEAKER_AFTER_ENROLLMENT";
72
+ readonly CANNOT_DELETE_NON_EMPTY_WATCHLIST: "CANNOT_DELETE_NON_EMPTY_WATCHLIST";
73
+ readonly CONCURRENT_CHANGES: "CONCURRENT_CHANGES";
74
+ readonly DOMAIN_LOCKED_FROM_ENCRYPTION_UPDATES: "DOMAIN_LOCKED_FROM_ENCRYPTION_UPDATES";
75
+ readonly DOMAIN_NOT_ACTIVE: "DOMAIN_NOT_ACTIVE";
76
+ readonly ENROLLMENT_ALREADY_EXISTS: "ENROLLMENT_ALREADY_EXISTS";
77
+ readonly FRAUDSTER_MUST_BELONG_TO_AT_LEAST_ONE_WATCHLIST: "FRAUDSTER_MUST_BELONG_TO_AT_LEAST_ONE_WATCHLIST";
78
+ readonly SPEAKER_NOT_SET: "SPEAKER_NOT_SET";
79
+ readonly SPEAKER_OPTED_OUT: "SPEAKER_OPTED_OUT";
80
+ };
81
+ /**
82
+ * @public
83
+ */
84
+ export type ConflictType = (typeof ConflictType)[keyof typeof ConflictType];
80
85
  /**
81
86
  * @public
82
87
  * <p>The request failed due to a conflict. Check the <code>ConflictType</code> and error
@@ -142,16 +147,21 @@ export declare class InternalServerException extends __BaseException {
142
147
  }
143
148
  /**
144
149
  * @public
150
+ * @enum
145
151
  */
146
- export declare enum ResourceType {
147
- BATCH_JOB = "BATCH_JOB",
148
- COMPLIANCE_CONSENT = "COMPLIANCE_CONSENT",
149
- DOMAIN = "DOMAIN",
150
- FRAUDSTER = "FRAUDSTER",
151
- SESSION = "SESSION",
152
- SPEAKER = "SPEAKER",
153
- WATCHLIST = "WATCHLIST"
154
- }
152
+ export declare const ResourceType: {
153
+ readonly BATCH_JOB: "BATCH_JOB";
154
+ readonly COMPLIANCE_CONSENT: "COMPLIANCE_CONSENT";
155
+ readonly DOMAIN: "DOMAIN";
156
+ readonly FRAUDSTER: "FRAUDSTER";
157
+ readonly SESSION: "SESSION";
158
+ readonly SPEAKER: "SPEAKER";
159
+ readonly WATCHLIST: "WATCHLIST";
160
+ };
161
+ /**
162
+ * @public
163
+ */
164
+ export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
155
165
  /**
156
166
  * @public
157
167
  * <p>The specified resource cannot be found. Check the <code>ResourceType</code> and error
@@ -227,16 +237,21 @@ export interface AuthenticationConfiguration {
227
237
  }
228
238
  /**
229
239
  * @public
240
+ * @enum
230
241
  */
231
- export declare enum AuthenticationDecision {
232
- ACCEPT = "ACCEPT",
233
- NOT_ENOUGH_SPEECH = "NOT_ENOUGH_SPEECH",
234
- REJECT = "REJECT",
235
- SPEAKER_EXPIRED = "SPEAKER_EXPIRED",
236
- SPEAKER_ID_NOT_PROVIDED = "SPEAKER_ID_NOT_PROVIDED",
237
- SPEAKER_NOT_ENROLLED = "SPEAKER_NOT_ENROLLED",
238
- SPEAKER_OPTED_OUT = "SPEAKER_OPTED_OUT"
239
- }
242
+ export declare const AuthenticationDecision: {
243
+ readonly ACCEPT: "ACCEPT";
244
+ readonly NOT_ENOUGH_SPEECH: "NOT_ENOUGH_SPEECH";
245
+ readonly REJECT: "REJECT";
246
+ readonly SPEAKER_EXPIRED: "SPEAKER_EXPIRED";
247
+ readonly SPEAKER_ID_NOT_PROVIDED: "SPEAKER_ID_NOT_PROVIDED";
248
+ readonly SPEAKER_NOT_ENROLLED: "SPEAKER_NOT_ENROLLED";
249
+ readonly SPEAKER_OPTED_OUT: "SPEAKER_OPTED_OUT";
250
+ };
251
+ /**
252
+ * @public
253
+ */
254
+ export type AuthenticationDecision = (typeof AuthenticationDecision)[keyof typeof AuthenticationDecision];
240
255
  /**
241
256
  * @public
242
257
  * <p>The authentication result produced by Voice ID, processed against the current session
@@ -349,20 +364,30 @@ export interface CreateDomainRequest {
349
364
  }
350
365
  /**
351
366
  * @public
367
+ * @enum
352
368
  */
353
- export declare enum DomainStatus {
354
- ACTIVE = "ACTIVE",
355
- PENDING = "PENDING",
356
- SUSPENDED = "SUSPENDED"
357
- }
369
+ export declare const DomainStatus: {
370
+ readonly ACTIVE: "ACTIVE";
371
+ readonly PENDING: "PENDING";
372
+ readonly SUSPENDED: "SUSPENDED";
373
+ };
358
374
  /**
359
375
  * @public
360
376
  */
361
- export declare enum ServerSideEncryptionUpdateStatus {
362
- COMPLETED = "COMPLETED",
363
- FAILED = "FAILED",
364
- IN_PROGRESS = "IN_PROGRESS"
365
- }
377
+ export type DomainStatus = (typeof DomainStatus)[keyof typeof DomainStatus];
378
+ /**
379
+ * @public
380
+ * @enum
381
+ */
382
+ export declare const ServerSideEncryptionUpdateStatus: {
383
+ readonly COMPLETED: "COMPLETED";
384
+ readonly FAILED: "FAILED";
385
+ readonly IN_PROGRESS: "IN_PROGRESS";
386
+ };
387
+ /**
388
+ * @public
389
+ */
390
+ export type ServerSideEncryptionUpdateStatus = (typeof ServerSideEncryptionUpdateStatus)[keyof typeof ServerSideEncryptionUpdateStatus];
366
391
  /**
367
392
  * @public
368
393
  * <p>Details about the most recent server-side encryption configuration update. When the
@@ -663,14 +688,19 @@ export interface JobProgress {
663
688
  }
664
689
  /**
665
690
  * @public
691
+ * @enum
666
692
  */
667
- export declare enum FraudsterRegistrationJobStatus {
668
- COMPLETED = "COMPLETED",
669
- COMPLETED_WITH_ERRORS = "COMPLETED_WITH_ERRORS",
670
- FAILED = "FAILED",
671
- IN_PROGRESS = "IN_PROGRESS",
672
- SUBMITTED = "SUBMITTED"
673
- }
693
+ export declare const FraudsterRegistrationJobStatus: {
694
+ readonly COMPLETED: "COMPLETED";
695
+ readonly COMPLETED_WITH_ERRORS: "COMPLETED_WITH_ERRORS";
696
+ readonly FAILED: "FAILED";
697
+ readonly IN_PROGRESS: "IN_PROGRESS";
698
+ readonly SUBMITTED: "SUBMITTED";
699
+ };
700
+ /**
701
+ * @public
702
+ */
703
+ export type FraudsterRegistrationJobStatus = (typeof FraudsterRegistrationJobStatus)[keyof typeof FraudsterRegistrationJobStatus];
674
704
  /**
675
705
  * @public
676
706
  * <p>The configuration containing output file information for a batch job.</p>
@@ -693,11 +723,16 @@ export interface OutputDataConfig {
693
723
  }
694
724
  /**
695
725
  * @public
726
+ * @enum
696
727
  */
697
- export declare enum DuplicateRegistrationAction {
698
- REGISTER_AS_NEW = "REGISTER_AS_NEW",
699
- SKIP = "SKIP"
700
- }
728
+ export declare const DuplicateRegistrationAction: {
729
+ readonly REGISTER_AS_NEW: "REGISTER_AS_NEW";
730
+ readonly SKIP: "SKIP";
731
+ };
732
+ /**
733
+ * @public
734
+ */
735
+ export type DuplicateRegistrationAction = (typeof DuplicateRegistrationAction)[keyof typeof DuplicateRegistrationAction];
701
736
  /**
702
737
  * @public
703
738
  * <p>The registration configuration to be used during the batch fraudster registration job.</p>
@@ -810,13 +845,18 @@ export interface DescribeSpeakerRequest {
810
845
  }
811
846
  /**
812
847
  * @public
848
+ * @enum
813
849
  */
814
- export declare enum SpeakerStatus {
815
- ENROLLED = "ENROLLED",
816
- EXPIRED = "EXPIRED",
817
- OPTED_OUT = "OPTED_OUT",
818
- PENDING = "PENDING"
819
- }
850
+ export declare const SpeakerStatus: {
851
+ readonly ENROLLED: "ENROLLED";
852
+ readonly EXPIRED: "EXPIRED";
853
+ readonly OPTED_OUT: "OPTED_OUT";
854
+ readonly PENDING: "PENDING";
855
+ };
856
+ /**
857
+ * @public
858
+ */
859
+ export type SpeakerStatus = (typeof SpeakerStatus)[keyof typeof SpeakerStatus];
820
860
  /**
821
861
  * @public
822
862
  * <p>Contains all the information about a speaker.</p>
@@ -876,18 +916,28 @@ export interface DescribeSpeakerEnrollmentJobRequest {
876
916
  }
877
917
  /**
878
918
  * @public
919
+ * @enum
879
920
  */
880
- export declare enum ExistingEnrollmentAction {
881
- OVERWRITE = "OVERWRITE",
882
- SKIP = "SKIP"
883
- }
921
+ export declare const ExistingEnrollmentAction: {
922
+ readonly OVERWRITE: "OVERWRITE";
923
+ readonly SKIP: "SKIP";
924
+ };
884
925
  /**
885
926
  * @public
886
927
  */
887
- export declare enum FraudDetectionAction {
888
- FAIL = "FAIL",
889
- IGNORE = "IGNORE"
890
- }
928
+ export type ExistingEnrollmentAction = (typeof ExistingEnrollmentAction)[keyof typeof ExistingEnrollmentAction];
929
+ /**
930
+ * @public
931
+ * @enum
932
+ */
933
+ export declare const FraudDetectionAction: {
934
+ readonly FAIL: "FAIL";
935
+ readonly IGNORE: "IGNORE";
936
+ };
937
+ /**
938
+ * @public
939
+ */
940
+ export type FraudDetectionAction = (typeof FraudDetectionAction)[keyof typeof FraudDetectionAction];
891
941
  /**
892
942
  * @public
893
943
  * <p>The fraud detection configuration to be used during the batch speaker enrollment job.</p>
@@ -932,14 +982,19 @@ export interface EnrollmentConfig {
932
982
  }
933
983
  /**
934
984
  * @public
985
+ * @enum
935
986
  */
936
- export declare enum SpeakerEnrollmentJobStatus {
937
- COMPLETED = "COMPLETED",
938
- COMPLETED_WITH_ERRORS = "COMPLETED_WITH_ERRORS",
939
- FAILED = "FAILED",
940
- IN_PROGRESS = "IN_PROGRESS",
941
- SUBMITTED = "SUBMITTED"
942
- }
987
+ export declare const SpeakerEnrollmentJobStatus: {
988
+ readonly COMPLETED: "COMPLETED";
989
+ readonly COMPLETED_WITH_ERRORS: "COMPLETED_WITH_ERRORS";
990
+ readonly FAILED: "FAILED";
991
+ readonly IN_PROGRESS: "IN_PROGRESS";
992
+ readonly SUBMITTED: "SUBMITTED";
993
+ };
994
+ /**
995
+ * @public
996
+ */
997
+ export type SpeakerEnrollmentJobStatus = (typeof SpeakerEnrollmentJobStatus)[keyof typeof SpeakerEnrollmentJobStatus];
943
998
  /**
944
999
  * @public
945
1000
  * <p>Contains all the information about a speaker enrollment job.</p>
@@ -1213,19 +1268,29 @@ export interface FraudDetectionConfiguration {
1213
1268
  }
1214
1269
  /**
1215
1270
  * @public
1271
+ * @enum
1216
1272
  */
1217
- export declare enum FraudDetectionDecision {
1218
- HIGH_RISK = "HIGH_RISK",
1219
- LOW_RISK = "LOW_RISK",
1220
- NOT_ENOUGH_SPEECH = "NOT_ENOUGH_SPEECH"
1221
- }
1273
+ export declare const FraudDetectionDecision: {
1274
+ readonly HIGH_RISK: "HIGH_RISK";
1275
+ readonly LOW_RISK: "LOW_RISK";
1276
+ readonly NOT_ENOUGH_SPEECH: "NOT_ENOUGH_SPEECH";
1277
+ };
1222
1278
  /**
1223
1279
  * @public
1224
1280
  */
1225
- export declare enum FraudDetectionReason {
1226
- KNOWN_FRAUDSTER = "KNOWN_FRAUDSTER",
1227
- VOICE_SPOOFING = "VOICE_SPOOFING"
1228
- }
1281
+ export type FraudDetectionDecision = (typeof FraudDetectionDecision)[keyof typeof FraudDetectionDecision];
1282
+ /**
1283
+ * @public
1284
+ * @enum
1285
+ */
1286
+ export declare const FraudDetectionReason: {
1287
+ readonly KNOWN_FRAUDSTER: "KNOWN_FRAUDSTER";
1288
+ readonly VOICE_SPOOFING: "VOICE_SPOOFING";
1289
+ };
1290
+ /**
1291
+ * @public
1292
+ */
1293
+ export type FraudDetectionReason = (typeof FraudDetectionReason)[keyof typeof FraudDetectionReason];
1229
1294
  /**
1230
1295
  * @public
1231
1296
  * <p>Contains details produced as a result of performing known fraudster risk analysis on a
@@ -1316,12 +1381,17 @@ export interface FraudDetectionResult {
1316
1381
  }
1317
1382
  /**
1318
1383
  * @public
1384
+ * @enum
1319
1385
  */
1320
- export declare enum StreamingStatus {
1321
- ENDED = "ENDED",
1322
- ONGOING = "ONGOING",
1323
- PENDING_CONFIGURATION = "PENDING_CONFIGURATION"
1324
- }
1386
+ export declare const StreamingStatus: {
1387
+ readonly ENDED: "ENDED";
1388
+ readonly ONGOING: "ONGOING";
1389
+ readonly PENDING_CONFIGURATION: "PENDING_CONFIGURATION";
1390
+ };
1391
+ /**
1392
+ * @public
1393
+ */
1394
+ export type StreamingStatus = (typeof StreamingStatus)[keyof typeof StreamingStatus];
1325
1395
  /**
1326
1396
  * @public
1327
1397
  */