Skip to content

Commit bbad384

Browse files
author
awstools
committed
feat(client-emr): This release provides new parameter "Context" in instance fleet clusters.
1 parent 809828e commit bbad384

File tree

7 files changed

+43
-0
lines changed

7 files changed

+43
-0
lines changed

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

+1
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ export interface AddInstanceFleetCommandOutput extends AddInstanceFleetOutput, _
118118
* },
119119
* },
120120
* },
121+
* Context: "STRING_VALUE",
121122
* },
122123
* };
123124
* const command = new AddInstanceFleetCommand(input);

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

+1
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ export interface ListInstanceFleetsCommandOutput extends ListInstanceFleetsOutpu
137137
* // },
138138
* // },
139139
* // },
140+
* // Context: "STRING_VALUE",
140141
* // },
141142
* // ],
142143
* // Marker: "STRING_VALUE",

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

+1
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ export interface ModifyInstanceFleetCommandOutput extends __MetadataBearer {}
103103
* Priority: Number("double"),
104104
* },
105105
* ],
106+
* Context: "STRING_VALUE",
106107
* },
107108
* };
108109
* const command = new ModifyInstanceFleetCommand(input);

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

+1
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,7 @@ export interface RunJobFlowCommandOutput extends RunJobFlowOutput, __MetadataBea
209209
* },
210210
* },
211211
* },
212+
* Context: "STRING_VALUE",
212213
* },
213214
* ],
214215
* Ec2KeyName: "STRING_VALUE",

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

+18
Original file line numberDiff line numberDiff line change
@@ -6860,6 +6860,12 @@ export interface InstanceFleet {
68606860
* @public
68616861
*/
68626862
ResizeSpecifications?: InstanceFleetResizingSpecifications;
6863+
6864+
/**
6865+
* <p>Reserved.</p>
6866+
* @public
6867+
*/
6868+
Context?: string;
68636869
}
68646870

68656871
/**
@@ -6946,6 +6952,12 @@ export interface InstanceFleetConfig {
69466952
* @public
69476953
*/
69486954
ResizeSpecifications?: InstanceFleetResizingSpecifications;
6955+
6956+
/**
6957+
* <p>Reserved.</p>
6958+
* @public
6959+
*/
6960+
Context?: string;
69496961
}
69506962

69516963
/**
@@ -6989,6 +7001,12 @@ export interface InstanceFleetModifyConfig {
69897001
* @public
69907002
*/
69917003
InstanceTypeConfigs?: InstanceTypeConfig[];
7004+
7005+
/**
7006+
* <p>Reserved.</p>
7007+
* @public
7008+
*/
7009+
Context?: string;
69927010
}
69937011

69947012
/**

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

+3
Original file line numberDiff line numberDiff line change
@@ -2407,6 +2407,7 @@ const se_DescribeJobFlowsInput = (input: DescribeJobFlowsInput, context: __Serde
24072407
*/
24082408
const se_InstanceFleetConfig = (input: InstanceFleetConfig, context: __SerdeContext): any => {
24092409
return take(input, {
2410+
Context: [],
24102411
InstanceFleetType: [],
24112412
InstanceTypeConfigs: (_) => se_InstanceTypeConfigList(_, context),
24122413
LaunchSpecifications: _json,
@@ -2433,6 +2434,7 @@ const se_InstanceFleetConfigList = (input: InstanceFleetConfig[], context: __Ser
24332434
*/
24342435
const se_InstanceFleetModifyConfig = (input: InstanceFleetModifyConfig, context: __SerdeContext): any => {
24352436
return take(input, {
2437+
Context: [],
24362438
InstanceFleetId: [],
24372439
InstanceTypeConfigs: (_) => se_InstanceTypeConfigList(_, context),
24382440
ResizeSpecifications: _json,
@@ -3210,6 +3212,7 @@ const de_Instance = (output: any, context: __SerdeContext): Instance => {
32103212
*/
32113213
const de_InstanceFleet = (output: any, context: __SerdeContext): InstanceFleet => {
32123214
return take(output, {
3215+
Context: __expectString,
32133216
Id: __expectString,
32143217
InstanceFleetType: __expectString,
32153218
InstanceTypeSpecifications: (_: any) => de_InstanceTypeSpecificationList(_, context),

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

+18
Original file line numberDiff line numberDiff line change
@@ -4568,6 +4568,12 @@
45684568
"traits": {
45694569
"smithy.api#documentation": "<p>The resize specification for the instance fleet.</p>"
45704570
}
4571+
},
4572+
"Context": {
4573+
"target": "com.amazonaws.emr#XmlStringMaxLen256",
4574+
"traits": {
4575+
"smithy.api#documentation": "<p>Reserved.</p>"
4576+
}
45714577
}
45724578
},
45734579
"traits": {
@@ -4620,6 +4626,12 @@
46204626
"traits": {
46214627
"smithy.api#documentation": "<p>The resize specification for the instance fleet.</p>"
46224628
}
4629+
},
4630+
"Context": {
4631+
"target": "com.amazonaws.emr#XmlStringMaxLen256",
4632+
"traits": {
4633+
"smithy.api#documentation": "<p>Reserved.</p>"
4634+
}
46234635
}
46244636
},
46254637
"traits": {
@@ -4675,6 +4687,12 @@
46754687
"traits": {
46764688
"smithy.api#documentation": "<p>An array of InstanceTypeConfig objects that specify how Amazon EMR provisions Amazon EC2 instances\n when it fulfills On-Demand and Spot capacities. For more information, see <a href=\"https://docs.aws.amazon.com/emr/latest/APIReference/API_InstanceTypeConfig.html\">InstanceTypeConfig</a>.</p>"
46774689
}
4690+
},
4691+
"Context": {
4692+
"target": "com.amazonaws.emr#XmlStringMaxLen256",
4693+
"traits": {
4694+
"smithy.api#documentation": "<p>Reserved.</p>"
4695+
}
46784696
}
46794697
},
46804698
"traits": {

0 commit comments

Comments
 (0)