From b99376ece2bc94a475570965d59ccedbe385efd9 Mon Sep 17 00:00:00 2001 From: awstools Date: Tue, 16 Apr 2024 18:21:50 +0000 Subject: [PATCH] feat(client-emr-serverless): This release adds support for shuffle optimized disks that allow larger disk sizes and higher IOPS to efficiently run shuffle heavy workloads. --- .../src/commands/CreateApplicationCommand.ts | 1 + .../src/commands/GetApplicationCommand.ts | 1 + .../src/commands/UpdateApplicationCommand.ts | 2 ++ clients/client-emr-serverless/src/models/models_0.ts | 6 ++++++ codegen/sdk-codegen/aws-models/emr-serverless.json | 12 ++++++++++++ 5 files changed, 22 insertions(+) diff --git a/clients/client-emr-serverless/src/commands/CreateApplicationCommand.ts b/clients/client-emr-serverless/src/commands/CreateApplicationCommand.ts index 4ea5e500b76c..4c3edbc664e9 100644 --- a/clients/client-emr-serverless/src/commands/CreateApplicationCommand.ts +++ b/clients/client-emr-serverless/src/commands/CreateApplicationCommand.ts @@ -50,6 +50,7 @@ export interface CreateApplicationCommandOutput extends CreateApplicationRespons * cpu: "STRING_VALUE", // required * memory: "STRING_VALUE", // required * disk: "STRING_VALUE", + * diskType: "STRING_VALUE", * }, * }, * }, diff --git a/clients/client-emr-serverless/src/commands/GetApplicationCommand.ts b/clients/client-emr-serverless/src/commands/GetApplicationCommand.ts index aa02b62efcff..8fd332828ff6 100644 --- a/clients/client-emr-serverless/src/commands/GetApplicationCommand.ts +++ b/clients/client-emr-serverless/src/commands/GetApplicationCommand.ts @@ -59,6 +59,7 @@ export interface GetApplicationCommandOutput extends GetApplicationResponse, __M * // cpu: "STRING_VALUE", // required * // memory: "STRING_VALUE", // required * // disk: "STRING_VALUE", + * // diskType: "STRING_VALUE", * // }, * // }, * // }, diff --git a/clients/client-emr-serverless/src/commands/UpdateApplicationCommand.ts b/clients/client-emr-serverless/src/commands/UpdateApplicationCommand.ts index ef704be30629..019bf80a3d40 100644 --- a/clients/client-emr-serverless/src/commands/UpdateApplicationCommand.ts +++ b/clients/client-emr-serverless/src/commands/UpdateApplicationCommand.ts @@ -50,6 +50,7 @@ export interface UpdateApplicationCommandOutput extends UpdateApplicationRespons * cpu: "STRING_VALUE", // required * memory: "STRING_VALUE", // required * disk: "STRING_VALUE", + * diskType: "STRING_VALUE", * }, * }, * }, @@ -142,6 +143,7 @@ export interface UpdateApplicationCommandOutput extends UpdateApplicationRespons * // cpu: "STRING_VALUE", // required * // memory: "STRING_VALUE", // required * // disk: "STRING_VALUE", + * // diskType: "STRING_VALUE", * // }, * // }, * // }, diff --git a/clients/client-emr-serverless/src/models/models_0.ts b/clients/client-emr-serverless/src/models/models_0.ts index cfc4bf5ccb2c..0b96962e8014 100644 --- a/clients/client-emr-serverless/src/models/models_0.ts +++ b/clients/client-emr-serverless/src/models/models_0.ts @@ -93,6 +93,12 @@ export interface WorkerResourceConfig { * @public */ disk?: string; + + /** + *

The disk type for every worker instance of the work type. Shuffle optimized disks have higher performance characteristics and are better for shuffle heavy workloads. Default is STANDARD.

+ * @public + */ + diskType?: string; } /** diff --git a/codegen/sdk-codegen/aws-models/emr-serverless.json b/codegen/sdk-codegen/aws-models/emr-serverless.json index 42f586aa0bd6..a56ec1495aac 100644 --- a/codegen/sdk-codegen/aws-models/emr-serverless.json +++ b/codegen/sdk-codegen/aws-models/emr-serverless.json @@ -1537,6 +1537,12 @@ "smithy.api#pattern": "^[1-9][0-9]*(\\s)?(GB|gb|gB|Gb)$" } }, + "com.amazonaws.emrserverless#DiskType": { + "type": "string", + "traits": { + "smithy.api#pattern": "^(SHUFFLE_OPTIMIZED|[Ss]huffle_[Oo]ptimized|STANDARD|[Ss]tandard)$" + } + }, "com.amazonaws.emrserverless#Duration": { "type": "long", "traits": { @@ -3520,6 +3526,12 @@ "traits": { "smithy.api#documentation": "

The disk requirements for every worker instance of the worker type.

" } + }, + "diskType": { + "target": "com.amazonaws.emrserverless#DiskType", + "traits": { + "smithy.api#documentation": "

The disk type for every worker instance of the work type. Shuffle optimized disks have higher performance characteristics and are better for shuffle heavy workloads. Default is STANDARD.

" + } } }, "traits": {