@aws-sdk/client-voice-id 3.301.0 → 3.306.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/models/models_0.js +86 -100
- package/dist-es/models/models_0.js +86 -100
- package/dist-types/models/models_0.d.ts +156 -86
- package/dist-types/ts3.4/models/models_0.d.ts +110 -86
- package/package.json +34 -34
|
@@ -18,19 +18,18 @@ class AccessDeniedException extends VoiceIDServiceException_1.VoiceIDServiceExce
|
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
exports.AccessDeniedException = AccessDeniedException;
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
})(ConflictType = exports.ConflictType || (exports.ConflictType = {}));
|
|
21
|
+
exports.ConflictType = {
|
|
22
|
+
ANOTHER_ACTIVE_STREAM: "ANOTHER_ACTIVE_STREAM",
|
|
23
|
+
CANNOT_CHANGE_SPEAKER_AFTER_ENROLLMENT: "CANNOT_CHANGE_SPEAKER_AFTER_ENROLLMENT",
|
|
24
|
+
CANNOT_DELETE_NON_EMPTY_WATCHLIST: "CANNOT_DELETE_NON_EMPTY_WATCHLIST",
|
|
25
|
+
CONCURRENT_CHANGES: "CONCURRENT_CHANGES",
|
|
26
|
+
DOMAIN_LOCKED_FROM_ENCRYPTION_UPDATES: "DOMAIN_LOCKED_FROM_ENCRYPTION_UPDATES",
|
|
27
|
+
DOMAIN_NOT_ACTIVE: "DOMAIN_NOT_ACTIVE",
|
|
28
|
+
ENROLLMENT_ALREADY_EXISTS: "ENROLLMENT_ALREADY_EXISTS",
|
|
29
|
+
FRAUDSTER_MUST_BELONG_TO_AT_LEAST_ONE_WATCHLIST: "FRAUDSTER_MUST_BELONG_TO_AT_LEAST_ONE_WATCHLIST",
|
|
30
|
+
SPEAKER_NOT_SET: "SPEAKER_NOT_SET",
|
|
31
|
+
SPEAKER_OPTED_OUT: "SPEAKER_OPTED_OUT",
|
|
32
|
+
};
|
|
34
33
|
class ConflictException extends VoiceIDServiceException_1.VoiceIDServiceException {
|
|
35
34
|
constructor(opts) {
|
|
36
35
|
super({
|
|
@@ -60,16 +59,15 @@ class InternalServerException extends VoiceIDServiceException_1.VoiceIDServiceEx
|
|
|
60
59
|
}
|
|
61
60
|
}
|
|
62
61
|
exports.InternalServerException = InternalServerException;
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
})(ResourceType = exports.ResourceType || (exports.ResourceType = {}));
|
|
62
|
+
exports.ResourceType = {
|
|
63
|
+
BATCH_JOB: "BATCH_JOB",
|
|
64
|
+
COMPLIANCE_CONSENT: "COMPLIANCE_CONSENT",
|
|
65
|
+
DOMAIN: "DOMAIN",
|
|
66
|
+
FRAUDSTER: "FRAUDSTER",
|
|
67
|
+
SESSION: "SESSION",
|
|
68
|
+
SPEAKER: "SPEAKER",
|
|
69
|
+
WATCHLIST: "WATCHLIST",
|
|
70
|
+
};
|
|
73
71
|
class ResourceNotFoundException extends VoiceIDServiceException_1.VoiceIDServiceException {
|
|
74
72
|
constructor(opts) {
|
|
75
73
|
super({
|
|
@@ -127,83 +125,71 @@ class ValidationException extends VoiceIDServiceException_1.VoiceIDServiceExcept
|
|
|
127
125
|
}
|
|
128
126
|
}
|
|
129
127
|
exports.ValidationException = ValidationException;
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
})(FraudDetectionDecision = exports.FraudDetectionDecision || (exports.FraudDetectionDecision = {}));
|
|
196
|
-
var FraudDetectionReason;
|
|
197
|
-
(function (FraudDetectionReason) {
|
|
198
|
-
FraudDetectionReason["KNOWN_FRAUDSTER"] = "KNOWN_FRAUDSTER";
|
|
199
|
-
FraudDetectionReason["VOICE_SPOOFING"] = "VOICE_SPOOFING";
|
|
200
|
-
})(FraudDetectionReason = exports.FraudDetectionReason || (exports.FraudDetectionReason = {}));
|
|
201
|
-
var StreamingStatus;
|
|
202
|
-
(function (StreamingStatus) {
|
|
203
|
-
StreamingStatus["ENDED"] = "ENDED";
|
|
204
|
-
StreamingStatus["ONGOING"] = "ONGOING";
|
|
205
|
-
StreamingStatus["PENDING_CONFIGURATION"] = "PENDING_CONFIGURATION";
|
|
206
|
-
})(StreamingStatus = exports.StreamingStatus || (exports.StreamingStatus = {}));
|
|
128
|
+
exports.AuthenticationDecision = {
|
|
129
|
+
ACCEPT: "ACCEPT",
|
|
130
|
+
NOT_ENOUGH_SPEECH: "NOT_ENOUGH_SPEECH",
|
|
131
|
+
REJECT: "REJECT",
|
|
132
|
+
SPEAKER_EXPIRED: "SPEAKER_EXPIRED",
|
|
133
|
+
SPEAKER_ID_NOT_PROVIDED: "SPEAKER_ID_NOT_PROVIDED",
|
|
134
|
+
SPEAKER_NOT_ENROLLED: "SPEAKER_NOT_ENROLLED",
|
|
135
|
+
SPEAKER_OPTED_OUT: "SPEAKER_OPTED_OUT",
|
|
136
|
+
};
|
|
137
|
+
exports.DomainStatus = {
|
|
138
|
+
ACTIVE: "ACTIVE",
|
|
139
|
+
PENDING: "PENDING",
|
|
140
|
+
SUSPENDED: "SUSPENDED",
|
|
141
|
+
};
|
|
142
|
+
exports.ServerSideEncryptionUpdateStatus = {
|
|
143
|
+
COMPLETED: "COMPLETED",
|
|
144
|
+
FAILED: "FAILED",
|
|
145
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
146
|
+
};
|
|
147
|
+
exports.FraudsterRegistrationJobStatus = {
|
|
148
|
+
COMPLETED: "COMPLETED",
|
|
149
|
+
COMPLETED_WITH_ERRORS: "COMPLETED_WITH_ERRORS",
|
|
150
|
+
FAILED: "FAILED",
|
|
151
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
152
|
+
SUBMITTED: "SUBMITTED",
|
|
153
|
+
};
|
|
154
|
+
exports.DuplicateRegistrationAction = {
|
|
155
|
+
REGISTER_AS_NEW: "REGISTER_AS_NEW",
|
|
156
|
+
SKIP: "SKIP",
|
|
157
|
+
};
|
|
158
|
+
exports.SpeakerStatus = {
|
|
159
|
+
ENROLLED: "ENROLLED",
|
|
160
|
+
EXPIRED: "EXPIRED",
|
|
161
|
+
OPTED_OUT: "OPTED_OUT",
|
|
162
|
+
PENDING: "PENDING",
|
|
163
|
+
};
|
|
164
|
+
exports.ExistingEnrollmentAction = {
|
|
165
|
+
OVERWRITE: "OVERWRITE",
|
|
166
|
+
SKIP: "SKIP",
|
|
167
|
+
};
|
|
168
|
+
exports.FraudDetectionAction = {
|
|
169
|
+
FAIL: "FAIL",
|
|
170
|
+
IGNORE: "IGNORE",
|
|
171
|
+
};
|
|
172
|
+
exports.SpeakerEnrollmentJobStatus = {
|
|
173
|
+
COMPLETED: "COMPLETED",
|
|
174
|
+
COMPLETED_WITH_ERRORS: "COMPLETED_WITH_ERRORS",
|
|
175
|
+
FAILED: "FAILED",
|
|
176
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
177
|
+
SUBMITTED: "SUBMITTED",
|
|
178
|
+
};
|
|
179
|
+
exports.FraudDetectionDecision = {
|
|
180
|
+
HIGH_RISK: "HIGH_RISK",
|
|
181
|
+
LOW_RISK: "LOW_RISK",
|
|
182
|
+
NOT_ENOUGH_SPEECH: "NOT_ENOUGH_SPEECH",
|
|
183
|
+
};
|
|
184
|
+
exports.FraudDetectionReason = {
|
|
185
|
+
KNOWN_FRAUDSTER: "KNOWN_FRAUDSTER",
|
|
186
|
+
VOICE_SPOOFING: "VOICE_SPOOFING",
|
|
187
|
+
};
|
|
188
|
+
exports.StreamingStatus = {
|
|
189
|
+
ENDED: "ENDED",
|
|
190
|
+
ONGOING: "ONGOING",
|
|
191
|
+
PENDING_CONFIGURATION: "PENDING_CONFIGURATION",
|
|
192
|
+
};
|
|
207
193
|
const AssociateFraudsterRequestFilterSensitiveLog = (obj) => ({
|
|
208
194
|
...obj,
|
|
209
195
|
...(obj.FraudsterId && { FraudsterId: smithy_client_1.SENSITIVE_STRING }),
|
|
@@ -13,19 +13,18 @@ export class AccessDeniedException extends __BaseException {
|
|
|
13
13
|
this.Message = opts.Message;
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
|
-
export
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
})(ConflictType || (ConflictType = {}));
|
|
16
|
+
export const ConflictType = {
|
|
17
|
+
ANOTHER_ACTIVE_STREAM: "ANOTHER_ACTIVE_STREAM",
|
|
18
|
+
CANNOT_CHANGE_SPEAKER_AFTER_ENROLLMENT: "CANNOT_CHANGE_SPEAKER_AFTER_ENROLLMENT",
|
|
19
|
+
CANNOT_DELETE_NON_EMPTY_WATCHLIST: "CANNOT_DELETE_NON_EMPTY_WATCHLIST",
|
|
20
|
+
CONCURRENT_CHANGES: "CONCURRENT_CHANGES",
|
|
21
|
+
DOMAIN_LOCKED_FROM_ENCRYPTION_UPDATES: "DOMAIN_LOCKED_FROM_ENCRYPTION_UPDATES",
|
|
22
|
+
DOMAIN_NOT_ACTIVE: "DOMAIN_NOT_ACTIVE",
|
|
23
|
+
ENROLLMENT_ALREADY_EXISTS: "ENROLLMENT_ALREADY_EXISTS",
|
|
24
|
+
FRAUDSTER_MUST_BELONG_TO_AT_LEAST_ONE_WATCHLIST: "FRAUDSTER_MUST_BELONG_TO_AT_LEAST_ONE_WATCHLIST",
|
|
25
|
+
SPEAKER_NOT_SET: "SPEAKER_NOT_SET",
|
|
26
|
+
SPEAKER_OPTED_OUT: "SPEAKER_OPTED_OUT",
|
|
27
|
+
};
|
|
29
28
|
export class ConflictException extends __BaseException {
|
|
30
29
|
constructor(opts) {
|
|
31
30
|
super({
|
|
@@ -53,16 +52,15 @@ export class InternalServerException extends __BaseException {
|
|
|
53
52
|
this.Message = opts.Message;
|
|
54
53
|
}
|
|
55
54
|
}
|
|
56
|
-
export
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
})(ResourceType || (ResourceType = {}));
|
|
55
|
+
export const ResourceType = {
|
|
56
|
+
BATCH_JOB: "BATCH_JOB",
|
|
57
|
+
COMPLIANCE_CONSENT: "COMPLIANCE_CONSENT",
|
|
58
|
+
DOMAIN: "DOMAIN",
|
|
59
|
+
FRAUDSTER: "FRAUDSTER",
|
|
60
|
+
SESSION: "SESSION",
|
|
61
|
+
SPEAKER: "SPEAKER",
|
|
62
|
+
WATCHLIST: "WATCHLIST",
|
|
63
|
+
};
|
|
66
64
|
export class ResourceNotFoundException extends __BaseException {
|
|
67
65
|
constructor(opts) {
|
|
68
66
|
super({
|
|
@@ -116,83 +114,71 @@ export class ValidationException extends __BaseException {
|
|
|
116
114
|
this.Message = opts.Message;
|
|
117
115
|
}
|
|
118
116
|
}
|
|
119
|
-
export
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
}
|
|
149
|
-
export
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
}
|
|
179
|
-
export
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
})(FraudDetectionDecision || (FraudDetectionDecision = {}));
|
|
185
|
-
export var FraudDetectionReason;
|
|
186
|
-
(function (FraudDetectionReason) {
|
|
187
|
-
FraudDetectionReason["KNOWN_FRAUDSTER"] = "KNOWN_FRAUDSTER";
|
|
188
|
-
FraudDetectionReason["VOICE_SPOOFING"] = "VOICE_SPOOFING";
|
|
189
|
-
})(FraudDetectionReason || (FraudDetectionReason = {}));
|
|
190
|
-
export var StreamingStatus;
|
|
191
|
-
(function (StreamingStatus) {
|
|
192
|
-
StreamingStatus["ENDED"] = "ENDED";
|
|
193
|
-
StreamingStatus["ONGOING"] = "ONGOING";
|
|
194
|
-
StreamingStatus["PENDING_CONFIGURATION"] = "PENDING_CONFIGURATION";
|
|
195
|
-
})(StreamingStatus || (StreamingStatus = {}));
|
|
117
|
+
export const AuthenticationDecision = {
|
|
118
|
+
ACCEPT: "ACCEPT",
|
|
119
|
+
NOT_ENOUGH_SPEECH: "NOT_ENOUGH_SPEECH",
|
|
120
|
+
REJECT: "REJECT",
|
|
121
|
+
SPEAKER_EXPIRED: "SPEAKER_EXPIRED",
|
|
122
|
+
SPEAKER_ID_NOT_PROVIDED: "SPEAKER_ID_NOT_PROVIDED",
|
|
123
|
+
SPEAKER_NOT_ENROLLED: "SPEAKER_NOT_ENROLLED",
|
|
124
|
+
SPEAKER_OPTED_OUT: "SPEAKER_OPTED_OUT",
|
|
125
|
+
};
|
|
126
|
+
export const DomainStatus = {
|
|
127
|
+
ACTIVE: "ACTIVE",
|
|
128
|
+
PENDING: "PENDING",
|
|
129
|
+
SUSPENDED: "SUSPENDED",
|
|
130
|
+
};
|
|
131
|
+
export const ServerSideEncryptionUpdateStatus = {
|
|
132
|
+
COMPLETED: "COMPLETED",
|
|
133
|
+
FAILED: "FAILED",
|
|
134
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
135
|
+
};
|
|
136
|
+
export const FraudsterRegistrationJobStatus = {
|
|
137
|
+
COMPLETED: "COMPLETED",
|
|
138
|
+
COMPLETED_WITH_ERRORS: "COMPLETED_WITH_ERRORS",
|
|
139
|
+
FAILED: "FAILED",
|
|
140
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
141
|
+
SUBMITTED: "SUBMITTED",
|
|
142
|
+
};
|
|
143
|
+
export const DuplicateRegistrationAction = {
|
|
144
|
+
REGISTER_AS_NEW: "REGISTER_AS_NEW",
|
|
145
|
+
SKIP: "SKIP",
|
|
146
|
+
};
|
|
147
|
+
export const SpeakerStatus = {
|
|
148
|
+
ENROLLED: "ENROLLED",
|
|
149
|
+
EXPIRED: "EXPIRED",
|
|
150
|
+
OPTED_OUT: "OPTED_OUT",
|
|
151
|
+
PENDING: "PENDING",
|
|
152
|
+
};
|
|
153
|
+
export const ExistingEnrollmentAction = {
|
|
154
|
+
OVERWRITE: "OVERWRITE",
|
|
155
|
+
SKIP: "SKIP",
|
|
156
|
+
};
|
|
157
|
+
export const FraudDetectionAction = {
|
|
158
|
+
FAIL: "FAIL",
|
|
159
|
+
IGNORE: "IGNORE",
|
|
160
|
+
};
|
|
161
|
+
export const SpeakerEnrollmentJobStatus = {
|
|
162
|
+
COMPLETED: "COMPLETED",
|
|
163
|
+
COMPLETED_WITH_ERRORS: "COMPLETED_WITH_ERRORS",
|
|
164
|
+
FAILED: "FAILED",
|
|
165
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
166
|
+
SUBMITTED: "SUBMITTED",
|
|
167
|
+
};
|
|
168
|
+
export const FraudDetectionDecision = {
|
|
169
|
+
HIGH_RISK: "HIGH_RISK",
|
|
170
|
+
LOW_RISK: "LOW_RISK",
|
|
171
|
+
NOT_ENOUGH_SPEECH: "NOT_ENOUGH_SPEECH",
|
|
172
|
+
};
|
|
173
|
+
export const FraudDetectionReason = {
|
|
174
|
+
KNOWN_FRAUDSTER: "KNOWN_FRAUDSTER",
|
|
175
|
+
VOICE_SPOOFING: "VOICE_SPOOFING",
|
|
176
|
+
};
|
|
177
|
+
export const StreamingStatus = {
|
|
178
|
+
ENDED: "ENDED",
|
|
179
|
+
ONGOING: "ONGOING",
|
|
180
|
+
PENDING_CONFIGURATION: "PENDING_CONFIGURATION",
|
|
181
|
+
};
|
|
196
182
|
export const AssociateFraudsterRequestFilterSensitiveLog = (obj) => ({
|
|
197
183
|
...obj,
|
|
198
184
|
...(obj.FraudsterId && { FraudsterId: SENSITIVE_STRING }),
|
|
@@ -64,19 +64,24 @@ export interface AssociateFraudsterResponse {
|
|
|
64
64
|
}
|
|
65
65
|
/**
|
|
66
66
|
* @public
|
|
67
|
+
* @enum
|
|
67
68
|
*/
|
|
68
|
-
export declare
|
|
69
|
-
ANOTHER_ACTIVE_STREAM
|
|
70
|
-
CANNOT_CHANGE_SPEAKER_AFTER_ENROLLMENT
|
|
71
|
-
CANNOT_DELETE_NON_EMPTY_WATCHLIST
|
|
72
|
-
CONCURRENT_CHANGES
|
|
73
|
-
DOMAIN_LOCKED_FROM_ENCRYPTION_UPDATES
|
|
74
|
-
DOMAIN_NOT_ACTIVE
|
|
75
|
-
ENROLLMENT_ALREADY_EXISTS
|
|
76
|
-
FRAUDSTER_MUST_BELONG_TO_AT_LEAST_ONE_WATCHLIST
|
|
77
|
-
SPEAKER_NOT_SET
|
|
78
|
-
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
|
|
147
|
-
BATCH_JOB
|
|
148
|
-
COMPLIANCE_CONSENT
|
|
149
|
-
DOMAIN
|
|
150
|
-
FRAUDSTER
|
|
151
|
-
SESSION
|
|
152
|
-
SPEAKER
|
|
153
|
-
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
|
|
232
|
-
ACCEPT
|
|
233
|
-
NOT_ENOUGH_SPEECH
|
|
234
|
-
REJECT
|
|
235
|
-
SPEAKER_EXPIRED
|
|
236
|
-
SPEAKER_ID_NOT_PROVIDED
|
|
237
|
-
SPEAKER_NOT_ENROLLED
|
|
238
|
-
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
|
|
354
|
-
ACTIVE
|
|
355
|
-
PENDING
|
|
356
|
-
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
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
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
|
|
668
|
-
COMPLETED
|
|
669
|
-
COMPLETED_WITH_ERRORS
|
|
670
|
-
FAILED
|
|
671
|
-
IN_PROGRESS
|
|
672
|
-
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
|
|
698
|
-
REGISTER_AS_NEW
|
|
699
|
-
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
|
|
815
|
-
ENROLLED
|
|
816
|
-
EXPIRED
|
|
817
|
-
OPTED_OUT
|
|
818
|
-
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
|
|
881
|
-
OVERWRITE
|
|
882
|
-
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
|
|
888
|
-
|
|
889
|
-
|
|
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
|
|
937
|
-
COMPLETED
|
|
938
|
-
COMPLETED_WITH_ERRORS
|
|
939
|
-
FAILED
|
|
940
|
-
IN_PROGRESS
|
|
941
|
-
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
|
|
1218
|
-
HIGH_RISK
|
|
1219
|
-
LOW_RISK
|
|
1220
|
-
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
|
|
1226
|
-
|
|
1227
|
-
|
|
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
|
|
1321
|
-
ENDED
|
|
1322
|
-
ONGOING
|
|
1323
|
-
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
|
*/
|
|
@@ -22,18 +22,19 @@ export interface Fraudster {
|
|
|
22
22
|
export interface AssociateFraudsterResponse {
|
|
23
23
|
Fraudster?: Fraudster;
|
|
24
24
|
}
|
|
25
|
-
export declare
|
|
26
|
-
ANOTHER_ACTIVE_STREAM
|
|
27
|
-
CANNOT_CHANGE_SPEAKER_AFTER_ENROLLMENT
|
|
28
|
-
CANNOT_DELETE_NON_EMPTY_WATCHLIST
|
|
29
|
-
CONCURRENT_CHANGES
|
|
30
|
-
DOMAIN_LOCKED_FROM_ENCRYPTION_UPDATES
|
|
31
|
-
DOMAIN_NOT_ACTIVE
|
|
32
|
-
ENROLLMENT_ALREADY_EXISTS
|
|
33
|
-
FRAUDSTER_MUST_BELONG_TO_AT_LEAST_ONE_WATCHLIST
|
|
34
|
-
SPEAKER_NOT_SET
|
|
35
|
-
SPEAKER_OPTED_OUT
|
|
36
|
-
}
|
|
25
|
+
export declare const ConflictType: {
|
|
26
|
+
readonly ANOTHER_ACTIVE_STREAM: "ANOTHER_ACTIVE_STREAM";
|
|
27
|
+
readonly CANNOT_CHANGE_SPEAKER_AFTER_ENROLLMENT: "CANNOT_CHANGE_SPEAKER_AFTER_ENROLLMENT";
|
|
28
|
+
readonly CANNOT_DELETE_NON_EMPTY_WATCHLIST: "CANNOT_DELETE_NON_EMPTY_WATCHLIST";
|
|
29
|
+
readonly CONCURRENT_CHANGES: "CONCURRENT_CHANGES";
|
|
30
|
+
readonly DOMAIN_LOCKED_FROM_ENCRYPTION_UPDATES: "DOMAIN_LOCKED_FROM_ENCRYPTION_UPDATES";
|
|
31
|
+
readonly DOMAIN_NOT_ACTIVE: "DOMAIN_NOT_ACTIVE";
|
|
32
|
+
readonly ENROLLMENT_ALREADY_EXISTS: "ENROLLMENT_ALREADY_EXISTS";
|
|
33
|
+
readonly FRAUDSTER_MUST_BELONG_TO_AT_LEAST_ONE_WATCHLIST: "FRAUDSTER_MUST_BELONG_TO_AT_LEAST_ONE_WATCHLIST";
|
|
34
|
+
readonly SPEAKER_NOT_SET: "SPEAKER_NOT_SET";
|
|
35
|
+
readonly SPEAKER_OPTED_OUT: "SPEAKER_OPTED_OUT";
|
|
36
|
+
};
|
|
37
|
+
export type ConflictType = (typeof ConflictType)[keyof typeof ConflictType];
|
|
37
38
|
export declare class ConflictException extends __BaseException {
|
|
38
39
|
readonly name: "ConflictException";
|
|
39
40
|
readonly $fault: "client";
|
|
@@ -49,15 +50,16 @@ export declare class InternalServerException extends __BaseException {
|
|
|
49
50
|
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
50
51
|
);
|
|
51
52
|
}
|
|
52
|
-
export declare
|
|
53
|
-
BATCH_JOB
|
|
54
|
-
COMPLIANCE_CONSENT
|
|
55
|
-
DOMAIN
|
|
56
|
-
FRAUDSTER
|
|
57
|
-
SESSION
|
|
58
|
-
SPEAKER
|
|
59
|
-
WATCHLIST
|
|
60
|
-
}
|
|
53
|
+
export declare const ResourceType: {
|
|
54
|
+
readonly BATCH_JOB: "BATCH_JOB";
|
|
55
|
+
readonly COMPLIANCE_CONSENT: "COMPLIANCE_CONSENT";
|
|
56
|
+
readonly DOMAIN: "DOMAIN";
|
|
57
|
+
readonly FRAUDSTER: "FRAUDSTER";
|
|
58
|
+
readonly SESSION: "SESSION";
|
|
59
|
+
readonly SPEAKER: "SPEAKER";
|
|
60
|
+
readonly WATCHLIST: "WATCHLIST";
|
|
61
|
+
};
|
|
62
|
+
export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
|
|
61
63
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
62
64
|
readonly name: "ResourceNotFoundException";
|
|
63
65
|
readonly $fault: "client";
|
|
@@ -94,15 +96,17 @@ export declare class ValidationException extends __BaseException {
|
|
|
94
96
|
export interface AuthenticationConfiguration {
|
|
95
97
|
AcceptanceThreshold: number | undefined;
|
|
96
98
|
}
|
|
97
|
-
export declare
|
|
98
|
-
ACCEPT
|
|
99
|
-
NOT_ENOUGH_SPEECH
|
|
100
|
-
REJECT
|
|
101
|
-
SPEAKER_EXPIRED
|
|
102
|
-
SPEAKER_ID_NOT_PROVIDED
|
|
103
|
-
SPEAKER_NOT_ENROLLED
|
|
104
|
-
SPEAKER_OPTED_OUT
|
|
105
|
-
}
|
|
99
|
+
export declare const AuthenticationDecision: {
|
|
100
|
+
readonly ACCEPT: "ACCEPT";
|
|
101
|
+
readonly NOT_ENOUGH_SPEECH: "NOT_ENOUGH_SPEECH";
|
|
102
|
+
readonly REJECT: "REJECT";
|
|
103
|
+
readonly SPEAKER_EXPIRED: "SPEAKER_EXPIRED";
|
|
104
|
+
readonly SPEAKER_ID_NOT_PROVIDED: "SPEAKER_ID_NOT_PROVIDED";
|
|
105
|
+
readonly SPEAKER_NOT_ENROLLED: "SPEAKER_NOT_ENROLLED";
|
|
106
|
+
readonly SPEAKER_OPTED_OUT: "SPEAKER_OPTED_OUT";
|
|
107
|
+
};
|
|
108
|
+
export type AuthenticationDecision =
|
|
109
|
+
(typeof AuthenticationDecision)[keyof typeof AuthenticationDecision];
|
|
106
110
|
export interface AuthenticationResult {
|
|
107
111
|
AuthenticationResultId?: string;
|
|
108
112
|
AudioAggregationStartedAt?: Date;
|
|
@@ -129,16 +133,19 @@ export interface CreateDomainRequest {
|
|
|
129
133
|
ClientToken?: string;
|
|
130
134
|
Tags?: Tag[];
|
|
131
135
|
}
|
|
132
|
-
export declare
|
|
133
|
-
ACTIVE
|
|
134
|
-
PENDING
|
|
135
|
-
SUSPENDED
|
|
136
|
-
}
|
|
137
|
-
export
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
136
|
+
export declare const DomainStatus: {
|
|
137
|
+
readonly ACTIVE: "ACTIVE";
|
|
138
|
+
readonly PENDING: "PENDING";
|
|
139
|
+
readonly SUSPENDED: "SUSPENDED";
|
|
140
|
+
};
|
|
141
|
+
export type DomainStatus = (typeof DomainStatus)[keyof typeof DomainStatus];
|
|
142
|
+
export declare const ServerSideEncryptionUpdateStatus: {
|
|
143
|
+
readonly COMPLETED: "COMPLETED";
|
|
144
|
+
readonly FAILED: "FAILED";
|
|
145
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
146
|
+
};
|
|
147
|
+
export type ServerSideEncryptionUpdateStatus =
|
|
148
|
+
(typeof ServerSideEncryptionUpdateStatus)[keyof typeof ServerSideEncryptionUpdateStatus];
|
|
142
149
|
export interface ServerSideEncryptionUpdateDetails {
|
|
143
150
|
OldKmsKeyId?: string;
|
|
144
151
|
UpdateStatus?: ServerSideEncryptionUpdateStatus | string;
|
|
@@ -222,21 +229,25 @@ export interface InputDataConfig {
|
|
|
222
229
|
export interface JobProgress {
|
|
223
230
|
PercentComplete?: number;
|
|
224
231
|
}
|
|
225
|
-
export declare
|
|
226
|
-
COMPLETED
|
|
227
|
-
COMPLETED_WITH_ERRORS
|
|
228
|
-
FAILED
|
|
229
|
-
IN_PROGRESS
|
|
230
|
-
SUBMITTED
|
|
231
|
-
}
|
|
232
|
+
export declare const FraudsterRegistrationJobStatus: {
|
|
233
|
+
readonly COMPLETED: "COMPLETED";
|
|
234
|
+
readonly COMPLETED_WITH_ERRORS: "COMPLETED_WITH_ERRORS";
|
|
235
|
+
readonly FAILED: "FAILED";
|
|
236
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
237
|
+
readonly SUBMITTED: "SUBMITTED";
|
|
238
|
+
};
|
|
239
|
+
export type FraudsterRegistrationJobStatus =
|
|
240
|
+
(typeof FraudsterRegistrationJobStatus)[keyof typeof FraudsterRegistrationJobStatus];
|
|
232
241
|
export interface OutputDataConfig {
|
|
233
242
|
S3Uri: string | undefined;
|
|
234
243
|
KmsKeyId?: string;
|
|
235
244
|
}
|
|
236
|
-
export declare
|
|
237
|
-
REGISTER_AS_NEW
|
|
238
|
-
SKIP
|
|
239
|
-
}
|
|
245
|
+
export declare const DuplicateRegistrationAction: {
|
|
246
|
+
readonly REGISTER_AS_NEW: "REGISTER_AS_NEW";
|
|
247
|
+
readonly SKIP: "SKIP";
|
|
248
|
+
};
|
|
249
|
+
export type DuplicateRegistrationAction =
|
|
250
|
+
(typeof DuplicateRegistrationAction)[keyof typeof DuplicateRegistrationAction];
|
|
240
251
|
export interface RegistrationConfig {
|
|
241
252
|
DuplicateRegistrationAction?: DuplicateRegistrationAction | string;
|
|
242
253
|
FraudsterSimilarityThreshold?: number;
|
|
@@ -263,12 +274,13 @@ export interface DescribeSpeakerRequest {
|
|
|
263
274
|
DomainId: string | undefined;
|
|
264
275
|
SpeakerId: string | undefined;
|
|
265
276
|
}
|
|
266
|
-
export declare
|
|
267
|
-
ENROLLED
|
|
268
|
-
EXPIRED
|
|
269
|
-
OPTED_OUT
|
|
270
|
-
PENDING
|
|
271
|
-
}
|
|
277
|
+
export declare const SpeakerStatus: {
|
|
278
|
+
readonly ENROLLED: "ENROLLED";
|
|
279
|
+
readonly EXPIRED: "EXPIRED";
|
|
280
|
+
readonly OPTED_OUT: "OPTED_OUT";
|
|
281
|
+
readonly PENDING: "PENDING";
|
|
282
|
+
};
|
|
283
|
+
export type SpeakerStatus = (typeof SpeakerStatus)[keyof typeof SpeakerStatus];
|
|
272
284
|
export interface Speaker {
|
|
273
285
|
DomainId?: string;
|
|
274
286
|
CustomerSpeakerId?: string;
|
|
@@ -285,14 +297,18 @@ export interface DescribeSpeakerEnrollmentJobRequest {
|
|
|
285
297
|
DomainId: string | undefined;
|
|
286
298
|
JobId: string | undefined;
|
|
287
299
|
}
|
|
288
|
-
export declare
|
|
289
|
-
OVERWRITE
|
|
290
|
-
SKIP
|
|
291
|
-
}
|
|
292
|
-
export
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
300
|
+
export declare const ExistingEnrollmentAction: {
|
|
301
|
+
readonly OVERWRITE: "OVERWRITE";
|
|
302
|
+
readonly SKIP: "SKIP";
|
|
303
|
+
};
|
|
304
|
+
export type ExistingEnrollmentAction =
|
|
305
|
+
(typeof ExistingEnrollmentAction)[keyof typeof ExistingEnrollmentAction];
|
|
306
|
+
export declare const FraudDetectionAction: {
|
|
307
|
+
readonly FAIL: "FAIL";
|
|
308
|
+
readonly IGNORE: "IGNORE";
|
|
309
|
+
};
|
|
310
|
+
export type FraudDetectionAction =
|
|
311
|
+
(typeof FraudDetectionAction)[keyof typeof FraudDetectionAction];
|
|
296
312
|
export interface EnrollmentJobFraudDetectionConfig {
|
|
297
313
|
FraudDetectionAction?: FraudDetectionAction | string;
|
|
298
314
|
RiskThreshold?: number;
|
|
@@ -302,13 +318,15 @@ export interface EnrollmentConfig {
|
|
|
302
318
|
ExistingEnrollmentAction?: ExistingEnrollmentAction | string;
|
|
303
319
|
FraudDetectionConfig?: EnrollmentJobFraudDetectionConfig;
|
|
304
320
|
}
|
|
305
|
-
export declare
|
|
306
|
-
COMPLETED
|
|
307
|
-
COMPLETED_WITH_ERRORS
|
|
308
|
-
FAILED
|
|
309
|
-
IN_PROGRESS
|
|
310
|
-
SUBMITTED
|
|
311
|
-
}
|
|
321
|
+
export declare const SpeakerEnrollmentJobStatus: {
|
|
322
|
+
readonly COMPLETED: "COMPLETED";
|
|
323
|
+
readonly COMPLETED_WITH_ERRORS: "COMPLETED_WITH_ERRORS";
|
|
324
|
+
readonly FAILED: "FAILED";
|
|
325
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
326
|
+
readonly SUBMITTED: "SUBMITTED";
|
|
327
|
+
};
|
|
328
|
+
export type SpeakerEnrollmentJobStatus =
|
|
329
|
+
(typeof SpeakerEnrollmentJobStatus)[keyof typeof SpeakerEnrollmentJobStatus];
|
|
312
330
|
export interface SpeakerEnrollmentJob {
|
|
313
331
|
JobName?: string;
|
|
314
332
|
JobId?: string;
|
|
@@ -380,15 +398,19 @@ export interface FraudDetectionConfiguration {
|
|
|
380
398
|
RiskThreshold?: number;
|
|
381
399
|
WatchlistId?: string;
|
|
382
400
|
}
|
|
383
|
-
export declare
|
|
384
|
-
HIGH_RISK
|
|
385
|
-
LOW_RISK
|
|
386
|
-
NOT_ENOUGH_SPEECH
|
|
387
|
-
}
|
|
388
|
-
export
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
401
|
+
export declare const FraudDetectionDecision: {
|
|
402
|
+
readonly HIGH_RISK: "HIGH_RISK";
|
|
403
|
+
readonly LOW_RISK: "LOW_RISK";
|
|
404
|
+
readonly NOT_ENOUGH_SPEECH: "NOT_ENOUGH_SPEECH";
|
|
405
|
+
};
|
|
406
|
+
export type FraudDetectionDecision =
|
|
407
|
+
(typeof FraudDetectionDecision)[keyof typeof FraudDetectionDecision];
|
|
408
|
+
export declare const FraudDetectionReason: {
|
|
409
|
+
readonly KNOWN_FRAUDSTER: "KNOWN_FRAUDSTER";
|
|
410
|
+
readonly VOICE_SPOOFING: "VOICE_SPOOFING";
|
|
411
|
+
};
|
|
412
|
+
export type FraudDetectionReason =
|
|
413
|
+
(typeof FraudDetectionReason)[keyof typeof FraudDetectionReason];
|
|
392
414
|
export interface KnownFraudsterRisk {
|
|
393
415
|
RiskScore: number | undefined;
|
|
394
416
|
GeneratedFraudsterId?: string;
|
|
@@ -409,11 +431,13 @@ export interface FraudDetectionResult {
|
|
|
409
431
|
Reasons?: (FraudDetectionReason | string)[];
|
|
410
432
|
RiskDetails?: FraudRiskDetails;
|
|
411
433
|
}
|
|
412
|
-
export declare
|
|
413
|
-
ENDED
|
|
414
|
-
ONGOING
|
|
415
|
-
PENDING_CONFIGURATION
|
|
416
|
-
}
|
|
434
|
+
export declare const StreamingStatus: {
|
|
435
|
+
readonly ENDED: "ENDED";
|
|
436
|
+
readonly ONGOING: "ONGOING";
|
|
437
|
+
readonly PENDING_CONFIGURATION: "PENDING_CONFIGURATION";
|
|
438
|
+
};
|
|
439
|
+
export type StreamingStatus =
|
|
440
|
+
(typeof StreamingStatus)[keyof typeof StreamingStatus];
|
|
417
441
|
export interface EvaluateSessionResponse {
|
|
418
442
|
DomainId?: string;
|
|
419
443
|
SessionId?: string;
|
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.
|
|
4
|
+
"version": "3.306.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,43 +21,43 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
42
|
-
"@aws-sdk/protocol-http": "3.
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
44
|
-
"@aws-sdk/types": "3.
|
|
45
|
-
"@aws-sdk/url-parser": "3.
|
|
46
|
-
"@aws-sdk/util-base64": "3.
|
|
47
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
48
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
52
|
-
"@aws-sdk/util-retry": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
55
|
-
"@aws-sdk/util-utf8": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.306.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.306.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.306.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.306.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.306.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.306.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.306.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.306.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.306.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.306.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.306.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.306.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.306.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.306.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.306.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.306.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.306.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.306.0",
|
|
42
|
+
"@aws-sdk/protocol-http": "3.306.0",
|
|
43
|
+
"@aws-sdk/smithy-client": "3.306.0",
|
|
44
|
+
"@aws-sdk/types": "3.306.0",
|
|
45
|
+
"@aws-sdk/url-parser": "3.306.0",
|
|
46
|
+
"@aws-sdk/util-base64": "3.303.0",
|
|
47
|
+
"@aws-sdk/util-body-length-browser": "3.303.0",
|
|
48
|
+
"@aws-sdk/util-body-length-node": "3.303.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.306.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.306.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.306.0",
|
|
52
|
+
"@aws-sdk/util-retry": "3.306.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-browser": "3.306.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.306.0",
|
|
55
|
+
"@aws-sdk/util-utf8": "3.303.0",
|
|
56
56
|
"tslib": "^2.5.0",
|
|
57
57
|
"uuid": "^8.3.2"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
60
|
+
"@aws-sdk/service-client-documentation-generator": "3.303.0",
|
|
61
61
|
"@tsconfig/node14": "1.0.3",
|
|
62
62
|
"@types/node": "^14.14.31",
|
|
63
63
|
"@types/uuid": "^8.3.0",
|