@aws-sdk/client-polly 3.1077.0 → 3.1078.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.
Files changed (38) hide show
  1. package/dist-cjs/index.js +21 -111
  2. package/dist-es/commandBuilder.js +10 -0
  3. package/dist-es/commands/DeleteLexiconCommand.js +2 -14
  4. package/dist-es/commands/DescribeVoicesCommand.js +2 -14
  5. package/dist-es/commands/GetLexiconCommand.js +2 -14
  6. package/dist-es/commands/GetSpeechSynthesisTaskCommand.js +2 -14
  7. package/dist-es/commands/ListLexiconsCommand.js +2 -14
  8. package/dist-es/commands/ListSpeechSynthesisTasksCommand.js +2 -14
  9. package/dist-es/commands/PutLexiconCommand.js +2 -14
  10. package/dist-es/commands/StartSpeechSynthesisStreamCommand.js +2 -23
  11. package/dist-es/commands/StartSpeechSynthesisTaskCommand.js +2 -14
  12. package/dist-es/commands/SynthesizeSpeechCommand.js +2 -14
  13. package/dist-es/index.js +1 -0
  14. package/dist-types/commandBuilder.d.ts +22 -0
  15. package/dist-types/commands/DeleteLexiconCommand.d.ts +3 -8
  16. package/dist-types/commands/DescribeVoicesCommand.d.ts +3 -8
  17. package/dist-types/commands/GetLexiconCommand.d.ts +3 -8
  18. package/dist-types/commands/GetSpeechSynthesisTaskCommand.d.ts +3 -8
  19. package/dist-types/commands/ListLexiconsCommand.d.ts +3 -8
  20. package/dist-types/commands/ListSpeechSynthesisTasksCommand.d.ts +3 -8
  21. package/dist-types/commands/PutLexiconCommand.d.ts +3 -8
  22. package/dist-types/commands/StartSpeechSynthesisStreamCommand.d.ts +3 -8
  23. package/dist-types/commands/StartSpeechSynthesisTaskCommand.d.ts +3 -8
  24. package/dist-types/commands/SynthesizeSpeechCommand.d.ts +3 -8
  25. package/dist-types/index.d.ts +1 -0
  26. package/dist-types/ts3.4/commandBuilder.d.ts +52 -0
  27. package/dist-types/ts3.4/commands/DeleteLexiconCommand.d.ts +7 -16
  28. package/dist-types/ts3.4/commands/DescribeVoicesCommand.d.ts +7 -16
  29. package/dist-types/ts3.4/commands/GetLexiconCommand.d.ts +7 -16
  30. package/dist-types/ts3.4/commands/GetSpeechSynthesisTaskCommand.d.ts +7 -16
  31. package/dist-types/ts3.4/commands/ListLexiconsCommand.d.ts +7 -16
  32. package/dist-types/ts3.4/commands/ListSpeechSynthesisTasksCommand.d.ts +7 -16
  33. package/dist-types/ts3.4/commands/PutLexiconCommand.d.ts +7 -16
  34. package/dist-types/ts3.4/commands/StartSpeechSynthesisStreamCommand.d.ts +7 -16
  35. package/dist-types/ts3.4/commands/StartSpeechSynthesisTaskCommand.d.ts +7 -16
  36. package/dist-types/ts3.4/commands/SynthesizeSpeechCommand.d.ts +7 -16
  37. package/dist-types/ts3.4/index.d.ts +1 -0
  38. package/package.json +11 -11
package/dist-cjs/index.js CHANGED
@@ -1,8 +1,9 @@
1
1
  const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
2
2
  const { resolveEventStreamConfig, getEventStreamPlugin } = require("@aws-sdk/middleware-eventstream");
3
3
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
4
- const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
5
- exports.$Command = Command;
4
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
5
+ const { Command: $Command } = require("@smithy/core/client");
6
+ exports.$Command = $Command;
6
7
  exports.__Client = Client;
7
8
  const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
8
9
  const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
@@ -71,7 +72,7 @@ const commonParams = {
71
72
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
72
73
  };
73
74
 
74
- var version = "3.1076.0";
75
+ var version = "3.1077.0";
75
76
  var packageInfo = {
76
77
  version: version};
77
78
 
@@ -1109,132 +1110,41 @@ class PollyClient extends Client {
1109
1110
  }
1110
1111
  }
1111
1112
 
1112
- class DeleteLexiconCommand extends Command
1113
- .classBuilder()
1114
- .ep(commonParams)
1115
- .m(function (Command, cs, config, o) {
1116
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1117
- })
1118
- .s("Parrot_v1", "DeleteLexicon", {})
1119
- .n("PollyClient", "DeleteLexiconCommand")
1120
- .sc(DeleteLexicon$)
1121
- .build() {
1113
+ const command = makeBuilder(commonParams, "Parrot_v1", "PollyClient", getEndpointPlugin);
1114
+ const _ep0 = {};
1115
+ const _mw0 = (Command, cs, config, o) => [];
1116
+ const _mw1 = (Command, cs, config, o) => [
1117
+ getEventStreamPlugin(config),
1118
+ ];
1119
+
1120
+ class DeleteLexiconCommand extends command(_ep0, _mw0, "DeleteLexicon", DeleteLexicon$) {
1122
1121
  }
1123
1122
 
1124
- class DescribeVoicesCommand extends Command
1125
- .classBuilder()
1126
- .ep(commonParams)
1127
- .m(function (Command, cs, config, o) {
1128
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1129
- })
1130
- .s("Parrot_v1", "DescribeVoices", {})
1131
- .n("PollyClient", "DescribeVoicesCommand")
1132
- .sc(DescribeVoices$)
1133
- .build() {
1123
+ class DescribeVoicesCommand extends command(_ep0, _mw0, "DescribeVoices", DescribeVoices$) {
1134
1124
  }
1135
1125
 
1136
- class GetLexiconCommand extends Command
1137
- .classBuilder()
1138
- .ep(commonParams)
1139
- .m(function (Command, cs, config, o) {
1140
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1141
- })
1142
- .s("Parrot_v1", "GetLexicon", {})
1143
- .n("PollyClient", "GetLexiconCommand")
1144
- .sc(GetLexicon$)
1145
- .build() {
1126
+ class GetLexiconCommand extends command(_ep0, _mw0, "GetLexicon", GetLexicon$) {
1146
1127
  }
1147
1128
 
1148
- class GetSpeechSynthesisTaskCommand extends Command
1149
- .classBuilder()
1150
- .ep(commonParams)
1151
- .m(function (Command, cs, config, o) {
1152
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1153
- })
1154
- .s("Parrot_v1", "GetSpeechSynthesisTask", {})
1155
- .n("PollyClient", "GetSpeechSynthesisTaskCommand")
1156
- .sc(GetSpeechSynthesisTask$)
1157
- .build() {
1129
+ class GetSpeechSynthesisTaskCommand extends command(_ep0, _mw0, "GetSpeechSynthesisTask", GetSpeechSynthesisTask$) {
1158
1130
  }
1159
1131
 
1160
- class ListLexiconsCommand extends Command
1161
- .classBuilder()
1162
- .ep(commonParams)
1163
- .m(function (Command, cs, config, o) {
1164
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1165
- })
1166
- .s("Parrot_v1", "ListLexicons", {})
1167
- .n("PollyClient", "ListLexiconsCommand")
1168
- .sc(ListLexicons$)
1169
- .build() {
1132
+ class ListLexiconsCommand extends command(_ep0, _mw0, "ListLexicons", ListLexicons$) {
1170
1133
  }
1171
1134
 
1172
- class ListSpeechSynthesisTasksCommand extends Command
1173
- .classBuilder()
1174
- .ep(commonParams)
1175
- .m(function (Command, cs, config, o) {
1176
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1177
- })
1178
- .s("Parrot_v1", "ListSpeechSynthesisTasks", {})
1179
- .n("PollyClient", "ListSpeechSynthesisTasksCommand")
1180
- .sc(ListSpeechSynthesisTasks$)
1181
- .build() {
1135
+ class ListSpeechSynthesisTasksCommand extends command(_ep0, _mw0, "ListSpeechSynthesisTasks", ListSpeechSynthesisTasks$) {
1182
1136
  }
1183
1137
 
1184
- class PutLexiconCommand extends Command
1185
- .classBuilder()
1186
- .ep(commonParams)
1187
- .m(function (Command, cs, config, o) {
1188
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1189
- })
1190
- .s("Parrot_v1", "PutLexicon", {})
1191
- .n("PollyClient", "PutLexiconCommand")
1192
- .sc(PutLexicon$)
1193
- .build() {
1138
+ class PutLexiconCommand extends command(_ep0, _mw0, "PutLexicon", PutLexicon$) {
1194
1139
  }
1195
1140
 
1196
- class StartSpeechSynthesisStreamCommand extends Command
1197
- .classBuilder()
1198
- .ep(commonParams)
1199
- .m(function (Command, cs, config, o) {
1200
- return [
1201
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1202
- getEventStreamPlugin(config),
1203
- ];
1204
- })
1205
- .s("Parrot_v1", "StartSpeechSynthesisStream", {
1206
- eventStream: {
1207
- input: true,
1208
- output: true,
1209
- },
1210
- })
1211
- .n("PollyClient", "StartSpeechSynthesisStreamCommand")
1212
- .sc(StartSpeechSynthesisStream$)
1213
- .build() {
1141
+ class StartSpeechSynthesisStreamCommand extends command(_ep0, _mw1, "StartSpeechSynthesisStream", StartSpeechSynthesisStream$) {
1214
1142
  }
1215
1143
 
1216
- class StartSpeechSynthesisTaskCommand extends Command
1217
- .classBuilder()
1218
- .ep(commonParams)
1219
- .m(function (Command, cs, config, o) {
1220
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1221
- })
1222
- .s("Parrot_v1", "StartSpeechSynthesisTask", {})
1223
- .n("PollyClient", "StartSpeechSynthesisTaskCommand")
1224
- .sc(StartSpeechSynthesisTask$)
1225
- .build() {
1144
+ class StartSpeechSynthesisTaskCommand extends command(_ep0, _mw0, "StartSpeechSynthesisTask", StartSpeechSynthesisTask$) {
1226
1145
  }
1227
1146
 
1228
- class SynthesizeSpeechCommand extends Command
1229
- .classBuilder()
1230
- .ep(commonParams)
1231
- .m(function (Command, cs, config, o) {
1232
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1233
- })
1234
- .s("Parrot_v1", "SynthesizeSpeech", {})
1235
- .n("PollyClient", "SynthesizeSpeechCommand")
1236
- .sc(SynthesizeSpeech$)
1237
- .build() {
1147
+ class SynthesizeSpeechCommand extends command(_ep0, _mw0, "SynthesizeSpeech", SynthesizeSpeech$) {
1238
1148
  }
1239
1149
 
1240
1150
  const paginateListSpeechSynthesisTasks = createPaginator(PollyClient, ListSpeechSynthesisTasksCommand, "NextToken", "NextToken", "MaxResults");
@@ -0,0 +1,10 @@
1
+ import { getEventStreamPlugin } from "@aws-sdk/middleware-eventstream";
2
+ import { makeBuilder } from "@smithy/core/client";
3
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
4
+ import { commonParams } from "./endpoint/EndpointParameters";
5
+ export const command = makeBuilder(commonParams, "Parrot_v1", "PollyClient", getEndpointPlugin);
6
+ export const _ep0 = {};
7
+ export const _mw0 = (Command, cs, config, o) => [];
8
+ export const _mw1 = (Command, cs, config, o) => [
9
+ getEventStreamPlugin(config),
10
+ ];
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteLexicon$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteLexiconCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Parrot_v1", "DeleteLexicon", {})
13
- .n("PollyClient", "DeleteLexiconCommand")
14
- .sc(DeleteLexicon$)
15
- .build() {
3
+ export class DeleteLexiconCommand extends command(_ep0, _mw0, "DeleteLexicon", DeleteLexicon$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeVoices$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeVoicesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Parrot_v1", "DescribeVoices", {})
13
- .n("PollyClient", "DescribeVoicesCommand")
14
- .sc(DescribeVoices$)
15
- .build() {
3
+ export class DescribeVoicesCommand extends command(_ep0, _mw0, "DescribeVoices", DescribeVoices$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetLexicon$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetLexiconCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Parrot_v1", "GetLexicon", {})
13
- .n("PollyClient", "GetLexiconCommand")
14
- .sc(GetLexicon$)
15
- .build() {
3
+ export class GetLexiconCommand extends command(_ep0, _mw0, "GetLexicon", GetLexicon$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetSpeechSynthesisTask$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetSpeechSynthesisTaskCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Parrot_v1", "GetSpeechSynthesisTask", {})
13
- .n("PollyClient", "GetSpeechSynthesisTaskCommand")
14
- .sc(GetSpeechSynthesisTask$)
15
- .build() {
3
+ export class GetSpeechSynthesisTaskCommand extends command(_ep0, _mw0, "GetSpeechSynthesisTask", GetSpeechSynthesisTask$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListLexicons$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListLexiconsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Parrot_v1", "ListLexicons", {})
13
- .n("PollyClient", "ListLexiconsCommand")
14
- .sc(ListLexicons$)
15
- .build() {
3
+ export class ListLexiconsCommand extends command(_ep0, _mw0, "ListLexicons", ListLexicons$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListSpeechSynthesisTasks$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListSpeechSynthesisTasksCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Parrot_v1", "ListSpeechSynthesisTasks", {})
13
- .n("PollyClient", "ListSpeechSynthesisTasksCommand")
14
- .sc(ListSpeechSynthesisTasks$)
15
- .build() {
3
+ export class ListSpeechSynthesisTasksCommand extends command(_ep0, _mw0, "ListSpeechSynthesisTasks", ListSpeechSynthesisTasks$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { PutLexicon$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class PutLexiconCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Parrot_v1", "PutLexicon", {})
13
- .n("PollyClient", "PutLexiconCommand")
14
- .sc(PutLexicon$)
15
- .build() {
3
+ export class PutLexiconCommand extends command(_ep0, _mw0, "PutLexicon", PutLexicon$) {
16
4
  }
@@ -1,25 +1,4 @@
1
- import { getEventStreamPlugin } from "@aws-sdk/middleware-eventstream";
2
- import { Command as $Command } from "@smithy/core/client";
3
- import { getEndpointPlugin } from "@smithy/core/endpoints";
4
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw1, command } from "../commandBuilder";
5
2
  import { StartSpeechSynthesisStream$ } from "../schemas/schemas_0";
6
- export { $Command };
7
- export class StartSpeechSynthesisStreamCommand extends $Command
8
- .classBuilder()
9
- .ep(commonParams)
10
- .m(function (Command, cs, config, o) {
11
- return [
12
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
13
- getEventStreamPlugin(config),
14
- ];
15
- })
16
- .s("Parrot_v1", "StartSpeechSynthesisStream", {
17
- eventStream: {
18
- input: true,
19
- output: true,
20
- },
21
- })
22
- .n("PollyClient", "StartSpeechSynthesisStreamCommand")
23
- .sc(StartSpeechSynthesisStream$)
24
- .build() {
3
+ export class StartSpeechSynthesisStreamCommand extends command(_ep0, _mw1, "StartSpeechSynthesisStream", StartSpeechSynthesisStream$) {
25
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { StartSpeechSynthesisTask$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class StartSpeechSynthesisTaskCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Parrot_v1", "StartSpeechSynthesisTask", {})
13
- .n("PollyClient", "StartSpeechSynthesisTaskCommand")
14
- .sc(StartSpeechSynthesisTask$)
15
- .build() {
3
+ export class StartSpeechSynthesisTaskCommand extends command(_ep0, _mw0, "StartSpeechSynthesisTask", StartSpeechSynthesisTask$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { SynthesizeSpeech$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class SynthesizeSpeechCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Parrot_v1", "SynthesizeSpeech", {})
13
- .n("PollyClient", "SynthesizeSpeechCommand")
14
- .sc(SynthesizeSpeech$)
15
- .build() {
3
+ export class SynthesizeSpeechCommand extends command(_ep0, _mw0, "SynthesizeSpeech", SynthesizeSpeech$) {
16
4
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./PollyClient";
2
2
  export * from "./Polly";
3
3
  export * from "./commands";
4
+ export { Command as $Command } from "@smithy/core/client";
4
5
  export * from "./schemas/schemas_0";
5
6
  export * from "./pagination";
6
7
  export * from "./models/enums";
@@ -0,0 +1,22 @@
1
+ import type { EndpointParameterInstructions } from "@smithy/types";
2
+ import type { PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./PollyClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
7
+ new (input: I): import("@smithy/core/client").CommandImpl<I, O, PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
8
+ new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
9
+ getEndpointParameterInstructions(): EndpointParameterInstructions;
10
+ };
11
+ /**
12
+ * @internal
13
+ */
14
+ export declare const _ep0: EndpointParameterInstructions;
15
+ /**
16
+ * @internal
17
+ */
18
+ export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
19
+ /**
20
+ * @internal
21
+ */
22
+ export declare const _mw1: (Command: any, cs: any, config: any, o: any) => import("@smithy/types").Pluggable<any, any>[];
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { DeleteLexiconInput, DeleteLexiconOutput } from "../models/models_0";
4
- import type { PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PollyClient";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface DeleteLexiconCommandInput extends DeleteLexiconInput {
22
19
  export interface DeleteLexiconCommandOutput extends DeleteLexiconOutput, __MetadataBearer {
23
20
  }
24
21
  declare const DeleteLexiconCommand_base: {
25
- new (input: DeleteLexiconCommandInput): import("@smithy/core/client").CommandImpl<DeleteLexiconCommandInput, DeleteLexiconCommandOutput, PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DeleteLexiconCommandInput): import("@smithy/core/client").CommandImpl<DeleteLexiconCommandInput, DeleteLexiconCommandOutput, PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: DeleteLexiconCommandInput): import("@smithy/core/client").CommandImpl<DeleteLexiconCommandInput, DeleteLexiconCommandOutput, import("..").PollyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DeleteLexiconCommandInput): import("@smithy/core/client").CommandImpl<DeleteLexiconCommandInput, DeleteLexiconCommandOutput, import("..").PollyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Deletes the specified pronunciation lexicon stored in an Amazon Web Services Region. A lexicon which has been deleted is not available for
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { DescribeVoicesInput, DescribeVoicesOutput } from "../models/models_0";
4
- import type { PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PollyClient";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface DescribeVoicesCommandInput extends DescribeVoicesInput {
22
19
  export interface DescribeVoicesCommandOutput extends DescribeVoicesOutput, __MetadataBearer {
23
20
  }
24
21
  declare const DescribeVoicesCommand_base: {
25
- new (input: DescribeVoicesCommandInput): import("@smithy/core/client").CommandImpl<DescribeVoicesCommandInput, DescribeVoicesCommandOutput, PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (...[input]: [] | [DescribeVoicesCommandInput]): import("@smithy/core/client").CommandImpl<DescribeVoicesCommandInput, DescribeVoicesCommandOutput, PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: DescribeVoicesCommandInput): import("@smithy/core/client").CommandImpl<DescribeVoicesCommandInput, DescribeVoicesCommandOutput, import("..").PollyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (...[input]: [] | [DescribeVoicesCommandInput]): import("@smithy/core/client").CommandImpl<DescribeVoicesCommandInput, DescribeVoicesCommandOutput, import("..").PollyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Returns the list of voices that are available for use when
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { GetLexiconInput, GetLexiconOutput } from "../models/models_0";
4
- import type { PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PollyClient";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface GetLexiconCommandInput extends GetLexiconInput {
22
19
  export interface GetLexiconCommandOutput extends GetLexiconOutput, __MetadataBearer {
23
20
  }
24
21
  declare const GetLexiconCommand_base: {
25
- new (input: GetLexiconCommandInput): import("@smithy/core/client").CommandImpl<GetLexiconCommandInput, GetLexiconCommandOutput, PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: GetLexiconCommandInput): import("@smithy/core/client").CommandImpl<GetLexiconCommandInput, GetLexiconCommandOutput, PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: GetLexiconCommandInput): import("@smithy/core/client").CommandImpl<GetLexiconCommandInput, GetLexiconCommandOutput, import("..").PollyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: GetLexiconCommandInput): import("@smithy/core/client").CommandImpl<GetLexiconCommandInput, GetLexiconCommandOutput, import("..").PollyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Returns the content of the specified pronunciation lexicon stored
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { GetSpeechSynthesisTaskInput, GetSpeechSynthesisTaskOutput } from "../models/models_0";
4
- import type { PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PollyClient";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface GetSpeechSynthesisTaskCommandInput extends GetSpeechSynthesisTa
22
19
  export interface GetSpeechSynthesisTaskCommandOutput extends GetSpeechSynthesisTaskOutput, __MetadataBearer {
23
20
  }
24
21
  declare const GetSpeechSynthesisTaskCommand_base: {
25
- new (input: GetSpeechSynthesisTaskCommandInput): import("@smithy/core/client").CommandImpl<GetSpeechSynthesisTaskCommandInput, GetSpeechSynthesisTaskCommandOutput, PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: GetSpeechSynthesisTaskCommandInput): import("@smithy/core/client").CommandImpl<GetSpeechSynthesisTaskCommandInput, GetSpeechSynthesisTaskCommandOutput, PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: GetSpeechSynthesisTaskCommandInput): import("@smithy/core/client").CommandImpl<GetSpeechSynthesisTaskCommandInput, GetSpeechSynthesisTaskCommandOutput, import("..").PollyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: GetSpeechSynthesisTaskCommandInput): import("@smithy/core/client").CommandImpl<GetSpeechSynthesisTaskCommandInput, GetSpeechSynthesisTaskCommandOutput, import("..").PollyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Retrieves a specific SpeechSynthesisTask object based on its TaskID.
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { ListLexiconsInput, ListLexiconsOutput } from "../models/models_0";
4
- import type { PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PollyClient";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface ListLexiconsCommandInput extends ListLexiconsInput {
22
19
  export interface ListLexiconsCommandOutput extends ListLexiconsOutput, __MetadataBearer {
23
20
  }
24
21
  declare const ListLexiconsCommand_base: {
25
- new (input: ListLexiconsCommandInput): import("@smithy/core/client").CommandImpl<ListLexiconsCommandInput, ListLexiconsCommandOutput, PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (...[input]: [] | [ListLexiconsCommandInput]): import("@smithy/core/client").CommandImpl<ListLexiconsCommandInput, ListLexiconsCommandOutput, PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: ListLexiconsCommandInput): import("@smithy/core/client").CommandImpl<ListLexiconsCommandInput, ListLexiconsCommandOutput, import("..").PollyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (...[input]: [] | [ListLexiconsCommandInput]): import("@smithy/core/client").CommandImpl<ListLexiconsCommandInput, ListLexiconsCommandOutput, import("..").PollyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Returns a list of pronunciation lexicons stored in an Amazon Web Services Region. For more information, see <a href="https://docs.aws.amazon.com/polly/latest/dg/managing-lexicons.html">Managing Lexicons</a>.</p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { ListSpeechSynthesisTasksInput, ListSpeechSynthesisTasksOutput } from "../models/models_0";
4
- import type { PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PollyClient";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface ListSpeechSynthesisTasksCommandInput extends ListSpeechSynthesi
22
19
  export interface ListSpeechSynthesisTasksCommandOutput extends ListSpeechSynthesisTasksOutput, __MetadataBearer {
23
20
  }
24
21
  declare const ListSpeechSynthesisTasksCommand_base: {
25
- new (input: ListSpeechSynthesisTasksCommandInput): import("@smithy/core/client").CommandImpl<ListSpeechSynthesisTasksCommandInput, ListSpeechSynthesisTasksCommandOutput, PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (...[input]: [] | [ListSpeechSynthesisTasksCommandInput]): import("@smithy/core/client").CommandImpl<ListSpeechSynthesisTasksCommandInput, ListSpeechSynthesisTasksCommandOutput, PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: ListSpeechSynthesisTasksCommandInput): import("@smithy/core/client").CommandImpl<ListSpeechSynthesisTasksCommandInput, ListSpeechSynthesisTasksCommandOutput, import("..").PollyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (...[input]: [] | [ListSpeechSynthesisTasksCommandInput]): import("@smithy/core/client").CommandImpl<ListSpeechSynthesisTasksCommandInput, ListSpeechSynthesisTasksCommandOutput, import("..").PollyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Returns a list of SpeechSynthesisTask objects ordered by their
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { PutLexiconInput, PutLexiconOutput } from "../models/models_0";
4
- import type { PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PollyClient";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface PutLexiconCommandInput extends PutLexiconInput {
22
19
  export interface PutLexiconCommandOutput extends PutLexiconOutput, __MetadataBearer {
23
20
  }
24
21
  declare const PutLexiconCommand_base: {
25
- new (input: PutLexiconCommandInput): import("@smithy/core/client").CommandImpl<PutLexiconCommandInput, PutLexiconCommandOutput, PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: PutLexiconCommandInput): import("@smithy/core/client").CommandImpl<PutLexiconCommandInput, PutLexiconCommandOutput, PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: PutLexiconCommandInput): import("@smithy/core/client").CommandImpl<PutLexiconCommandInput, PutLexiconCommandOutput, import("..").PollyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: PutLexiconCommandInput): import("@smithy/core/client").CommandImpl<PutLexiconCommandInput, PutLexiconCommandOutput, import("..").PollyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Stores a pronunciation lexicon in an Amazon Web Services Region. If