@aws-sdk/client-polly 3.758.0 → 3.772.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 +17 -17
- package/package.json +3 -3
package/dist-cjs/index.js
CHANGED
|
@@ -19,8 +19,8 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
19
19
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
20
|
|
|
21
21
|
// src/index.ts
|
|
22
|
-
var
|
|
23
|
-
__export(
|
|
22
|
+
var index_exports = {};
|
|
23
|
+
__export(index_exports, {
|
|
24
24
|
DeleteLexiconCommand: () => DeleteLexiconCommand,
|
|
25
25
|
DescribeVoicesCommand: () => DescribeVoicesCommand,
|
|
26
26
|
Engine: () => Engine,
|
|
@@ -69,7 +69,7 @@ __export(src_exports, {
|
|
|
69
69
|
__Client: () => import_smithy_client.Client,
|
|
70
70
|
paginateListSpeechSynthesisTasks: () => paginateListSpeechSynthesisTasks
|
|
71
71
|
});
|
|
72
|
-
module.exports = __toCommonJS(
|
|
72
|
+
module.exports = __toCommonJS(index_exports);
|
|
73
73
|
|
|
74
74
|
// src/PollyClient.ts
|
|
75
75
|
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
@@ -196,9 +196,9 @@ var PollyClient = class extends import_smithy_client.Client {
|
|
|
196
196
|
this.middlewareStack.use(
|
|
197
197
|
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
198
198
|
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultPollyHttpAuthSchemeParametersProvider,
|
|
199
|
-
identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
199
|
+
identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
200
200
|
"aws.auth#sigv4": config.credentials
|
|
201
|
-
})
|
|
201
|
+
}), "identityProviderConfigProvider")
|
|
202
202
|
})
|
|
203
203
|
);
|
|
204
204
|
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
@@ -909,13 +909,13 @@ var se_StartSpeechSynthesisTaskCommand = /* @__PURE__ */ __name(async (input, co
|
|
|
909
909
|
(0, import_smithy_client.take)(input, {
|
|
910
910
|
Engine: [],
|
|
911
911
|
LanguageCode: [],
|
|
912
|
-
LexiconNames: (_) => (0, import_smithy_client._json)(_),
|
|
912
|
+
LexiconNames: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "LexiconNames"),
|
|
913
913
|
OutputFormat: [],
|
|
914
914
|
OutputS3BucketName: [],
|
|
915
915
|
OutputS3KeyPrefix: [],
|
|
916
916
|
SampleRate: [],
|
|
917
917
|
SnsTopicArn: [],
|
|
918
|
-
SpeechMarkTypes: (_) => (0, import_smithy_client._json)(_),
|
|
918
|
+
SpeechMarkTypes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "SpeechMarkTypes"),
|
|
919
919
|
Text: [],
|
|
920
920
|
TextType: [],
|
|
921
921
|
VoiceId: []
|
|
@@ -935,10 +935,10 @@ var se_SynthesizeSpeechCommand = /* @__PURE__ */ __name(async (input, context) =
|
|
|
935
935
|
(0, import_smithy_client.take)(input, {
|
|
936
936
|
Engine: [],
|
|
937
937
|
LanguageCode: [],
|
|
938
|
-
LexiconNames: (_) => (0, import_smithy_client._json)(_),
|
|
938
|
+
LexiconNames: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "LexiconNames"),
|
|
939
939
|
OutputFormat: [],
|
|
940
940
|
SampleRate: [],
|
|
941
|
-
SpeechMarkTypes: (_) => (0, import_smithy_client._json)(_),
|
|
941
|
+
SpeechMarkTypes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "SpeechMarkTypes"),
|
|
942
942
|
Text: [],
|
|
943
943
|
TextType: [],
|
|
944
944
|
VoiceId: []
|
|
@@ -982,7 +982,7 @@ var de_GetLexiconCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
982
982
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
983
983
|
const doc = (0, import_smithy_client.take)(data, {
|
|
984
984
|
Lexicon: import_smithy_client._json,
|
|
985
|
-
LexiconAttributes: (_) => de_LexiconAttributes(_, context)
|
|
985
|
+
LexiconAttributes: /* @__PURE__ */ __name((_) => de_LexiconAttributes(_, context), "LexiconAttributes")
|
|
986
986
|
});
|
|
987
987
|
Object.assign(contents, doc);
|
|
988
988
|
return contents;
|
|
@@ -996,7 +996,7 @@ var de_GetSpeechSynthesisTaskCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
996
996
|
});
|
|
997
997
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
998
998
|
const doc = (0, import_smithy_client.take)(data, {
|
|
999
|
-
SynthesisTask: (_) => de_SynthesisTask(_, context)
|
|
999
|
+
SynthesisTask: /* @__PURE__ */ __name((_) => de_SynthesisTask(_, context), "SynthesisTask")
|
|
1000
1000
|
});
|
|
1001
1001
|
Object.assign(contents, doc);
|
|
1002
1002
|
return contents;
|
|
@@ -1010,7 +1010,7 @@ var de_ListLexiconsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1010
1010
|
});
|
|
1011
1011
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1012
1012
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1013
|
-
Lexicons: (_) => de_LexiconDescriptionList(_, context),
|
|
1013
|
+
Lexicons: /* @__PURE__ */ __name((_) => de_LexiconDescriptionList(_, context), "Lexicons"),
|
|
1014
1014
|
NextToken: import_smithy_client.expectString
|
|
1015
1015
|
});
|
|
1016
1016
|
Object.assign(contents, doc);
|
|
@@ -1026,7 +1026,7 @@ var de_ListSpeechSynthesisTasksCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
1026
1026
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1027
1027
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1028
1028
|
NextToken: import_smithy_client.expectString,
|
|
1029
|
-
SynthesisTasks: (_) => de_SynthesisTasks(_, context)
|
|
1029
|
+
SynthesisTasks: /* @__PURE__ */ __name((_) => de_SynthesisTasks(_, context), "SynthesisTasks")
|
|
1030
1030
|
});
|
|
1031
1031
|
Object.assign(contents, doc);
|
|
1032
1032
|
return contents;
|
|
@@ -1050,7 +1050,7 @@ var de_StartSpeechSynthesisTaskCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
1050
1050
|
});
|
|
1051
1051
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1052
1052
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1053
|
-
SynthesisTask: (_) => de_SynthesisTask(_, context)
|
|
1053
|
+
SynthesisTask: /* @__PURE__ */ __name((_) => de_SynthesisTask(_, context), "SynthesisTask")
|
|
1054
1054
|
});
|
|
1055
1055
|
Object.assign(contents, doc);
|
|
1056
1056
|
return contents;
|
|
@@ -1426,7 +1426,7 @@ var de_LexiconAttributes = /* @__PURE__ */ __name((output, context) => {
|
|
|
1426
1426
|
return (0, import_smithy_client.take)(output, {
|
|
1427
1427
|
Alphabet: import_smithy_client.expectString,
|
|
1428
1428
|
LanguageCode: import_smithy_client.expectString,
|
|
1429
|
-
LastModified: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1429
|
+
LastModified: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModified"),
|
|
1430
1430
|
LexemesCount: import_smithy_client.expectInt32,
|
|
1431
1431
|
LexiconArn: import_smithy_client.expectString,
|
|
1432
1432
|
Size: import_smithy_client.expectInt32
|
|
@@ -1434,7 +1434,7 @@ var de_LexiconAttributes = /* @__PURE__ */ __name((output, context) => {
|
|
|
1434
1434
|
}, "de_LexiconAttributes");
|
|
1435
1435
|
var de_LexiconDescription = /* @__PURE__ */ __name((output, context) => {
|
|
1436
1436
|
return (0, import_smithy_client.take)(output, {
|
|
1437
|
-
Attributes: (_) => de_LexiconAttributes(_, context),
|
|
1437
|
+
Attributes: /* @__PURE__ */ __name((_) => de_LexiconAttributes(_, context), "Attributes"),
|
|
1438
1438
|
Name: import_smithy_client.expectString
|
|
1439
1439
|
});
|
|
1440
1440
|
}, "de_LexiconDescription");
|
|
@@ -1446,7 +1446,7 @@ var de_LexiconDescriptionList = /* @__PURE__ */ __name((output, context) => {
|
|
|
1446
1446
|
}, "de_LexiconDescriptionList");
|
|
1447
1447
|
var de_SynthesisTask = /* @__PURE__ */ __name((output, context) => {
|
|
1448
1448
|
return (0, import_smithy_client.take)(output, {
|
|
1449
|
-
CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1449
|
+
CreationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationTime"),
|
|
1450
1450
|
Engine: import_smithy_client.expectString,
|
|
1451
1451
|
LanguageCode: import_smithy_client.expectString,
|
|
1452
1452
|
LexiconNames: import_smithy_client._json,
|
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.772.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",
|
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
23
|
"@aws-sdk/core": "3.758.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.772.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.734.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.734.0",
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.772.0",
|
|
28
28
|
"@aws-sdk/middleware-user-agent": "3.758.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.734.0",
|
|
30
30
|
"@aws-sdk/types": "3.734.0",
|