@aws-sdk/client-voice-id 3.99.0 → 3.105.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/CHANGELOG.md +30 -0
- package/dist-cjs/VoiceIDClient.js +2 -0
- package/dist-cjs/models/models_0.js +15 -2
- package/dist-cjs/protocols/Aws_json1_0.js +19 -0
- package/dist-es/VoiceIDClient.js +2 -0
- package/dist-es/models/models_0.js +11 -0
- package/dist-es/protocols/Aws_json1_0.js +49 -28
- package/dist-types/VoiceID.d.ts +7 -7
- package/dist-types/commands/DeleteDomainCommand.d.ts +1 -1
- package/dist-types/commands/DeleteFraudsterCommand.d.ts +1 -1
- package/dist-types/commands/DeleteSpeakerCommand.d.ts +1 -1
- package/dist-types/commands/OptOutSpeakerCommand.d.ts +3 -3
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +68 -17
- package/dist-types/ts3.4/models/models_0.d.ts +23 -0
- package/package.json +4 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,36 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.105.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.104.0...v3.105.0) (2022-06-06)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** support recursion detection in Lambda ([#3654](https://github.com/aws/aws-sdk-js-v3/issues/3654)) ([ecfe46e](https://github.com/aws/aws-sdk-js-v3/commit/ecfe46ea1fd8b6e3812b75b3dc6c03554fb4b3fa))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.104.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.103.0...v3.104.0) (2022-06-02)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* **client-voice-id:** Added a new attribute ServerSideEncryptionUpdateDetails to Domain and DomainSummary. ([4edcad0](https://github.com/aws/aws-sdk-js-v3/commit/4edcad07a6f026e448f572cf98aef01881f97695))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
# [3.100.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.99.0...v3.100.0) (2022-05-26)
|
|
29
|
+
|
|
30
|
+
**Note:** Version bump only for package @aws-sdk/client-voice-id
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
6
36
|
# [3.99.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.98.0...v3.99.0) (2022-05-25)
|
|
7
37
|
|
|
8
38
|
|
|
@@ -5,6 +5,7 @@ const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
|
5
5
|
const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
|
|
6
6
|
const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
|
|
7
7
|
const middleware_logger_1 = require("@aws-sdk/middleware-logger");
|
|
8
|
+
const middleware_recursion_detection_1 = require("@aws-sdk/middleware-recursion-detection");
|
|
8
9
|
const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
9
10
|
const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
10
11
|
const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
|
|
@@ -25,6 +26,7 @@ class VoiceIDClient extends smithy_client_1.Client {
|
|
|
25
26
|
this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
|
|
26
27
|
this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
|
|
27
28
|
this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
|
|
29
|
+
this.middlewareStack.use((0, middleware_recursion_detection_1.getRecursionDetectionPlugin)(this.config));
|
|
28
30
|
this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(this.config));
|
|
29
31
|
this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
|
|
30
32
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.UpdateDomainResponse = exports.UpdateDomainRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.StartSpeakerEnrollmentJobResponse = exports.StartSpeakerEnrollmentJobRequest = exports.StartFraudsterRegistrationJobResponse = exports.StartFraudsterRegistrationJobRequest = exports.OptOutSpeakerResponse = exports.OptOutSpeakerRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListSpeakersResponse = exports.SpeakerSummary = exports.ListSpeakersRequest = exports.ListSpeakerEnrollmentJobsResponse = exports.SpeakerEnrollmentJobSummary = exports.ListSpeakerEnrollmentJobsRequest = exports.ListFraudsterRegistrationJobsResponse = exports.ListFraudsterRegistrationJobsRequest = exports.ListDomainsResponse = exports.ListDomainsRequest = exports.FraudsterRegistrationJobSummary = exports.EvaluateSessionResponse = exports.StreamingStatus = exports.FraudDetectionResult = exports.FraudRiskDetails = exports.KnownFraudsterRisk = exports.FraudDetectionReason = exports.FraudDetectionDecision = exports.FraudDetectionConfiguration = void 0;
|
|
3
|
+
exports.DescribeSpeakerEnrollmentJobResponse = exports.SpeakerEnrollmentJob = exports.SpeakerEnrollmentJobStatus = exports.EnrollmentConfig = exports.EnrollmentJobFraudDetectionConfig = exports.FraudDetectionAction = exports.ExistingEnrollmentAction = exports.DescribeSpeakerEnrollmentJobRequest = exports.DescribeSpeakerResponse = exports.Speaker = exports.SpeakerStatus = exports.DescribeSpeakerRequest = exports.DescribeFraudsterRegistrationJobResponse = exports.FraudsterRegistrationJob = exports.RegistrationConfig = exports.DuplicateRegistrationAction = exports.OutputDataConfig = exports.FraudsterRegistrationJobStatus = exports.JobProgress = exports.InputDataConfig = exports.FailureDetails = exports.DescribeFraudsterRegistrationJobRequest = exports.DescribeFraudsterResponse = exports.Fraudster = exports.DescribeFraudsterRequest = exports.DescribeDomainResponse = exports.DescribeDomainRequest = exports.DeleteSpeakerRequest = exports.DeleteFraudsterRequest = exports.DeleteDomainRequest = exports.ValidationException = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.ResourceType = exports.InternalServerException = exports.CreateDomainResponse = exports.Domain = exports.ServerSideEncryptionUpdateDetails = exports.ServerSideEncryptionUpdateStatus = exports.DomainStatus = exports.CreateDomainRequest = exports.Tag = exports.ServerSideEncryptionConfiguration = exports.ConflictException = exports.ConflictType = exports.AuthenticationResult = exports.AuthenticationDecision = exports.AuthenticationConfiguration = exports.AccessDeniedException = void 0;
|
|
4
|
+
exports.UpdateDomainResponse = exports.UpdateDomainRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.StartSpeakerEnrollmentJobResponse = exports.StartSpeakerEnrollmentJobRequest = exports.StartFraudsterRegistrationJobResponse = exports.StartFraudsterRegistrationJobRequest = exports.OptOutSpeakerResponse = exports.OptOutSpeakerRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListSpeakersResponse = exports.SpeakerSummary = exports.ListSpeakersRequest = exports.ListSpeakerEnrollmentJobsResponse = exports.SpeakerEnrollmentJobSummary = exports.ListSpeakerEnrollmentJobsRequest = exports.ListFraudsterRegistrationJobsResponse = exports.ListFraudsterRegistrationJobsRequest = exports.ListDomainsResponse = exports.ListDomainsRequest = exports.FraudsterRegistrationJobSummary = exports.EvaluateSessionResponse = exports.StreamingStatus = exports.FraudDetectionResult = exports.FraudRiskDetails = exports.KnownFraudsterRisk = exports.FraudDetectionReason = exports.FraudDetectionDecision = exports.FraudDetectionConfiguration = exports.EvaluateSessionRequest = exports.DomainSummary = void 0;
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const VoiceIDServiceException_1 = require("./VoiceIDServiceException");
|
|
7
7
|
class AccessDeniedException extends VoiceIDServiceException_1.VoiceIDServiceException {
|
|
@@ -46,6 +46,7 @@ var ConflictType;
|
|
|
46
46
|
ConflictType["ANOTHER_ACTIVE_STREAM"] = "ANOTHER_ACTIVE_STREAM";
|
|
47
47
|
ConflictType["CANNOT_CHANGE_SPEAKER_AFTER_ENROLLMENT"] = "CANNOT_CHANGE_SPEAKER_AFTER_ENROLLMENT";
|
|
48
48
|
ConflictType["CONCURRENT_CHANGES"] = "CONCURRENT_CHANGES";
|
|
49
|
+
ConflictType["DOMAIN_LOCKED_FROM_ENCRYPTION_UPDATES"] = "DOMAIN_LOCKED_FROM_ENCRYPTION_UPDATES";
|
|
49
50
|
ConflictType["DOMAIN_NOT_ACTIVE"] = "DOMAIN_NOT_ACTIVE";
|
|
50
51
|
ConflictType["ENROLLMENT_ALREADY_EXISTS"] = "ENROLLMENT_ALREADY_EXISTS";
|
|
51
52
|
ConflictType["SPEAKER_NOT_SET"] = "SPEAKER_NOT_SET";
|
|
@@ -95,6 +96,18 @@ var DomainStatus;
|
|
|
95
96
|
DomainStatus["PENDING"] = "PENDING";
|
|
96
97
|
DomainStatus["SUSPENDED"] = "SUSPENDED";
|
|
97
98
|
})(DomainStatus = exports.DomainStatus || (exports.DomainStatus = {}));
|
|
99
|
+
var ServerSideEncryptionUpdateStatus;
|
|
100
|
+
(function (ServerSideEncryptionUpdateStatus) {
|
|
101
|
+
ServerSideEncryptionUpdateStatus["COMPLETED"] = "COMPLETED";
|
|
102
|
+
ServerSideEncryptionUpdateStatus["FAILED"] = "FAILED";
|
|
103
|
+
ServerSideEncryptionUpdateStatus["IN_PROGRESS"] = "IN_PROGRESS";
|
|
104
|
+
})(ServerSideEncryptionUpdateStatus = exports.ServerSideEncryptionUpdateStatus || (exports.ServerSideEncryptionUpdateStatus = {}));
|
|
105
|
+
var ServerSideEncryptionUpdateDetails;
|
|
106
|
+
(function (ServerSideEncryptionUpdateDetails) {
|
|
107
|
+
ServerSideEncryptionUpdateDetails.filterSensitiveLog = (obj) => ({
|
|
108
|
+
...obj,
|
|
109
|
+
});
|
|
110
|
+
})(ServerSideEncryptionUpdateDetails = exports.ServerSideEncryptionUpdateDetails || (exports.ServerSideEncryptionUpdateDetails = {}));
|
|
98
111
|
var Domain;
|
|
99
112
|
(function (Domain) {
|
|
100
113
|
Domain.filterSensitiveLog = (obj) => ({
|
|
@@ -341,6 +341,9 @@ const deserializeAws_json1_0DeleteFraudsterCommandError = async (output, context
|
|
|
341
341
|
case "AccessDeniedException":
|
|
342
342
|
case "com.amazonaws.voiceid#AccessDeniedException":
|
|
343
343
|
throw await deserializeAws_json1_0AccessDeniedExceptionResponse(parsedOutput, context);
|
|
344
|
+
case "ConflictException":
|
|
345
|
+
case "com.amazonaws.voiceid#ConflictException":
|
|
346
|
+
throw await deserializeAws_json1_0ConflictExceptionResponse(parsedOutput, context);
|
|
344
347
|
case "InternalServerException":
|
|
345
348
|
case "com.amazonaws.voiceid#InternalServerException":
|
|
346
349
|
throw await deserializeAws_json1_0InternalServerExceptionResponse(parsedOutput, context);
|
|
@@ -677,6 +680,9 @@ const deserializeAws_json1_0EvaluateSessionCommandError = async (output, context
|
|
|
677
680
|
case "AccessDeniedException":
|
|
678
681
|
case "com.amazonaws.voiceid#AccessDeniedException":
|
|
679
682
|
throw await deserializeAws_json1_0AccessDeniedExceptionResponse(parsedOutput, context);
|
|
683
|
+
case "ConflictException":
|
|
684
|
+
case "com.amazonaws.voiceid#ConflictException":
|
|
685
|
+
throw await deserializeAws_json1_0ConflictExceptionResponse(parsedOutput, context);
|
|
680
686
|
case "InternalServerException":
|
|
681
687
|
case "com.amazonaws.voiceid#InternalServerException":
|
|
682
688
|
throw await deserializeAws_json1_0InternalServerExceptionResponse(parsedOutput, context);
|
|
@@ -1643,6 +1649,9 @@ const deserializeAws_json1_0Domain = (output, context) => {
|
|
|
1643
1649
|
ServerSideEncryptionConfiguration: output.ServerSideEncryptionConfiguration !== undefined && output.ServerSideEncryptionConfiguration !== null
|
|
1644
1650
|
? deserializeAws_json1_0ServerSideEncryptionConfiguration(output.ServerSideEncryptionConfiguration, context)
|
|
1645
1651
|
: undefined,
|
|
1652
|
+
ServerSideEncryptionUpdateDetails: output.ServerSideEncryptionUpdateDetails !== undefined && output.ServerSideEncryptionUpdateDetails !== null
|
|
1653
|
+
? deserializeAws_json1_0ServerSideEncryptionUpdateDetails(output.ServerSideEncryptionUpdateDetails, context)
|
|
1654
|
+
: undefined,
|
|
1646
1655
|
UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
|
|
1647
1656
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.UpdatedAt)))
|
|
1648
1657
|
: undefined,
|
|
@@ -1672,6 +1681,9 @@ const deserializeAws_json1_0DomainSummary = (output, context) => {
|
|
|
1672
1681
|
ServerSideEncryptionConfiguration: output.ServerSideEncryptionConfiguration !== undefined && output.ServerSideEncryptionConfiguration !== null
|
|
1673
1682
|
? deserializeAws_json1_0ServerSideEncryptionConfiguration(output.ServerSideEncryptionConfiguration, context)
|
|
1674
1683
|
: undefined,
|
|
1684
|
+
ServerSideEncryptionUpdateDetails: output.ServerSideEncryptionUpdateDetails !== undefined && output.ServerSideEncryptionUpdateDetails !== null
|
|
1685
|
+
? deserializeAws_json1_0ServerSideEncryptionUpdateDetails(output.ServerSideEncryptionUpdateDetails, context)
|
|
1686
|
+
: undefined,
|
|
1675
1687
|
UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
|
|
1676
1688
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.UpdatedAt)))
|
|
1677
1689
|
: undefined,
|
|
@@ -1915,6 +1927,13 @@ const deserializeAws_json1_0ServerSideEncryptionConfiguration = (output, context
|
|
|
1915
1927
|
KmsKeyId: (0, smithy_client_1.expectString)(output.KmsKeyId),
|
|
1916
1928
|
};
|
|
1917
1929
|
};
|
|
1930
|
+
const deserializeAws_json1_0ServerSideEncryptionUpdateDetails = (output, context) => {
|
|
1931
|
+
return {
|
|
1932
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
1933
|
+
OldKmsKeyId: (0, smithy_client_1.expectString)(output.OldKmsKeyId),
|
|
1934
|
+
UpdateStatus: (0, smithy_client_1.expectString)(output.UpdateStatus),
|
|
1935
|
+
};
|
|
1936
|
+
};
|
|
1918
1937
|
const deserializeAws_json1_0ServiceQuotaExceededException = (output, context) => {
|
|
1919
1938
|
return {
|
|
1920
1939
|
Message: (0, smithy_client_1.expectString)(output.Message),
|
package/dist-es/VoiceIDClient.js
CHANGED
|
@@ -3,6 +3,7 @@ import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-re
|
|
|
3
3
|
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
4
4
|
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
5
5
|
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
6
|
+
import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
|
|
6
7
|
import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
|
|
7
8
|
import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
|
|
8
9
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
@@ -25,6 +26,7 @@ var VoiceIDClient = (function (_super) {
|
|
|
25
26
|
_this.middlewareStack.use(getContentLengthPlugin(_this.config));
|
|
26
27
|
_this.middlewareStack.use(getHostHeaderPlugin(_this.config));
|
|
27
28
|
_this.middlewareStack.use(getLoggerPlugin(_this.config));
|
|
29
|
+
_this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
|
|
28
30
|
_this.middlewareStack.use(getAwsAuthPlugin(_this.config));
|
|
29
31
|
_this.middlewareStack.use(getUserAgentPlugin(_this.config));
|
|
30
32
|
return _this;
|
|
@@ -37,6 +37,7 @@ export var ConflictType;
|
|
|
37
37
|
ConflictType["ANOTHER_ACTIVE_STREAM"] = "ANOTHER_ACTIVE_STREAM";
|
|
38
38
|
ConflictType["CANNOT_CHANGE_SPEAKER_AFTER_ENROLLMENT"] = "CANNOT_CHANGE_SPEAKER_AFTER_ENROLLMENT";
|
|
39
39
|
ConflictType["CONCURRENT_CHANGES"] = "CONCURRENT_CHANGES";
|
|
40
|
+
ConflictType["DOMAIN_LOCKED_FROM_ENCRYPTION_UPDATES"] = "DOMAIN_LOCKED_FROM_ENCRYPTION_UPDATES";
|
|
40
41
|
ConflictType["DOMAIN_NOT_ACTIVE"] = "DOMAIN_NOT_ACTIVE";
|
|
41
42
|
ConflictType["ENROLLMENT_ALREADY_EXISTS"] = "ENROLLMENT_ALREADY_EXISTS";
|
|
42
43
|
ConflictType["SPEAKER_NOT_SET"] = "SPEAKER_NOT_SET";
|
|
@@ -74,6 +75,16 @@ export var DomainStatus;
|
|
|
74
75
|
DomainStatus["PENDING"] = "PENDING";
|
|
75
76
|
DomainStatus["SUSPENDED"] = "SUSPENDED";
|
|
76
77
|
})(DomainStatus || (DomainStatus = {}));
|
|
78
|
+
export var ServerSideEncryptionUpdateStatus;
|
|
79
|
+
(function (ServerSideEncryptionUpdateStatus) {
|
|
80
|
+
ServerSideEncryptionUpdateStatus["COMPLETED"] = "COMPLETED";
|
|
81
|
+
ServerSideEncryptionUpdateStatus["FAILED"] = "FAILED";
|
|
82
|
+
ServerSideEncryptionUpdateStatus["IN_PROGRESS"] = "IN_PROGRESS";
|
|
83
|
+
})(ServerSideEncryptionUpdateStatus || (ServerSideEncryptionUpdateStatus = {}));
|
|
84
|
+
export var ServerSideEncryptionUpdateDetails;
|
|
85
|
+
(function (ServerSideEncryptionUpdateDetails) {
|
|
86
|
+
ServerSideEncryptionUpdateDetails.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
87
|
+
})(ServerSideEncryptionUpdateDetails || (ServerSideEncryptionUpdateDetails = {}));
|
|
77
88
|
export var Domain;
|
|
78
89
|
(function (Domain) {
|
|
79
90
|
Domain.filterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.Name && { Name: SENSITIVE_STRING })), (obj.Description && { Description: SENSITIVE_STRING }))); };
|
|
@@ -414,27 +414,31 @@ var deserializeAws_json1_0DeleteFraudsterCommandError = function (output, contex
|
|
|
414
414
|
switch (_b) {
|
|
415
415
|
case "AccessDeniedException": return [3, 2];
|
|
416
416
|
case "com.amazonaws.voiceid#AccessDeniedException": return [3, 2];
|
|
417
|
-
case "
|
|
418
|
-
case "com.amazonaws.voiceid#
|
|
419
|
-
case "
|
|
420
|
-
case "com.amazonaws.voiceid#
|
|
421
|
-
case "
|
|
422
|
-
case "com.amazonaws.voiceid#
|
|
423
|
-
case "
|
|
424
|
-
case "com.amazonaws.voiceid#
|
|
417
|
+
case "ConflictException": return [3, 4];
|
|
418
|
+
case "com.amazonaws.voiceid#ConflictException": return [3, 4];
|
|
419
|
+
case "InternalServerException": return [3, 6];
|
|
420
|
+
case "com.amazonaws.voiceid#InternalServerException": return [3, 6];
|
|
421
|
+
case "ResourceNotFoundException": return [3, 8];
|
|
422
|
+
case "com.amazonaws.voiceid#ResourceNotFoundException": return [3, 8];
|
|
423
|
+
case "ThrottlingException": return [3, 10];
|
|
424
|
+
case "com.amazonaws.voiceid#ThrottlingException": return [3, 10];
|
|
425
|
+
case "ValidationException": return [3, 12];
|
|
426
|
+
case "com.amazonaws.voiceid#ValidationException": return [3, 12];
|
|
425
427
|
}
|
|
426
|
-
return [3,
|
|
428
|
+
return [3, 14];
|
|
427
429
|
case 2: return [4, deserializeAws_json1_0AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
428
430
|
case 3: throw _d.sent();
|
|
429
|
-
case 4: return [4,
|
|
431
|
+
case 4: return [4, deserializeAws_json1_0ConflictExceptionResponse(parsedOutput, context)];
|
|
430
432
|
case 5: throw _d.sent();
|
|
431
|
-
case 6: return [4,
|
|
433
|
+
case 6: return [4, deserializeAws_json1_0InternalServerExceptionResponse(parsedOutput, context)];
|
|
432
434
|
case 7: throw _d.sent();
|
|
433
|
-
case 8: return [4,
|
|
435
|
+
case 8: return [4, deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
434
436
|
case 9: throw _d.sent();
|
|
435
|
-
case 10: return [4,
|
|
437
|
+
case 10: return [4, deserializeAws_json1_0ThrottlingExceptionResponse(parsedOutput, context)];
|
|
436
438
|
case 11: throw _d.sent();
|
|
437
|
-
case 12:
|
|
439
|
+
case 12: return [4, deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context)];
|
|
440
|
+
case 13: throw _d.sent();
|
|
441
|
+
case 14:
|
|
438
442
|
parsedBody = parsedOutput.body;
|
|
439
443
|
response = new __BaseException({
|
|
440
444
|
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
@@ -880,27 +884,31 @@ var deserializeAws_json1_0EvaluateSessionCommandError = function (output, contex
|
|
|
880
884
|
switch (_b) {
|
|
881
885
|
case "AccessDeniedException": return [3, 2];
|
|
882
886
|
case "com.amazonaws.voiceid#AccessDeniedException": return [3, 2];
|
|
883
|
-
case "
|
|
884
|
-
case "com.amazonaws.voiceid#
|
|
885
|
-
case "
|
|
886
|
-
case "com.amazonaws.voiceid#
|
|
887
|
-
case "
|
|
888
|
-
case "com.amazonaws.voiceid#
|
|
889
|
-
case "
|
|
890
|
-
case "com.amazonaws.voiceid#
|
|
887
|
+
case "ConflictException": return [3, 4];
|
|
888
|
+
case "com.amazonaws.voiceid#ConflictException": return [3, 4];
|
|
889
|
+
case "InternalServerException": return [3, 6];
|
|
890
|
+
case "com.amazonaws.voiceid#InternalServerException": return [3, 6];
|
|
891
|
+
case "ResourceNotFoundException": return [3, 8];
|
|
892
|
+
case "com.amazonaws.voiceid#ResourceNotFoundException": return [3, 8];
|
|
893
|
+
case "ThrottlingException": return [3, 10];
|
|
894
|
+
case "com.amazonaws.voiceid#ThrottlingException": return [3, 10];
|
|
895
|
+
case "ValidationException": return [3, 12];
|
|
896
|
+
case "com.amazonaws.voiceid#ValidationException": return [3, 12];
|
|
891
897
|
}
|
|
892
|
-
return [3,
|
|
898
|
+
return [3, 14];
|
|
893
899
|
case 2: return [4, deserializeAws_json1_0AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
894
900
|
case 3: throw _d.sent();
|
|
895
|
-
case 4: return [4,
|
|
901
|
+
case 4: return [4, deserializeAws_json1_0ConflictExceptionResponse(parsedOutput, context)];
|
|
896
902
|
case 5: throw _d.sent();
|
|
897
|
-
case 6: return [4,
|
|
903
|
+
case 6: return [4, deserializeAws_json1_0InternalServerExceptionResponse(parsedOutput, context)];
|
|
898
904
|
case 7: throw _d.sent();
|
|
899
|
-
case 8: return [4,
|
|
905
|
+
case 8: return [4, deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
900
906
|
case 9: throw _d.sent();
|
|
901
|
-
case 10: return [4,
|
|
907
|
+
case 10: return [4, deserializeAws_json1_0ThrottlingExceptionResponse(parsedOutput, context)];
|
|
902
908
|
case 11: throw _d.sent();
|
|
903
|
-
case 12:
|
|
909
|
+
case 12: return [4, deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context)];
|
|
910
|
+
case 13: throw _d.sent();
|
|
911
|
+
case 14:
|
|
904
912
|
parsedBody = parsedOutput.body;
|
|
905
913
|
response = new __BaseException({
|
|
906
914
|
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
@@ -1961,6 +1969,9 @@ var deserializeAws_json1_0Domain = function (output, context) {
|
|
|
1961
1969
|
ServerSideEncryptionConfiguration: output.ServerSideEncryptionConfiguration !== undefined && output.ServerSideEncryptionConfiguration !== null
|
|
1962
1970
|
? deserializeAws_json1_0ServerSideEncryptionConfiguration(output.ServerSideEncryptionConfiguration, context)
|
|
1963
1971
|
: undefined,
|
|
1972
|
+
ServerSideEncryptionUpdateDetails: output.ServerSideEncryptionUpdateDetails !== undefined && output.ServerSideEncryptionUpdateDetails !== null
|
|
1973
|
+
? deserializeAws_json1_0ServerSideEncryptionUpdateDetails(output.ServerSideEncryptionUpdateDetails, context)
|
|
1974
|
+
: undefined,
|
|
1964
1975
|
UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
|
|
1965
1976
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt)))
|
|
1966
1977
|
: undefined,
|
|
@@ -1990,6 +2001,9 @@ var deserializeAws_json1_0DomainSummary = function (output, context) {
|
|
|
1990
2001
|
ServerSideEncryptionConfiguration: output.ServerSideEncryptionConfiguration !== undefined && output.ServerSideEncryptionConfiguration !== null
|
|
1991
2002
|
? deserializeAws_json1_0ServerSideEncryptionConfiguration(output.ServerSideEncryptionConfiguration, context)
|
|
1992
2003
|
: undefined,
|
|
2004
|
+
ServerSideEncryptionUpdateDetails: output.ServerSideEncryptionUpdateDetails !== undefined && output.ServerSideEncryptionUpdateDetails !== null
|
|
2005
|
+
? deserializeAws_json1_0ServerSideEncryptionUpdateDetails(output.ServerSideEncryptionUpdateDetails, context)
|
|
2006
|
+
: undefined,
|
|
1993
2007
|
UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
|
|
1994
2008
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt)))
|
|
1995
2009
|
: undefined,
|
|
@@ -2233,6 +2247,13 @@ var deserializeAws_json1_0ServerSideEncryptionConfiguration = function (output,
|
|
|
2233
2247
|
KmsKeyId: __expectString(output.KmsKeyId),
|
|
2234
2248
|
};
|
|
2235
2249
|
};
|
|
2250
|
+
var deserializeAws_json1_0ServerSideEncryptionUpdateDetails = function (output, context) {
|
|
2251
|
+
return {
|
|
2252
|
+
Message: __expectString(output.Message),
|
|
2253
|
+
OldKmsKeyId: __expectString(output.OldKmsKeyId),
|
|
2254
|
+
UpdateStatus: __expectString(output.UpdateStatus),
|
|
2255
|
+
};
|
|
2256
|
+
};
|
|
2236
2257
|
var deserializeAws_json1_0ServiceQuotaExceededException = function (output, context) {
|
|
2237
2258
|
return {
|
|
2238
2259
|
Message: __expectString(output.Message),
|
package/dist-types/VoiceID.d.ts
CHANGED
|
@@ -36,19 +36,19 @@ export declare class VoiceID extends VoiceIDClient {
|
|
|
36
36
|
createDomain(args: CreateDomainCommandInput, cb: (err: any, data?: CreateDomainCommandOutput) => void): void;
|
|
37
37
|
createDomain(args: CreateDomainCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateDomainCommandOutput) => void): void;
|
|
38
38
|
/**
|
|
39
|
-
* <p>Deletes the specified domain from
|
|
39
|
+
* <p>Deletes the specified domain from Voice ID.</p>
|
|
40
40
|
*/
|
|
41
41
|
deleteDomain(args: DeleteDomainCommandInput, options?: __HttpHandlerOptions): Promise<DeleteDomainCommandOutput>;
|
|
42
42
|
deleteDomain(args: DeleteDomainCommandInput, cb: (err: any, data?: DeleteDomainCommandOutput) => void): void;
|
|
43
43
|
deleteDomain(args: DeleteDomainCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteDomainCommandOutput) => void): void;
|
|
44
44
|
/**
|
|
45
|
-
* <p>Deletes the specified fraudster from
|
|
45
|
+
* <p>Deletes the specified fraudster from Voice ID.</p>
|
|
46
46
|
*/
|
|
47
47
|
deleteFraudster(args: DeleteFraudsterCommandInput, options?: __HttpHandlerOptions): Promise<DeleteFraudsterCommandOutput>;
|
|
48
48
|
deleteFraudster(args: DeleteFraudsterCommandInput, cb: (err: any, data?: DeleteFraudsterCommandOutput) => void): void;
|
|
49
49
|
deleteFraudster(args: DeleteFraudsterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteFraudsterCommandOutput) => void): void;
|
|
50
50
|
/**
|
|
51
|
-
* <p>Deletes the specified speaker from
|
|
51
|
+
* <p>Deletes the specified speaker from Voice ID.</p>
|
|
52
52
|
*/
|
|
53
53
|
deleteSpeaker(args: DeleteSpeakerCommandInput, options?: __HttpHandlerOptions): Promise<DeleteSpeakerCommandOutput>;
|
|
54
54
|
deleteSpeaker(args: DeleteSpeakerCommandInput, cb: (err: any, data?: DeleteSpeakerCommandOutput) => void): void;
|
|
@@ -127,11 +127,11 @@ export declare class VoiceID extends VoiceIDClient {
|
|
|
127
127
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
128
128
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
129
129
|
/**
|
|
130
|
-
* <p>Opts out a speaker from Voice ID
|
|
131
|
-
* already exist in
|
|
130
|
+
* <p>Opts out a speaker from Voice ID. A speaker can be opted out regardless of whether or not they
|
|
131
|
+
* already exist in Voice ID. If they don't yet exist, a new speaker is created in an opted out state.
|
|
132
132
|
* If they already exist, their existing status is overridden and they are opted out. Enrollment and
|
|
133
133
|
* evaluation authentication requests are rejected for opted out speakers, and opted out speakers have
|
|
134
|
-
* no voice embeddings stored in
|
|
134
|
+
* no voice embeddings stored in Voice ID.</p>
|
|
135
135
|
*/
|
|
136
136
|
optOutSpeaker(args: OptOutSpeakerCommandInput, options?: __HttpHandlerOptions): Promise<OptOutSpeakerCommandOutput>;
|
|
137
137
|
optOutSpeaker(args: OptOutSpeakerCommandInput, cb: (err: any, data?: OptOutSpeakerCommandOutput) => void): void;
|
|
@@ -149,7 +149,7 @@ export declare class VoiceID extends VoiceIDClient {
|
|
|
149
149
|
startSpeakerEnrollmentJob(args: StartSpeakerEnrollmentJobCommandInput, cb: (err: any, data?: StartSpeakerEnrollmentJobCommandOutput) => void): void;
|
|
150
150
|
startSpeakerEnrollmentJob(args: StartSpeakerEnrollmentJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartSpeakerEnrollmentJobCommandOutput) => void): void;
|
|
151
151
|
/**
|
|
152
|
-
* <p>Tags
|
|
152
|
+
* <p>Tags a Voice ID resource with the provided list of tags.</p>
|
|
153
153
|
*/
|
|
154
154
|
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
155
155
|
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
@@ -7,7 +7,7 @@ export interface DeleteDomainCommandInput extends DeleteDomainRequest {
|
|
|
7
7
|
export interface DeleteDomainCommandOutput extends __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Deletes the specified domain from
|
|
10
|
+
* <p>Deletes the specified domain from Voice ID.</p>
|
|
11
11
|
* @example
|
|
12
12
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
13
|
* ```javascript
|
|
@@ -7,7 +7,7 @@ export interface DeleteFraudsterCommandInput extends DeleteFraudsterRequest {
|
|
|
7
7
|
export interface DeleteFraudsterCommandOutput extends __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Deletes the specified fraudster from
|
|
10
|
+
* <p>Deletes the specified fraudster from Voice ID.</p>
|
|
11
11
|
* @example
|
|
12
12
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
13
|
* ```javascript
|
|
@@ -7,7 +7,7 @@ export interface DeleteSpeakerCommandInput extends DeleteSpeakerRequest {
|
|
|
7
7
|
export interface DeleteSpeakerCommandOutput extends __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Deletes the specified speaker from
|
|
10
|
+
* <p>Deletes the specified speaker from Voice ID.</p>
|
|
11
11
|
* @example
|
|
12
12
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
13
|
* ```javascript
|
|
@@ -7,11 +7,11 @@ export interface OptOutSpeakerCommandInput extends OptOutSpeakerRequest {
|
|
|
7
7
|
export interface OptOutSpeakerCommandOutput extends OptOutSpeakerResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Opts out a speaker from Voice ID
|
|
11
|
-
* already exist in
|
|
10
|
+
* <p>Opts out a speaker from Voice ID. A speaker can be opted out regardless of whether or not they
|
|
11
|
+
* already exist in Voice ID. If they don't yet exist, a new speaker is created in an opted out state.
|
|
12
12
|
* If they already exist, their existing status is overridden and they are opted out. Enrollment and
|
|
13
13
|
* evaluation authentication requests are rejected for opted out speakers, and opted out speakers have
|
|
14
|
-
* no voice embeddings stored in
|
|
14
|
+
* no voice embeddings stored in Voice ID.</p>
|
|
15
15
|
* @example
|
|
16
16
|
* Use a bare-bones client and the command you need to make an API call.
|
|
17
17
|
* ```javascript
|
|
@@ -7,7 +7,7 @@ export interface TagResourceCommandInput extends TagResourceRequest {
|
|
|
7
7
|
export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Tags
|
|
10
|
+
* <p>Tags a Voice ID resource with the provided list of tags.</p>
|
|
11
11
|
* @example
|
|
12
12
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
13
|
* ```javascript
|
|
@@ -92,6 +92,7 @@ export declare enum ConflictType {
|
|
|
92
92
|
ANOTHER_ACTIVE_STREAM = "ANOTHER_ACTIVE_STREAM",
|
|
93
93
|
CANNOT_CHANGE_SPEAKER_AFTER_ENROLLMENT = "CANNOT_CHANGE_SPEAKER_AFTER_ENROLLMENT",
|
|
94
94
|
CONCURRENT_CHANGES = "CONCURRENT_CHANGES",
|
|
95
|
+
DOMAIN_LOCKED_FROM_ENCRYPTION_UPDATES = "DOMAIN_LOCKED_FROM_ENCRYPTION_UPDATES",
|
|
95
96
|
DOMAIN_NOT_ACTIVE = "DOMAIN_NOT_ACTIVE",
|
|
96
97
|
ENROLLMENT_ALREADY_EXISTS = "ENROLLMENT_ALREADY_EXISTS",
|
|
97
98
|
SPEAKER_NOT_SET = "SPEAKER_NOT_SET",
|
|
@@ -142,12 +143,12 @@ export declare class ConflictException extends __BaseException {
|
|
|
142
143
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
143
144
|
}
|
|
144
145
|
/**
|
|
145
|
-
* <p>The configuration containing information about the customer
|
|
146
|
+
* <p>The configuration containing information about the customer managed key used for encrypting
|
|
146
147
|
* customer data.</p>
|
|
147
148
|
*/
|
|
148
149
|
export interface ServerSideEncryptionConfiguration {
|
|
149
150
|
/**
|
|
150
|
-
* <p>The identifier of the KMS
|
|
151
|
+
* <p>The identifier of the KMS key you want Voice ID to use to encrypt your data.</p>
|
|
151
152
|
*/
|
|
152
153
|
KmsKeyId: string | undefined;
|
|
153
154
|
}
|
|
@@ -190,9 +191,9 @@ export interface CreateDomainRequest {
|
|
|
190
191
|
*/
|
|
191
192
|
Description?: string;
|
|
192
193
|
/**
|
|
193
|
-
* <p>The configuration, containing the KMS
|
|
194
|
+
* <p>The configuration, containing the KMS key identifier, to be used by Voice ID for
|
|
194
195
|
* the server-side encryption of your data. Refer to <a href="https://docs.aws.amazon.com/connect/latest/adminguide/encryption-at-rest.html#encryption-at-rest-voiceid">
|
|
195
|
-
* Amazon Connect
|
|
196
|
+
* Amazon Connect Voice ID encryption at rest</a> for more details on how the KMS key is used.
|
|
196
197
|
* </p>
|
|
197
198
|
*/
|
|
198
199
|
ServerSideEncryptionConfiguration: ServerSideEncryptionConfiguration | undefined;
|
|
@@ -217,6 +218,42 @@ export declare enum DomainStatus {
|
|
|
217
218
|
PENDING = "PENDING",
|
|
218
219
|
SUSPENDED = "SUSPENDED"
|
|
219
220
|
}
|
|
221
|
+
export declare enum ServerSideEncryptionUpdateStatus {
|
|
222
|
+
COMPLETED = "COMPLETED",
|
|
223
|
+
FAILED = "FAILED",
|
|
224
|
+
IN_PROGRESS = "IN_PROGRESS"
|
|
225
|
+
}
|
|
226
|
+
/**
|
|
227
|
+
* <p>Details about the most recent server-side encryption configuration update. When the server-side
|
|
228
|
+
* encryption configuration is changed, dependency on the old KMS key is removed through an
|
|
229
|
+
* asynchronous process. When this update is complete, the domain’s data can only be accessed using the
|
|
230
|
+
* new KMS key.</p>
|
|
231
|
+
*/
|
|
232
|
+
export interface ServerSideEncryptionUpdateDetails {
|
|
233
|
+
/**
|
|
234
|
+
* <p>The previous KMS key ID the domain was encrypted with, before
|
|
235
|
+
* ServerSideEncryptionConfiguration was updated to a new KMS key ID.</p>
|
|
236
|
+
*/
|
|
237
|
+
OldKmsKeyId?: string;
|
|
238
|
+
/**
|
|
239
|
+
* <p>Status of the server-side encryption update. During an update, if there is an issue with the domain's
|
|
240
|
+
* current or old KMS key ID, such as an inaccessible or disabled key, then the status
|
|
241
|
+
* is FAILED. In order to resolve this, the key needs to be made accessible, and then an UpdateDomain call
|
|
242
|
+
* with the existing server-side encryption configuration will re-attempt this update process.</p>
|
|
243
|
+
*/
|
|
244
|
+
UpdateStatus?: ServerSideEncryptionUpdateStatus | string;
|
|
245
|
+
/**
|
|
246
|
+
* <p>Message explaining the current UpdateStatus. When the UpdateStatus is FAILED, this message explains
|
|
247
|
+
* the cause of the failure.</p>
|
|
248
|
+
*/
|
|
249
|
+
Message?: string;
|
|
250
|
+
}
|
|
251
|
+
export declare namespace ServerSideEncryptionUpdateDetails {
|
|
252
|
+
/**
|
|
253
|
+
* @internal
|
|
254
|
+
*/
|
|
255
|
+
const filterSensitiveLog: (obj: ServerSideEncryptionUpdateDetails) => any;
|
|
256
|
+
}
|
|
220
257
|
/**
|
|
221
258
|
* <p>Contains all the information about a domain.</p>
|
|
222
259
|
*/
|
|
@@ -242,7 +279,7 @@ export interface Domain {
|
|
|
242
279
|
*/
|
|
243
280
|
DomainStatus?: DomainStatus | string;
|
|
244
281
|
/**
|
|
245
|
-
* <p>The server-side encryption configuration containing the KMS
|
|
282
|
+
* <p>The server-side encryption configuration containing the KMS key identifier you want Voice ID to use
|
|
246
283
|
* to encrypt your data.</p>
|
|
247
284
|
*/
|
|
248
285
|
ServerSideEncryptionConfiguration?: ServerSideEncryptionConfiguration;
|
|
@@ -254,6 +291,13 @@ export interface Domain {
|
|
|
254
291
|
* <p>The timestamp showing the domain's last update.</p>
|
|
255
292
|
*/
|
|
256
293
|
UpdatedAt?: Date;
|
|
294
|
+
/**
|
|
295
|
+
* <p>Details about the most recent server-side encryption configuration update. When the server-side
|
|
296
|
+
* encryption configuration is changed, dependency on the old KMS key is removed through an
|
|
297
|
+
* asynchronous process. When this update is complete, the domain's data can only be accessed using the
|
|
298
|
+
* new KMS key.</p>
|
|
299
|
+
*/
|
|
300
|
+
ServerSideEncryptionUpdateDetails?: ServerSideEncryptionUpdateDetails;
|
|
257
301
|
}
|
|
258
302
|
export declare namespace Domain {
|
|
259
303
|
/**
|
|
@@ -548,7 +592,7 @@ export declare enum FraudsterRegistrationJobStatus {
|
|
|
548
592
|
*/
|
|
549
593
|
export interface OutputDataConfig {
|
|
550
594
|
/**
|
|
551
|
-
* <p>The S3 path of the folder
|
|
595
|
+
* <p>The S3 path of the folder where Voice ID writes the job output file. It has a
|
|
552
596
|
* <code>*.out</code> extension. For example, if the input file name is <code>input-file.json</code> and
|
|
553
597
|
* the output folder path is <code>s3://output-bucket/output-folder</code>, the full output file path is
|
|
554
598
|
* <code>s3://output-bucket/output-folder/job-Id/input-file.json.out</code>.</p>
|
|
@@ -571,7 +615,7 @@ export declare enum DuplicateRegistrationAction {
|
|
|
571
615
|
SKIP = "SKIP"
|
|
572
616
|
}
|
|
573
617
|
/**
|
|
574
|
-
* <p>The configuration
|
|
618
|
+
* <p>The configuration defining the action to take when a duplicate fraudster is detected, and the
|
|
575
619
|
* similarity threshold to use for detecting a duplicate fraudster during a batch fraudster registration job.</p>
|
|
576
620
|
*/
|
|
577
621
|
export interface RegistrationConfig {
|
|
@@ -598,7 +642,7 @@ export declare namespace RegistrationConfig {
|
|
|
598
642
|
*/
|
|
599
643
|
export interface FraudsterRegistrationJob {
|
|
600
644
|
/**
|
|
601
|
-
* <p>The client-
|
|
645
|
+
* <p>The client-provided name for the fraudster registration job.</p>
|
|
602
646
|
*/
|
|
603
647
|
JobName?: string;
|
|
604
648
|
/**
|
|
@@ -630,7 +674,7 @@ export interface FraudsterRegistrationJob {
|
|
|
630
674
|
InputDataConfig?: InputDataConfig;
|
|
631
675
|
/**
|
|
632
676
|
* <p>The output data config containing the S3 location where you want Voice ID to write your job output
|
|
633
|
-
* file; you must also include a KMS
|
|
677
|
+
* file; you must also include a KMS key iD in order to encrypt the file.</p>
|
|
634
678
|
*/
|
|
635
679
|
OutputDataConfig?: OutputDataConfig;
|
|
636
680
|
/**
|
|
@@ -857,7 +901,7 @@ export interface SpeakerEnrollmentJob {
|
|
|
857
901
|
InputDataConfig?: InputDataConfig;
|
|
858
902
|
/**
|
|
859
903
|
* <p>The output data config containing the S3 location where Voice ID writes the job output file; you must
|
|
860
|
-
* also include a KMS
|
|
904
|
+
* also include a KMS key ID to encrypt the file.</p>
|
|
861
905
|
*/
|
|
862
906
|
OutputDataConfig?: OutputDataConfig;
|
|
863
907
|
/**
|
|
@@ -924,8 +968,8 @@ export interface DomainSummary {
|
|
|
924
968
|
*/
|
|
925
969
|
DomainStatus?: DomainStatus | string;
|
|
926
970
|
/**
|
|
927
|
-
* <p>The server-side encryption configuration containing the KMS
|
|
928
|
-
* to encrypt your data
|
|
971
|
+
* <p>The server-side encryption configuration containing the KMS key identifier you want Voice ID to use
|
|
972
|
+
* to encrypt your data.</p>
|
|
929
973
|
*/
|
|
930
974
|
ServerSideEncryptionConfiguration?: ServerSideEncryptionConfiguration;
|
|
931
975
|
/**
|
|
@@ -936,6 +980,13 @@ export interface DomainSummary {
|
|
|
936
980
|
* <p>The timestamp showing the domain's last update.</p>
|
|
937
981
|
*/
|
|
938
982
|
UpdatedAt?: Date;
|
|
983
|
+
/**
|
|
984
|
+
* <p>Details about the most recent server-side encryption configuration update. When the server-side
|
|
985
|
+
* encryption configuration is changed, dependency on the old KMS key is removed through an
|
|
986
|
+
* asynchronous process. When this update is complete, the domain’s data can only be accessed using the
|
|
987
|
+
* new KMS key.</p>
|
|
988
|
+
*/
|
|
989
|
+
ServerSideEncryptionUpdateDetails?: ServerSideEncryptionUpdateDetails;
|
|
939
990
|
}
|
|
940
991
|
export declare namespace DomainSummary {
|
|
941
992
|
/**
|
|
@@ -1089,7 +1140,7 @@ export interface EvaluateSessionResponse {
|
|
|
1089
1140
|
* <p>The current status of audio streaming for this session. This field is useful to infer next steps when
|
|
1090
1141
|
* the Authentication or Fraud Detection results are empty or the decision is <code>NOT_ENOUGH_SPEECH</code>.
|
|
1091
1142
|
* In this situation, if the <code>StreamingStatus</code> is <code>ONGOING/PENDING_CONFIGURATION</code>, it can
|
|
1092
|
-
* mean that the client should call the API again later,
|
|
1143
|
+
* mean that the client should call the API again later, after Voice ID has enough audio to produce a result.
|
|
1093
1144
|
* If the decision remains <code>NOT_ENOUGH_SPEECH</code> even after <code>StreamingStatus</code> is <code>ENDED</code>,
|
|
1094
1145
|
* it means that the previously streamed session did not have enough speech to perform evaluation, and a new
|
|
1095
1146
|
* streaming session is needed to try again.</p>
|
|
@@ -1510,7 +1561,7 @@ export interface StartFraudsterRegistrationJobRequest {
|
|
|
1510
1561
|
InputDataConfig: InputDataConfig | undefined;
|
|
1511
1562
|
/**
|
|
1512
1563
|
* <p>The output data config containing the S3 location where Voice ID writes the job output file; you must
|
|
1513
|
-
* also include a KMS
|
|
1564
|
+
* also include a KMS key ID to encrypt the file.</p>
|
|
1514
1565
|
*/
|
|
1515
1566
|
OutputDataConfig: OutputDataConfig | undefined;
|
|
1516
1567
|
}
|
|
@@ -1556,7 +1607,7 @@ export interface StartSpeakerEnrollmentJobRequest {
|
|
|
1556
1607
|
DataAccessRoleArn: string | undefined;
|
|
1557
1608
|
/**
|
|
1558
1609
|
* <p>The enrollment config that contains details such as the action to take when a speaker is already
|
|
1559
|
-
* enrolled in
|
|
1610
|
+
* enrolled in Voice ID or when a speaker is identified as a fraudster.</p>
|
|
1560
1611
|
*/
|
|
1561
1612
|
EnrollmentConfig?: EnrollmentConfig;
|
|
1562
1613
|
/**
|
|
@@ -1566,7 +1617,7 @@ export interface StartSpeakerEnrollmentJobRequest {
|
|
|
1566
1617
|
InputDataConfig: InputDataConfig | undefined;
|
|
1567
1618
|
/**
|
|
1568
1619
|
* <p>The output data config containing the S3 location where Voice ID writes the job output file; you must
|
|
1569
|
-
* also include a KMS
|
|
1620
|
+
* also include a KMS key ID to encrypt the file.</p>
|
|
1570
1621
|
*/
|
|
1571
1622
|
OutputDataConfig: OutputDataConfig | undefined;
|
|
1572
1623
|
}
|
|
@@ -1650,7 +1701,7 @@ export interface UpdateDomainRequest {
|
|
|
1650
1701
|
*/
|
|
1651
1702
|
Description?: string;
|
|
1652
1703
|
/**
|
|
1653
|
-
* <p>The configuration, containing the KMS
|
|
1704
|
+
* <p>The configuration, containing the KMS key identifier, to be used by Voice ID for the server-side
|
|
1654
1705
|
* encryption of your data. Note that all the existing data in the domain are still encrypted using the
|
|
1655
1706
|
* existing key, only the data added to domain after updating the key is encrypted using the new key. </p>
|
|
1656
1707
|
*/
|
|
@@ -53,6 +53,7 @@ export declare enum ConflictType {
|
|
|
53
53
|
ANOTHER_ACTIVE_STREAM = "ANOTHER_ACTIVE_STREAM",
|
|
54
54
|
CANNOT_CHANGE_SPEAKER_AFTER_ENROLLMENT = "CANNOT_CHANGE_SPEAKER_AFTER_ENROLLMENT",
|
|
55
55
|
CONCURRENT_CHANGES = "CONCURRENT_CHANGES",
|
|
56
|
+
DOMAIN_LOCKED_FROM_ENCRYPTION_UPDATES = "DOMAIN_LOCKED_FROM_ENCRYPTION_UPDATES",
|
|
56
57
|
DOMAIN_NOT_ACTIVE = "DOMAIN_NOT_ACTIVE",
|
|
57
58
|
ENROLLMENT_ALREADY_EXISTS = "ENROLLMENT_ALREADY_EXISTS",
|
|
58
59
|
SPEAKER_NOT_SET = "SPEAKER_NOT_SET",
|
|
@@ -109,6 +110,24 @@ export declare enum DomainStatus {
|
|
|
109
110
|
PENDING = "PENDING",
|
|
110
111
|
SUSPENDED = "SUSPENDED"
|
|
111
112
|
}
|
|
113
|
+
export declare enum ServerSideEncryptionUpdateStatus {
|
|
114
|
+
COMPLETED = "COMPLETED",
|
|
115
|
+
FAILED = "FAILED",
|
|
116
|
+
IN_PROGRESS = "IN_PROGRESS"
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
export interface ServerSideEncryptionUpdateDetails {
|
|
120
|
+
|
|
121
|
+
OldKmsKeyId?: string;
|
|
122
|
+
|
|
123
|
+
UpdateStatus?: ServerSideEncryptionUpdateStatus | string;
|
|
124
|
+
|
|
125
|
+
Message?: string;
|
|
126
|
+
}
|
|
127
|
+
export declare namespace ServerSideEncryptionUpdateDetails {
|
|
128
|
+
|
|
129
|
+
const filterSensitiveLog: (obj: ServerSideEncryptionUpdateDetails) => any;
|
|
130
|
+
}
|
|
112
131
|
|
|
113
132
|
export interface Domain {
|
|
114
133
|
|
|
@@ -127,6 +146,8 @@ export interface Domain {
|
|
|
127
146
|
CreatedAt?: Date;
|
|
128
147
|
|
|
129
148
|
UpdatedAt?: Date;
|
|
149
|
+
|
|
150
|
+
ServerSideEncryptionUpdateDetails?: ServerSideEncryptionUpdateDetails;
|
|
130
151
|
}
|
|
131
152
|
export declare namespace Domain {
|
|
132
153
|
|
|
@@ -525,6 +546,8 @@ export interface DomainSummary {
|
|
|
525
546
|
CreatedAt?: Date;
|
|
526
547
|
|
|
527
548
|
UpdatedAt?: Date;
|
|
549
|
+
|
|
550
|
+
ServerSideEncryptionUpdateDetails?: ServerSideEncryptionUpdateDetails;
|
|
528
551
|
}
|
|
529
552
|
export declare namespace DomainSummary {
|
|
530
553
|
|
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.105.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",
|
|
@@ -18,15 +18,16 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.105.0",
|
|
22
22
|
"@aws-sdk/config-resolver": "3.80.0",
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.105.0",
|
|
24
24
|
"@aws-sdk/fetch-http-handler": "3.78.0",
|
|
25
25
|
"@aws-sdk/hash-node": "3.78.0",
|
|
26
26
|
"@aws-sdk/invalid-dependency": "3.78.0",
|
|
27
27
|
"@aws-sdk/middleware-content-length": "3.78.0",
|
|
28
28
|
"@aws-sdk/middleware-host-header": "3.78.0",
|
|
29
29
|
"@aws-sdk/middleware-logger": "3.78.0",
|
|
30
|
+
"@aws-sdk/middleware-recursion-detection": "3.105.0",
|
|
30
31
|
"@aws-sdk/middleware-retry": "3.80.0",
|
|
31
32
|
"@aws-sdk/middleware-serde": "3.78.0",
|
|
32
33
|
"@aws-sdk/middleware-signing": "3.78.0",
|