@aws-sdk/client-emr-serverless 3.1077.0 → 3.1078.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. package/dist-cjs/index.js +30 -223
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/CancelJobRunCommand.js +2 -14
  4. package/dist-es/commands/CreateApplicationCommand.js +2 -14
  5. package/dist-es/commands/DeleteApplicationCommand.js +2 -14
  6. package/dist-es/commands/GetApplicationCommand.js +2 -14
  7. package/dist-es/commands/GetDashboardForJobRunCommand.js +2 -14
  8. package/dist-es/commands/GetJobRunCommand.js +2 -14
  9. package/dist-es/commands/GetResourceDashboardCommand.js +2 -14
  10. package/dist-es/commands/GetSessionCommand.js +2 -14
  11. package/dist-es/commands/GetSessionEndpointCommand.js +2 -14
  12. package/dist-es/commands/ListApplicationsCommand.js +2 -14
  13. package/dist-es/commands/ListJobRunAttemptsCommand.js +2 -14
  14. package/dist-es/commands/ListJobRunsCommand.js +2 -14
  15. package/dist-es/commands/ListSessionsCommand.js +2 -14
  16. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  17. package/dist-es/commands/StartApplicationCommand.js +2 -14
  18. package/dist-es/commands/StartJobRunCommand.js +2 -14
  19. package/dist-es/commands/StartSessionCommand.js +2 -14
  20. package/dist-es/commands/StopApplicationCommand.js +2 -14
  21. package/dist-es/commands/TagResourceCommand.js +2 -14
  22. package/dist-es/commands/TerminateSessionCommand.js +2 -14
  23. package/dist-es/commands/UntagResourceCommand.js +2 -14
  24. package/dist-es/commands/UpdateApplicationCommand.js +2 -14
  25. package/dist-es/index.js +1 -0
  26. package/dist-types/commandBuilder.d.ts +18 -0
  27. package/dist-types/commands/CancelJobRunCommand.d.ts +3 -8
  28. package/dist-types/commands/CreateApplicationCommand.d.ts +3 -8
  29. package/dist-types/commands/DeleteApplicationCommand.d.ts +3 -8
  30. package/dist-types/commands/GetApplicationCommand.d.ts +3 -8
  31. package/dist-types/commands/GetDashboardForJobRunCommand.d.ts +3 -8
  32. package/dist-types/commands/GetJobRunCommand.d.ts +3 -8
  33. package/dist-types/commands/GetResourceDashboardCommand.d.ts +3 -8
  34. package/dist-types/commands/GetSessionCommand.d.ts +3 -8
  35. package/dist-types/commands/GetSessionEndpointCommand.d.ts +3 -8
  36. package/dist-types/commands/ListApplicationsCommand.d.ts +3 -8
  37. package/dist-types/commands/ListJobRunAttemptsCommand.d.ts +3 -8
  38. package/dist-types/commands/ListJobRunsCommand.d.ts +3 -8
  39. package/dist-types/commands/ListSessionsCommand.d.ts +3 -8
  40. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  41. package/dist-types/commands/StartApplicationCommand.d.ts +3 -8
  42. package/dist-types/commands/StartJobRunCommand.d.ts +3 -8
  43. package/dist-types/commands/StartSessionCommand.d.ts +3 -8
  44. package/dist-types/commands/StopApplicationCommand.d.ts +3 -8
  45. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  46. package/dist-types/commands/TerminateSessionCommand.d.ts +3 -8
  47. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  48. package/dist-types/commands/UpdateApplicationCommand.d.ts +3 -8
  49. package/dist-types/index.d.ts +1 -0
  50. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  51. package/dist-types/ts3.4/commands/CancelJobRunCommand.d.ts +7 -16
  52. package/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +7 -16
  53. package/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +7 -16
  54. package/dist-types/ts3.4/commands/GetApplicationCommand.d.ts +7 -16
  55. package/dist-types/ts3.4/commands/GetDashboardForJobRunCommand.d.ts +7 -16
  56. package/dist-types/ts3.4/commands/GetJobRunCommand.d.ts +7 -16
  57. package/dist-types/ts3.4/commands/GetResourceDashboardCommand.d.ts +7 -16
  58. package/dist-types/ts3.4/commands/GetSessionCommand.d.ts +7 -16
  59. package/dist-types/ts3.4/commands/GetSessionEndpointCommand.d.ts +7 -16
  60. package/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +7 -16
  61. package/dist-types/ts3.4/commands/ListJobRunAttemptsCommand.d.ts +7 -16
  62. package/dist-types/ts3.4/commands/ListJobRunsCommand.d.ts +7 -16
  63. package/dist-types/ts3.4/commands/ListSessionsCommand.d.ts +7 -16
  64. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  65. package/dist-types/ts3.4/commands/StartApplicationCommand.d.ts +7 -16
  66. package/dist-types/ts3.4/commands/StartJobRunCommand.d.ts +7 -16
  67. package/dist-types/ts3.4/commands/StartSessionCommand.d.ts +7 -16
  68. package/dist-types/ts3.4/commands/StopApplicationCommand.d.ts +7 -16
  69. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  70. package/dist-types/ts3.4/commands/TerminateSessionCommand.d.ts +7 -16
  71. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  72. package/dist-types/ts3.4/commands/UpdateApplicationCommand.d.ts +7 -16
  73. package/dist-types/ts3.4/index.d.ts +1 -0
  74. 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, Command, createAggregatedClient } = require("@smithy/core/client");
4
- exports.$Command = Command;
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.1076.0";
72
+ var version = "3.1077.0";
72
73
  var packageInfo = {
73
74
  version: version};
74
75
 
@@ -1156,268 +1157,74 @@ class EMRServerlessClient extends Client {
1156
1157
  }
1157
1158
  }
1158
1159
 
1159
- class CancelJobRunCommand extends Command
1160
- .classBuilder()
1161
- .ep(commonParams)
1162
- .m(function (Command, cs, config, o) {
1163
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1164
- })
1165
- .s("AwsToledoWebService", "CancelJobRun", {})
1166
- .n("EMRServerlessClient", "CancelJobRunCommand")
1167
- .sc(CancelJobRun$)
1168
- .build() {
1160
+ const command = makeBuilder(commonParams, "AwsToledoWebService", "EMRServerlessClient", getEndpointPlugin);
1161
+ const _ep0 = {};
1162
+ const _mw0 = (Command, cs, config, o) => [];
1163
+
1164
+ class CancelJobRunCommand extends command(_ep0, _mw0, "CancelJobRun", CancelJobRun$) {
1169
1165
  }
1170
1166
 
1171
- class CreateApplicationCommand extends Command
1172
- .classBuilder()
1173
- .ep(commonParams)
1174
- .m(function (Command, cs, config, o) {
1175
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1176
- })
1177
- .s("AwsToledoWebService", "CreateApplication", {})
1178
- .n("EMRServerlessClient", "CreateApplicationCommand")
1179
- .sc(CreateApplication$)
1180
- .build() {
1167
+ class CreateApplicationCommand extends command(_ep0, _mw0, "CreateApplication", CreateApplication$) {
1181
1168
  }
1182
1169
 
1183
- class DeleteApplicationCommand extends Command
1184
- .classBuilder()
1185
- .ep(commonParams)
1186
- .m(function (Command, cs, config, o) {
1187
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1188
- })
1189
- .s("AwsToledoWebService", "DeleteApplication", {})
1190
- .n("EMRServerlessClient", "DeleteApplicationCommand")
1191
- .sc(DeleteApplication$)
1192
- .build() {
1170
+ class DeleteApplicationCommand extends command(_ep0, _mw0, "DeleteApplication", DeleteApplication$) {
1193
1171
  }
1194
1172
 
1195
- class GetApplicationCommand extends Command
1196
- .classBuilder()
1197
- .ep(commonParams)
1198
- .m(function (Command, cs, config, o) {
1199
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1200
- })
1201
- .s("AwsToledoWebService", "GetApplication", {})
1202
- .n("EMRServerlessClient", "GetApplicationCommand")
1203
- .sc(GetApplication$)
1204
- .build() {
1173
+ class GetApplicationCommand extends command(_ep0, _mw0, "GetApplication", GetApplication$) {
1205
1174
  }
1206
1175
 
1207
- class GetDashboardForJobRunCommand extends Command
1208
- .classBuilder()
1209
- .ep(commonParams)
1210
- .m(function (Command, cs, config, o) {
1211
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1212
- })
1213
- .s("AwsToledoWebService", "GetDashboardForJobRun", {})
1214
- .n("EMRServerlessClient", "GetDashboardForJobRunCommand")
1215
- .sc(GetDashboardForJobRun$)
1216
- .build() {
1176
+ class GetDashboardForJobRunCommand extends command(_ep0, _mw0, "GetDashboardForJobRun", GetDashboardForJobRun$) {
1217
1177
  }
1218
1178
 
1219
- class GetJobRunCommand extends Command
1220
- .classBuilder()
1221
- .ep(commonParams)
1222
- .m(function (Command, cs, config, o) {
1223
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1224
- })
1225
- .s("AwsToledoWebService", "GetJobRun", {})
1226
- .n("EMRServerlessClient", "GetJobRunCommand")
1227
- .sc(GetJobRun$)
1228
- .build() {
1179
+ class GetJobRunCommand extends command(_ep0, _mw0, "GetJobRun", GetJobRun$) {
1229
1180
  }
1230
1181
 
1231
- class GetResourceDashboardCommand extends Command
1232
- .classBuilder()
1233
- .ep(commonParams)
1234
- .m(function (Command, cs, config, o) {
1235
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1236
- })
1237
- .s("AwsToledoWebService", "GetResourceDashboard", {})
1238
- .n("EMRServerlessClient", "GetResourceDashboardCommand")
1239
- .sc(GetResourceDashboard$)
1240
- .build() {
1182
+ class GetResourceDashboardCommand extends command(_ep0, _mw0, "GetResourceDashboard", GetResourceDashboard$) {
1241
1183
  }
1242
1184
 
1243
- class GetSessionCommand extends Command
1244
- .classBuilder()
1245
- .ep(commonParams)
1246
- .m(function (Command, cs, config, o) {
1247
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1248
- })
1249
- .s("AwsToledoWebService", "GetSession", {})
1250
- .n("EMRServerlessClient", "GetSessionCommand")
1251
- .sc(GetSession$)
1252
- .build() {
1185
+ class GetSessionCommand extends command(_ep0, _mw0, "GetSession", GetSession$) {
1253
1186
  }
1254
1187
 
1255
- class GetSessionEndpointCommand extends Command
1256
- .classBuilder()
1257
- .ep(commonParams)
1258
- .m(function (Command, cs, config, o) {
1259
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1260
- })
1261
- .s("AwsToledoWebService", "GetSessionEndpoint", {})
1262
- .n("EMRServerlessClient", "GetSessionEndpointCommand")
1263
- .sc(GetSessionEndpoint$)
1264
- .build() {
1188
+ class GetSessionEndpointCommand extends command(_ep0, _mw0, "GetSessionEndpoint", GetSessionEndpoint$) {
1265
1189
  }
1266
1190
 
1267
- class ListApplicationsCommand extends Command
1268
- .classBuilder()
1269
- .ep(commonParams)
1270
- .m(function (Command, cs, config, o) {
1271
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1272
- })
1273
- .s("AwsToledoWebService", "ListApplications", {})
1274
- .n("EMRServerlessClient", "ListApplicationsCommand")
1275
- .sc(ListApplications$)
1276
- .build() {
1191
+ class ListApplicationsCommand extends command(_ep0, _mw0, "ListApplications", ListApplications$) {
1277
1192
  }
1278
1193
 
1279
- class ListJobRunAttemptsCommand extends Command
1280
- .classBuilder()
1281
- .ep(commonParams)
1282
- .m(function (Command, cs, config, o) {
1283
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1284
- })
1285
- .s("AwsToledoWebService", "ListJobRunAttempts", {})
1286
- .n("EMRServerlessClient", "ListJobRunAttemptsCommand")
1287
- .sc(ListJobRunAttempts$)
1288
- .build() {
1194
+ class ListJobRunAttemptsCommand extends command(_ep0, _mw0, "ListJobRunAttempts", ListJobRunAttempts$) {
1289
1195
  }
1290
1196
 
1291
- class ListJobRunsCommand extends Command
1292
- .classBuilder()
1293
- .ep(commonParams)
1294
- .m(function (Command, cs, config, o) {
1295
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1296
- })
1297
- .s("AwsToledoWebService", "ListJobRuns", {})
1298
- .n("EMRServerlessClient", "ListJobRunsCommand")
1299
- .sc(ListJobRuns$)
1300
- .build() {
1197
+ class ListJobRunsCommand extends command(_ep0, _mw0, "ListJobRuns", ListJobRuns$) {
1301
1198
  }
1302
1199
 
1303
- class ListSessionsCommand extends Command
1304
- .classBuilder()
1305
- .ep(commonParams)
1306
- .m(function (Command, cs, config, o) {
1307
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1308
- })
1309
- .s("AwsToledoWebService", "ListSessions", {})
1310
- .n("EMRServerlessClient", "ListSessionsCommand")
1311
- .sc(ListSessions$)
1312
- .build() {
1200
+ class ListSessionsCommand extends command(_ep0, _mw0, "ListSessions", ListSessions$) {
1313
1201
  }
1314
1202
 
1315
- class ListTagsForResourceCommand extends Command
1316
- .classBuilder()
1317
- .ep(commonParams)
1318
- .m(function (Command, cs, config, o) {
1319
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1320
- })
1321
- .s("AwsToledoWebService", "ListTagsForResource", {})
1322
- .n("EMRServerlessClient", "ListTagsForResourceCommand")
1323
- .sc(ListTagsForResource$)
1324
- .build() {
1203
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
1325
1204
  }
1326
1205
 
1327
- class StartApplicationCommand extends Command
1328
- .classBuilder()
1329
- .ep(commonParams)
1330
- .m(function (Command, cs, config, o) {
1331
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1332
- })
1333
- .s("AwsToledoWebService", "StartApplication", {})
1334
- .n("EMRServerlessClient", "StartApplicationCommand")
1335
- .sc(StartApplication$)
1336
- .build() {
1206
+ class StartApplicationCommand extends command(_ep0, _mw0, "StartApplication", StartApplication$) {
1337
1207
  }
1338
1208
 
1339
- class StartJobRunCommand extends Command
1340
- .classBuilder()
1341
- .ep(commonParams)
1342
- .m(function (Command, cs, config, o) {
1343
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1344
- })
1345
- .s("AwsToledoWebService", "StartJobRun", {})
1346
- .n("EMRServerlessClient", "StartJobRunCommand")
1347
- .sc(StartJobRun$)
1348
- .build() {
1209
+ class StartJobRunCommand extends command(_ep0, _mw0, "StartJobRun", StartJobRun$) {
1349
1210
  }
1350
1211
 
1351
- class StartSessionCommand extends Command
1352
- .classBuilder()
1353
- .ep(commonParams)
1354
- .m(function (Command, cs, config, o) {
1355
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1356
- })
1357
- .s("AwsToledoWebService", "StartSession", {})
1358
- .n("EMRServerlessClient", "StartSessionCommand")
1359
- .sc(StartSession$)
1360
- .build() {
1212
+ class StartSessionCommand extends command(_ep0, _mw0, "StartSession", StartSession$) {
1361
1213
  }
1362
1214
 
1363
- class StopApplicationCommand extends Command
1364
- .classBuilder()
1365
- .ep(commonParams)
1366
- .m(function (Command, cs, config, o) {
1367
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1368
- })
1369
- .s("AwsToledoWebService", "StopApplication", {})
1370
- .n("EMRServerlessClient", "StopApplicationCommand")
1371
- .sc(StopApplication$)
1372
- .build() {
1215
+ class StopApplicationCommand extends command(_ep0, _mw0, "StopApplication", StopApplication$) {
1373
1216
  }
1374
1217
 
1375
- class TagResourceCommand extends Command
1376
- .classBuilder()
1377
- .ep(commonParams)
1378
- .m(function (Command, cs, config, o) {
1379
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1380
- })
1381
- .s("AwsToledoWebService", "TagResource", {})
1382
- .n("EMRServerlessClient", "TagResourceCommand")
1383
- .sc(TagResource$)
1384
- .build() {
1218
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
1385
1219
  }
1386
1220
 
1387
- class TerminateSessionCommand extends Command
1388
- .classBuilder()
1389
- .ep(commonParams)
1390
- .m(function (Command, cs, config, o) {
1391
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1392
- })
1393
- .s("AwsToledoWebService", "TerminateSession", {})
1394
- .n("EMRServerlessClient", "TerminateSessionCommand")
1395
- .sc(TerminateSession$)
1396
- .build() {
1221
+ class TerminateSessionCommand extends command(_ep0, _mw0, "TerminateSession", TerminateSession$) {
1397
1222
  }
1398
1223
 
1399
- class UntagResourceCommand extends Command
1400
- .classBuilder()
1401
- .ep(commonParams)
1402
- .m(function (Command, cs, config, o) {
1403
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1404
- })
1405
- .s("AwsToledoWebService", "UntagResource", {})
1406
- .n("EMRServerlessClient", "UntagResourceCommand")
1407
- .sc(UntagResource$)
1408
- .build() {
1224
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
1409
1225
  }
1410
1226
 
1411
- class UpdateApplicationCommand extends Command
1412
- .classBuilder()
1413
- .ep(commonParams)
1414
- .m(function (Command, cs, config, o) {
1415
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1416
- })
1417
- .s("AwsToledoWebService", "UpdateApplication", {})
1418
- .n("EMRServerlessClient", "UpdateApplicationCommand")
1419
- .sc(UpdateApplication$)
1420
- .build() {
1227
+ class UpdateApplicationCommand extends command(_ep0, _mw0, "UpdateApplication", UpdateApplication$) {
1421
1228
  }
1422
1229
 
1423
1230
  const paginateListApplications = createPaginator(EMRServerlessClient, ListApplicationsCommand, "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, "AwsToledoWebService", "EMRServerlessClient", getEndpointPlugin);
5
+ export const _ep0 = {};
6
+ export const _mw0 = (Command, cs, config, o) => [];
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CancelJobRun$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CancelJobRunCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AwsToledoWebService", "CancelJobRun", {})
13
- .n("EMRServerlessClient", "CancelJobRunCommand")
14
- .sc(CancelJobRun$)
15
- .build() {
3
+ export class CancelJobRunCommand extends command(_ep0, _mw0, "CancelJobRun", CancelJobRun$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreateApplication$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateApplicationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AwsToledoWebService", "CreateApplication", {})
13
- .n("EMRServerlessClient", "CreateApplicationCommand")
14
- .sc(CreateApplication$)
15
- .build() {
3
+ export class CreateApplicationCommand extends command(_ep0, _mw0, "CreateApplication", CreateApplication$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteApplication$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteApplicationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AwsToledoWebService", "DeleteApplication", {})
13
- .n("EMRServerlessClient", "DeleteApplicationCommand")
14
- .sc(DeleteApplication$)
15
- .build() {
3
+ export class DeleteApplicationCommand extends command(_ep0, _mw0, "DeleteApplication", DeleteApplication$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetApplication$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetApplicationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AwsToledoWebService", "GetApplication", {})
13
- .n("EMRServerlessClient", "GetApplicationCommand")
14
- .sc(GetApplication$)
15
- .build() {
3
+ export class GetApplicationCommand extends command(_ep0, _mw0, "GetApplication", GetApplication$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetDashboardForJobRun$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetDashboardForJobRunCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AwsToledoWebService", "GetDashboardForJobRun", {})
13
- .n("EMRServerlessClient", "GetDashboardForJobRunCommand")
14
- .sc(GetDashboardForJobRun$)
15
- .build() {
3
+ export class GetDashboardForJobRunCommand extends command(_ep0, _mw0, "GetDashboardForJobRun", GetDashboardForJobRun$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetJobRun$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetJobRunCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AwsToledoWebService", "GetJobRun", {})
13
- .n("EMRServerlessClient", "GetJobRunCommand")
14
- .sc(GetJobRun$)
15
- .build() {
3
+ export class GetJobRunCommand extends command(_ep0, _mw0, "GetJobRun", GetJobRun$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetResourceDashboard$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetResourceDashboardCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AwsToledoWebService", "GetResourceDashboard", {})
13
- .n("EMRServerlessClient", "GetResourceDashboardCommand")
14
- .sc(GetResourceDashboard$)
15
- .build() {
3
+ export class GetResourceDashboardCommand extends command(_ep0, _mw0, "GetResourceDashboard", GetResourceDashboard$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetSession$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetSessionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AwsToledoWebService", "GetSession", {})
13
- .n("EMRServerlessClient", "GetSessionCommand")
14
- .sc(GetSession$)
15
- .build() {
3
+ export class GetSessionCommand extends command(_ep0, _mw0, "GetSession", GetSession$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetSessionEndpoint$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetSessionEndpointCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AwsToledoWebService", "GetSessionEndpoint", {})
13
- .n("EMRServerlessClient", "GetSessionEndpointCommand")
14
- .sc(GetSessionEndpoint$)
15
- .build() {
3
+ export class GetSessionEndpointCommand extends command(_ep0, _mw0, "GetSessionEndpoint", GetSessionEndpoint$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListApplications$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListApplicationsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AwsToledoWebService", "ListApplications", {})
13
- .n("EMRServerlessClient", "ListApplicationsCommand")
14
- .sc(ListApplications$)
15
- .build() {
3
+ export class ListApplicationsCommand extends command(_ep0, _mw0, "ListApplications", ListApplications$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListJobRunAttempts$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListJobRunAttemptsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AwsToledoWebService", "ListJobRunAttempts", {})
13
- .n("EMRServerlessClient", "ListJobRunAttemptsCommand")
14
- .sc(ListJobRunAttempts$)
15
- .build() {
3
+ export class ListJobRunAttemptsCommand extends command(_ep0, _mw0, "ListJobRunAttempts", ListJobRunAttempts$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListJobRuns$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListJobRunsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AwsToledoWebService", "ListJobRuns", {})
13
- .n("EMRServerlessClient", "ListJobRunsCommand")
14
- .sc(ListJobRuns$)
15
- .build() {
3
+ export class ListJobRunsCommand extends command(_ep0, _mw0, "ListJobRuns", ListJobRuns$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListSessions$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListSessionsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AwsToledoWebService", "ListSessions", {})
13
- .n("EMRServerlessClient", "ListSessionsCommand")
14
- .sc(ListSessions$)
15
- .build() {
3
+ export class ListSessionsCommand extends command(_ep0, _mw0, "ListSessions", ListSessions$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListTagsForResource$ } from "../schemas/schemas_0";
5
- export { $Command };
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("AwsToledoWebService", "ListTagsForResource", {})
13
- .n("EMRServerlessClient", "ListTagsForResourceCommand")
14
- .sc(ListTagsForResource$)
15
- .build() {
3
+ export class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { StartApplication$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class StartApplicationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AwsToledoWebService", "StartApplication", {})
13
- .n("EMRServerlessClient", "StartApplicationCommand")
14
- .sc(StartApplication$)
15
- .build() {
3
+ export class StartApplicationCommand extends command(_ep0, _mw0, "StartApplication", StartApplication$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { StartJobRun$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class StartJobRunCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AwsToledoWebService", "StartJobRun", {})
13
- .n("EMRServerlessClient", "StartJobRunCommand")
14
- .sc(StartJobRun$)
15
- .build() {
3
+ export class StartJobRunCommand extends command(_ep0, _mw0, "StartJobRun", StartJobRun$) {
16
4
  }