Skip to content

Commit e9259f0

Browse files
author
awstools
committed
feat(client-emr): This release introduces additional optional parameter "Throughput" to VolumeSpecification to enable user to configure throughput for gp3 ebs volumes.
1 parent 4ec076d commit e9259f0

File tree

3 files changed

+32
-10
lines changed

3 files changed

+32
-10
lines changed

clients/client-emr/src/models/models_0.ts

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export enum InstanceFleetType {
1717
}
1818

1919
/**
20-
* <p>EBS volume specifications such as volume type, IOPS, and size (GiB) that will be
20+
* <p>EBS volume specifications such as volume type, IOPS, size (GiB) and throughput (MiB/s) that are
2121
* requested for the EBS volume attached to an EC2 instance in the cluster.</p>
2222
*/
2323
export interface VolumeSpecification {
@@ -36,6 +36,11 @@ export interface VolumeSpecification {
3636
* type is EBS-optimized, the minimum value is 10.</p>
3737
*/
3838
SizeInGB: number | undefined;
39+
40+
/**
41+
* <p>The throughput, in mebibyte per second (MiB/s). This optional parameter can be a number from 125 - 1000 and is valid only for gp3 volumes.</p>
42+
*/
43+
Throughput?: number;
3944
}
4045

4146
export namespace VolumeSpecification {
@@ -49,17 +54,17 @@ export namespace VolumeSpecification {
4954

5055
/**
5156
* <p>Configuration of requested EBS block device associated with the instance group with
52-
* count of volumes that will be associated to every instance.</p>
57+
* count of volumes that are associated to every instance.</p>
5358
*/
5459
export interface EbsBlockDeviceConfig {
5560
/**
56-
* <p>EBS volume specifications such as volume type, IOPS, and size (GiB) that will be
61+
* <p>EBS volume specifications such as volume type, IOPS, size (GiB) and throughput (MiB/s) that are
5762
* requested for the EBS volume attached to an EC2 instance in the cluster.</p>
5863
*/
5964
VolumeSpecification: VolumeSpecification | undefined;
6065

6166
/**
62-
* <p>Number of EBS volumes with a specific volume configuration that will be associated with
67+
* <p>Number of EBS volumes with a specific volume configuration that are associated with
6368
* every instance in the instance group</p>
6469
*/
6570
VolumesPerInstance?: number;
@@ -3465,7 +3470,7 @@ export namespace DescribeStudioOutput {
34653470
*/
34663471
export interface EbsBlockDevice {
34673472
/**
3468-
* <p>EBS volume specifications such as volume type, IOPS, and size (GiB) that will be
3473+
* <p>EBS volume specifications such as volume type, IOPS, size (GiB) and throughput (MiB/s) that are
34693474
* requested for the EBS volume attached to an EC2 instance in the cluster.</p>
34703475
*/
34713476
VolumeSpecification?: VolumeSpecification;

clients/client-emr/src/protocols/Aws_json1_1.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4909,6 +4909,7 @@ const serializeAws_json1_1VolumeSpecification = (input: VolumeSpecification, con
49094909
return {
49104910
...(input.Iops !== undefined && input.Iops !== null && { Iops: input.Iops }),
49114911
...(input.SizeInGB !== undefined && input.SizeInGB !== null && { SizeInGB: input.SizeInGB }),
4912+
...(input.Throughput !== undefined && input.Throughput !== null && { Throughput: input.Throughput }),
49124913
...(input.VolumeType !== undefined && input.VolumeType !== null && { VolumeType: input.VolumeType }),
49134914
};
49144915
};
@@ -7037,6 +7038,7 @@ const deserializeAws_json1_1VolumeSpecification = (output: any, context: __Serde
70377038
return {
70387039
Iops: __expectInt32(output.Iops),
70397040
SizeInGB: __expectInt32(output.SizeInGB),
7041+
Throughput: __expectInt32(output.Throughput),
70407042
VolumeType: __expectString(output.VolumeType),
70417043
} as any;
70427044
};

codegen/sdk-codegen/aws-models/emr.json

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2238,7 +2238,7 @@
22382238
"VolumeSpecification": {
22392239
"target": "com.amazonaws.emr#VolumeSpecification",
22402240
"traits": {
2241-
"smithy.api#documentation": "<p>EBS volume specifications such as volume type, IOPS, and size (GiB) that will be\n requested for the EBS volume attached to an EC2 instance in the cluster.</p>"
2241+
"smithy.api#documentation": "<p>EBS volume specifications such as volume type, IOPS, size (GiB) and throughput (MiB/s) that are\n requested for the EBS volume attached to an EC2 instance in the cluster.</p>"
22422242
}
22432243
},
22442244
"Device": {
@@ -2258,19 +2258,19 @@
22582258
"VolumeSpecification": {
22592259
"target": "com.amazonaws.emr#VolumeSpecification",
22602260
"traits": {
2261-
"smithy.api#documentation": "<p>EBS volume specifications such as volume type, IOPS, and size (GiB) that will be\n requested for the EBS volume attached to an EC2 instance in the cluster.</p>",
2261+
"smithy.api#documentation": "<p>EBS volume specifications such as volume type, IOPS, size (GiB) and throughput (MiB/s) that are\n requested for the EBS volume attached to an EC2 instance in the cluster.</p>",
22622262
"smithy.api#required": {}
22632263
}
22642264
},
22652265
"VolumesPerInstance": {
22662266
"target": "com.amazonaws.emr#Integer",
22672267
"traits": {
2268-
"smithy.api#documentation": "<p>Number of EBS volumes with a specific volume configuration that will be associated with\n every instance in the instance group</p>"
2268+
"smithy.api#documentation": "<p>Number of EBS volumes with a specific volume configuration that are associated with\n every instance in the instance group</p>"
22692269
}
22702270
}
22712271
},
22722272
"traits": {
2273-
"smithy.api#documentation": "<p>Configuration of requested EBS block device associated with the instance group with\n count of volumes that will be associated to every instance.</p>"
2273+
"smithy.api#documentation": "<p>Configuration of requested EBS block device associated with the instance group with\n count of volumes that are associated to every instance.</p>"
22742274
}
22752275
},
22762276
"com.amazonaws.emr#EbsBlockDeviceConfigList": {
@@ -7936,6 +7936,15 @@
79367936
"smithy.api#documentation": "<p> Input to the <a>TerminateJobFlows</a> operation. </p>"
79377937
}
79387938
},
7939+
"com.amazonaws.emr#ThroughputVal": {
7940+
"type": "integer",
7941+
"traits": {
7942+
"smithy.api#box": {},
7943+
"smithy.api#range": {
7944+
"min": 0
7945+
}
7946+
}
7947+
},
79397948
"com.amazonaws.emr#Unit": {
79407949
"type": "string",
79417950
"traits": {
@@ -8187,10 +8196,16 @@
81878196
"smithy.api#documentation": "<p>The volume size, in gibibytes (GiB). This can be a number from 1 - 1024. If the volume\n type is EBS-optimized, the minimum value is 10.</p>",
81888197
"smithy.api#required": {}
81898198
}
8199+
},
8200+
"Throughput": {
8201+
"target": "com.amazonaws.emr#ThroughputVal",
8202+
"traits": {
8203+
"smithy.api#documentation": "<p>The throughput, in mebibyte per second (MiB/s). This optional parameter can be a number from 125 - 1000 and is valid only for gp3 volumes.</p>"
8204+
}
81908205
}
81918206
},
81928207
"traits": {
8193-
"smithy.api#documentation": "<p>EBS volume specifications such as volume type, IOPS, and size (GiB) that will be\n requested for the EBS volume attached to an EC2 instance in the cluster.</p>"
8208+
"smithy.api#documentation": "<p>EBS volume specifications such as volume type, IOPS, size (GiB) and throughput (MiB/s) that are\n requested for the EBS volume attached to an EC2 instance in the cluster.</p>"
81948209
}
81958210
},
81968211
"com.amazonaws.emr#WholeNumber": {

0 commit comments

Comments
 (0)