@aws-sdk/client-polly 3.300.0 → 3.301.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-types/commands/DeleteLexiconCommand.d.ts +1 -1
- package/dist-types/commands/DescribeVoicesCommand.d.ts +1 -1
- package/dist-types/commands/GetLexiconCommand.d.ts +1 -1
- package/dist-types/commands/GetSpeechSynthesisTaskCommand.d.ts +1 -1
- package/dist-types/commands/ListLexiconsCommand.d.ts +1 -1
- package/dist-types/commands/ListSpeechSynthesisTasksCommand.d.ts +1 -1
- package/dist-types/commands/PutLexiconCommand.d.ts +1 -1
- package/dist-types/commands/StartSpeechSynthesisTaskCommand.d.ts +3 -3
- package/dist-types/commands/SynthesizeSpeechCommand.d.ts +3 -3
- package/package.json +3 -3
|
@@ -29,7 +29,7 @@ export interface DeleteLexiconCommandOutput extends DeleteLexiconOutput, __Metad
|
|
|
29
29
|
* import { PollyClient, DeleteLexiconCommand } from "@aws-sdk/client-polly"; // ES Modules import
|
|
30
30
|
* // const { PollyClient, DeleteLexiconCommand } = require("@aws-sdk/client-polly"); // CommonJS import
|
|
31
31
|
* const client = new PollyClient(config);
|
|
32
|
-
* const input = {
|
|
32
|
+
* const input = { // DeleteLexiconInput
|
|
33
33
|
* Name: "STRING_VALUE", // required
|
|
34
34
|
* };
|
|
35
35
|
* const command = new DeleteLexiconCommand(input);
|
|
@@ -41,7 +41,7 @@ export interface DescribeVoicesCommandOutput extends DescribeVoicesOutput, __Met
|
|
|
41
41
|
* import { PollyClient, DescribeVoicesCommand } from "@aws-sdk/client-polly"; // ES Modules import
|
|
42
42
|
* // const { PollyClient, DescribeVoicesCommand } = require("@aws-sdk/client-polly"); // CommonJS import
|
|
43
43
|
* const client = new PollyClient(config);
|
|
44
|
-
* const input = {
|
|
44
|
+
* const input = { // DescribeVoicesInput
|
|
45
45
|
* Engine: "standard" || "neural",
|
|
46
46
|
* LanguageCode: "arb" || "cmn-CN" || "cy-GB" || "da-DK" || "de-DE" || "en-AU" || "en-GB" || "en-GB-WLS" || "en-IN" || "en-US" || "es-ES" || "es-MX" || "es-US" || "fr-CA" || "fr-FR" || "is-IS" || "it-IT" || "ja-JP" || "hi-IN" || "ko-KR" || "nb-NO" || "nl-NL" || "pl-PL" || "pt-BR" || "pt-PT" || "ro-RO" || "ru-RU" || "sv-SE" || "tr-TR" || "en-NZ" || "en-ZA" || "ca-ES" || "de-AT" || "yue-CN" || "ar-AE" || "fi-FI",
|
|
47
47
|
* IncludeAdditionalLanguageCodes: true || false,
|
|
@@ -27,7 +27,7 @@ export interface GetLexiconCommandOutput extends GetLexiconOutput, __MetadataBea
|
|
|
27
27
|
* import { PollyClient, GetLexiconCommand } from "@aws-sdk/client-polly"; // ES Modules import
|
|
28
28
|
* // const { PollyClient, GetLexiconCommand } = require("@aws-sdk/client-polly"); // CommonJS import
|
|
29
29
|
* const client = new PollyClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // GetLexiconInput
|
|
31
31
|
* Name: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
33
33
|
* const command = new GetLexiconCommand(input);
|
|
@@ -29,7 +29,7 @@ export interface GetSpeechSynthesisTaskCommandOutput extends GetSpeechSynthesisT
|
|
|
29
29
|
* import { PollyClient, GetSpeechSynthesisTaskCommand } from "@aws-sdk/client-polly"; // ES Modules import
|
|
30
30
|
* // const { PollyClient, GetSpeechSynthesisTaskCommand } = require("@aws-sdk/client-polly"); // CommonJS import
|
|
31
31
|
* const client = new PollyClient(config);
|
|
32
|
-
* const input = {
|
|
32
|
+
* const input = { // GetSpeechSynthesisTaskInput
|
|
33
33
|
* TaskId: "STRING_VALUE", // required
|
|
34
34
|
* };
|
|
35
35
|
* const command = new GetSpeechSynthesisTaskCommand(input);
|
|
@@ -26,7 +26,7 @@ export interface ListLexiconsCommandOutput extends ListLexiconsOutput, __Metadat
|
|
|
26
26
|
* import { PollyClient, ListLexiconsCommand } from "@aws-sdk/client-polly"; // ES Modules import
|
|
27
27
|
* // const { PollyClient, ListLexiconsCommand } = require("@aws-sdk/client-polly"); // CommonJS import
|
|
28
28
|
* const client = new PollyClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // ListLexiconsInput
|
|
30
30
|
* NextToken: "STRING_VALUE",
|
|
31
31
|
* };
|
|
32
32
|
* const command = new ListLexiconsCommand(input);
|
|
@@ -28,7 +28,7 @@ export interface ListSpeechSynthesisTasksCommandOutput extends ListSpeechSynthes
|
|
|
28
28
|
* import { PollyClient, ListSpeechSynthesisTasksCommand } from "@aws-sdk/client-polly"; // ES Modules import
|
|
29
29
|
* // const { PollyClient, ListSpeechSynthesisTasksCommand } = require("@aws-sdk/client-polly"); // CommonJS import
|
|
30
30
|
* const client = new PollyClient(config);
|
|
31
|
-
* const input = {
|
|
31
|
+
* const input = { // ListSpeechSynthesisTasksInput
|
|
32
32
|
* MaxResults: Number("int"),
|
|
33
33
|
* NextToken: "STRING_VALUE",
|
|
34
34
|
* Status: "scheduled" || "inProgress" || "completed" || "failed",
|
|
@@ -31,7 +31,7 @@ export interface PutLexiconCommandOutput extends PutLexiconOutput, __MetadataBea
|
|
|
31
31
|
* import { PollyClient, PutLexiconCommand } from "@aws-sdk/client-polly"; // ES Modules import
|
|
32
32
|
* // const { PollyClient, PutLexiconCommand } = require("@aws-sdk/client-polly"); // CommonJS import
|
|
33
33
|
* const client = new PollyClient(config);
|
|
34
|
-
* const input = {
|
|
34
|
+
* const input = { // PutLexiconInput
|
|
35
35
|
* Name: "STRING_VALUE", // required
|
|
36
36
|
* Content: "STRING_VALUE", // required
|
|
37
37
|
* };
|
|
@@ -35,10 +35,10 @@ export interface StartSpeechSynthesisTaskCommandOutput extends StartSpeechSynthe
|
|
|
35
35
|
* import { PollyClient, StartSpeechSynthesisTaskCommand } from "@aws-sdk/client-polly"; // ES Modules import
|
|
36
36
|
* // const { PollyClient, StartSpeechSynthesisTaskCommand } = require("@aws-sdk/client-polly"); // CommonJS import
|
|
37
37
|
* const client = new PollyClient(config);
|
|
38
|
-
* const input = {
|
|
38
|
+
* const input = { // StartSpeechSynthesisTaskInput
|
|
39
39
|
* Engine: "standard" || "neural",
|
|
40
40
|
* LanguageCode: "arb" || "cmn-CN" || "cy-GB" || "da-DK" || "de-DE" || "en-AU" || "en-GB" || "en-GB-WLS" || "en-IN" || "en-US" || "es-ES" || "es-MX" || "es-US" || "fr-CA" || "fr-FR" || "is-IS" || "it-IT" || "ja-JP" || "hi-IN" || "ko-KR" || "nb-NO" || "nl-NL" || "pl-PL" || "pt-BR" || "pt-PT" || "ro-RO" || "ru-RU" || "sv-SE" || "tr-TR" || "en-NZ" || "en-ZA" || "ca-ES" || "de-AT" || "yue-CN" || "ar-AE" || "fi-FI",
|
|
41
|
-
* LexiconNames: [
|
|
41
|
+
* LexiconNames: [ // LexiconNameList
|
|
42
42
|
* "STRING_VALUE",
|
|
43
43
|
* ],
|
|
44
44
|
* OutputFormat: "json" || "mp3" || "ogg_vorbis" || "pcm", // required
|
|
@@ -46,7 +46,7 @@ export interface StartSpeechSynthesisTaskCommandOutput extends StartSpeechSynthe
|
|
|
46
46
|
* OutputS3KeyPrefix: "STRING_VALUE",
|
|
47
47
|
* SampleRate: "STRING_VALUE",
|
|
48
48
|
* SnsTopicArn: "STRING_VALUE",
|
|
49
|
-
* SpeechMarkTypes: [
|
|
49
|
+
* SpeechMarkTypes: [ // SpeechMarkTypeList
|
|
50
50
|
* "sentence" || "ssml" || "viseme" || "word",
|
|
51
51
|
* ],
|
|
52
52
|
* Text: "STRING_VALUE", // required
|
|
@@ -30,15 +30,15 @@ export interface SynthesizeSpeechCommandOutput extends __WithSdkStreamMixin<Synt
|
|
|
30
30
|
* import { PollyClient, SynthesizeSpeechCommand } from "@aws-sdk/client-polly"; // ES Modules import
|
|
31
31
|
* // const { PollyClient, SynthesizeSpeechCommand } = require("@aws-sdk/client-polly"); // CommonJS import
|
|
32
32
|
* const client = new PollyClient(config);
|
|
33
|
-
* const input = {
|
|
33
|
+
* const input = { // SynthesizeSpeechInput
|
|
34
34
|
* Engine: "standard" || "neural",
|
|
35
35
|
* LanguageCode: "arb" || "cmn-CN" || "cy-GB" || "da-DK" || "de-DE" || "en-AU" || "en-GB" || "en-GB-WLS" || "en-IN" || "en-US" || "es-ES" || "es-MX" || "es-US" || "fr-CA" || "fr-FR" || "is-IS" || "it-IT" || "ja-JP" || "hi-IN" || "ko-KR" || "nb-NO" || "nl-NL" || "pl-PL" || "pt-BR" || "pt-PT" || "ro-RO" || "ru-RU" || "sv-SE" || "tr-TR" || "en-NZ" || "en-ZA" || "ca-ES" || "de-AT" || "yue-CN" || "ar-AE" || "fi-FI",
|
|
36
|
-
* LexiconNames: [
|
|
36
|
+
* LexiconNames: [ // LexiconNameList
|
|
37
37
|
* "STRING_VALUE",
|
|
38
38
|
* ],
|
|
39
39
|
* OutputFormat: "json" || "mp3" || "ogg_vorbis" || "pcm", // required
|
|
40
40
|
* SampleRate: "STRING_VALUE",
|
|
41
|
-
* SpeechMarkTypes: [
|
|
41
|
+
* SpeechMarkTypes: [ // SpeechMarkTypeList
|
|
42
42
|
* "sentence" || "ssml" || "viseme" || "word",
|
|
43
43
|
* ],
|
|
44
44
|
* Text: "STRING_VALUE", // required
|
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.301.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.301.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.301.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|