@aws-sdk/client-emr-serverless 3.936.0 → 3.939.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 +33 -0
- package/dist-es/index.js +1 -0
- package/dist-es/models/enums.js +28 -0
- package/dist-es/models/models_0.js +1 -28
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/enums.d.ts +60 -0
- package/dist-types/models/models_0.d.ts +1 -60
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +33 -0
- package/dist-types/ts3.4/models/models_0.d.ts +6 -33
- package/package.json +2 -2
package/dist-cjs/index.js
CHANGED
|
@@ -1378,6 +1378,35 @@ const paginateListJobRunAttempts = core.createPaginator(EMRServerlessClient, Lis
|
|
|
1378
1378
|
|
|
1379
1379
|
const paginateListJobRuns = core.createPaginator(EMRServerlessClient, ListJobRunsCommand, "nextToken", "nextToken", "maxResults");
|
|
1380
1380
|
|
|
1381
|
+
const Architecture = {
|
|
1382
|
+
ARM64: "ARM64",
|
|
1383
|
+
X86_64: "X86_64",
|
|
1384
|
+
};
|
|
1385
|
+
const ApplicationState = {
|
|
1386
|
+
CREATED: "CREATED",
|
|
1387
|
+
CREATING: "CREATING",
|
|
1388
|
+
STARTED: "STARTED",
|
|
1389
|
+
STARTING: "STARTING",
|
|
1390
|
+
STOPPED: "STOPPED",
|
|
1391
|
+
STOPPING: "STOPPING",
|
|
1392
|
+
TERMINATED: "TERMINATED",
|
|
1393
|
+
};
|
|
1394
|
+
const JobRunMode = {
|
|
1395
|
+
BATCH: "BATCH",
|
|
1396
|
+
STREAMING: "STREAMING",
|
|
1397
|
+
};
|
|
1398
|
+
const JobRunState = {
|
|
1399
|
+
CANCELLED: "CANCELLED",
|
|
1400
|
+
CANCELLING: "CANCELLING",
|
|
1401
|
+
FAILED: "FAILED",
|
|
1402
|
+
PENDING: "PENDING",
|
|
1403
|
+
QUEUED: "QUEUED",
|
|
1404
|
+
RUNNING: "RUNNING",
|
|
1405
|
+
SCHEDULED: "SCHEDULED",
|
|
1406
|
+
SUBMITTED: "SUBMITTED",
|
|
1407
|
+
SUCCESS: "SUCCESS",
|
|
1408
|
+
};
|
|
1409
|
+
|
|
1381
1410
|
Object.defineProperty(exports, "$Command", {
|
|
1382
1411
|
enumerable: true,
|
|
1383
1412
|
get: function () { return smithyClient.Command; }
|
|
@@ -1386,6 +1415,8 @@ Object.defineProperty(exports, "__Client", {
|
|
|
1386
1415
|
enumerable: true,
|
|
1387
1416
|
get: function () { return smithyClient.Client; }
|
|
1388
1417
|
});
|
|
1418
|
+
exports.ApplicationState = ApplicationState;
|
|
1419
|
+
exports.Architecture = Architecture;
|
|
1389
1420
|
exports.CancelJobRunCommand = CancelJobRunCommand;
|
|
1390
1421
|
exports.ConflictException = ConflictException$1;
|
|
1391
1422
|
exports.CreateApplicationCommand = CreateApplicationCommand;
|
|
@@ -1397,6 +1428,8 @@ exports.GetApplicationCommand = GetApplicationCommand;
|
|
|
1397
1428
|
exports.GetDashboardForJobRunCommand = GetDashboardForJobRunCommand;
|
|
1398
1429
|
exports.GetJobRunCommand = GetJobRunCommand;
|
|
1399
1430
|
exports.InternalServerException = InternalServerException$1;
|
|
1431
|
+
exports.JobRunMode = JobRunMode;
|
|
1432
|
+
exports.JobRunState = JobRunState;
|
|
1400
1433
|
exports.ListApplicationsCommand = ListApplicationsCommand;
|
|
1401
1434
|
exports.ListJobRunAttemptsCommand = ListJobRunAttemptsCommand;
|
|
1402
1435
|
exports.ListJobRunsCommand = ListJobRunsCommand;
|
package/dist-es/index.js
CHANGED
|
@@ -2,5 +2,6 @@ export * from "./EMRServerlessClient";
|
|
|
2
2
|
export * from "./EMRServerless";
|
|
3
3
|
export * from "./commands";
|
|
4
4
|
export * from "./pagination";
|
|
5
|
+
export * from "./models/enums";
|
|
5
6
|
export * from "./models/errors";
|
|
6
7
|
export { EMRServerlessServiceException } from "./models/EMRServerlessServiceException";
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export const Architecture = {
|
|
2
|
+
ARM64: "ARM64",
|
|
3
|
+
X86_64: "X86_64",
|
|
4
|
+
};
|
|
5
|
+
export const ApplicationState = {
|
|
6
|
+
CREATED: "CREATED",
|
|
7
|
+
CREATING: "CREATING",
|
|
8
|
+
STARTED: "STARTED",
|
|
9
|
+
STARTING: "STARTING",
|
|
10
|
+
STOPPED: "STOPPED",
|
|
11
|
+
STOPPING: "STOPPING",
|
|
12
|
+
TERMINATED: "TERMINATED",
|
|
13
|
+
};
|
|
14
|
+
export const JobRunMode = {
|
|
15
|
+
BATCH: "BATCH",
|
|
16
|
+
STREAMING: "STREAMING",
|
|
17
|
+
};
|
|
18
|
+
export const JobRunState = {
|
|
19
|
+
CANCELLED: "CANCELLED",
|
|
20
|
+
CANCELLING: "CANCELLING",
|
|
21
|
+
FAILED: "FAILED",
|
|
22
|
+
PENDING: "PENDING",
|
|
23
|
+
QUEUED: "QUEUED",
|
|
24
|
+
RUNNING: "RUNNING",
|
|
25
|
+
SCHEDULED: "SCHEDULED",
|
|
26
|
+
SUBMITTED: "SUBMITTED",
|
|
27
|
+
SUCCESS: "SUCCESS",
|
|
28
|
+
};
|
|
@@ -1,28 +1 @@
|
|
|
1
|
-
export
|
|
2
|
-
ARM64: "ARM64",
|
|
3
|
-
X86_64: "X86_64",
|
|
4
|
-
};
|
|
5
|
-
export const ApplicationState = {
|
|
6
|
-
CREATED: "CREATED",
|
|
7
|
-
CREATING: "CREATING",
|
|
8
|
-
STARTED: "STARTED",
|
|
9
|
-
STARTING: "STARTING",
|
|
10
|
-
STOPPED: "STOPPED",
|
|
11
|
-
STOPPING: "STOPPING",
|
|
12
|
-
TERMINATED: "TERMINATED",
|
|
13
|
-
};
|
|
14
|
-
export const JobRunMode = {
|
|
15
|
-
BATCH: "BATCH",
|
|
16
|
-
STREAMING: "STREAMING",
|
|
17
|
-
};
|
|
18
|
-
export const JobRunState = {
|
|
19
|
-
CANCELLED: "CANCELLED",
|
|
20
|
-
CANCELLING: "CANCELLING",
|
|
21
|
-
FAILED: "FAILED",
|
|
22
|
-
PENDING: "PENDING",
|
|
23
|
-
QUEUED: "QUEUED",
|
|
24
|
-
RUNNING: "RUNNING",
|
|
25
|
-
SCHEDULED: "SCHEDULED",
|
|
26
|
-
SUBMITTED: "SUBMITTED",
|
|
27
|
-
SUCCESS: "SUCCESS",
|
|
28
|
-
};
|
|
1
|
+
export {};
|
package/dist-types/index.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
|
|
|
10
10
|
export type { EMRServerlessExtensionConfiguration } from "./extensionConfiguration";
|
|
11
11
|
export * from "./commands";
|
|
12
12
|
export * from "./pagination";
|
|
13
|
+
export * from "./models/enums";
|
|
13
14
|
export * from "./models/errors";
|
|
14
15
|
export type * from "./models/models_0";
|
|
15
16
|
export { EMRServerlessServiceException } from "./models/EMRServerlessServiceException";
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @enum
|
|
4
|
+
*/
|
|
5
|
+
export declare const Architecture: {
|
|
6
|
+
readonly ARM64: "ARM64";
|
|
7
|
+
readonly X86_64: "X86_64";
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
export type Architecture = (typeof Architecture)[keyof typeof Architecture];
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
* @enum
|
|
16
|
+
*/
|
|
17
|
+
export declare const ApplicationState: {
|
|
18
|
+
readonly CREATED: "CREATED";
|
|
19
|
+
readonly CREATING: "CREATING";
|
|
20
|
+
readonly STARTED: "STARTED";
|
|
21
|
+
readonly STARTING: "STARTING";
|
|
22
|
+
readonly STOPPED: "STOPPED";
|
|
23
|
+
readonly STOPPING: "STOPPING";
|
|
24
|
+
readonly TERMINATED: "TERMINATED";
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* @public
|
|
28
|
+
*/
|
|
29
|
+
export type ApplicationState = (typeof ApplicationState)[keyof typeof ApplicationState];
|
|
30
|
+
/**
|
|
31
|
+
* @public
|
|
32
|
+
* @enum
|
|
33
|
+
*/
|
|
34
|
+
export declare const JobRunMode: {
|
|
35
|
+
readonly BATCH: "BATCH";
|
|
36
|
+
readonly STREAMING: "STREAMING";
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* @public
|
|
40
|
+
*/
|
|
41
|
+
export type JobRunMode = (typeof JobRunMode)[keyof typeof JobRunMode];
|
|
42
|
+
/**
|
|
43
|
+
* @public
|
|
44
|
+
* @enum
|
|
45
|
+
*/
|
|
46
|
+
export declare const JobRunState: {
|
|
47
|
+
readonly CANCELLED: "CANCELLED";
|
|
48
|
+
readonly CANCELLING: "CANCELLING";
|
|
49
|
+
readonly FAILED: "FAILED";
|
|
50
|
+
readonly PENDING: "PENDING";
|
|
51
|
+
readonly QUEUED: "QUEUED";
|
|
52
|
+
readonly RUNNING: "RUNNING";
|
|
53
|
+
readonly SCHEDULED: "SCHEDULED";
|
|
54
|
+
readonly SUBMITTED: "SUBMITTED";
|
|
55
|
+
readonly SUCCESS: "SUCCESS";
|
|
56
|
+
};
|
|
57
|
+
/**
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
60
|
+
export type JobRunState = (typeof JobRunState)[keyof typeof JobRunState];
|
|
@@ -1,15 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* @public
|
|
3
|
-
* @enum
|
|
4
|
-
*/
|
|
5
|
-
export declare const Architecture: {
|
|
6
|
-
readonly ARM64: "ARM64";
|
|
7
|
-
readonly X86_64: "X86_64";
|
|
8
|
-
};
|
|
9
|
-
/**
|
|
10
|
-
* @public
|
|
11
|
-
*/
|
|
12
|
-
export type Architecture = (typeof Architecture)[keyof typeof Architecture];
|
|
1
|
+
import { ApplicationState, Architecture, JobRunMode, JobRunState } from "./enums";
|
|
13
2
|
/**
|
|
14
3
|
* <p>The configuration for an application to automatically start on job submission.</p>
|
|
15
4
|
* @public
|
|
@@ -285,23 +274,6 @@ export interface SchedulerConfiguration {
|
|
|
285
274
|
*/
|
|
286
275
|
maxConcurrentRuns?: number | undefined;
|
|
287
276
|
}
|
|
288
|
-
/**
|
|
289
|
-
* @public
|
|
290
|
-
* @enum
|
|
291
|
-
*/
|
|
292
|
-
export declare const ApplicationState: {
|
|
293
|
-
readonly CREATED: "CREATED";
|
|
294
|
-
readonly CREATING: "CREATING";
|
|
295
|
-
readonly STARTED: "STARTED";
|
|
296
|
-
readonly STARTING: "STARTING";
|
|
297
|
-
readonly STOPPED: "STOPPED";
|
|
298
|
-
readonly STOPPING: "STOPPING";
|
|
299
|
-
readonly TERMINATED: "TERMINATED";
|
|
300
|
-
};
|
|
301
|
-
/**
|
|
302
|
-
* @public
|
|
303
|
-
*/
|
|
304
|
-
export type ApplicationState = (typeof ApplicationState)[keyof typeof ApplicationState];
|
|
305
277
|
/**
|
|
306
278
|
* <p>The specifications for a worker type.</p>
|
|
307
279
|
* @public
|
|
@@ -731,18 +703,6 @@ export declare namespace JobDriver {
|
|
|
731
703
|
_: (name: string, value: any) => T;
|
|
732
704
|
}
|
|
733
705
|
}
|
|
734
|
-
/**
|
|
735
|
-
* @public
|
|
736
|
-
* @enum
|
|
737
|
-
*/
|
|
738
|
-
export declare const JobRunMode: {
|
|
739
|
-
readonly BATCH: "BATCH";
|
|
740
|
-
readonly STREAMING: "STREAMING";
|
|
741
|
-
};
|
|
742
|
-
/**
|
|
743
|
-
* @public
|
|
744
|
-
*/
|
|
745
|
-
export type JobRunMode = (typeof JobRunMode)[keyof typeof JobRunMode];
|
|
746
706
|
/**
|
|
747
707
|
* <p>The retry policy to use for a job run.</p>
|
|
748
708
|
* @public
|
|
@@ -759,25 +719,6 @@ export interface RetryPolicy {
|
|
|
759
719
|
*/
|
|
760
720
|
maxFailedAttemptsPerHour?: number | undefined;
|
|
761
721
|
}
|
|
762
|
-
/**
|
|
763
|
-
* @public
|
|
764
|
-
* @enum
|
|
765
|
-
*/
|
|
766
|
-
export declare const JobRunState: {
|
|
767
|
-
readonly CANCELLED: "CANCELLED";
|
|
768
|
-
readonly CANCELLING: "CANCELLING";
|
|
769
|
-
readonly FAILED: "FAILED";
|
|
770
|
-
readonly PENDING: "PENDING";
|
|
771
|
-
readonly QUEUED: "QUEUED";
|
|
772
|
-
readonly RUNNING: "RUNNING";
|
|
773
|
-
readonly SCHEDULED: "SCHEDULED";
|
|
774
|
-
readonly SUBMITTED: "SUBMITTED";
|
|
775
|
-
readonly SUCCESS: "SUCCESS";
|
|
776
|
-
};
|
|
777
|
-
/**
|
|
778
|
-
* @public
|
|
779
|
-
*/
|
|
780
|
-
export type JobRunState = (typeof JobRunState)[keyof typeof JobRunState];
|
|
781
722
|
/**
|
|
782
723
|
* <p>The aggregate vCPU, memory, and storage resources used from the time job start executing till the time job is terminated, rounded up to the nearest second.</p>
|
|
783
724
|
* @public
|
|
@@ -5,6 +5,7 @@ export { RuntimeExtension } from "./runtimeExtensions";
|
|
|
5
5
|
export { EMRServerlessExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
7
|
export * from "./pagination";
|
|
8
|
+
export * from "./models/enums";
|
|
8
9
|
export * from "./models/errors";
|
|
9
10
|
export * from "./models/models_0";
|
|
10
11
|
export { EMRServerlessServiceException } from "./models/EMRServerlessServiceException";
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export declare const Architecture: {
|
|
2
|
+
readonly ARM64: "ARM64";
|
|
3
|
+
readonly X86_64: "X86_64";
|
|
4
|
+
};
|
|
5
|
+
export type Architecture = (typeof Architecture)[keyof typeof Architecture];
|
|
6
|
+
export declare const ApplicationState: {
|
|
7
|
+
readonly CREATED: "CREATED";
|
|
8
|
+
readonly CREATING: "CREATING";
|
|
9
|
+
readonly STARTED: "STARTED";
|
|
10
|
+
readonly STARTING: "STARTING";
|
|
11
|
+
readonly STOPPED: "STOPPED";
|
|
12
|
+
readonly STOPPING: "STOPPING";
|
|
13
|
+
readonly TERMINATED: "TERMINATED";
|
|
14
|
+
};
|
|
15
|
+
export type ApplicationState =
|
|
16
|
+
(typeof ApplicationState)[keyof typeof ApplicationState];
|
|
17
|
+
export declare const JobRunMode: {
|
|
18
|
+
readonly BATCH: "BATCH";
|
|
19
|
+
readonly STREAMING: "STREAMING";
|
|
20
|
+
};
|
|
21
|
+
export type JobRunMode = (typeof JobRunMode)[keyof typeof JobRunMode];
|
|
22
|
+
export declare const JobRunState: {
|
|
23
|
+
readonly CANCELLED: "CANCELLED";
|
|
24
|
+
readonly CANCELLING: "CANCELLING";
|
|
25
|
+
readonly FAILED: "FAILED";
|
|
26
|
+
readonly PENDING: "PENDING";
|
|
27
|
+
readonly QUEUED: "QUEUED";
|
|
28
|
+
readonly RUNNING: "RUNNING";
|
|
29
|
+
readonly SCHEDULED: "SCHEDULED";
|
|
30
|
+
readonly SUBMITTED: "SUBMITTED";
|
|
31
|
+
readonly SUCCESS: "SUCCESS";
|
|
32
|
+
};
|
|
33
|
+
export type JobRunState = (typeof JobRunState)[keyof typeof JobRunState];
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import {
|
|
2
|
+
ApplicationState,
|
|
3
|
+
Architecture,
|
|
4
|
+
JobRunMode,
|
|
5
|
+
JobRunState,
|
|
6
|
+
} from "./enums";
|
|
6
7
|
export interface AutoStartConfig {
|
|
7
8
|
enabled?: boolean | undefined;
|
|
8
9
|
}
|
|
@@ -74,17 +75,6 @@ export interface SchedulerConfiguration {
|
|
|
74
75
|
queueTimeoutMinutes?: number | undefined;
|
|
75
76
|
maxConcurrentRuns?: number | undefined;
|
|
76
77
|
}
|
|
77
|
-
export declare const ApplicationState: {
|
|
78
|
-
readonly CREATED: "CREATED";
|
|
79
|
-
readonly CREATING: "CREATING";
|
|
80
|
-
readonly STARTED: "STARTED";
|
|
81
|
-
readonly STARTING: "STARTING";
|
|
82
|
-
readonly STOPPED: "STOPPED";
|
|
83
|
-
readonly STOPPING: "STOPPING";
|
|
84
|
-
readonly TERMINATED: "TERMINATED";
|
|
85
|
-
};
|
|
86
|
-
export type ApplicationState =
|
|
87
|
-
(typeof ApplicationState)[keyof typeof ApplicationState];
|
|
88
78
|
export interface WorkerTypeSpecification {
|
|
89
79
|
imageConfiguration?: ImageConfiguration | undefined;
|
|
90
80
|
}
|
|
@@ -207,27 +197,10 @@ export declare namespace JobDriver {
|
|
|
207
197
|
_: (name: string, value: any) => T;
|
|
208
198
|
}
|
|
209
199
|
}
|
|
210
|
-
export declare const JobRunMode: {
|
|
211
|
-
readonly BATCH: "BATCH";
|
|
212
|
-
readonly STREAMING: "STREAMING";
|
|
213
|
-
};
|
|
214
|
-
export type JobRunMode = (typeof JobRunMode)[keyof typeof JobRunMode];
|
|
215
200
|
export interface RetryPolicy {
|
|
216
201
|
maxAttempts?: number | undefined;
|
|
217
202
|
maxFailedAttemptsPerHour?: number | undefined;
|
|
218
203
|
}
|
|
219
|
-
export declare const JobRunState: {
|
|
220
|
-
readonly CANCELLED: "CANCELLED";
|
|
221
|
-
readonly CANCELLING: "CANCELLING";
|
|
222
|
-
readonly FAILED: "FAILED";
|
|
223
|
-
readonly PENDING: "PENDING";
|
|
224
|
-
readonly QUEUED: "QUEUED";
|
|
225
|
-
readonly RUNNING: "RUNNING";
|
|
226
|
-
readonly SCHEDULED: "SCHEDULED";
|
|
227
|
-
readonly SUBMITTED: "SUBMITTED";
|
|
228
|
-
readonly SUCCESS: "SUCCESS";
|
|
229
|
-
};
|
|
230
|
-
export type JobRunState = (typeof JobRunState)[keyof typeof JobRunState];
|
|
231
204
|
export interface TotalResourceUtilization {
|
|
232
205
|
vCPUHour?: number | undefined;
|
|
233
206
|
memoryGBHour?: number | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-emr-serverless",
|
|
3
3
|
"description": "AWS SDK for JavaScript Emr Serverless Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.939.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-emr-serverless",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
23
|
"@aws-sdk/core": "3.936.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.939.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.936.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.936.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.936.0",
|