@aws-sdk/client-voice-id 3.936.0 → 3.939.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-cjs/index.js CHANGED
@@ -1492,6 +1492,93 @@ const paginateListSpeakers = core.createPaginator(VoiceIDClient, ListSpeakersCom
1492
1492
 
1493
1493
  const paginateListWatchlists = core.createPaginator(VoiceIDClient, ListWatchlistsCommand, "NextToken", "NextToken", "MaxResults");
1494
1494
 
1495
+ const ConflictType = {
1496
+ ANOTHER_ACTIVE_STREAM: "ANOTHER_ACTIVE_STREAM",
1497
+ CANNOT_CHANGE_SPEAKER_AFTER_ENROLLMENT: "CANNOT_CHANGE_SPEAKER_AFTER_ENROLLMENT",
1498
+ CANNOT_DELETE_NON_EMPTY_WATCHLIST: "CANNOT_DELETE_NON_EMPTY_WATCHLIST",
1499
+ CONCURRENT_CHANGES: "CONCURRENT_CHANGES",
1500
+ DOMAIN_LOCKED_FROM_ENCRYPTION_UPDATES: "DOMAIN_LOCKED_FROM_ENCRYPTION_UPDATES",
1501
+ DOMAIN_NOT_ACTIVE: "DOMAIN_NOT_ACTIVE",
1502
+ ENROLLMENT_ALREADY_EXISTS: "ENROLLMENT_ALREADY_EXISTS",
1503
+ FRAUDSTER_MUST_BELONG_TO_AT_LEAST_ONE_WATCHLIST: "FRAUDSTER_MUST_BELONG_TO_AT_LEAST_ONE_WATCHLIST",
1504
+ SPEAKER_NOT_SET: "SPEAKER_NOT_SET",
1505
+ SPEAKER_OPTED_OUT: "SPEAKER_OPTED_OUT",
1506
+ };
1507
+ const ResourceType = {
1508
+ BATCH_JOB: "BATCH_JOB",
1509
+ COMPLIANCE_CONSENT: "COMPLIANCE_CONSENT",
1510
+ DOMAIN: "DOMAIN",
1511
+ FRAUDSTER: "FRAUDSTER",
1512
+ SESSION: "SESSION",
1513
+ SPEAKER: "SPEAKER",
1514
+ WATCHLIST: "WATCHLIST",
1515
+ };
1516
+ const AuthenticationDecision = {
1517
+ ACCEPT: "ACCEPT",
1518
+ NOT_ENOUGH_SPEECH: "NOT_ENOUGH_SPEECH",
1519
+ REJECT: "REJECT",
1520
+ SPEAKER_EXPIRED: "SPEAKER_EXPIRED",
1521
+ SPEAKER_ID_NOT_PROVIDED: "SPEAKER_ID_NOT_PROVIDED",
1522
+ SPEAKER_NOT_ENROLLED: "SPEAKER_NOT_ENROLLED",
1523
+ SPEAKER_OPTED_OUT: "SPEAKER_OPTED_OUT",
1524
+ };
1525
+ const DomainStatus = {
1526
+ ACTIVE: "ACTIVE",
1527
+ PENDING: "PENDING",
1528
+ SUSPENDED: "SUSPENDED",
1529
+ };
1530
+ const ServerSideEncryptionUpdateStatus = {
1531
+ COMPLETED: "COMPLETED",
1532
+ FAILED: "FAILED",
1533
+ IN_PROGRESS: "IN_PROGRESS",
1534
+ };
1535
+ const FraudsterRegistrationJobStatus = {
1536
+ COMPLETED: "COMPLETED",
1537
+ COMPLETED_WITH_ERRORS: "COMPLETED_WITH_ERRORS",
1538
+ FAILED: "FAILED",
1539
+ IN_PROGRESS: "IN_PROGRESS",
1540
+ SUBMITTED: "SUBMITTED",
1541
+ };
1542
+ const DuplicateRegistrationAction = {
1543
+ REGISTER_AS_NEW: "REGISTER_AS_NEW",
1544
+ SKIP: "SKIP",
1545
+ };
1546
+ const SpeakerStatus = {
1547
+ ENROLLED: "ENROLLED",
1548
+ EXPIRED: "EXPIRED",
1549
+ OPTED_OUT: "OPTED_OUT",
1550
+ PENDING: "PENDING",
1551
+ };
1552
+ const ExistingEnrollmentAction = {
1553
+ OVERWRITE: "OVERWRITE",
1554
+ SKIP: "SKIP",
1555
+ };
1556
+ const FraudDetectionAction = {
1557
+ FAIL: "FAIL",
1558
+ IGNORE: "IGNORE",
1559
+ };
1560
+ const SpeakerEnrollmentJobStatus = {
1561
+ COMPLETED: "COMPLETED",
1562
+ COMPLETED_WITH_ERRORS: "COMPLETED_WITH_ERRORS",
1563
+ FAILED: "FAILED",
1564
+ IN_PROGRESS: "IN_PROGRESS",
1565
+ SUBMITTED: "SUBMITTED",
1566
+ };
1567
+ const FraudDetectionDecision = {
1568
+ HIGH_RISK: "HIGH_RISK",
1569
+ LOW_RISK: "LOW_RISK",
1570
+ NOT_ENOUGH_SPEECH: "NOT_ENOUGH_SPEECH",
1571
+ };
1572
+ const FraudDetectionReason = {
1573
+ KNOWN_FRAUDSTER: "KNOWN_FRAUDSTER",
1574
+ VOICE_SPOOFING: "VOICE_SPOOFING",
1575
+ };
1576
+ const StreamingStatus = {
1577
+ ENDED: "ENDED",
1578
+ ONGOING: "ONGOING",
1579
+ PENDING_CONFIGURATION: "PENDING_CONFIGURATION",
1580
+ };
1581
+
1495
1582
  Object.defineProperty(exports, "$Command", {
1496
1583
  enumerable: true,
1497
1584
  get: function () { return smithyClient.Command; }
@@ -1502,7 +1589,9 @@ Object.defineProperty(exports, "__Client", {
1502
1589
  });
1503
1590
  exports.AccessDeniedException = AccessDeniedException$1;
1504
1591
  exports.AssociateFraudsterCommand = AssociateFraudsterCommand;
1592
+ exports.AuthenticationDecision = AuthenticationDecision;
1505
1593
  exports.ConflictException = ConflictException$1;
1594
+ exports.ConflictType = ConflictType;
1506
1595
  exports.CreateDomainCommand = CreateDomainCommand;
1507
1596
  exports.CreateWatchlistCommand = CreateWatchlistCommand;
1508
1597
  exports.DeleteDomainCommand = DeleteDomainCommand;
@@ -1516,7 +1605,14 @@ exports.DescribeSpeakerCommand = DescribeSpeakerCommand;
1516
1605
  exports.DescribeSpeakerEnrollmentJobCommand = DescribeSpeakerEnrollmentJobCommand;
1517
1606
  exports.DescribeWatchlistCommand = DescribeWatchlistCommand;
1518
1607
  exports.DisassociateFraudsterCommand = DisassociateFraudsterCommand;
1608
+ exports.DomainStatus = DomainStatus;
1609
+ exports.DuplicateRegistrationAction = DuplicateRegistrationAction;
1519
1610
  exports.EvaluateSessionCommand = EvaluateSessionCommand;
1611
+ exports.ExistingEnrollmentAction = ExistingEnrollmentAction;
1612
+ exports.FraudDetectionAction = FraudDetectionAction;
1613
+ exports.FraudDetectionDecision = FraudDetectionDecision;
1614
+ exports.FraudDetectionReason = FraudDetectionReason;
1615
+ exports.FraudsterRegistrationJobStatus = FraudsterRegistrationJobStatus;
1520
1616
  exports.InternalServerException = InternalServerException$1;
1521
1617
  exports.ListDomainsCommand = ListDomainsCommand;
1522
1618
  exports.ListFraudsterRegistrationJobsCommand = ListFraudsterRegistrationJobsCommand;
@@ -1527,9 +1623,14 @@ exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
1527
1623
  exports.ListWatchlistsCommand = ListWatchlistsCommand;
1528
1624
  exports.OptOutSpeakerCommand = OptOutSpeakerCommand;
1529
1625
  exports.ResourceNotFoundException = ResourceNotFoundException$1;
1626
+ exports.ResourceType = ResourceType;
1627
+ exports.ServerSideEncryptionUpdateStatus = ServerSideEncryptionUpdateStatus;
1530
1628
  exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
1629
+ exports.SpeakerEnrollmentJobStatus = SpeakerEnrollmentJobStatus;
1630
+ exports.SpeakerStatus = SpeakerStatus;
1531
1631
  exports.StartFraudsterRegistrationJobCommand = StartFraudsterRegistrationJobCommand;
1532
1632
  exports.StartSpeakerEnrollmentJobCommand = StartSpeakerEnrollmentJobCommand;
1633
+ exports.StreamingStatus = StreamingStatus;
1533
1634
  exports.TagResourceCommand = TagResourceCommand;
1534
1635
  exports.ThrottlingException = ThrottlingException$1;
1535
1636
  exports.UntagResourceCommand = UntagResourceCommand;
package/dist-es/index.js CHANGED
@@ -2,5 +2,6 @@ export * from "./VoiceIDClient";
2
2
  export * from "./VoiceID";
3
3
  export * from "./commands";
4
4
  export * from "./pagination";
5
+ export * from "./models/enums";
5
6
  export * from "./models/errors";
6
7
  export { VoiceIDServiceException } from "./models/VoiceIDServiceException";
@@ -0,0 +1,86 @@
1
+ export const ConflictType = {
2
+ ANOTHER_ACTIVE_STREAM: "ANOTHER_ACTIVE_STREAM",
3
+ CANNOT_CHANGE_SPEAKER_AFTER_ENROLLMENT: "CANNOT_CHANGE_SPEAKER_AFTER_ENROLLMENT",
4
+ CANNOT_DELETE_NON_EMPTY_WATCHLIST: "CANNOT_DELETE_NON_EMPTY_WATCHLIST",
5
+ CONCURRENT_CHANGES: "CONCURRENT_CHANGES",
6
+ DOMAIN_LOCKED_FROM_ENCRYPTION_UPDATES: "DOMAIN_LOCKED_FROM_ENCRYPTION_UPDATES",
7
+ DOMAIN_NOT_ACTIVE: "DOMAIN_NOT_ACTIVE",
8
+ ENROLLMENT_ALREADY_EXISTS: "ENROLLMENT_ALREADY_EXISTS",
9
+ FRAUDSTER_MUST_BELONG_TO_AT_LEAST_ONE_WATCHLIST: "FRAUDSTER_MUST_BELONG_TO_AT_LEAST_ONE_WATCHLIST",
10
+ SPEAKER_NOT_SET: "SPEAKER_NOT_SET",
11
+ SPEAKER_OPTED_OUT: "SPEAKER_OPTED_OUT",
12
+ };
13
+ export const ResourceType = {
14
+ BATCH_JOB: "BATCH_JOB",
15
+ COMPLIANCE_CONSENT: "COMPLIANCE_CONSENT",
16
+ DOMAIN: "DOMAIN",
17
+ FRAUDSTER: "FRAUDSTER",
18
+ SESSION: "SESSION",
19
+ SPEAKER: "SPEAKER",
20
+ WATCHLIST: "WATCHLIST",
21
+ };
22
+ export const AuthenticationDecision = {
23
+ ACCEPT: "ACCEPT",
24
+ NOT_ENOUGH_SPEECH: "NOT_ENOUGH_SPEECH",
25
+ REJECT: "REJECT",
26
+ SPEAKER_EXPIRED: "SPEAKER_EXPIRED",
27
+ SPEAKER_ID_NOT_PROVIDED: "SPEAKER_ID_NOT_PROVIDED",
28
+ SPEAKER_NOT_ENROLLED: "SPEAKER_NOT_ENROLLED",
29
+ SPEAKER_OPTED_OUT: "SPEAKER_OPTED_OUT",
30
+ };
31
+ export const DomainStatus = {
32
+ ACTIVE: "ACTIVE",
33
+ PENDING: "PENDING",
34
+ SUSPENDED: "SUSPENDED",
35
+ };
36
+ export const ServerSideEncryptionUpdateStatus = {
37
+ COMPLETED: "COMPLETED",
38
+ FAILED: "FAILED",
39
+ IN_PROGRESS: "IN_PROGRESS",
40
+ };
41
+ export const FraudsterRegistrationJobStatus = {
42
+ COMPLETED: "COMPLETED",
43
+ COMPLETED_WITH_ERRORS: "COMPLETED_WITH_ERRORS",
44
+ FAILED: "FAILED",
45
+ IN_PROGRESS: "IN_PROGRESS",
46
+ SUBMITTED: "SUBMITTED",
47
+ };
48
+ export const DuplicateRegistrationAction = {
49
+ REGISTER_AS_NEW: "REGISTER_AS_NEW",
50
+ SKIP: "SKIP",
51
+ };
52
+ export const SpeakerStatus = {
53
+ ENROLLED: "ENROLLED",
54
+ EXPIRED: "EXPIRED",
55
+ OPTED_OUT: "OPTED_OUT",
56
+ PENDING: "PENDING",
57
+ };
58
+ export const ExistingEnrollmentAction = {
59
+ OVERWRITE: "OVERWRITE",
60
+ SKIP: "SKIP",
61
+ };
62
+ export const FraudDetectionAction = {
63
+ FAIL: "FAIL",
64
+ IGNORE: "IGNORE",
65
+ };
66
+ export const SpeakerEnrollmentJobStatus = {
67
+ COMPLETED: "COMPLETED",
68
+ COMPLETED_WITH_ERRORS: "COMPLETED_WITH_ERRORS",
69
+ FAILED: "FAILED",
70
+ IN_PROGRESS: "IN_PROGRESS",
71
+ SUBMITTED: "SUBMITTED",
72
+ };
73
+ export const FraudDetectionDecision = {
74
+ HIGH_RISK: "HIGH_RISK",
75
+ LOW_RISK: "LOW_RISK",
76
+ NOT_ENOUGH_SPEECH: "NOT_ENOUGH_SPEECH",
77
+ };
78
+ export const FraudDetectionReason = {
79
+ KNOWN_FRAUDSTER: "KNOWN_FRAUDSTER",
80
+ VOICE_SPOOFING: "VOICE_SPOOFING",
81
+ };
82
+ export const StreamingStatus = {
83
+ ENDED: "ENDED",
84
+ ONGOING: "ONGOING",
85
+ PENDING_CONFIGURATION: "PENDING_CONFIGURATION",
86
+ };
@@ -1,86 +1 @@
1
- export const ConflictType = {
2
- ANOTHER_ACTIVE_STREAM: "ANOTHER_ACTIVE_STREAM",
3
- CANNOT_CHANGE_SPEAKER_AFTER_ENROLLMENT: "CANNOT_CHANGE_SPEAKER_AFTER_ENROLLMENT",
4
- CANNOT_DELETE_NON_EMPTY_WATCHLIST: "CANNOT_DELETE_NON_EMPTY_WATCHLIST",
5
- CONCURRENT_CHANGES: "CONCURRENT_CHANGES",
6
- DOMAIN_LOCKED_FROM_ENCRYPTION_UPDATES: "DOMAIN_LOCKED_FROM_ENCRYPTION_UPDATES",
7
- DOMAIN_NOT_ACTIVE: "DOMAIN_NOT_ACTIVE",
8
- ENROLLMENT_ALREADY_EXISTS: "ENROLLMENT_ALREADY_EXISTS",
9
- FRAUDSTER_MUST_BELONG_TO_AT_LEAST_ONE_WATCHLIST: "FRAUDSTER_MUST_BELONG_TO_AT_LEAST_ONE_WATCHLIST",
10
- SPEAKER_NOT_SET: "SPEAKER_NOT_SET",
11
- SPEAKER_OPTED_OUT: "SPEAKER_OPTED_OUT",
12
- };
13
- export const ResourceType = {
14
- BATCH_JOB: "BATCH_JOB",
15
- COMPLIANCE_CONSENT: "COMPLIANCE_CONSENT",
16
- DOMAIN: "DOMAIN",
17
- FRAUDSTER: "FRAUDSTER",
18
- SESSION: "SESSION",
19
- SPEAKER: "SPEAKER",
20
- WATCHLIST: "WATCHLIST",
21
- };
22
- export const AuthenticationDecision = {
23
- ACCEPT: "ACCEPT",
24
- NOT_ENOUGH_SPEECH: "NOT_ENOUGH_SPEECH",
25
- REJECT: "REJECT",
26
- SPEAKER_EXPIRED: "SPEAKER_EXPIRED",
27
- SPEAKER_ID_NOT_PROVIDED: "SPEAKER_ID_NOT_PROVIDED",
28
- SPEAKER_NOT_ENROLLED: "SPEAKER_NOT_ENROLLED",
29
- SPEAKER_OPTED_OUT: "SPEAKER_OPTED_OUT",
30
- };
31
- export const DomainStatus = {
32
- ACTIVE: "ACTIVE",
33
- PENDING: "PENDING",
34
- SUSPENDED: "SUSPENDED",
35
- };
36
- export const ServerSideEncryptionUpdateStatus = {
37
- COMPLETED: "COMPLETED",
38
- FAILED: "FAILED",
39
- IN_PROGRESS: "IN_PROGRESS",
40
- };
41
- export const FraudsterRegistrationJobStatus = {
42
- COMPLETED: "COMPLETED",
43
- COMPLETED_WITH_ERRORS: "COMPLETED_WITH_ERRORS",
44
- FAILED: "FAILED",
45
- IN_PROGRESS: "IN_PROGRESS",
46
- SUBMITTED: "SUBMITTED",
47
- };
48
- export const DuplicateRegistrationAction = {
49
- REGISTER_AS_NEW: "REGISTER_AS_NEW",
50
- SKIP: "SKIP",
51
- };
52
- export const SpeakerStatus = {
53
- ENROLLED: "ENROLLED",
54
- EXPIRED: "EXPIRED",
55
- OPTED_OUT: "OPTED_OUT",
56
- PENDING: "PENDING",
57
- };
58
- export const ExistingEnrollmentAction = {
59
- OVERWRITE: "OVERWRITE",
60
- SKIP: "SKIP",
61
- };
62
- export const FraudDetectionAction = {
63
- FAIL: "FAIL",
64
- IGNORE: "IGNORE",
65
- };
66
- export const SpeakerEnrollmentJobStatus = {
67
- COMPLETED: "COMPLETED",
68
- COMPLETED_WITH_ERRORS: "COMPLETED_WITH_ERRORS",
69
- FAILED: "FAILED",
70
- IN_PROGRESS: "IN_PROGRESS",
71
- SUBMITTED: "SUBMITTED",
72
- };
73
- export const FraudDetectionDecision = {
74
- HIGH_RISK: "HIGH_RISK",
75
- LOW_RISK: "LOW_RISK",
76
- NOT_ENOUGH_SPEECH: "NOT_ENOUGH_SPEECH",
77
- };
78
- export const FraudDetectionReason = {
79
- KNOWN_FRAUDSTER: "KNOWN_FRAUDSTER",
80
- VOICE_SPOOFING: "VOICE_SPOOFING",
81
- };
82
- export const StreamingStatus = {
83
- ENDED: "ENDED",
84
- ONGOING: "ONGOING",
85
- PENDING_CONFIGURATION: "PENDING_CONFIGURATION",
86
- };
1
+ export {};
@@ -11,6 +11,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
11
11
  export type { VoiceIDExtensionConfiguration } from "./extensionConfiguration";
12
12
  export * from "./commands";
13
13
  export * from "./pagination";
14
+ export * from "./models/enums";
14
15
  export * from "./models/errors";
15
16
  export type * from "./models/models_0";
16
17
  export { VoiceIDServiceException } from "./models/VoiceIDServiceException";
@@ -0,0 +1,198 @@
1
+ /**
2
+ * @public
3
+ * @enum
4
+ */
5
+ export declare const ConflictType: {
6
+ readonly ANOTHER_ACTIVE_STREAM: "ANOTHER_ACTIVE_STREAM";
7
+ readonly CANNOT_CHANGE_SPEAKER_AFTER_ENROLLMENT: "CANNOT_CHANGE_SPEAKER_AFTER_ENROLLMENT";
8
+ readonly CANNOT_DELETE_NON_EMPTY_WATCHLIST: "CANNOT_DELETE_NON_EMPTY_WATCHLIST";
9
+ readonly CONCURRENT_CHANGES: "CONCURRENT_CHANGES";
10
+ readonly DOMAIN_LOCKED_FROM_ENCRYPTION_UPDATES: "DOMAIN_LOCKED_FROM_ENCRYPTION_UPDATES";
11
+ readonly DOMAIN_NOT_ACTIVE: "DOMAIN_NOT_ACTIVE";
12
+ readonly ENROLLMENT_ALREADY_EXISTS: "ENROLLMENT_ALREADY_EXISTS";
13
+ readonly FRAUDSTER_MUST_BELONG_TO_AT_LEAST_ONE_WATCHLIST: "FRAUDSTER_MUST_BELONG_TO_AT_LEAST_ONE_WATCHLIST";
14
+ readonly SPEAKER_NOT_SET: "SPEAKER_NOT_SET";
15
+ readonly SPEAKER_OPTED_OUT: "SPEAKER_OPTED_OUT";
16
+ };
17
+ /**
18
+ * @public
19
+ */
20
+ export type ConflictType = (typeof ConflictType)[keyof typeof ConflictType];
21
+ /**
22
+ * @public
23
+ * @enum
24
+ */
25
+ export declare const ResourceType: {
26
+ readonly BATCH_JOB: "BATCH_JOB";
27
+ readonly COMPLIANCE_CONSENT: "COMPLIANCE_CONSENT";
28
+ readonly DOMAIN: "DOMAIN";
29
+ readonly FRAUDSTER: "FRAUDSTER";
30
+ readonly SESSION: "SESSION";
31
+ readonly SPEAKER: "SPEAKER";
32
+ readonly WATCHLIST: "WATCHLIST";
33
+ };
34
+ /**
35
+ * @public
36
+ */
37
+ export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
38
+ /**
39
+ * @public
40
+ * @enum
41
+ */
42
+ export declare const AuthenticationDecision: {
43
+ readonly ACCEPT: "ACCEPT";
44
+ readonly NOT_ENOUGH_SPEECH: "NOT_ENOUGH_SPEECH";
45
+ readonly REJECT: "REJECT";
46
+ readonly SPEAKER_EXPIRED: "SPEAKER_EXPIRED";
47
+ readonly SPEAKER_ID_NOT_PROVIDED: "SPEAKER_ID_NOT_PROVIDED";
48
+ readonly SPEAKER_NOT_ENROLLED: "SPEAKER_NOT_ENROLLED";
49
+ readonly SPEAKER_OPTED_OUT: "SPEAKER_OPTED_OUT";
50
+ };
51
+ /**
52
+ * @public
53
+ */
54
+ export type AuthenticationDecision = (typeof AuthenticationDecision)[keyof typeof AuthenticationDecision];
55
+ /**
56
+ * @public
57
+ * @enum
58
+ */
59
+ export declare const DomainStatus: {
60
+ readonly ACTIVE: "ACTIVE";
61
+ readonly PENDING: "PENDING";
62
+ readonly SUSPENDED: "SUSPENDED";
63
+ };
64
+ /**
65
+ * @public
66
+ */
67
+ export type DomainStatus = (typeof DomainStatus)[keyof typeof DomainStatus];
68
+ /**
69
+ * @public
70
+ * @enum
71
+ */
72
+ export declare const ServerSideEncryptionUpdateStatus: {
73
+ readonly COMPLETED: "COMPLETED";
74
+ readonly FAILED: "FAILED";
75
+ readonly IN_PROGRESS: "IN_PROGRESS";
76
+ };
77
+ /**
78
+ * @public
79
+ */
80
+ export type ServerSideEncryptionUpdateStatus = (typeof ServerSideEncryptionUpdateStatus)[keyof typeof ServerSideEncryptionUpdateStatus];
81
+ /**
82
+ * @public
83
+ * @enum
84
+ */
85
+ export declare const FraudsterRegistrationJobStatus: {
86
+ readonly COMPLETED: "COMPLETED";
87
+ readonly COMPLETED_WITH_ERRORS: "COMPLETED_WITH_ERRORS";
88
+ readonly FAILED: "FAILED";
89
+ readonly IN_PROGRESS: "IN_PROGRESS";
90
+ readonly SUBMITTED: "SUBMITTED";
91
+ };
92
+ /**
93
+ * @public
94
+ */
95
+ export type FraudsterRegistrationJobStatus = (typeof FraudsterRegistrationJobStatus)[keyof typeof FraudsterRegistrationJobStatus];
96
+ /**
97
+ * @public
98
+ * @enum
99
+ */
100
+ export declare const DuplicateRegistrationAction: {
101
+ readonly REGISTER_AS_NEW: "REGISTER_AS_NEW";
102
+ readonly SKIP: "SKIP";
103
+ };
104
+ /**
105
+ * @public
106
+ */
107
+ export type DuplicateRegistrationAction = (typeof DuplicateRegistrationAction)[keyof typeof DuplicateRegistrationAction];
108
+ /**
109
+ * @public
110
+ * @enum
111
+ */
112
+ export declare const SpeakerStatus: {
113
+ readonly ENROLLED: "ENROLLED";
114
+ readonly EXPIRED: "EXPIRED";
115
+ readonly OPTED_OUT: "OPTED_OUT";
116
+ readonly PENDING: "PENDING";
117
+ };
118
+ /**
119
+ * @public
120
+ */
121
+ export type SpeakerStatus = (typeof SpeakerStatus)[keyof typeof SpeakerStatus];
122
+ /**
123
+ * @public
124
+ * @enum
125
+ */
126
+ export declare const ExistingEnrollmentAction: {
127
+ readonly OVERWRITE: "OVERWRITE";
128
+ readonly SKIP: "SKIP";
129
+ };
130
+ /**
131
+ * @public
132
+ */
133
+ export type ExistingEnrollmentAction = (typeof ExistingEnrollmentAction)[keyof typeof ExistingEnrollmentAction];
134
+ /**
135
+ * @public
136
+ * @enum
137
+ */
138
+ export declare const FraudDetectionAction: {
139
+ readonly FAIL: "FAIL";
140
+ readonly IGNORE: "IGNORE";
141
+ };
142
+ /**
143
+ * @public
144
+ */
145
+ export type FraudDetectionAction = (typeof FraudDetectionAction)[keyof typeof FraudDetectionAction];
146
+ /**
147
+ * @public
148
+ * @enum
149
+ */
150
+ export declare const SpeakerEnrollmentJobStatus: {
151
+ readonly COMPLETED: "COMPLETED";
152
+ readonly COMPLETED_WITH_ERRORS: "COMPLETED_WITH_ERRORS";
153
+ readonly FAILED: "FAILED";
154
+ readonly IN_PROGRESS: "IN_PROGRESS";
155
+ readonly SUBMITTED: "SUBMITTED";
156
+ };
157
+ /**
158
+ * @public
159
+ */
160
+ export type SpeakerEnrollmentJobStatus = (typeof SpeakerEnrollmentJobStatus)[keyof typeof SpeakerEnrollmentJobStatus];
161
+ /**
162
+ * @public
163
+ * @enum
164
+ */
165
+ export declare const FraudDetectionDecision: {
166
+ readonly HIGH_RISK: "HIGH_RISK";
167
+ readonly LOW_RISK: "LOW_RISK";
168
+ readonly NOT_ENOUGH_SPEECH: "NOT_ENOUGH_SPEECH";
169
+ };
170
+ /**
171
+ * @public
172
+ */
173
+ export type FraudDetectionDecision = (typeof FraudDetectionDecision)[keyof typeof FraudDetectionDecision];
174
+ /**
175
+ * @public
176
+ * @enum
177
+ */
178
+ export declare const FraudDetectionReason: {
179
+ readonly KNOWN_FRAUDSTER: "KNOWN_FRAUDSTER";
180
+ readonly VOICE_SPOOFING: "VOICE_SPOOFING";
181
+ };
182
+ /**
183
+ * @public
184
+ */
185
+ export type FraudDetectionReason = (typeof FraudDetectionReason)[keyof typeof FraudDetectionReason];
186
+ /**
187
+ * @public
188
+ * @enum
189
+ */
190
+ export declare const StreamingStatus: {
191
+ readonly ENDED: "ENDED";
192
+ readonly ONGOING: "ONGOING";
193
+ readonly PENDING_CONFIGURATION: "PENDING_CONFIGURATION";
194
+ };
195
+ /**
196
+ * @public
197
+ */
198
+ export type StreamingStatus = (typeof StreamingStatus)[keyof typeof StreamingStatus];
@@ -1,5 +1,5 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { ConflictType, ResourceType } from "./models_0";
2
+ import { ConflictType, ResourceType } from "./enums";
3
3
  import { VoiceIDServiceException as __BaseException } from "./VoiceIDServiceException";
4
4
  /**
5
5
  * <p>You do not have sufficient permissions to perform this action. Check the error message
@@ -1,3 +1,4 @@
1
+ import { AuthenticationDecision, DomainStatus, DuplicateRegistrationAction, ExistingEnrollmentAction, FraudDetectionAction, FraudDetectionDecision, FraudDetectionReason, FraudsterRegistrationJobStatus, ServerSideEncryptionUpdateStatus, SpeakerEnrollmentJobStatus, SpeakerStatus, StreamingStatus } from "./enums";
1
2
  /**
2
3
  * @public
3
4
  */
@@ -54,43 +55,6 @@ export interface AssociateFraudsterResponse {
54
55
  */
55
56
  Fraudster?: Fraudster | undefined;
56
57
  }
57
- /**
58
- * @public
59
- * @enum
60
- */
61
- export declare const ConflictType: {
62
- readonly ANOTHER_ACTIVE_STREAM: "ANOTHER_ACTIVE_STREAM";
63
- readonly CANNOT_CHANGE_SPEAKER_AFTER_ENROLLMENT: "CANNOT_CHANGE_SPEAKER_AFTER_ENROLLMENT";
64
- readonly CANNOT_DELETE_NON_EMPTY_WATCHLIST: "CANNOT_DELETE_NON_EMPTY_WATCHLIST";
65
- readonly CONCURRENT_CHANGES: "CONCURRENT_CHANGES";
66
- readonly DOMAIN_LOCKED_FROM_ENCRYPTION_UPDATES: "DOMAIN_LOCKED_FROM_ENCRYPTION_UPDATES";
67
- readonly DOMAIN_NOT_ACTIVE: "DOMAIN_NOT_ACTIVE";
68
- readonly ENROLLMENT_ALREADY_EXISTS: "ENROLLMENT_ALREADY_EXISTS";
69
- readonly FRAUDSTER_MUST_BELONG_TO_AT_LEAST_ONE_WATCHLIST: "FRAUDSTER_MUST_BELONG_TO_AT_LEAST_ONE_WATCHLIST";
70
- readonly SPEAKER_NOT_SET: "SPEAKER_NOT_SET";
71
- readonly SPEAKER_OPTED_OUT: "SPEAKER_OPTED_OUT";
72
- };
73
- /**
74
- * @public
75
- */
76
- export type ConflictType = (typeof ConflictType)[keyof typeof ConflictType];
77
- /**
78
- * @public
79
- * @enum
80
- */
81
- export declare const ResourceType: {
82
- readonly BATCH_JOB: "BATCH_JOB";
83
- readonly COMPLIANCE_CONSENT: "COMPLIANCE_CONSENT";
84
- readonly DOMAIN: "DOMAIN";
85
- readonly FRAUDSTER: "FRAUDSTER";
86
- readonly SESSION: "SESSION";
87
- readonly SPEAKER: "SPEAKER";
88
- readonly WATCHLIST: "WATCHLIST";
89
- };
90
- /**
91
- * @public
92
- */
93
- export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
94
58
  /**
95
59
  * <p>The configuration used to authenticate a speaker during a session.</p>
96
60
  * @public
@@ -102,23 +66,6 @@ export interface AuthenticationConfiguration {
102
66
  */
103
67
  AcceptanceThreshold: number | undefined;
104
68
  }
105
- /**
106
- * @public
107
- * @enum
108
- */
109
- export declare const AuthenticationDecision: {
110
- readonly ACCEPT: "ACCEPT";
111
- readonly NOT_ENOUGH_SPEECH: "NOT_ENOUGH_SPEECH";
112
- readonly REJECT: "REJECT";
113
- readonly SPEAKER_EXPIRED: "SPEAKER_EXPIRED";
114
- readonly SPEAKER_ID_NOT_PROVIDED: "SPEAKER_ID_NOT_PROVIDED";
115
- readonly SPEAKER_NOT_ENROLLED: "SPEAKER_NOT_ENROLLED";
116
- readonly SPEAKER_OPTED_OUT: "SPEAKER_OPTED_OUT";
117
- };
118
- /**
119
- * @public
120
- */
121
- export type AuthenticationDecision = (typeof AuthenticationDecision)[keyof typeof AuthenticationDecision];
122
69
  /**
123
70
  * <p>The authentication result produced by Voice ID, processed against the current session
124
71
  * state and streamed audio of the speaker.</p>
@@ -245,32 +192,6 @@ export interface CreateDomainRequest {
245
192
  */
246
193
  Tags?: Tag[] | undefined;
247
194
  }
248
- /**
249
- * @public
250
- * @enum
251
- */
252
- export declare const DomainStatus: {
253
- readonly ACTIVE: "ACTIVE";
254
- readonly PENDING: "PENDING";
255
- readonly SUSPENDED: "SUSPENDED";
256
- };
257
- /**
258
- * @public
259
- */
260
- export type DomainStatus = (typeof DomainStatus)[keyof typeof DomainStatus];
261
- /**
262
- * @public
263
- * @enum
264
- */
265
- export declare const ServerSideEncryptionUpdateStatus: {
266
- readonly COMPLETED: "COMPLETED";
267
- readonly FAILED: "FAILED";
268
- readonly IN_PROGRESS: "IN_PROGRESS";
269
- };
270
- /**
271
- * @public
272
- */
273
- export type ServerSideEncryptionUpdateStatus = (typeof ServerSideEncryptionUpdateStatus)[keyof typeof ServerSideEncryptionUpdateStatus];
274
195
  /**
275
196
  * <p>Details about the most recent server-side encryption configuration update. When the
276
197
  * server-side encryption configuration is changed, dependency on the old KMS key is removed through an asynchronous process. When this update is
@@ -614,21 +535,6 @@ export interface JobProgress {
614
535
  */
615
536
  PercentComplete?: number | undefined;
616
537
  }
617
- /**
618
- * @public
619
- * @enum
620
- */
621
- export declare const FraudsterRegistrationJobStatus: {
622
- readonly COMPLETED: "COMPLETED";
623
- readonly COMPLETED_WITH_ERRORS: "COMPLETED_WITH_ERRORS";
624
- readonly FAILED: "FAILED";
625
- readonly IN_PROGRESS: "IN_PROGRESS";
626
- readonly SUBMITTED: "SUBMITTED";
627
- };
628
- /**
629
- * @public
630
- */
631
- export type FraudsterRegistrationJobStatus = (typeof FraudsterRegistrationJobStatus)[keyof typeof FraudsterRegistrationJobStatus];
632
538
  /**
633
539
  * <p>The configuration containing output file information for a batch job.</p>
634
540
  * @public
@@ -651,18 +557,6 @@ export interface OutputDataConfig {
651
557
  */
652
558
  KmsKeyId?: string | undefined;
653
559
  }
654
- /**
655
- * @public
656
- * @enum
657
- */
658
- export declare const DuplicateRegistrationAction: {
659
- readonly REGISTER_AS_NEW: "REGISTER_AS_NEW";
660
- readonly SKIP: "SKIP";
661
- };
662
- /**
663
- * @public
664
- */
665
- export type DuplicateRegistrationAction = (typeof DuplicateRegistrationAction)[keyof typeof DuplicateRegistrationAction];
666
560
  /**
667
561
  * <p>The registration configuration to be used during the batch fraudster registration job.</p>
668
562
  * @public
@@ -791,20 +685,6 @@ export interface DescribeSpeakerRequest {
791
685
  */
792
686
  SpeakerId: string | undefined;
793
687
  }
794
- /**
795
- * @public
796
- * @enum
797
- */
798
- export declare const SpeakerStatus: {
799
- readonly ENROLLED: "ENROLLED";
800
- readonly EXPIRED: "EXPIRED";
801
- readonly OPTED_OUT: "OPTED_OUT";
802
- readonly PENDING: "PENDING";
803
- };
804
- /**
805
- * @public
806
- */
807
- export type SpeakerStatus = (typeof SpeakerStatus)[keyof typeof SpeakerStatus];
808
688
  /**
809
689
  * <p>Contains all the information about a speaker.</p>
810
690
  * @public
@@ -872,30 +752,6 @@ export interface DescribeSpeakerEnrollmentJobRequest {
872
752
  */
873
753
  JobId: string | undefined;
874
754
  }
875
- /**
876
- * @public
877
- * @enum
878
- */
879
- export declare const ExistingEnrollmentAction: {
880
- readonly OVERWRITE: "OVERWRITE";
881
- readonly SKIP: "SKIP";
882
- };
883
- /**
884
- * @public
885
- */
886
- export type ExistingEnrollmentAction = (typeof ExistingEnrollmentAction)[keyof typeof ExistingEnrollmentAction];
887
- /**
888
- * @public
889
- * @enum
890
- */
891
- export declare const FraudDetectionAction: {
892
- readonly FAIL: "FAIL";
893
- readonly IGNORE: "IGNORE";
894
- };
895
- /**
896
- * @public
897
- */
898
- export type FraudDetectionAction = (typeof FraudDetectionAction)[keyof typeof FraudDetectionAction];
899
755
  /**
900
756
  * <p>The fraud detection configuration to be used during the batch speaker enrollment job.</p>
901
757
  * @public
@@ -943,21 +799,6 @@ export interface EnrollmentConfig {
943
799
  */
944
800
  FraudDetectionConfig?: EnrollmentJobFraudDetectionConfig | undefined;
945
801
  }
946
- /**
947
- * @public
948
- * @enum
949
- */
950
- export declare const SpeakerEnrollmentJobStatus: {
951
- readonly COMPLETED: "COMPLETED";
952
- readonly COMPLETED_WITH_ERRORS: "COMPLETED_WITH_ERRORS";
953
- readonly FAILED: "FAILED";
954
- readonly IN_PROGRESS: "IN_PROGRESS";
955
- readonly SUBMITTED: "SUBMITTED";
956
- };
957
- /**
958
- * @public
959
- */
960
- export type SpeakerEnrollmentJobStatus = (typeof SpeakerEnrollmentJobStatus)[keyof typeof SpeakerEnrollmentJobStatus];
961
802
  /**
962
803
  * <p>Contains all the information about a speaker enrollment job.</p>
963
804
  * @public
@@ -1272,31 +1113,6 @@ export interface FraudDetectionConfiguration {
1272
1113
  */
1273
1114
  WatchlistId?: string | undefined;
1274
1115
  }
1275
- /**
1276
- * @public
1277
- * @enum
1278
- */
1279
- export declare const FraudDetectionDecision: {
1280
- readonly HIGH_RISK: "HIGH_RISK";
1281
- readonly LOW_RISK: "LOW_RISK";
1282
- readonly NOT_ENOUGH_SPEECH: "NOT_ENOUGH_SPEECH";
1283
- };
1284
- /**
1285
- * @public
1286
- */
1287
- export type FraudDetectionDecision = (typeof FraudDetectionDecision)[keyof typeof FraudDetectionDecision];
1288
- /**
1289
- * @public
1290
- * @enum
1291
- */
1292
- export declare const FraudDetectionReason: {
1293
- readonly KNOWN_FRAUDSTER: "KNOWN_FRAUDSTER";
1294
- readonly VOICE_SPOOFING: "VOICE_SPOOFING";
1295
- };
1296
- /**
1297
- * @public
1298
- */
1299
- export type FraudDetectionReason = (typeof FraudDetectionReason)[keyof typeof FraudDetectionReason];
1300
1116
  /**
1301
1117
  * <p>Contains details produced as a result of performing known fraudster risk analysis on a
1302
1118
  * speaker.</p>
@@ -1397,19 +1213,6 @@ export interface FraudDetectionResult {
1397
1213
  */
1398
1214
  RiskDetails?: FraudRiskDetails | undefined;
1399
1215
  }
1400
- /**
1401
- * @public
1402
- * @enum
1403
- */
1404
- export declare const StreamingStatus: {
1405
- readonly ENDED: "ENDED";
1406
- readonly ONGOING: "ONGOING";
1407
- readonly PENDING_CONFIGURATION: "PENDING_CONFIGURATION";
1408
- };
1409
- /**
1410
- * @public
1411
- */
1412
- export type StreamingStatus = (typeof StreamingStatus)[keyof typeof StreamingStatus];
1413
1216
  /**
1414
1217
  * @public
1415
1218
  */
@@ -5,6 +5,7 @@ export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { VoiceIDExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
7
  export * from "./pagination";
8
+ export * from "./models/enums";
8
9
  export * from "./models/errors";
9
10
  export * from "./models/models_0";
10
11
  export { VoiceIDServiceException } from "./models/VoiceIDServiceException";
@@ -0,0 +1,110 @@
1
+ export declare const ConflictType: {
2
+ readonly ANOTHER_ACTIVE_STREAM: "ANOTHER_ACTIVE_STREAM";
3
+ readonly CANNOT_CHANGE_SPEAKER_AFTER_ENROLLMENT: "CANNOT_CHANGE_SPEAKER_AFTER_ENROLLMENT";
4
+ readonly CANNOT_DELETE_NON_EMPTY_WATCHLIST: "CANNOT_DELETE_NON_EMPTY_WATCHLIST";
5
+ readonly CONCURRENT_CHANGES: "CONCURRENT_CHANGES";
6
+ readonly DOMAIN_LOCKED_FROM_ENCRYPTION_UPDATES: "DOMAIN_LOCKED_FROM_ENCRYPTION_UPDATES";
7
+ readonly DOMAIN_NOT_ACTIVE: "DOMAIN_NOT_ACTIVE";
8
+ readonly ENROLLMENT_ALREADY_EXISTS: "ENROLLMENT_ALREADY_EXISTS";
9
+ readonly FRAUDSTER_MUST_BELONG_TO_AT_LEAST_ONE_WATCHLIST: "FRAUDSTER_MUST_BELONG_TO_AT_LEAST_ONE_WATCHLIST";
10
+ readonly SPEAKER_NOT_SET: "SPEAKER_NOT_SET";
11
+ readonly SPEAKER_OPTED_OUT: "SPEAKER_OPTED_OUT";
12
+ };
13
+ export type ConflictType = (typeof ConflictType)[keyof typeof ConflictType];
14
+ export declare const ResourceType: {
15
+ readonly BATCH_JOB: "BATCH_JOB";
16
+ readonly COMPLIANCE_CONSENT: "COMPLIANCE_CONSENT";
17
+ readonly DOMAIN: "DOMAIN";
18
+ readonly FRAUDSTER: "FRAUDSTER";
19
+ readonly SESSION: "SESSION";
20
+ readonly SPEAKER: "SPEAKER";
21
+ readonly WATCHLIST: "WATCHLIST";
22
+ };
23
+ export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
24
+ export declare const AuthenticationDecision: {
25
+ readonly ACCEPT: "ACCEPT";
26
+ readonly NOT_ENOUGH_SPEECH: "NOT_ENOUGH_SPEECH";
27
+ readonly REJECT: "REJECT";
28
+ readonly SPEAKER_EXPIRED: "SPEAKER_EXPIRED";
29
+ readonly SPEAKER_ID_NOT_PROVIDED: "SPEAKER_ID_NOT_PROVIDED";
30
+ readonly SPEAKER_NOT_ENROLLED: "SPEAKER_NOT_ENROLLED";
31
+ readonly SPEAKER_OPTED_OUT: "SPEAKER_OPTED_OUT";
32
+ };
33
+ export type AuthenticationDecision =
34
+ (typeof AuthenticationDecision)[keyof typeof AuthenticationDecision];
35
+ export declare const DomainStatus: {
36
+ readonly ACTIVE: "ACTIVE";
37
+ readonly PENDING: "PENDING";
38
+ readonly SUSPENDED: "SUSPENDED";
39
+ };
40
+ export type DomainStatus = (typeof DomainStatus)[keyof typeof DomainStatus];
41
+ export declare const ServerSideEncryptionUpdateStatus: {
42
+ readonly COMPLETED: "COMPLETED";
43
+ readonly FAILED: "FAILED";
44
+ readonly IN_PROGRESS: "IN_PROGRESS";
45
+ };
46
+ export type ServerSideEncryptionUpdateStatus =
47
+ (typeof ServerSideEncryptionUpdateStatus)[keyof typeof ServerSideEncryptionUpdateStatus];
48
+ export declare const FraudsterRegistrationJobStatus: {
49
+ readonly COMPLETED: "COMPLETED";
50
+ readonly COMPLETED_WITH_ERRORS: "COMPLETED_WITH_ERRORS";
51
+ readonly FAILED: "FAILED";
52
+ readonly IN_PROGRESS: "IN_PROGRESS";
53
+ readonly SUBMITTED: "SUBMITTED";
54
+ };
55
+ export type FraudsterRegistrationJobStatus =
56
+ (typeof FraudsterRegistrationJobStatus)[keyof typeof FraudsterRegistrationJobStatus];
57
+ export declare const DuplicateRegistrationAction: {
58
+ readonly REGISTER_AS_NEW: "REGISTER_AS_NEW";
59
+ readonly SKIP: "SKIP";
60
+ };
61
+ export type DuplicateRegistrationAction =
62
+ (typeof DuplicateRegistrationAction)[keyof typeof DuplicateRegistrationAction];
63
+ export declare const SpeakerStatus: {
64
+ readonly ENROLLED: "ENROLLED";
65
+ readonly EXPIRED: "EXPIRED";
66
+ readonly OPTED_OUT: "OPTED_OUT";
67
+ readonly PENDING: "PENDING";
68
+ };
69
+ export type SpeakerStatus = (typeof SpeakerStatus)[keyof typeof SpeakerStatus];
70
+ export declare const ExistingEnrollmentAction: {
71
+ readonly OVERWRITE: "OVERWRITE";
72
+ readonly SKIP: "SKIP";
73
+ };
74
+ export type ExistingEnrollmentAction =
75
+ (typeof ExistingEnrollmentAction)[keyof typeof ExistingEnrollmentAction];
76
+ export declare const FraudDetectionAction: {
77
+ readonly FAIL: "FAIL";
78
+ readonly IGNORE: "IGNORE";
79
+ };
80
+ export type FraudDetectionAction =
81
+ (typeof FraudDetectionAction)[keyof typeof FraudDetectionAction];
82
+ export declare const SpeakerEnrollmentJobStatus: {
83
+ readonly COMPLETED: "COMPLETED";
84
+ readonly COMPLETED_WITH_ERRORS: "COMPLETED_WITH_ERRORS";
85
+ readonly FAILED: "FAILED";
86
+ readonly IN_PROGRESS: "IN_PROGRESS";
87
+ readonly SUBMITTED: "SUBMITTED";
88
+ };
89
+ export type SpeakerEnrollmentJobStatus =
90
+ (typeof SpeakerEnrollmentJobStatus)[keyof typeof SpeakerEnrollmentJobStatus];
91
+ export declare const FraudDetectionDecision: {
92
+ readonly HIGH_RISK: "HIGH_RISK";
93
+ readonly LOW_RISK: "LOW_RISK";
94
+ readonly NOT_ENOUGH_SPEECH: "NOT_ENOUGH_SPEECH";
95
+ };
96
+ export type FraudDetectionDecision =
97
+ (typeof FraudDetectionDecision)[keyof typeof FraudDetectionDecision];
98
+ export declare const FraudDetectionReason: {
99
+ readonly KNOWN_FRAUDSTER: "KNOWN_FRAUDSTER";
100
+ readonly VOICE_SPOOFING: "VOICE_SPOOFING";
101
+ };
102
+ export type FraudDetectionReason =
103
+ (typeof FraudDetectionReason)[keyof typeof FraudDetectionReason];
104
+ export declare const StreamingStatus: {
105
+ readonly ENDED: "ENDED";
106
+ readonly ONGOING: "ONGOING";
107
+ readonly PENDING_CONFIGURATION: "PENDING_CONFIGURATION";
108
+ };
109
+ export type StreamingStatus =
110
+ (typeof StreamingStatus)[keyof typeof StreamingStatus];
@@ -1,5 +1,5 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { ConflictType, ResourceType } from "./models_0";
2
+ import { ConflictType, ResourceType } from "./enums";
3
3
  import { VoiceIDServiceException as __BaseException } from "./VoiceIDServiceException";
4
4
  export declare class AccessDeniedException extends __BaseException {
5
5
  readonly name: "AccessDeniedException";
@@ -1,3 +1,17 @@
1
+ import {
2
+ AuthenticationDecision,
3
+ DomainStatus,
4
+ DuplicateRegistrationAction,
5
+ ExistingEnrollmentAction,
6
+ FraudDetectionAction,
7
+ FraudDetectionDecision,
8
+ FraudDetectionReason,
9
+ FraudsterRegistrationJobStatus,
10
+ ServerSideEncryptionUpdateStatus,
11
+ SpeakerEnrollmentJobStatus,
12
+ SpeakerStatus,
13
+ StreamingStatus,
14
+ } from "./enums";
1
15
  export interface AssociateFraudsterRequest {
2
16
  DomainId: string | undefined;
3
17
  WatchlistId: string | undefined;
@@ -12,43 +26,9 @@ export interface Fraudster {
12
26
  export interface AssociateFraudsterResponse {
13
27
  Fraudster?: Fraudster | undefined;
14
28
  }
15
- export declare const ConflictType: {
16
- readonly ANOTHER_ACTIVE_STREAM: "ANOTHER_ACTIVE_STREAM";
17
- readonly CANNOT_CHANGE_SPEAKER_AFTER_ENROLLMENT: "CANNOT_CHANGE_SPEAKER_AFTER_ENROLLMENT";
18
- readonly CANNOT_DELETE_NON_EMPTY_WATCHLIST: "CANNOT_DELETE_NON_EMPTY_WATCHLIST";
19
- readonly CONCURRENT_CHANGES: "CONCURRENT_CHANGES";
20
- readonly DOMAIN_LOCKED_FROM_ENCRYPTION_UPDATES: "DOMAIN_LOCKED_FROM_ENCRYPTION_UPDATES";
21
- readonly DOMAIN_NOT_ACTIVE: "DOMAIN_NOT_ACTIVE";
22
- readonly ENROLLMENT_ALREADY_EXISTS: "ENROLLMENT_ALREADY_EXISTS";
23
- readonly FRAUDSTER_MUST_BELONG_TO_AT_LEAST_ONE_WATCHLIST: "FRAUDSTER_MUST_BELONG_TO_AT_LEAST_ONE_WATCHLIST";
24
- readonly SPEAKER_NOT_SET: "SPEAKER_NOT_SET";
25
- readonly SPEAKER_OPTED_OUT: "SPEAKER_OPTED_OUT";
26
- };
27
- export type ConflictType = (typeof ConflictType)[keyof typeof ConflictType];
28
- export declare const ResourceType: {
29
- readonly BATCH_JOB: "BATCH_JOB";
30
- readonly COMPLIANCE_CONSENT: "COMPLIANCE_CONSENT";
31
- readonly DOMAIN: "DOMAIN";
32
- readonly FRAUDSTER: "FRAUDSTER";
33
- readonly SESSION: "SESSION";
34
- readonly SPEAKER: "SPEAKER";
35
- readonly WATCHLIST: "WATCHLIST";
36
- };
37
- export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
38
29
  export interface AuthenticationConfiguration {
39
30
  AcceptanceThreshold: number | undefined;
40
31
  }
41
- export declare const AuthenticationDecision: {
42
- readonly ACCEPT: "ACCEPT";
43
- readonly NOT_ENOUGH_SPEECH: "NOT_ENOUGH_SPEECH";
44
- readonly REJECT: "REJECT";
45
- readonly SPEAKER_EXPIRED: "SPEAKER_EXPIRED";
46
- readonly SPEAKER_ID_NOT_PROVIDED: "SPEAKER_ID_NOT_PROVIDED";
47
- readonly SPEAKER_NOT_ENROLLED: "SPEAKER_NOT_ENROLLED";
48
- readonly SPEAKER_OPTED_OUT: "SPEAKER_OPTED_OUT";
49
- };
50
- export type AuthenticationDecision =
51
- (typeof AuthenticationDecision)[keyof typeof AuthenticationDecision];
52
32
  export interface AuthenticationResult {
53
33
  AuthenticationResultId?: string | undefined;
54
34
  AudioAggregationStartedAt?: Date | undefined;
@@ -75,19 +55,6 @@ export interface CreateDomainRequest {
75
55
  ClientToken?: string | undefined;
76
56
  Tags?: Tag[] | undefined;
77
57
  }
78
- export declare const DomainStatus: {
79
- readonly ACTIVE: "ACTIVE";
80
- readonly PENDING: "PENDING";
81
- readonly SUSPENDED: "SUSPENDED";
82
- };
83
- export type DomainStatus = (typeof DomainStatus)[keyof typeof DomainStatus];
84
- export declare const ServerSideEncryptionUpdateStatus: {
85
- readonly COMPLETED: "COMPLETED";
86
- readonly FAILED: "FAILED";
87
- readonly IN_PROGRESS: "IN_PROGRESS";
88
- };
89
- export type ServerSideEncryptionUpdateStatus =
90
- (typeof ServerSideEncryptionUpdateStatus)[keyof typeof ServerSideEncryptionUpdateStatus];
91
58
  export interface ServerSideEncryptionUpdateDetails {
92
59
  OldKmsKeyId?: string | undefined;
93
60
  UpdateStatus?: ServerSideEncryptionUpdateStatus | undefined;
@@ -175,25 +142,10 @@ export interface InputDataConfig {
175
142
  export interface JobProgress {
176
143
  PercentComplete?: number | undefined;
177
144
  }
178
- export declare const FraudsterRegistrationJobStatus: {
179
- readonly COMPLETED: "COMPLETED";
180
- readonly COMPLETED_WITH_ERRORS: "COMPLETED_WITH_ERRORS";
181
- readonly FAILED: "FAILED";
182
- readonly IN_PROGRESS: "IN_PROGRESS";
183
- readonly SUBMITTED: "SUBMITTED";
184
- };
185
- export type FraudsterRegistrationJobStatus =
186
- (typeof FraudsterRegistrationJobStatus)[keyof typeof FraudsterRegistrationJobStatus];
187
145
  export interface OutputDataConfig {
188
146
  S3Uri: string | undefined;
189
147
  KmsKeyId?: string | undefined;
190
148
  }
191
- export declare const DuplicateRegistrationAction: {
192
- readonly REGISTER_AS_NEW: "REGISTER_AS_NEW";
193
- readonly SKIP: "SKIP";
194
- };
195
- export type DuplicateRegistrationAction =
196
- (typeof DuplicateRegistrationAction)[keyof typeof DuplicateRegistrationAction];
197
149
  export interface RegistrationConfig {
198
150
  DuplicateRegistrationAction?: DuplicateRegistrationAction | undefined;
199
151
  FraudsterSimilarityThreshold?: number | undefined;
@@ -220,13 +172,6 @@ export interface DescribeSpeakerRequest {
220
172
  DomainId: string | undefined;
221
173
  SpeakerId: string | undefined;
222
174
  }
223
- export declare const SpeakerStatus: {
224
- readonly ENROLLED: "ENROLLED";
225
- readonly EXPIRED: "EXPIRED";
226
- readonly OPTED_OUT: "OPTED_OUT";
227
- readonly PENDING: "PENDING";
228
- };
229
- export type SpeakerStatus = (typeof SpeakerStatus)[keyof typeof SpeakerStatus];
230
175
  export interface Speaker {
231
176
  DomainId?: string | undefined;
232
177
  CustomerSpeakerId?: string | undefined;
@@ -243,18 +188,6 @@ export interface DescribeSpeakerEnrollmentJobRequest {
243
188
  DomainId: string | undefined;
244
189
  JobId: string | undefined;
245
190
  }
246
- export declare const ExistingEnrollmentAction: {
247
- readonly OVERWRITE: "OVERWRITE";
248
- readonly SKIP: "SKIP";
249
- };
250
- export type ExistingEnrollmentAction =
251
- (typeof ExistingEnrollmentAction)[keyof typeof ExistingEnrollmentAction];
252
- export declare const FraudDetectionAction: {
253
- readonly FAIL: "FAIL";
254
- readonly IGNORE: "IGNORE";
255
- };
256
- export type FraudDetectionAction =
257
- (typeof FraudDetectionAction)[keyof typeof FraudDetectionAction];
258
191
  export interface EnrollmentJobFraudDetectionConfig {
259
192
  FraudDetectionAction?: FraudDetectionAction | undefined;
260
193
  RiskThreshold?: number | undefined;
@@ -264,15 +197,6 @@ export interface EnrollmentConfig {
264
197
  ExistingEnrollmentAction?: ExistingEnrollmentAction | undefined;
265
198
  FraudDetectionConfig?: EnrollmentJobFraudDetectionConfig | undefined;
266
199
  }
267
- export declare const SpeakerEnrollmentJobStatus: {
268
- readonly COMPLETED: "COMPLETED";
269
- readonly COMPLETED_WITH_ERRORS: "COMPLETED_WITH_ERRORS";
270
- readonly FAILED: "FAILED";
271
- readonly IN_PROGRESS: "IN_PROGRESS";
272
- readonly SUBMITTED: "SUBMITTED";
273
- };
274
- export type SpeakerEnrollmentJobStatus =
275
- (typeof SpeakerEnrollmentJobStatus)[keyof typeof SpeakerEnrollmentJobStatus];
276
200
  export interface SpeakerEnrollmentJob {
277
201
  JobName?: string | undefined;
278
202
  JobId?: string | undefined;
@@ -348,19 +272,6 @@ export interface FraudDetectionConfiguration {
348
272
  RiskThreshold?: number | undefined;
349
273
  WatchlistId?: string | undefined;
350
274
  }
351
- export declare const FraudDetectionDecision: {
352
- readonly HIGH_RISK: "HIGH_RISK";
353
- readonly LOW_RISK: "LOW_RISK";
354
- readonly NOT_ENOUGH_SPEECH: "NOT_ENOUGH_SPEECH";
355
- };
356
- export type FraudDetectionDecision =
357
- (typeof FraudDetectionDecision)[keyof typeof FraudDetectionDecision];
358
- export declare const FraudDetectionReason: {
359
- readonly KNOWN_FRAUDSTER: "KNOWN_FRAUDSTER";
360
- readonly VOICE_SPOOFING: "VOICE_SPOOFING";
361
- };
362
- export type FraudDetectionReason =
363
- (typeof FraudDetectionReason)[keyof typeof FraudDetectionReason];
364
275
  export interface KnownFraudsterRisk {
365
276
  RiskScore: number | undefined;
366
277
  GeneratedFraudsterId?: string | undefined;
@@ -381,13 +292,6 @@ export interface FraudDetectionResult {
381
292
  Reasons?: FraudDetectionReason[] | undefined;
382
293
  RiskDetails?: FraudRiskDetails | undefined;
383
294
  }
384
- export declare const StreamingStatus: {
385
- readonly ENDED: "ENDED";
386
- readonly ONGOING: "ONGOING";
387
- readonly PENDING_CONFIGURATION: "PENDING_CONFIGURATION";
388
- };
389
- export type StreamingStatus =
390
- (typeof StreamingStatus)[keyof typeof StreamingStatus];
391
295
  export interface EvaluateSessionResponse {
392
296
  DomainId?: string | undefined;
393
297
  SessionId?: string | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-voice-id",
3
3
  "description": "AWS SDK for JavaScript Voice Id Client for Node.js, Browser and React Native",
4
- "version": "3.936.0",
4
+ "version": "3.939.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-voice-id",
@@ -21,7 +21,7 @@
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
23
  "@aws-sdk/core": "3.936.0",
24
- "@aws-sdk/credential-provider-node": "3.936.0",
24
+ "@aws-sdk/credential-provider-node": "3.939.0",
25
25
  "@aws-sdk/middleware-host-header": "3.936.0",
26
26
  "@aws-sdk/middleware-logger": "3.936.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.936.0",