@aws-sdk/client-emr-serverless 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.
Files changed (86) hide show
  1. package/dist-cjs/index.js +33 -225
  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-es/runtimeConfig.browser.js +0 -2
  27. package/dist-es/runtimeConfig.js +1 -2
  28. package/dist-es/runtimeConfig.native.js +0 -2
  29. package/dist-es/runtimeConfig.shared.js +2 -0
  30. package/dist-types/commandBuilder.d.ts +18 -0
  31. package/dist-types/commands/CancelJobRunCommand.d.ts +3 -8
  32. package/dist-types/commands/CreateApplicationCommand.d.ts +3 -8
  33. package/dist-types/commands/DeleteApplicationCommand.d.ts +3 -8
  34. package/dist-types/commands/GetApplicationCommand.d.ts +3 -8
  35. package/dist-types/commands/GetDashboardForJobRunCommand.d.ts +3 -8
  36. package/dist-types/commands/GetJobRunCommand.d.ts +3 -8
  37. package/dist-types/commands/GetResourceDashboardCommand.d.ts +3 -8
  38. package/dist-types/commands/GetSessionCommand.d.ts +3 -8
  39. package/dist-types/commands/GetSessionEndpointCommand.d.ts +3 -8
  40. package/dist-types/commands/ListApplicationsCommand.d.ts +3 -8
  41. package/dist-types/commands/ListJobRunAttemptsCommand.d.ts +3 -8
  42. package/dist-types/commands/ListJobRunsCommand.d.ts +3 -8
  43. package/dist-types/commands/ListSessionsCommand.d.ts +3 -8
  44. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  45. package/dist-types/commands/StartApplicationCommand.d.ts +3 -8
  46. package/dist-types/commands/StartJobRunCommand.d.ts +3 -8
  47. package/dist-types/commands/StartSessionCommand.d.ts +3 -8
  48. package/dist-types/commands/StopApplicationCommand.d.ts +3 -8
  49. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  50. package/dist-types/commands/TerminateSessionCommand.d.ts +3 -8
  51. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  52. package/dist-types/commands/UpdateApplicationCommand.d.ts +3 -8
  53. package/dist-types/index.d.ts +1 -0
  54. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  55. package/dist-types/runtimeConfig.d.ts +1 -1
  56. package/dist-types/runtimeConfig.native.d.ts +1 -1
  57. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  58. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  59. package/dist-types/ts3.4/commands/CancelJobRunCommand.d.ts +7 -16
  60. package/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +7 -16
  61. package/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +7 -16
  62. package/dist-types/ts3.4/commands/GetApplicationCommand.d.ts +7 -16
  63. package/dist-types/ts3.4/commands/GetDashboardForJobRunCommand.d.ts +7 -16
  64. package/dist-types/ts3.4/commands/GetJobRunCommand.d.ts +7 -16
  65. package/dist-types/ts3.4/commands/GetResourceDashboardCommand.d.ts +7 -16
  66. package/dist-types/ts3.4/commands/GetSessionCommand.d.ts +7 -16
  67. package/dist-types/ts3.4/commands/GetSessionEndpointCommand.d.ts +7 -16
  68. package/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +7 -16
  69. package/dist-types/ts3.4/commands/ListJobRunAttemptsCommand.d.ts +7 -16
  70. package/dist-types/ts3.4/commands/ListJobRunsCommand.d.ts +7 -16
  71. package/dist-types/ts3.4/commands/ListSessionsCommand.d.ts +7 -16
  72. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  73. package/dist-types/ts3.4/commands/StartApplicationCommand.d.ts +7 -16
  74. package/dist-types/ts3.4/commands/StartJobRunCommand.d.ts +7 -16
  75. package/dist-types/ts3.4/commands/StartSessionCommand.d.ts +7 -16
  76. package/dist-types/ts3.4/commands/StopApplicationCommand.d.ts +7 -16
  77. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  78. package/dist-types/ts3.4/commands/TerminateSessionCommand.d.ts +7 -16
  79. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  80. package/dist-types/ts3.4/commands/UpdateApplicationCommand.d.ts +7 -16
  81. package/dist-types/ts3.4/index.d.ts +1 -0
  82. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  83. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  84. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  85. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  86. 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, 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");
@@ -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, Hash, calculateBodyLength } = require("@smithy/core/serde");
14
+ const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
14
15
  const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
15
16
  const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
17
+ const { Sha256 } = require("@smithy/core/checksum");
16
18
 
17
19
  const defaultEMRServerlessHttpAuthSchemeParametersProvider = 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.1075.0";
72
+ var version = "3.1077.0";
71
73
  var packageInfo = {
72
74
  version: version};
73
75
 
@@ -1034,6 +1036,7 @@ const getRuntimeConfig$1 = (config) => {
1034
1036
  serviceTarget: "AwsToledoWebService",
1035
1037
  },
1036
1038
  serviceId: config?.serviceId ?? "EMR Serverless",
1039
+ sha256: config?.sha256 ?? Sha256,
1037
1040
  urlParser: config?.urlParser ?? parseUrl,
1038
1041
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
1039
1042
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -1067,7 +1070,6 @@ const getRuntimeConfig = (config) => {
1067
1070
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
1068
1071
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
1069
1072
  }, config),
1070
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
1071
1073
  streamCollector: config?.streamCollector ?? streamCollector,
1072
1074
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1073
1075
  useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -1155,268 +1157,74 @@ class EMRServerlessClient extends Client {
1155
1157
  }
1156
1158
  }
1157
1159
 
1158
- class CancelJobRunCommand extends Command
1159
- .classBuilder()
1160
- .ep(commonParams)
1161
- .m(function (Command, cs, config, o) {
1162
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1163
- })
1164
- .s("AwsToledoWebService", "CancelJobRun", {})
1165
- .n("EMRServerlessClient", "CancelJobRunCommand")
1166
- .sc(CancelJobRun$)
1167
- .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$) {
1168
1165
  }
1169
1166
 
1170
- class CreateApplicationCommand extends Command
1171
- .classBuilder()
1172
- .ep(commonParams)
1173
- .m(function (Command, cs, config, o) {
1174
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1175
- })
1176
- .s("AwsToledoWebService", "CreateApplication", {})
1177
- .n("EMRServerlessClient", "CreateApplicationCommand")
1178
- .sc(CreateApplication$)
1179
- .build() {
1167
+ class CreateApplicationCommand extends command(_ep0, _mw0, "CreateApplication", CreateApplication$) {
1180
1168
  }
1181
1169
 
1182
- class DeleteApplicationCommand extends Command
1183
- .classBuilder()
1184
- .ep(commonParams)
1185
- .m(function (Command, cs, config, o) {
1186
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1187
- })
1188
- .s("AwsToledoWebService", "DeleteApplication", {})
1189
- .n("EMRServerlessClient", "DeleteApplicationCommand")
1190
- .sc(DeleteApplication$)
1191
- .build() {
1170
+ class DeleteApplicationCommand extends command(_ep0, _mw0, "DeleteApplication", DeleteApplication$) {
1192
1171
  }
1193
1172
 
1194
- class GetApplicationCommand extends Command
1195
- .classBuilder()
1196
- .ep(commonParams)
1197
- .m(function (Command, cs, config, o) {
1198
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1199
- })
1200
- .s("AwsToledoWebService", "GetApplication", {})
1201
- .n("EMRServerlessClient", "GetApplicationCommand")
1202
- .sc(GetApplication$)
1203
- .build() {
1173
+ class GetApplicationCommand extends command(_ep0, _mw0, "GetApplication", GetApplication$) {
1204
1174
  }
1205
1175
 
1206
- class GetDashboardForJobRunCommand extends Command
1207
- .classBuilder()
1208
- .ep(commonParams)
1209
- .m(function (Command, cs, config, o) {
1210
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1211
- })
1212
- .s("AwsToledoWebService", "GetDashboardForJobRun", {})
1213
- .n("EMRServerlessClient", "GetDashboardForJobRunCommand")
1214
- .sc(GetDashboardForJobRun$)
1215
- .build() {
1176
+ class GetDashboardForJobRunCommand extends command(_ep0, _mw0, "GetDashboardForJobRun", GetDashboardForJobRun$) {
1216
1177
  }
1217
1178
 
1218
- class GetJobRunCommand extends Command
1219
- .classBuilder()
1220
- .ep(commonParams)
1221
- .m(function (Command, cs, config, o) {
1222
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1223
- })
1224
- .s("AwsToledoWebService", "GetJobRun", {})
1225
- .n("EMRServerlessClient", "GetJobRunCommand")
1226
- .sc(GetJobRun$)
1227
- .build() {
1179
+ class GetJobRunCommand extends command(_ep0, _mw0, "GetJobRun", GetJobRun$) {
1228
1180
  }
1229
1181
 
1230
- class GetResourceDashboardCommand extends Command
1231
- .classBuilder()
1232
- .ep(commonParams)
1233
- .m(function (Command, cs, config, o) {
1234
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1235
- })
1236
- .s("AwsToledoWebService", "GetResourceDashboard", {})
1237
- .n("EMRServerlessClient", "GetResourceDashboardCommand")
1238
- .sc(GetResourceDashboard$)
1239
- .build() {
1182
+ class GetResourceDashboardCommand extends command(_ep0, _mw0, "GetResourceDashboard", GetResourceDashboard$) {
1240
1183
  }
1241
1184
 
1242
- class GetSessionCommand extends Command
1243
- .classBuilder()
1244
- .ep(commonParams)
1245
- .m(function (Command, cs, config, o) {
1246
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1247
- })
1248
- .s("AwsToledoWebService", "GetSession", {})
1249
- .n("EMRServerlessClient", "GetSessionCommand")
1250
- .sc(GetSession$)
1251
- .build() {
1185
+ class GetSessionCommand extends command(_ep0, _mw0, "GetSession", GetSession$) {
1252
1186
  }
1253
1187
 
1254
- class GetSessionEndpointCommand extends Command
1255
- .classBuilder()
1256
- .ep(commonParams)
1257
- .m(function (Command, cs, config, o) {
1258
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1259
- })
1260
- .s("AwsToledoWebService", "GetSessionEndpoint", {})
1261
- .n("EMRServerlessClient", "GetSessionEndpointCommand")
1262
- .sc(GetSessionEndpoint$)
1263
- .build() {
1188
+ class GetSessionEndpointCommand extends command(_ep0, _mw0, "GetSessionEndpoint", GetSessionEndpoint$) {
1264
1189
  }
1265
1190
 
1266
- class ListApplicationsCommand extends Command
1267
- .classBuilder()
1268
- .ep(commonParams)
1269
- .m(function (Command, cs, config, o) {
1270
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1271
- })
1272
- .s("AwsToledoWebService", "ListApplications", {})
1273
- .n("EMRServerlessClient", "ListApplicationsCommand")
1274
- .sc(ListApplications$)
1275
- .build() {
1191
+ class ListApplicationsCommand extends command(_ep0, _mw0, "ListApplications", ListApplications$) {
1276
1192
  }
1277
1193
 
1278
- class ListJobRunAttemptsCommand extends Command
1279
- .classBuilder()
1280
- .ep(commonParams)
1281
- .m(function (Command, cs, config, o) {
1282
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1283
- })
1284
- .s("AwsToledoWebService", "ListJobRunAttempts", {})
1285
- .n("EMRServerlessClient", "ListJobRunAttemptsCommand")
1286
- .sc(ListJobRunAttempts$)
1287
- .build() {
1194
+ class ListJobRunAttemptsCommand extends command(_ep0, _mw0, "ListJobRunAttempts", ListJobRunAttempts$) {
1288
1195
  }
1289
1196
 
1290
- class ListJobRunsCommand extends Command
1291
- .classBuilder()
1292
- .ep(commonParams)
1293
- .m(function (Command, cs, config, o) {
1294
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1295
- })
1296
- .s("AwsToledoWebService", "ListJobRuns", {})
1297
- .n("EMRServerlessClient", "ListJobRunsCommand")
1298
- .sc(ListJobRuns$)
1299
- .build() {
1197
+ class ListJobRunsCommand extends command(_ep0, _mw0, "ListJobRuns", ListJobRuns$) {
1300
1198
  }
1301
1199
 
1302
- class ListSessionsCommand extends Command
1303
- .classBuilder()
1304
- .ep(commonParams)
1305
- .m(function (Command, cs, config, o) {
1306
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1307
- })
1308
- .s("AwsToledoWebService", "ListSessions", {})
1309
- .n("EMRServerlessClient", "ListSessionsCommand")
1310
- .sc(ListSessions$)
1311
- .build() {
1200
+ class ListSessionsCommand extends command(_ep0, _mw0, "ListSessions", ListSessions$) {
1312
1201
  }
1313
1202
 
1314
- class ListTagsForResourceCommand extends Command
1315
- .classBuilder()
1316
- .ep(commonParams)
1317
- .m(function (Command, cs, config, o) {
1318
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1319
- })
1320
- .s("AwsToledoWebService", "ListTagsForResource", {})
1321
- .n("EMRServerlessClient", "ListTagsForResourceCommand")
1322
- .sc(ListTagsForResource$)
1323
- .build() {
1203
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
1324
1204
  }
1325
1205
 
1326
- class StartApplicationCommand extends Command
1327
- .classBuilder()
1328
- .ep(commonParams)
1329
- .m(function (Command, cs, config, o) {
1330
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1331
- })
1332
- .s("AwsToledoWebService", "StartApplication", {})
1333
- .n("EMRServerlessClient", "StartApplicationCommand")
1334
- .sc(StartApplication$)
1335
- .build() {
1206
+ class StartApplicationCommand extends command(_ep0, _mw0, "StartApplication", StartApplication$) {
1336
1207
  }
1337
1208
 
1338
- class StartJobRunCommand extends Command
1339
- .classBuilder()
1340
- .ep(commonParams)
1341
- .m(function (Command, cs, config, o) {
1342
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1343
- })
1344
- .s("AwsToledoWebService", "StartJobRun", {})
1345
- .n("EMRServerlessClient", "StartJobRunCommand")
1346
- .sc(StartJobRun$)
1347
- .build() {
1209
+ class StartJobRunCommand extends command(_ep0, _mw0, "StartJobRun", StartJobRun$) {
1348
1210
  }
1349
1211
 
1350
- class StartSessionCommand extends Command
1351
- .classBuilder()
1352
- .ep(commonParams)
1353
- .m(function (Command, cs, config, o) {
1354
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1355
- })
1356
- .s("AwsToledoWebService", "StartSession", {})
1357
- .n("EMRServerlessClient", "StartSessionCommand")
1358
- .sc(StartSession$)
1359
- .build() {
1212
+ class StartSessionCommand extends command(_ep0, _mw0, "StartSession", StartSession$) {
1360
1213
  }
1361
1214
 
1362
- class StopApplicationCommand extends Command
1363
- .classBuilder()
1364
- .ep(commonParams)
1365
- .m(function (Command, cs, config, o) {
1366
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1367
- })
1368
- .s("AwsToledoWebService", "StopApplication", {})
1369
- .n("EMRServerlessClient", "StopApplicationCommand")
1370
- .sc(StopApplication$)
1371
- .build() {
1215
+ class StopApplicationCommand extends command(_ep0, _mw0, "StopApplication", StopApplication$) {
1372
1216
  }
1373
1217
 
1374
- class TagResourceCommand extends Command
1375
- .classBuilder()
1376
- .ep(commonParams)
1377
- .m(function (Command, cs, config, o) {
1378
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1379
- })
1380
- .s("AwsToledoWebService", "TagResource", {})
1381
- .n("EMRServerlessClient", "TagResourceCommand")
1382
- .sc(TagResource$)
1383
- .build() {
1218
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
1384
1219
  }
1385
1220
 
1386
- class TerminateSessionCommand extends Command
1387
- .classBuilder()
1388
- .ep(commonParams)
1389
- .m(function (Command, cs, config, o) {
1390
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1391
- })
1392
- .s("AwsToledoWebService", "TerminateSession", {})
1393
- .n("EMRServerlessClient", "TerminateSessionCommand")
1394
- .sc(TerminateSession$)
1395
- .build() {
1221
+ class TerminateSessionCommand extends command(_ep0, _mw0, "TerminateSession", TerminateSession$) {
1396
1222
  }
1397
1223
 
1398
- class UntagResourceCommand extends Command
1399
- .classBuilder()
1400
- .ep(commonParams)
1401
- .m(function (Command, cs, config, o) {
1402
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1403
- })
1404
- .s("AwsToledoWebService", "UntagResource", {})
1405
- .n("EMRServerlessClient", "UntagResourceCommand")
1406
- .sc(UntagResource$)
1407
- .build() {
1224
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
1408
1225
  }
1409
1226
 
1410
- class UpdateApplicationCommand extends Command
1411
- .classBuilder()
1412
- .ep(commonParams)
1413
- .m(function (Command, cs, config, o) {
1414
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1415
- })
1416
- .s("AwsToledoWebService", "UpdateApplication", {})
1417
- .n("EMRServerlessClient", "UpdateApplicationCommand")
1418
- .sc(UpdateApplication$)
1419
- .build() {
1227
+ class UpdateApplicationCommand extends command(_ep0, _mw0, "UpdateApplication", UpdateApplication$) {
1420
1228
  }
1421
1229
 
1422
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
  }