@aws-sdk/client-voice-id 3.94.0 → 3.100.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 +27 -0
- package/dist-cjs/models/models_0.js +1 -0
- package/dist-cjs/protocols/Aws_json1_0.js +6 -0
- package/dist-cjs/runtimeConfig.js +2 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/protocols/Aws_json1_0.js +6 -0
- package/dist-es/runtimeConfig.js +2 -0
- package/dist-types/models/models_0.d.ts +9 -0
- package/dist-types/ts3.4/models/models_0.d.ts +5 -0
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
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.100.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.99.0...v3.100.0) (2022-05-26)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-voice-id
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.99.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.98.0...v3.99.0) (2022-05-25)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* **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))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.95.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.94.0...v3.95.0) (2022-05-19)
|
|
26
|
+
|
|
27
|
+
**Note:** Version bump only for package @aws-sdk/client-voice-id
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [3.94.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.93.0...v3.94.0) (2022-05-18)
|
|
7
34
|
|
|
8
35
|
**Note:** Version bump only for package @aws-sdk/client-voice-id
|
|
@@ -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";
|
|
@@ -1928,6 +1928,9 @@ const deserializeAws_json1_0Speaker = (output, context) => {
|
|
|
1928
1928
|
CustomerSpeakerId: (0, smithy_client_1.expectString)(output.CustomerSpeakerId),
|
|
1929
1929
|
DomainId: (0, smithy_client_1.expectString)(output.DomainId),
|
|
1930
1930
|
GeneratedSpeakerId: (0, smithy_client_1.expectString)(output.GeneratedSpeakerId),
|
|
1931
|
+
LastAccessedAt: output.LastAccessedAt !== undefined && output.LastAccessedAt !== null
|
|
1932
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastAccessedAt)))
|
|
1933
|
+
: undefined,
|
|
1931
1934
|
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
1932
1935
|
UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
|
|
1933
1936
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.UpdatedAt)))
|
|
@@ -2014,6 +2017,9 @@ const deserializeAws_json1_0SpeakerSummary = (output, context) => {
|
|
|
2014
2017
|
CustomerSpeakerId: (0, smithy_client_1.expectString)(output.CustomerSpeakerId),
|
|
2015
2018
|
DomainId: (0, smithy_client_1.expectString)(output.DomainId),
|
|
2016
2019
|
GeneratedSpeakerId: (0, smithy_client_1.expectString)(output.GeneratedSpeakerId),
|
|
2020
|
+
LastAccessedAt: output.LastAccessedAt !== undefined && output.LastAccessedAt !== null
|
|
2021
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastAccessedAt)))
|
|
2022
|
+
: undefined,
|
|
2017
2023
|
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
2018
2024
|
UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
|
|
2019
2025
|
? (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";
|
|
@@ -2246,6 +2246,9 @@ var deserializeAws_json1_0Speaker = function (output, context) {
|
|
|
2246
2246
|
CustomerSpeakerId: __expectString(output.CustomerSpeakerId),
|
|
2247
2247
|
DomainId: __expectString(output.DomainId),
|
|
2248
2248
|
GeneratedSpeakerId: __expectString(output.GeneratedSpeakerId),
|
|
2249
|
+
LastAccessedAt: output.LastAccessedAt !== undefined && output.LastAccessedAt !== null
|
|
2250
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastAccessedAt)))
|
|
2251
|
+
: undefined,
|
|
2249
2252
|
Status: __expectString(output.Status),
|
|
2250
2253
|
UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
|
|
2251
2254
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt)))
|
|
@@ -2332,6 +2335,9 @@ var deserializeAws_json1_0SpeakerSummary = function (output, context) {
|
|
|
2332
2335
|
CustomerSpeakerId: __expectString(output.CustomerSpeakerId),
|
|
2333
2336
|
DomainId: __expectString(output.DomainId),
|
|
2334
2337
|
GeneratedSpeakerId: __expectString(output.GeneratedSpeakerId),
|
|
2338
|
+
LastAccessedAt: output.LastAccessedAt !== undefined && output.LastAccessedAt !== null
|
|
2339
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastAccessedAt)))
|
|
2340
|
+
: undefined,
|
|
2335
2341
|
Status: __expectString(output.Status),
|
|
2336
2342
|
UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
|
|
2337
2343
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt)))
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -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);
|
|
@@ -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"
|
|
@@ -720,6 +721,10 @@ export interface Speaker {
|
|
|
720
721
|
* <p>A timestamp showing the speaker's last update.</p>
|
|
721
722
|
*/
|
|
722
723
|
UpdatedAt?: Date;
|
|
724
|
+
/**
|
|
725
|
+
* <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>
|
|
726
|
+
*/
|
|
727
|
+
LastAccessedAt?: Date;
|
|
723
728
|
}
|
|
724
729
|
export declare namespace Speaker {
|
|
725
730
|
/**
|
|
@@ -1388,6 +1393,10 @@ export interface SpeakerSummary {
|
|
|
1388
1393
|
* <p>A timestamp showing the speaker's last update.</p>
|
|
1389
1394
|
*/
|
|
1390
1395
|
UpdatedAt?: Date;
|
|
1396
|
+
/**
|
|
1397
|
+
* <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>
|
|
1398
|
+
*/
|
|
1399
|
+
LastAccessedAt?: Date;
|
|
1391
1400
|
}
|
|
1392
1401
|
export declare namespace SpeakerSummary {
|
|
1393
1402
|
/**
|
|
@@ -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"
|
|
@@ -405,6 +406,8 @@ export interface Speaker {
|
|
|
405
406
|
CreatedAt?: Date;
|
|
406
407
|
|
|
407
408
|
UpdatedAt?: Date;
|
|
409
|
+
|
|
410
|
+
LastAccessedAt?: Date;
|
|
408
411
|
}
|
|
409
412
|
export declare namespace Speaker {
|
|
410
413
|
|
|
@@ -758,6 +761,8 @@ export interface SpeakerSummary {
|
|
|
758
761
|
CreatedAt?: Date;
|
|
759
762
|
|
|
760
763
|
UpdatedAt?: Date;
|
|
764
|
+
|
|
765
|
+
LastAccessedAt?: Date;
|
|
761
766
|
}
|
|
762
767
|
export declare namespace SpeakerSummary {
|
|
763
768
|
|
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.100.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.
|
|
21
|
+
"@aws-sdk/client-sts": "3.100.0",
|
|
22
22
|
"@aws-sdk/config-resolver": "3.80.0",
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
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.
|
|
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.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
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",
|