@aws-sdk/client-emr-serverless 3.651.1 → 3.657.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/dist-cjs/index.js +7 -0
  2. package/dist-es/models/models_0.js +1 -0
  3. package/dist-es/protocols/Aws_restJson1.js +6 -0
  4. package/dist-types/commands/CancelJobRunCommand.d.ts +11 -0
  5. package/dist-types/commands/CreateApplicationCommand.d.ts +15 -0
  6. package/dist-types/commands/DeleteApplicationCommand.d.ts +11 -0
  7. package/dist-types/commands/GetApplicationCommand.d.ts +15 -0
  8. package/dist-types/commands/GetDashboardForJobRunCommand.d.ts +11 -0
  9. package/dist-types/commands/GetJobRunCommand.d.ts +14 -0
  10. package/dist-types/commands/ListApplicationsCommand.d.ts +11 -0
  11. package/dist-types/commands/ListJobRunAttemptsCommand.d.ts +11 -0
  12. package/dist-types/commands/ListJobRunsCommand.d.ts +11 -0
  13. package/dist-types/commands/ListTagsForResourceCommand.d.ts +11 -0
  14. package/dist-types/commands/StartApplicationCommand.d.ts +11 -0
  15. package/dist-types/commands/StartJobRunCommand.d.ts +11 -0
  16. package/dist-types/commands/StopApplicationCommand.d.ts +11 -0
  17. package/dist-types/commands/TagResourceCommand.d.ts +11 -0
  18. package/dist-types/commands/UntagResourceCommand.d.ts +11 -0
  19. package/dist-types/commands/UpdateApplicationCommand.d.ts +19 -0
  20. package/dist-types/models/models_0.d.ts +48 -2
  21. package/dist-types/ts3.4/commands/CancelJobRunCommand.d.ts +12 -1
  22. package/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +12 -1
  23. package/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +12 -1
  24. package/dist-types/ts3.4/commands/GetApplicationCommand.d.ts +12 -1
  25. package/dist-types/ts3.4/commands/GetDashboardForJobRunCommand.d.ts +12 -1
  26. package/dist-types/ts3.4/commands/GetJobRunCommand.d.ts +12 -1
  27. package/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +12 -1
  28. package/dist-types/ts3.4/commands/ListJobRunAttemptsCommand.d.ts +12 -1
  29. package/dist-types/ts3.4/commands/ListJobRunsCommand.d.ts +12 -1
  30. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +12 -1
  31. package/dist-types/ts3.4/commands/StartApplicationCommand.d.ts +12 -1
  32. package/dist-types/ts3.4/commands/StartJobRunCommand.d.ts +12 -1
  33. package/dist-types/ts3.4/commands/StopApplicationCommand.d.ts +12 -1
  34. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +12 -1
  35. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +12 -1
  36. package/dist-types/ts3.4/commands/UpdateApplicationCommand.d.ts +12 -1
  37. package/dist-types/ts3.4/models/models_0.d.ts +11 -0
  38. package/package.json +35 -35
package/dist-cjs/index.js CHANGED
@@ -354,6 +354,7 @@ var JobRunState = {
354
354
  CANCELLING: "CANCELLING",
355
355
  FAILED: "FAILED",
356
356
  PENDING: "PENDING",
357
+ QUEUED: "QUEUED",
357
358
  RUNNING: "RUNNING",
358
359
  SCHEDULED: "SCHEDULED",
359
360
  SUBMITTED: "SUBMITTED",
@@ -470,6 +471,7 @@ var se_CreateApplicationCommand = /* @__PURE__ */ __name(async (input, context)
470
471
  networkConfiguration: (_) => (0, import_smithy_client._json)(_),
471
472
  releaseLabel: [],
472
473
  runtimeConfiguration: (_) => se_ConfigurationList(_, context),
474
+ schedulerConfiguration: (_) => (0, import_smithy_client._json)(_),
473
475
  tags: (_) => (0, import_smithy_client._json)(_),
474
476
  type: [],
475
477
  workerTypeSpecifications: (_) => (0, import_smithy_client._json)(_)
@@ -670,6 +672,7 @@ var se_UpdateApplicationCommand = /* @__PURE__ */ __name(async (input, context)
670
672
  networkConfiguration: (_) => (0, import_smithy_client._json)(_),
671
673
  releaseLabel: [],
672
674
  runtimeConfiguration: (_) => se_ConfigurationList(_, context),
675
+ schedulerConfiguration: (_) => (0, import_smithy_client._json)(_),
673
676
  workerTypeSpecifications: (_) => (0, import_smithy_client._json)(_)
674
677
  })
675
678
  );
@@ -1020,6 +1023,7 @@ var de_Application = /* @__PURE__ */ __name((output, context) => {
1020
1023
  networkConfiguration: import_smithy_client._json,
1021
1024
  releaseLabel: import_smithy_client.expectString,
1022
1025
  runtimeConfiguration: (_) => de_ConfigurationList(_, context),
1026
+ schedulerConfiguration: import_smithy_client._json,
1023
1027
  state: import_smithy_client.expectString,
1024
1028
  stateDetails: import_smithy_client.expectString,
1025
1029
  tags: import_smithy_client._json,
@@ -1078,6 +1082,7 @@ var de_JobRun = /* @__PURE__ */ __name((output, context) => {
1078
1082
  configurationOverrides: (_) => de_ConfigurationOverrides(_, context),
1079
1083
  createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1080
1084
  createdBy: import_smithy_client.expectString,
1085
+ endedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1081
1086
  executionRole: import_smithy_client.expectString,
1082
1087
  executionTimeoutMinutes: import_smithy_client.expectLong,
1083
1088
  jobDriver: (_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)),
@@ -1085,8 +1090,10 @@ var de_JobRun = /* @__PURE__ */ __name((output, context) => {
1085
1090
  mode: import_smithy_client.expectString,
1086
1091
  name: import_smithy_client.expectString,
1087
1092
  networkConfiguration: import_smithy_client._json,
1093
+ queuedDurationMilliseconds: import_smithy_client.expectLong,
1088
1094
  releaseLabel: import_smithy_client.expectString,
1089
1095
  retryPolicy: import_smithy_client._json,
1096
+ startedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1090
1097
  state: import_smithy_client.expectString,
1091
1098
  stateDetails: import_smithy_client.expectString,
1092
1099
  tags: import_smithy_client._json,
@@ -92,6 +92,7 @@ export const JobRunState = {
92
92
  CANCELLING: "CANCELLING",
93
93
  FAILED: "FAILED",
94
94
  PENDING: "PENDING",
95
+ QUEUED: "QUEUED",
95
96
  RUNNING: "RUNNING",
96
97
  SCHEDULED: "SCHEDULED",
97
98
  SUBMITTED: "SUBMITTED",
@@ -35,6 +35,7 @@ export const se_CreateApplicationCommand = async (input, context) => {
35
35
  networkConfiguration: (_) => _json(_),
36
36
  releaseLabel: [],
37
37
  runtimeConfiguration: (_) => se_ConfigurationList(_, context),
38
+ schedulerConfiguration: (_) => _json(_),
38
39
  tags: (_) => _json(_),
39
40
  type: [],
40
41
  workerTypeSpecifications: (_) => _json(_),
@@ -229,6 +230,7 @@ export const se_UpdateApplicationCommand = async (input, context) => {
229
230
  networkConfiguration: (_) => _json(_),
230
231
  releaseLabel: [],
231
232
  runtimeConfiguration: (_) => se_ConfigurationList(_, context),
233
+ schedulerConfiguration: (_) => _json(_),
232
234
  workerTypeSpecifications: (_) => _json(_),
233
235
  }));
234
236
  b.m("PATCH").h(headers).b(body);
@@ -580,6 +582,7 @@ const de_Application = (output, context) => {
580
582
  networkConfiguration: _json,
581
583
  releaseLabel: __expectString,
582
584
  runtimeConfiguration: (_) => de_ConfigurationList(_, context),
585
+ schedulerConfiguration: _json,
583
586
  state: __expectString,
584
587
  stateDetails: __expectString,
585
588
  tags: _json,
@@ -642,6 +645,7 @@ const de_JobRun = (output, context) => {
642
645
  configurationOverrides: (_) => de_ConfigurationOverrides(_, context),
643
646
  createdAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
644
647
  createdBy: __expectString,
648
+ endedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
645
649
  executionRole: __expectString,
646
650
  executionTimeoutMinutes: __expectLong,
647
651
  jobDriver: (_) => _json(__expectUnion(_)),
@@ -649,8 +653,10 @@ const de_JobRun = (output, context) => {
649
653
  mode: __expectString,
650
654
  name: __expectString,
651
655
  networkConfiguration: _json,
656
+ queuedDurationMilliseconds: __expectLong,
652
657
  releaseLabel: __expectString,
653
658
  retryPolicy: _json,
659
+ startedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
654
660
  state: __expectString,
655
661
  stateDetails: __expectString,
656
662
  tags: _json,
@@ -69,4 +69,15 @@ declare const CancelJobRunCommand_base: {
69
69
  * @public
70
70
  */
71
71
  export declare class CancelJobRunCommand extends CancelJobRunCommand_base {
72
+ /** @internal type navigation helper, not in runtime. */
73
+ protected static __types: {
74
+ api: {
75
+ input: CancelJobRunRequest;
76
+ output: CancelJobRunResponse;
77
+ };
78
+ sdk: {
79
+ input: CancelJobRunCommandInput;
80
+ output: CancelJobRunCommandOutput;
81
+ };
82
+ };
72
83
  }
@@ -129,6 +129,10 @@ declare const CreateApplicationCommand_base: {
129
129
  * studioEnabled: true || false,
130
130
  * livyEndpointEnabled: true || false,
131
131
  * },
132
+ * schedulerConfiguration: { // SchedulerConfiguration
133
+ * queueTimeoutMinutes: Number("int"),
134
+ * maxConcurrentRuns: Number("int"),
135
+ * },
132
136
  * };
133
137
  * const command = new CreateApplicationCommand(input);
134
138
  * const response = await client.send(command);
@@ -166,4 +170,15 @@ declare const CreateApplicationCommand_base: {
166
170
  * @public
167
171
  */
168
172
  export declare class CreateApplicationCommand extends CreateApplicationCommand_base {
173
+ /** @internal type navigation helper, not in runtime. */
174
+ protected static __types: {
175
+ api: {
176
+ input: CreateApplicationRequest;
177
+ output: CreateApplicationResponse;
178
+ };
179
+ sdk: {
180
+ input: CreateApplicationCommandInput;
181
+ output: CreateApplicationCommandOutput;
182
+ };
183
+ };
169
184
  }
@@ -66,4 +66,15 @@ declare const DeleteApplicationCommand_base: {
66
66
  * @public
67
67
  */
68
68
  export declare class DeleteApplicationCommand extends DeleteApplicationCommand_base {
69
+ /** @internal type navigation helper, not in runtime. */
70
+ protected static __types: {
71
+ api: {
72
+ input: DeleteApplicationRequest;
73
+ output: {};
74
+ };
75
+ sdk: {
76
+ input: DeleteApplicationCommandInput;
77
+ output: DeleteApplicationCommandOutput;
78
+ };
79
+ };
69
80
  }
@@ -142,6 +142,10 @@ declare const GetApplicationCommand_base: {
142
142
  * // studioEnabled: true || false,
143
143
  * // livyEndpointEnabled: true || false,
144
144
  * // },
145
+ * // schedulerConfiguration: { // SchedulerConfiguration
146
+ * // queueTimeoutMinutes: Number("int"),
147
+ * // maxConcurrentRuns: Number("int"),
148
+ * // },
145
149
  * // },
146
150
  * // };
147
151
  *
@@ -169,4 +173,15 @@ declare const GetApplicationCommand_base: {
169
173
  * @public
170
174
  */
171
175
  export declare class GetApplicationCommand extends GetApplicationCommand_base {
176
+ /** @internal type navigation helper, not in runtime. */
177
+ protected static __types: {
178
+ api: {
179
+ input: GetApplicationRequest;
180
+ output: GetApplicationResponse;
181
+ };
182
+ sdk: {
183
+ input: GetApplicationCommandInput;
184
+ output: GetApplicationCommandOutput;
185
+ };
186
+ };
172
187
  }
@@ -77,4 +77,15 @@ declare const GetDashboardForJobRunCommand_base: {
77
77
  * @public
78
78
  */
79
79
  export declare class GetDashboardForJobRunCommand extends GetDashboardForJobRunCommand_base {
80
+ /** @internal type navigation helper, not in runtime. */
81
+ protected static __types: {
82
+ api: {
83
+ input: GetDashboardForJobRunRequest;
84
+ output: GetDashboardForJobRunResponse;
85
+ };
86
+ sdk: {
87
+ input: GetDashboardForJobRunCommandInput;
88
+ output: GetDashboardForJobRunCommandOutput;
89
+ };
90
+ };
80
91
  }
@@ -142,6 +142,9 @@ declare const GetJobRunCommand_base: {
142
142
  * // attempt: Number("int"),
143
143
  * // attemptCreatedAt: new Date("TIMESTAMP"),
144
144
  * // attemptUpdatedAt: new Date("TIMESTAMP"),
145
+ * // startedAt: new Date("TIMESTAMP"),
146
+ * // endedAt: new Date("TIMESTAMP"),
147
+ * // queuedDurationMilliseconds: Number("long"),
145
148
  * // },
146
149
  * // };
147
150
  *
@@ -169,4 +172,15 @@ declare const GetJobRunCommand_base: {
169
172
  * @public
170
173
  */
171
174
  export declare class GetJobRunCommand extends GetJobRunCommand_base {
175
+ /** @internal type navigation helper, not in runtime. */
176
+ protected static __types: {
177
+ api: {
178
+ input: GetJobRunRequest;
179
+ output: GetJobRunResponse;
180
+ };
181
+ sdk: {
182
+ input: GetJobRunCommandInput;
183
+ output: GetJobRunCommandOutput;
184
+ };
185
+ };
172
186
  }
@@ -82,4 +82,15 @@ declare const ListApplicationsCommand_base: {
82
82
  * @public
83
83
  */
84
84
  export declare class ListApplicationsCommand extends ListApplicationsCommand_base {
85
+ /** @internal type navigation helper, not in runtime. */
86
+ protected static __types: {
87
+ api: {
88
+ input: ListApplicationsRequest;
89
+ output: ListApplicationsResponse;
90
+ };
91
+ sdk: {
92
+ input: ListApplicationsCommandInput;
93
+ output: ListApplicationsCommandOutput;
94
+ };
95
+ };
85
96
  }
@@ -89,4 +89,15 @@ declare const ListJobRunAttemptsCommand_base: {
89
89
  * @public
90
90
  */
91
91
  export declare class ListJobRunAttemptsCommand extends ListJobRunAttemptsCommand_base {
92
+ /** @internal type navigation helper, not in runtime. */
93
+ protected static __types: {
94
+ api: {
95
+ input: ListJobRunAttemptsRequest;
96
+ output: ListJobRunAttemptsResponse;
97
+ };
98
+ sdk: {
99
+ input: ListJobRunAttemptsCommandInput;
100
+ output: ListJobRunAttemptsCommandOutput;
101
+ };
102
+ };
92
103
  }
@@ -92,4 +92,15 @@ declare const ListJobRunsCommand_base: {
92
92
  * @public
93
93
  */
94
94
  export declare class ListJobRunsCommand extends ListJobRunsCommand_base {
95
+ /** @internal type navigation helper, not in runtime. */
96
+ protected static __types: {
97
+ api: {
98
+ input: ListJobRunsRequest;
99
+ output: ListJobRunsResponse;
100
+ };
101
+ sdk: {
102
+ input: ListJobRunsCommandInput;
103
+ output: ListJobRunsCommandOutput;
104
+ };
105
+ };
95
106
  }
@@ -69,4 +69,15 @@ declare const ListTagsForResourceCommand_base: {
69
69
  * @public
70
70
  */
71
71
  export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
72
+ /** @internal type navigation helper, not in runtime. */
73
+ protected static __types: {
74
+ api: {
75
+ input: ListTagsForResourceRequest;
76
+ output: ListTagsForResourceResponse;
77
+ };
78
+ sdk: {
79
+ input: ListTagsForResourceCommandInput;
80
+ output: ListTagsForResourceCommandOutput;
81
+ };
82
+ };
72
83
  }
@@ -68,4 +68,15 @@ declare const StartApplicationCommand_base: {
68
68
  * @public
69
69
  */
70
70
  export declare class StartApplicationCommand extends StartApplicationCommand_base {
71
+ /** @internal type navigation helper, not in runtime. */
72
+ protected static __types: {
73
+ api: {
74
+ input: StartApplicationRequest;
75
+ output: {};
76
+ };
77
+ sdk: {
78
+ input: StartApplicationCommandInput;
79
+ output: StartApplicationCommandOutput;
80
+ };
81
+ };
71
82
  }
@@ -142,4 +142,15 @@ declare const StartJobRunCommand_base: {
142
142
  * @public
143
143
  */
144
144
  export declare class StartJobRunCommand extends StartJobRunCommand_base {
145
+ /** @internal type navigation helper, not in runtime. */
146
+ protected static __types: {
147
+ api: {
148
+ input: StartJobRunRequest;
149
+ output: StartJobRunResponse;
150
+ };
151
+ sdk: {
152
+ input: StartJobRunCommandInput;
153
+ output: StartJobRunCommandOutput;
154
+ };
155
+ };
145
156
  }
@@ -66,4 +66,15 @@ declare const StopApplicationCommand_base: {
66
66
  * @public
67
67
  */
68
68
  export declare class StopApplicationCommand extends StopApplicationCommand_base {
69
+ /** @internal type navigation helper, not in runtime. */
70
+ protected static __types: {
71
+ api: {
72
+ input: StopApplicationRequest;
73
+ output: {};
74
+ };
75
+ sdk: {
76
+ input: StopApplicationCommandInput;
77
+ output: StopApplicationCommandOutput;
78
+ };
79
+ };
69
80
  }
@@ -72,4 +72,15 @@ declare const TagResourceCommand_base: {
72
72
  * @public
73
73
  */
74
74
  export declare class TagResourceCommand extends TagResourceCommand_base {
75
+ /** @internal type navigation helper, not in runtime. */
76
+ protected static __types: {
77
+ api: {
78
+ input: TagResourceRequest;
79
+ output: {};
80
+ };
81
+ sdk: {
82
+ input: TagResourceCommandInput;
83
+ output: TagResourceCommandOutput;
84
+ };
85
+ };
75
86
  }
@@ -68,4 +68,15 @@ declare const UntagResourceCommand_base: {
68
68
  * @public
69
69
  */
70
70
  export declare class UntagResourceCommand extends UntagResourceCommand_base {
71
+ /** @internal type navigation helper, not in runtime. */
72
+ protected static __types: {
73
+ api: {
74
+ input: UntagResourceRequest;
75
+ output: {};
76
+ };
77
+ sdk: {
78
+ input: UntagResourceCommandInput;
79
+ output: UntagResourceCommandOutput;
80
+ };
81
+ };
71
82
  }
@@ -126,6 +126,10 @@ declare const UpdateApplicationCommand_base: {
126
126
  * remoteWriteUrl: "STRING_VALUE",
127
127
  * },
128
128
  * },
129
+ * schedulerConfiguration: { // SchedulerConfiguration
130
+ * queueTimeoutMinutes: Number("int"),
131
+ * maxConcurrentRuns: Number("int"),
132
+ * },
129
133
  * };
130
134
  * const command = new UpdateApplicationCommand(input);
131
135
  * const response = await client.send(command);
@@ -232,6 +236,10 @@ declare const UpdateApplicationCommand_base: {
232
236
  * // studioEnabled: true || false,
233
237
  * // livyEndpointEnabled: true || false,
234
238
  * // },
239
+ * // schedulerConfiguration: { // SchedulerConfiguration
240
+ * // queueTimeoutMinutes: Number("int"),
241
+ * // maxConcurrentRuns: Number("int"),
242
+ * // },
235
243
  * // },
236
244
  * // };
237
245
  *
@@ -259,4 +267,15 @@ declare const UpdateApplicationCommand_base: {
259
267
  * @public
260
268
  */
261
269
  export declare class UpdateApplicationCommand extends UpdateApplicationCommand_base {
270
+ /** @internal type navigation helper, not in runtime. */
271
+ protected static __types: {
272
+ api: {
273
+ input: UpdateApplicationRequest;
274
+ output: UpdateApplicationResponse;
275
+ };
276
+ sdk: {
277
+ input: UpdateApplicationCommandInput;
278
+ output: UpdateApplicationCommandOutput;
279
+ };
280
+ };
262
281
  }
@@ -121,8 +121,7 @@ export interface InteractiveConfiguration {
121
121
  livyEndpointEnabled?: boolean;
122
122
  }
123
123
  /**
124
- * <p>The maximum allowed cumulative resources for an application. No new resources will be
125
- * created once the limit is hit.</p>
124
+ * <p>The maximum allowed cumulative resources for an application. No new resources will be created once the limit is hit.</p>
126
125
  * @public
127
126
  */
128
127
  export interface MaximumAllowedResources {
@@ -283,6 +282,22 @@ export interface NetworkConfiguration {
283
282
  */
284
283
  securityGroupIds?: string[];
285
284
  }
285
+ /**
286
+ * <p>The scheduler configuration for batch and streaming jobs running on this application. Supported with release labels emr-7.0.0 and above.</p>
287
+ * @public
288
+ */
289
+ export interface SchedulerConfiguration {
290
+ /**
291
+ * <p>The maximum duration in minutes for the job in QUEUED state. If scheduler configuration is enabled on your application, the default value is 360 minutes (6 hours). The valid range is from 15 to 720.</p>
292
+ * @public
293
+ */
294
+ queueTimeoutMinutes?: number;
295
+ /**
296
+ * <p>The maximum concurrent job runs on this application. If scheduler configuration is enabled on your application, the default value is 15. The valid range is 1 to 1000.</p>
297
+ * @public
298
+ */
299
+ maxConcurrentRuns?: number;
300
+ }
286
301
  /**
287
302
  * @public
288
303
  * @enum
@@ -792,6 +807,7 @@ export declare const JobRunState: {
792
807
  readonly CANCELLING: "CANCELLING";
793
808
  readonly FAILED: "FAILED";
794
809
  readonly PENDING: "PENDING";
810
+ readonly QUEUED: "QUEUED";
795
811
  readonly RUNNING: "RUNNING";
796
812
  readonly SCHEDULED: "SCHEDULED";
797
813
  readonly SUBMITTED: "SUBMITTED";
@@ -1319,6 +1335,11 @@ export interface Application {
1319
1335
  * @public
1320
1336
  */
1321
1337
  interactiveConfiguration?: InteractiveConfiguration;
1338
+ /**
1339
+ * <p>The scheduler configuration for batch and streaming jobs running on this application. Supported with release labels emr-7.0.0 and above.</p>
1340
+ * @public
1341
+ */
1342
+ schedulerConfiguration?: SchedulerConfiguration;
1322
1343
  }
1323
1344
  /**
1324
1345
  * <p>A configuration specification to be used to override existing configurations.</p>
@@ -1435,6 +1456,11 @@ export interface CreateApplicationRequest {
1435
1456
  * @public
1436
1457
  */
1437
1458
  interactiveConfiguration?: InteractiveConfiguration;
1459
+ /**
1460
+ * <p>The scheduler configuration for batch and streaming jobs running on this application. Supported with release labels emr-7.0.0 and above.</p>
1461
+ * @public
1462
+ */
1463
+ schedulerConfiguration?: SchedulerConfiguration;
1438
1464
  }
1439
1465
  /**
1440
1466
  * @public
@@ -1526,6 +1552,11 @@ export interface UpdateApplicationRequest {
1526
1552
  * @public
1527
1553
  */
1528
1554
  monitoringConfiguration?: MonitoringConfiguration;
1555
+ /**
1556
+ * <p>The scheduler configuration for batch and streaming jobs running on this application. Supported with release labels emr-7.0.0 and above.</p>
1557
+ * @public
1558
+ */
1559
+ schedulerConfiguration?: SchedulerConfiguration;
1529
1560
  }
1530
1561
  /**
1531
1562
  * @public
@@ -1672,6 +1703,21 @@ export interface JobRun {
1672
1703
  * @public
1673
1704
  */
1674
1705
  attemptUpdatedAt?: Date;
1706
+ /**
1707
+ * <p>The date and time when the job moved to the RUNNING state.</p>
1708
+ * @public
1709
+ */
1710
+ startedAt?: Date;
1711
+ /**
1712
+ * <p>The date and time when the job was terminated.</p>
1713
+ * @public
1714
+ */
1715
+ endedAt?: Date;
1716
+ /**
1717
+ * <p>The total time for a job in the QUEUED state in milliseconds.</p>
1718
+ * @public
1719
+ */
1720
+ queuedDurationMilliseconds?: number;
1675
1721
  }
1676
1722
  /**
1677
1723
  * @public
@@ -33,4 +33,15 @@ declare const CancelJobRunCommand_base: {
33
33
  >;
34
34
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
35
35
  };
36
- export declare class CancelJobRunCommand extends CancelJobRunCommand_base {}
36
+ export declare class CancelJobRunCommand extends CancelJobRunCommand_base {
37
+ protected static __types: {
38
+ api: {
39
+ input: CancelJobRunRequest;
40
+ output: CancelJobRunResponse;
41
+ };
42
+ sdk: {
43
+ input: CancelJobRunCommandInput;
44
+ output: CancelJobRunCommandOutput;
45
+ };
46
+ };
47
+ }
@@ -37,4 +37,15 @@ declare const CreateApplicationCommand_base: {
37
37
  >;
38
38
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
39
  };
40
- export declare class CreateApplicationCommand extends CreateApplicationCommand_base {}
40
+ export declare class CreateApplicationCommand extends CreateApplicationCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: CreateApplicationRequest;
44
+ output: CreateApplicationResponse;
45
+ };
46
+ sdk: {
47
+ input: CreateApplicationCommandInput;
48
+ output: CreateApplicationCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -37,4 +37,15 @@ declare const DeleteApplicationCommand_base: {
37
37
  >;
38
38
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
39
  };
40
- export declare class DeleteApplicationCommand extends DeleteApplicationCommand_base {}
40
+ export declare class DeleteApplicationCommand extends DeleteApplicationCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: DeleteApplicationRequest;
44
+ output: {};
45
+ };
46
+ sdk: {
47
+ input: DeleteApplicationCommandInput;
48
+ output: DeleteApplicationCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -36,4 +36,15 @@ declare const GetApplicationCommand_base: {
36
36
  >;
37
37
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
38
  };
39
- export declare class GetApplicationCommand extends GetApplicationCommand_base {}
39
+ export declare class GetApplicationCommand extends GetApplicationCommand_base {
40
+ protected static __types: {
41
+ api: {
42
+ input: GetApplicationRequest;
43
+ output: GetApplicationResponse;
44
+ };
45
+ sdk: {
46
+ input: GetApplicationCommandInput;
47
+ output: GetApplicationCommandOutput;
48
+ };
49
+ };
50
+ }
@@ -37,4 +37,15 @@ declare const GetDashboardForJobRunCommand_base: {
37
37
  >;
38
38
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
39
  };
40
- export declare class GetDashboardForJobRunCommand extends GetDashboardForJobRunCommand_base {}
40
+ export declare class GetDashboardForJobRunCommand extends GetDashboardForJobRunCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: GetDashboardForJobRunRequest;
44
+ output: GetDashboardForJobRunResponse;
45
+ };
46
+ sdk: {
47
+ input: GetDashboardForJobRunCommandInput;
48
+ output: GetDashboardForJobRunCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -33,4 +33,15 @@ declare const GetJobRunCommand_base: {
33
33
  >;
34
34
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
35
35
  };
36
- export declare class GetJobRunCommand extends GetJobRunCommand_base {}
36
+ export declare class GetJobRunCommand extends GetJobRunCommand_base {
37
+ protected static __types: {
38
+ api: {
39
+ input: GetJobRunRequest;
40
+ output: GetJobRunResponse;
41
+ };
42
+ sdk: {
43
+ input: GetJobRunCommandInput;
44
+ output: GetJobRunCommandOutput;
45
+ };
46
+ };
47
+ }
@@ -36,4 +36,15 @@ declare const ListApplicationsCommand_base: {
36
36
  >;
37
37
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
38
  };
39
- export declare class ListApplicationsCommand extends ListApplicationsCommand_base {}
39
+ export declare class ListApplicationsCommand extends ListApplicationsCommand_base {
40
+ protected static __types: {
41
+ api: {
42
+ input: ListApplicationsRequest;
43
+ output: ListApplicationsResponse;
44
+ };
45
+ sdk: {
46
+ input: ListApplicationsCommandInput;
47
+ output: ListApplicationsCommandOutput;
48
+ };
49
+ };
50
+ }
@@ -37,4 +37,15 @@ declare const ListJobRunAttemptsCommand_base: {
37
37
  >;
38
38
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
39
  };
40
- export declare class ListJobRunAttemptsCommand extends ListJobRunAttemptsCommand_base {}
40
+ export declare class ListJobRunAttemptsCommand extends ListJobRunAttemptsCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: ListJobRunAttemptsRequest;
44
+ output: ListJobRunAttemptsResponse;
45
+ };
46
+ sdk: {
47
+ input: ListJobRunAttemptsCommandInput;
48
+ output: ListJobRunAttemptsCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -33,4 +33,15 @@ declare const ListJobRunsCommand_base: {
33
33
  >;
34
34
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
35
35
  };
36
- export declare class ListJobRunsCommand extends ListJobRunsCommand_base {}
36
+ export declare class ListJobRunsCommand extends ListJobRunsCommand_base {
37
+ protected static __types: {
38
+ api: {
39
+ input: ListJobRunsRequest;
40
+ output: ListJobRunsResponse;
41
+ };
42
+ sdk: {
43
+ input: ListJobRunsCommandInput;
44
+ output: ListJobRunsCommandOutput;
45
+ };
46
+ };
47
+ }
@@ -37,4 +37,15 @@ declare const ListTagsForResourceCommand_base: {
37
37
  >;
38
38
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
39
  };
40
- export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {}
40
+ export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: ListTagsForResourceRequest;
44
+ output: ListTagsForResourceResponse;
45
+ };
46
+ sdk: {
47
+ input: ListTagsForResourceCommandInput;
48
+ output: ListTagsForResourceCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -36,4 +36,15 @@ declare const StartApplicationCommand_base: {
36
36
  >;
37
37
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
38
  };
39
- export declare class StartApplicationCommand extends StartApplicationCommand_base {}
39
+ export declare class StartApplicationCommand extends StartApplicationCommand_base {
40
+ protected static __types: {
41
+ api: {
42
+ input: StartApplicationRequest;
43
+ output: {};
44
+ };
45
+ sdk: {
46
+ input: StartApplicationCommandInput;
47
+ output: StartApplicationCommandOutput;
48
+ };
49
+ };
50
+ }
@@ -33,4 +33,15 @@ declare const StartJobRunCommand_base: {
33
33
  >;
34
34
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
35
35
  };
36
- export declare class StartJobRunCommand extends StartJobRunCommand_base {}
36
+ export declare class StartJobRunCommand extends StartJobRunCommand_base {
37
+ protected static __types: {
38
+ api: {
39
+ input: StartJobRunRequest;
40
+ output: StartJobRunResponse;
41
+ };
42
+ sdk: {
43
+ input: StartJobRunCommandInput;
44
+ output: StartJobRunCommandOutput;
45
+ };
46
+ };
47
+ }
@@ -36,4 +36,15 @@ declare const StopApplicationCommand_base: {
36
36
  >;
37
37
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
38
  };
39
- export declare class StopApplicationCommand extends StopApplicationCommand_base {}
39
+ export declare class StopApplicationCommand extends StopApplicationCommand_base {
40
+ protected static __types: {
41
+ api: {
42
+ input: StopApplicationRequest;
43
+ output: {};
44
+ };
45
+ sdk: {
46
+ input: StopApplicationCommandInput;
47
+ output: StopApplicationCommandOutput;
48
+ };
49
+ };
50
+ }
@@ -33,4 +33,15 @@ declare const TagResourceCommand_base: {
33
33
  >;
34
34
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
35
35
  };
36
- export declare class TagResourceCommand extends TagResourceCommand_base {}
36
+ export declare class TagResourceCommand extends TagResourceCommand_base {
37
+ protected static __types: {
38
+ api: {
39
+ input: TagResourceRequest;
40
+ output: {};
41
+ };
42
+ sdk: {
43
+ input: TagResourceCommandInput;
44
+ output: TagResourceCommandOutput;
45
+ };
46
+ };
47
+ }
@@ -36,4 +36,15 @@ declare const UntagResourceCommand_base: {
36
36
  >;
37
37
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
38
  };
39
- export declare class UntagResourceCommand extends UntagResourceCommand_base {}
39
+ export declare class UntagResourceCommand extends UntagResourceCommand_base {
40
+ protected static __types: {
41
+ api: {
42
+ input: UntagResourceRequest;
43
+ output: {};
44
+ };
45
+ sdk: {
46
+ input: UntagResourceCommandInput;
47
+ output: UntagResourceCommandOutput;
48
+ };
49
+ };
50
+ }
@@ -37,4 +37,15 @@ declare const UpdateApplicationCommand_base: {
37
37
  >;
38
38
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
39
  };
40
- export declare class UpdateApplicationCommand extends UpdateApplicationCommand_base {}
40
+ export declare class UpdateApplicationCommand extends UpdateApplicationCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: UpdateApplicationRequest;
44
+ output: UpdateApplicationResponse;
45
+ };
46
+ sdk: {
47
+ input: UpdateApplicationCommandInput;
48
+ output: UpdateApplicationCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -63,6 +63,10 @@ export interface NetworkConfiguration {
63
63
  subnetIds?: string[];
64
64
  securityGroupIds?: string[];
65
65
  }
66
+ export interface SchedulerConfiguration {
67
+ queueTimeoutMinutes?: number;
68
+ maxConcurrentRuns?: number;
69
+ }
66
70
  export declare const ApplicationState: {
67
71
  readonly CREATED: "CREATED";
68
72
  readonly CREATING: "CREATING";
@@ -234,6 +238,7 @@ export declare const JobRunState: {
234
238
  readonly CANCELLING: "CANCELLING";
235
239
  readonly FAILED: "FAILED";
236
240
  readonly PENDING: "PENDING";
241
+ readonly QUEUED: "QUEUED";
237
242
  readonly RUNNING: "RUNNING";
238
243
  readonly SCHEDULED: "SCHEDULED";
239
244
  readonly SUBMITTED: "SUBMITTED";
@@ -351,6 +356,7 @@ export interface Application {
351
356
  runtimeConfiguration?: Configuration[];
352
357
  monitoringConfiguration?: MonitoringConfiguration;
353
358
  interactiveConfiguration?: InteractiveConfiguration;
359
+ schedulerConfiguration?: SchedulerConfiguration;
354
360
  }
355
361
  export interface ConfigurationOverrides {
356
362
  applicationConfiguration?: Configuration[];
@@ -373,6 +379,7 @@ export interface CreateApplicationRequest {
373
379
  runtimeConfiguration?: Configuration[];
374
380
  monitoringConfiguration?: MonitoringConfiguration;
375
381
  interactiveConfiguration?: InteractiveConfiguration;
382
+ schedulerConfiguration?: SchedulerConfiguration;
376
383
  }
377
384
  export interface UpdateApplicationRequest {
378
385
  applicationId: string | undefined;
@@ -389,6 +396,7 @@ export interface UpdateApplicationRequest {
389
396
  releaseLabel?: string;
390
397
  runtimeConfiguration?: Configuration[];
391
398
  monitoringConfiguration?: MonitoringConfiguration;
399
+ schedulerConfiguration?: SchedulerConfiguration;
392
400
  }
393
401
  export interface GetApplicationResponse {
394
402
  application: Application | undefined;
@@ -418,6 +426,9 @@ export interface JobRun {
418
426
  attempt?: number;
419
427
  attemptCreatedAt?: Date;
420
428
  attemptUpdatedAt?: Date;
429
+ startedAt?: Date;
430
+ endedAt?: Date;
431
+ queuedDurationMilliseconds?: number;
421
432
  }
422
433
  export interface StartJobRunRequest {
423
434
  applicationId: string | 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.651.1",
4
+ "version": "3.657.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",
@@ -20,43 +20,43 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.651.1",
24
- "@aws-sdk/client-sts": "3.651.1",
25
- "@aws-sdk/core": "3.651.1",
26
- "@aws-sdk/credential-provider-node": "3.651.1",
27
- "@aws-sdk/middleware-host-header": "3.649.0",
28
- "@aws-sdk/middleware-logger": "3.649.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.649.0",
30
- "@aws-sdk/middleware-user-agent": "3.649.0",
31
- "@aws-sdk/region-config-resolver": "3.649.0",
32
- "@aws-sdk/types": "3.649.0",
33
- "@aws-sdk/util-endpoints": "3.649.0",
34
- "@aws-sdk/util-user-agent-browser": "3.649.0",
35
- "@aws-sdk/util-user-agent-node": "3.649.0",
36
- "@smithy/config-resolver": "^3.0.6",
37
- "@smithy/core": "^2.4.1",
38
- "@smithy/fetch-http-handler": "^3.2.5",
39
- "@smithy/hash-node": "^3.0.4",
40
- "@smithy/invalid-dependency": "^3.0.4",
41
- "@smithy/middleware-content-length": "^3.0.6",
42
- "@smithy/middleware-endpoint": "^3.1.1",
43
- "@smithy/middleware-retry": "^3.0.16",
44
- "@smithy/middleware-serde": "^3.0.4",
45
- "@smithy/middleware-stack": "^3.0.4",
46
- "@smithy/node-config-provider": "^3.1.5",
47
- "@smithy/node-http-handler": "^3.2.0",
48
- "@smithy/protocol-http": "^4.1.1",
49
- "@smithy/smithy-client": "^3.3.0",
50
- "@smithy/types": "^3.4.0",
51
- "@smithy/url-parser": "^3.0.4",
23
+ "@aws-sdk/client-sso-oidc": "3.654.0",
24
+ "@aws-sdk/client-sts": "3.654.0",
25
+ "@aws-sdk/core": "3.654.0",
26
+ "@aws-sdk/credential-provider-node": "3.654.0",
27
+ "@aws-sdk/middleware-host-header": "3.654.0",
28
+ "@aws-sdk/middleware-logger": "3.654.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.654.0",
30
+ "@aws-sdk/middleware-user-agent": "3.654.0",
31
+ "@aws-sdk/region-config-resolver": "3.654.0",
32
+ "@aws-sdk/types": "3.654.0",
33
+ "@aws-sdk/util-endpoints": "3.654.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.654.0",
35
+ "@aws-sdk/util-user-agent-node": "3.654.0",
36
+ "@smithy/config-resolver": "^3.0.8",
37
+ "@smithy/core": "^2.4.3",
38
+ "@smithy/fetch-http-handler": "^3.2.7",
39
+ "@smithy/hash-node": "^3.0.6",
40
+ "@smithy/invalid-dependency": "^3.0.6",
41
+ "@smithy/middleware-content-length": "^3.0.8",
42
+ "@smithy/middleware-endpoint": "^3.1.3",
43
+ "@smithy/middleware-retry": "^3.0.18",
44
+ "@smithy/middleware-serde": "^3.0.6",
45
+ "@smithy/middleware-stack": "^3.0.6",
46
+ "@smithy/node-config-provider": "^3.1.7",
47
+ "@smithy/node-http-handler": "^3.2.2",
48
+ "@smithy/protocol-http": "^4.1.3",
49
+ "@smithy/smithy-client": "^3.3.2",
50
+ "@smithy/types": "^3.4.2",
51
+ "@smithy/url-parser": "^3.0.6",
52
52
  "@smithy/util-base64": "^3.0.0",
53
53
  "@smithy/util-body-length-browser": "^3.0.0",
54
54
  "@smithy/util-body-length-node": "^3.0.0",
55
- "@smithy/util-defaults-mode-browser": "^3.0.16",
56
- "@smithy/util-defaults-mode-node": "^3.0.16",
57
- "@smithy/util-endpoints": "^2.1.0",
58
- "@smithy/util-middleware": "^3.0.4",
59
- "@smithy/util-retry": "^3.0.4",
55
+ "@smithy/util-defaults-mode-browser": "^3.0.18",
56
+ "@smithy/util-defaults-mode-node": "^3.0.18",
57
+ "@smithy/util-endpoints": "^2.1.2",
58
+ "@smithy/util-middleware": "^3.0.6",
59
+ "@smithy/util-retry": "^3.0.6",
60
60
  "@smithy/util-utf8": "^3.0.0",
61
61
  "tslib": "^2.6.2",
62
62
  "uuid": "^9.0.1"