@aws-sdk/client-voice-id 3.428.0 → 3.429.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.
|
@@ -135,7 +135,7 @@ export declare class ConflictException extends __BaseException {
|
|
|
135
135
|
* </li>
|
|
136
136
|
* </ul>
|
|
137
137
|
*/
|
|
138
|
-
ConflictType?: ConflictType
|
|
138
|
+
ConflictType?: ConflictType;
|
|
139
139
|
/**
|
|
140
140
|
* @internal
|
|
141
141
|
*/
|
|
@@ -186,7 +186,7 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
186
186
|
* <code>BATCH_JOB</code>, <code>COMPLIANCE_CONSENT</code>, <code>DOMAIN</code>,
|
|
187
187
|
* <code>FRAUDSTER</code>, <code>SESSION</code> and <code>SPEAKER</code>.</p>
|
|
188
188
|
*/
|
|
189
|
-
ResourceType?: ResourceType
|
|
189
|
+
ResourceType?: ResourceType;
|
|
190
190
|
/**
|
|
191
191
|
* @internal
|
|
192
192
|
*/
|
|
@@ -307,7 +307,7 @@ export interface AuthenticationResult {
|
|
|
307
307
|
* <p>The authentication decision produced by Voice ID, processed against the current
|
|
308
308
|
* session state and streamed audio of the speaker.</p>
|
|
309
309
|
*/
|
|
310
|
-
Decision?: AuthenticationDecision
|
|
310
|
+
Decision?: AuthenticationDecision;
|
|
311
311
|
/**
|
|
312
312
|
* @public
|
|
313
313
|
* <p>The authentication score for the speaker whose authentication result is produced. This
|
|
@@ -436,7 +436,7 @@ export interface ServerSideEncryptionUpdateDetails {
|
|
|
436
436
|
* made accessible, and then an UpdateDomain call with the existing server-side encryption
|
|
437
437
|
* configuration will re-attempt this update process.</p>
|
|
438
438
|
*/
|
|
439
|
-
UpdateStatus?: ServerSideEncryptionUpdateStatus
|
|
439
|
+
UpdateStatus?: ServerSideEncryptionUpdateStatus;
|
|
440
440
|
/**
|
|
441
441
|
* @public
|
|
442
442
|
* <p>Message explaining the current UpdateStatus. When the UpdateStatus is FAILED, this
|
|
@@ -484,7 +484,7 @@ export interface Domain {
|
|
|
484
484
|
* @public
|
|
485
485
|
* <p>The current status of the domain.</p>
|
|
486
486
|
*/
|
|
487
|
-
DomainStatus?: DomainStatus
|
|
487
|
+
DomainStatus?: DomainStatus;
|
|
488
488
|
/**
|
|
489
489
|
* @public
|
|
490
490
|
* <p>The server-side encryption configuration containing the KMS key
|
|
@@ -819,7 +819,7 @@ export interface RegistrationConfig {
|
|
|
819
819
|
* to <code>REGISTER_AS_NEW</code> always registers a new fraudster into the specified
|
|
820
820
|
* domain.</p>
|
|
821
821
|
*/
|
|
822
|
-
DuplicateRegistrationAction?: DuplicateRegistrationAction
|
|
822
|
+
DuplicateRegistrationAction?: DuplicateRegistrationAction;
|
|
823
823
|
/**
|
|
824
824
|
* @public
|
|
825
825
|
* <p>The minimum similarity score between the new and old fraudsters in order to consider
|
|
@@ -852,7 +852,7 @@ export interface FraudsterRegistrationJob {
|
|
|
852
852
|
* @public
|
|
853
853
|
* <p>The current status of the fraudster registration job.</p>
|
|
854
854
|
*/
|
|
855
|
-
JobStatus?: FraudsterRegistrationJobStatus
|
|
855
|
+
JobStatus?: FraudsterRegistrationJobStatus;
|
|
856
856
|
/**
|
|
857
857
|
* @public
|
|
858
858
|
* <p>The identifier of the domain that contains the fraudster registration job.</p>
|
|
@@ -973,7 +973,7 @@ export interface Speaker {
|
|
|
973
973
|
* @public
|
|
974
974
|
* <p>The current status of the speaker.</p>
|
|
975
975
|
*/
|
|
976
|
-
Status?: SpeakerStatus
|
|
976
|
+
Status?: SpeakerStatus;
|
|
977
977
|
/**
|
|
978
978
|
* @public
|
|
979
979
|
* <p>A timestamp of when the speaker was created. </p>
|
|
@@ -1052,7 +1052,7 @@ export interface EnrollmentJobFraudDetectionConfig {
|
|
|
1052
1052
|
* this value to <code>IGNORE</code> results in the speaker being enrolled even if they are
|
|
1053
1053
|
* flagged by the fraud detection system.</p>
|
|
1054
1054
|
*/
|
|
1055
|
-
FraudDetectionAction?: FraudDetectionAction
|
|
1055
|
+
FraudDetectionAction?: FraudDetectionAction;
|
|
1056
1056
|
/**
|
|
1057
1057
|
* @public
|
|
1058
1058
|
* <p>Threshold value for determining whether the speaker is a high risk to be fraudulent.
|
|
@@ -1080,7 +1080,7 @@ export interface EnrollmentConfig {
|
|
|
1080
1080
|
* voice prints and enrollment audio stored for that speaker with new data generated from
|
|
1081
1081
|
* the latest audio.</p>
|
|
1082
1082
|
*/
|
|
1083
|
-
ExistingEnrollmentAction?: ExistingEnrollmentAction
|
|
1083
|
+
ExistingEnrollmentAction?: ExistingEnrollmentAction;
|
|
1084
1084
|
/**
|
|
1085
1085
|
* @public
|
|
1086
1086
|
* <p>The fraud detection configuration to use for the speaker enrollment job.</p>
|
|
@@ -1121,7 +1121,7 @@ export interface SpeakerEnrollmentJob {
|
|
|
1121
1121
|
* @public
|
|
1122
1122
|
* <p>The current status of the speaker enrollment job.</p>
|
|
1123
1123
|
*/
|
|
1124
|
-
JobStatus?: SpeakerEnrollmentJobStatus
|
|
1124
|
+
JobStatus?: SpeakerEnrollmentJobStatus;
|
|
1125
1125
|
/**
|
|
1126
1126
|
* @public
|
|
1127
1127
|
* <p>The identifier of the domain that contains the speaker enrollment job.</p>
|
|
@@ -1291,7 +1291,7 @@ export interface DomainSummary {
|
|
|
1291
1291
|
* @public
|
|
1292
1292
|
* <p>The current status of the domain.</p>
|
|
1293
1293
|
*/
|
|
1294
|
-
DomainStatus?: DomainStatus
|
|
1294
|
+
DomainStatus?: DomainStatus;
|
|
1295
1295
|
/**
|
|
1296
1296
|
* @public
|
|
1297
1297
|
* <p>The server-side encryption configuration containing the KMS key
|
|
@@ -1526,14 +1526,14 @@ export interface FraudDetectionResult {
|
|
|
1526
1526
|
* <p>The fraud detection decision produced by Voice ID, processed against the current
|
|
1527
1527
|
* session state and streamed audio of the speaker.</p>
|
|
1528
1528
|
*/
|
|
1529
|
-
Decision?: FraudDetectionDecision
|
|
1529
|
+
Decision?: FraudDetectionDecision;
|
|
1530
1530
|
/**
|
|
1531
1531
|
* @public
|
|
1532
1532
|
* <p>The reason speaker was flagged by the fraud detection system. This is only be
|
|
1533
1533
|
* populated if fraud detection Decision is <code>HIGH_RISK</code>, and the following
|
|
1534
1534
|
* possible values: <code>KNOWN_FRAUDSTER</code> and <code>VOICE_SPOOFING</code>.</p>
|
|
1535
1535
|
*/
|
|
1536
|
-
Reasons?:
|
|
1536
|
+
Reasons?: FraudDetectionReason[];
|
|
1537
1537
|
/**
|
|
1538
1538
|
* @public
|
|
1539
1539
|
* <p>Details about each risk analyzed for this speaker. Currently, this contains
|
|
@@ -1585,7 +1585,7 @@ export interface EvaluateSessionResponse {
|
|
|
1585
1585
|
* streamed session did not have enough speech to perform evaluation, and a new streaming
|
|
1586
1586
|
* session is needed to try again.</p>
|
|
1587
1587
|
*/
|
|
1588
|
-
StreamingStatus?: StreamingStatus
|
|
1588
|
+
StreamingStatus?: StreamingStatus;
|
|
1589
1589
|
/**
|
|
1590
1590
|
* @public
|
|
1591
1591
|
* <p>Details resulting from the authentication process, such as authentication decision and
|
|
@@ -1618,7 +1618,7 @@ export interface FraudsterRegistrationJobSummary {
|
|
|
1618
1618
|
* @public
|
|
1619
1619
|
* <p>The current status of the fraudster registration job.</p>
|
|
1620
1620
|
*/
|
|
1621
|
-
JobStatus?: FraudsterRegistrationJobStatus
|
|
1621
|
+
JobStatus?: FraudsterRegistrationJobStatus;
|
|
1622
1622
|
/**
|
|
1623
1623
|
* @public
|
|
1624
1624
|
* <p>The identifier of the domain that contains the fraudster registration job.</p>
|
|
@@ -1690,7 +1690,7 @@ export interface ListFraudsterRegistrationJobsRequest {
|
|
|
1690
1690
|
* @public
|
|
1691
1691
|
* <p>Provides the status of your fraudster registration job.</p>
|
|
1692
1692
|
*/
|
|
1693
|
-
JobStatus?: FraudsterRegistrationJobStatus
|
|
1693
|
+
JobStatus?: FraudsterRegistrationJobStatus;
|
|
1694
1694
|
/**
|
|
1695
1695
|
* @public
|
|
1696
1696
|
* <p>The maximum number of results that are returned per call. You can use
|
|
@@ -1787,7 +1787,7 @@ export interface ListSpeakerEnrollmentJobsRequest {
|
|
|
1787
1787
|
* @public
|
|
1788
1788
|
* <p>Provides the status of your speaker enrollment Job.</p>
|
|
1789
1789
|
*/
|
|
1790
|
-
JobStatus?: SpeakerEnrollmentJobStatus
|
|
1790
|
+
JobStatus?: SpeakerEnrollmentJobStatus;
|
|
1791
1791
|
/**
|
|
1792
1792
|
* @public
|
|
1793
1793
|
* <p>The maximum number of results that are returned per call. You can use
|
|
@@ -1822,7 +1822,7 @@ export interface SpeakerEnrollmentJobSummary {
|
|
|
1822
1822
|
* @public
|
|
1823
1823
|
* <p>The current status of the speaker enrollment job.</p>
|
|
1824
1824
|
*/
|
|
1825
|
-
JobStatus?: SpeakerEnrollmentJobStatus
|
|
1825
|
+
JobStatus?: SpeakerEnrollmentJobStatus;
|
|
1826
1826
|
/**
|
|
1827
1827
|
* @public
|
|
1828
1828
|
* <p>The identifier of the domain that contains the speaker enrollment job.</p>
|
|
@@ -1920,7 +1920,7 @@ export interface SpeakerSummary {
|
|
|
1920
1920
|
* @public
|
|
1921
1921
|
* <p>The current status of the speaker.</p>
|
|
1922
1922
|
*/
|
|
1923
|
-
Status?: SpeakerStatus
|
|
1923
|
+
Status?: SpeakerStatus;
|
|
1924
1924
|
/**
|
|
1925
1925
|
* @public
|
|
1926
1926
|
* <p>A timestamp showing the speaker's creation time. </p>
|
|
@@ -39,7 +39,7 @@ export declare class ConflictException extends __BaseException {
|
|
|
39
39
|
readonly name: "ConflictException";
|
|
40
40
|
readonly $fault: "client";
|
|
41
41
|
Message?: string;
|
|
42
|
-
ConflictType?: ConflictType
|
|
42
|
+
ConflictType?: ConflictType;
|
|
43
43
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
44
44
|
}
|
|
45
45
|
export declare class InternalServerException extends __BaseException {
|
|
@@ -64,7 +64,7 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
64
64
|
readonly name: "ResourceNotFoundException";
|
|
65
65
|
readonly $fault: "client";
|
|
66
66
|
Message?: string;
|
|
67
|
-
ResourceType?: ResourceType
|
|
67
|
+
ResourceType?: ResourceType;
|
|
68
68
|
constructor(
|
|
69
69
|
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
70
70
|
);
|
|
@@ -113,7 +113,7 @@ export interface AuthenticationResult {
|
|
|
113
113
|
AudioAggregationEndedAt?: Date;
|
|
114
114
|
CustomerSpeakerId?: string;
|
|
115
115
|
GeneratedSpeakerId?: string;
|
|
116
|
-
Decision?: AuthenticationDecision
|
|
116
|
+
Decision?: AuthenticationDecision;
|
|
117
117
|
Score?: number;
|
|
118
118
|
Configuration?: AuthenticationConfiguration;
|
|
119
119
|
}
|
|
@@ -148,7 +148,7 @@ export type ServerSideEncryptionUpdateStatus =
|
|
|
148
148
|
(typeof ServerSideEncryptionUpdateStatus)[keyof typeof ServerSideEncryptionUpdateStatus];
|
|
149
149
|
export interface ServerSideEncryptionUpdateDetails {
|
|
150
150
|
OldKmsKeyId?: string;
|
|
151
|
-
UpdateStatus?: ServerSideEncryptionUpdateStatus
|
|
151
|
+
UpdateStatus?: ServerSideEncryptionUpdateStatus;
|
|
152
152
|
Message?: string;
|
|
153
153
|
}
|
|
154
154
|
export interface WatchlistDetails {
|
|
@@ -159,7 +159,7 @@ export interface Domain {
|
|
|
159
159
|
Arn?: string;
|
|
160
160
|
Name?: string;
|
|
161
161
|
Description?: string;
|
|
162
|
-
DomainStatus?: DomainStatus
|
|
162
|
+
DomainStatus?: DomainStatus;
|
|
163
163
|
ServerSideEncryptionConfiguration?: ServerSideEncryptionConfiguration;
|
|
164
164
|
CreatedAt?: Date;
|
|
165
165
|
UpdatedAt?: Date;
|
|
@@ -249,14 +249,14 @@ export declare const DuplicateRegistrationAction: {
|
|
|
249
249
|
export type DuplicateRegistrationAction =
|
|
250
250
|
(typeof DuplicateRegistrationAction)[keyof typeof DuplicateRegistrationAction];
|
|
251
251
|
export interface RegistrationConfig {
|
|
252
|
-
DuplicateRegistrationAction?: DuplicateRegistrationAction
|
|
252
|
+
DuplicateRegistrationAction?: DuplicateRegistrationAction;
|
|
253
253
|
FraudsterSimilarityThreshold?: number;
|
|
254
254
|
WatchlistIds?: string[];
|
|
255
255
|
}
|
|
256
256
|
export interface FraudsterRegistrationJob {
|
|
257
257
|
JobName?: string;
|
|
258
258
|
JobId?: string;
|
|
259
|
-
JobStatus?: FraudsterRegistrationJobStatus
|
|
259
|
+
JobStatus?: FraudsterRegistrationJobStatus;
|
|
260
260
|
DomainId?: string;
|
|
261
261
|
DataAccessRoleArn?: string;
|
|
262
262
|
RegistrationConfig?: RegistrationConfig;
|
|
@@ -285,7 +285,7 @@ export interface Speaker {
|
|
|
285
285
|
DomainId?: string;
|
|
286
286
|
CustomerSpeakerId?: string;
|
|
287
287
|
GeneratedSpeakerId?: string;
|
|
288
|
-
Status?: SpeakerStatus
|
|
288
|
+
Status?: SpeakerStatus;
|
|
289
289
|
CreatedAt?: Date;
|
|
290
290
|
UpdatedAt?: Date;
|
|
291
291
|
LastAccessedAt?: Date;
|
|
@@ -310,12 +310,12 @@ export declare const FraudDetectionAction: {
|
|
|
310
310
|
export type FraudDetectionAction =
|
|
311
311
|
(typeof FraudDetectionAction)[keyof typeof FraudDetectionAction];
|
|
312
312
|
export interface EnrollmentJobFraudDetectionConfig {
|
|
313
|
-
FraudDetectionAction?: FraudDetectionAction
|
|
313
|
+
FraudDetectionAction?: FraudDetectionAction;
|
|
314
314
|
RiskThreshold?: number;
|
|
315
315
|
WatchlistIds?: string[];
|
|
316
316
|
}
|
|
317
317
|
export interface EnrollmentConfig {
|
|
318
|
-
ExistingEnrollmentAction?: ExistingEnrollmentAction
|
|
318
|
+
ExistingEnrollmentAction?: ExistingEnrollmentAction;
|
|
319
319
|
FraudDetectionConfig?: EnrollmentJobFraudDetectionConfig;
|
|
320
320
|
}
|
|
321
321
|
export declare const SpeakerEnrollmentJobStatus: {
|
|
@@ -330,7 +330,7 @@ export type SpeakerEnrollmentJobStatus =
|
|
|
330
330
|
export interface SpeakerEnrollmentJob {
|
|
331
331
|
JobName?: string;
|
|
332
332
|
JobId?: string;
|
|
333
|
-
JobStatus?: SpeakerEnrollmentJobStatus
|
|
333
|
+
JobStatus?: SpeakerEnrollmentJobStatus;
|
|
334
334
|
DomainId?: string;
|
|
335
335
|
DataAccessRoleArn?: string;
|
|
336
336
|
EnrollmentConfig?: EnrollmentConfig;
|
|
@@ -368,7 +368,7 @@ export interface DomainSummary {
|
|
|
368
368
|
Arn?: string;
|
|
369
369
|
Name?: string;
|
|
370
370
|
Description?: string;
|
|
371
|
-
DomainStatus?: DomainStatus
|
|
371
|
+
DomainStatus?: DomainStatus;
|
|
372
372
|
ServerSideEncryptionConfiguration?: ServerSideEncryptionConfiguration;
|
|
373
373
|
CreatedAt?: Date;
|
|
374
374
|
UpdatedAt?: Date;
|
|
@@ -427,8 +427,8 @@ export interface FraudDetectionResult {
|
|
|
427
427
|
AudioAggregationStartedAt?: Date;
|
|
428
428
|
AudioAggregationEndedAt?: Date;
|
|
429
429
|
Configuration?: FraudDetectionConfiguration;
|
|
430
|
-
Decision?: FraudDetectionDecision
|
|
431
|
-
Reasons?:
|
|
430
|
+
Decision?: FraudDetectionDecision;
|
|
431
|
+
Reasons?: FraudDetectionReason[];
|
|
432
432
|
RiskDetails?: FraudRiskDetails;
|
|
433
433
|
}
|
|
434
434
|
export declare const StreamingStatus: {
|
|
@@ -442,14 +442,14 @@ export interface EvaluateSessionResponse {
|
|
|
442
442
|
DomainId?: string;
|
|
443
443
|
SessionId?: string;
|
|
444
444
|
SessionName?: string;
|
|
445
|
-
StreamingStatus?: StreamingStatus
|
|
445
|
+
StreamingStatus?: StreamingStatus;
|
|
446
446
|
AuthenticationResult?: AuthenticationResult;
|
|
447
447
|
FraudDetectionResult?: FraudDetectionResult;
|
|
448
448
|
}
|
|
449
449
|
export interface FraudsterRegistrationJobSummary {
|
|
450
450
|
JobName?: string;
|
|
451
451
|
JobId?: string;
|
|
452
|
-
JobStatus?: FraudsterRegistrationJobStatus
|
|
452
|
+
JobStatus?: FraudsterRegistrationJobStatus;
|
|
453
453
|
DomainId?: string;
|
|
454
454
|
CreatedAt?: Date;
|
|
455
455
|
EndedAt?: Date;
|
|
@@ -464,7 +464,7 @@ export interface FraudsterSummary {
|
|
|
464
464
|
}
|
|
465
465
|
export interface ListFraudsterRegistrationJobsRequest {
|
|
466
466
|
DomainId: string | undefined;
|
|
467
|
-
JobStatus?: FraudsterRegistrationJobStatus
|
|
467
|
+
JobStatus?: FraudsterRegistrationJobStatus;
|
|
468
468
|
MaxResults?: number;
|
|
469
469
|
NextToken?: string;
|
|
470
470
|
}
|
|
@@ -484,14 +484,14 @@ export interface ListFraudstersResponse {
|
|
|
484
484
|
}
|
|
485
485
|
export interface ListSpeakerEnrollmentJobsRequest {
|
|
486
486
|
DomainId: string | undefined;
|
|
487
|
-
JobStatus?: SpeakerEnrollmentJobStatus
|
|
487
|
+
JobStatus?: SpeakerEnrollmentJobStatus;
|
|
488
488
|
MaxResults?: number;
|
|
489
489
|
NextToken?: string;
|
|
490
490
|
}
|
|
491
491
|
export interface SpeakerEnrollmentJobSummary {
|
|
492
492
|
JobName?: string;
|
|
493
493
|
JobId?: string;
|
|
494
|
-
JobStatus?: SpeakerEnrollmentJobStatus
|
|
494
|
+
JobStatus?: SpeakerEnrollmentJobStatus;
|
|
495
495
|
DomainId?: string;
|
|
496
496
|
CreatedAt?: Date;
|
|
497
497
|
EndedAt?: Date;
|
|
@@ -511,7 +511,7 @@ export interface SpeakerSummary {
|
|
|
511
511
|
DomainId?: string;
|
|
512
512
|
CustomerSpeakerId?: string;
|
|
513
513
|
GeneratedSpeakerId?: string;
|
|
514
|
-
Status?: SpeakerStatus
|
|
514
|
+
Status?: SpeakerStatus;
|
|
515
515
|
CreatedAt?: Date;
|
|
516
516
|
UpdatedAt?: Date;
|
|
517
517
|
LastAccessedAt?: Date;
|
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.429.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,9 +21,9 @@
|
|
|
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/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.429.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.429.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.429.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.428.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.428.0",
|
|
29
29
|
"@aws-sdk/middleware-signing": "3.428.0",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"@smithy/hash-node": "^2.0.11",
|
|
39
39
|
"@smithy/invalid-dependency": "^2.0.11",
|
|
40
40
|
"@smithy/middleware-content-length": "^2.0.13",
|
|
41
|
-
"@smithy/middleware-endpoint": "^2.1.
|
|
41
|
+
"@smithy/middleware-endpoint": "^2.1.1",
|
|
42
42
|
"@smithy/middleware-retry": "^2.0.16",
|
|
43
43
|
"@smithy/middleware-serde": "^2.0.11",
|
|
44
44
|
"@smithy/middleware-stack": "^2.0.5",
|