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