@aws-sdk/client-translate 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 +30 -195
- package/dist-es/commandBuilder.js +6 -0
- package/dist-es/commands/CreateParallelDataCommand.js +2 -14
- package/dist-es/commands/DeleteParallelDataCommand.js +2 -14
- package/dist-es/commands/DeleteTerminologyCommand.js +2 -14
- package/dist-es/commands/DescribeTextTranslationJobCommand.js +2 -14
- package/dist-es/commands/GetParallelDataCommand.js +2 -14
- package/dist-es/commands/GetTerminologyCommand.js +2 -14
- package/dist-es/commands/ImportTerminologyCommand.js +2 -14
- package/dist-es/commands/ListLanguagesCommand.js +2 -14
- package/dist-es/commands/ListParallelDataCommand.js +2 -14
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
- package/dist-es/commands/ListTerminologiesCommand.js +2 -14
- package/dist-es/commands/ListTextTranslationJobsCommand.js +2 -14
- package/dist-es/commands/StartTextTranslationJobCommand.js +2 -14
- package/dist-es/commands/StopTextTranslationJobCommand.js +2 -14
- package/dist-es/commands/TagResourceCommand.js +2 -14
- package/dist-es/commands/TranslateDocumentCommand.js +2 -14
- package/dist-es/commands/TranslateTextCommand.js +2 -14
- package/dist-es/commands/UntagResourceCommand.js +2 -14
- package/dist-es/commands/UpdateParallelDataCommand.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 +18 -0
- package/dist-types/commands/CreateParallelDataCommand.d.ts +3 -8
- package/dist-types/commands/DeleteParallelDataCommand.d.ts +3 -8
- package/dist-types/commands/DeleteTerminologyCommand.d.ts +3 -8
- package/dist-types/commands/DescribeTextTranslationJobCommand.d.ts +3 -8
- package/dist-types/commands/GetParallelDataCommand.d.ts +3 -8
- package/dist-types/commands/GetTerminologyCommand.d.ts +3 -8
- package/dist-types/commands/ImportTerminologyCommand.d.ts +3 -8
- package/dist-types/commands/ListLanguagesCommand.d.ts +3 -8
- package/dist-types/commands/ListParallelDataCommand.d.ts +3 -8
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
- package/dist-types/commands/ListTerminologiesCommand.d.ts +3 -8
- package/dist-types/commands/ListTextTranslationJobsCommand.d.ts +3 -8
- package/dist-types/commands/StartTextTranslationJobCommand.d.ts +3 -8
- package/dist-types/commands/StopTextTranslationJobCommand.d.ts +3 -8
- package/dist-types/commands/TagResourceCommand.d.ts +3 -8
- package/dist-types/commands/TranslateDocumentCommand.d.ts +3 -8
- package/dist-types/commands/TranslateTextCommand.d.ts +3 -8
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
- package/dist-types/commands/UpdateParallelDataCommand.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 +46 -0
- package/dist-types/ts3.4/commands/CreateParallelDataCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteParallelDataCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteTerminologyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeTextTranslationJobCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetParallelDataCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetTerminologyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ImportTerminologyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListLanguagesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListParallelDataCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListTerminologiesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListTextTranslationJobsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/StartTextTranslationJobCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/StopTextTranslationJobCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/TranslateDocumentCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/TranslateTextCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateParallelDataCommand.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 +8 -10
package/dist-cjs/index.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
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 { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
|
|
3
|
-
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client,
|
|
4
|
-
|
|
3
|
+
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
|
|
4
|
+
const { Command: $Command } = require("@smithy/core/client");
|
|
5
|
+
exports.$Command = $Command;
|
|
5
6
|
exports.__Client = Client;
|
|
6
7
|
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");
|
|
7
8
|
const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
@@ -10,9 +11,10 @@ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CON
|
|
|
10
11
|
const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
11
12
|
const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
|
|
12
13
|
const { defaultProvider } = require("@aws-sdk/credential-provider-node");
|
|
13
|
-
const { toUtf8, fromUtf8, toBase64, fromBase64,
|
|
14
|
+
const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
|
|
14
15
|
const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
|
|
15
16
|
const { AwsJson1_1Protocol } = require("@aws-sdk/core/protocols");
|
|
17
|
+
const { Sha256 } = require("@smithy/core/checksum");
|
|
16
18
|
|
|
17
19
|
const defaultTranslateHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
18
20
|
return {
|
|
@@ -67,7 +69,7 @@ const commonParams = {
|
|
|
67
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
68
70
|
};
|
|
69
71
|
|
|
70
|
-
var version = "3.
|
|
72
|
+
var version = "3.1077.0";
|
|
71
73
|
var packageInfo = {
|
|
72
74
|
version: version};
|
|
73
75
|
|
|
@@ -1020,6 +1022,7 @@ const getRuntimeConfig$1 = (config) => {
|
|
|
1020
1022
|
serviceTarget: "AWSShineFrontendService_20170701",
|
|
1021
1023
|
},
|
|
1022
1024
|
serviceId: config?.serviceId ?? "Translate",
|
|
1025
|
+
sha256: config?.sha256 ?? Sha256,
|
|
1023
1026
|
urlParser: config?.urlParser ?? parseUrl,
|
|
1024
1027
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
1025
1028
|
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
@@ -1053,7 +1056,6 @@ const getRuntimeConfig = (config) => {
|
|
|
1053
1056
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
1054
1057
|
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
1055
1058
|
}, config),
|
|
1056
|
-
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
1057
1059
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
1058
1060
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
1059
1061
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
@@ -1141,232 +1143,65 @@ class TranslateClient extends Client {
|
|
|
1141
1143
|
}
|
|
1142
1144
|
}
|
|
1143
1145
|
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
})
|
|
1150
|
-
.s("AWSShineFrontendService_20170701", "CreateParallelData", {})
|
|
1151
|
-
.n("TranslateClient", "CreateParallelDataCommand")
|
|
1152
|
-
.sc(CreateParallelData$)
|
|
1153
|
-
.build() {
|
|
1146
|
+
const command = makeBuilder(commonParams, "AWSShineFrontendService_20170701", "TranslateClient", getEndpointPlugin);
|
|
1147
|
+
const _ep0 = {};
|
|
1148
|
+
const _mw0 = (Command, cs, config, o) => [];
|
|
1149
|
+
|
|
1150
|
+
class CreateParallelDataCommand extends command(_ep0, _mw0, "CreateParallelData", CreateParallelData$) {
|
|
1154
1151
|
}
|
|
1155
1152
|
|
|
1156
|
-
class DeleteParallelDataCommand extends
|
|
1157
|
-
.classBuilder()
|
|
1158
|
-
.ep(commonParams)
|
|
1159
|
-
.m(function (Command, cs, config, o) {
|
|
1160
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1161
|
-
})
|
|
1162
|
-
.s("AWSShineFrontendService_20170701", "DeleteParallelData", {})
|
|
1163
|
-
.n("TranslateClient", "DeleteParallelDataCommand")
|
|
1164
|
-
.sc(DeleteParallelData$)
|
|
1165
|
-
.build() {
|
|
1153
|
+
class DeleteParallelDataCommand extends command(_ep0, _mw0, "DeleteParallelData", DeleteParallelData$) {
|
|
1166
1154
|
}
|
|
1167
1155
|
|
|
1168
|
-
class DeleteTerminologyCommand extends
|
|
1169
|
-
.classBuilder()
|
|
1170
|
-
.ep(commonParams)
|
|
1171
|
-
.m(function (Command, cs, config, o) {
|
|
1172
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1173
|
-
})
|
|
1174
|
-
.s("AWSShineFrontendService_20170701", "DeleteTerminology", {})
|
|
1175
|
-
.n("TranslateClient", "DeleteTerminologyCommand")
|
|
1176
|
-
.sc(DeleteTerminology$)
|
|
1177
|
-
.build() {
|
|
1156
|
+
class DeleteTerminologyCommand extends command(_ep0, _mw0, "DeleteTerminology", DeleteTerminology$) {
|
|
1178
1157
|
}
|
|
1179
1158
|
|
|
1180
|
-
class DescribeTextTranslationJobCommand extends
|
|
1181
|
-
.classBuilder()
|
|
1182
|
-
.ep(commonParams)
|
|
1183
|
-
.m(function (Command, cs, config, o) {
|
|
1184
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1185
|
-
})
|
|
1186
|
-
.s("AWSShineFrontendService_20170701", "DescribeTextTranslationJob", {})
|
|
1187
|
-
.n("TranslateClient", "DescribeTextTranslationJobCommand")
|
|
1188
|
-
.sc(DescribeTextTranslationJob$)
|
|
1189
|
-
.build() {
|
|
1159
|
+
class DescribeTextTranslationJobCommand extends command(_ep0, _mw0, "DescribeTextTranslationJob", DescribeTextTranslationJob$) {
|
|
1190
1160
|
}
|
|
1191
1161
|
|
|
1192
|
-
class GetParallelDataCommand extends
|
|
1193
|
-
.classBuilder()
|
|
1194
|
-
.ep(commonParams)
|
|
1195
|
-
.m(function (Command, cs, config, o) {
|
|
1196
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1197
|
-
})
|
|
1198
|
-
.s("AWSShineFrontendService_20170701", "GetParallelData", {})
|
|
1199
|
-
.n("TranslateClient", "GetParallelDataCommand")
|
|
1200
|
-
.sc(GetParallelData$)
|
|
1201
|
-
.build() {
|
|
1162
|
+
class GetParallelDataCommand extends command(_ep0, _mw0, "GetParallelData", GetParallelData$) {
|
|
1202
1163
|
}
|
|
1203
1164
|
|
|
1204
|
-
class GetTerminologyCommand extends
|
|
1205
|
-
.classBuilder()
|
|
1206
|
-
.ep(commonParams)
|
|
1207
|
-
.m(function (Command, cs, config, o) {
|
|
1208
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1209
|
-
})
|
|
1210
|
-
.s("AWSShineFrontendService_20170701", "GetTerminology", {})
|
|
1211
|
-
.n("TranslateClient", "GetTerminologyCommand")
|
|
1212
|
-
.sc(GetTerminology$)
|
|
1213
|
-
.build() {
|
|
1165
|
+
class GetTerminologyCommand extends command(_ep0, _mw0, "GetTerminology", GetTerminology$) {
|
|
1214
1166
|
}
|
|
1215
1167
|
|
|
1216
|
-
class ImportTerminologyCommand extends
|
|
1217
|
-
.classBuilder()
|
|
1218
|
-
.ep(commonParams)
|
|
1219
|
-
.m(function (Command, cs, config, o) {
|
|
1220
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1221
|
-
})
|
|
1222
|
-
.s("AWSShineFrontendService_20170701", "ImportTerminology", {})
|
|
1223
|
-
.n("TranslateClient", "ImportTerminologyCommand")
|
|
1224
|
-
.sc(ImportTerminology$)
|
|
1225
|
-
.build() {
|
|
1168
|
+
class ImportTerminologyCommand extends command(_ep0, _mw0, "ImportTerminology", ImportTerminology$) {
|
|
1226
1169
|
}
|
|
1227
1170
|
|
|
1228
|
-
class ListLanguagesCommand extends
|
|
1229
|
-
.classBuilder()
|
|
1230
|
-
.ep(commonParams)
|
|
1231
|
-
.m(function (Command, cs, config, o) {
|
|
1232
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1233
|
-
})
|
|
1234
|
-
.s("AWSShineFrontendService_20170701", "ListLanguages", {})
|
|
1235
|
-
.n("TranslateClient", "ListLanguagesCommand")
|
|
1236
|
-
.sc(ListLanguages$)
|
|
1237
|
-
.build() {
|
|
1171
|
+
class ListLanguagesCommand extends command(_ep0, _mw0, "ListLanguages", ListLanguages$) {
|
|
1238
1172
|
}
|
|
1239
1173
|
|
|
1240
|
-
class ListParallelDataCommand extends
|
|
1241
|
-
.classBuilder()
|
|
1242
|
-
.ep(commonParams)
|
|
1243
|
-
.m(function (Command, cs, config, o) {
|
|
1244
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1245
|
-
})
|
|
1246
|
-
.s("AWSShineFrontendService_20170701", "ListParallelData", {})
|
|
1247
|
-
.n("TranslateClient", "ListParallelDataCommand")
|
|
1248
|
-
.sc(ListParallelData$)
|
|
1249
|
-
.build() {
|
|
1174
|
+
class ListParallelDataCommand extends command(_ep0, _mw0, "ListParallelData", ListParallelData$) {
|
|
1250
1175
|
}
|
|
1251
1176
|
|
|
1252
|
-
class ListTagsForResourceCommand extends
|
|
1253
|
-
.classBuilder()
|
|
1254
|
-
.ep(commonParams)
|
|
1255
|
-
.m(function (Command, cs, config, o) {
|
|
1256
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1257
|
-
})
|
|
1258
|
-
.s("AWSShineFrontendService_20170701", "ListTagsForResource", {})
|
|
1259
|
-
.n("TranslateClient", "ListTagsForResourceCommand")
|
|
1260
|
-
.sc(ListTagsForResource$)
|
|
1261
|
-
.build() {
|
|
1177
|
+
class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
|
|
1262
1178
|
}
|
|
1263
1179
|
|
|
1264
|
-
class ListTerminologiesCommand extends
|
|
1265
|
-
.classBuilder()
|
|
1266
|
-
.ep(commonParams)
|
|
1267
|
-
.m(function (Command, cs, config, o) {
|
|
1268
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1269
|
-
})
|
|
1270
|
-
.s("AWSShineFrontendService_20170701", "ListTerminologies", {})
|
|
1271
|
-
.n("TranslateClient", "ListTerminologiesCommand")
|
|
1272
|
-
.sc(ListTerminologies$)
|
|
1273
|
-
.build() {
|
|
1180
|
+
class ListTerminologiesCommand extends command(_ep0, _mw0, "ListTerminologies", ListTerminologies$) {
|
|
1274
1181
|
}
|
|
1275
1182
|
|
|
1276
|
-
class ListTextTranslationJobsCommand extends
|
|
1277
|
-
.classBuilder()
|
|
1278
|
-
.ep(commonParams)
|
|
1279
|
-
.m(function (Command, cs, config, o) {
|
|
1280
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1281
|
-
})
|
|
1282
|
-
.s("AWSShineFrontendService_20170701", "ListTextTranslationJobs", {})
|
|
1283
|
-
.n("TranslateClient", "ListTextTranslationJobsCommand")
|
|
1284
|
-
.sc(ListTextTranslationJobs$)
|
|
1285
|
-
.build() {
|
|
1183
|
+
class ListTextTranslationJobsCommand extends command(_ep0, _mw0, "ListTextTranslationJobs", ListTextTranslationJobs$) {
|
|
1286
1184
|
}
|
|
1287
1185
|
|
|
1288
|
-
class StartTextTranslationJobCommand extends
|
|
1289
|
-
.classBuilder()
|
|
1290
|
-
.ep(commonParams)
|
|
1291
|
-
.m(function (Command, cs, config, o) {
|
|
1292
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1293
|
-
})
|
|
1294
|
-
.s("AWSShineFrontendService_20170701", "StartTextTranslationJob", {})
|
|
1295
|
-
.n("TranslateClient", "StartTextTranslationJobCommand")
|
|
1296
|
-
.sc(StartTextTranslationJob$)
|
|
1297
|
-
.build() {
|
|
1186
|
+
class StartTextTranslationJobCommand extends command(_ep0, _mw0, "StartTextTranslationJob", StartTextTranslationJob$) {
|
|
1298
1187
|
}
|
|
1299
1188
|
|
|
1300
|
-
class StopTextTranslationJobCommand extends
|
|
1301
|
-
.classBuilder()
|
|
1302
|
-
.ep(commonParams)
|
|
1303
|
-
.m(function (Command, cs, config, o) {
|
|
1304
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1305
|
-
})
|
|
1306
|
-
.s("AWSShineFrontendService_20170701", "StopTextTranslationJob", {})
|
|
1307
|
-
.n("TranslateClient", "StopTextTranslationJobCommand")
|
|
1308
|
-
.sc(StopTextTranslationJob$)
|
|
1309
|
-
.build() {
|
|
1189
|
+
class StopTextTranslationJobCommand extends command(_ep0, _mw0, "StopTextTranslationJob", StopTextTranslationJob$) {
|
|
1310
1190
|
}
|
|
1311
1191
|
|
|
1312
|
-
class TagResourceCommand extends
|
|
1313
|
-
.classBuilder()
|
|
1314
|
-
.ep(commonParams)
|
|
1315
|
-
.m(function (Command, cs, config, o) {
|
|
1316
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1317
|
-
})
|
|
1318
|
-
.s("AWSShineFrontendService_20170701", "TagResource", {})
|
|
1319
|
-
.n("TranslateClient", "TagResourceCommand")
|
|
1320
|
-
.sc(TagResource$)
|
|
1321
|
-
.build() {
|
|
1192
|
+
class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
|
|
1322
1193
|
}
|
|
1323
1194
|
|
|
1324
|
-
class TranslateDocumentCommand extends
|
|
1325
|
-
.classBuilder()
|
|
1326
|
-
.ep(commonParams)
|
|
1327
|
-
.m(function (Command, cs, config, o) {
|
|
1328
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1329
|
-
})
|
|
1330
|
-
.s("AWSShineFrontendService_20170701", "TranslateDocument", {})
|
|
1331
|
-
.n("TranslateClient", "TranslateDocumentCommand")
|
|
1332
|
-
.sc(TranslateDocument$)
|
|
1333
|
-
.build() {
|
|
1195
|
+
class TranslateDocumentCommand extends command(_ep0, _mw0, "TranslateDocument", TranslateDocument$) {
|
|
1334
1196
|
}
|
|
1335
1197
|
|
|
1336
|
-
class TranslateTextCommand extends
|
|
1337
|
-
.classBuilder()
|
|
1338
|
-
.ep(commonParams)
|
|
1339
|
-
.m(function (Command, cs, config, o) {
|
|
1340
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1341
|
-
})
|
|
1342
|
-
.s("AWSShineFrontendService_20170701", "TranslateText", {})
|
|
1343
|
-
.n("TranslateClient", "TranslateTextCommand")
|
|
1344
|
-
.sc(TranslateText$)
|
|
1345
|
-
.build() {
|
|
1198
|
+
class TranslateTextCommand extends command(_ep0, _mw0, "TranslateText", TranslateText$) {
|
|
1346
1199
|
}
|
|
1347
1200
|
|
|
1348
|
-
class UntagResourceCommand extends
|
|
1349
|
-
.classBuilder()
|
|
1350
|
-
.ep(commonParams)
|
|
1351
|
-
.m(function (Command, cs, config, o) {
|
|
1352
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1353
|
-
})
|
|
1354
|
-
.s("AWSShineFrontendService_20170701", "UntagResource", {})
|
|
1355
|
-
.n("TranslateClient", "UntagResourceCommand")
|
|
1356
|
-
.sc(UntagResource$)
|
|
1357
|
-
.build() {
|
|
1201
|
+
class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
|
|
1358
1202
|
}
|
|
1359
1203
|
|
|
1360
|
-
class UpdateParallelDataCommand extends
|
|
1361
|
-
.classBuilder()
|
|
1362
|
-
.ep(commonParams)
|
|
1363
|
-
.m(function (Command, cs, config, o) {
|
|
1364
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1365
|
-
})
|
|
1366
|
-
.s("AWSShineFrontendService_20170701", "UpdateParallelData", {})
|
|
1367
|
-
.n("TranslateClient", "UpdateParallelDataCommand")
|
|
1368
|
-
.sc(UpdateParallelData$)
|
|
1369
|
-
.build() {
|
|
1204
|
+
class UpdateParallelDataCommand extends command(_ep0, _mw0, "UpdateParallelData", UpdateParallelData$) {
|
|
1370
1205
|
}
|
|
1371
1206
|
|
|
1372
1207
|
const paginateListLanguages = createPaginator(TranslateClient, ListLanguagesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { makeBuilder } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "./endpoint/EndpointParameters";
|
|
4
|
+
export const command = makeBuilder(commonParams, "AWSShineFrontendService_20170701", "TranslateClient", getEndpointPlugin);
|
|
5
|
+
export const _ep0 = {};
|
|
6
|
+
export const _mw0 = (Command, cs, config, o) => [];
|
|
@@ -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 { CreateParallelData$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class CreateParallelDataCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSShineFrontendService_20170701", "CreateParallelData", {})
|
|
13
|
-
.n("TranslateClient", "CreateParallelDataCommand")
|
|
14
|
-
.sc(CreateParallelData$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class CreateParallelDataCommand extends command(_ep0, _mw0, "CreateParallelData", CreateParallelData$) {
|
|
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 { DeleteParallelData$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DeleteParallelDataCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSShineFrontendService_20170701", "DeleteParallelData", {})
|
|
13
|
-
.n("TranslateClient", "DeleteParallelDataCommand")
|
|
14
|
-
.sc(DeleteParallelData$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DeleteParallelDataCommand extends command(_ep0, _mw0, "DeleteParallelData", DeleteParallelData$) {
|
|
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 { DeleteTerminology$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DeleteTerminologyCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSShineFrontendService_20170701", "DeleteTerminology", {})
|
|
13
|
-
.n("TranslateClient", "DeleteTerminologyCommand")
|
|
14
|
-
.sc(DeleteTerminology$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DeleteTerminologyCommand extends command(_ep0, _mw0, "DeleteTerminology", DeleteTerminology$) {
|
|
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 { DescribeTextTranslationJob$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DescribeTextTranslationJobCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSShineFrontendService_20170701", "DescribeTextTranslationJob", {})
|
|
13
|
-
.n("TranslateClient", "DescribeTextTranslationJobCommand")
|
|
14
|
-
.sc(DescribeTextTranslationJob$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DescribeTextTranslationJobCommand extends command(_ep0, _mw0, "DescribeTextTranslationJob", DescribeTextTranslationJob$) {
|
|
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 { GetParallelData$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetParallelDataCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSShineFrontendService_20170701", "GetParallelData", {})
|
|
13
|
-
.n("TranslateClient", "GetParallelDataCommand")
|
|
14
|
-
.sc(GetParallelData$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetParallelDataCommand extends command(_ep0, _mw0, "GetParallelData", GetParallelData$) {
|
|
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 { GetTerminology$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetTerminologyCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSShineFrontendService_20170701", "GetTerminology", {})
|
|
13
|
-
.n("TranslateClient", "GetTerminologyCommand")
|
|
14
|
-
.sc(GetTerminology$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetTerminologyCommand extends command(_ep0, _mw0, "GetTerminology", GetTerminology$) {
|
|
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 { ImportTerminology$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ImportTerminologyCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSShineFrontendService_20170701", "ImportTerminology", {})
|
|
13
|
-
.n("TranslateClient", "ImportTerminologyCommand")
|
|
14
|
-
.sc(ImportTerminology$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ImportTerminologyCommand extends command(_ep0, _mw0, "ImportTerminology", ImportTerminology$) {
|
|
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 { ListLanguages$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListLanguagesCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSShineFrontendService_20170701", "ListLanguages", {})
|
|
13
|
-
.n("TranslateClient", "ListLanguagesCommand")
|
|
14
|
-
.sc(ListLanguages$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListLanguagesCommand extends command(_ep0, _mw0, "ListLanguages", ListLanguages$) {
|
|
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 { ListParallelData$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListParallelDataCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSShineFrontendService_20170701", "ListParallelData", {})
|
|
13
|
-
.n("TranslateClient", "ListParallelDataCommand")
|
|
14
|
-
.sc(ListParallelData$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListParallelDataCommand extends command(_ep0, _mw0, "ListParallelData", ListParallelData$) {
|
|
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 { ListTagsForResource$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListTagsForResourceCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSShineFrontendService_20170701", "ListTagsForResource", {})
|
|
13
|
-
.n("TranslateClient", "ListTagsForResourceCommand")
|
|
14
|
-
.sc(ListTagsForResource$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
|
|
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 { ListTerminologies$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListTerminologiesCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSShineFrontendService_20170701", "ListTerminologies", {})
|
|
13
|
-
.n("TranslateClient", "ListTerminologiesCommand")
|
|
14
|
-
.sc(ListTerminologies$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListTerminologiesCommand extends command(_ep0, _mw0, "ListTerminologies", ListTerminologies$) {
|
|
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 { ListTextTranslationJobs$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListTextTranslationJobsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSShineFrontendService_20170701", "ListTextTranslationJobs", {})
|
|
13
|
-
.n("TranslateClient", "ListTextTranslationJobsCommand")
|
|
14
|
-
.sc(ListTextTranslationJobs$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListTextTranslationJobsCommand extends command(_ep0, _mw0, "ListTextTranslationJobs", ListTextTranslationJobs$) {
|
|
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 { StartTextTranslationJob$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class StartTextTranslationJobCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSShineFrontendService_20170701", "StartTextTranslationJob", {})
|
|
13
|
-
.n("TranslateClient", "StartTextTranslationJobCommand")
|
|
14
|
-
.sc(StartTextTranslationJob$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class StartTextTranslationJobCommand extends command(_ep0, _mw0, "StartTextTranslationJob", StartTextTranslationJob$) {
|
|
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 { StopTextTranslationJob$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class StopTextTranslationJobCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSShineFrontendService_20170701", "StopTextTranslationJob", {})
|
|
13
|
-
.n("TranslateClient", "StopTextTranslationJobCommand")
|
|
14
|
-
.sc(StopTextTranslationJob$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class StopTextTranslationJobCommand extends command(_ep0, _mw0, "StopTextTranslationJob", StopTextTranslationJob$) {
|
|
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 { TagResource$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class TagResourceCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSShineFrontendService_20170701", "TagResource", {})
|
|
13
|
-
.n("TranslateClient", "TagResourceCommand")
|
|
14
|
-
.sc(TagResource$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
|
|
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 { TranslateDocument$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class TranslateDocumentCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSShineFrontendService_20170701", "TranslateDocument", {})
|
|
13
|
-
.n("TranslateClient", "TranslateDocumentCommand")
|
|
14
|
-
.sc(TranslateDocument$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class TranslateDocumentCommand extends command(_ep0, _mw0, "TranslateDocument", TranslateDocument$) {
|
|
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 { TranslateText$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class TranslateTextCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSShineFrontendService_20170701", "TranslateText", {})
|
|
13
|
-
.n("TranslateClient", "TranslateTextCommand")
|
|
14
|
-
.sc(TranslateText$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class TranslateTextCommand extends command(_ep0, _mw0, "TranslateText", TranslateText$) {
|
|
16
4
|
}
|