Skip to content

Commit

Permalink
feat(client-emr-serverless): This release adds support for shuffle op…
Browse files Browse the repository at this point in the history
…timized disks that allow larger disk sizes and higher IOPS to efficiently run shuffle heavy workloads.
  • Loading branch information
awstools committed Apr 16, 2024
1 parent aa902b4 commit b99376e
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ export interface CreateApplicationCommandOutput extends CreateApplicationRespons
* cpu: "STRING_VALUE", // required
* memory: "STRING_VALUE", // required
* disk: "STRING_VALUE",
* diskType: "STRING_VALUE",
* },
* },
* },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ export interface GetApplicationCommandOutput extends GetApplicationResponse, __M
* // cpu: "STRING_VALUE", // required
* // memory: "STRING_VALUE", // required
* // disk: "STRING_VALUE",
* // diskType: "STRING_VALUE",
* // },
* // },
* // },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ export interface UpdateApplicationCommandOutput extends UpdateApplicationRespons
* cpu: "STRING_VALUE", // required
* memory: "STRING_VALUE", // required
* disk: "STRING_VALUE",
* diskType: "STRING_VALUE",
* },
* },
* },
Expand Down Expand Up @@ -142,6 +143,7 @@ export interface UpdateApplicationCommandOutput extends UpdateApplicationRespons
* // cpu: "STRING_VALUE", // required
* // memory: "STRING_VALUE", // required
* // disk: "STRING_VALUE",
* // diskType: "STRING_VALUE",
* // },
* // },
* // },
Expand Down
6 changes: 6 additions & 0 deletions clients/client-emr-serverless/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,12 @@ export interface WorkerResourceConfig {
* @public
*/
disk?: string;

/**
* <p>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 <code>STANDARD</code>.</p>
* @public
*/
diskType?: string;
}

/**
Expand Down
12 changes: 12 additions & 0 deletions codegen/sdk-codegen/aws-models/emr-serverless.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down Expand Up @@ -3520,6 +3526,12 @@
"traits": {
"smithy.api#documentation": "<p>The disk requirements for every worker instance of the worker type.</p>"
}
},
"diskType": {
"target": "com.amazonaws.emrserverless#DiskType",
"traits": {
"smithy.api#documentation": "<p>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 <code>STANDARD</code>.</p>"
}
}
},
"traits": {
Expand Down

0 comments on commit b99376e

Please sign in to comment.