@aws-sdk/client-polly 3.179.0 → 3.181.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 CHANGED
@@ -3,6 +3,31 @@
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.181.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.180.0...v3.181.0) (2022-09-29)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **clients:** make parseErrorBody async ([#3999](https://github.com/aws/aws-sdk-js-v3/issues/3999)) ([2558c93](https://github.com/aws/aws-sdk-js-v3/commit/2558c93c050357ac6dc47aa0452b15b12ebfd676))
12
+ * **clients:** populate message field when parsing errors ([#3995](https://github.com/aws/aws-sdk-js-v3/issues/3995)) ([02e47f1](https://github.com/aws/aws-sdk-js-v3/commit/02e47f14397ae0a5d2e2883350d038b307fdcdb4))
13
+
14
+
15
+ ### Features
16
+
17
+ * **client-polly:** Added support for the new Cantonese voice - Hiujin. Hiujin is available as a Neural voice only. ([9f1d83e](https://github.com/aws/aws-sdk-js-v3/commit/9f1d83e368d0180ca3e02b19fe786982e0d5a6e0))
18
+
19
+
20
+
21
+
22
+
23
+ # [3.180.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.179.0...v3.180.0) (2022-09-27)
24
+
25
+ **Note:** Version bump only for package @aws-sdk/client-polly
26
+
27
+
28
+
29
+
30
+
6
31
  # [3.179.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.178.0...v3.179.0) (2022-09-26)
7
32
 
8
33
  **Note:** Version bump only for package @aws-sdk/client-polly
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SynthesizeSpeechOutputFilterSensitiveLog = exports.SynthesizeSpeechInputFilterSensitiveLog = exports.StartSpeechSynthesisTaskOutputFilterSensitiveLog = exports.StartSpeechSynthesisTaskInputFilterSensitiveLog = exports.PutLexiconOutputFilterSensitiveLog = exports.PutLexiconInputFilterSensitiveLog = exports.ListSpeechSynthesisTasksOutputFilterSensitiveLog = exports.ListSpeechSynthesisTasksInputFilterSensitiveLog = exports.ListLexiconsOutputFilterSensitiveLog = exports.ListLexiconsInputFilterSensitiveLog = exports.LexiconDescriptionFilterSensitiveLog = exports.GetSpeechSynthesisTaskOutputFilterSensitiveLog = exports.SynthesisTaskFilterSensitiveLog = exports.GetSpeechSynthesisTaskInputFilterSensitiveLog = exports.GetLexiconOutputFilterSensitiveLog = exports.LexiconAttributesFilterSensitiveLog = exports.LexiconFilterSensitiveLog = exports.GetLexiconInputFilterSensitiveLog = exports.DescribeVoicesOutputFilterSensitiveLog = exports.VoiceFilterSensitiveLog = exports.DescribeVoicesInputFilterSensitiveLog = exports.DeleteLexiconOutputFilterSensitiveLog = exports.DeleteLexiconInputFilterSensitiveLog = exports.TextLengthExceededException = exports.SsmlMarksNotSupportedForTextTypeException = exports.UnsupportedPlsLanguageException = exports.UnsupportedPlsAlphabetException = exports.MaxLexiconsNumberExceededException = exports.MaxLexemeLengthExceededException = exports.MarksNotSupportedForFormatException = exports.LexiconSizeExceededException = exports.LanguageNotSupportedException = exports.InvalidSsmlException = exports.InvalidSnsTopicArnException = exports.InvalidSampleRateException = exports.InvalidS3KeyException = exports.InvalidS3BucketException = exports.InvalidLexiconException = exports.SynthesisTaskNotFoundException = exports.InvalidTaskIdException = exports.TextType = exports.TaskStatus = exports.SpeechMarkType = exports.OutputFormat = exports.EngineNotSupportedException = exports.InvalidNextTokenException = exports.Engine = exports.ServiceFailureException = exports.LexiconNotFoundException = void 0;
3
+ exports.StartSpeechSynthesisTaskOutputFilterSensitiveLog = exports.StartSpeechSynthesisTaskInputFilterSensitiveLog = exports.PutLexiconOutputFilterSensitiveLog = exports.PutLexiconInputFilterSensitiveLog = exports.ListSpeechSynthesisTasksOutputFilterSensitiveLog = exports.ListSpeechSynthesisTasksInputFilterSensitiveLog = exports.ListLexiconsOutputFilterSensitiveLog = exports.ListLexiconsInputFilterSensitiveLog = exports.LexiconDescriptionFilterSensitiveLog = exports.GetSpeechSynthesisTaskOutputFilterSensitiveLog = exports.SynthesisTaskFilterSensitiveLog = exports.GetSpeechSynthesisTaskInputFilterSensitiveLog = exports.GetLexiconOutputFilterSensitiveLog = exports.LexiconAttributesFilterSensitiveLog = exports.LexiconFilterSensitiveLog = exports.GetLexiconInputFilterSensitiveLog = exports.DescribeVoicesOutputFilterSensitiveLog = exports.VoiceFilterSensitiveLog = exports.DescribeVoicesInputFilterSensitiveLog = exports.DeleteLexiconOutputFilterSensitiveLog = exports.DeleteLexiconInputFilterSensitiveLog = exports.TextLengthExceededException = exports.SsmlMarksNotSupportedForTextTypeException = exports.UnsupportedPlsLanguageException = exports.UnsupportedPlsAlphabetException = exports.MaxLexiconsNumberExceededException = exports.MaxLexemeLengthExceededException = exports.MarksNotSupportedForFormatException = exports.LexiconSizeExceededException = exports.LanguageNotSupportedException = exports.InvalidSsmlException = exports.InvalidSnsTopicArnException = exports.InvalidSampleRateException = exports.InvalidS3KeyException = exports.InvalidS3BucketException = exports.InvalidLexiconException = exports.SynthesisTaskNotFoundException = exports.InvalidTaskIdException = exports.TextType = exports.TaskStatus = exports.SpeechMarkType = exports.OutputFormat = exports.EngineNotSupportedException = exports.InvalidNextTokenException = exports.VoiceId = exports.Gender = exports.LanguageCode = exports.Engine = exports.ServiceFailureException = exports.LexiconNotFoundException = void 0;
4
+ exports.SynthesizeSpeechOutputFilterSensitiveLog = exports.SynthesizeSpeechInputFilterSensitiveLog = void 0;
4
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
5
6
  const PollyServiceException_1 = require("./PollyServiceException");
6
7
  class LexiconNotFoundException extends PollyServiceException_1.PollyServiceException {
@@ -34,6 +35,124 @@ var Engine;
34
35
  Engine["NEURAL"] = "neural";
35
36
  Engine["STANDARD"] = "standard";
36
37
  })(Engine = exports.Engine || (exports.Engine = {}));
38
+ var LanguageCode;
39
+ (function (LanguageCode) {
40
+ LanguageCode["arb"] = "arb";
41
+ LanguageCode["ca_ES"] = "ca-ES";
42
+ LanguageCode["cmn_CN"] = "cmn-CN";
43
+ LanguageCode["cy_GB"] = "cy-GB";
44
+ LanguageCode["da_DK"] = "da-DK";
45
+ LanguageCode["de_AT"] = "de-AT";
46
+ LanguageCode["de_DE"] = "de-DE";
47
+ LanguageCode["en_AU"] = "en-AU";
48
+ LanguageCode["en_GB"] = "en-GB";
49
+ LanguageCode["en_GB_WLS"] = "en-GB-WLS";
50
+ LanguageCode["en_IN"] = "en-IN";
51
+ LanguageCode["en_NZ"] = "en-NZ";
52
+ LanguageCode["en_US"] = "en-US";
53
+ LanguageCode["en_ZA"] = "en-ZA";
54
+ LanguageCode["es_ES"] = "es-ES";
55
+ LanguageCode["es_MX"] = "es-MX";
56
+ LanguageCode["es_US"] = "es-US";
57
+ LanguageCode["fr_CA"] = "fr-CA";
58
+ LanguageCode["fr_FR"] = "fr-FR";
59
+ LanguageCode["hi_IN"] = "hi-IN";
60
+ LanguageCode["is_IS"] = "is-IS";
61
+ LanguageCode["it_IT"] = "it-IT";
62
+ LanguageCode["ja_JP"] = "ja-JP";
63
+ LanguageCode["ko_KR"] = "ko-KR";
64
+ LanguageCode["nb_NO"] = "nb-NO";
65
+ LanguageCode["nl_NL"] = "nl-NL";
66
+ LanguageCode["pl_PL"] = "pl-PL";
67
+ LanguageCode["pt_BR"] = "pt-BR";
68
+ LanguageCode["pt_PT"] = "pt-PT";
69
+ LanguageCode["ro_RO"] = "ro-RO";
70
+ LanguageCode["ru_RU"] = "ru-RU";
71
+ LanguageCode["sv_SE"] = "sv-SE";
72
+ LanguageCode["tr_TR"] = "tr-TR";
73
+ LanguageCode["yue_CN"] = "yue-CN";
74
+ })(LanguageCode = exports.LanguageCode || (exports.LanguageCode = {}));
75
+ var Gender;
76
+ (function (Gender) {
77
+ Gender["Female"] = "Female";
78
+ Gender["Male"] = "Male";
79
+ })(Gender = exports.Gender || (exports.Gender = {}));
80
+ var VoiceId;
81
+ (function (VoiceId) {
82
+ VoiceId["Aditi"] = "Aditi";
83
+ VoiceId["Amy"] = "Amy";
84
+ VoiceId["Aria"] = "Aria";
85
+ VoiceId["Arlet"] = "Arlet";
86
+ VoiceId["Arthur"] = "Arthur";
87
+ VoiceId["Astrid"] = "Astrid";
88
+ VoiceId["Ayanda"] = "Ayanda";
89
+ VoiceId["Bianca"] = "Bianca";
90
+ VoiceId["Brian"] = "Brian";
91
+ VoiceId["Camila"] = "Camila";
92
+ VoiceId["Carla"] = "Carla";
93
+ VoiceId["Carmen"] = "Carmen";
94
+ VoiceId["Celine"] = "Celine";
95
+ VoiceId["Chantal"] = "Chantal";
96
+ VoiceId["Conchita"] = "Conchita";
97
+ VoiceId["Cristiano"] = "Cristiano";
98
+ VoiceId["Daniel"] = "Daniel";
99
+ VoiceId["Dora"] = "Dora";
100
+ VoiceId["Emma"] = "Emma";
101
+ VoiceId["Enrique"] = "Enrique";
102
+ VoiceId["Ewa"] = "Ewa";
103
+ VoiceId["Filiz"] = "Filiz";
104
+ VoiceId["Gabrielle"] = "Gabrielle";
105
+ VoiceId["Geraint"] = "Geraint";
106
+ VoiceId["Giorgio"] = "Giorgio";
107
+ VoiceId["Gwyneth"] = "Gwyneth";
108
+ VoiceId["Hannah"] = "Hannah";
109
+ VoiceId["Hans"] = "Hans";
110
+ VoiceId["Hiujin"] = "Hiujin";
111
+ VoiceId["Ines"] = "Ines";
112
+ VoiceId["Ivy"] = "Ivy";
113
+ VoiceId["Jacek"] = "Jacek";
114
+ VoiceId["Jan"] = "Jan";
115
+ VoiceId["Joanna"] = "Joanna";
116
+ VoiceId["Joey"] = "Joey";
117
+ VoiceId["Justin"] = "Justin";
118
+ VoiceId["Kajal"] = "Kajal";
119
+ VoiceId["Karl"] = "Karl";
120
+ VoiceId["Kendra"] = "Kendra";
121
+ VoiceId["Kevin"] = "Kevin";
122
+ VoiceId["Kimberly"] = "Kimberly";
123
+ VoiceId["Lea"] = "Lea";
124
+ VoiceId["Liam"] = "Liam";
125
+ VoiceId["Liv"] = "Liv";
126
+ VoiceId["Lotte"] = "Lotte";
127
+ VoiceId["Lucia"] = "Lucia";
128
+ VoiceId["Lupe"] = "Lupe";
129
+ VoiceId["Mads"] = "Mads";
130
+ VoiceId["Maja"] = "Maja";
131
+ VoiceId["Marlene"] = "Marlene";
132
+ VoiceId["Mathieu"] = "Mathieu";
133
+ VoiceId["Matthew"] = "Matthew";
134
+ VoiceId["Maxim"] = "Maxim";
135
+ VoiceId["Mia"] = "Mia";
136
+ VoiceId["Miguel"] = "Miguel";
137
+ VoiceId["Mizuki"] = "Mizuki";
138
+ VoiceId["Naja"] = "Naja";
139
+ VoiceId["Nicole"] = "Nicole";
140
+ VoiceId["Olivia"] = "Olivia";
141
+ VoiceId["Pedro"] = "Pedro";
142
+ VoiceId["Penelope"] = "Penelope";
143
+ VoiceId["Raveena"] = "Raveena";
144
+ VoiceId["Ricardo"] = "Ricardo";
145
+ VoiceId["Ruben"] = "Ruben";
146
+ VoiceId["Russell"] = "Russell";
147
+ VoiceId["Salli"] = "Salli";
148
+ VoiceId["Seoyeon"] = "Seoyeon";
149
+ VoiceId["Takumi"] = "Takumi";
150
+ VoiceId["Tatyana"] = "Tatyana";
151
+ VoiceId["Vicki"] = "Vicki";
152
+ VoiceId["Vitoria"] = "Vitoria";
153
+ VoiceId["Zeina"] = "Zeina";
154
+ VoiceId["Zhiyu"] = "Zhiyu";
155
+ })(VoiceId = exports.VoiceId || (exports.VoiceId = {}));
37
156
  class InvalidNextTokenException extends PollyServiceException_1.PollyServiceException {
38
157
  constructor(opts) {
39
158
  super({
@@ -229,7 +229,7 @@ exports.deserializeAws_restJson1DeleteLexiconCommand = deserializeAws_restJson1D
229
229
  const deserializeAws_restJson1DeleteLexiconCommandError = async (output, context) => {
230
230
  const parsedOutput = {
231
231
  ...output,
232
- body: await parseBody(output.body, context),
232
+ body: await parseErrorBody(output.body, context),
233
233
  };
234
234
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
235
235
  switch (errorCode) {
@@ -269,7 +269,7 @@ exports.deserializeAws_restJson1DescribeVoicesCommand = deserializeAws_restJson1
269
269
  const deserializeAws_restJson1DescribeVoicesCommandError = async (output, context) => {
270
270
  const parsedOutput = {
271
271
  ...output,
272
- body: await parseBody(output.body, context),
272
+ body: await parseErrorBody(output.body, context),
273
273
  };
274
274
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
275
275
  switch (errorCode) {
@@ -309,7 +309,7 @@ exports.deserializeAws_restJson1GetLexiconCommand = deserializeAws_restJson1GetL
309
309
  const deserializeAws_restJson1GetLexiconCommandError = async (output, context) => {
310
310
  const parsedOutput = {
311
311
  ...output,
312
- body: await parseBody(output.body, context),
312
+ body: await parseErrorBody(output.body, context),
313
313
  };
314
314
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
315
315
  switch (errorCode) {
@@ -346,7 +346,7 @@ exports.deserializeAws_restJson1GetSpeechSynthesisTaskCommand = deserializeAws_r
346
346
  const deserializeAws_restJson1GetSpeechSynthesisTaskCommandError = async (output, context) => {
347
347
  const parsedOutput = {
348
348
  ...output,
349
- body: await parseBody(output.body, context),
349
+ body: await parseErrorBody(output.body, context),
350
350
  };
351
351
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
352
352
  switch (errorCode) {
@@ -389,7 +389,7 @@ exports.deserializeAws_restJson1ListLexiconsCommand = deserializeAws_restJson1Li
389
389
  const deserializeAws_restJson1ListLexiconsCommandError = async (output, context) => {
390
390
  const parsedOutput = {
391
391
  ...output,
392
- body: await parseBody(output.body, context),
392
+ body: await parseErrorBody(output.body, context),
393
393
  };
394
394
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
395
395
  switch (errorCode) {
@@ -429,7 +429,7 @@ exports.deserializeAws_restJson1ListSpeechSynthesisTasksCommand = deserializeAws
429
429
  const deserializeAws_restJson1ListSpeechSynthesisTasksCommandError = async (output, context) => {
430
430
  const parsedOutput = {
431
431
  ...output,
432
- body: await parseBody(output.body, context),
432
+ body: await parseErrorBody(output.body, context),
433
433
  };
434
434
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
435
435
  switch (errorCode) {
@@ -463,7 +463,7 @@ exports.deserializeAws_restJson1PutLexiconCommand = deserializeAws_restJson1PutL
463
463
  const deserializeAws_restJson1PutLexiconCommandError = async (output, context) => {
464
464
  const parsedOutput = {
465
465
  ...output,
466
- body: await parseBody(output.body, context),
466
+ body: await parseErrorBody(output.body, context),
467
467
  };
468
468
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
469
469
  switch (errorCode) {
@@ -515,7 +515,7 @@ exports.deserializeAws_restJson1StartSpeechSynthesisTaskCommand = deserializeAws
515
515
  const deserializeAws_restJson1StartSpeechSynthesisTaskCommandError = async (output, context) => {
516
516
  const parsedOutput = {
517
517
  ...output,
518
- body: await parseBody(output.body, context),
518
+ body: await parseErrorBody(output.body, context),
519
519
  };
520
520
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
521
521
  switch (errorCode) {
@@ -585,7 +585,7 @@ exports.deserializeAws_restJson1SynthesizeSpeechCommand = deserializeAws_restJso
585
585
  const deserializeAws_restJson1SynthesizeSpeechCommandError = async (output, context) => {
586
586
  const parsedOutput = {
587
587
  ...output,
588
- body: await parseBody(output.body, context),
588
+ body: await parseErrorBody(output.body, context),
589
589
  };
590
590
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
591
591
  switch (errorCode) {
@@ -1059,6 +1059,12 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
1059
1059
  }
1060
1060
  return {};
1061
1061
  });
1062
+ const parseErrorBody = async (errorBody, context) => {
1063
+ var _a;
1064
+ const value = await parseBody(errorBody, context);
1065
+ value.message = (_a = value.message) !== null && _a !== void 0 ? _a : value.Message;
1066
+ return value;
1067
+ };
1062
1068
  const loadRestJsonErrorCode = (output, data) => {
1063
1069
  const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
1064
1070
  const sanitizeErrorCode = (rawValue) => {
@@ -30,6 +30,124 @@ export var Engine;
30
30
  Engine["NEURAL"] = "neural";
31
31
  Engine["STANDARD"] = "standard";
32
32
  })(Engine || (Engine = {}));
33
+ export var LanguageCode;
34
+ (function (LanguageCode) {
35
+ LanguageCode["arb"] = "arb";
36
+ LanguageCode["ca_ES"] = "ca-ES";
37
+ LanguageCode["cmn_CN"] = "cmn-CN";
38
+ LanguageCode["cy_GB"] = "cy-GB";
39
+ LanguageCode["da_DK"] = "da-DK";
40
+ LanguageCode["de_AT"] = "de-AT";
41
+ LanguageCode["de_DE"] = "de-DE";
42
+ LanguageCode["en_AU"] = "en-AU";
43
+ LanguageCode["en_GB"] = "en-GB";
44
+ LanguageCode["en_GB_WLS"] = "en-GB-WLS";
45
+ LanguageCode["en_IN"] = "en-IN";
46
+ LanguageCode["en_NZ"] = "en-NZ";
47
+ LanguageCode["en_US"] = "en-US";
48
+ LanguageCode["en_ZA"] = "en-ZA";
49
+ LanguageCode["es_ES"] = "es-ES";
50
+ LanguageCode["es_MX"] = "es-MX";
51
+ LanguageCode["es_US"] = "es-US";
52
+ LanguageCode["fr_CA"] = "fr-CA";
53
+ LanguageCode["fr_FR"] = "fr-FR";
54
+ LanguageCode["hi_IN"] = "hi-IN";
55
+ LanguageCode["is_IS"] = "is-IS";
56
+ LanguageCode["it_IT"] = "it-IT";
57
+ LanguageCode["ja_JP"] = "ja-JP";
58
+ LanguageCode["ko_KR"] = "ko-KR";
59
+ LanguageCode["nb_NO"] = "nb-NO";
60
+ LanguageCode["nl_NL"] = "nl-NL";
61
+ LanguageCode["pl_PL"] = "pl-PL";
62
+ LanguageCode["pt_BR"] = "pt-BR";
63
+ LanguageCode["pt_PT"] = "pt-PT";
64
+ LanguageCode["ro_RO"] = "ro-RO";
65
+ LanguageCode["ru_RU"] = "ru-RU";
66
+ LanguageCode["sv_SE"] = "sv-SE";
67
+ LanguageCode["tr_TR"] = "tr-TR";
68
+ LanguageCode["yue_CN"] = "yue-CN";
69
+ })(LanguageCode || (LanguageCode = {}));
70
+ export var Gender;
71
+ (function (Gender) {
72
+ Gender["Female"] = "Female";
73
+ Gender["Male"] = "Male";
74
+ })(Gender || (Gender = {}));
75
+ export var VoiceId;
76
+ (function (VoiceId) {
77
+ VoiceId["Aditi"] = "Aditi";
78
+ VoiceId["Amy"] = "Amy";
79
+ VoiceId["Aria"] = "Aria";
80
+ VoiceId["Arlet"] = "Arlet";
81
+ VoiceId["Arthur"] = "Arthur";
82
+ VoiceId["Astrid"] = "Astrid";
83
+ VoiceId["Ayanda"] = "Ayanda";
84
+ VoiceId["Bianca"] = "Bianca";
85
+ VoiceId["Brian"] = "Brian";
86
+ VoiceId["Camila"] = "Camila";
87
+ VoiceId["Carla"] = "Carla";
88
+ VoiceId["Carmen"] = "Carmen";
89
+ VoiceId["Celine"] = "Celine";
90
+ VoiceId["Chantal"] = "Chantal";
91
+ VoiceId["Conchita"] = "Conchita";
92
+ VoiceId["Cristiano"] = "Cristiano";
93
+ VoiceId["Daniel"] = "Daniel";
94
+ VoiceId["Dora"] = "Dora";
95
+ VoiceId["Emma"] = "Emma";
96
+ VoiceId["Enrique"] = "Enrique";
97
+ VoiceId["Ewa"] = "Ewa";
98
+ VoiceId["Filiz"] = "Filiz";
99
+ VoiceId["Gabrielle"] = "Gabrielle";
100
+ VoiceId["Geraint"] = "Geraint";
101
+ VoiceId["Giorgio"] = "Giorgio";
102
+ VoiceId["Gwyneth"] = "Gwyneth";
103
+ VoiceId["Hannah"] = "Hannah";
104
+ VoiceId["Hans"] = "Hans";
105
+ VoiceId["Hiujin"] = "Hiujin";
106
+ VoiceId["Ines"] = "Ines";
107
+ VoiceId["Ivy"] = "Ivy";
108
+ VoiceId["Jacek"] = "Jacek";
109
+ VoiceId["Jan"] = "Jan";
110
+ VoiceId["Joanna"] = "Joanna";
111
+ VoiceId["Joey"] = "Joey";
112
+ VoiceId["Justin"] = "Justin";
113
+ VoiceId["Kajal"] = "Kajal";
114
+ VoiceId["Karl"] = "Karl";
115
+ VoiceId["Kendra"] = "Kendra";
116
+ VoiceId["Kevin"] = "Kevin";
117
+ VoiceId["Kimberly"] = "Kimberly";
118
+ VoiceId["Lea"] = "Lea";
119
+ VoiceId["Liam"] = "Liam";
120
+ VoiceId["Liv"] = "Liv";
121
+ VoiceId["Lotte"] = "Lotte";
122
+ VoiceId["Lucia"] = "Lucia";
123
+ VoiceId["Lupe"] = "Lupe";
124
+ VoiceId["Mads"] = "Mads";
125
+ VoiceId["Maja"] = "Maja";
126
+ VoiceId["Marlene"] = "Marlene";
127
+ VoiceId["Mathieu"] = "Mathieu";
128
+ VoiceId["Matthew"] = "Matthew";
129
+ VoiceId["Maxim"] = "Maxim";
130
+ VoiceId["Mia"] = "Mia";
131
+ VoiceId["Miguel"] = "Miguel";
132
+ VoiceId["Mizuki"] = "Mizuki";
133
+ VoiceId["Naja"] = "Naja";
134
+ VoiceId["Nicole"] = "Nicole";
135
+ VoiceId["Olivia"] = "Olivia";
136
+ VoiceId["Pedro"] = "Pedro";
137
+ VoiceId["Penelope"] = "Penelope";
138
+ VoiceId["Raveena"] = "Raveena";
139
+ VoiceId["Ricardo"] = "Ricardo";
140
+ VoiceId["Ruben"] = "Ruben";
141
+ VoiceId["Russell"] = "Russell";
142
+ VoiceId["Salli"] = "Salli";
143
+ VoiceId["Seoyeon"] = "Seoyeon";
144
+ VoiceId["Takumi"] = "Takumi";
145
+ VoiceId["Tatyana"] = "Tatyana";
146
+ VoiceId["Vicki"] = "Vicki";
147
+ VoiceId["Vitoria"] = "Vitoria";
148
+ VoiceId["Zeina"] = "Zeina";
149
+ VoiceId["Zhiyu"] = "Zhiyu";
150
+ })(VoiceId || (VoiceId = {}));
33
151
  var InvalidNextTokenException = (function (_super) {
34
152
  __extends(InvalidNextTokenException, _super);
35
153
  function InvalidNextTokenException(opts) {
@@ -259,7 +259,7 @@ var deserializeAws_restJson1DeleteLexiconCommandError = function (output, contex
259
259
  case 0:
260
260
  _a = [__assign({}, output)];
261
261
  _c = {};
262
- return [4, parseBody(output.body, context)];
262
+ return [4, parseErrorBody(output.body, context)];
263
263
  case 1:
264
264
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
265
265
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
@@ -322,7 +322,7 @@ var deserializeAws_restJson1DescribeVoicesCommandError = function (output, conte
322
322
  case 0:
323
323
  _a = [__assign({}, output)];
324
324
  _c = {};
325
- return [4, parseBody(output.body, context)];
325
+ return [4, parseErrorBody(output.body, context)];
326
326
  case 1:
327
327
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
328
328
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
@@ -385,7 +385,7 @@ var deserializeAws_restJson1GetLexiconCommandError = function (output, context)
385
385
  case 0:
386
386
  _a = [__assign({}, output)];
387
387
  _c = {};
388
- return [4, parseBody(output.body, context)];
388
+ return [4, parseErrorBody(output.body, context)];
389
389
  case 1:
390
390
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
391
391
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
@@ -445,7 +445,7 @@ var deserializeAws_restJson1GetSpeechSynthesisTaskCommandError = function (outpu
445
445
  case 0:
446
446
  _a = [__assign({}, output)];
447
447
  _c = {};
448
- return [4, parseBody(output.body, context)];
448
+ return [4, parseErrorBody(output.body, context)];
449
449
  case 1:
450
450
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
451
451
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
@@ -512,7 +512,7 @@ var deserializeAws_restJson1ListLexiconsCommandError = function (output, context
512
512
  case 0:
513
513
  _a = [__assign({}, output)];
514
514
  _c = {};
515
- return [4, parseBody(output.body, context)];
515
+ return [4, parseErrorBody(output.body, context)];
516
516
  case 1:
517
517
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
518
518
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
@@ -575,7 +575,7 @@ var deserializeAws_restJson1ListSpeechSynthesisTasksCommandError = function (out
575
575
  case 0:
576
576
  _a = [__assign({}, output)];
577
577
  _c = {};
578
- return [4, parseBody(output.body, context)];
578
+ return [4, parseErrorBody(output.body, context)];
579
579
  case 1:
580
580
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
581
581
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
@@ -630,7 +630,7 @@ var deserializeAws_restJson1PutLexiconCommandError = function (output, context)
630
630
  case 0:
631
631
  _a = [__assign({}, output)];
632
632
  _c = {};
633
- return [4, parseBody(output.body, context)];
633
+ return [4, parseErrorBody(output.body, context)];
634
634
  case 1:
635
635
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
636
636
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
@@ -710,7 +710,7 @@ var deserializeAws_restJson1StartSpeechSynthesisTaskCommandError = function (out
710
710
  case 0:
711
711
  _a = [__assign({}, output)];
712
712
  _c = {};
713
- return [4, parseBody(output.body, context)];
713
+ return [4, parseErrorBody(output.body, context)];
714
714
  case 1:
715
715
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
716
716
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
@@ -806,7 +806,7 @@ var deserializeAws_restJson1SynthesizeSpeechCommandError = function (output, con
806
806
  case 0:
807
807
  _a = [__assign({}, output)];
808
808
  _c = {};
809
- return [4, parseBody(output.body, context)];
809
+ return [4, parseErrorBody(output.body, context)];
810
810
  case 1:
811
811
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
812
812
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
@@ -1303,6 +1303,19 @@ var parseBody = function (streamBody, context) {
1303
1303
  return {};
1304
1304
  });
1305
1305
  };
1306
+ var parseErrorBody = function (errorBody, context) { return __awaiter(void 0, void 0, void 0, function () {
1307
+ var value;
1308
+ var _a;
1309
+ return __generator(this, function (_b) {
1310
+ switch (_b.label) {
1311
+ case 0: return [4, parseBody(errorBody, context)];
1312
+ case 1:
1313
+ value = _b.sent();
1314
+ value.message = (_a = value.message) !== null && _a !== void 0 ? _a : value.Message;
1315
+ return [2, value];
1316
+ }
1317
+ });
1318
+ }); };
1306
1319
  var loadRestJsonErrorCode = function (output, data) {
1307
1320
  var findKey = function (object, key) { return Object.keys(object).find(function (k) { return k.toLowerCase() === key.toLowerCase(); }); };
1308
1321
  var sanitizeErrorCode = function (rawValue) {
@@ -41,7 +41,42 @@ export declare enum Engine {
41
41
  NEURAL = "neural",
42
42
  STANDARD = "standard"
43
43
  }
44
- export declare type LanguageCode = "arb" | "ca-ES" | "cmn-CN" | "cy-GB" | "da-DK" | "de-AT" | "de-DE" | "en-AU" | "en-GB" | "en-GB-WLS" | "en-IN" | "en-NZ" | "en-US" | "en-ZA" | "es-ES" | "es-MX" | "es-US" | "fr-CA" | "fr-FR" | "hi-IN" | "is-IS" | "it-IT" | "ja-JP" | "ko-KR" | "nb-NO" | "nl-NL" | "pl-PL" | "pt-BR" | "pt-PT" | "ro-RO" | "ru-RU" | "sv-SE" | "tr-TR";
44
+ export declare enum LanguageCode {
45
+ arb = "arb",
46
+ ca_ES = "ca-ES",
47
+ cmn_CN = "cmn-CN",
48
+ cy_GB = "cy-GB",
49
+ da_DK = "da-DK",
50
+ de_AT = "de-AT",
51
+ de_DE = "de-DE",
52
+ en_AU = "en-AU",
53
+ en_GB = "en-GB",
54
+ en_GB_WLS = "en-GB-WLS",
55
+ en_IN = "en-IN",
56
+ en_NZ = "en-NZ",
57
+ en_US = "en-US",
58
+ en_ZA = "en-ZA",
59
+ es_ES = "es-ES",
60
+ es_MX = "es-MX",
61
+ es_US = "es-US",
62
+ fr_CA = "fr-CA",
63
+ fr_FR = "fr-FR",
64
+ hi_IN = "hi-IN",
65
+ is_IS = "is-IS",
66
+ it_IT = "it-IT",
67
+ ja_JP = "ja-JP",
68
+ ko_KR = "ko-KR",
69
+ nb_NO = "nb-NO",
70
+ nl_NL = "nl-NL",
71
+ pl_PL = "pl-PL",
72
+ pt_BR = "pt-BR",
73
+ pt_PT = "pt-PT",
74
+ ro_RO = "ro-RO",
75
+ ru_RU = "ru-RU",
76
+ sv_SE = "sv-SE",
77
+ tr_TR = "tr-TR",
78
+ yue_CN = "yue-CN"
79
+ }
45
80
  export interface DescribeVoicesInput {
46
81
  /**
47
82
  * <p>Specifies the engine (<code>standard</code> or <code>neural</code>)
@@ -71,8 +106,85 @@ export interface DescribeVoicesInput {
71
106
  */
72
107
  NextToken?: string;
73
108
  }
74
- export declare type Gender = "Female" | "Male";
75
- export declare type VoiceId = "Aditi" | "Amy" | "Aria" | "Arlet" | "Arthur" | "Astrid" | "Ayanda" | "Bianca" | "Brian" | "Camila" | "Carla" | "Carmen" | "Celine" | "Chantal" | "Conchita" | "Cristiano" | "Daniel" | "Dora" | "Emma" | "Enrique" | "Ewa" | "Filiz" | "Gabrielle" | "Geraint" | "Giorgio" | "Gwyneth" | "Hannah" | "Hans" | "Ines" | "Ivy" | "Jacek" | "Jan" | "Joanna" | "Joey" | "Justin" | "Kajal" | "Karl" | "Kendra" | "Kevin" | "Kimberly" | "Lea" | "Liam" | "Liv" | "Lotte" | "Lucia" | "Lupe" | "Mads" | "Maja" | "Marlene" | "Mathieu" | "Matthew" | "Maxim" | "Mia" | "Miguel" | "Mizuki" | "Naja" | "Nicole" | "Olivia" | "Pedro" | "Penelope" | "Raveena" | "Ricardo" | "Ruben" | "Russell" | "Salli" | "Seoyeon" | "Takumi" | "Tatyana" | "Vicki" | "Vitoria" | "Zeina" | "Zhiyu";
109
+ export declare enum Gender {
110
+ Female = "Female",
111
+ Male = "Male"
112
+ }
113
+ export declare enum VoiceId {
114
+ Aditi = "Aditi",
115
+ Amy = "Amy",
116
+ Aria = "Aria",
117
+ Arlet = "Arlet",
118
+ Arthur = "Arthur",
119
+ Astrid = "Astrid",
120
+ Ayanda = "Ayanda",
121
+ Bianca = "Bianca",
122
+ Brian = "Brian",
123
+ Camila = "Camila",
124
+ Carla = "Carla",
125
+ Carmen = "Carmen",
126
+ Celine = "Celine",
127
+ Chantal = "Chantal",
128
+ Conchita = "Conchita",
129
+ Cristiano = "Cristiano",
130
+ Daniel = "Daniel",
131
+ Dora = "Dora",
132
+ Emma = "Emma",
133
+ Enrique = "Enrique",
134
+ Ewa = "Ewa",
135
+ Filiz = "Filiz",
136
+ Gabrielle = "Gabrielle",
137
+ Geraint = "Geraint",
138
+ Giorgio = "Giorgio",
139
+ Gwyneth = "Gwyneth",
140
+ Hannah = "Hannah",
141
+ Hans = "Hans",
142
+ Hiujin = "Hiujin",
143
+ Ines = "Ines",
144
+ Ivy = "Ivy",
145
+ Jacek = "Jacek",
146
+ Jan = "Jan",
147
+ Joanna = "Joanna",
148
+ Joey = "Joey",
149
+ Justin = "Justin",
150
+ Kajal = "Kajal",
151
+ Karl = "Karl",
152
+ Kendra = "Kendra",
153
+ Kevin = "Kevin",
154
+ Kimberly = "Kimberly",
155
+ Lea = "Lea",
156
+ Liam = "Liam",
157
+ Liv = "Liv",
158
+ Lotte = "Lotte",
159
+ Lucia = "Lucia",
160
+ Lupe = "Lupe",
161
+ Mads = "Mads",
162
+ Maja = "Maja",
163
+ Marlene = "Marlene",
164
+ Mathieu = "Mathieu",
165
+ Matthew = "Matthew",
166
+ Maxim = "Maxim",
167
+ Mia = "Mia",
168
+ Miguel = "Miguel",
169
+ Mizuki = "Mizuki",
170
+ Naja = "Naja",
171
+ Nicole = "Nicole",
172
+ Olivia = "Olivia",
173
+ Pedro = "Pedro",
174
+ Penelope = "Penelope",
175
+ Raveena = "Raveena",
176
+ Ricardo = "Ricardo",
177
+ Ruben = "Ruben",
178
+ Russell = "Russell",
179
+ Salli = "Salli",
180
+ Seoyeon = "Seoyeon",
181
+ Takumi = "Takumi",
182
+ Tatyana = "Tatyana",
183
+ Vicki = "Vicki",
184
+ Vitoria = "Vitoria",
185
+ Zeina = "Zeina",
186
+ Zhiyu = "Zhiyu"
187
+ }
76
188
  /**
77
189
  * <p>Description of the voice.</p>
78
190
  */
@@ -798,7 +910,7 @@ export interface SynthesizeSpeechOutput {
798
910
  /**
799
911
  * <p> Stream containing the synthesized speech. </p>
800
912
  */
801
- AudioStream?: Readable | ReadableStream | Blob;
913
+ AudioStream: Readable | ReadableStream | Blob | undefined;
802
914
  /**
803
915
  * <p> Specifies the type audio stream. This should reflect the
804
916
  * <code>OutputFormat</code> parameter in your request. </p>
@@ -23,120 +23,127 @@ export declare enum Engine {
23
23
  NEURAL = "neural",
24
24
  STANDARD = "standard",
25
25
  }
26
- export declare type LanguageCode =
27
- | "arb"
28
- | "ca-ES"
29
- | "cmn-CN"
30
- | "cy-GB"
31
- | "da-DK"
32
- | "de-AT"
33
- | "de-DE"
34
- | "en-AU"
35
- | "en-GB"
36
- | "en-GB-WLS"
37
- | "en-IN"
38
- | "en-NZ"
39
- | "en-US"
40
- | "en-ZA"
41
- | "es-ES"
42
- | "es-MX"
43
- | "es-US"
44
- | "fr-CA"
45
- | "fr-FR"
46
- | "hi-IN"
47
- | "is-IS"
48
- | "it-IT"
49
- | "ja-JP"
50
- | "ko-KR"
51
- | "nb-NO"
52
- | "nl-NL"
53
- | "pl-PL"
54
- | "pt-BR"
55
- | "pt-PT"
56
- | "ro-RO"
57
- | "ru-RU"
58
- | "sv-SE"
59
- | "tr-TR";
26
+ export declare enum LanguageCode {
27
+ arb = "arb",
28
+ ca_ES = "ca-ES",
29
+ cmn_CN = "cmn-CN",
30
+ cy_GB = "cy-GB",
31
+ da_DK = "da-DK",
32
+ de_AT = "de-AT",
33
+ de_DE = "de-DE",
34
+ en_AU = "en-AU",
35
+ en_GB = "en-GB",
36
+ en_GB_WLS = "en-GB-WLS",
37
+ en_IN = "en-IN",
38
+ en_NZ = "en-NZ",
39
+ en_US = "en-US",
40
+ en_ZA = "en-ZA",
41
+ es_ES = "es-ES",
42
+ es_MX = "es-MX",
43
+ es_US = "es-US",
44
+ fr_CA = "fr-CA",
45
+ fr_FR = "fr-FR",
46
+ hi_IN = "hi-IN",
47
+ is_IS = "is-IS",
48
+ it_IT = "it-IT",
49
+ ja_JP = "ja-JP",
50
+ ko_KR = "ko-KR",
51
+ nb_NO = "nb-NO",
52
+ nl_NL = "nl-NL",
53
+ pl_PL = "pl-PL",
54
+ pt_BR = "pt-BR",
55
+ pt_PT = "pt-PT",
56
+ ro_RO = "ro-RO",
57
+ ru_RU = "ru-RU",
58
+ sv_SE = "sv-SE",
59
+ tr_TR = "tr-TR",
60
+ yue_CN = "yue-CN",
61
+ }
60
62
  export interface DescribeVoicesInput {
61
63
  Engine?: Engine | string;
62
64
  LanguageCode?: LanguageCode | string;
63
65
  IncludeAdditionalLanguageCodes?: boolean;
64
66
  NextToken?: string;
65
67
  }
66
- export declare type Gender = "Female" | "Male";
67
- export declare type VoiceId =
68
- | "Aditi"
69
- | "Amy"
70
- | "Aria"
71
- | "Arlet"
72
- | "Arthur"
73
- | "Astrid"
74
- | "Ayanda"
75
- | "Bianca"
76
- | "Brian"
77
- | "Camila"
78
- | "Carla"
79
- | "Carmen"
80
- | "Celine"
81
- | "Chantal"
82
- | "Conchita"
83
- | "Cristiano"
84
- | "Daniel"
85
- | "Dora"
86
- | "Emma"
87
- | "Enrique"
88
- | "Ewa"
89
- | "Filiz"
90
- | "Gabrielle"
91
- | "Geraint"
92
- | "Giorgio"
93
- | "Gwyneth"
94
- | "Hannah"
95
- | "Hans"
96
- | "Ines"
97
- | "Ivy"
98
- | "Jacek"
99
- | "Jan"
100
- | "Joanna"
101
- | "Joey"
102
- | "Justin"
103
- | "Kajal"
104
- | "Karl"
105
- | "Kendra"
106
- | "Kevin"
107
- | "Kimberly"
108
- | "Lea"
109
- | "Liam"
110
- | "Liv"
111
- | "Lotte"
112
- | "Lucia"
113
- | "Lupe"
114
- | "Mads"
115
- | "Maja"
116
- | "Marlene"
117
- | "Mathieu"
118
- | "Matthew"
119
- | "Maxim"
120
- | "Mia"
121
- | "Miguel"
122
- | "Mizuki"
123
- | "Naja"
124
- | "Nicole"
125
- | "Olivia"
126
- | "Pedro"
127
- | "Penelope"
128
- | "Raveena"
129
- | "Ricardo"
130
- | "Ruben"
131
- | "Russell"
132
- | "Salli"
133
- | "Seoyeon"
134
- | "Takumi"
135
- | "Tatyana"
136
- | "Vicki"
137
- | "Vitoria"
138
- | "Zeina"
139
- | "Zhiyu";
68
+ export declare enum Gender {
69
+ Female = "Female",
70
+ Male = "Male",
71
+ }
72
+ export declare enum VoiceId {
73
+ Aditi = "Aditi",
74
+ Amy = "Amy",
75
+ Aria = "Aria",
76
+ Arlet = "Arlet",
77
+ Arthur = "Arthur",
78
+ Astrid = "Astrid",
79
+ Ayanda = "Ayanda",
80
+ Bianca = "Bianca",
81
+ Brian = "Brian",
82
+ Camila = "Camila",
83
+ Carla = "Carla",
84
+ Carmen = "Carmen",
85
+ Celine = "Celine",
86
+ Chantal = "Chantal",
87
+ Conchita = "Conchita",
88
+ Cristiano = "Cristiano",
89
+ Daniel = "Daniel",
90
+ Dora = "Dora",
91
+ Emma = "Emma",
92
+ Enrique = "Enrique",
93
+ Ewa = "Ewa",
94
+ Filiz = "Filiz",
95
+ Gabrielle = "Gabrielle",
96
+ Geraint = "Geraint",
97
+ Giorgio = "Giorgio",
98
+ Gwyneth = "Gwyneth",
99
+ Hannah = "Hannah",
100
+ Hans = "Hans",
101
+ Hiujin = "Hiujin",
102
+ Ines = "Ines",
103
+ Ivy = "Ivy",
104
+ Jacek = "Jacek",
105
+ Jan = "Jan",
106
+ Joanna = "Joanna",
107
+ Joey = "Joey",
108
+ Justin = "Justin",
109
+ Kajal = "Kajal",
110
+ Karl = "Karl",
111
+ Kendra = "Kendra",
112
+ Kevin = "Kevin",
113
+ Kimberly = "Kimberly",
114
+ Lea = "Lea",
115
+ Liam = "Liam",
116
+ Liv = "Liv",
117
+ Lotte = "Lotte",
118
+ Lucia = "Lucia",
119
+ Lupe = "Lupe",
120
+ Mads = "Mads",
121
+ Maja = "Maja",
122
+ Marlene = "Marlene",
123
+ Mathieu = "Mathieu",
124
+ Matthew = "Matthew",
125
+ Maxim = "Maxim",
126
+ Mia = "Mia",
127
+ Miguel = "Miguel",
128
+ Mizuki = "Mizuki",
129
+ Naja = "Naja",
130
+ Nicole = "Nicole",
131
+ Olivia = "Olivia",
132
+ Pedro = "Pedro",
133
+ Penelope = "Penelope",
134
+ Raveena = "Raveena",
135
+ Ricardo = "Ricardo",
136
+ Ruben = "Ruben",
137
+ Russell = "Russell",
138
+ Salli = "Salli",
139
+ Seoyeon = "Seoyeon",
140
+ Takumi = "Takumi",
141
+ Tatyana = "Tatyana",
142
+ Vicki = "Vicki",
143
+ Vitoria = "Vitoria",
144
+ Zeina = "Zeina",
145
+ Zhiyu = "Zhiyu",
146
+ }
140
147
  export interface Voice {
141
148
  Gender?: Gender | string;
142
149
  Id?: VoiceId | string;
@@ -419,7 +426,7 @@ export interface SynthesizeSpeechInput {
419
426
  VoiceId: VoiceId | string | undefined;
420
427
  }
421
428
  export interface SynthesizeSpeechOutput {
422
- AudioStream?: Readable | ReadableStream | Blob;
429
+ AudioStream: Readable | ReadableStream | Blob | undefined;
423
430
  ContentType?: string;
424
431
  RequestCharacters?: number;
425
432
  }
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.179.0",
4
+ "version": "3.181.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",
@@ -19,9 +19,9 @@
19
19
  "dependencies": {
20
20
  "@aws-crypto/sha256-browser": "2.0.0",
21
21
  "@aws-crypto/sha256-js": "2.0.0",
22
- "@aws-sdk/client-sts": "3.179.0",
22
+ "@aws-sdk/client-sts": "3.181.0",
23
23
  "@aws-sdk/config-resolver": "3.178.0",
24
- "@aws-sdk/credential-provider-node": "3.178.0",
24
+ "@aws-sdk/credential-provider-node": "3.181.0",
25
25
  "@aws-sdk/fetch-http-handler": "3.178.0",
26
26
  "@aws-sdk/hash-node": "3.178.0",
27
27
  "@aws-sdk/invalid-dependency": "3.178.0",
@@ -37,15 +37,15 @@
37
37
  "@aws-sdk/node-config-provider": "3.178.0",
38
38
  "@aws-sdk/node-http-handler": "3.178.0",
39
39
  "@aws-sdk/protocol-http": "3.178.0",
40
- "@aws-sdk/smithy-client": "3.178.0",
40
+ "@aws-sdk/smithy-client": "3.180.0",
41
41
  "@aws-sdk/types": "3.178.0",
42
42
  "@aws-sdk/url-parser": "3.178.0",
43
43
  "@aws-sdk/util-base64-browser": "3.170.0",
44
44
  "@aws-sdk/util-base64-node": "3.170.0",
45
45
  "@aws-sdk/util-body-length-browser": "3.170.0",
46
46
  "@aws-sdk/util-body-length-node": "3.170.0",
47
- "@aws-sdk/util-defaults-mode-browser": "3.178.0",
48
- "@aws-sdk/util-defaults-mode-node": "3.178.0",
47
+ "@aws-sdk/util-defaults-mode-browser": "3.180.0",
48
+ "@aws-sdk/util-defaults-mode-node": "3.180.0",
49
49
  "@aws-sdk/util-user-agent-browser": "3.178.0",
50
50
  "@aws-sdk/util-user-agent-node": "3.178.0",
51
51
  "@aws-sdk/util-utf8-browser": "3.170.0",