@aws-sdk/client-polly 3.864.0 → 3.871.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/index.js CHANGED
@@ -475,6 +475,7 @@ var EngineNotSupportedException = class _EngineNotSupportedException extends Pol
475
475
  var OutputFormat = {
476
476
  JSON: "json",
477
477
  MP3: "mp3",
478
+ OGG_OPUS: "ogg_opus",
478
479
  OGG_VORBIS: "ogg_vorbis",
479
480
  PCM: "pcm"
480
481
  };
@@ -207,6 +207,7 @@ export class EngineNotSupportedException extends __BaseException {
207
207
  export const OutputFormat = {
208
208
  JSON: "json",
209
209
  MP3: "mp3",
210
+ OGG_OPUS: "ogg_opus",
210
211
  OGG_VORBIS: "ogg_vorbis",
211
212
  PCM: "pcm",
212
213
  };
@@ -55,7 +55,7 @@ declare const GetSpeechSynthesisTaskCommand_base: {
55
55
  * // LexiconNames: [ // LexiconNameList
56
56
  * // "STRING_VALUE",
57
57
  * // ],
58
- * // OutputFormat: "json" || "mp3" || "ogg_vorbis" || "pcm",
58
+ * // OutputFormat: "json" || "mp3" || "ogg_opus" || "ogg_vorbis" || "pcm",
59
59
  * // SampleRate: "STRING_VALUE",
60
60
  * // SpeechMarkTypes: [ // SpeechMarkTypeList
61
61
  * // "sentence" || "ssml" || "viseme" || "word",
@@ -58,7 +58,7 @@ declare const ListSpeechSynthesisTasksCommand_base: {
58
58
  * // LexiconNames: [ // LexiconNameList
59
59
  * // "STRING_VALUE",
60
60
  * // ],
61
- * // OutputFormat: "json" || "mp3" || "ogg_vorbis" || "pcm",
61
+ * // OutputFormat: "json" || "mp3" || "ogg_opus" || "ogg_vorbis" || "pcm",
62
62
  * // SampleRate: "STRING_VALUE",
63
63
  * // SpeechMarkTypes: [ // SpeechMarkTypeList
64
64
  * // "sentence" || "ssml" || "viseme" || "word",
@@ -49,7 +49,7 @@ declare const StartSpeechSynthesisTaskCommand_base: {
49
49
  * LexiconNames: [ // LexiconNameList
50
50
  * "STRING_VALUE",
51
51
  * ],
52
- * OutputFormat: "json" || "mp3" || "ogg_vorbis" || "pcm", // required
52
+ * OutputFormat: "json" || "mp3" || "ogg_opus" || "ogg_vorbis" || "pcm", // required
53
53
  * OutputS3BucketName: "STRING_VALUE", // required
54
54
  * OutputS3KeyPrefix: "STRING_VALUE",
55
55
  * SampleRate: "STRING_VALUE",
@@ -76,7 +76,7 @@ declare const StartSpeechSynthesisTaskCommand_base: {
76
76
  * // LexiconNames: [ // LexiconNameList
77
77
  * // "STRING_VALUE",
78
78
  * // ],
79
- * // OutputFormat: "json" || "mp3" || "ogg_vorbis" || "pcm",
79
+ * // OutputFormat: "json" || "mp3" || "ogg_opus" || "ogg_vorbis" || "pcm",
80
80
  * // SampleRate: "STRING_VALUE",
81
81
  * // SpeechMarkTypes: [ // SpeechMarkTypeList
82
82
  * // "sentence" || "ssml" || "viseme" || "word",
@@ -45,7 +45,7 @@ declare const SynthesizeSpeechCommand_base: {
45
45
  * LexiconNames: [ // LexiconNameList
46
46
  * "STRING_VALUE",
47
47
  * ],
48
- * OutputFormat: "json" || "mp3" || "ogg_vorbis" || "pcm", // required
48
+ * OutputFormat: "json" || "mp3" || "ogg_opus" || "ogg_vorbis" || "pcm", // required
49
49
  * SampleRate: "STRING_VALUE",
50
50
  * SpeechMarkTypes: [ // SpeechMarkTypeList
51
51
  * "sentence" || "ssml" || "viseme" || "word",
@@ -468,6 +468,7 @@ export interface GetSpeechSynthesisTaskInput {
468
468
  export declare const OutputFormat: {
469
469
  readonly JSON: "json";
470
470
  readonly MP3: "mp3";
471
+ readonly OGG_OPUS: "ogg_opus";
471
472
  readonly OGG_VORBIS: "ogg_vorbis";
472
473
  readonly PCM: "pcm";
473
474
  };
@@ -1078,11 +1079,6 @@ export interface SynthesizeSpeechInput {
1078
1079
  * the standard engine is selected by default. If a chosen voice isn't supported
1079
1080
  * by the standard engine, this will result in an error. For information on
1080
1081
  * Amazon Polly voices and which voices are available for each engine, see <a href="https://docs.aws.amazon.com/polly/latest/dg/voicelist.html">Available Voices</a>.</p>
1081
- * <p>Type: String</p>
1082
- * <p>Valid Values: <code>standard</code> | <code>neural</code> |
1083
- * <code>long-form</code> | <code>generative</code>
1084
- * </p>
1085
- * <p>Required: Yes</p>
1086
1082
  * @public
1087
1083
  */
1088
1084
  Engine?: Engine | undefined;
@@ -1117,8 +1113,7 @@ export interface SynthesizeSpeechInput {
1117
1113
  OutputFormat: OutputFormat | undefined;
1118
1114
  /**
1119
1115
  * <p>The audio frequency specified in Hz.</p>
1120
- * <p>The valid values for mp3 and ogg_vorbis are "8000", "16000", "22050",
1121
- * and "24000". The default value for standard voices is "22050". The default
1116
+ * <p>The valid values for mp3 and ogg_vorbis are "8000", "16000", "22050", "24000", "44100" and "48000". The default value for standard voices is "22050". The default
1122
1117
  * value for neural voices is "24000". The default value for long-form voices
1123
1118
  * is "24000". The default value for generative voices is "24000".</p>
1124
1119
  * <p>Valid values for pcm are "8000" and "16000" The default value is
@@ -237,6 +237,7 @@ export interface GetSpeechSynthesisTaskInput {
237
237
  export declare const OutputFormat: {
238
238
  readonly JSON: "json";
239
239
  readonly MP3: "mp3";
240
+ readonly OGG_OPUS: "ogg_opus";
240
241
  readonly OGG_VORBIS: "ogg_vorbis";
241
242
  readonly PCM: "pcm";
242
243
  };
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.864.0",
4
+ "version": "3.871.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-polly",