@aws-sdk/client-polly 3.1076.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.
- package/dist-cjs/index.js +24 -113
- package/dist-es/commandBuilder.js +10 -0
- package/dist-es/commands/DeleteLexiconCommand.js +2 -14
- package/dist-es/commands/DescribeVoicesCommand.js +2 -14
- package/dist-es/commands/GetLexiconCommand.js +2 -14
- package/dist-es/commands/GetSpeechSynthesisTaskCommand.js +2 -14
- package/dist-es/commands/ListLexiconsCommand.js +2 -14
- package/dist-es/commands/ListSpeechSynthesisTasksCommand.js +2 -14
- package/dist-es/commands/PutLexiconCommand.js +2 -14
- package/dist-es/commands/StartSpeechSynthesisStreamCommand.js +2 -23
- package/dist-es/commands/StartSpeechSynthesisTaskCommand.js +2 -14
- package/dist-es/commands/SynthesizeSpeechCommand.js +2 -14
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.browser.js +0 -2
- package/dist-es/runtimeConfig.js +1 -2
- package/dist-es/runtimeConfig.native.js +0 -2
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-types/commandBuilder.d.ts +22 -0
- package/dist-types/commands/DeleteLexiconCommand.d.ts +3 -8
- package/dist-types/commands/DescribeVoicesCommand.d.ts +3 -8
- package/dist-types/commands/GetLexiconCommand.d.ts +3 -8
- package/dist-types/commands/GetSpeechSynthesisTaskCommand.d.ts +3 -8
- package/dist-types/commands/ListLexiconsCommand.d.ts +3 -8
- package/dist-types/commands/ListSpeechSynthesisTasksCommand.d.ts +3 -8
- package/dist-types/commands/PutLexiconCommand.d.ts +3 -8
- package/dist-types/commands/StartSpeechSynthesisStreamCommand.d.ts +3 -8
- package/dist-types/commands/StartSpeechSynthesisTaskCommand.d.ts +3 -8
- package/dist-types/commands/SynthesizeSpeechCommand.d.ts +3 -8
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +52 -0
- package/dist-types/ts3.4/commands/DeleteLexiconCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeVoicesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetLexiconCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetSpeechSynthesisTaskCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListLexiconsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListSpeechSynthesisTasksCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/PutLexiconCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/StartSpeechSynthesisStreamCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/StartSpeechSynthesisTaskCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/SynthesizeSpeechCommand.d.ts +7 -16
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- package/package.json +11 -13
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,
|
|
5
|
-
|
|
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");
|
|
@@ -13,9 +14,10 @@ const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
|
13
14
|
const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
|
|
14
15
|
const { defaultProvider } = require("@aws-sdk/credential-provider-node");
|
|
15
16
|
const { eventStreamPayloadHandlerProvider } = require("@aws-sdk/eventstream-handler-node");
|
|
16
|
-
const { toUtf8, fromUtf8, sdkStreamMixin, toBase64, fromBase64,
|
|
17
|
+
const { toUtf8, fromUtf8, sdkStreamMixin, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
|
|
17
18
|
const { streamCollector, NodeHttp2Handler } = require("@smithy/node-http-handler");
|
|
18
19
|
const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
|
|
20
|
+
const { Sha256 } = require("@smithy/core/checksum");
|
|
19
21
|
|
|
20
22
|
const defaultPollyHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
21
23
|
return {
|
|
@@ -70,7 +72,7 @@ const commonParams = {
|
|
|
70
72
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
71
73
|
};
|
|
72
74
|
|
|
73
|
-
var version = "3.
|
|
75
|
+
var version = "3.1077.0";
|
|
74
76
|
var packageInfo = {
|
|
75
77
|
version: version};
|
|
76
78
|
|
|
@@ -980,6 +982,7 @@ const getRuntimeConfig$1 = (config) => {
|
|
|
980
982
|
},
|
|
981
983
|
sdkStreamMixin: config?.sdkStreamMixin ?? sdkStreamMixin,
|
|
982
984
|
serviceId: config?.serviceId ?? "Polly",
|
|
985
|
+
sha256: config?.sha256 ?? Sha256,
|
|
983
986
|
urlParser: config?.urlParser ?? parseUrl,
|
|
984
987
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
985
988
|
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
@@ -1018,7 +1021,6 @@ const getRuntimeConfig = (config) => {
|
|
|
1018
1021
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
1019
1022
|
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
1020
1023
|
}, config),
|
|
1021
|
-
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
1022
1024
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
1023
1025
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
1024
1026
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
@@ -1108,132 +1110,41 @@ class PollyClient extends Client {
|
|
|
1108
1110
|
}
|
|
1109
1111
|
}
|
|
1110
1112
|
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
.sc(DeleteLexicon$)
|
|
1120
|
-
.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$) {
|
|
1121
1121
|
}
|
|
1122
1122
|
|
|
1123
|
-
class DescribeVoicesCommand extends
|
|
1124
|
-
.classBuilder()
|
|
1125
|
-
.ep(commonParams)
|
|
1126
|
-
.m(function (Command, cs, config, o) {
|
|
1127
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1128
|
-
})
|
|
1129
|
-
.s("Parrot_v1", "DescribeVoices", {})
|
|
1130
|
-
.n("PollyClient", "DescribeVoicesCommand")
|
|
1131
|
-
.sc(DescribeVoices$)
|
|
1132
|
-
.build() {
|
|
1123
|
+
class DescribeVoicesCommand extends command(_ep0, _mw0, "DescribeVoices", DescribeVoices$) {
|
|
1133
1124
|
}
|
|
1134
1125
|
|
|
1135
|
-
class GetLexiconCommand extends
|
|
1136
|
-
.classBuilder()
|
|
1137
|
-
.ep(commonParams)
|
|
1138
|
-
.m(function (Command, cs, config, o) {
|
|
1139
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1140
|
-
})
|
|
1141
|
-
.s("Parrot_v1", "GetLexicon", {})
|
|
1142
|
-
.n("PollyClient", "GetLexiconCommand")
|
|
1143
|
-
.sc(GetLexicon$)
|
|
1144
|
-
.build() {
|
|
1126
|
+
class GetLexiconCommand extends command(_ep0, _mw0, "GetLexicon", GetLexicon$) {
|
|
1145
1127
|
}
|
|
1146
1128
|
|
|
1147
|
-
class GetSpeechSynthesisTaskCommand extends
|
|
1148
|
-
.classBuilder()
|
|
1149
|
-
.ep(commonParams)
|
|
1150
|
-
.m(function (Command, cs, config, o) {
|
|
1151
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1152
|
-
})
|
|
1153
|
-
.s("Parrot_v1", "GetSpeechSynthesisTask", {})
|
|
1154
|
-
.n("PollyClient", "GetSpeechSynthesisTaskCommand")
|
|
1155
|
-
.sc(GetSpeechSynthesisTask$)
|
|
1156
|
-
.build() {
|
|
1129
|
+
class GetSpeechSynthesisTaskCommand extends command(_ep0, _mw0, "GetSpeechSynthesisTask", GetSpeechSynthesisTask$) {
|
|
1157
1130
|
}
|
|
1158
1131
|
|
|
1159
|
-
class ListLexiconsCommand extends
|
|
1160
|
-
.classBuilder()
|
|
1161
|
-
.ep(commonParams)
|
|
1162
|
-
.m(function (Command, cs, config, o) {
|
|
1163
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1164
|
-
})
|
|
1165
|
-
.s("Parrot_v1", "ListLexicons", {})
|
|
1166
|
-
.n("PollyClient", "ListLexiconsCommand")
|
|
1167
|
-
.sc(ListLexicons$)
|
|
1168
|
-
.build() {
|
|
1132
|
+
class ListLexiconsCommand extends command(_ep0, _mw0, "ListLexicons", ListLexicons$) {
|
|
1169
1133
|
}
|
|
1170
1134
|
|
|
1171
|
-
class ListSpeechSynthesisTasksCommand extends
|
|
1172
|
-
.classBuilder()
|
|
1173
|
-
.ep(commonParams)
|
|
1174
|
-
.m(function (Command, cs, config, o) {
|
|
1175
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1176
|
-
})
|
|
1177
|
-
.s("Parrot_v1", "ListSpeechSynthesisTasks", {})
|
|
1178
|
-
.n("PollyClient", "ListSpeechSynthesisTasksCommand")
|
|
1179
|
-
.sc(ListSpeechSynthesisTasks$)
|
|
1180
|
-
.build() {
|
|
1135
|
+
class ListSpeechSynthesisTasksCommand extends command(_ep0, _mw0, "ListSpeechSynthesisTasks", ListSpeechSynthesisTasks$) {
|
|
1181
1136
|
}
|
|
1182
1137
|
|
|
1183
|
-
class PutLexiconCommand extends
|
|
1184
|
-
.classBuilder()
|
|
1185
|
-
.ep(commonParams)
|
|
1186
|
-
.m(function (Command, cs, config, o) {
|
|
1187
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1188
|
-
})
|
|
1189
|
-
.s("Parrot_v1", "PutLexicon", {})
|
|
1190
|
-
.n("PollyClient", "PutLexiconCommand")
|
|
1191
|
-
.sc(PutLexicon$)
|
|
1192
|
-
.build() {
|
|
1138
|
+
class PutLexiconCommand extends command(_ep0, _mw0, "PutLexicon", PutLexicon$) {
|
|
1193
1139
|
}
|
|
1194
1140
|
|
|
1195
|
-
class StartSpeechSynthesisStreamCommand extends
|
|
1196
|
-
.classBuilder()
|
|
1197
|
-
.ep(commonParams)
|
|
1198
|
-
.m(function (Command, cs, config, o) {
|
|
1199
|
-
return [
|
|
1200
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1201
|
-
getEventStreamPlugin(config),
|
|
1202
|
-
];
|
|
1203
|
-
})
|
|
1204
|
-
.s("Parrot_v1", "StartSpeechSynthesisStream", {
|
|
1205
|
-
eventStream: {
|
|
1206
|
-
input: true,
|
|
1207
|
-
output: true,
|
|
1208
|
-
},
|
|
1209
|
-
})
|
|
1210
|
-
.n("PollyClient", "StartSpeechSynthesisStreamCommand")
|
|
1211
|
-
.sc(StartSpeechSynthesisStream$)
|
|
1212
|
-
.build() {
|
|
1141
|
+
class StartSpeechSynthesisStreamCommand extends command(_ep0, _mw1, "StartSpeechSynthesisStream", StartSpeechSynthesisStream$) {
|
|
1213
1142
|
}
|
|
1214
1143
|
|
|
1215
|
-
class StartSpeechSynthesisTaskCommand extends
|
|
1216
|
-
.classBuilder()
|
|
1217
|
-
.ep(commonParams)
|
|
1218
|
-
.m(function (Command, cs, config, o) {
|
|
1219
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1220
|
-
})
|
|
1221
|
-
.s("Parrot_v1", "StartSpeechSynthesisTask", {})
|
|
1222
|
-
.n("PollyClient", "StartSpeechSynthesisTaskCommand")
|
|
1223
|
-
.sc(StartSpeechSynthesisTask$)
|
|
1224
|
-
.build() {
|
|
1144
|
+
class StartSpeechSynthesisTaskCommand extends command(_ep0, _mw0, "StartSpeechSynthesisTask", StartSpeechSynthesisTask$) {
|
|
1225
1145
|
}
|
|
1226
1146
|
|
|
1227
|
-
class SynthesizeSpeechCommand extends
|
|
1228
|
-
.classBuilder()
|
|
1229
|
-
.ep(commonParams)
|
|
1230
|
-
.m(function (Command, cs, config, o) {
|
|
1231
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1232
|
-
})
|
|
1233
|
-
.s("Parrot_v1", "SynthesizeSpeech", {})
|
|
1234
|
-
.n("PollyClient", "SynthesizeSpeechCommand")
|
|
1235
|
-
.sc(SynthesizeSpeech$)
|
|
1236
|
-
.build() {
|
|
1147
|
+
class SynthesizeSpeechCommand extends command(_ep0, _mw0, "SynthesizeSpeech", SynthesizeSpeech$) {
|
|
1237
1148
|
}
|
|
1238
1149
|
|
|
1239
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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,5 +1,4 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
|
-
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
3
2
|
import { createDefaultUserAgentProvider } from "@aws-sdk/core/client";
|
|
4
3
|
import { invalidFunction, invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
5
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
@@ -28,7 +27,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
28
27
|
region: config?.region ?? invalidProvider("Region is missing"),
|
|
29
28
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
30
29
|
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
|
|
31
|
-
sha256: config?.sha256 ?? Sha256,
|
|
32
30
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
33
31
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
34
32
|
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -7,7 +7,7 @@ import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smi
|
|
|
7
7
|
import { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
8
8
|
import { eventStreamSerdeProvider } from "@smithy/core/event-streams";
|
|
9
9
|
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
|
|
10
|
-
import { calculateBodyLength
|
|
10
|
+
import { calculateBodyLength } from "@smithy/core/serde";
|
|
11
11
|
import { NodeHttp2Handler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
|
|
12
12
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
13
13
|
export const getRuntimeConfig = (config) => {
|
|
@@ -42,7 +42,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
42
42
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
43
43
|
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
44
44
|
}, config),
|
|
45
|
-
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
46
45
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
47
46
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
48
47
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Sha256 } from "@aws-crypto/sha256-js";
|
|
2
1
|
import { invalidFunction } from "@smithy/core/client";
|
|
3
2
|
import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
|
|
4
3
|
export const getRuntimeConfig = (config) => {
|
|
@@ -10,6 +9,5 @@ export const getRuntimeConfig = (config) => {
|
|
|
10
9
|
eventStreamPayloadHandlerProvider: config?.eventStreamPayloadHandlerProvider ?? (() => ({
|
|
11
10
|
handle: invalidFunction("event stream request is not supported in ReactNative."),
|
|
12
11
|
})),
|
|
13
|
-
sha256: config?.sha256 ?? Sha256,
|
|
14
12
|
};
|
|
15
13
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
2
|
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
3
|
+
import { Sha256 } from "@smithy/core/checksum";
|
|
3
4
|
import { NoOpLogger } from "@smithy/core/client";
|
|
4
5
|
import { parseUrl } from "@smithy/core/protocols";
|
|
5
6
|
import { fromBase64, fromUtf8, sdkStreamMixin, toBase64, toUtf8 } from "@smithy/core/serde";
|
|
@@ -33,6 +34,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
33
34
|
},
|
|
34
35
|
sdkStreamMixin: config?.sdkStreamMixin ?? sdkStreamMixin,
|
|
35
36
|
serviceId: config?.serviceId ?? "Polly",
|
|
37
|
+
sha256: config?.sha256 ?? Sha256,
|
|
36
38
|
urlParser: config?.urlParser ?? parseUrl,
|
|
37
39
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
38
40
|
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
@@ -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.
|