@aws-sdk/client-emr-serverless 3.928.0 → 3.930.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 (40) hide show
  1. package/dist-cjs/index.js +1024 -978
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/EMRServerlessClient.js +2 -0
  4. package/dist-es/commands/CancelJobRunCommand.js +3 -9
  5. package/dist-es/commands/CreateApplicationCommand.js +3 -10
  6. package/dist-es/commands/DeleteApplicationCommand.js +3 -9
  7. package/dist-es/commands/GetApplicationCommand.js +3 -10
  8. package/dist-es/commands/GetDashboardForJobRunCommand.js +3 -9
  9. package/dist-es/commands/GetJobRunCommand.js +3 -10
  10. package/dist-es/commands/ListApplicationsCommand.js +3 -9
  11. package/dist-es/commands/ListJobRunAttemptsCommand.js +3 -9
  12. package/dist-es/commands/ListJobRunsCommand.js +3 -9
  13. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  14. package/dist-es/commands/StartApplicationCommand.js +3 -9
  15. package/dist-es/commands/StartJobRunCommand.js +3 -10
  16. package/dist-es/commands/StopApplicationCommand.js +3 -9
  17. package/dist-es/commands/TagResourceCommand.js +3 -9
  18. package/dist-es/commands/UntagResourceCommand.js +3 -9
  19. package/dist-es/commands/UpdateApplicationCommand.js +3 -10
  20. package/dist-es/models/models_0.js +0 -88
  21. package/dist-es/runtimeConfig.shared.js +2 -0
  22. package/dist-es/schemas/schemas_0.js +991 -0
  23. package/dist-types/EMRServerlessClient.d.ts +10 -1
  24. package/dist-types/models/models_0.d.ts +4 -53
  25. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  26. package/dist-types/runtimeConfig.d.ts +1 -0
  27. package/dist-types/runtimeConfig.native.d.ts +1 -0
  28. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  29. package/dist-types/schemas/schemas_0.d.ts +112 -0
  30. package/dist-types/ts3.4/EMRServerlessClient.d.ts +4 -0
  31. package/dist-types/ts3.4/models/models_0.d.ts +0 -30
  32. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  33. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  34. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  35. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  36. package/dist-types/ts3.4/schemas/schemas_0.d.ts +119 -0
  37. package/package.json +33 -34
  38. package/dist-es/protocols/Aws_restJson1.js +0 -759
  39. package/dist-types/protocols/Aws_restJson1.d.ts +0 -146
  40. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -197
package/dist-cjs/index.js CHANGED
@@ -6,6 +6,7 @@ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detect
6
6
  var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
7
7
  var configResolver = require('@smithy/config-resolver');
8
8
  var core = require('@smithy/core');
9
+ var schema = require('@smithy/core/schema');
9
10
  var middlewareContentLength = require('@smithy/middleware-content-length');
10
11
  var middlewareEndpoint = require('@smithy/middleware-endpoint');
11
12
  var middlewareRetry = require('@smithy/middleware-retry');
@@ -14,9 +15,6 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
14
15
  var runtimeConfig = require('./runtimeConfig');
15
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
16
17
  var protocolHttp = require('@smithy/protocol-http');
17
- var middlewareSerde = require('@smithy/middleware-serde');
18
- var core$1 = require('@aws-sdk/core');
19
- var uuid = require('@smithy/uuid');
20
18
 
21
19
  const resolveClientEndpointParameters = (options) => {
22
20
  return Object.assign(options, {
@@ -92,6 +90,7 @@ class EMRServerlessClient extends smithyClient.Client {
92
90
  const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
93
91
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
94
92
  this.config = _config_8;
93
+ this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
95
94
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
96
95
  this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
97
96
  this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
@@ -111,12 +110,12 @@ class EMRServerlessClient extends smithyClient.Client {
111
110
  }
112
111
  }
113
112
 
114
- class EMRServerlessServiceException extends smithyClient.ServiceException {
113
+ let EMRServerlessServiceException$1 = class EMRServerlessServiceException extends smithyClient.ServiceException {
115
114
  constructor(options) {
116
115
  super(options);
117
116
  Object.setPrototypeOf(this, EMRServerlessServiceException.prototype);
118
117
  }
119
- }
118
+ };
120
119
 
121
120
  const Architecture = {
122
121
  ARM64: "ARM64",
@@ -131,7 +130,7 @@ const ApplicationState = {
131
130
  STOPPING: "STOPPING",
132
131
  TERMINATED: "TERMINATED",
133
132
  };
134
- class ConflictException extends EMRServerlessServiceException {
133
+ let ConflictException$1 = class ConflictException extends EMRServerlessServiceException$1 {
135
134
  name = "ConflictException";
136
135
  $fault = "client";
137
136
  constructor(opts) {
@@ -142,8 +141,8 @@ class ConflictException extends EMRServerlessServiceException {
142
141
  });
143
142
  Object.setPrototypeOf(this, ConflictException.prototype);
144
143
  }
145
- }
146
- class InternalServerException extends EMRServerlessServiceException {
144
+ };
145
+ let InternalServerException$1 = class InternalServerException extends EMRServerlessServiceException$1 {
147
146
  name = "InternalServerException";
148
147
  $fault = "server";
149
148
  constructor(opts) {
@@ -154,8 +153,8 @@ class InternalServerException extends EMRServerlessServiceException {
154
153
  });
155
154
  Object.setPrototypeOf(this, InternalServerException.prototype);
156
155
  }
157
- }
158
- class ResourceNotFoundException extends EMRServerlessServiceException {
156
+ };
157
+ let ResourceNotFoundException$1 = class ResourceNotFoundException extends EMRServerlessServiceException$1 {
159
158
  name = "ResourceNotFoundException";
160
159
  $fault = "client";
161
160
  constructor(opts) {
@@ -166,8 +165,8 @@ class ResourceNotFoundException extends EMRServerlessServiceException {
166
165
  });
167
166
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
168
167
  }
169
- }
170
- class ValidationException extends EMRServerlessServiceException {
168
+ };
169
+ let ValidationException$1 = class ValidationException extends EMRServerlessServiceException$1 {
171
170
  name = "ValidationException";
172
171
  $fault = "client";
173
172
  constructor(opts) {
@@ -178,8 +177,8 @@ class ValidationException extends EMRServerlessServiceException {
178
177
  });
179
178
  Object.setPrototypeOf(this, ValidationException.prototype);
180
179
  }
181
- }
182
- class ServiceQuotaExceededException extends EMRServerlessServiceException {
180
+ };
181
+ let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extends EMRServerlessServiceException$1 {
183
182
  name = "ServiceQuotaExceededException";
184
183
  $fault = "client";
185
184
  constructor(opts) {
@@ -190,17 +189,7 @@ class ServiceQuotaExceededException extends EMRServerlessServiceException {
190
189
  });
191
190
  Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
192
191
  }
193
- }
194
- exports.JobDriver = void 0;
195
- (function (JobDriver) {
196
- JobDriver.visit = (value, visitor) => {
197
- if (value.sparkSubmit !== undefined)
198
- return visitor.sparkSubmit(value.sparkSubmit);
199
- if (value.hive !== undefined)
200
- return visitor.hive(value.hive);
201
- return visitor._(value.$unknown[0], value.$unknown[1]);
202
- };
203
- })(exports.JobDriver || (exports.JobDriver = {}));
192
+ };
204
193
  const JobRunMode = {
205
194
  BATCH: "BATCH",
206
195
  STREAMING: "STREAMING",
@@ -216,851 +205,996 @@ const JobRunState = {
216
205
  SUBMITTED: "SUBMITTED",
217
206
  SUCCESS: "SUCCESS",
218
207
  };
219
- const HiveFilterSensitiveLog = (obj) => ({
220
- ...obj,
221
- ...(obj.query && { query: smithyClient.SENSITIVE_STRING }),
222
- ...(obj.initQueryFile && { initQueryFile: smithyClient.SENSITIVE_STRING }),
223
- ...(obj.parameters && { parameters: smithyClient.SENSITIVE_STRING }),
224
- });
225
- const SparkSubmitFilterSensitiveLog = (obj) => ({
226
- ...obj,
227
- ...(obj.entryPoint && { entryPoint: smithyClient.SENSITIVE_STRING }),
228
- ...(obj.entryPointArguments && { entryPointArguments: smithyClient.SENSITIVE_STRING }),
229
- ...(obj.sparkSubmitParameters && { sparkSubmitParameters: smithyClient.SENSITIVE_STRING }),
230
- });
231
- const JobDriverFilterSensitiveLog = (obj) => {
232
- if (obj.sparkSubmit !== undefined)
233
- return { sparkSubmit: SparkSubmitFilterSensitiveLog(obj.sparkSubmit) };
234
- if (obj.hive !== undefined)
235
- return { hive: HiveFilterSensitiveLog(obj.hive) };
236
- if (obj.$unknown !== undefined)
237
- return { [obj.$unknown[0]]: "UNKNOWN" };
238
- };
239
- const ConfigurationFilterSensitiveLog = (obj) => ({
240
- ...obj,
241
- ...(obj.properties && { properties: smithyClient.SENSITIVE_STRING }),
242
- ...(obj.configurations && {
243
- configurations: obj.configurations.map((item) => ConfigurationFilterSensitiveLog(item)),
244
- }),
245
- });
246
- const ApplicationFilterSensitiveLog = (obj) => ({
247
- ...obj,
248
- ...(obj.runtimeConfiguration && {
249
- runtimeConfiguration: obj.runtimeConfiguration.map((item) => ConfigurationFilterSensitiveLog(item)),
250
- }),
251
- });
252
- const ConfigurationOverridesFilterSensitiveLog = (obj) => ({
253
- ...obj,
254
- ...(obj.applicationConfiguration && {
255
- applicationConfiguration: obj.applicationConfiguration.map((item) => ConfigurationFilterSensitiveLog(item)),
256
- }),
257
- });
258
- const CreateApplicationRequestFilterSensitiveLog = (obj) => ({
259
- ...obj,
260
- ...(obj.runtimeConfiguration && {
261
- runtimeConfiguration: obj.runtimeConfiguration.map((item) => ConfigurationFilterSensitiveLog(item)),
262
- }),
263
- });
264
- const UpdateApplicationRequestFilterSensitiveLog = (obj) => ({
265
- ...obj,
266
- ...(obj.runtimeConfiguration && {
267
- runtimeConfiguration: obj.runtimeConfiguration.map((item) => ConfigurationFilterSensitiveLog(item)),
268
- }),
269
- });
270
- const GetApplicationResponseFilterSensitiveLog = (obj) => ({
271
- ...obj,
272
- ...(obj.application && { application: ApplicationFilterSensitiveLog(obj.application) }),
273
- });
274
- const JobRunFilterSensitiveLog = (obj) => ({
275
- ...obj,
276
- ...(obj.configurationOverrides && {
277
- configurationOverrides: ConfigurationOverridesFilterSensitiveLog(obj.configurationOverrides),
278
- }),
279
- ...(obj.jobDriver && { jobDriver: JobDriverFilterSensitiveLog(obj.jobDriver) }),
280
- });
281
- const StartJobRunRequestFilterSensitiveLog = (obj) => ({
282
- ...obj,
283
- ...(obj.jobDriver && { jobDriver: JobDriverFilterSensitiveLog(obj.jobDriver) }),
284
- ...(obj.configurationOverrides && {
285
- configurationOverrides: ConfigurationOverridesFilterSensitiveLog(obj.configurationOverrides),
286
- }),
287
- });
288
- const UpdateApplicationResponseFilterSensitiveLog = (obj) => ({
289
- ...obj,
290
- ...(obj.application && { application: ApplicationFilterSensitiveLog(obj.application) }),
291
- });
292
- const GetJobRunResponseFilterSensitiveLog = (obj) => ({
293
- ...obj,
294
- ...(obj.jobRun && { jobRun: JobRunFilterSensitiveLog(obj.jobRun) }),
295
- });
296
208
 
297
- const se_CancelJobRunCommand = async (input, context) => {
298
- const b = core.requestBuilder(input, context);
299
- const headers = {};
300
- b.bp("/applications/{applicationId}/jobruns/{jobRunId}");
301
- b.p("applicationId", () => input.applicationId, "{applicationId}", false);
302
- b.p("jobRunId", () => input.jobRunId, "{jobRunId}", false);
303
- const query = smithyClient.map({
304
- [_sGPIS]: [() => input.shutdownGracePeriodInSeconds !== void 0, () => input[_sGPIS].toString()],
305
- });
306
- let body;
307
- b.m("DELETE").h(headers).q(query).b(body);
308
- return b.build();
309
- };
310
- const se_CreateApplicationCommand = async (input, context) => {
311
- const b = core.requestBuilder(input, context);
312
- const headers = {
313
- "content-type": "application/json",
314
- };
315
- b.bp("/applications");
316
- let body;
317
- body = JSON.stringify(smithyClient.take(input, {
318
- architecture: [],
319
- autoStartConfiguration: (_) => smithyClient._json(_),
320
- autoStopConfiguration: (_) => smithyClient._json(_),
321
- clientToken: [true, (_) => _ ?? uuid.v4()],
322
- identityCenterConfiguration: (_) => smithyClient._json(_),
323
- imageConfiguration: (_) => smithyClient._json(_),
324
- initialCapacity: (_) => smithyClient._json(_),
325
- interactiveConfiguration: (_) => smithyClient._json(_),
326
- maximumCapacity: (_) => smithyClient._json(_),
327
- monitoringConfiguration: (_) => smithyClient._json(_),
328
- name: [],
329
- networkConfiguration: (_) => smithyClient._json(_),
330
- releaseLabel: [],
331
- runtimeConfiguration: (_) => se_ConfigurationList(_),
332
- schedulerConfiguration: (_) => smithyClient._json(_),
333
- tags: (_) => smithyClient._json(_),
334
- type: [],
335
- workerTypeSpecifications: (_) => smithyClient._json(_),
336
- }));
337
- b.m("POST").h(headers).b(body);
338
- return b.build();
339
- };
340
- const se_DeleteApplicationCommand = async (input, context) => {
341
- const b = core.requestBuilder(input, context);
342
- const headers = {};
343
- b.bp("/applications/{applicationId}");
344
- b.p("applicationId", () => input.applicationId, "{applicationId}", false);
345
- let body;
346
- b.m("DELETE").h(headers).b(body);
347
- return b.build();
348
- };
349
- const se_GetApplicationCommand = async (input, context) => {
350
- const b = core.requestBuilder(input, context);
351
- const headers = {};
352
- b.bp("/applications/{applicationId}");
353
- b.p("applicationId", () => input.applicationId, "{applicationId}", false);
354
- let body;
355
- b.m("GET").h(headers).b(body);
356
- return b.build();
357
- };
358
- const se_GetDashboardForJobRunCommand = async (input, context) => {
359
- const b = core.requestBuilder(input, context);
360
- const headers = {};
361
- b.bp("/applications/{applicationId}/jobruns/{jobRunId}/dashboard");
362
- b.p("applicationId", () => input.applicationId, "{applicationId}", false);
363
- b.p("jobRunId", () => input.jobRunId, "{jobRunId}", false);
364
- const query = smithyClient.map({
365
- [_a]: [() => input.attempt !== void 0, () => input[_a].toString()],
366
- [_aSPL]: [() => input.accessSystemProfileLogs !== void 0, () => input[_aSPL].toString()],
367
- });
368
- let body;
369
- b.m("GET").h(headers).q(query).b(body);
370
- return b.build();
371
- };
372
- const se_GetJobRunCommand = async (input, context) => {
373
- const b = core.requestBuilder(input, context);
374
- const headers = {};
375
- b.bp("/applications/{applicationId}/jobruns/{jobRunId}");
376
- b.p("applicationId", () => input.applicationId, "{applicationId}", false);
377
- b.p("jobRunId", () => input.jobRunId, "{jobRunId}", false);
378
- const query = smithyClient.map({
379
- [_a]: [() => input.attempt !== void 0, () => input[_a].toString()],
380
- });
381
- let body;
382
- b.m("GET").h(headers).q(query).b(body);
383
- return b.build();
384
- };
385
- const se_ListApplicationsCommand = async (input, context) => {
386
- const b = core.requestBuilder(input, context);
387
- const headers = {};
388
- b.bp("/applications");
389
- const query = smithyClient.map({
390
- [_nT]: [, input[_nT]],
391
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
392
- [_s]: [() => input.states !== void 0, () => input[_s] || []],
393
- });
394
- let body;
395
- b.m("GET").h(headers).q(query).b(body);
396
- return b.build();
397
- };
398
- const se_ListJobRunAttemptsCommand = async (input, context) => {
399
- const b = core.requestBuilder(input, context);
400
- const headers = {};
401
- b.bp("/applications/{applicationId}/jobruns/{jobRunId}/attempts");
402
- b.p("applicationId", () => input.applicationId, "{applicationId}", false);
403
- b.p("jobRunId", () => input.jobRunId, "{jobRunId}", false);
404
- const query = smithyClient.map({
405
- [_nT]: [, input[_nT]],
406
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
407
- });
408
- let body;
409
- b.m("GET").h(headers).q(query).b(body);
410
- return b.build();
411
- };
412
- const se_ListJobRunsCommand = async (input, context) => {
413
- const b = core.requestBuilder(input, context);
414
- const headers = {};
415
- b.bp("/applications/{applicationId}/jobruns");
416
- b.p("applicationId", () => input.applicationId, "{applicationId}", false);
417
- const query = smithyClient.map({
418
- [_nT]: [, input[_nT]],
419
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
420
- [_cAA]: [() => input.createdAtAfter !== void 0, () => smithyClient.serializeDateTime(input[_cAA]).toString()],
421
- [_cAB]: [() => input.createdAtBefore !== void 0, () => smithyClient.serializeDateTime(input[_cAB]).toString()],
422
- [_s]: [() => input.states !== void 0, () => input[_s] || []],
423
- [_m]: [, input[_m]],
424
- });
425
- let body;
426
- b.m("GET").h(headers).q(query).b(body);
427
- return b.build();
428
- };
429
- const se_ListTagsForResourceCommand = async (input, context) => {
430
- const b = core.requestBuilder(input, context);
431
- const headers = {};
432
- b.bp("/tags/{resourceArn}");
433
- b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
434
- let body;
435
- b.m("GET").h(headers).b(body);
436
- return b.build();
437
- };
438
- const se_StartApplicationCommand = async (input, context) => {
439
- const b = core.requestBuilder(input, context);
440
- const headers = {};
441
- b.bp("/applications/{applicationId}/start");
442
- b.p("applicationId", () => input.applicationId, "{applicationId}", false);
443
- let body;
444
- b.m("POST").h(headers).b(body);
445
- return b.build();
446
- };
447
- const se_StartJobRunCommand = async (input, context) => {
448
- const b = core.requestBuilder(input, context);
449
- const headers = {
450
- "content-type": "application/json",
451
- };
452
- b.bp("/applications/{applicationId}/jobruns");
453
- b.p("applicationId", () => input.applicationId, "{applicationId}", false);
454
- let body;
455
- body = JSON.stringify(smithyClient.take(input, {
456
- clientToken: [true, (_) => _ ?? uuid.v4()],
457
- configurationOverrides: (_) => se_ConfigurationOverrides(_),
458
- executionIamPolicy: (_) => smithyClient._json(_),
459
- executionRoleArn: [],
460
- executionTimeoutMinutes: [],
461
- jobDriver: (_) => smithyClient._json(_),
462
- mode: [],
463
- name: [],
464
- retryPolicy: (_) => smithyClient._json(_),
465
- tags: (_) => smithyClient._json(_),
466
- }));
467
- b.m("POST").h(headers).b(body);
468
- return b.build();
469
- };
470
- const se_StopApplicationCommand = async (input, context) => {
471
- const b = core.requestBuilder(input, context);
472
- const headers = {};
473
- b.bp("/applications/{applicationId}/stop");
474
- b.p("applicationId", () => input.applicationId, "{applicationId}", false);
475
- let body;
476
- b.m("POST").h(headers).b(body);
477
- return b.build();
478
- };
479
- const se_TagResourceCommand = async (input, context) => {
480
- const b = core.requestBuilder(input, context);
481
- const headers = {
482
- "content-type": "application/json",
483
- };
484
- b.bp("/tags/{resourceArn}");
485
- b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
486
- let body;
487
- body = JSON.stringify(smithyClient.take(input, {
488
- tags: (_) => smithyClient._json(_),
489
- }));
490
- b.m("POST").h(headers).b(body);
491
- return b.build();
492
- };
493
- const se_UntagResourceCommand = async (input, context) => {
494
- const b = core.requestBuilder(input, context);
495
- const headers = {};
496
- b.bp("/tags/{resourceArn}");
497
- b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
498
- const query = smithyClient.map({
499
- [_tK]: [smithyClient.expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []],
500
- });
501
- let body;
502
- b.m("DELETE").h(headers).q(query).b(body);
503
- return b.build();
504
- };
505
- const se_UpdateApplicationCommand = async (input, context) => {
506
- const b = core.requestBuilder(input, context);
507
- const headers = {
508
- "content-type": "application/json",
509
- };
510
- b.bp("/applications/{applicationId}");
511
- b.p("applicationId", () => input.applicationId, "{applicationId}", false);
512
- let body;
513
- body = JSON.stringify(smithyClient.take(input, {
514
- architecture: [],
515
- autoStartConfiguration: (_) => smithyClient._json(_),
516
- autoStopConfiguration: (_) => smithyClient._json(_),
517
- clientToken: [true, (_) => _ ?? uuid.v4()],
518
- identityCenterConfiguration: (_) => smithyClient._json(_),
519
- imageConfiguration: (_) => smithyClient._json(_),
520
- initialCapacity: (_) => smithyClient._json(_),
521
- interactiveConfiguration: (_) => smithyClient._json(_),
522
- maximumCapacity: (_) => smithyClient._json(_),
523
- monitoringConfiguration: (_) => smithyClient._json(_),
524
- networkConfiguration: (_) => smithyClient._json(_),
525
- releaseLabel: [],
526
- runtimeConfiguration: (_) => se_ConfigurationList(_),
527
- schedulerConfiguration: (_) => smithyClient._json(_),
528
- workerTypeSpecifications: (_) => smithyClient._json(_),
529
- }));
530
- b.m("PATCH").h(headers).b(body);
531
- return b.build();
532
- };
533
- const de_CancelJobRunCommand = async (output, context) => {
534
- if (output.statusCode !== 200 && output.statusCode >= 300) {
535
- return de_CommandError(output, context);
536
- }
537
- const contents = smithyClient.map({
538
- $metadata: deserializeMetadata(output),
539
- });
540
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
541
- const doc = smithyClient.take(data, {
542
- applicationId: smithyClient.expectString,
543
- jobRunId: smithyClient.expectString,
544
- });
545
- Object.assign(contents, doc);
546
- return contents;
547
- };
548
- const de_CreateApplicationCommand = async (output, context) => {
549
- if (output.statusCode !== 200 && output.statusCode >= 300) {
550
- return de_CommandError(output, context);
551
- }
552
- const contents = smithyClient.map({
553
- $metadata: deserializeMetadata(output),
554
- });
555
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
556
- const doc = smithyClient.take(data, {
557
- applicationId: smithyClient.expectString,
558
- arn: smithyClient.expectString,
559
- name: smithyClient.expectString,
560
- });
561
- Object.assign(contents, doc);
562
- return contents;
563
- };
564
- const de_DeleteApplicationCommand = async (output, context) => {
565
- if (output.statusCode !== 200 && output.statusCode >= 300) {
566
- return de_CommandError(output, context);
567
- }
568
- const contents = smithyClient.map({
569
- $metadata: deserializeMetadata(output),
570
- });
571
- await smithyClient.collectBody(output.body, context);
572
- return contents;
573
- };
574
- const de_GetApplicationCommand = async (output, context) => {
575
- if (output.statusCode !== 200 && output.statusCode >= 300) {
576
- return de_CommandError(output, context);
577
- }
578
- const contents = smithyClient.map({
579
- $metadata: deserializeMetadata(output),
580
- });
581
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
582
- const doc = smithyClient.take(data, {
583
- application: (_) => de_Application(_),
584
- });
585
- Object.assign(contents, doc);
586
- return contents;
587
- };
588
- const de_GetDashboardForJobRunCommand = async (output, context) => {
589
- if (output.statusCode !== 200 && output.statusCode >= 300) {
590
- return de_CommandError(output, context);
591
- }
592
- const contents = smithyClient.map({
593
- $metadata: deserializeMetadata(output),
594
- });
595
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
596
- const doc = smithyClient.take(data, {
597
- url: smithyClient.expectString,
598
- });
599
- Object.assign(contents, doc);
600
- return contents;
601
- };
602
- const de_GetJobRunCommand = async (output, context) => {
603
- if (output.statusCode !== 200 && output.statusCode >= 300) {
604
- return de_CommandError(output, context);
605
- }
606
- const contents = smithyClient.map({
607
- $metadata: deserializeMetadata(output),
608
- });
609
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
610
- const doc = smithyClient.take(data, {
611
- jobRun: (_) => de_JobRun(_),
612
- });
613
- Object.assign(contents, doc);
614
- return contents;
615
- };
616
- const de_ListApplicationsCommand = async (output, context) => {
617
- if (output.statusCode !== 200 && output.statusCode >= 300) {
618
- return de_CommandError(output, context);
619
- }
620
- const contents = smithyClient.map({
621
- $metadata: deserializeMetadata(output),
622
- });
623
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
624
- const doc = smithyClient.take(data, {
625
- applications: (_) => de_ApplicationList(_),
626
- nextToken: smithyClient.expectString,
627
- });
628
- Object.assign(contents, doc);
629
- return contents;
630
- };
631
- const de_ListJobRunAttemptsCommand = async (output, context) => {
632
- if (output.statusCode !== 200 && output.statusCode >= 300) {
633
- return de_CommandError(output, context);
634
- }
635
- const contents = smithyClient.map({
636
- $metadata: deserializeMetadata(output),
637
- });
638
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
639
- const doc = smithyClient.take(data, {
640
- jobRunAttempts: (_) => de_JobRunAttempts(_),
641
- nextToken: smithyClient.expectString,
642
- });
643
- Object.assign(contents, doc);
644
- return contents;
645
- };
646
- const de_ListJobRunsCommand = async (output, context) => {
647
- if (output.statusCode !== 200 && output.statusCode >= 300) {
648
- return de_CommandError(output, context);
649
- }
650
- const contents = smithyClient.map({
651
- $metadata: deserializeMetadata(output),
652
- });
653
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
654
- const doc = smithyClient.take(data, {
655
- jobRuns: (_) => de_JobRuns(_),
656
- nextToken: smithyClient.expectString,
657
- });
658
- Object.assign(contents, doc);
659
- return contents;
660
- };
661
- const de_ListTagsForResourceCommand = async (output, context) => {
662
- if (output.statusCode !== 200 && output.statusCode >= 300) {
663
- return de_CommandError(output, context);
664
- }
665
- const contents = smithyClient.map({
666
- $metadata: deserializeMetadata(output),
667
- });
668
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
669
- const doc = smithyClient.take(data, {
670
- tags: smithyClient._json,
671
- });
672
- Object.assign(contents, doc);
673
- return contents;
674
- };
675
- const de_StartApplicationCommand = async (output, context) => {
676
- if (output.statusCode !== 200 && output.statusCode >= 300) {
677
- return de_CommandError(output, context);
678
- }
679
- const contents = smithyClient.map({
680
- $metadata: deserializeMetadata(output),
681
- });
682
- await smithyClient.collectBody(output.body, context);
683
- return contents;
684
- };
685
- const de_StartJobRunCommand = async (output, context) => {
686
- if (output.statusCode !== 200 && output.statusCode >= 300) {
687
- return de_CommandError(output, context);
688
- }
689
- const contents = smithyClient.map({
690
- $metadata: deserializeMetadata(output),
691
- });
692
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
693
- const doc = smithyClient.take(data, {
694
- applicationId: smithyClient.expectString,
695
- arn: smithyClient.expectString,
696
- jobRunId: smithyClient.expectString,
697
- });
698
- Object.assign(contents, doc);
699
- return contents;
700
- };
701
- const de_StopApplicationCommand = async (output, context) => {
702
- if (output.statusCode !== 200 && output.statusCode >= 300) {
703
- return de_CommandError(output, context);
704
- }
705
- const contents = smithyClient.map({
706
- $metadata: deserializeMetadata(output),
707
- });
708
- await smithyClient.collectBody(output.body, context);
709
- return contents;
710
- };
711
- const de_TagResourceCommand = async (output, context) => {
712
- if (output.statusCode !== 200 && output.statusCode >= 300) {
713
- return de_CommandError(output, context);
714
- }
715
- const contents = smithyClient.map({
716
- $metadata: deserializeMetadata(output),
717
- });
718
- await smithyClient.collectBody(output.body, context);
719
- return contents;
720
- };
721
- const de_UntagResourceCommand = async (output, context) => {
722
- if (output.statusCode !== 200 && output.statusCode >= 300) {
723
- return de_CommandError(output, context);
724
- }
725
- const contents = smithyClient.map({
726
- $metadata: deserializeMetadata(output),
727
- });
728
- await smithyClient.collectBody(output.body, context);
729
- return contents;
730
- };
731
- const de_UpdateApplicationCommand = async (output, context) => {
732
- if (output.statusCode !== 200 && output.statusCode >= 300) {
733
- return de_CommandError(output, context);
734
- }
735
- const contents = smithyClient.map({
736
- $metadata: deserializeMetadata(output),
737
- });
738
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
739
- const doc = smithyClient.take(data, {
740
- application: (_) => de_Application(_),
741
- });
742
- Object.assign(contents, doc);
743
- return contents;
744
- };
745
- const de_CommandError = async (output, context) => {
746
- const parsedOutput = {
747
- ...output,
748
- body: await core$1.parseJsonErrorBody(output.body, context),
749
- };
750
- const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
751
- switch (errorCode) {
752
- case "InternalServerException":
753
- case "com.amazonaws.emrserverless#InternalServerException":
754
- throw await de_InternalServerExceptionRes(parsedOutput);
755
- case "ResourceNotFoundException":
756
- case "com.amazonaws.emrserverless#ResourceNotFoundException":
757
- throw await de_ResourceNotFoundExceptionRes(parsedOutput);
758
- case "ValidationException":
759
- case "com.amazonaws.emrserverless#ValidationException":
760
- throw await de_ValidationExceptionRes(parsedOutput);
761
- case "ConflictException":
762
- case "com.amazonaws.emrserverless#ConflictException":
763
- throw await de_ConflictExceptionRes(parsedOutput);
764
- case "ServiceQuotaExceededException":
765
- case "com.amazonaws.emrserverless#ServiceQuotaExceededException":
766
- throw await de_ServiceQuotaExceededExceptionRes(parsedOutput);
767
- default:
768
- const parsedBody = parsedOutput.body;
769
- return throwDefaultError({
770
- output,
771
- parsedBody,
772
- errorCode,
773
- });
774
- }
775
- };
776
- const throwDefaultError = smithyClient.withBaseException(EMRServerlessServiceException);
777
- const de_ConflictExceptionRes = async (parsedOutput, context) => {
778
- const contents = smithyClient.map({});
779
- const data = parsedOutput.body;
780
- const doc = smithyClient.take(data, {
781
- message: smithyClient.expectString,
782
- });
783
- Object.assign(contents, doc);
784
- const exception = new ConflictException({
785
- $metadata: deserializeMetadata(parsedOutput),
786
- ...contents,
787
- });
788
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
789
- };
790
- const de_InternalServerExceptionRes = async (parsedOutput, context) => {
791
- const contents = smithyClient.map({});
792
- const data = parsedOutput.body;
793
- const doc = smithyClient.take(data, {
794
- message: smithyClient.expectString,
795
- });
796
- Object.assign(contents, doc);
797
- const exception = new InternalServerException({
798
- $metadata: deserializeMetadata(parsedOutput),
799
- ...contents,
800
- });
801
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
802
- };
803
- const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
804
- const contents = smithyClient.map({});
805
- const data = parsedOutput.body;
806
- const doc = smithyClient.take(data, {
807
- message: smithyClient.expectString,
808
- });
809
- Object.assign(contents, doc);
810
- const exception = new ResourceNotFoundException({
811
- $metadata: deserializeMetadata(parsedOutput),
812
- ...contents,
813
- });
814
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
815
- };
816
- const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
817
- const contents = smithyClient.map({});
818
- const data = parsedOutput.body;
819
- const doc = smithyClient.take(data, {
820
- message: smithyClient.expectString,
821
- });
822
- Object.assign(contents, doc);
823
- const exception = new ServiceQuotaExceededException({
824
- $metadata: deserializeMetadata(parsedOutput),
825
- ...contents,
826
- });
827
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
828
- };
829
- const de_ValidationExceptionRes = async (parsedOutput, context) => {
830
- const contents = smithyClient.map({});
831
- const data = parsedOutput.body;
832
- const doc = smithyClient.take(data, {
833
- message: smithyClient.expectString,
834
- });
835
- Object.assign(contents, doc);
836
- const exception = new ValidationException({
837
- $metadata: deserializeMetadata(parsedOutput),
838
- ...contents,
839
- });
840
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
841
- };
842
- const se_Configuration = (input, context) => {
843
- return smithyClient.take(input, {
844
- classification: [],
845
- configurations: (_) => se_ConfigurationList(_),
846
- properties: smithyClient._json,
847
- });
848
- };
849
- const se_ConfigurationList = (input, context) => {
850
- return input
851
- .filter((e) => e != null)
852
- .map((entry) => {
853
- return se_Configuration(entry);
854
- });
855
- };
856
- const se_ConfigurationOverrides = (input, context) => {
857
- return smithyClient.take(input, {
858
- applicationConfiguration: (_) => se_ConfigurationList(_),
859
- monitoringConfiguration: smithyClient._json,
860
- });
861
- };
862
- const de_Application = (output, context) => {
863
- return smithyClient.take(output, {
864
- applicationId: smithyClient.expectString,
865
- architecture: smithyClient.expectString,
866
- arn: smithyClient.expectString,
867
- autoStartConfiguration: smithyClient._json,
868
- autoStopConfiguration: smithyClient._json,
869
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
870
- identityCenterConfiguration: smithyClient._json,
871
- imageConfiguration: smithyClient._json,
872
- initialCapacity: smithyClient._json,
873
- interactiveConfiguration: smithyClient._json,
874
- maximumCapacity: smithyClient._json,
875
- monitoringConfiguration: smithyClient._json,
876
- name: smithyClient.expectString,
877
- networkConfiguration: smithyClient._json,
878
- releaseLabel: smithyClient.expectString,
879
- runtimeConfiguration: (_) => de_ConfigurationList(_),
880
- schedulerConfiguration: smithyClient._json,
881
- state: smithyClient.expectString,
882
- stateDetails: smithyClient.expectString,
883
- tags: smithyClient._json,
884
- type: smithyClient.expectString,
885
- updatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
886
- workerTypeSpecifications: smithyClient._json,
887
- });
888
- };
889
- const de_ApplicationList = (output, context) => {
890
- const retVal = (output || [])
891
- .filter((e) => e != null)
892
- .map((entry) => {
893
- return de_ApplicationSummary(entry);
894
- });
895
- return retVal;
896
- };
897
- const de_ApplicationSummary = (output, context) => {
898
- return smithyClient.take(output, {
899
- architecture: smithyClient.expectString,
900
- arn: smithyClient.expectString,
901
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
902
- id: smithyClient.expectString,
903
- name: smithyClient.expectString,
904
- releaseLabel: smithyClient.expectString,
905
- state: smithyClient.expectString,
906
- stateDetails: smithyClient.expectString,
907
- type: smithyClient.expectString,
908
- updatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
909
- });
910
- };
911
- const de_Configuration = (output, context) => {
912
- return smithyClient.take(output, {
913
- classification: smithyClient.expectString,
914
- configurations: (_) => de_ConfigurationList(_),
915
- properties: smithyClient._json,
916
- });
917
- };
918
- const de_ConfigurationList = (output, context) => {
919
- const retVal = (output || [])
920
- .filter((e) => e != null)
921
- .map((entry) => {
922
- return de_Configuration(entry);
923
- });
924
- return retVal;
925
- };
926
- const de_ConfigurationOverrides = (output, context) => {
927
- return smithyClient.take(output, {
928
- applicationConfiguration: (_) => de_ConfigurationList(_),
929
- monitoringConfiguration: smithyClient._json,
930
- });
931
- };
932
- const de_JobRun = (output, context) => {
933
- return smithyClient.take(output, {
934
- applicationId: smithyClient.expectString,
935
- arn: smithyClient.expectString,
936
- attempt: smithyClient.expectInt32,
937
- attemptCreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
938
- attemptUpdatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
939
- billedResourceUtilization: (_) => de_ResourceUtilization(_),
940
- configurationOverrides: (_) => de_ConfigurationOverrides(_),
941
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
942
- createdBy: smithyClient.expectString,
943
- endedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
944
- executionIamPolicy: smithyClient._json,
945
- executionRole: smithyClient.expectString,
946
- executionTimeoutMinutes: smithyClient.expectLong,
947
- jobDriver: (_) => smithyClient._json(core$1.awsExpectUnion(_)),
948
- jobRunId: smithyClient.expectString,
949
- mode: smithyClient.expectString,
950
- name: smithyClient.expectString,
951
- networkConfiguration: smithyClient._json,
952
- queuedDurationMilliseconds: smithyClient.expectLong,
953
- releaseLabel: smithyClient.expectString,
954
- retryPolicy: smithyClient._json,
955
- startedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
956
- state: smithyClient.expectString,
957
- stateDetails: smithyClient.expectString,
958
- tags: smithyClient._json,
959
- totalExecutionDurationSeconds: smithyClient.expectInt32,
960
- totalResourceUtilization: (_) => de_TotalResourceUtilization(_),
961
- updatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
962
- });
963
- };
964
- const de_JobRunAttempts = (output, context) => {
965
- const retVal = (output || [])
966
- .filter((e) => e != null)
967
- .map((entry) => {
968
- return de_JobRunAttemptSummary(entry);
969
- });
970
- return retVal;
971
- };
972
- const de_JobRunAttemptSummary = (output, context) => {
973
- return smithyClient.take(output, {
974
- applicationId: smithyClient.expectString,
975
- arn: smithyClient.expectString,
976
- attempt: smithyClient.expectInt32,
977
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
978
- createdBy: smithyClient.expectString,
979
- executionRole: smithyClient.expectString,
980
- id: smithyClient.expectString,
981
- jobCreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
982
- mode: smithyClient.expectString,
983
- name: smithyClient.expectString,
984
- releaseLabel: smithyClient.expectString,
985
- state: smithyClient.expectString,
986
- stateDetails: smithyClient.expectString,
987
- type: smithyClient.expectString,
988
- updatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
989
- });
990
- };
991
- const de_JobRuns = (output, context) => {
992
- const retVal = (output || [])
993
- .filter((e) => e != null)
994
- .map((entry) => {
995
- return de_JobRunSummary(entry);
996
- });
997
- return retVal;
998
- };
999
- const de_JobRunSummary = (output, context) => {
1000
- return smithyClient.take(output, {
1001
- applicationId: smithyClient.expectString,
1002
- arn: smithyClient.expectString,
1003
- attempt: smithyClient.expectInt32,
1004
- attemptCreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1005
- attemptUpdatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1006
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1007
- createdBy: smithyClient.expectString,
1008
- executionRole: smithyClient.expectString,
1009
- id: smithyClient.expectString,
1010
- mode: smithyClient.expectString,
1011
- name: smithyClient.expectString,
1012
- releaseLabel: smithyClient.expectString,
1013
- state: smithyClient.expectString,
1014
- stateDetails: smithyClient.expectString,
1015
- type: smithyClient.expectString,
1016
- updatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1017
- });
1018
- };
1019
- const de_ResourceUtilization = (output, context) => {
1020
- return smithyClient.take(output, {
1021
- memoryGBHour: smithyClient.limitedParseDouble,
1022
- storageGBHour: smithyClient.limitedParseDouble,
1023
- vCPUHour: smithyClient.limitedParseDouble,
1024
- });
1025
- };
1026
- const de_TotalResourceUtilization = (output, context) => {
1027
- return smithyClient.take(output, {
1028
- memoryGBHour: smithyClient.limitedParseDouble,
1029
- storageGBHour: smithyClient.limitedParseDouble,
1030
- vCPUHour: smithyClient.limitedParseDouble,
1031
- });
1032
- };
1033
- const deserializeMetadata = (output) => ({
1034
- httpStatusCode: output.statusCode,
1035
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1036
- extendedRequestId: output.headers["x-amz-id-2"],
1037
- cfId: output.headers["x-amz-cf-id"],
1038
- });
1039
- const _a = "attempt";
209
+ const _A = "Application";
210
+ const _AL = "ApplicationList";
211
+ const _AS = "ApplicationSummary";
212
+ const _ASC = "AutoStartConfig";
213
+ const _ASCu = "AutoStopConfig";
214
+ const _C = "Configuration";
215
+ const _CA = "CreateApplication";
216
+ const _CAR = "CreateApplicationRequest";
217
+ const _CARr = "CreateApplicationResponse";
218
+ const _CE = "ConflictException";
219
+ const _CJR = "CancelJobRun";
220
+ const _CJRR = "CancelJobRunRequest";
221
+ const _CJRRa = "CancelJobRunResponse";
222
+ const _CL = "ConfigurationList";
223
+ const _CO = "ConfigurationOverrides";
224
+ const _CWLC = "CloudWatchLoggingConfiguration";
225
+ const _DA = "DeleteApplication";
226
+ const _DAR = "DeleteApplicationRequest";
227
+ const _DARe = "DeleteApplicationResponse";
228
+ const _EPA = "EntryPointArgument";
229
+ const _EPAn = "EntryPointArguments";
230
+ const _EPP = "EntryPointPath";
231
+ const _GA = "GetApplication";
232
+ const _GAR = "GetApplicationRequest";
233
+ const _GARe = "GetApplicationResponse";
234
+ const _GDFJR = "GetDashboardForJobRun";
235
+ const _GDFJRR = "GetDashboardForJobRunRequest";
236
+ const _GDFJRRe = "GetDashboardForJobRunResponse";
237
+ const _GJR = "GetJobRun";
238
+ const _GJRR = "GetJobRunRequest";
239
+ const _GJRRe = "GetJobRunResponse";
240
+ const _H = "Hive";
241
+ const _HCP = "HiveCliParameters";
242
+ const _IC = "ImageConfiguration";
243
+ const _ICC = "IdentityCenterConfiguration";
244
+ const _ICCI = "IdentityCenterConfigurationInput";
245
+ const _ICCM = "InitialCapacityConfigMap";
246
+ const _ICCn = "InitialCapacityConfig";
247
+ const _ICI = "ImageConfigurationInput";
248
+ const _ICn = "InteractiveConfiguration";
249
+ const _ISE = "InternalServerException";
250
+ const _ISP = "InitScriptPath";
251
+ const _JD = "JobDriver";
252
+ const _JR = "JobRun";
253
+ const _JRA = "JobRunAttempts";
254
+ const _JRAS = "JobRunAttemptSummary";
255
+ const _JREIP = "JobRunExecutionIamPolicy";
256
+ const _JRS = "JobRunSummary";
257
+ const _JRo = "JobRuns";
258
+ const _LA = "ListApplications";
259
+ const _LAR = "ListApplicationsRequest";
260
+ const _LARi = "ListApplicationsResponse";
261
+ const _LJR = "ListJobRuns";
262
+ const _LJRA = "ListJobRunAttempts";
263
+ const _LJRAR = "ListJobRunAttemptsRequest";
264
+ const _LJRARi = "ListJobRunAttemptsResponse";
265
+ const _LJRR = "ListJobRunsRequest";
266
+ const _LJRRi = "ListJobRunsResponse";
267
+ const _LTFR = "ListTagsForResource";
268
+ const _LTFRR = "ListTagsForResourceRequest";
269
+ const _LTFRRi = "ListTagsForResourceResponse";
270
+ const _LTM = "LogTypeMap";
271
+ const _MAR = "MaximumAllowedResources";
272
+ const _MC = "MonitoringConfiguration";
273
+ const _MPMC = "ManagedPersistenceMonitoringConfiguration";
274
+ const _NC = "NetworkConfiguration";
275
+ const _PMC = "PrometheusMonitoringConfiguration";
276
+ const _Q = "Query";
277
+ const _RNFE = "ResourceNotFoundException";
278
+ const _RP = "RetryPolicy";
279
+ const _RU = "ResourceUtilization";
280
+ const _SA = "StartApplication";
281
+ const _SAR = "StartApplicationRequest";
282
+ const _SARt = "StartApplicationResponse";
283
+ const _SARto = "StopApplicationRequest";
284
+ const _SARtop = "StopApplicationResponse";
285
+ const _SAt = "StopApplication";
286
+ const _SC = "SchedulerConfiguration";
287
+ const _SJR = "StartJobRun";
288
+ const _SJRR = "StartJobRunRequest";
289
+ const _SJRRt = "StartJobRunResponse";
290
+ const _SMC = "S3MonitoringConfiguration";
291
+ const _SPM = "SensitivePropertiesMap";
292
+ const _SQEE = "ServiceQuotaExceededException";
293
+ const _SS = "SparkSubmit";
294
+ const _SSP = "SparkSubmitParameters";
295
+ const _TR = "TagResource";
296
+ const _TRR = "TagResourceRequest";
297
+ const _TRRa = "TagResourceResponse";
298
+ const _TRU = "TotalResourceUtilization";
299
+ const _UA = "UpdateApplication";
300
+ const _UAR = "UpdateApplicationRequest";
301
+ const _UARp = "UpdateApplicationResponse";
302
+ const _UR = "UntagResource";
303
+ const _URR = "UntagResourceRequest";
304
+ const _URRn = "UntagResourceResponse";
305
+ const _VE = "ValidationException";
306
+ const _WRC = "WorkerResourceConfig";
307
+ const _WTS = "WorkerTypeSpecification";
308
+ const _WTSI = "WorkerTypeSpecificationInput";
309
+ const _WTSIM = "WorkerTypeSpecificationInputMap";
310
+ const _WTSM = "WorkerTypeSpecificationMap";
311
+ const _a = "arn";
312
+ const _aC = "applicationConfiguration";
313
+ const _aCA = "attemptCreatedAt";
314
+ const _aI = "applicationId";
315
+ const _aSC = "autoStartConfiguration";
316
+ const _aSCu = "autoStopConfiguration";
1040
317
  const _aSPL = "accessSystemProfileLogs";
318
+ const _aUA = "attemptUpdatedAt";
319
+ const _ap = "application";
320
+ const _app = "applications";
321
+ const _ar = "architecture";
322
+ const _at = "attempt";
323
+ const _bRU = "billedResourceUtilization";
324
+ const _c = "classification";
325
+ const _cA = "createdAt";
1041
326
  const _cAA = "createdAtAfter";
1042
327
  const _cAB = "createdAtBefore";
1043
- const _m = "mode";
328
+ const _cB = "createdBy";
329
+ const _cO = "configurationOverrides";
330
+ const _cT = "clientToken";
331
+ const _cWLC = "cloudWatchLoggingConfiguration";
332
+ const _cl = "client";
333
+ const _co = "configurations";
334
+ const _cp = "cpu";
335
+ const _d = "disk";
336
+ const _dT = "diskType";
337
+ const _e = "enabled";
338
+ const _eA = "endedAt";
339
+ const _eIP = "executionIamPolicy";
340
+ const _eKA = "encryptionKeyArn";
341
+ const _eP = "entryPoint";
342
+ const _ePA = "entryPointArguments";
343
+ const _eR = "executionRole";
344
+ const _eRA = "executionRoleArn";
345
+ const _eTM = "executionTimeoutMinutes";
346
+ const _er = "error";
347
+ const _h = "hive";
348
+ const _hE = "httpError";
349
+ const _hQ = "httpQuery";
350
+ const _ht = "http";
351
+ const _i = "id";
352
+ const _iC = "initialCapacity";
353
+ const _iCAA = "identityCenterApplicationArn";
354
+ const _iCC = "identityCenterConfiguration";
355
+ const _iCIA = "identityCenterInstanceArn";
356
+ const _iCm = "imageConfiguration";
357
+ const _iCn = "interactiveConfiguration";
358
+ const _iQF = "initQueryFile";
359
+ const _iTM = "idleTimeoutMinutes";
360
+ const _iU = "imageUri";
361
+ const _jCA = "jobCreatedAt";
362
+ const _jD = "jobDriver";
363
+ const _jR = "jobRun";
364
+ const _jRA = "jobRunAttempts";
365
+ const _jRI = "jobRunId";
366
+ const _jRo = "jobRuns";
367
+ const _lEE = "livyEndpointEnabled";
368
+ const _lGN = "logGroupName";
369
+ const _lSNP = "logStreamNamePrefix";
370
+ const _lT = "logTypes";
371
+ const _lU = "logUri";
372
+ const _m = "message";
373
+ const _mA = "maxAttempts";
374
+ const _mC = "maximumCapacity";
375
+ const _mCR = "maxConcurrentRuns";
376
+ const _mCo = "monitoringConfiguration";
377
+ const _mFAPH = "maxFailedAttemptsPerHour";
378
+ const _mGBH = "memoryGBHour";
379
+ const _mPMC = "managedPersistenceMonitoringConfiguration";
1044
380
  const _mR = "maxResults";
381
+ const _me = "memory";
382
+ const _mo = "mode";
383
+ const _n = "name";
384
+ const _nC = "networkConfiguration";
1045
385
  const _nT = "nextToken";
1046
- const _s = "states";
386
+ const _p = "properties";
387
+ const _pA = "policyArns";
388
+ const _pMC = "prometheusMonitoringConfiguration";
389
+ const _pa = "parameters";
390
+ const _po = "policy";
391
+ const _q = "query";
392
+ const _qDM = "queuedDurationMilliseconds";
393
+ const _qTM = "queueTimeoutMinutes";
394
+ const _rA = "resourceArn";
395
+ const _rC = "runtimeConfiguration";
396
+ const _rID = "resolvedImageDigest";
397
+ const _rL = "releaseLabel";
398
+ const _rP = "retryPolicy";
399
+ const _rWU = "remoteWriteUrl";
400
+ const _s = "state";
401
+ const _sA = "startedAt";
402
+ const _sC = "schedulerConfiguration";
403
+ const _sD = "stateDetails";
404
+ const _sE = "studioEnabled";
405
+ const _sGBH = "storageGBHour";
406
+ const _sGI = "securityGroupIds";
1047
407
  const _sGPIS = "shutdownGracePeriodInSeconds";
408
+ const _sI = "subnetIds";
409
+ const _sMC = "s3MonitoringConfiguration";
410
+ const _sS = "sparkSubmit";
411
+ const _sSP = "sparkSubmitParameters";
412
+ const _se = "server";
413
+ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.emrserverless";
414
+ const _st = "states";
415
+ const _t = "type";
416
+ const _tEDS = "totalExecutionDurationSeconds";
1048
417
  const _tK = "tagKeys";
418
+ const _tRU = "totalResourceUtilization";
419
+ const _ta = "tags";
420
+ const _u = "url";
421
+ const _uA = "updatedAt";
422
+ const _uBSE = "userBackgroundSessionsEnabled";
423
+ const _vCPUH = "vCPUHour";
424
+ const _wC = "workerCount";
425
+ const _wCo = "workerConfiguration";
426
+ const _wTS = "workerTypeSpecifications";
427
+ const n0 = "com.amazonaws.emrserverless";
428
+ var EntryPointArgument = [0, n0, _EPA, 8, 0];
429
+ var EntryPointPath = [0, n0, _EPP, 8, 0];
430
+ var HiveCliParameters = [0, n0, _HCP, 8, 0];
431
+ var InitScriptPath = [0, n0, _ISP, 8, 0];
432
+ var Query = [0, n0, _Q, 8, 0];
433
+ var SparkSubmitParameters = [0, n0, _SSP, 8, 0];
434
+ var Application = [
435
+ 3,
436
+ n0,
437
+ _A,
438
+ 0,
439
+ [
440
+ _aI,
441
+ _n,
442
+ _a,
443
+ _rL,
444
+ _t,
445
+ _s,
446
+ _sD,
447
+ _iC,
448
+ _mC,
449
+ _cA,
450
+ _uA,
451
+ _ta,
452
+ _aSC,
453
+ _aSCu,
454
+ _nC,
455
+ _ar,
456
+ _iCm,
457
+ _wTS,
458
+ _rC,
459
+ _mCo,
460
+ _iCn,
461
+ _sC,
462
+ _iCC,
463
+ ],
464
+ [
465
+ 0,
466
+ 0,
467
+ 0,
468
+ 0,
469
+ 0,
470
+ 0,
471
+ 0,
472
+ () => InitialCapacityConfigMap,
473
+ () => MaximumAllowedResources,
474
+ 4,
475
+ 4,
476
+ 128 | 0,
477
+ () => AutoStartConfig,
478
+ () => AutoStopConfig,
479
+ () => NetworkConfiguration,
480
+ 0,
481
+ () => ImageConfiguration,
482
+ () => WorkerTypeSpecificationMap,
483
+ [() => ConfigurationList, 0],
484
+ () => MonitoringConfiguration,
485
+ () => InteractiveConfiguration,
486
+ () => SchedulerConfiguration,
487
+ () => IdentityCenterConfiguration,
488
+ ],
489
+ ];
490
+ var ApplicationSummary = [
491
+ 3,
492
+ n0,
493
+ _AS,
494
+ 0,
495
+ [_i, _n, _a, _rL, _t, _s, _sD, _cA, _uA, _ar],
496
+ [0, 0, 0, 0, 0, 0, 0, 4, 4, 0],
497
+ ];
498
+ var AutoStartConfig = [3, n0, _ASC, 0, [_e], [2]];
499
+ var AutoStopConfig = [3, n0, _ASCu, 0, [_e, _iTM], [2, 1]];
500
+ var CancelJobRunRequest = [
501
+ 3,
502
+ n0,
503
+ _CJRR,
504
+ 0,
505
+ [_aI, _jRI, _sGPIS],
506
+ [
507
+ [0, 1],
508
+ [0, 1],
509
+ [
510
+ 1,
511
+ {
512
+ [_hQ]: _sGPIS,
513
+ },
514
+ ],
515
+ ],
516
+ ];
517
+ var CancelJobRunResponse = [3, n0, _CJRRa, 0, [_aI, _jRI], [0, 0]];
518
+ var CloudWatchLoggingConfiguration = [
519
+ 3,
520
+ n0,
521
+ _CWLC,
522
+ 0,
523
+ [_e, _lGN, _lSNP, _eKA, _lT],
524
+ [2, 0, 0, 0, [2, n0, _LTM, 0, 0, 64 | 0]],
525
+ ];
526
+ var Configuration = [
527
+ 3,
528
+ n0,
529
+ _C,
530
+ 0,
531
+ [_c, _p, _co],
532
+ [0, [() => SensitivePropertiesMap, 0], [() => ConfigurationList, 0]],
533
+ ];
534
+ var ConfigurationOverrides = [
535
+ 3,
536
+ n0,
537
+ _CO,
538
+ 0,
539
+ [_aC, _mCo],
540
+ [[() => ConfigurationList, 0], () => MonitoringConfiguration],
541
+ ];
542
+ var ConflictException = [
543
+ -3,
544
+ n0,
545
+ _CE,
546
+ {
547
+ [_er]: _cl,
548
+ [_hE]: 409,
549
+ },
550
+ [_m],
551
+ [0],
552
+ ];
553
+ schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
554
+ var CreateApplicationRequest = [
555
+ 3,
556
+ n0,
557
+ _CAR,
558
+ 0,
559
+ [_n, _rL, _t, _cT, _iC, _mC, _ta, _aSC, _aSCu, _nC, _ar, _iCm, _wTS, _rC, _mCo, _iCn, _sC, _iCC],
560
+ [
561
+ 0,
562
+ 0,
563
+ 0,
564
+ [0, 4],
565
+ () => InitialCapacityConfigMap,
566
+ () => MaximumAllowedResources,
567
+ 128 | 0,
568
+ () => AutoStartConfig,
569
+ () => AutoStopConfig,
570
+ () => NetworkConfiguration,
571
+ 0,
572
+ () => ImageConfigurationInput,
573
+ () => WorkerTypeSpecificationInputMap,
574
+ [() => ConfigurationList, 0],
575
+ () => MonitoringConfiguration,
576
+ () => InteractiveConfiguration,
577
+ () => SchedulerConfiguration,
578
+ () => IdentityCenterConfigurationInput,
579
+ ],
580
+ ];
581
+ var CreateApplicationResponse = [3, n0, _CARr, 0, [_aI, _n, _a], [0, 0, 0]];
582
+ var DeleteApplicationRequest = [3, n0, _DAR, 0, [_aI], [[0, 1]]];
583
+ var DeleteApplicationResponse = [3, n0, _DARe, 0, [], []];
584
+ var GetApplicationRequest = [3, n0, _GAR, 0, [_aI], [[0, 1]]];
585
+ var GetApplicationResponse = [3, n0, _GARe, 0, [_ap], [[() => Application, 0]]];
586
+ var GetDashboardForJobRunRequest = [
587
+ 3,
588
+ n0,
589
+ _GDFJRR,
590
+ 0,
591
+ [_aI, _jRI, _at, _aSPL],
592
+ [
593
+ [0, 1],
594
+ [0, 1],
595
+ [
596
+ 1,
597
+ {
598
+ [_hQ]: _at,
599
+ },
600
+ ],
601
+ [
602
+ 2,
603
+ {
604
+ [_hQ]: _aSPL,
605
+ },
606
+ ],
607
+ ],
608
+ ];
609
+ var GetDashboardForJobRunResponse = [3, n0, _GDFJRRe, 0, [_u], [0]];
610
+ var GetJobRunRequest = [
611
+ 3,
612
+ n0,
613
+ _GJRR,
614
+ 0,
615
+ [_aI, _jRI, _at],
616
+ [
617
+ [0, 1],
618
+ [0, 1],
619
+ [
620
+ 1,
621
+ {
622
+ [_hQ]: _at,
623
+ },
624
+ ],
625
+ ],
626
+ ];
627
+ var GetJobRunResponse = [3, n0, _GJRRe, 0, [_jR], [[() => JobRun, 0]]];
628
+ var Hive = [
629
+ 3,
630
+ n0,
631
+ _H,
632
+ 0,
633
+ [_q, _iQF, _pa],
634
+ [
635
+ [() => Query, 0],
636
+ [() => InitScriptPath, 0],
637
+ [() => HiveCliParameters, 0],
638
+ ],
639
+ ];
640
+ var IdentityCenterConfiguration = [3, n0, _ICC, 0, [_iCIA, _iCAA, _uBSE], [0, 0, 2]];
641
+ var IdentityCenterConfigurationInput = [3, n0, _ICCI, 0, [_iCIA, _uBSE], [0, 2]];
642
+ var ImageConfiguration = [3, n0, _IC, 0, [_iU, _rID], [0, 0]];
643
+ var ImageConfigurationInput = [3, n0, _ICI, 0, [_iU], [0]];
644
+ var InitialCapacityConfig = [
645
+ 3,
646
+ n0,
647
+ _ICCn,
648
+ 0,
649
+ [_wC, _wCo],
650
+ [1, () => WorkerResourceConfig],
651
+ ];
652
+ var InteractiveConfiguration = [3, n0, _ICn, 0, [_sE, _lEE], [2, 2]];
653
+ var InternalServerException = [
654
+ -3,
655
+ n0,
656
+ _ISE,
657
+ {
658
+ [_er]: _se,
659
+ [_hE]: 500,
660
+ },
661
+ [_m],
662
+ [0],
663
+ ];
664
+ schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
665
+ var JobRun = [
666
+ 3,
667
+ n0,
668
+ _JR,
669
+ 0,
670
+ [
671
+ _aI,
672
+ _jRI,
673
+ _n,
674
+ _a,
675
+ _cB,
676
+ _cA,
677
+ _uA,
678
+ _eR,
679
+ _eIP,
680
+ _s,
681
+ _sD,
682
+ _rL,
683
+ _cO,
684
+ _jD,
685
+ _ta,
686
+ _tRU,
687
+ _nC,
688
+ _tEDS,
689
+ _eTM,
690
+ _bRU,
691
+ _mo,
692
+ _rP,
693
+ _at,
694
+ _aCA,
695
+ _aUA,
696
+ _sA,
697
+ _eA,
698
+ _qDM,
699
+ ],
700
+ [
701
+ 0,
702
+ 0,
703
+ 0,
704
+ 0,
705
+ 0,
706
+ 4,
707
+ 4,
708
+ 0,
709
+ () => JobRunExecutionIamPolicy,
710
+ 0,
711
+ 0,
712
+ 0,
713
+ [() => ConfigurationOverrides, 0],
714
+ [() => JobDriver, 0],
715
+ 128 | 0,
716
+ () => TotalResourceUtilization,
717
+ () => NetworkConfiguration,
718
+ 1,
719
+ 1,
720
+ () => ResourceUtilization,
721
+ 0,
722
+ () => RetryPolicy,
723
+ 1,
724
+ 4,
725
+ 4,
726
+ 4,
727
+ 4,
728
+ 1,
729
+ ],
730
+ ];
731
+ var JobRunAttemptSummary = [
732
+ 3,
733
+ n0,
734
+ _JRAS,
735
+ 0,
736
+ [_aI, _i, _n, _mo, _a, _cB, _jCA, _cA, _uA, _eR, _s, _sD, _rL, _t, _at],
737
+ [0, 0, 0, 0, 0, 0, 4, 4, 4, 0, 0, 0, 0, 0, 1],
738
+ ];
739
+ var JobRunExecutionIamPolicy = [3, n0, _JREIP, 0, [_po, _pA], [0, 64 | 0]];
740
+ var JobRunSummary = [
741
+ 3,
742
+ n0,
743
+ _JRS,
744
+ 0,
745
+ [_aI, _i, _n, _mo, _a, _cB, _cA, _uA, _eR, _s, _sD, _rL, _t, _at, _aCA, _aUA],
746
+ [0, 0, 0, 0, 0, 0, 4, 4, 0, 0, 0, 0, 0, 1, 4, 4],
747
+ ];
748
+ var ListApplicationsRequest = [
749
+ 3,
750
+ n0,
751
+ _LAR,
752
+ 0,
753
+ [_nT, _mR, _st],
754
+ [
755
+ [
756
+ 0,
757
+ {
758
+ [_hQ]: _nT,
759
+ },
760
+ ],
761
+ [
762
+ 1,
763
+ {
764
+ [_hQ]: _mR,
765
+ },
766
+ ],
767
+ [
768
+ 64 | 0,
769
+ {
770
+ [_hQ]: _st,
771
+ },
772
+ ],
773
+ ],
774
+ ];
775
+ var ListApplicationsResponse = [3, n0, _LARi, 0, [_app, _nT], [() => ApplicationList, 0]];
776
+ var ListJobRunAttemptsRequest = [
777
+ 3,
778
+ n0,
779
+ _LJRAR,
780
+ 0,
781
+ [_aI, _jRI, _nT, _mR],
782
+ [
783
+ [0, 1],
784
+ [0, 1],
785
+ [
786
+ 0,
787
+ {
788
+ [_hQ]: _nT,
789
+ },
790
+ ],
791
+ [
792
+ 1,
793
+ {
794
+ [_hQ]: _mR,
795
+ },
796
+ ],
797
+ ],
798
+ ];
799
+ var ListJobRunAttemptsResponse = [
800
+ 3,
801
+ n0,
802
+ _LJRARi,
803
+ 0,
804
+ [_jRA, _nT],
805
+ [() => JobRunAttempts, 0],
806
+ ];
807
+ var ListJobRunsRequest = [
808
+ 3,
809
+ n0,
810
+ _LJRR,
811
+ 0,
812
+ [_aI, _nT, _mR, _cAA, _cAB, _st, _mo],
813
+ [
814
+ [0, 1],
815
+ [
816
+ 0,
817
+ {
818
+ [_hQ]: _nT,
819
+ },
820
+ ],
821
+ [
822
+ 1,
823
+ {
824
+ [_hQ]: _mR,
825
+ },
826
+ ],
827
+ [
828
+ 4,
829
+ {
830
+ [_hQ]: _cAA,
831
+ },
832
+ ],
833
+ [
834
+ 4,
835
+ {
836
+ [_hQ]: _cAB,
837
+ },
838
+ ],
839
+ [
840
+ 64 | 0,
841
+ {
842
+ [_hQ]: _st,
843
+ },
844
+ ],
845
+ [
846
+ 0,
847
+ {
848
+ [_hQ]: _mo,
849
+ },
850
+ ],
851
+ ],
852
+ ];
853
+ var ListJobRunsResponse = [3, n0, _LJRRi, 0, [_jRo, _nT], [() => JobRuns, 0]];
854
+ var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_rA], [[0, 1]]];
855
+ var ListTagsForResourceResponse = [3, n0, _LTFRRi, 0, [_ta], [128 | 0]];
856
+ var ManagedPersistenceMonitoringConfiguration = [3, n0, _MPMC, 0, [_e, _eKA], [2, 0]];
857
+ var MaximumAllowedResources = [3, n0, _MAR, 0, [_cp, _me, _d], [0, 0, 0]];
858
+ var MonitoringConfiguration = [
859
+ 3,
860
+ n0,
861
+ _MC,
862
+ 0,
863
+ [_sMC, _mPMC, _cWLC, _pMC],
864
+ [
865
+ () => S3MonitoringConfiguration,
866
+ () => ManagedPersistenceMonitoringConfiguration,
867
+ () => CloudWatchLoggingConfiguration,
868
+ () => PrometheusMonitoringConfiguration,
869
+ ],
870
+ ];
871
+ var NetworkConfiguration = [3, n0, _NC, 0, [_sI, _sGI], [64 | 0, 64 | 0]];
872
+ var PrometheusMonitoringConfiguration = [3, n0, _PMC, 0, [_rWU], [0]];
873
+ var ResourceNotFoundException = [
874
+ -3,
875
+ n0,
876
+ _RNFE,
877
+ {
878
+ [_er]: _cl,
879
+ [_hE]: 404,
880
+ },
881
+ [_m],
882
+ [0],
883
+ ];
884
+ schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
885
+ var ResourceUtilization = [3, n0, _RU, 0, [_vCPUH, _mGBH, _sGBH], [1, 1, 1]];
886
+ var RetryPolicy = [3, n0, _RP, 0, [_mA, _mFAPH], [1, 1]];
887
+ var S3MonitoringConfiguration = [3, n0, _SMC, 0, [_lU, _eKA], [0, 0]];
888
+ var SchedulerConfiguration = [3, n0, _SC, 0, [_qTM, _mCR], [1, 1]];
889
+ var ServiceQuotaExceededException = [
890
+ -3,
891
+ n0,
892
+ _SQEE,
893
+ {
894
+ [_er]: _cl,
895
+ [_hE]: 402,
896
+ },
897
+ [_m],
898
+ [0],
899
+ ];
900
+ schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, ServiceQuotaExceededException$1);
901
+ var SparkSubmit = [
902
+ 3,
903
+ n0,
904
+ _SS,
905
+ 0,
906
+ [_eP, _ePA, _sSP],
907
+ [
908
+ [() => EntryPointPath, 0],
909
+ [() => EntryPointArguments, 0],
910
+ [() => SparkSubmitParameters, 0],
911
+ ],
912
+ ];
913
+ var StartApplicationRequest = [3, n0, _SAR, 0, [_aI], [[0, 1]]];
914
+ var StartApplicationResponse = [3, n0, _SARt, 0, [], []];
915
+ var StartJobRunRequest = [
916
+ 3,
917
+ n0,
918
+ _SJRR,
919
+ 0,
920
+ [_aI, _cT, _eRA, _eIP, _jD, _cO, _ta, _eTM, _n, _mo, _rP],
921
+ [
922
+ [0, 1],
923
+ [0, 4],
924
+ 0,
925
+ () => JobRunExecutionIamPolicy,
926
+ [() => JobDriver, 0],
927
+ [() => ConfigurationOverrides, 0],
928
+ 128 | 0,
929
+ 1,
930
+ 0,
931
+ 0,
932
+ () => RetryPolicy,
933
+ ],
934
+ ];
935
+ var StartJobRunResponse = [3, n0, _SJRRt, 0, [_aI, _jRI, _a], [0, 0, 0]];
936
+ var StopApplicationRequest = [3, n0, _SARto, 0, [_aI], [[0, 1]]];
937
+ var StopApplicationResponse = [3, n0, _SARtop, 0, [], []];
938
+ var TagResourceRequest = [3, n0, _TRR, 0, [_rA, _ta], [[0, 1], 128 | 0]];
939
+ var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
940
+ var TotalResourceUtilization = [3, n0, _TRU, 0, [_vCPUH, _mGBH, _sGBH], [1, 1, 1]];
941
+ var UntagResourceRequest = [
942
+ 3,
943
+ n0,
944
+ _URR,
945
+ 0,
946
+ [_rA, _tK],
947
+ [
948
+ [0, 1],
949
+ [
950
+ 64 | 0,
951
+ {
952
+ [_hQ]: _tK,
953
+ },
954
+ ],
955
+ ],
956
+ ];
957
+ var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
958
+ var UpdateApplicationRequest = [
959
+ 3,
960
+ n0,
961
+ _UAR,
962
+ 0,
963
+ [_aI, _cT, _iC, _mC, _aSC, _aSCu, _nC, _ar, _iCm, _wTS, _iCn, _rL, _rC, _mCo, _sC, _iCC],
964
+ [
965
+ [0, 1],
966
+ [0, 4],
967
+ () => InitialCapacityConfigMap,
968
+ () => MaximumAllowedResources,
969
+ () => AutoStartConfig,
970
+ () => AutoStopConfig,
971
+ () => NetworkConfiguration,
972
+ 0,
973
+ () => ImageConfigurationInput,
974
+ () => WorkerTypeSpecificationInputMap,
975
+ () => InteractiveConfiguration,
976
+ 0,
977
+ [() => ConfigurationList, 0],
978
+ () => MonitoringConfiguration,
979
+ () => SchedulerConfiguration,
980
+ () => IdentityCenterConfigurationInput,
981
+ ],
982
+ ];
983
+ var UpdateApplicationResponse = [3, n0, _UARp, 0, [_ap], [[() => Application, 0]]];
984
+ var ValidationException = [
985
+ -3,
986
+ n0,
987
+ _VE,
988
+ {
989
+ [_er]: _cl,
990
+ [_hE]: 400,
991
+ },
992
+ [_m],
993
+ [0],
994
+ ];
995
+ schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
996
+ var WorkerResourceConfig = [3, n0, _WRC, 0, [_cp, _me, _d, _dT], [0, 0, 0, 0]];
997
+ var WorkerTypeSpecification = [3, n0, _WTS, 0, [_iCm], [() => ImageConfiguration]];
998
+ var WorkerTypeSpecificationInput = [
999
+ 3,
1000
+ n0,
1001
+ _WTSI,
1002
+ 0,
1003
+ [_iCm],
1004
+ [() => ImageConfigurationInput],
1005
+ ];
1006
+ var EMRServerlessServiceException = [-3, _sm, "EMRServerlessServiceException", 0, [], []];
1007
+ schema.TypeRegistry.for(_sm).registerError(EMRServerlessServiceException, EMRServerlessServiceException$1);
1008
+ var ApplicationList = [1, n0, _AL, 0, () => ApplicationSummary];
1009
+ var ConfigurationList = [1, n0, _CL, 0, [() => Configuration, 0]];
1010
+ var EntryPointArguments = [1, n0, _EPAn, 0, [() => EntryPointArgument, 0]];
1011
+ var JobRunAttempts = [1, n0, _JRA, 0, () => JobRunAttemptSummary];
1012
+ var JobRuns = [1, n0, _JRo, 0, () => JobRunSummary];
1013
+ var InitialCapacityConfigMap = [2, n0, _ICCM, 0, 0, () => InitialCapacityConfig];
1014
+ var SensitivePropertiesMap = [2, n0, _SPM, 8, 0, 0];
1015
+ var WorkerTypeSpecificationInputMap = [2, n0, _WTSIM, 0, 0, () => WorkerTypeSpecificationInput];
1016
+ var WorkerTypeSpecificationMap = [2, n0, _WTSM, 0, 0, () => WorkerTypeSpecification];
1017
+ var JobDriver = [
1018
+ 3,
1019
+ n0,
1020
+ _JD,
1021
+ 0,
1022
+ [_sS, _h],
1023
+ [
1024
+ [() => SparkSubmit, 0],
1025
+ [() => Hive, 0],
1026
+ ],
1027
+ ];
1028
+ var CancelJobRun = [
1029
+ 9,
1030
+ n0,
1031
+ _CJR,
1032
+ {
1033
+ [_ht]: ["DELETE", "/applications/{applicationId}/jobruns/{jobRunId}", 200],
1034
+ },
1035
+ () => CancelJobRunRequest,
1036
+ () => CancelJobRunResponse,
1037
+ ];
1038
+ var CreateApplication = [
1039
+ 9,
1040
+ n0,
1041
+ _CA,
1042
+ {
1043
+ [_ht]: ["POST", "/applications", 200],
1044
+ },
1045
+ () => CreateApplicationRequest,
1046
+ () => CreateApplicationResponse,
1047
+ ];
1048
+ var DeleteApplication = [
1049
+ 9,
1050
+ n0,
1051
+ _DA,
1052
+ {
1053
+ [_ht]: ["DELETE", "/applications/{applicationId}", 200],
1054
+ },
1055
+ () => DeleteApplicationRequest,
1056
+ () => DeleteApplicationResponse,
1057
+ ];
1058
+ var GetApplication = [
1059
+ 9,
1060
+ n0,
1061
+ _GA,
1062
+ {
1063
+ [_ht]: ["GET", "/applications/{applicationId}", 200],
1064
+ },
1065
+ () => GetApplicationRequest,
1066
+ () => GetApplicationResponse,
1067
+ ];
1068
+ var GetDashboardForJobRun = [
1069
+ 9,
1070
+ n0,
1071
+ _GDFJR,
1072
+ {
1073
+ [_ht]: ["GET", "/applications/{applicationId}/jobruns/{jobRunId}/dashboard", 200],
1074
+ },
1075
+ () => GetDashboardForJobRunRequest,
1076
+ () => GetDashboardForJobRunResponse,
1077
+ ];
1078
+ var GetJobRun = [
1079
+ 9,
1080
+ n0,
1081
+ _GJR,
1082
+ {
1083
+ [_ht]: ["GET", "/applications/{applicationId}/jobruns/{jobRunId}", 200],
1084
+ },
1085
+ () => GetJobRunRequest,
1086
+ () => GetJobRunResponse,
1087
+ ];
1088
+ var ListApplications = [
1089
+ 9,
1090
+ n0,
1091
+ _LA,
1092
+ {
1093
+ [_ht]: ["GET", "/applications", 200],
1094
+ },
1095
+ () => ListApplicationsRequest,
1096
+ () => ListApplicationsResponse,
1097
+ ];
1098
+ var ListJobRunAttempts = [
1099
+ 9,
1100
+ n0,
1101
+ _LJRA,
1102
+ {
1103
+ [_ht]: ["GET", "/applications/{applicationId}/jobruns/{jobRunId}/attempts", 200],
1104
+ },
1105
+ () => ListJobRunAttemptsRequest,
1106
+ () => ListJobRunAttemptsResponse,
1107
+ ];
1108
+ var ListJobRuns = [
1109
+ 9,
1110
+ n0,
1111
+ _LJR,
1112
+ {
1113
+ [_ht]: ["GET", "/applications/{applicationId}/jobruns", 200],
1114
+ },
1115
+ () => ListJobRunsRequest,
1116
+ () => ListJobRunsResponse,
1117
+ ];
1118
+ var ListTagsForResource = [
1119
+ 9,
1120
+ n0,
1121
+ _LTFR,
1122
+ {
1123
+ [_ht]: ["GET", "/tags/{resourceArn}", 200],
1124
+ },
1125
+ () => ListTagsForResourceRequest,
1126
+ () => ListTagsForResourceResponse,
1127
+ ];
1128
+ var StartApplication = [
1129
+ 9,
1130
+ n0,
1131
+ _SA,
1132
+ {
1133
+ [_ht]: ["POST", "/applications/{applicationId}/start", 200],
1134
+ },
1135
+ () => StartApplicationRequest,
1136
+ () => StartApplicationResponse,
1137
+ ];
1138
+ var StartJobRun = [
1139
+ 9,
1140
+ n0,
1141
+ _SJR,
1142
+ {
1143
+ [_ht]: ["POST", "/applications/{applicationId}/jobruns", 200],
1144
+ },
1145
+ () => StartJobRunRequest,
1146
+ () => StartJobRunResponse,
1147
+ ];
1148
+ var StopApplication = [
1149
+ 9,
1150
+ n0,
1151
+ _SAt,
1152
+ {
1153
+ [_ht]: ["POST", "/applications/{applicationId}/stop", 200],
1154
+ },
1155
+ () => StopApplicationRequest,
1156
+ () => StopApplicationResponse,
1157
+ ];
1158
+ var TagResource = [
1159
+ 9,
1160
+ n0,
1161
+ _TR,
1162
+ {
1163
+ [_ht]: ["POST", "/tags/{resourceArn}", 200],
1164
+ },
1165
+ () => TagResourceRequest,
1166
+ () => TagResourceResponse,
1167
+ ];
1168
+ var UntagResource = [
1169
+ 9,
1170
+ n0,
1171
+ _UR,
1172
+ {
1173
+ [_ht]: ["DELETE", "/tags/{resourceArn}", 200],
1174
+ },
1175
+ () => UntagResourceRequest,
1176
+ () => UntagResourceResponse,
1177
+ ];
1178
+ var UpdateApplication = [
1179
+ 9,
1180
+ n0,
1181
+ _UA,
1182
+ {
1183
+ [_ht]: ["PATCH", "/applications/{applicationId}", 200],
1184
+ },
1185
+ () => UpdateApplicationRequest,
1186
+ () => UpdateApplicationResponse,
1187
+ ];
1049
1188
 
1050
1189
  class CancelJobRunCommand extends smithyClient.Command
1051
1190
  .classBuilder()
1052
1191
  .ep(commonParams)
1053
1192
  .m(function (Command, cs, config, o) {
1054
- return [
1055
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1056
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1057
- ];
1193
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1058
1194
  })
1059
1195
  .s("AwsToledoWebService", "CancelJobRun", {})
1060
1196
  .n("EMRServerlessClient", "CancelJobRunCommand")
1061
- .f(void 0, void 0)
1062
- .ser(se_CancelJobRunCommand)
1063
- .de(de_CancelJobRunCommand)
1197
+ .sc(CancelJobRun)
1064
1198
  .build() {
1065
1199
  }
1066
1200
 
@@ -1068,16 +1202,11 @@ class CreateApplicationCommand extends smithyClient.Command
1068
1202
  .classBuilder()
1069
1203
  .ep(commonParams)
1070
1204
  .m(function (Command, cs, config, o) {
1071
- return [
1072
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1073
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1074
- ];
1205
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1075
1206
  })
1076
1207
  .s("AwsToledoWebService", "CreateApplication", {})
1077
1208
  .n("EMRServerlessClient", "CreateApplicationCommand")
1078
- .f(CreateApplicationRequestFilterSensitiveLog, void 0)
1079
- .ser(se_CreateApplicationCommand)
1080
- .de(de_CreateApplicationCommand)
1209
+ .sc(CreateApplication)
1081
1210
  .build() {
1082
1211
  }
1083
1212
 
@@ -1085,16 +1214,11 @@ class DeleteApplicationCommand extends smithyClient.Command
1085
1214
  .classBuilder()
1086
1215
  .ep(commonParams)
1087
1216
  .m(function (Command, cs, config, o) {
1088
- return [
1089
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1090
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1091
- ];
1217
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1092
1218
  })
1093
1219
  .s("AwsToledoWebService", "DeleteApplication", {})
1094
1220
  .n("EMRServerlessClient", "DeleteApplicationCommand")
1095
- .f(void 0, void 0)
1096
- .ser(se_DeleteApplicationCommand)
1097
- .de(de_DeleteApplicationCommand)
1221
+ .sc(DeleteApplication)
1098
1222
  .build() {
1099
1223
  }
1100
1224
 
@@ -1102,16 +1226,11 @@ class GetApplicationCommand extends smithyClient.Command
1102
1226
  .classBuilder()
1103
1227
  .ep(commonParams)
1104
1228
  .m(function (Command, cs, config, o) {
1105
- return [
1106
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1107
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1108
- ];
1229
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1109
1230
  })
1110
1231
  .s("AwsToledoWebService", "GetApplication", {})
1111
1232
  .n("EMRServerlessClient", "GetApplicationCommand")
1112
- .f(void 0, GetApplicationResponseFilterSensitiveLog)
1113
- .ser(se_GetApplicationCommand)
1114
- .de(de_GetApplicationCommand)
1233
+ .sc(GetApplication)
1115
1234
  .build() {
1116
1235
  }
1117
1236
 
@@ -1119,16 +1238,11 @@ class GetDashboardForJobRunCommand extends smithyClient.Command
1119
1238
  .classBuilder()
1120
1239
  .ep(commonParams)
1121
1240
  .m(function (Command, cs, config, o) {
1122
- return [
1123
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1124
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1125
- ];
1241
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1126
1242
  })
1127
1243
  .s("AwsToledoWebService", "GetDashboardForJobRun", {})
1128
1244
  .n("EMRServerlessClient", "GetDashboardForJobRunCommand")
1129
- .f(void 0, void 0)
1130
- .ser(se_GetDashboardForJobRunCommand)
1131
- .de(de_GetDashboardForJobRunCommand)
1245
+ .sc(GetDashboardForJobRun)
1132
1246
  .build() {
1133
1247
  }
1134
1248
 
@@ -1136,16 +1250,11 @@ class GetJobRunCommand extends smithyClient.Command
1136
1250
  .classBuilder()
1137
1251
  .ep(commonParams)
1138
1252
  .m(function (Command, cs, config, o) {
1139
- return [
1140
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1141
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1142
- ];
1253
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1143
1254
  })
1144
1255
  .s("AwsToledoWebService", "GetJobRun", {})
1145
1256
  .n("EMRServerlessClient", "GetJobRunCommand")
1146
- .f(void 0, GetJobRunResponseFilterSensitiveLog)
1147
- .ser(se_GetJobRunCommand)
1148
- .de(de_GetJobRunCommand)
1257
+ .sc(GetJobRun)
1149
1258
  .build() {
1150
1259
  }
1151
1260
 
@@ -1153,16 +1262,11 @@ class ListApplicationsCommand extends smithyClient.Command
1153
1262
  .classBuilder()
1154
1263
  .ep(commonParams)
1155
1264
  .m(function (Command, cs, config, o) {
1156
- return [
1157
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1158
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1159
- ];
1265
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1160
1266
  })
1161
1267
  .s("AwsToledoWebService", "ListApplications", {})
1162
1268
  .n("EMRServerlessClient", "ListApplicationsCommand")
1163
- .f(void 0, void 0)
1164
- .ser(se_ListApplicationsCommand)
1165
- .de(de_ListApplicationsCommand)
1269
+ .sc(ListApplications)
1166
1270
  .build() {
1167
1271
  }
1168
1272
 
@@ -1170,16 +1274,11 @@ class ListJobRunAttemptsCommand extends smithyClient.Command
1170
1274
  .classBuilder()
1171
1275
  .ep(commonParams)
1172
1276
  .m(function (Command, cs, config, o) {
1173
- return [
1174
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1175
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1176
- ];
1277
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1177
1278
  })
1178
1279
  .s("AwsToledoWebService", "ListJobRunAttempts", {})
1179
1280
  .n("EMRServerlessClient", "ListJobRunAttemptsCommand")
1180
- .f(void 0, void 0)
1181
- .ser(se_ListJobRunAttemptsCommand)
1182
- .de(de_ListJobRunAttemptsCommand)
1281
+ .sc(ListJobRunAttempts)
1183
1282
  .build() {
1184
1283
  }
1185
1284
 
@@ -1187,16 +1286,11 @@ class ListJobRunsCommand extends smithyClient.Command
1187
1286
  .classBuilder()
1188
1287
  .ep(commonParams)
1189
1288
  .m(function (Command, cs, config, o) {
1190
- return [
1191
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1192
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1193
- ];
1289
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1194
1290
  })
1195
1291
  .s("AwsToledoWebService", "ListJobRuns", {})
1196
1292
  .n("EMRServerlessClient", "ListJobRunsCommand")
1197
- .f(void 0, void 0)
1198
- .ser(se_ListJobRunsCommand)
1199
- .de(de_ListJobRunsCommand)
1293
+ .sc(ListJobRuns)
1200
1294
  .build() {
1201
1295
  }
1202
1296
 
@@ -1204,16 +1298,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
1204
1298
  .classBuilder()
1205
1299
  .ep(commonParams)
1206
1300
  .m(function (Command, cs, config, o) {
1207
- return [
1208
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1209
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1210
- ];
1301
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1211
1302
  })
1212
1303
  .s("AwsToledoWebService", "ListTagsForResource", {})
1213
1304
  .n("EMRServerlessClient", "ListTagsForResourceCommand")
1214
- .f(void 0, void 0)
1215
- .ser(se_ListTagsForResourceCommand)
1216
- .de(de_ListTagsForResourceCommand)
1305
+ .sc(ListTagsForResource)
1217
1306
  .build() {
1218
1307
  }
1219
1308
 
@@ -1221,16 +1310,11 @@ class StartApplicationCommand extends smithyClient.Command
1221
1310
  .classBuilder()
1222
1311
  .ep(commonParams)
1223
1312
  .m(function (Command, cs, config, o) {
1224
- return [
1225
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1226
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1227
- ];
1313
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1228
1314
  })
1229
1315
  .s("AwsToledoWebService", "StartApplication", {})
1230
1316
  .n("EMRServerlessClient", "StartApplicationCommand")
1231
- .f(void 0, void 0)
1232
- .ser(se_StartApplicationCommand)
1233
- .de(de_StartApplicationCommand)
1317
+ .sc(StartApplication)
1234
1318
  .build() {
1235
1319
  }
1236
1320
 
@@ -1238,16 +1322,11 @@ class StartJobRunCommand extends smithyClient.Command
1238
1322
  .classBuilder()
1239
1323
  .ep(commonParams)
1240
1324
  .m(function (Command, cs, config, o) {
1241
- return [
1242
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1243
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1244
- ];
1325
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1245
1326
  })
1246
1327
  .s("AwsToledoWebService", "StartJobRun", {})
1247
1328
  .n("EMRServerlessClient", "StartJobRunCommand")
1248
- .f(StartJobRunRequestFilterSensitiveLog, void 0)
1249
- .ser(se_StartJobRunCommand)
1250
- .de(de_StartJobRunCommand)
1329
+ .sc(StartJobRun)
1251
1330
  .build() {
1252
1331
  }
1253
1332
 
@@ -1255,16 +1334,11 @@ class StopApplicationCommand extends smithyClient.Command
1255
1334
  .classBuilder()
1256
1335
  .ep(commonParams)
1257
1336
  .m(function (Command, cs, config, o) {
1258
- return [
1259
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1260
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1261
- ];
1337
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1262
1338
  })
1263
1339
  .s("AwsToledoWebService", "StopApplication", {})
1264
1340
  .n("EMRServerlessClient", "StopApplicationCommand")
1265
- .f(void 0, void 0)
1266
- .ser(se_StopApplicationCommand)
1267
- .de(de_StopApplicationCommand)
1341
+ .sc(StopApplication)
1268
1342
  .build() {
1269
1343
  }
1270
1344
 
@@ -1272,16 +1346,11 @@ class TagResourceCommand extends smithyClient.Command
1272
1346
  .classBuilder()
1273
1347
  .ep(commonParams)
1274
1348
  .m(function (Command, cs, config, o) {
1275
- return [
1276
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1277
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1278
- ];
1349
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1279
1350
  })
1280
1351
  .s("AwsToledoWebService", "TagResource", {})
1281
1352
  .n("EMRServerlessClient", "TagResourceCommand")
1282
- .f(void 0, void 0)
1283
- .ser(se_TagResourceCommand)
1284
- .de(de_TagResourceCommand)
1353
+ .sc(TagResource)
1285
1354
  .build() {
1286
1355
  }
1287
1356
 
@@ -1289,16 +1358,11 @@ class UntagResourceCommand extends smithyClient.Command
1289
1358
  .classBuilder()
1290
1359
  .ep(commonParams)
1291
1360
  .m(function (Command, cs, config, o) {
1292
- return [
1293
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1294
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1295
- ];
1361
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1296
1362
  })
1297
1363
  .s("AwsToledoWebService", "UntagResource", {})
1298
1364
  .n("EMRServerlessClient", "UntagResourceCommand")
1299
- .f(void 0, void 0)
1300
- .ser(se_UntagResourceCommand)
1301
- .de(de_UntagResourceCommand)
1365
+ .sc(UntagResource)
1302
1366
  .build() {
1303
1367
  }
1304
1368
 
@@ -1306,16 +1370,11 @@ class UpdateApplicationCommand extends smithyClient.Command
1306
1370
  .classBuilder()
1307
1371
  .ep(commonParams)
1308
1372
  .m(function (Command, cs, config, o) {
1309
- return [
1310
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1311
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1312
- ];
1373
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1313
1374
  })
1314
1375
  .s("AwsToledoWebService", "UpdateApplication", {})
1315
1376
  .n("EMRServerlessClient", "UpdateApplicationCommand")
1316
- .f(UpdateApplicationRequestFilterSensitiveLog, UpdateApplicationResponseFilterSensitiveLog)
1317
- .ser(se_UpdateApplicationCommand)
1318
- .de(de_UpdateApplicationCommand)
1377
+ .sc(UpdateApplication)
1319
1378
  .build() {
1320
1379
  }
1321
1380
 
@@ -1355,47 +1414,34 @@ Object.defineProperty(exports, "__Client", {
1355
1414
  enumerable: true,
1356
1415
  get: function () { return smithyClient.Client; }
1357
1416
  });
1358
- exports.ApplicationFilterSensitiveLog = ApplicationFilterSensitiveLog;
1359
1417
  exports.ApplicationState = ApplicationState;
1360
1418
  exports.Architecture = Architecture;
1361
1419
  exports.CancelJobRunCommand = CancelJobRunCommand;
1362
- exports.ConfigurationFilterSensitiveLog = ConfigurationFilterSensitiveLog;
1363
- exports.ConfigurationOverridesFilterSensitiveLog = ConfigurationOverridesFilterSensitiveLog;
1364
- exports.ConflictException = ConflictException;
1420
+ exports.ConflictException = ConflictException$1;
1365
1421
  exports.CreateApplicationCommand = CreateApplicationCommand;
1366
- exports.CreateApplicationRequestFilterSensitiveLog = CreateApplicationRequestFilterSensitiveLog;
1367
1422
  exports.DeleteApplicationCommand = DeleteApplicationCommand;
1368
1423
  exports.EMRServerless = EMRServerless;
1369
1424
  exports.EMRServerlessClient = EMRServerlessClient;
1370
- exports.EMRServerlessServiceException = EMRServerlessServiceException;
1425
+ exports.EMRServerlessServiceException = EMRServerlessServiceException$1;
1371
1426
  exports.GetApplicationCommand = GetApplicationCommand;
1372
- exports.GetApplicationResponseFilterSensitiveLog = GetApplicationResponseFilterSensitiveLog;
1373
1427
  exports.GetDashboardForJobRunCommand = GetDashboardForJobRunCommand;
1374
1428
  exports.GetJobRunCommand = GetJobRunCommand;
1375
- exports.GetJobRunResponseFilterSensitiveLog = GetJobRunResponseFilterSensitiveLog;
1376
- exports.HiveFilterSensitiveLog = HiveFilterSensitiveLog;
1377
- exports.InternalServerException = InternalServerException;
1378
- exports.JobDriverFilterSensitiveLog = JobDriverFilterSensitiveLog;
1379
- exports.JobRunFilterSensitiveLog = JobRunFilterSensitiveLog;
1429
+ exports.InternalServerException = InternalServerException$1;
1380
1430
  exports.JobRunMode = JobRunMode;
1381
1431
  exports.JobRunState = JobRunState;
1382
1432
  exports.ListApplicationsCommand = ListApplicationsCommand;
1383
1433
  exports.ListJobRunAttemptsCommand = ListJobRunAttemptsCommand;
1384
1434
  exports.ListJobRunsCommand = ListJobRunsCommand;
1385
1435
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
1386
- exports.ResourceNotFoundException = ResourceNotFoundException;
1387
- exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
1388
- exports.SparkSubmitFilterSensitiveLog = SparkSubmitFilterSensitiveLog;
1436
+ exports.ResourceNotFoundException = ResourceNotFoundException$1;
1437
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
1389
1438
  exports.StartApplicationCommand = StartApplicationCommand;
1390
1439
  exports.StartJobRunCommand = StartJobRunCommand;
1391
- exports.StartJobRunRequestFilterSensitiveLog = StartJobRunRequestFilterSensitiveLog;
1392
1440
  exports.StopApplicationCommand = StopApplicationCommand;
1393
1441
  exports.TagResourceCommand = TagResourceCommand;
1394
1442
  exports.UntagResourceCommand = UntagResourceCommand;
1395
1443
  exports.UpdateApplicationCommand = UpdateApplicationCommand;
1396
- exports.UpdateApplicationRequestFilterSensitiveLog = UpdateApplicationRequestFilterSensitiveLog;
1397
- exports.UpdateApplicationResponseFilterSensitiveLog = UpdateApplicationResponseFilterSensitiveLog;
1398
- exports.ValidationException = ValidationException;
1444
+ exports.ValidationException = ValidationException$1;
1399
1445
  exports.paginateListApplications = paginateListApplications;
1400
1446
  exports.paginateListJobRunAttempts = paginateListJobRunAttempts;
1401
1447
  exports.paginateListJobRuns = paginateListJobRuns;