diff --git a/clients/client-emr-serverless/src/commands/CreateApplicationCommand.ts b/clients/client-emr-serverless/src/commands/CreateApplicationCommand.ts index 4805adf870c7..c99048712996 100644 --- a/clients/client-emr-serverless/src/commands/CreateApplicationCommand.ts +++ b/clients/client-emr-serverless/src/commands/CreateApplicationCommand.ts @@ -129,6 +129,10 @@ export interface CreateApplicationCommandOutput extends CreateApplicationRespons * remoteWriteUrl: "STRING_VALUE", * }, * }, + * interactiveConfiguration: { // InteractiveConfiguration + * studioEnabled: true || false, + * livyEndpointEnabled: true || false, + * }, * }; * const command = new CreateApplicationCommand(input); * const response = await client.send(command); diff --git a/clients/client-emr-serverless/src/commands/GetApplicationCommand.ts b/clients/client-emr-serverless/src/commands/GetApplicationCommand.ts index aa897d95ba77..b2df62ee1d87 100644 --- a/clients/client-emr-serverless/src/commands/GetApplicationCommand.ts +++ b/clients/client-emr-serverless/src/commands/GetApplicationCommand.ts @@ -142,6 +142,10 @@ export interface GetApplicationCommandOutput extends GetApplicationResponse, __M * // remoteWriteUrl: "STRING_VALUE", * // }, * // }, + * // interactiveConfiguration: { // InteractiveConfiguration + * // studioEnabled: true || false, + * // livyEndpointEnabled: true || false, + * // }, * // }, * // }; * diff --git a/clients/client-emr-serverless/src/commands/UpdateApplicationCommand.ts b/clients/client-emr-serverless/src/commands/UpdateApplicationCommand.ts index b3eca87d5ce8..8d5fb75e9293 100644 --- a/clients/client-emr-serverless/src/commands/UpdateApplicationCommand.ts +++ b/clients/client-emr-serverless/src/commands/UpdateApplicationCommand.ts @@ -85,6 +85,10 @@ export interface UpdateApplicationCommandOutput extends UpdateApplicationRespons * }, * }, * }, + * interactiveConfiguration: { // InteractiveConfiguration + * studioEnabled: true || false, + * livyEndpointEnabled: true || false, + * }, * releaseLabel: "STRING_VALUE", * runtimeConfiguration: [ // ConfigurationList * { // Configuration @@ -229,6 +233,10 @@ export interface UpdateApplicationCommandOutput extends UpdateApplicationRespons * // remoteWriteUrl: "STRING_VALUE", * // }, * // }, + * // interactiveConfiguration: { // InteractiveConfiguration + * // studioEnabled: true || false, + * // livyEndpointEnabled: true || false, + * // }, * // }, * // }; * diff --git a/clients/client-emr-serverless/src/models/models_0.ts b/clients/client-emr-serverless/src/models/models_0.ts index db7cc5a1d5ef..2362344d3407 100644 --- a/clients/client-emr-serverless/src/models/models_0.ts +++ b/clients/client-emr-serverless/src/models/models_0.ts @@ -120,6 +120,24 @@ export interface InitialCapacityConfig { workerConfiguration?: WorkerResourceConfig; } +/** + *

The configuration to use to enable the different types of interactive use cases in an application.

+ * @public + */ +export interface InteractiveConfiguration { + /** + *

Enables you to connect an application to Amazon EMR Studio to run interactive workloads in a notebook.

+ * @public + */ + studioEnabled?: boolean; + + /** + *

Enables an Apache Livy endpoint that you can connect to and run interactive jobs.

+ * @public + */ + livyEndpointEnabled?: boolean; +} + /** *

The maximum allowed cumulative resources for an application. No new resources will be * created once the limit is hit.

@@ -1297,6 +1315,12 @@ export interface Application { * @public */ monitoringConfiguration?: MonitoringConfiguration; + + /** + *

The interactive configuration object that enables the interactive use cases for an application.

+ * @public + */ + interactiveConfiguration?: InteractiveConfiguration; } /** @@ -1424,6 +1448,13 @@ export interface CreateApplicationRequest { * @public */ monitoringConfiguration?: MonitoringConfiguration; + + /** + *

The interactive configuration object that enables the interactive use cases + * to use when running an application.

+ * @public + */ + interactiveConfiguration?: InteractiveConfiguration; } /** @@ -1502,6 +1533,13 @@ export interface UpdateApplicationRequest { */ workerTypeSpecifications?: Record; + /** + *

The interactive configuration object that contains new interactive use cases + * when the application is updated.

+ * @public + */ + interactiveConfiguration?: InteractiveConfiguration; + /** *

The Amazon EMR release label for the application. You can change the release * label to use a different release of Amazon EMR.

diff --git a/clients/client-emr-serverless/src/protocols/Aws_restJson1.ts b/clients/client-emr-serverless/src/protocols/Aws_restJson1.ts index 2b2a6f631cff..dcbce65b17b4 100644 --- a/clients/client-emr-serverless/src/protocols/Aws_restJson1.ts +++ b/clients/client-emr-serverless/src/protocols/Aws_restJson1.ts @@ -66,6 +66,7 @@ import { Hive, ImageConfigurationInput, InitialCapacityConfig, + InteractiveConfiguration, InternalServerException, JobDriver, JobRun, @@ -124,6 +125,7 @@ export const se_CreateApplicationCommand = async ( clientToken: [true, (_) => _ ?? generateIdempotencyToken()], imageConfiguration: (_) => _json(_), initialCapacity: (_) => _json(_), + interactiveConfiguration: (_) => _json(_), maximumCapacity: (_) => _json(_), monitoringConfiguration: (_) => _json(_), name: [], @@ -392,6 +394,7 @@ export const se_UpdateApplicationCommand = async ( clientToken: [true, (_) => _ ?? generateIdempotencyToken()], imageConfiguration: (_) => _json(_), initialCapacity: (_) => _json(_), + interactiveConfiguration: (_) => _json(_), maximumCapacity: (_) => _json(_), monitoringConfiguration: (_) => _json(_), networkConfiguration: (_) => _json(_), @@ -884,6 +887,8 @@ const se_ConfigurationOverrides = (input: ConfigurationOverrides, context: __Ser // se_InitialCapacityConfigMap omitted. +// se_InteractiveConfiguration omitted. + // se_JobDriver omitted. // se_LogTypeList omitted. @@ -931,6 +936,7 @@ const de_Application = (output: any, context: __SerdeContext): Application => { createdAt: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), imageConfiguration: _json, initialCapacity: _json, + interactiveConfiguration: _json, maximumCapacity: _json, monitoringConfiguration: _json, name: __expectString, @@ -1025,6 +1031,8 @@ const de_ConfigurationOverrides = (output: any, context: __SerdeContext): Config // de_InitialCapacityConfigMap omitted. +// de_InteractiveConfiguration omitted. + // de_JobDriver omitted. /**