Skip to content

Commit 2a0ee74

Browse files
author
AWS
committed
Amazon EMR Update: Update APIs to allow modification of ODCR options, allocation strategy, and InstanceTypeConfigs on running InstanceFleet clusters.
1 parent fda567f commit 2a0ee74

File tree

2 files changed

+25
-8
lines changed

2 files changed

+25
-8
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon EMR",
4+
"contributor": "",
5+
"description": "Update APIs to allow modification of ODCR options, allocation strategy, and InstanceTypeConfigs on running InstanceFleet clusters."
6+
}

services/emr/src/main/resources/codegen-resources/service-2.json

Lines changed: 19 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2529,6 +2529,10 @@
25292529
"ResizeSpecifications":{
25302530
"shape":"InstanceFleetResizingSpecifications",
25312531
"documentation":"<p>The resize specification for the instance fleet.</p>"
2532+
},
2533+
"InstanceTypeConfigs":{
2534+
"shape":"InstanceTypeConfigList",
2535+
"documentation":"<p>An array of InstanceTypeConfig objects that specify how Amazon EMR provisions Amazon EC2 instances 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>"
25322536
}
25332537
},
25342538
"documentation":"<p>Configuration parameters for an instance fleet modification request.</p> <note> <p>The instance fleet configuration is available only in Amazon EMR releases 4.8.0 and later, excluding 5.0.x versions.</p> </note>"
@@ -2538,25 +2542,25 @@
25382542
"members":{
25392543
"SpotSpecification":{
25402544
"shape":"SpotProvisioningSpecification",
2541-
"documentation":"<p>The launch specification for Spot instances in the fleet, which determines the defined duration, provisioning timeout behavior, and allocation strategy.</p>"
2545+
"documentation":"<p>The launch specification for Spot instances in the fleet, which determines the allocation strategy, defined duration, and provisioning timeout behavior.</p>"
25422546
},
25432547
"OnDemandSpecification":{
25442548
"shape":"OnDemandProvisioningSpecification",
2545-
"documentation":"<p> The launch specification for On-Demand Instances in the instance fleet, which determines the allocation strategy. </p> <note> <p>The instance fleet configuration is available only in Amazon EMR releases 4.8.0 and later, excluding 5.0.x versions. On-Demand Instances allocation strategy is available in Amazon EMR releases 5.12.1 and later.</p> </note>"
2549+
"documentation":"<p> The launch specification for On-Demand Instances in the instance fleet, which determines the allocation strategy and capacity reservation options.</p> <note> <p>The instance fleet configuration is available only in Amazon EMR releases 4.8.0 and later, excluding 5.0.x versions. On-Demand Instances allocation strategy is available in Amazon EMR releases 5.12.1 and later.</p> </note>"
25462550
}
25472551
},
2548-
"documentation":"<p>The launch specification for Spot Instances in the fleet, which determines the defined duration, provisioning timeout behavior, and allocation strategy.</p> <note> <p>The instance fleet configuration is available only in Amazon EMR releases 4.8.0 and later, excluding 5.0.x versions. On-Demand and Spot instance allocation strategies are available in Amazon EMR releases 5.12.1 and later.</p> </note>"
2552+
"documentation":"<p>The launch specification for On-Demand and Spot Instances in the fleet.</p> <note> <p>The instance fleet configuration is available only in Amazon EMR releases 4.8.0 and later, excluding 5.0.x versions. On-Demand and Spot instance allocation strategies are available in Amazon EMR releases 5.12.1 and later.</p> </note>"
25492553
},
25502554
"InstanceFleetResizingSpecifications":{
25512555
"type":"structure",
25522556
"members":{
25532557
"SpotResizeSpecification":{
25542558
"shape":"SpotResizingSpecification",
2555-
"documentation":"<p>The resize specification for Spot Instances in the instance fleet, which contains the resize timeout period. </p>"
2559+
"documentation":"<p>The resize specification for Spot Instances in the instance fleet, which contains the allocation strategy and the resize timeout period. </p>"
25562560
},
25572561
"OnDemandResizeSpecification":{
25582562
"shape":"OnDemandResizingSpecification",
2559-
"documentation":"<p>The resize specification for On-Demand Instances in the instance fleet, which contains the resize timeout period. </p>"
2563+
"documentation":"<p>The resize specification for On-Demand Instances in the instance fleet, which contains the allocation strategy, capacity reservation options, and the resize timeout period. </p>"
25602564
}
25612565
},
25622566
"documentation":"<p>The resize specification for On-Demand and Spot Instances in the fleet.</p>"
@@ -4249,12 +4253,16 @@
42494253
},
42504254
"OnDemandResizingSpecification":{
42514255
"type":"structure",
4252-
"required":["TimeoutDurationMinutes"],
42534256
"members":{
42544257
"TimeoutDurationMinutes":{
42554258
"shape":"WholeNumber",
42564259
"documentation":"<p>On-Demand resize timeout in minutes. If On-Demand Instances are not provisioned within this time, the resize workflow stops. The minimum value is 5 minutes, and the maximum value is 10,080 minutes (7 days). The timeout applies to all resize workflows on the Instance Fleet. The resize could be triggered by Amazon EMR Managed Scaling or by the customer (via Amazon EMR Console, Amazon EMR CLI modify-instance-fleet or Amazon EMR SDK ModifyInstanceFleet API) or by Amazon EMR due to Amazon EC2 Spot Reclamation.</p>"
4257-
}
4260+
},
4261+
"AllocationStrategy":{
4262+
"shape":"OnDemandProvisioningAllocationStrategy",
4263+
"documentation":"<p>Specifies the allocation strategy to use to launch On-Demand instances during a resize. The default is <code>lowest-price</code>.</p>"
4264+
},
4265+
"CapacityReservationOptions":{"shape":"OnDemandCapacityReservationOptions"}
42584266
},
42594267
"documentation":"<p>The resize specification for On-Demand Instances in the instance fleet, which contains the resize timeout period. </p>"
42604268
},
@@ -5063,11 +5071,14 @@
50635071
},
50645072
"SpotResizingSpecification":{
50655073
"type":"structure",
5066-
"required":["TimeoutDurationMinutes"],
50675074
"members":{
50685075
"TimeoutDurationMinutes":{
50695076
"shape":"WholeNumber",
50705077
"documentation":"<p>Spot resize timeout in minutes. If Spot Instances are not provisioned within this time, the resize workflow will stop provisioning of Spot instances. Minimum value is 5 minutes and maximum value is 10,080 minutes (7 days). The timeout applies to all resize workflows on the Instance Fleet. The resize could be triggered by Amazon EMR Managed Scaling or by the customer (via Amazon EMR Console, Amazon EMR CLI modify-instance-fleet or Amazon EMR SDK ModifyInstanceFleet API) or by Amazon EMR due to Amazon EC2 Spot Reclamation.</p>"
5078+
},
5079+
"AllocationStrategy":{
5080+
"shape":"SpotProvisioningAllocationStrategy",
5081+
"documentation":"<p>Specifies the allocation strategy to use to launch Spot instances during a resize. If you run Amazon EMR releases 6.9.0 or higher, the default is <code>price-capacity-optimized</code>. If you run Amazon EMR releases 6.8.0 or lower, the default is <code>capacity-optimized</code>.</p>"
50715082
}
50725083
},
50735084
"documentation":"<p>The resize specification for Spot Instances in the instance fleet, which contains the resize timeout period. </p>"

0 commit comments

Comments
 (0)