Skip to content

Commit fa006a5

Browse files
author
awstools
committed
feat(client-emr): This release adds new parameter 'ExtendedSupport' in AWS EMR RunJobFlow, ModifyCluster and DescribeCluster API.
1 parent 0f39696 commit fa006a5

File tree

6 files changed

+56
-2
lines changed

6 files changed

+56
-2
lines changed

clients/client-emr/src/commands/DescribeClusterCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ export interface DescribeClusterCommandOutput extends DescribeClusterOutput, __M
162162
* // OSReleaseLabel: "STRING_VALUE",
163163
* // EbsRootVolumeIops: Number("int"),
164164
* // EbsRootVolumeThroughput: Number("int"),
165+
* // ExtendedSupport: true || false,
165166
* // },
166167
* // };
167168
*

clients/client-emr/src/commands/ModifyClusterCommand.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,13 @@ export interface ModifyClusterCommandOutput extends ModifyClusterOutput, __Metad
3939
* const input = { // ModifyClusterInput
4040
* ClusterId: "STRING_VALUE", // required
4141
* StepConcurrencyLevel: Number("int"),
42+
* ExtendedSupport: true || false,
4243
* };
4344
* const command = new ModifyClusterCommand(input);
4445
* const response = await client.send(command);
4546
* // { // ModifyClusterOutput
4647
* // StepConcurrencyLevel: Number("int"),
48+
* // ExtendedSupport: true || false,
4749
* // };
4850
*
4951
* ```

clients/client-emr/src/commands/RunJobFlowCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -335,6 +335,7 @@ export interface RunJobFlowCommandOutput extends RunJobFlowOutput, __MetadataBea
335335
* OSReleaseLabel: "STRING_VALUE",
336336
* EbsRootVolumeIops: Number("int"),
337337
* EbsRootVolumeThroughput: Number("int"),
338+
* ExtendedSupport: true || false,
338339
* };
339340
* const command = new RunJobFlowCommand(input);
340341
* const response = await client.send(command);

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

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2049,7 +2049,7 @@ export interface CreatePersistentAppUIInput {
20492049
XReferer?: string | undefined;
20502050

20512051
/**
2052-
* <p>The profiler type for the persistent application user interface. Valid values are SHS, TEZUI, or YTS.</p>
2052+
* <p>The profiler type for the persistent application user interface.</p>
20532053
* @public
20542054
*/
20552055
ProfilerType?: ProfilerType | undefined;
@@ -5777,6 +5777,12 @@ export interface ModifyClusterInput {
57775777
* @public
57785778
*/
57795779
StepConcurrencyLevel?: number | undefined;
5780+
5781+
/**
5782+
* <p>Reserved.</p>
5783+
* @public
5784+
*/
5785+
ExtendedSupport?: boolean | undefined;
57805786
}
57815787

57825788
/**
@@ -5788,6 +5794,12 @@ export interface ModifyClusterOutput {
57885794
* @public
57895795
*/
57905796
StepConcurrencyLevel?: number | undefined;
5797+
5798+
/**
5799+
* <p>Reserved.</p>
5800+
* @public
5801+
*/
5802+
ExtendedSupport?: boolean | undefined;
57915803
}
57925804

57935805
/**
@@ -6702,6 +6714,12 @@ export interface Cluster {
67026714
* @public
67036715
*/
67046716
EbsRootVolumeThroughput?: number | undefined;
6717+
6718+
/**
6719+
* <p>Reserved.</p>
6720+
* @public
6721+
*/
6722+
ExtendedSupport?: boolean | undefined;
67056723
}
67066724

67076725
/**
@@ -8008,6 +8026,12 @@ export interface RunJobFlowInput {
80088026
* @public
80098027
*/
80108028
EbsRootVolumeThroughput?: number | undefined;
8029+
8030+
/**
8031+
* <p>Reserved.</p>
8032+
* @public
8033+
*/
8034+
ExtendedSupport?: boolean | undefined;
80118035
}
80128036

80138037
/**

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2882,6 +2882,7 @@ const se_RunJobFlowInput = (input: RunJobFlowInput, context: __SerdeContext): an
28822882
EbsRootVolumeIops: [],
28832883
EbsRootVolumeSize: [],
28842884
EbsRootVolumeThroughput: [],
2885+
ExtendedSupport: [],
28852886
Instances: (_) => se_JobFlowInstancesConfig(_, context),
28862887
JobFlowRole: [],
28872888
KerberosAttributes: _json,
@@ -3098,6 +3099,7 @@ const de_Cluster = (output: any, context: __SerdeContext): Cluster => {
30983099
EbsRootVolumeSize: __expectInt32,
30993100
EbsRootVolumeThroughput: __expectInt32,
31003101
Ec2InstanceAttributes: _json,
3102+
ExtendedSupport: __expectBoolean,
31013103
Id: __expectString,
31023104
InstanceCollectionType: __expectString,
31033105
KerberosAttributes: _json,

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

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1079,6 +1079,12 @@
10791079
"traits": {
10801080
"smithy.api#documentation": "<p>The throughput, in MiB/s, of the Amazon EBS root device volume of the Linux AMI that is\n used for each Amazon EC2 instance. Available in Amazon EMR releases 6.15.0 and\n later.</p>"
10811081
}
1082+
},
1083+
"ExtendedSupport": {
1084+
"target": "com.amazonaws.emr#BooleanObject",
1085+
"traits": {
1086+
"smithy.api#documentation": "<p>Reserved.</p>"
1087+
}
10821088
}
10831089
},
10841090
"traits": {
@@ -1534,7 +1540,7 @@
15341540
"ProfilerType": {
15351541
"target": "com.amazonaws.emr#ProfilerType",
15361542
"traits": {
1537-
"smithy.api#documentation": "<p>The profiler type for the persistent application user interface. Valid values are SHS, TEZUI, or YTS.</p>"
1543+
"smithy.api#documentation": "<p>The profiler type for the persistent application user interface.</p>"
15381544
}
15391545
}
15401546
},
@@ -7724,6 +7730,12 @@
77247730
"traits": {
77257731
"smithy.api#documentation": "<p>The number of steps that can be executed concurrently. You can specify a minimum of 1\n step and a maximum of 256 steps. We recommend that you do not change this parameter while\n steps are running or the <code>ActionOnFailure</code> setting may not behave as expected.\n For more information see <a>Step$ActionOnFailure</a>.</p>"
77267732
}
7733+
},
7734+
"ExtendedSupport": {
7735+
"target": "com.amazonaws.emr#BooleanObject",
7736+
"traits": {
7737+
"smithy.api#documentation": "<p>Reserved.</p>"
7738+
}
77277739
}
77287740
},
77297741
"traits": {
@@ -7738,6 +7750,12 @@
77387750
"traits": {
77397751
"smithy.api#documentation": "<p>The number of steps that can be executed concurrently.</p>"
77407752
}
7753+
},
7754+
"ExtendedSupport": {
7755+
"target": "com.amazonaws.emr#BooleanObject",
7756+
"traits": {
7757+
"smithy.api#documentation": "<p>Reserved.</p>"
7758+
}
77417759
}
77427760
},
77437761
"traits": {
@@ -9208,6 +9226,12 @@
92089226
"traits": {
92099227
"smithy.api#documentation": "<p>The throughput, in MiB/s, of the Amazon EBS root device volume of the Linux AMI that is\n used for each Amazon EC2 instance. Available in Amazon EMR releases 6.15.0 and\n later.</p>"
92109228
}
9229+
},
9230+
"ExtendedSupport": {
9231+
"target": "com.amazonaws.emr#BooleanObject",
9232+
"traits": {
9233+
"smithy.api#documentation": "<p>Reserved.</p>"
9234+
}
92119235
}
92129236
},
92139237
"traits": {

0 commit comments

Comments
 (0)