@aws-sdk/client-emr-serverless 3.582.0 → 3.583.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 CHANGED
@@ -463,6 +463,7 @@ var se_CreateApplicationCommand = /* @__PURE__ */ __name(async (input, context)
463
463
  clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
464
464
  imageConfiguration: (_) => (0, import_smithy_client._json)(_),
465
465
  initialCapacity: (_) => (0, import_smithy_client._json)(_),
466
+ interactiveConfiguration: (_) => (0, import_smithy_client._json)(_),
466
467
  maximumCapacity: (_) => (0, import_smithy_client._json)(_),
467
468
  monitoringConfiguration: (_) => (0, import_smithy_client._json)(_),
468
469
  name: [],
@@ -640,6 +641,7 @@ var se_UpdateApplicationCommand = /* @__PURE__ */ __name(async (input, context)
640
641
  clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
641
642
  imageConfiguration: (_) => (0, import_smithy_client._json)(_),
642
643
  initialCapacity: (_) => (0, import_smithy_client._json)(_),
644
+ interactiveConfiguration: (_) => (0, import_smithy_client._json)(_),
643
645
  maximumCapacity: (_) => (0, import_smithy_client._json)(_),
644
646
  monitoringConfiguration: (_) => (0, import_smithy_client._json)(_),
645
647
  networkConfiguration: (_) => (0, import_smithy_client._json)(_),
@@ -973,6 +975,7 @@ var de_Application = /* @__PURE__ */ __name((output, context) => {
973
975
  createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
974
976
  imageConfiguration: import_smithy_client._json,
975
977
  initialCapacity: import_smithy_client._json,
978
+ interactiveConfiguration: import_smithy_client._json,
976
979
  maximumCapacity: import_smithy_client._json,
977
980
  monitoringConfiguration: import_smithy_client._json,
978
981
  name: import_smithy_client.expectString,
@@ -28,6 +28,7 @@ export const se_CreateApplicationCommand = async (input, context) => {
28
28
  clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
29
29
  imageConfiguration: (_) => _json(_),
30
30
  initialCapacity: (_) => _json(_),
31
+ interactiveConfiguration: (_) => _json(_),
31
32
  maximumCapacity: (_) => _json(_),
32
33
  monitoringConfiguration: (_) => _json(_),
33
34
  name: [],
@@ -199,6 +200,7 @@ export const se_UpdateApplicationCommand = async (input, context) => {
199
200
  clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
200
201
  imageConfiguration: (_) => _json(_),
201
202
  initialCapacity: (_) => _json(_),
203
+ interactiveConfiguration: (_) => _json(_),
202
204
  maximumCapacity: (_) => _json(_),
203
205
  monitoringConfiguration: (_) => _json(_),
204
206
  networkConfiguration: (_) => _json(_),
@@ -533,6 +535,7 @@ const de_Application = (output, context) => {
533
535
  createdAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
534
536
  imageConfiguration: _json,
535
537
  initialCapacity: _json,
538
+ interactiveConfiguration: _json,
536
539
  maximumCapacity: _json,
537
540
  monitoringConfiguration: _json,
538
541
  name: __expectString,
@@ -124,6 +124,10 @@ declare const CreateApplicationCommand_base: {
124
124
  * remoteWriteUrl: "STRING_VALUE",
125
125
  * },
126
126
  * },
127
+ * interactiveConfiguration: { // InteractiveConfiguration
128
+ * studioEnabled: true || false,
129
+ * livyEndpointEnabled: true || false,
130
+ * },
127
131
  * };
128
132
  * const command = new CreateApplicationCommand(input);
129
133
  * const response = await client.send(command);
@@ -137,6 +137,10 @@ declare const GetApplicationCommand_base: {
137
137
  * // remoteWriteUrl: "STRING_VALUE",
138
138
  * // },
139
139
  * // },
140
+ * // interactiveConfiguration: { // InteractiveConfiguration
141
+ * // studioEnabled: true || false,
142
+ * // livyEndpointEnabled: true || false,
143
+ * // },
140
144
  * // },
141
145
  * // };
142
146
  *
@@ -79,6 +79,10 @@ declare const UpdateApplicationCommand_base: {
79
79
  * },
80
80
  * },
81
81
  * },
82
+ * interactiveConfiguration: { // InteractiveConfiguration
83
+ * studioEnabled: true || false,
84
+ * livyEndpointEnabled: true || false,
85
+ * },
82
86
  * releaseLabel: "STRING_VALUE",
83
87
  * runtimeConfiguration: [ // ConfigurationList
84
88
  * { // Configuration
@@ -223,6 +227,10 @@ declare const UpdateApplicationCommand_base: {
223
227
  * // remoteWriteUrl: "STRING_VALUE",
224
228
  * // },
225
229
  * // },
230
+ * // interactiveConfiguration: { // InteractiveConfiguration
231
+ * // studioEnabled: true || false,
232
+ * // livyEndpointEnabled: true || false,
233
+ * // },
226
234
  * // },
227
235
  * // };
228
236
  *
@@ -104,6 +104,22 @@ export interface InitialCapacityConfig {
104
104
  */
105
105
  workerConfiguration?: WorkerResourceConfig;
106
106
  }
107
+ /**
108
+ * <p>The configuration to use to enable the different types of interactive use cases in an application.</p>
109
+ * @public
110
+ */
111
+ export interface InteractiveConfiguration {
112
+ /**
113
+ * <p>Enables you to connect an application to Amazon EMR Studio to run interactive workloads in a notebook.</p>
114
+ * @public
115
+ */
116
+ studioEnabled?: boolean;
117
+ /**
118
+ * <p>Enables an Apache Livy endpoint that you can connect to and run interactive jobs.</p>
119
+ * @public
120
+ */
121
+ livyEndpointEnabled?: boolean;
122
+ }
107
123
  /**
108
124
  * <p>The maximum allowed cumulative resources for an application. No new resources will be
109
125
  * created once the limit is hit.</p>
@@ -1111,6 +1127,11 @@ export interface Application {
1111
1127
  * @public
1112
1128
  */
1113
1129
  monitoringConfiguration?: MonitoringConfiguration;
1130
+ /**
1131
+ * <p>The interactive configuration object that enables the interactive use cases for an application.</p>
1132
+ * @public
1133
+ */
1134
+ interactiveConfiguration?: InteractiveConfiguration;
1114
1135
  }
1115
1136
  /**
1116
1137
  * <p>A configuration specification to be used to override existing configurations.</p>
@@ -1221,6 +1242,12 @@ export interface CreateApplicationRequest {
1221
1242
  * @public
1222
1243
  */
1223
1244
  monitoringConfiguration?: MonitoringConfiguration;
1245
+ /**
1246
+ * <p>The interactive configuration object that enables the interactive use cases
1247
+ * to use when running an application.</p>
1248
+ * @public
1249
+ */
1250
+ interactiveConfiguration?: InteractiveConfiguration;
1224
1251
  }
1225
1252
  /**
1226
1253
  * @public
@@ -1288,6 +1315,12 @@ export interface UpdateApplicationRequest {
1288
1315
  * @public
1289
1316
  */
1290
1317
  workerTypeSpecifications?: Record<string, WorkerTypeSpecificationInput>;
1318
+ /**
1319
+ * <p>The interactive configuration object that contains new interactive use cases
1320
+ * when the application is updated.</p>
1321
+ * @public
1322
+ */
1323
+ interactiveConfiguration?: InteractiveConfiguration;
1291
1324
  /**
1292
1325
  * <p>The Amazon EMR release label for the application. You can change the release
1293
1326
  * label to use a different release of Amazon EMR.</p>
@@ -26,6 +26,10 @@ export interface InitialCapacityConfig {
26
26
  workerCount: number | undefined;
27
27
  workerConfiguration?: WorkerResourceConfig;
28
28
  }
29
+ export interface InteractiveConfiguration {
30
+ studioEnabled?: boolean;
31
+ livyEndpointEnabled?: boolean;
32
+ }
29
33
  export interface MaximumAllowedResources {
30
34
  cpu: string | undefined;
31
35
  memory: string | undefined;
@@ -303,6 +307,7 @@ export interface Application {
303
307
  workerTypeSpecifications?: Record<string, WorkerTypeSpecification>;
304
308
  runtimeConfiguration?: Configuration[];
305
309
  monitoringConfiguration?: MonitoringConfiguration;
310
+ interactiveConfiguration?: InteractiveConfiguration;
306
311
  }
307
312
  export interface ConfigurationOverrides {
308
313
  applicationConfiguration?: Configuration[];
@@ -324,6 +329,7 @@ export interface CreateApplicationRequest {
324
329
  workerTypeSpecifications?: Record<string, WorkerTypeSpecificationInput>;
325
330
  runtimeConfiguration?: Configuration[];
326
331
  monitoringConfiguration?: MonitoringConfiguration;
332
+ interactiveConfiguration?: InteractiveConfiguration;
327
333
  }
328
334
  export interface UpdateApplicationRequest {
329
335
  applicationId: string | undefined;
@@ -336,6 +342,7 @@ export interface UpdateApplicationRequest {
336
342
  architecture?: Architecture;
337
343
  imageConfiguration?: ImageConfigurationInput;
338
344
  workerTypeSpecifications?: Record<string, WorkerTypeSpecificationInput>;
345
+ interactiveConfiguration?: InteractiveConfiguration;
339
346
  releaseLabel?: string;
340
347
  runtimeConfiguration?: Configuration[];
341
348
  monitoringConfiguration?: MonitoringConfiguration;
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.582.0",
4
+ "version": "3.583.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,17 +20,17 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sso-oidc": "3.582.0",
24
- "@aws-sdk/client-sts": "3.582.0",
23
+ "@aws-sdk/client-sso-oidc": "3.583.0",
24
+ "@aws-sdk/client-sts": "3.583.0",
25
25
  "@aws-sdk/core": "3.582.0",
26
- "@aws-sdk/credential-provider-node": "3.582.0",
26
+ "@aws-sdk/credential-provider-node": "3.583.0",
27
27
  "@aws-sdk/middleware-host-header": "3.577.0",
28
28
  "@aws-sdk/middleware-logger": "3.577.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.577.0",
30
- "@aws-sdk/middleware-user-agent": "3.577.0",
30
+ "@aws-sdk/middleware-user-agent": "3.583.0",
31
31
  "@aws-sdk/region-config-resolver": "3.577.0",
32
32
  "@aws-sdk/types": "3.577.0",
33
- "@aws-sdk/util-endpoints": "3.577.0",
33
+ "@aws-sdk/util-endpoints": "3.583.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.577.0",
35
35
  "@aws-sdk/util-user-agent-node": "3.577.0",
36
36
  "@smithy/config-resolver": "^3.0.0",