@aws-sdk/client-voice-id 3.95.0 → 3.104.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 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.104.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.103.0...v3.104.0) (2022-06-02)
7
+
8
+
9
+ ### Features
10
+
11
+ * **client-voice-id:** Added a new attribute ServerSideEncryptionUpdateDetails to Domain and DomainSummary. ([4edcad0](https://github.com/aws/aws-sdk-js-v3/commit/4edcad07a6f026e448f572cf98aef01881f97695))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.100.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.99.0...v3.100.0) (2022-05-26)
18
+
19
+ **Note:** Version bump only for package @aws-sdk/client-voice-id
20
+
21
+
22
+
23
+
24
+
25
+ # [3.99.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.98.0...v3.99.0) (2022-05-25)
26
+
27
+
28
+ ### Features
29
+
30
+ * **client-voice-id:** VoiceID will now automatically expire Speakers if they haven't been accessed for Enrollment, Re-enrollment or Successful Auth for three years. The Speaker APIs now return a "LastAccessedAt" time for Speakers, and the EvaluateSession API returns "SPEAKER_EXPIRED" Auth Decision for EXPIRED Speakers. ([7bd32c7](https://github.com/aws/aws-sdk-js-v3/commit/7bd32c786bae60d657f57a037a156714c4cde2ed))
31
+
32
+
33
+
34
+
35
+
6
36
  # [3.95.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.94.0...v3.95.0) (2022-05-19)
7
37
 
8
38
  **Note:** Version bump only for package @aws-sdk/client-voice-id
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.EvaluateSessionRequest = exports.DomainSummary = 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.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 = 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 {
@@ -29,6 +29,7 @@ var AuthenticationDecision;
29
29
  AuthenticationDecision["ACCEPT"] = "ACCEPT";
30
30
  AuthenticationDecision["NOT_ENOUGH_SPEECH"] = "NOT_ENOUGH_SPEECH";
31
31
  AuthenticationDecision["REJECT"] = "REJECT";
32
+ AuthenticationDecision["SPEAKER_EXPIRED"] = "SPEAKER_EXPIRED";
32
33
  AuthenticationDecision["SPEAKER_ID_NOT_PROVIDED"] = "SPEAKER_ID_NOT_PROVIDED";
33
34
  AuthenticationDecision["SPEAKER_NOT_ENROLLED"] = "SPEAKER_NOT_ENROLLED";
34
35
  AuthenticationDecision["SPEAKER_OPTED_OUT"] = "SPEAKER_OPTED_OUT";
@@ -45,6 +46,7 @@ var ConflictType;
45
46
  ConflictType["ANOTHER_ACTIVE_STREAM"] = "ANOTHER_ACTIVE_STREAM";
46
47
  ConflictType["CANNOT_CHANGE_SPEAKER_AFTER_ENROLLMENT"] = "CANNOT_CHANGE_SPEAKER_AFTER_ENROLLMENT";
47
48
  ConflictType["CONCURRENT_CHANGES"] = "CONCURRENT_CHANGES";
49
+ ConflictType["DOMAIN_LOCKED_FROM_ENCRYPTION_UPDATES"] = "DOMAIN_LOCKED_FROM_ENCRYPTION_UPDATES";
48
50
  ConflictType["DOMAIN_NOT_ACTIVE"] = "DOMAIN_NOT_ACTIVE";
49
51
  ConflictType["ENROLLMENT_ALREADY_EXISTS"] = "ENROLLMENT_ALREADY_EXISTS";
50
52
  ConflictType["SPEAKER_NOT_SET"] = "SPEAKER_NOT_SET";
@@ -94,6 +96,18 @@ var DomainStatus;
94
96
  DomainStatus["PENDING"] = "PENDING";
95
97
  DomainStatus["SUSPENDED"] = "SUSPENDED";
96
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 = {}));
97
111
  var Domain;
98
112
  (function (Domain) {
99
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),
@@ -1928,6 +1947,9 @@ const deserializeAws_json1_0Speaker = (output, context) => {
1928
1947
  CustomerSpeakerId: (0, smithy_client_1.expectString)(output.CustomerSpeakerId),
1929
1948
  DomainId: (0, smithy_client_1.expectString)(output.DomainId),
1930
1949
  GeneratedSpeakerId: (0, smithy_client_1.expectString)(output.GeneratedSpeakerId),
1950
+ LastAccessedAt: output.LastAccessedAt !== undefined && output.LastAccessedAt !== null
1951
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastAccessedAt)))
1952
+ : undefined,
1931
1953
  Status: (0, smithy_client_1.expectString)(output.Status),
1932
1954
  UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
1933
1955
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.UpdatedAt)))
@@ -2014,6 +2036,9 @@ const deserializeAws_json1_0SpeakerSummary = (output, context) => {
2014
2036
  CustomerSpeakerId: (0, smithy_client_1.expectString)(output.CustomerSpeakerId),
2015
2037
  DomainId: (0, smithy_client_1.expectString)(output.DomainId),
2016
2038
  GeneratedSpeakerId: (0, smithy_client_1.expectString)(output.GeneratedSpeakerId),
2039
+ LastAccessedAt: output.LastAccessedAt !== undefined && output.LastAccessedAt !== null
2040
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastAccessedAt)))
2041
+ : undefined,
2017
2042
  Status: (0, smithy_client_1.expectString)(output.Status),
2018
2043
  UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
2019
2044
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.UpdatedAt)))
@@ -17,8 +17,10 @@ const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
17
17
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
18
18
  const smithy_client_1 = require("@aws-sdk/smithy-client");
19
19
  const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
20
+ const smithy_client_2 = require("@aws-sdk/smithy-client");
20
21
  const getRuntimeConfig = (config) => {
21
22
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
23
+ (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);
22
24
  const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
23
25
  const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
24
26
  const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
@@ -23,6 +23,7 @@ export var AuthenticationDecision;
23
23
  AuthenticationDecision["ACCEPT"] = "ACCEPT";
24
24
  AuthenticationDecision["NOT_ENOUGH_SPEECH"] = "NOT_ENOUGH_SPEECH";
25
25
  AuthenticationDecision["REJECT"] = "REJECT";
26
+ AuthenticationDecision["SPEAKER_EXPIRED"] = "SPEAKER_EXPIRED";
26
27
  AuthenticationDecision["SPEAKER_ID_NOT_PROVIDED"] = "SPEAKER_ID_NOT_PROVIDED";
27
28
  AuthenticationDecision["SPEAKER_NOT_ENROLLED"] = "SPEAKER_NOT_ENROLLED";
28
29
  AuthenticationDecision["SPEAKER_OPTED_OUT"] = "SPEAKER_OPTED_OUT";
@@ -36,6 +37,7 @@ export var ConflictType;
36
37
  ConflictType["ANOTHER_ACTIVE_STREAM"] = "ANOTHER_ACTIVE_STREAM";
37
38
  ConflictType["CANNOT_CHANGE_SPEAKER_AFTER_ENROLLMENT"] = "CANNOT_CHANGE_SPEAKER_AFTER_ENROLLMENT";
38
39
  ConflictType["CONCURRENT_CHANGES"] = "CONCURRENT_CHANGES";
40
+ ConflictType["DOMAIN_LOCKED_FROM_ENCRYPTION_UPDATES"] = "DOMAIN_LOCKED_FROM_ENCRYPTION_UPDATES";
39
41
  ConflictType["DOMAIN_NOT_ACTIVE"] = "DOMAIN_NOT_ACTIVE";
40
42
  ConflictType["ENROLLMENT_ALREADY_EXISTS"] = "ENROLLMENT_ALREADY_EXISTS";
41
43
  ConflictType["SPEAKER_NOT_SET"] = "SPEAKER_NOT_SET";
@@ -73,6 +75,16 @@ export var DomainStatus;
73
75
  DomainStatus["PENDING"] = "PENDING";
74
76
  DomainStatus["SUSPENDED"] = "SUSPENDED";
75
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 = {}));
76
88
  export var Domain;
77
89
  (function (Domain) {
78
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 "InternalServerException": return [3, 4];
418
- case "com.amazonaws.voiceid#InternalServerException": return [3, 4];
419
- case "ResourceNotFoundException": return [3, 6];
420
- case "com.amazonaws.voiceid#ResourceNotFoundException": return [3, 6];
421
- case "ThrottlingException": return [3, 8];
422
- case "com.amazonaws.voiceid#ThrottlingException": return [3, 8];
423
- case "ValidationException": return [3, 10];
424
- case "com.amazonaws.voiceid#ValidationException": return [3, 10];
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, 12];
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, deserializeAws_json1_0InternalServerExceptionResponse(parsedOutput, context)];
431
+ case 4: return [4, deserializeAws_json1_0ConflictExceptionResponse(parsedOutput, context)];
430
432
  case 5: throw _d.sent();
431
- case 6: return [4, deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context)];
433
+ case 6: return [4, deserializeAws_json1_0InternalServerExceptionResponse(parsedOutput, context)];
432
434
  case 7: throw _d.sent();
433
- case 8: return [4, deserializeAws_json1_0ThrottlingExceptionResponse(parsedOutput, context)];
435
+ case 8: return [4, deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context)];
434
436
  case 9: throw _d.sent();
435
- case 10: return [4, deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context)];
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 "InternalServerException": return [3, 4];
884
- case "com.amazonaws.voiceid#InternalServerException": return [3, 4];
885
- case "ResourceNotFoundException": return [3, 6];
886
- case "com.amazonaws.voiceid#ResourceNotFoundException": return [3, 6];
887
- case "ThrottlingException": return [3, 8];
888
- case "com.amazonaws.voiceid#ThrottlingException": return [3, 8];
889
- case "ValidationException": return [3, 10];
890
- case "com.amazonaws.voiceid#ValidationException": return [3, 10];
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, 12];
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, deserializeAws_json1_0InternalServerExceptionResponse(parsedOutput, context)];
901
+ case 4: return [4, deserializeAws_json1_0ConflictExceptionResponse(parsedOutput, context)];
896
902
  case 5: throw _d.sent();
897
- case 6: return [4, deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context)];
903
+ case 6: return [4, deserializeAws_json1_0InternalServerExceptionResponse(parsedOutput, context)];
898
904
  case 7: throw _d.sent();
899
- case 8: return [4, deserializeAws_json1_0ThrottlingExceptionResponse(parsedOutput, context)];
905
+ case 8: return [4, deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context)];
900
906
  case 9: throw _d.sent();
901
- case 10: return [4, deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context)];
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),
@@ -2246,6 +2267,9 @@ var deserializeAws_json1_0Speaker = function (output, context) {
2246
2267
  CustomerSpeakerId: __expectString(output.CustomerSpeakerId),
2247
2268
  DomainId: __expectString(output.DomainId),
2248
2269
  GeneratedSpeakerId: __expectString(output.GeneratedSpeakerId),
2270
+ LastAccessedAt: output.LastAccessedAt !== undefined && output.LastAccessedAt !== null
2271
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastAccessedAt)))
2272
+ : undefined,
2249
2273
  Status: __expectString(output.Status),
2250
2274
  UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
2251
2275
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt)))
@@ -2332,6 +2356,9 @@ var deserializeAws_json1_0SpeakerSummary = function (output, context) {
2332
2356
  CustomerSpeakerId: __expectString(output.CustomerSpeakerId),
2333
2357
  DomainId: __expectString(output.DomainId),
2334
2358
  GeneratedSpeakerId: __expectString(output.GeneratedSpeakerId),
2359
+ LastAccessedAt: output.LastAccessedAt !== undefined && output.LastAccessedAt !== null
2360
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastAccessedAt)))
2361
+ : undefined,
2335
2362
  Status: __expectString(output.Status),
2336
2363
  UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
2337
2364
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt)))
@@ -14,8 +14,10 @@ import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
14
14
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
15
15
  import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
16
16
  import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
17
+ import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
17
18
  export var getRuntimeConfig = function (config) {
18
19
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
20
+ emitWarningIfUnsupportedVersion(process.version);
19
21
  var defaultsMode = resolveDefaultsModeConfig(config);
20
22
  var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
21
23
  var clientSharedValues = getSharedRuntimeConfig(config);
@@ -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 the Amazon Connect Voice ID system.</p>
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 the Amazon Connect Voice ID system.</p>
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 the Amazon Connect Voice ID system.</p>
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 system. A speaker can be opted out regardless of whether or not they
131
- * already exist in the system. If they don't yet exist, a new speaker is created in an opted out state.
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 the system.</p>
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 an Amazon Connect Voice ID resource with the provided list of tags.</p>
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 the Amazon Connect Voice ID system.</p>
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 the Amazon Connect Voice ID system.</p>
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 the Amazon Connect Voice ID system.</p>
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 system. A speaker can be opted out regardless of whether or not they
11
- * already exist in the system. If they don't yet exist, a new speaker is created in an opted out state.
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 the system.</p>
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 an Amazon Connect Voice ID resource with the provided list of tags.</p>
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
@@ -32,6 +32,7 @@ export declare enum AuthenticationDecision {
32
32
  ACCEPT = "ACCEPT",
33
33
  NOT_ENOUGH_SPEECH = "NOT_ENOUGH_SPEECH",
34
34
  REJECT = "REJECT",
35
+ SPEAKER_EXPIRED = "SPEAKER_EXPIRED",
35
36
  SPEAKER_ID_NOT_PROVIDED = "SPEAKER_ID_NOT_PROVIDED",
36
37
  SPEAKER_NOT_ENROLLED = "SPEAKER_NOT_ENROLLED",
37
38
  SPEAKER_OPTED_OUT = "SPEAKER_OPTED_OUT"
@@ -91,6 +92,7 @@ export declare enum ConflictType {
91
92
  ANOTHER_ACTIVE_STREAM = "ANOTHER_ACTIVE_STREAM",
92
93
  CANNOT_CHANGE_SPEAKER_AFTER_ENROLLMENT = "CANNOT_CHANGE_SPEAKER_AFTER_ENROLLMENT",
93
94
  CONCURRENT_CHANGES = "CONCURRENT_CHANGES",
95
+ DOMAIN_LOCKED_FROM_ENCRYPTION_UPDATES = "DOMAIN_LOCKED_FROM_ENCRYPTION_UPDATES",
94
96
  DOMAIN_NOT_ACTIVE = "DOMAIN_NOT_ACTIVE",
95
97
  ENROLLMENT_ALREADY_EXISTS = "ENROLLMENT_ALREADY_EXISTS",
96
98
  SPEAKER_NOT_SET = "SPEAKER_NOT_SET",
@@ -141,12 +143,12 @@ export declare class ConflictException extends __BaseException {
141
143
  constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
142
144
  }
143
145
  /**
144
- * <p>The configuration containing information about the customer-managed KMS Key used for encrypting
146
+ * <p>The configuration containing information about the customer managed key used for encrypting
145
147
  * customer data.</p>
146
148
  */
147
149
  export interface ServerSideEncryptionConfiguration {
148
150
  /**
149
- * <p>The identifier of the KMS Key you want Voice ID to use to encrypt your data.</p>
151
+ * <p>The identifier of the KMS key you want Voice ID to use to encrypt your data.</p>
150
152
  */
151
153
  KmsKeyId: string | undefined;
152
154
  }
@@ -189,9 +191,9 @@ export interface CreateDomainRequest {
189
191
  */
190
192
  Description?: string;
191
193
  /**
192
- * <p>The configuration, containing the KMS Key Identifier, to be used by Voice ID for
194
+ * <p>The configuration, containing the KMS key identifier, to be used by Voice ID for
193
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">
194
- * Amazon Connect VoiceID encryption at rest</a> for more details on how the KMS Key is used.
196
+ * Amazon Connect Voice ID encryption at rest</a> for more details on how the KMS key is used.
195
197
  * </p>
196
198
  */
197
199
  ServerSideEncryptionConfiguration: ServerSideEncryptionConfiguration | undefined;
@@ -216,6 +218,42 @@ export declare enum DomainStatus {
216
218
  PENDING = "PENDING",
217
219
  SUSPENDED = "SUSPENDED"
218
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
+ }
219
257
  /**
220
258
  * <p>Contains all the information about a domain.</p>
221
259
  */
@@ -241,7 +279,7 @@ export interface Domain {
241
279
  */
242
280
  DomainStatus?: DomainStatus | string;
243
281
  /**
244
- * <p>The server-side encryption configuration containing the KMS Key Identifier you want Voice ID to use
282
+ * <p>The server-side encryption configuration containing the KMS key identifier you want Voice ID to use
245
283
  * to encrypt your data.</p>
246
284
  */
247
285
  ServerSideEncryptionConfiguration?: ServerSideEncryptionConfiguration;
@@ -253,6 +291,13 @@ export interface Domain {
253
291
  * <p>The timestamp showing the domain's last update.</p>
254
292
  */
255
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;
256
301
  }
257
302
  export declare namespace Domain {
258
303
  /**
@@ -547,7 +592,7 @@ export declare enum FraudsterRegistrationJobStatus {
547
592
  */
548
593
  export interface OutputDataConfig {
549
594
  /**
550
- * <p>The S3 path of the folder to which Voice ID writes the job output file, which has a
595
+ * <p>The S3 path of the folder where Voice ID writes the job output file. It has a
551
596
  * <code>*.out</code> extension. For example, if the input file name is <code>input-file.json</code> and
552
597
  * the output folder path is <code>s3://output-bucket/output-folder</code>, the full output file path is
553
598
  * <code>s3://output-bucket/output-folder/job-Id/input-file.json.out</code>.</p>
@@ -570,7 +615,7 @@ export declare enum DuplicateRegistrationAction {
570
615
  SKIP = "SKIP"
571
616
  }
572
617
  /**
573
- * <p>The configuration definining the action to take when a duplicate fraudster is detected, and the
618
+ * <p>The configuration defining the action to take when a duplicate fraudster is detected, and the
574
619
  * similarity threshold to use for detecting a duplicate fraudster during a batch fraudster registration job.</p>
575
620
  */
576
621
  export interface RegistrationConfig {
@@ -597,7 +642,7 @@ export declare namespace RegistrationConfig {
597
642
  */
598
643
  export interface FraudsterRegistrationJob {
599
644
  /**
600
- * <p>The client-provied name for the fraudster registration job.</p>
645
+ * <p>The client-provided name for the fraudster registration job.</p>
601
646
  */
602
647
  JobName?: string;
603
648
  /**
@@ -629,7 +674,7 @@ export interface FraudsterRegistrationJob {
629
674
  InputDataConfig?: InputDataConfig;
630
675
  /**
631
676
  * <p>The output data config containing the S3 location where you want Voice ID to write your job output
632
- * file; you must also include a KMS Key ID in order to encrypt the file.</p>
677
+ * file; you must also include a KMS key iD in order to encrypt the file.</p>
633
678
  */
634
679
  OutputDataConfig?: OutputDataConfig;
635
680
  /**
@@ -720,6 +765,10 @@ export interface Speaker {
720
765
  * <p>A timestamp showing the speaker's last update.</p>
721
766
  */
722
767
  UpdatedAt?: Date;
768
+ /**
769
+ * <p>The timestamp when the speaker was last accessed for enrollment, re-enrollment or a successful authentication. This timestamp is accurate to one hour.</p>
770
+ */
771
+ LastAccessedAt?: Date;
723
772
  }
724
773
  export declare namespace Speaker {
725
774
  /**
@@ -852,7 +901,7 @@ export interface SpeakerEnrollmentJob {
852
901
  InputDataConfig?: InputDataConfig;
853
902
  /**
854
903
  * <p>The output data config containing the S3 location where Voice ID writes the job output file; you must
855
- * also include a KMS Key ID to encrypt the file.</p>
904
+ * also include a KMS key ID to encrypt the file.</p>
856
905
  */
857
906
  OutputDataConfig?: OutputDataConfig;
858
907
  /**
@@ -919,8 +968,8 @@ export interface DomainSummary {
919
968
  */
920
969
  DomainStatus?: DomainStatus | string;
921
970
  /**
922
- * <p>The server-side encryption configuration containing the KMS Key Identifier you want Voice ID to use
923
- * to encrypt your data..</p>
971
+ * <p>The server-side encryption configuration containing the KMS key identifier you want Voice ID to use
972
+ * to encrypt your data.</p>
924
973
  */
925
974
  ServerSideEncryptionConfiguration?: ServerSideEncryptionConfiguration;
926
975
  /**
@@ -931,6 +980,13 @@ export interface DomainSummary {
931
980
  * <p>The timestamp showing the domain's last update.</p>
932
981
  */
933
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;
934
990
  }
935
991
  export declare namespace DomainSummary {
936
992
  /**
@@ -1084,7 +1140,7 @@ export interface EvaluateSessionResponse {
1084
1140
  * <p>The current status of audio streaming for this session. This field is useful to infer next steps when
1085
1141
  * the Authentication or Fraud Detection results are empty or the decision is <code>NOT_ENOUGH_SPEECH</code>.
1086
1142
  * In this situation, if the <code>StreamingStatus</code> is <code>ONGOING/PENDING_CONFIGURATION</code>, it can
1087
- * mean that the client should call the API again later, once Voice ID has enough audio to produce a result.
1143
+ * mean that the client should call the API again later, after Voice ID has enough audio to produce a result.
1088
1144
  * If the decision remains <code>NOT_ENOUGH_SPEECH</code> even after <code>StreamingStatus</code> is <code>ENDED</code>,
1089
1145
  * it means that the previously streamed session did not have enough speech to perform evaluation, and a new
1090
1146
  * streaming session is needed to try again.</p>
@@ -1388,6 +1444,10 @@ export interface SpeakerSummary {
1388
1444
  * <p>A timestamp showing the speaker's last update.</p>
1389
1445
  */
1390
1446
  UpdatedAt?: Date;
1447
+ /**
1448
+ * <p>The timestamp when the speaker was last accessed for enrollment, re-enrollment or a successful authentication. This timestamp is accurate to one hour.</p>
1449
+ */
1450
+ LastAccessedAt?: Date;
1391
1451
  }
1392
1452
  export declare namespace SpeakerSummary {
1393
1453
  /**
@@ -1501,7 +1561,7 @@ export interface StartFraudsterRegistrationJobRequest {
1501
1561
  InputDataConfig: InputDataConfig | undefined;
1502
1562
  /**
1503
1563
  * <p>The output data config containing the S3 location where Voice ID writes the job output file; you must
1504
- * also include a KMS Key ID to encrypt the file.</p>
1564
+ * also include a KMS key ID to encrypt the file.</p>
1505
1565
  */
1506
1566
  OutputDataConfig: OutputDataConfig | undefined;
1507
1567
  }
@@ -1547,7 +1607,7 @@ export interface StartSpeakerEnrollmentJobRequest {
1547
1607
  DataAccessRoleArn: string | undefined;
1548
1608
  /**
1549
1609
  * <p>The enrollment config that contains details such as the action to take when a speaker is already
1550
- * enrolled in the Voice ID system or when a speaker is identified as a fraudster.</p>
1610
+ * enrolled in Voice ID or when a speaker is identified as a fraudster.</p>
1551
1611
  */
1552
1612
  EnrollmentConfig?: EnrollmentConfig;
1553
1613
  /**
@@ -1557,7 +1617,7 @@ export interface StartSpeakerEnrollmentJobRequest {
1557
1617
  InputDataConfig: InputDataConfig | undefined;
1558
1618
  /**
1559
1619
  * <p>The output data config containing the S3 location where Voice ID writes the job output file; you must
1560
- * also include a KMS Key ID to encrypt the file.</p>
1620
+ * also include a KMS key ID to encrypt the file.</p>
1561
1621
  */
1562
1622
  OutputDataConfig: OutputDataConfig | undefined;
1563
1623
  }
@@ -1641,7 +1701,7 @@ export interface UpdateDomainRequest {
1641
1701
  */
1642
1702
  Description?: string;
1643
1703
  /**
1644
- * <p>The configuration, containing the KMS Key Identifier, to be used by Voice ID for the server-side
1704
+ * <p>The configuration, containing the KMS key identifier, to be used by Voice ID for the server-side
1645
1705
  * encryption of your data. Note that all the existing data in the domain are still encrypted using the
1646
1706
  * existing key, only the data added to domain after updating the key is encrypted using the new key. </p>
1647
1707
  */
@@ -21,6 +21,7 @@ export declare enum AuthenticationDecision {
21
21
  ACCEPT = "ACCEPT",
22
22
  NOT_ENOUGH_SPEECH = "NOT_ENOUGH_SPEECH",
23
23
  REJECT = "REJECT",
24
+ SPEAKER_EXPIRED = "SPEAKER_EXPIRED",
24
25
  SPEAKER_ID_NOT_PROVIDED = "SPEAKER_ID_NOT_PROVIDED",
25
26
  SPEAKER_NOT_ENROLLED = "SPEAKER_NOT_ENROLLED",
26
27
  SPEAKER_OPTED_OUT = "SPEAKER_OPTED_OUT"
@@ -52,6 +53,7 @@ export declare enum ConflictType {
52
53
  ANOTHER_ACTIVE_STREAM = "ANOTHER_ACTIVE_STREAM",
53
54
  CANNOT_CHANGE_SPEAKER_AFTER_ENROLLMENT = "CANNOT_CHANGE_SPEAKER_AFTER_ENROLLMENT",
54
55
  CONCURRENT_CHANGES = "CONCURRENT_CHANGES",
56
+ DOMAIN_LOCKED_FROM_ENCRYPTION_UPDATES = "DOMAIN_LOCKED_FROM_ENCRYPTION_UPDATES",
55
57
  DOMAIN_NOT_ACTIVE = "DOMAIN_NOT_ACTIVE",
56
58
  ENROLLMENT_ALREADY_EXISTS = "ENROLLMENT_ALREADY_EXISTS",
57
59
  SPEAKER_NOT_SET = "SPEAKER_NOT_SET",
@@ -108,6 +110,24 @@ export declare enum DomainStatus {
108
110
  PENDING = "PENDING",
109
111
  SUSPENDED = "SUSPENDED"
110
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
+ }
111
131
 
112
132
  export interface Domain {
113
133
 
@@ -126,6 +146,8 @@ export interface Domain {
126
146
  CreatedAt?: Date;
127
147
 
128
148
  UpdatedAt?: Date;
149
+
150
+ ServerSideEncryptionUpdateDetails?: ServerSideEncryptionUpdateDetails;
129
151
  }
130
152
  export declare namespace Domain {
131
153
 
@@ -405,6 +427,8 @@ export interface Speaker {
405
427
  CreatedAt?: Date;
406
428
 
407
429
  UpdatedAt?: Date;
430
+
431
+ LastAccessedAt?: Date;
408
432
  }
409
433
  export declare namespace Speaker {
410
434
 
@@ -522,6 +546,8 @@ export interface DomainSummary {
522
546
  CreatedAt?: Date;
523
547
 
524
548
  UpdatedAt?: Date;
549
+
550
+ ServerSideEncryptionUpdateDetails?: ServerSideEncryptionUpdateDetails;
525
551
  }
526
552
  export declare namespace DomainSummary {
527
553
 
@@ -758,6 +784,8 @@ export interface SpeakerSummary {
758
784
  CreatedAt?: Date;
759
785
 
760
786
  UpdatedAt?: Date;
787
+
788
+ LastAccessedAt?: Date;
761
789
  }
762
790
  export declare namespace SpeakerSummary {
763
791
 
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.95.0",
4
+ "version": "3.104.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,9 +18,9 @@
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.95.0",
21
+ "@aws-sdk/client-sts": "3.100.0",
22
22
  "@aws-sdk/config-resolver": "3.80.0",
23
- "@aws-sdk/credential-provider-node": "3.95.0",
23
+ "@aws-sdk/credential-provider-node": "3.100.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",
@@ -35,15 +35,15 @@
35
35
  "@aws-sdk/node-config-provider": "3.80.0",
36
36
  "@aws-sdk/node-http-handler": "3.94.0",
37
37
  "@aws-sdk/protocol-http": "3.78.0",
38
- "@aws-sdk/smithy-client": "3.85.0",
38
+ "@aws-sdk/smithy-client": "3.99.0",
39
39
  "@aws-sdk/types": "3.78.0",
40
40
  "@aws-sdk/url-parser": "3.78.0",
41
41
  "@aws-sdk/util-base64-browser": "3.58.0",
42
42
  "@aws-sdk/util-base64-node": "3.55.0",
43
43
  "@aws-sdk/util-body-length-browser": "3.55.0",
44
44
  "@aws-sdk/util-body-length-node": "3.55.0",
45
- "@aws-sdk/util-defaults-mode-browser": "3.85.0",
46
- "@aws-sdk/util-defaults-mode-node": "3.85.0",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.99.0",
46
+ "@aws-sdk/util-defaults-mode-node": "3.99.0",
47
47
  "@aws-sdk/util-user-agent-browser": "3.78.0",
48
48
  "@aws-sdk/util-user-agent-node": "3.80.0",
49
49
  "@aws-sdk/util-utf8-browser": "3.55.0",