Skip to content

Commit

Permalink
feat(client-emr): This release provides new parameter "Context" in in…
Browse files Browse the repository at this point in the history
…stance fleet clusters.
  • Loading branch information
awstools committed Oct 11, 2024
1 parent 809828e commit bbad384
Show file tree
Hide file tree
Showing 7 changed files with 43 additions and 0 deletions.
1 change: 1 addition & 0 deletions clients/client-emr/src/commands/AddInstanceFleetCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ export interface AddInstanceFleetCommandOutput extends AddInstanceFleetOutput, _
* },
* },
* },
* Context: "STRING_VALUE",
* },
* };
* const command = new AddInstanceFleetCommand(input);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ export interface ListInstanceFleetsCommandOutput extends ListInstanceFleetsOutpu
* // },
* // },
* // },
* // Context: "STRING_VALUE",
* // },
* // ],
* // Marker: "STRING_VALUE",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ export interface ModifyInstanceFleetCommandOutput extends __MetadataBearer {}
* Priority: Number("double"),
* },
* ],
* Context: "STRING_VALUE",
* },
* };
* const command = new ModifyInstanceFleetCommand(input);
Expand Down
1 change: 1 addition & 0 deletions clients/client-emr/src/commands/RunJobFlowCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ export interface RunJobFlowCommandOutput extends RunJobFlowOutput, __MetadataBea
* },
* },
* },
* Context: "STRING_VALUE",
* },
* ],
* Ec2KeyName: "STRING_VALUE",
Expand Down
18 changes: 18 additions & 0 deletions clients/client-emr/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6860,6 +6860,12 @@ export interface InstanceFleet {
* @public
*/
ResizeSpecifications?: InstanceFleetResizingSpecifications;

/**
* <p>Reserved.</p>
* @public
*/
Context?: string;
}

/**
Expand Down Expand Up @@ -6946,6 +6952,12 @@ export interface InstanceFleetConfig {
* @public
*/
ResizeSpecifications?: InstanceFleetResizingSpecifications;

/**
* <p>Reserved.</p>
* @public
*/
Context?: string;
}

/**
Expand Down Expand Up @@ -6989,6 +7001,12 @@ export interface InstanceFleetModifyConfig {
* @public
*/
InstanceTypeConfigs?: InstanceTypeConfig[];

/**
* <p>Reserved.</p>
* @public
*/
Context?: string;
}

/**
Expand Down
3 changes: 3 additions & 0 deletions clients/client-emr/src/protocols/Aws_json1_1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2407,6 +2407,7 @@ const se_DescribeJobFlowsInput = (input: DescribeJobFlowsInput, context: __Serde
*/
const se_InstanceFleetConfig = (input: InstanceFleetConfig, context: __SerdeContext): any => {
return take(input, {
Context: [],
InstanceFleetType: [],
InstanceTypeConfigs: (_) => se_InstanceTypeConfigList(_, context),
LaunchSpecifications: _json,
Expand All @@ -2433,6 +2434,7 @@ const se_InstanceFleetConfigList = (input: InstanceFleetConfig[], context: __Ser
*/
const se_InstanceFleetModifyConfig = (input: InstanceFleetModifyConfig, context: __SerdeContext): any => {
return take(input, {
Context: [],
InstanceFleetId: [],
InstanceTypeConfigs: (_) => se_InstanceTypeConfigList(_, context),
ResizeSpecifications: _json,
Expand Down Expand Up @@ -3210,6 +3212,7 @@ const de_Instance = (output: any, context: __SerdeContext): Instance => {
*/
const de_InstanceFleet = (output: any, context: __SerdeContext): InstanceFleet => {
return take(output, {
Context: __expectString,
Id: __expectString,
InstanceFleetType: __expectString,
InstanceTypeSpecifications: (_: any) => de_InstanceTypeSpecificationList(_, context),
Expand Down
18 changes: 18 additions & 0 deletions codegen/sdk-codegen/aws-models/emr.json
Original file line number Diff line number Diff line change
Expand Up @@ -4568,6 +4568,12 @@
"traits": {
"smithy.api#documentation": "<p>The resize specification for the instance fleet.</p>"
}
},
"Context": {
"target": "com.amazonaws.emr#XmlStringMaxLen256",
"traits": {
"smithy.api#documentation": "<p>Reserved.</p>"
}
}
},
"traits": {
Expand Down Expand Up @@ -4620,6 +4626,12 @@
"traits": {
"smithy.api#documentation": "<p>The resize specification for the instance fleet.</p>"
}
},
"Context": {
"target": "com.amazonaws.emr#XmlStringMaxLen256",
"traits": {
"smithy.api#documentation": "<p>Reserved.</p>"
}
}
},
"traits": {
Expand Down Expand Up @@ -4675,6 +4687,12 @@
"traits": {
"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>"
}
},
"Context": {
"target": "com.amazonaws.emr#XmlStringMaxLen256",
"traits": {
"smithy.api#documentation": "<p>Reserved.</p>"
}
}
},
"traits": {
Expand Down

0 comments on commit bbad384

Please sign in to comment.