@aws-sdk/client-polly 3.299.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.
@@ -29,6 +29,9 @@ 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 = { // DeleteLexiconInput
33
+ * Name: "STRING_VALUE", // required
34
+ * };
32
35
  * const command = new DeleteLexiconCommand(input);
33
36
  * const response = await client.send(command);
34
37
  * ```
@@ -41,6 +41,12 @@ 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 = { // DescribeVoicesInput
45
+ * Engine: "standard" || "neural",
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
+ * IncludeAdditionalLanguageCodes: true || false,
48
+ * NextToken: "STRING_VALUE",
49
+ * };
44
50
  * const command = new DescribeVoicesCommand(input);
45
51
  * const response = await client.send(command);
46
52
  * ```
@@ -27,6 +27,9 @@ 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 = { // GetLexiconInput
31
+ * Name: "STRING_VALUE", // required
32
+ * };
30
33
  * const command = new GetLexiconCommand(input);
31
34
  * const response = await client.send(command);
32
35
  * ```
@@ -29,6 +29,9 @@ 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 = { // GetSpeechSynthesisTaskInput
33
+ * TaskId: "STRING_VALUE", // required
34
+ * };
32
35
  * const command = new GetSpeechSynthesisTaskCommand(input);
33
36
  * const response = await client.send(command);
34
37
  * ```
@@ -26,6 +26,9 @@ 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 = { // ListLexiconsInput
30
+ * NextToken: "STRING_VALUE",
31
+ * };
29
32
  * const command = new ListLexiconsCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -28,6 +28,11 @@ 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 = { // ListSpeechSynthesisTasksInput
32
+ * MaxResults: Number("int"),
33
+ * NextToken: "STRING_VALUE",
34
+ * Status: "scheduled" || "inProgress" || "completed" || "failed",
35
+ * };
31
36
  * const command = new ListSpeechSynthesisTasksCommand(input);
32
37
  * const response = await client.send(command);
33
38
  * ```
@@ -31,6 +31,10 @@ 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 = { // PutLexiconInput
35
+ * Name: "STRING_VALUE", // required
36
+ * Content: "STRING_VALUE", // required
37
+ * };
34
38
  * const command = new PutLexiconCommand(input);
35
39
  * const response = await client.send(command);
36
40
  * ```
@@ -35,6 +35,24 @@ 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 = { // StartSpeechSynthesisTaskInput
39
+ * Engine: "standard" || "neural",
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: [ // LexiconNameList
42
+ * "STRING_VALUE",
43
+ * ],
44
+ * OutputFormat: "json" || "mp3" || "ogg_vorbis" || "pcm", // required
45
+ * OutputS3BucketName: "STRING_VALUE", // required
46
+ * OutputS3KeyPrefix: "STRING_VALUE",
47
+ * SampleRate: "STRING_VALUE",
48
+ * SnsTopicArn: "STRING_VALUE",
49
+ * SpeechMarkTypes: [ // SpeechMarkTypeList
50
+ * "sentence" || "ssml" || "viseme" || "word",
51
+ * ],
52
+ * Text: "STRING_VALUE", // required
53
+ * TextType: "ssml" || "text",
54
+ * VoiceId: "Aditi" || "Amy" || "Astrid" || "Bianca" || "Brian" || "Camila" || "Carla" || "Carmen" || "Celine" || "Chantal" || "Conchita" || "Cristiano" || "Dora" || "Emma" || "Enrique" || "Ewa" || "Filiz" || "Gabrielle" || "Geraint" || "Giorgio" || "Gwyneth" || "Hans" || "Ines" || "Ivy" || "Jacek" || "Jan" || "Joanna" || "Joey" || "Justin" || "Karl" || "Kendra" || "Kevin" || "Kimberly" || "Lea" || "Liv" || "Lotte" || "Lucia" || "Lupe" || "Mads" || "Maja" || "Marlene" || "Mathieu" || "Matthew" || "Maxim" || "Mia" || "Miguel" || "Mizuki" || "Naja" || "Nicole" || "Olivia" || "Penelope" || "Raveena" || "Ricardo" || "Ruben" || "Russell" || "Salli" || "Seoyeon" || "Takumi" || "Tatyana" || "Vicki" || "Vitoria" || "Zeina" || "Zhiyu" || "Aria" || "Ayanda" || "Arlet" || "Hannah" || "Arthur" || "Daniel" || "Liam" || "Pedro" || "Kajal" || "Hiujin" || "Laura" || "Elin" || "Ida" || "Suvi" || "Ola" || "Hala" || "Andres" || "Sergio" || "Remi" || "Adriano" || "Thiago" || "Ruth" || "Stephen" || "Kazuha" || "Tomoko", // required
55
+ * };
38
56
  * const command = new StartSpeechSynthesisTaskCommand(input);
39
57
  * const response = await client.send(command);
40
58
  * ```
@@ -30,6 +30,21 @@ 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 = { // SynthesizeSpeechInput
34
+ * Engine: "standard" || "neural",
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: [ // LexiconNameList
37
+ * "STRING_VALUE",
38
+ * ],
39
+ * OutputFormat: "json" || "mp3" || "ogg_vorbis" || "pcm", // required
40
+ * SampleRate: "STRING_VALUE",
41
+ * SpeechMarkTypes: [ // SpeechMarkTypeList
42
+ * "sentence" || "ssml" || "viseme" || "word",
43
+ * ],
44
+ * Text: "STRING_VALUE", // required
45
+ * TextType: "ssml" || "text",
46
+ * VoiceId: "Aditi" || "Amy" || "Astrid" || "Bianca" || "Brian" || "Camila" || "Carla" || "Carmen" || "Celine" || "Chantal" || "Conchita" || "Cristiano" || "Dora" || "Emma" || "Enrique" || "Ewa" || "Filiz" || "Gabrielle" || "Geraint" || "Giorgio" || "Gwyneth" || "Hans" || "Ines" || "Ivy" || "Jacek" || "Jan" || "Joanna" || "Joey" || "Justin" || "Karl" || "Kendra" || "Kevin" || "Kimberly" || "Lea" || "Liv" || "Lotte" || "Lucia" || "Lupe" || "Mads" || "Maja" || "Marlene" || "Mathieu" || "Matthew" || "Maxim" || "Mia" || "Miguel" || "Mizuki" || "Naja" || "Nicole" || "Olivia" || "Penelope" || "Raveena" || "Ricardo" || "Ruben" || "Russell" || "Salli" || "Seoyeon" || "Takumi" || "Tatyana" || "Vicki" || "Vitoria" || "Zeina" || "Zhiyu" || "Aria" || "Ayanda" || "Arlet" || "Hannah" || "Arthur" || "Daniel" || "Liam" || "Pedro" || "Kajal" || "Hiujin" || "Laura" || "Elin" || "Ida" || "Suvi" || "Ola" || "Hala" || "Andres" || "Sergio" || "Remi" || "Adriano" || "Thiago" || "Ruth" || "Stephen" || "Kazuha" || "Tomoko", // required
47
+ * };
33
48
  * const command = new SynthesizeSpeechCommand(input);
34
49
  * const response = await client.send(command);
35
50
  * ```
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.299.0",
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.299.0",
25
- "@aws-sdk/config-resolver": "3.299.0",
26
- "@aws-sdk/credential-provider-node": "3.299.0",
24
+ "@aws-sdk/client-sts": "3.301.0",
25
+ "@aws-sdk/config-resolver": "3.300.0",
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",
@@ -32,12 +32,12 @@
32
32
  "@aws-sdk/middleware-host-header": "3.296.0",
33
33
  "@aws-sdk/middleware-logger": "3.296.0",
34
34
  "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.296.0",
35
+ "@aws-sdk/middleware-retry": "3.300.0",
36
36
  "@aws-sdk/middleware-serde": "3.296.0",
37
37
  "@aws-sdk/middleware-signing": "3.299.0",
38
38
  "@aws-sdk/middleware-stack": "3.296.0",
39
39
  "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.296.0",
40
+ "@aws-sdk/node-config-provider": "3.300.0",
41
41
  "@aws-sdk/node-http-handler": "3.296.0",
42
42
  "@aws-sdk/protocol-http": "3.296.0",
43
43
  "@aws-sdk/smithy-client": "3.296.0",
@@ -47,13 +47,13 @@
47
47
  "@aws-sdk/util-body-length-browser": "3.295.0",
48
48
  "@aws-sdk/util-body-length-node": "3.295.0",
49
49
  "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.299.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
51
  "@aws-sdk/util-endpoints": "3.296.0",
52
52
  "@aws-sdk/util-retry": "3.296.0",
53
53
  "@aws-sdk/util-stream-browser": "3.296.0",
54
54
  "@aws-sdk/util-stream-node": "3.296.0",
55
55
  "@aws-sdk/util-user-agent-browser": "3.299.0",
56
- "@aws-sdk/util-user-agent-node": "3.299.0",
56
+ "@aws-sdk/util-user-agent-node": "3.300.0",
57
57
  "@aws-sdk/util-utf8": "3.295.0",
58
58
  "tslib": "^2.5.0"
59
59
  },