@aws-sdk/client-translate 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.
- package/dist-cjs/index.js +27 -193
- 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-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/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/package.json +8 -8
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");
|
|
@@ -68,7 +69,7 @@ const commonParams = {
|
|
|
68
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
69
70
|
};
|
|
70
71
|
|
|
71
|
-
var version = "3.
|
|
72
|
+
var version = "3.1077.0";
|
|
72
73
|
var packageInfo = {
|
|
73
74
|
version: version};
|
|
74
75
|
|
|
@@ -1142,232 +1143,65 @@ class TranslateClient extends Client {
|
|
|
1142
1143
|
}
|
|
1143
1144
|
}
|
|
1144
1145
|
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
})
|
|
1151
|
-
.s("AWSShineFrontendService_20170701", "CreateParallelData", {})
|
|
1152
|
-
.n("TranslateClient", "CreateParallelDataCommand")
|
|
1153
|
-
.sc(CreateParallelData$)
|
|
1154
|
-
.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$) {
|
|
1155
1151
|
}
|
|
1156
1152
|
|
|
1157
|
-
class DeleteParallelDataCommand extends
|
|
1158
|
-
.classBuilder()
|
|
1159
|
-
.ep(commonParams)
|
|
1160
|
-
.m(function (Command, cs, config, o) {
|
|
1161
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1162
|
-
})
|
|
1163
|
-
.s("AWSShineFrontendService_20170701", "DeleteParallelData", {})
|
|
1164
|
-
.n("TranslateClient", "DeleteParallelDataCommand")
|
|
1165
|
-
.sc(DeleteParallelData$)
|
|
1166
|
-
.build() {
|
|
1153
|
+
class DeleteParallelDataCommand extends command(_ep0, _mw0, "DeleteParallelData", DeleteParallelData$) {
|
|
1167
1154
|
}
|
|
1168
1155
|
|
|
1169
|
-
class DeleteTerminologyCommand extends
|
|
1170
|
-
.classBuilder()
|
|
1171
|
-
.ep(commonParams)
|
|
1172
|
-
.m(function (Command, cs, config, o) {
|
|
1173
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1174
|
-
})
|
|
1175
|
-
.s("AWSShineFrontendService_20170701", "DeleteTerminology", {})
|
|
1176
|
-
.n("TranslateClient", "DeleteTerminologyCommand")
|
|
1177
|
-
.sc(DeleteTerminology$)
|
|
1178
|
-
.build() {
|
|
1156
|
+
class DeleteTerminologyCommand extends command(_ep0, _mw0, "DeleteTerminology", DeleteTerminology$) {
|
|
1179
1157
|
}
|
|
1180
1158
|
|
|
1181
|
-
class DescribeTextTranslationJobCommand extends
|
|
1182
|
-
.classBuilder()
|
|
1183
|
-
.ep(commonParams)
|
|
1184
|
-
.m(function (Command, cs, config, o) {
|
|
1185
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1186
|
-
})
|
|
1187
|
-
.s("AWSShineFrontendService_20170701", "DescribeTextTranslationJob", {})
|
|
1188
|
-
.n("TranslateClient", "DescribeTextTranslationJobCommand")
|
|
1189
|
-
.sc(DescribeTextTranslationJob$)
|
|
1190
|
-
.build() {
|
|
1159
|
+
class DescribeTextTranslationJobCommand extends command(_ep0, _mw0, "DescribeTextTranslationJob", DescribeTextTranslationJob$) {
|
|
1191
1160
|
}
|
|
1192
1161
|
|
|
1193
|
-
class GetParallelDataCommand extends
|
|
1194
|
-
.classBuilder()
|
|
1195
|
-
.ep(commonParams)
|
|
1196
|
-
.m(function (Command, cs, config, o) {
|
|
1197
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1198
|
-
})
|
|
1199
|
-
.s("AWSShineFrontendService_20170701", "GetParallelData", {})
|
|
1200
|
-
.n("TranslateClient", "GetParallelDataCommand")
|
|
1201
|
-
.sc(GetParallelData$)
|
|
1202
|
-
.build() {
|
|
1162
|
+
class GetParallelDataCommand extends command(_ep0, _mw0, "GetParallelData", GetParallelData$) {
|
|
1203
1163
|
}
|
|
1204
1164
|
|
|
1205
|
-
class GetTerminologyCommand extends
|
|
1206
|
-
.classBuilder()
|
|
1207
|
-
.ep(commonParams)
|
|
1208
|
-
.m(function (Command, cs, config, o) {
|
|
1209
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1210
|
-
})
|
|
1211
|
-
.s("AWSShineFrontendService_20170701", "GetTerminology", {})
|
|
1212
|
-
.n("TranslateClient", "GetTerminologyCommand")
|
|
1213
|
-
.sc(GetTerminology$)
|
|
1214
|
-
.build() {
|
|
1165
|
+
class GetTerminologyCommand extends command(_ep0, _mw0, "GetTerminology", GetTerminology$) {
|
|
1215
1166
|
}
|
|
1216
1167
|
|
|
1217
|
-
class ImportTerminologyCommand extends
|
|
1218
|
-
.classBuilder()
|
|
1219
|
-
.ep(commonParams)
|
|
1220
|
-
.m(function (Command, cs, config, o) {
|
|
1221
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1222
|
-
})
|
|
1223
|
-
.s("AWSShineFrontendService_20170701", "ImportTerminology", {})
|
|
1224
|
-
.n("TranslateClient", "ImportTerminologyCommand")
|
|
1225
|
-
.sc(ImportTerminology$)
|
|
1226
|
-
.build() {
|
|
1168
|
+
class ImportTerminologyCommand extends command(_ep0, _mw0, "ImportTerminology", ImportTerminology$) {
|
|
1227
1169
|
}
|
|
1228
1170
|
|
|
1229
|
-
class ListLanguagesCommand extends
|
|
1230
|
-
.classBuilder()
|
|
1231
|
-
.ep(commonParams)
|
|
1232
|
-
.m(function (Command, cs, config, o) {
|
|
1233
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1234
|
-
})
|
|
1235
|
-
.s("AWSShineFrontendService_20170701", "ListLanguages", {})
|
|
1236
|
-
.n("TranslateClient", "ListLanguagesCommand")
|
|
1237
|
-
.sc(ListLanguages$)
|
|
1238
|
-
.build() {
|
|
1171
|
+
class ListLanguagesCommand extends command(_ep0, _mw0, "ListLanguages", ListLanguages$) {
|
|
1239
1172
|
}
|
|
1240
1173
|
|
|
1241
|
-
class ListParallelDataCommand extends
|
|
1242
|
-
.classBuilder()
|
|
1243
|
-
.ep(commonParams)
|
|
1244
|
-
.m(function (Command, cs, config, o) {
|
|
1245
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1246
|
-
})
|
|
1247
|
-
.s("AWSShineFrontendService_20170701", "ListParallelData", {})
|
|
1248
|
-
.n("TranslateClient", "ListParallelDataCommand")
|
|
1249
|
-
.sc(ListParallelData$)
|
|
1250
|
-
.build() {
|
|
1174
|
+
class ListParallelDataCommand extends command(_ep0, _mw0, "ListParallelData", ListParallelData$) {
|
|
1251
1175
|
}
|
|
1252
1176
|
|
|
1253
|
-
class ListTagsForResourceCommand extends
|
|
1254
|
-
.classBuilder()
|
|
1255
|
-
.ep(commonParams)
|
|
1256
|
-
.m(function (Command, cs, config, o) {
|
|
1257
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1258
|
-
})
|
|
1259
|
-
.s("AWSShineFrontendService_20170701", "ListTagsForResource", {})
|
|
1260
|
-
.n("TranslateClient", "ListTagsForResourceCommand")
|
|
1261
|
-
.sc(ListTagsForResource$)
|
|
1262
|
-
.build() {
|
|
1177
|
+
class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
|
|
1263
1178
|
}
|
|
1264
1179
|
|
|
1265
|
-
class ListTerminologiesCommand extends
|
|
1266
|
-
.classBuilder()
|
|
1267
|
-
.ep(commonParams)
|
|
1268
|
-
.m(function (Command, cs, config, o) {
|
|
1269
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1270
|
-
})
|
|
1271
|
-
.s("AWSShineFrontendService_20170701", "ListTerminologies", {})
|
|
1272
|
-
.n("TranslateClient", "ListTerminologiesCommand")
|
|
1273
|
-
.sc(ListTerminologies$)
|
|
1274
|
-
.build() {
|
|
1180
|
+
class ListTerminologiesCommand extends command(_ep0, _mw0, "ListTerminologies", ListTerminologies$) {
|
|
1275
1181
|
}
|
|
1276
1182
|
|
|
1277
|
-
class ListTextTranslationJobsCommand extends
|
|
1278
|
-
.classBuilder()
|
|
1279
|
-
.ep(commonParams)
|
|
1280
|
-
.m(function (Command, cs, config, o) {
|
|
1281
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1282
|
-
})
|
|
1283
|
-
.s("AWSShineFrontendService_20170701", "ListTextTranslationJobs", {})
|
|
1284
|
-
.n("TranslateClient", "ListTextTranslationJobsCommand")
|
|
1285
|
-
.sc(ListTextTranslationJobs$)
|
|
1286
|
-
.build() {
|
|
1183
|
+
class ListTextTranslationJobsCommand extends command(_ep0, _mw0, "ListTextTranslationJobs", ListTextTranslationJobs$) {
|
|
1287
1184
|
}
|
|
1288
1185
|
|
|
1289
|
-
class StartTextTranslationJobCommand extends
|
|
1290
|
-
.classBuilder()
|
|
1291
|
-
.ep(commonParams)
|
|
1292
|
-
.m(function (Command, cs, config, o) {
|
|
1293
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1294
|
-
})
|
|
1295
|
-
.s("AWSShineFrontendService_20170701", "StartTextTranslationJob", {})
|
|
1296
|
-
.n("TranslateClient", "StartTextTranslationJobCommand")
|
|
1297
|
-
.sc(StartTextTranslationJob$)
|
|
1298
|
-
.build() {
|
|
1186
|
+
class StartTextTranslationJobCommand extends command(_ep0, _mw0, "StartTextTranslationJob", StartTextTranslationJob$) {
|
|
1299
1187
|
}
|
|
1300
1188
|
|
|
1301
|
-
class StopTextTranslationJobCommand extends
|
|
1302
|
-
.classBuilder()
|
|
1303
|
-
.ep(commonParams)
|
|
1304
|
-
.m(function (Command, cs, config, o) {
|
|
1305
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1306
|
-
})
|
|
1307
|
-
.s("AWSShineFrontendService_20170701", "StopTextTranslationJob", {})
|
|
1308
|
-
.n("TranslateClient", "StopTextTranslationJobCommand")
|
|
1309
|
-
.sc(StopTextTranslationJob$)
|
|
1310
|
-
.build() {
|
|
1189
|
+
class StopTextTranslationJobCommand extends command(_ep0, _mw0, "StopTextTranslationJob", StopTextTranslationJob$) {
|
|
1311
1190
|
}
|
|
1312
1191
|
|
|
1313
|
-
class TagResourceCommand extends
|
|
1314
|
-
.classBuilder()
|
|
1315
|
-
.ep(commonParams)
|
|
1316
|
-
.m(function (Command, cs, config, o) {
|
|
1317
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1318
|
-
})
|
|
1319
|
-
.s("AWSShineFrontendService_20170701", "TagResource", {})
|
|
1320
|
-
.n("TranslateClient", "TagResourceCommand")
|
|
1321
|
-
.sc(TagResource$)
|
|
1322
|
-
.build() {
|
|
1192
|
+
class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
|
|
1323
1193
|
}
|
|
1324
1194
|
|
|
1325
|
-
class TranslateDocumentCommand extends
|
|
1326
|
-
.classBuilder()
|
|
1327
|
-
.ep(commonParams)
|
|
1328
|
-
.m(function (Command, cs, config, o) {
|
|
1329
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1330
|
-
})
|
|
1331
|
-
.s("AWSShineFrontendService_20170701", "TranslateDocument", {})
|
|
1332
|
-
.n("TranslateClient", "TranslateDocumentCommand")
|
|
1333
|
-
.sc(TranslateDocument$)
|
|
1334
|
-
.build() {
|
|
1195
|
+
class TranslateDocumentCommand extends command(_ep0, _mw0, "TranslateDocument", TranslateDocument$) {
|
|
1335
1196
|
}
|
|
1336
1197
|
|
|
1337
|
-
class TranslateTextCommand extends
|
|
1338
|
-
.classBuilder()
|
|
1339
|
-
.ep(commonParams)
|
|
1340
|
-
.m(function (Command, cs, config, o) {
|
|
1341
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1342
|
-
})
|
|
1343
|
-
.s("AWSShineFrontendService_20170701", "TranslateText", {})
|
|
1344
|
-
.n("TranslateClient", "TranslateTextCommand")
|
|
1345
|
-
.sc(TranslateText$)
|
|
1346
|
-
.build() {
|
|
1198
|
+
class TranslateTextCommand extends command(_ep0, _mw0, "TranslateText", TranslateText$) {
|
|
1347
1199
|
}
|
|
1348
1200
|
|
|
1349
|
-
class UntagResourceCommand extends
|
|
1350
|
-
.classBuilder()
|
|
1351
|
-
.ep(commonParams)
|
|
1352
|
-
.m(function (Command, cs, config, o) {
|
|
1353
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1354
|
-
})
|
|
1355
|
-
.s("AWSShineFrontendService_20170701", "UntagResource", {})
|
|
1356
|
-
.n("TranslateClient", "UntagResourceCommand")
|
|
1357
|
-
.sc(UntagResource$)
|
|
1358
|
-
.build() {
|
|
1201
|
+
class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
|
|
1359
1202
|
}
|
|
1360
1203
|
|
|
1361
|
-
class UpdateParallelDataCommand extends
|
|
1362
|
-
.classBuilder()
|
|
1363
|
-
.ep(commonParams)
|
|
1364
|
-
.m(function (Command, cs, config, o) {
|
|
1365
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1366
|
-
})
|
|
1367
|
-
.s("AWSShineFrontendService_20170701", "UpdateParallelData", {})
|
|
1368
|
-
.n("TranslateClient", "UpdateParallelDataCommand")
|
|
1369
|
-
.sc(UpdateParallelData$)
|
|
1370
|
-
.build() {
|
|
1204
|
+
class UpdateParallelDataCommand extends command(_ep0, _mw0, "UpdateParallelData", UpdateParallelData$) {
|
|
1371
1205
|
}
|
|
1372
1206
|
|
|
1373
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
|
}
|
|
@@ -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 { UntagResource$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UntagResourceCommand 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", "UntagResource", {})
|
|
13
|
-
.n("TranslateClient", "UntagResourceCommand")
|
|
14
|
-
.sc(UntagResource$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
|
|
16
4
|
}
|