@aws-sdk/client-polly 3.257.0 → 3.259.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +5 -0
- package/dist-cjs/runtimeConfig.browser.js +0 -3
- package/dist-cjs/runtimeConfig.js +0 -3
- package/dist-cjs/runtimeConfig.shared.js +3 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +5 -0
- package/dist-es/runtimeConfig.browser.js +0 -3
- package/dist-es/runtimeConfig.js +0 -3
- package/dist-es/runtimeConfig.shared.js +3 -0
- package/dist-types/Polly.d.ts +0 -3
- package/dist-types/commands/DescribeVoicesCommand.d.ts +0 -3
- package/dist-types/models/models_0.d.ts +5 -1
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.shared.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +5 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -0
- package/package.json +10 -11
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
|
-
const
|
|
5
|
-
const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = { "required": true, "default": false, "type": "Boolean" }, i = { [
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [
|
|
4
|
+
const q = "fn", r = "argv", s = "ref";
|
|
5
|
+
const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = { "required": true, "default": false, "type": "Boolean" }, i = { [s]: "Endpoint" }, j = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, k = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, l = {}, m = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsFIPS"] }] }, n = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsDualStack"] }] }, o = [j], p = [k];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [q]: "isSet", [r]: [i] }], type: e, rules: [{ conditions: o, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: p, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: i, properties: l, headers: l }, type: g }] }] }, { conditions: [j, k], type: e, rules: [{ conditions: [m, n], type: e, rules: [{ endpoint: { url: "https://polly-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: o, type: e, rules: [{ conditions: [m], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://polly-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: p, type: e, rules: [{ conditions: [n], type: e, rules: [{ endpoint: { url: "https://polly.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { endpoint: { url: "https://polly.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -82,7 +82,9 @@ var Gender;
|
|
|
82
82
|
var VoiceId;
|
|
83
83
|
(function (VoiceId) {
|
|
84
84
|
VoiceId["Aditi"] = "Aditi";
|
|
85
|
+
VoiceId["Adriano"] = "Adriano";
|
|
85
86
|
VoiceId["Amy"] = "Amy";
|
|
87
|
+
VoiceId["Andres"] = "Andres";
|
|
86
88
|
VoiceId["Aria"] = "Aria";
|
|
87
89
|
VoiceId["Arlet"] = "Arlet";
|
|
88
90
|
VoiceId["Arthur"] = "Arthur";
|
|
@@ -148,14 +150,17 @@ var VoiceId;
|
|
|
148
150
|
VoiceId["Pedro"] = "Pedro";
|
|
149
151
|
VoiceId["Penelope"] = "Penelope";
|
|
150
152
|
VoiceId["Raveena"] = "Raveena";
|
|
153
|
+
VoiceId["Remi"] = "Remi";
|
|
151
154
|
VoiceId["Ricardo"] = "Ricardo";
|
|
152
155
|
VoiceId["Ruben"] = "Ruben";
|
|
153
156
|
VoiceId["Russell"] = "Russell";
|
|
154
157
|
VoiceId["Salli"] = "Salli";
|
|
155
158
|
VoiceId["Seoyeon"] = "Seoyeon";
|
|
159
|
+
VoiceId["Sergio"] = "Sergio";
|
|
156
160
|
VoiceId["Suvi"] = "Suvi";
|
|
157
161
|
VoiceId["Takumi"] = "Takumi";
|
|
158
162
|
VoiceId["Tatyana"] = "Tatyana";
|
|
163
|
+
VoiceId["Thiago"] = "Thiago";
|
|
159
164
|
VoiceId["Vicki"] = "Vicki";
|
|
160
165
|
VoiceId["Vitoria"] = "Vitoria";
|
|
161
166
|
VoiceId["Zeina"] = "Zeina";
|
|
@@ -11,7 +11,6 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
|
|
|
11
11
|
const util_retry_1 = require("@aws-sdk/util-retry");
|
|
12
12
|
const util_stream_browser_1 = require("@aws-sdk/util-stream-browser");
|
|
13
13
|
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
14
|
-
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
|
|
15
14
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
16
15
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
17
16
|
const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
|
|
@@ -37,8 +36,6 @@ const getRuntimeConfig = (config) => {
|
|
|
37
36
|
streamCollector: config?.streamCollector ?? fetch_http_handler_1.streamCollector,
|
|
38
37
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
39
38
|
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_FIPS_ENDPOINT)),
|
|
40
|
-
utf8Decoder: config?.utf8Decoder ?? util_utf8_browser_1.fromUtf8,
|
|
41
|
-
utf8Encoder: config?.utf8Encoder ?? util_utf8_browser_1.toUtf8,
|
|
42
39
|
};
|
|
43
40
|
};
|
|
44
41
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -14,7 +14,6 @@ const util_body_length_node_1 = require("@aws-sdk/util-body-length-node");
|
|
|
14
14
|
const util_retry_1 = require("@aws-sdk/util-retry");
|
|
15
15
|
const util_stream_node_1 = require("@aws-sdk/util-stream-node");
|
|
16
16
|
const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
17
|
-
const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
|
|
18
17
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
19
18
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
20
19
|
const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
|
|
@@ -46,8 +45,6 @@ const getRuntimeConfig = (config) => {
|
|
|
46
45
|
streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
|
|
47
46
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
48
47
|
useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
49
|
-
utf8Decoder: config?.utf8Decoder ?? util_utf8_node_1.fromUtf8,
|
|
50
|
-
utf8Encoder: config?.utf8Encoder ?? util_utf8_node_1.toUtf8,
|
|
51
48
|
};
|
|
52
49
|
};
|
|
53
50
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -4,6 +4,7 @@ exports.getRuntimeConfig = void 0;
|
|
|
4
4
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
5
|
const url_parser_1 = require("@aws-sdk/url-parser");
|
|
6
6
|
const util_base64_1 = require("@aws-sdk/util-base64");
|
|
7
|
+
const util_utf8_1 = require("@aws-sdk/util-utf8");
|
|
7
8
|
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
8
9
|
const getRuntimeConfig = (config) => ({
|
|
9
10
|
apiVersion: "2016-06-10",
|
|
@@ -14,5 +15,7 @@ const getRuntimeConfig = (config) => ({
|
|
|
14
15
|
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
|
15
16
|
serviceId: config?.serviceId ?? "Polly",
|
|
16
17
|
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
18
|
+
utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
|
|
19
|
+
utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8,
|
|
17
20
|
});
|
|
18
21
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
2
|
-
const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = { "required": true, "default": false, "type": "Boolean" }, i = { [
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [
|
|
1
|
+
const q = "fn", r = "argv", s = "ref";
|
|
2
|
+
const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = { "required": true, "default": false, "type": "Boolean" }, i = { [s]: "Endpoint" }, j = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, k = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, l = {}, m = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsFIPS"] }] }, n = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsDualStack"] }] }, o = [j], p = [k];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [q]: "isSet", [r]: [i] }], type: e, rules: [{ conditions: o, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: p, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: i, properties: l, headers: l }, type: g }] }] }, { conditions: [j, k], type: e, rules: [{ conditions: [m, n], type: e, rules: [{ endpoint: { url: "https://polly-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: o, type: e, rules: [{ conditions: [m], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://polly-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: p, type: e, rules: [{ conditions: [n], type: e, rules: [{ endpoint: { url: "https://polly.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { endpoint: { url: "https://polly.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -76,7 +76,9 @@ export var Gender;
|
|
|
76
76
|
export var VoiceId;
|
|
77
77
|
(function (VoiceId) {
|
|
78
78
|
VoiceId["Aditi"] = "Aditi";
|
|
79
|
+
VoiceId["Adriano"] = "Adriano";
|
|
79
80
|
VoiceId["Amy"] = "Amy";
|
|
81
|
+
VoiceId["Andres"] = "Andres";
|
|
80
82
|
VoiceId["Aria"] = "Aria";
|
|
81
83
|
VoiceId["Arlet"] = "Arlet";
|
|
82
84
|
VoiceId["Arthur"] = "Arthur";
|
|
@@ -142,14 +144,17 @@ export var VoiceId;
|
|
|
142
144
|
VoiceId["Pedro"] = "Pedro";
|
|
143
145
|
VoiceId["Penelope"] = "Penelope";
|
|
144
146
|
VoiceId["Raveena"] = "Raveena";
|
|
147
|
+
VoiceId["Remi"] = "Remi";
|
|
145
148
|
VoiceId["Ricardo"] = "Ricardo";
|
|
146
149
|
VoiceId["Ruben"] = "Ruben";
|
|
147
150
|
VoiceId["Russell"] = "Russell";
|
|
148
151
|
VoiceId["Salli"] = "Salli";
|
|
149
152
|
VoiceId["Seoyeon"] = "Seoyeon";
|
|
153
|
+
VoiceId["Sergio"] = "Sergio";
|
|
150
154
|
VoiceId["Suvi"] = "Suvi";
|
|
151
155
|
VoiceId["Takumi"] = "Takumi";
|
|
152
156
|
VoiceId["Tatyana"] = "Tatyana";
|
|
157
|
+
VoiceId["Thiago"] = "Thiago";
|
|
153
158
|
VoiceId["Vicki"] = "Vicki";
|
|
154
159
|
VoiceId["Vitoria"] = "Vitoria";
|
|
155
160
|
VoiceId["Zeina"] = "Zeina";
|
|
@@ -7,7 +7,6 @@ import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
|
|
|
7
7
|
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/util-retry";
|
|
8
8
|
import { sdkStreamMixin } from "@aws-sdk/util-stream-browser";
|
|
9
9
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
10
|
-
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
|
|
11
10
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
12
11
|
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
13
12
|
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-browser";
|
|
@@ -33,7 +32,5 @@ export const getRuntimeConfig = (config) => {
|
|
|
33
32
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
34
33
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
35
34
|
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
|
|
36
|
-
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
37
|
-
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
38
35
|
};
|
|
39
36
|
};
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -10,7 +10,6 @@ import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
|
|
|
10
10
|
import { DEFAULT_RETRY_MODE } from "@aws-sdk/util-retry";
|
|
11
11
|
import { sdkStreamMixin } from "@aws-sdk/util-stream-node";
|
|
12
12
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
13
|
-
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
14
13
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
15
14
|
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
16
15
|
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
|
|
@@ -42,7 +41,5 @@ export const getRuntimeConfig = (config) => {
|
|
|
42
41
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
43
42
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
44
43
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
45
|
-
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
46
|
-
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
47
44
|
};
|
|
48
45
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { NoOpLogger } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { parseUrl } from "@aws-sdk/url-parser";
|
|
3
3
|
import { fromBase64, toBase64 } from "@aws-sdk/util-base64";
|
|
4
|
+
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8";
|
|
4
5
|
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
5
6
|
export const getRuntimeConfig = (config) => ({
|
|
6
7
|
apiVersion: "2016-06-10",
|
|
@@ -11,4 +12,6 @@ export const getRuntimeConfig = (config) => ({
|
|
|
11
12
|
logger: config?.logger ?? new NoOpLogger(),
|
|
12
13
|
serviceId: config?.serviceId ?? "Polly",
|
|
13
14
|
urlParser: config?.urlParser ?? parseUrl,
|
|
15
|
+
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
16
|
+
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
14
17
|
});
|
package/dist-types/Polly.d.ts
CHANGED
|
@@ -32,16 +32,13 @@ export declare class Polly extends PollyClient {
|
|
|
32
32
|
* requesting speech synthesis. Each voice speaks a specified language, is
|
|
33
33
|
* either male or female, and is identified by an ID, which is the ASCII
|
|
34
34
|
* version of the voice name. </p>
|
|
35
|
-
*
|
|
36
35
|
* <p>When synthesizing speech ( <code>SynthesizeSpeech</code> ), you
|
|
37
36
|
* provide the voice ID for the voice you want from the list of voices
|
|
38
37
|
* returned by <code>DescribeVoices</code>.</p>
|
|
39
|
-
*
|
|
40
38
|
* <p>For example, you want your news reader application to read news in
|
|
41
39
|
* a specific language, but giving a user the option to choose the voice.
|
|
42
40
|
* Using the <code>DescribeVoices</code> operation you can provide the user
|
|
43
41
|
* with a list of available voices to select from.</p>
|
|
44
|
-
*
|
|
45
42
|
* <p> You can optionally specify a language code to filter the available
|
|
46
43
|
* voices. For example, if you specify <code>en-US</code>, the operation
|
|
47
44
|
* returns a list of all available US English voices. </p>
|
|
@@ -12,16 +12,13 @@ export interface DescribeVoicesCommandOutput extends DescribeVoicesOutput, __Met
|
|
|
12
12
|
* requesting speech synthesis. Each voice speaks a specified language, is
|
|
13
13
|
* either male or female, and is identified by an ID, which is the ASCII
|
|
14
14
|
* version of the voice name. </p>
|
|
15
|
-
*
|
|
16
15
|
* <p>When synthesizing speech ( <code>SynthesizeSpeech</code> ), you
|
|
17
16
|
* provide the voice ID for the voice you want from the list of voices
|
|
18
17
|
* returned by <code>DescribeVoices</code>.</p>
|
|
19
|
-
*
|
|
20
18
|
* <p>For example, you want your news reader application to read news in
|
|
21
19
|
* a specific language, but giving a user the option to choose the voice.
|
|
22
20
|
* Using the <code>DescribeVoices</code> operation you can provide the user
|
|
23
21
|
* with a list of available voices to select from.</p>
|
|
24
|
-
*
|
|
25
22
|
* <p> You can optionally specify a language code to filter the available
|
|
26
23
|
* voices. For example, if you specify <code>en-US</code>, the operation
|
|
27
24
|
* returns a list of all available US English voices. </p>
|
|
@@ -114,7 +114,9 @@ export declare enum Gender {
|
|
|
114
114
|
}
|
|
115
115
|
export declare enum VoiceId {
|
|
116
116
|
Aditi = "Aditi",
|
|
117
|
+
Adriano = "Adriano",
|
|
117
118
|
Amy = "Amy",
|
|
119
|
+
Andres = "Andres",
|
|
118
120
|
Aria = "Aria",
|
|
119
121
|
Arlet = "Arlet",
|
|
120
122
|
Arthur = "Arthur",
|
|
@@ -180,14 +182,17 @@ export declare enum VoiceId {
|
|
|
180
182
|
Pedro = "Pedro",
|
|
181
183
|
Penelope = "Penelope",
|
|
182
184
|
Raveena = "Raveena",
|
|
185
|
+
Remi = "Remi",
|
|
183
186
|
Ricardo = "Ricardo",
|
|
184
187
|
Ruben = "Ruben",
|
|
185
188
|
Russell = "Russell",
|
|
186
189
|
Salli = "Salli",
|
|
187
190
|
Seoyeon = "Seoyeon",
|
|
191
|
+
Sergio = "Sergio",
|
|
188
192
|
Suvi = "Suvi",
|
|
189
193
|
Takumi = "Takumi",
|
|
190
194
|
Tatyana = "Tatyana",
|
|
195
|
+
Thiago = "Thiago",
|
|
191
196
|
Vicki = "Vicki",
|
|
192
197
|
Vitoria = "Vitoria",
|
|
193
198
|
Zeina = "Zeina",
|
|
@@ -847,7 +852,6 @@ export interface SynthesizeSpeechInput {
|
|
|
847
852
|
* <p>Valid Values: <code>standard</code> | <code>neural</code>
|
|
848
853
|
* </p>
|
|
849
854
|
* <p>Required: Yes</p>
|
|
850
|
-
*
|
|
851
855
|
* <p>
|
|
852
856
|
* <b>Standard voices</b>
|
|
853
857
|
* </p>
|
|
@@ -18,12 +18,12 @@ export declare const getRuntimeConfig: (config: PollyClientConfig) => {
|
|
|
18
18
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
19
19
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
20
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
21
|
-
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
22
|
-
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
23
21
|
apiVersion: string;
|
|
24
22
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
25
23
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
26
24
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
25
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
26
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
27
27
|
disableHostPrefix: boolean;
|
|
28
28
|
logger: import("@aws-sdk/types").Logger;
|
|
29
29
|
serviceId: string;
|
|
@@ -18,12 +18,12 @@ export declare const getRuntimeConfig: (config: PollyClientConfig) => {
|
|
|
18
18
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
19
19
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
20
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
21
|
-
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
22
|
-
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
23
21
|
apiVersion: string;
|
|
24
22
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
25
23
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
26
24
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
25
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
26
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
27
27
|
disableHostPrefix: boolean;
|
|
28
28
|
logger: import("@aws-sdk/types").Logger;
|
|
29
29
|
serviceId: string;
|
|
@@ -13,4 +13,6 @@ export declare const getRuntimeConfig: (config: PollyClientConfig) => {
|
|
|
13
13
|
logger: import("@aws-sdk/types").Logger;
|
|
14
14
|
serviceId: string;
|
|
15
15
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
16
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
17
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
16
18
|
};
|
|
@@ -73,7 +73,9 @@ export declare enum Gender {
|
|
|
73
73
|
}
|
|
74
74
|
export declare enum VoiceId {
|
|
75
75
|
Aditi = "Aditi",
|
|
76
|
+
Adriano = "Adriano",
|
|
76
77
|
Amy = "Amy",
|
|
78
|
+
Andres = "Andres",
|
|
77
79
|
Aria = "Aria",
|
|
78
80
|
Arlet = "Arlet",
|
|
79
81
|
Arthur = "Arthur",
|
|
@@ -139,14 +141,17 @@ export declare enum VoiceId {
|
|
|
139
141
|
Pedro = "Pedro",
|
|
140
142
|
Penelope = "Penelope",
|
|
141
143
|
Raveena = "Raveena",
|
|
144
|
+
Remi = "Remi",
|
|
142
145
|
Ricardo = "Ricardo",
|
|
143
146
|
Ruben = "Ruben",
|
|
144
147
|
Russell = "Russell",
|
|
145
148
|
Salli = "Salli",
|
|
146
149
|
Seoyeon = "Seoyeon",
|
|
150
|
+
Sergio = "Sergio",
|
|
147
151
|
Suvi = "Suvi",
|
|
148
152
|
Takumi = "Takumi",
|
|
149
153
|
Tatyana = "Tatyana",
|
|
154
|
+
Thiago = "Thiago",
|
|
150
155
|
Vicki = "Vicki",
|
|
151
156
|
Vitoria = "Vitoria",
|
|
152
157
|
Zeina = "Zeina",
|
|
@@ -28,12 +28,12 @@ export declare const getRuntimeConfig: (config: PollyClientConfig) => {
|
|
|
28
28
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
29
29
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
30
30
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
31
|
-
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
32
|
-
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
33
31
|
apiVersion: string;
|
|
34
32
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
35
33
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
36
34
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
35
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
36
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
37
37
|
disableHostPrefix: boolean;
|
|
38
38
|
logger: import("@aws-sdk/types").Logger;
|
|
39
39
|
serviceId: string;
|
|
@@ -28,12 +28,12 @@ export declare const getRuntimeConfig: (config: PollyClientConfig) => {
|
|
|
28
28
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
29
29
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
30
30
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
31
|
-
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
32
|
-
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
33
31
|
apiVersion: string;
|
|
34
32
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
35
33
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
36
34
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
35
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
36
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
37
37
|
disableHostPrefix: boolean;
|
|
38
38
|
logger: import("@aws-sdk/types").Logger;
|
|
39
39
|
serviceId: string;
|
|
@@ -13,4 +13,6 @@ export declare const getRuntimeConfig: (config: PollyClientConfig) => {
|
|
|
13
13
|
logger: import("@aws-sdk/types").Logger;
|
|
14
14
|
serviceId: string;
|
|
15
15
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
16
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
17
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
16
18
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-polly",
|
|
3
3
|
"description": "AWS SDK for JavaScript Polly Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.259.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",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/config-resolver": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.259.0",
|
|
24
|
+
"@aws-sdk/config-resolver": "3.259.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.259.0",
|
|
26
26
|
"@aws-sdk/fetch-http-handler": "3.257.0",
|
|
27
27
|
"@aws-sdk/hash-node": "3.257.0",
|
|
28
28
|
"@aws-sdk/invalid-dependency": "3.257.0",
|
|
@@ -31,12 +31,12 @@
|
|
|
31
31
|
"@aws-sdk/middleware-host-header": "3.257.0",
|
|
32
32
|
"@aws-sdk/middleware-logger": "3.257.0",
|
|
33
33
|
"@aws-sdk/middleware-recursion-detection": "3.257.0",
|
|
34
|
-
"@aws-sdk/middleware-retry": "3.
|
|
34
|
+
"@aws-sdk/middleware-retry": "3.259.0",
|
|
35
35
|
"@aws-sdk/middleware-serde": "3.257.0",
|
|
36
36
|
"@aws-sdk/middleware-signing": "3.257.0",
|
|
37
37
|
"@aws-sdk/middleware-stack": "3.257.0",
|
|
38
38
|
"@aws-sdk/middleware-user-agent": "3.257.0",
|
|
39
|
-
"@aws-sdk/node-config-provider": "3.
|
|
39
|
+
"@aws-sdk/node-config-provider": "3.259.0",
|
|
40
40
|
"@aws-sdk/node-http-handler": "3.257.0",
|
|
41
41
|
"@aws-sdk/protocol-http": "3.257.0",
|
|
42
42
|
"@aws-sdk/smithy-client": "3.257.0",
|
|
@@ -46,15 +46,14 @@
|
|
|
46
46
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
48
48
|
"@aws-sdk/util-defaults-mode-browser": "3.257.0",
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.259.0",
|
|
50
50
|
"@aws-sdk/util-endpoints": "3.257.0",
|
|
51
51
|
"@aws-sdk/util-retry": "3.257.0",
|
|
52
|
-
"@aws-sdk/util-stream-browser": "3.
|
|
52
|
+
"@aws-sdk/util-stream-browser": "3.258.0",
|
|
53
53
|
"@aws-sdk/util-stream-node": "3.257.0",
|
|
54
54
|
"@aws-sdk/util-user-agent-browser": "3.257.0",
|
|
55
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
56
|
-
"@aws-sdk/util-utf8
|
|
57
|
-
"@aws-sdk/util-utf8-node": "3.208.0",
|
|
55
|
+
"@aws-sdk/util-user-agent-node": "3.259.0",
|
|
56
|
+
"@aws-sdk/util-utf8": "3.254.0",
|
|
58
57
|
"tslib": "^2.3.1"
|
|
59
58
|
},
|
|
60
59
|
"devDependencies": {
|