aws-sdk-emr 1.95.0 → 1.96.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-emr/client.rb +68 -7
- data/lib/aws-sdk-emr/client_api.rb +6 -2
- data/lib/aws-sdk-emr/types.rb +44 -11
- data/lib/aws-sdk-emr.rb +1 -1
- data/sig/client.rbs +59 -7
- data/sig/types.rbs +4 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f79417ac41a202bce493ed45bdcfb45bff7cd25b87c17a8186425097cbfd09fb
|
4
|
+
data.tar.gz: 25c2068de5cfd4f497d968fa00da6d6233f128b536f8afe09456b567cb5946fd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8e4a3e93596d8fc77d19e7b46984d6fbd7c082ff6d36aeab519f869549aca1a48b407a085c8c4016eb2d1b38718ecbee19a6f29f76dfcf51d5ece7a220557553
|
7
|
+
data.tar.gz: 38f40f2f7011e195142dda795ce5fdea67b1831ed59773f508bf5dda2e13b6928617edaebf421a0ee5b17e8ec103e6e08b04f23aae7c734f17f9ad47a0c0ae84
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.96.0 (2024-09-12)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Update APIs to allow modification of ODCR options, allocation strategy, and InstanceTypeConfigs on running InstanceFleet clusters.
|
8
|
+
|
4
9
|
1.95.0 (2024-09-11)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.96.0
|
data/lib/aws-sdk-emr/client.rb
CHANGED
@@ -531,10 +531,17 @@ module Aws::EMR
|
|
531
531
|
# },
|
532
532
|
# resize_specifications: {
|
533
533
|
# spot_resize_specification: {
|
534
|
-
# timeout_duration_minutes: 1,
|
534
|
+
# timeout_duration_minutes: 1,
|
535
|
+
# allocation_strategy: "capacity-optimized", # accepts capacity-optimized, price-capacity-optimized, lowest-price, diversified, capacity-optimized-prioritized
|
535
536
|
# },
|
536
537
|
# on_demand_resize_specification: {
|
537
|
-
# timeout_duration_minutes: 1,
|
538
|
+
# timeout_duration_minutes: 1,
|
539
|
+
# allocation_strategy: "lowest-price", # accepts lowest-price, prioritized
|
540
|
+
# capacity_reservation_options: {
|
541
|
+
# usage_strategy: "use-capacity-reservations-first", # accepts use-capacity-reservations-first
|
542
|
+
# capacity_reservation_preference: "open", # accepts open, none
|
543
|
+
# capacity_reservation_resource_group_arn: "XmlStringMaxLen256",
|
544
|
+
# },
|
538
545
|
# },
|
539
546
|
# },
|
540
547
|
# },
|
@@ -2048,7 +2055,12 @@ module Aws::EMR
|
|
2048
2055
|
# resp.instance_fleets[0].launch_specifications.on_demand_specification.capacity_reservation_options.capacity_reservation_preference #=> String, one of "open", "none"
|
2049
2056
|
# resp.instance_fleets[0].launch_specifications.on_demand_specification.capacity_reservation_options.capacity_reservation_resource_group_arn #=> String
|
2050
2057
|
# resp.instance_fleets[0].resize_specifications.spot_resize_specification.timeout_duration_minutes #=> Integer
|
2058
|
+
# resp.instance_fleets[0].resize_specifications.spot_resize_specification.allocation_strategy #=> String, one of "capacity-optimized", "price-capacity-optimized", "lowest-price", "diversified", "capacity-optimized-prioritized"
|
2051
2059
|
# resp.instance_fleets[0].resize_specifications.on_demand_resize_specification.timeout_duration_minutes #=> Integer
|
2060
|
+
# resp.instance_fleets[0].resize_specifications.on_demand_resize_specification.allocation_strategy #=> String, one of "lowest-price", "prioritized"
|
2061
|
+
# resp.instance_fleets[0].resize_specifications.on_demand_resize_specification.capacity_reservation_options.usage_strategy #=> String, one of "use-capacity-reservations-first"
|
2062
|
+
# resp.instance_fleets[0].resize_specifications.on_demand_resize_specification.capacity_reservation_options.capacity_reservation_preference #=> String, one of "open", "none"
|
2063
|
+
# resp.instance_fleets[0].resize_specifications.on_demand_resize_specification.capacity_reservation_options.capacity_reservation_resource_group_arn #=> String
|
2052
2064
|
# resp.marker #=> String
|
2053
2065
|
#
|
2054
2066
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListInstanceFleets AWS API Documentation
|
@@ -2716,12 +2728,54 @@ module Aws::EMR
|
|
2716
2728
|
# target_spot_capacity: 1,
|
2717
2729
|
# resize_specifications: {
|
2718
2730
|
# spot_resize_specification: {
|
2719
|
-
# timeout_duration_minutes: 1,
|
2731
|
+
# timeout_duration_minutes: 1,
|
2732
|
+
# allocation_strategy: "capacity-optimized", # accepts capacity-optimized, price-capacity-optimized, lowest-price, diversified, capacity-optimized-prioritized
|
2720
2733
|
# },
|
2721
2734
|
# on_demand_resize_specification: {
|
2722
|
-
# timeout_duration_minutes: 1,
|
2735
|
+
# timeout_duration_minutes: 1,
|
2736
|
+
# allocation_strategy: "lowest-price", # accepts lowest-price, prioritized
|
2737
|
+
# capacity_reservation_options: {
|
2738
|
+
# usage_strategy: "use-capacity-reservations-first", # accepts use-capacity-reservations-first
|
2739
|
+
# capacity_reservation_preference: "open", # accepts open, none
|
2740
|
+
# capacity_reservation_resource_group_arn: "XmlStringMaxLen256",
|
2741
|
+
# },
|
2723
2742
|
# },
|
2724
2743
|
# },
|
2744
|
+
# instance_type_configs: [
|
2745
|
+
# {
|
2746
|
+
# instance_type: "InstanceType", # required
|
2747
|
+
# weighted_capacity: 1,
|
2748
|
+
# bid_price: "XmlStringMaxLen256",
|
2749
|
+
# bid_price_as_percentage_of_on_demand_price: 1.0,
|
2750
|
+
# ebs_configuration: {
|
2751
|
+
# ebs_block_device_configs: [
|
2752
|
+
# {
|
2753
|
+
# volume_specification: { # required
|
2754
|
+
# volume_type: "String", # required
|
2755
|
+
# iops: 1,
|
2756
|
+
# size_in_gb: 1, # required
|
2757
|
+
# throughput: 1,
|
2758
|
+
# },
|
2759
|
+
# volumes_per_instance: 1,
|
2760
|
+
# },
|
2761
|
+
# ],
|
2762
|
+
# ebs_optimized: false,
|
2763
|
+
# },
|
2764
|
+
# configurations: [
|
2765
|
+
# {
|
2766
|
+
# classification: "String",
|
2767
|
+
# configurations: {
|
2768
|
+
# # recursive ConfigurationList
|
2769
|
+
# },
|
2770
|
+
# properties: {
|
2771
|
+
# "String" => "String",
|
2772
|
+
# },
|
2773
|
+
# },
|
2774
|
+
# ],
|
2775
|
+
# custom_ami_id: "XmlStringMaxLen256",
|
2776
|
+
# priority: 1.0,
|
2777
|
+
# },
|
2778
|
+
# ],
|
2725
2779
|
# },
|
2726
2780
|
# })
|
2727
2781
|
#
|
@@ -3584,10 +3638,17 @@ module Aws::EMR
|
|
3584
3638
|
# },
|
3585
3639
|
# resize_specifications: {
|
3586
3640
|
# spot_resize_specification: {
|
3587
|
-
# timeout_duration_minutes: 1,
|
3641
|
+
# timeout_duration_minutes: 1,
|
3642
|
+
# allocation_strategy: "capacity-optimized", # accepts capacity-optimized, price-capacity-optimized, lowest-price, diversified, capacity-optimized-prioritized
|
3588
3643
|
# },
|
3589
3644
|
# on_demand_resize_specification: {
|
3590
|
-
# timeout_duration_minutes: 1,
|
3645
|
+
# timeout_duration_minutes: 1,
|
3646
|
+
# allocation_strategy: "lowest-price", # accepts lowest-price, prioritized
|
3647
|
+
# capacity_reservation_options: {
|
3648
|
+
# usage_strategy: "use-capacity-reservations-first", # accepts use-capacity-reservations-first
|
3649
|
+
# capacity_reservation_preference: "open", # accepts open, none
|
3650
|
+
# capacity_reservation_resource_group_arn: "XmlStringMaxLen256",
|
3651
|
+
# },
|
3591
3652
|
# },
|
3592
3653
|
# },
|
3593
3654
|
# },
|
@@ -4207,7 +4268,7 @@ module Aws::EMR
|
|
4207
4268
|
tracer: tracer
|
4208
4269
|
)
|
4209
4270
|
context[:gem_name] = 'aws-sdk-emr'
|
4210
|
-
context[:gem_version] = '1.
|
4271
|
+
context[:gem_version] = '1.96.0'
|
4211
4272
|
Seahorse::Client::Request.new(handlers, context)
|
4212
4273
|
end
|
4213
4274
|
|
@@ -798,6 +798,7 @@ module Aws::EMR
|
|
798
798
|
InstanceFleetModifyConfig.add_member(:target_on_demand_capacity, Shapes::ShapeRef.new(shape: WholeNumber, location_name: "TargetOnDemandCapacity"))
|
799
799
|
InstanceFleetModifyConfig.add_member(:target_spot_capacity, Shapes::ShapeRef.new(shape: WholeNumber, location_name: "TargetSpotCapacity"))
|
800
800
|
InstanceFleetModifyConfig.add_member(:resize_specifications, Shapes::ShapeRef.new(shape: InstanceFleetResizingSpecifications, location_name: "ResizeSpecifications"))
|
801
|
+
InstanceFleetModifyConfig.add_member(:instance_type_configs, Shapes::ShapeRef.new(shape: InstanceTypeConfigList, location_name: "InstanceTypeConfigs"))
|
801
802
|
InstanceFleetModifyConfig.struct_class = Types::InstanceFleetModifyConfig
|
802
803
|
|
803
804
|
InstanceFleetProvisioningSpecifications.add_member(:spot_specification, Shapes::ShapeRef.new(shape: SpotProvisioningSpecification, location_name: "SpotSpecification"))
|
@@ -1228,7 +1229,9 @@ module Aws::EMR
|
|
1228
1229
|
OnDemandProvisioningSpecification.add_member(:capacity_reservation_options, Shapes::ShapeRef.new(shape: OnDemandCapacityReservationOptions, location_name: "CapacityReservationOptions"))
|
1229
1230
|
OnDemandProvisioningSpecification.struct_class = Types::OnDemandProvisioningSpecification
|
1230
1231
|
|
1231
|
-
OnDemandResizingSpecification.add_member(:timeout_duration_minutes, Shapes::ShapeRef.new(shape: WholeNumber,
|
1232
|
+
OnDemandResizingSpecification.add_member(:timeout_duration_minutes, Shapes::ShapeRef.new(shape: WholeNumber, location_name: "TimeoutDurationMinutes"))
|
1233
|
+
OnDemandResizingSpecification.add_member(:allocation_strategy, Shapes::ShapeRef.new(shape: OnDemandProvisioningAllocationStrategy, location_name: "AllocationStrategy"))
|
1234
|
+
OnDemandResizingSpecification.add_member(:capacity_reservation_options, Shapes::ShapeRef.new(shape: OnDemandCapacityReservationOptions, location_name: "CapacityReservationOptions"))
|
1232
1235
|
OnDemandResizingSpecification.struct_class = Types::OnDemandResizingSpecification
|
1233
1236
|
|
1234
1237
|
OutputNotebookS3LocationForOutput.add_member(:bucket, Shapes::ShapeRef.new(shape: XmlStringMaxLen256, location_name: "Bucket"))
|
@@ -1433,7 +1436,8 @@ module Aws::EMR
|
|
1433
1436
|
SpotProvisioningSpecification.add_member(:allocation_strategy, Shapes::ShapeRef.new(shape: SpotProvisioningAllocationStrategy, location_name: "AllocationStrategy"))
|
1434
1437
|
SpotProvisioningSpecification.struct_class = Types::SpotProvisioningSpecification
|
1435
1438
|
|
1436
|
-
SpotResizingSpecification.add_member(:timeout_duration_minutes, Shapes::ShapeRef.new(shape: WholeNumber,
|
1439
|
+
SpotResizingSpecification.add_member(:timeout_duration_minutes, Shapes::ShapeRef.new(shape: WholeNumber, location_name: "TimeoutDurationMinutes"))
|
1440
|
+
SpotResizingSpecification.add_member(:allocation_strategy, Shapes::ShapeRef.new(shape: SpotProvisioningAllocationStrategy, location_name: "AllocationStrategy"))
|
1437
1441
|
SpotResizingSpecification.struct_class = Types::SpotResizingSpecification
|
1438
1442
|
|
1439
1443
|
StartNotebookExecutionInput.add_member(:editor_id, Shapes::ShapeRef.new(shape: XmlStringMaxLen256, location_name: "EditorId"))
|
data/lib/aws-sdk-emr/types.rb
CHANGED
@@ -2507,20 +2507,30 @@ module Aws::EMR
|
|
2507
2507
|
# The resize specification for the instance fleet.
|
2508
2508
|
# @return [Types::InstanceFleetResizingSpecifications]
|
2509
2509
|
#
|
2510
|
+
# @!attribute [rw] instance_type_configs
|
2511
|
+
# An array of InstanceTypeConfig objects that specify how Amazon EMR
|
2512
|
+
# provisions Amazon EC2 instances when it fulfills On-Demand and Spot
|
2513
|
+
# capacities. For more information, see [InstanceTypeConfig][1].
|
2514
|
+
#
|
2515
|
+
#
|
2516
|
+
#
|
2517
|
+
# [1]: https://docs.aws.amazon.com/emr/latest/APIReference/API_InstanceTypeConfig.html
|
2518
|
+
# @return [Array<Types::InstanceTypeConfig>]
|
2519
|
+
#
|
2510
2520
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/InstanceFleetModifyConfig AWS API Documentation
|
2511
2521
|
#
|
2512
2522
|
class InstanceFleetModifyConfig < Struct.new(
|
2513
2523
|
:instance_fleet_id,
|
2514
2524
|
:target_on_demand_capacity,
|
2515
2525
|
:target_spot_capacity,
|
2516
|
-
:resize_specifications
|
2526
|
+
:resize_specifications,
|
2527
|
+
:instance_type_configs)
|
2517
2528
|
SENSITIVE = []
|
2518
2529
|
include Aws::Structure
|
2519
2530
|
end
|
2520
2531
|
|
2521
|
-
# The launch specification for Spot Instances in the
|
2522
|
-
#
|
2523
|
-
# allocation strategy.
|
2532
|
+
# The launch specification for On-Demand and Spot Instances in the
|
2533
|
+
# fleet.
|
2524
2534
|
#
|
2525
2535
|
# <note markdown="1"> The instance fleet configuration is available only in Amazon EMR
|
2526
2536
|
# releases 4.8.0 and later, excluding 5.0.x versions. On-Demand and Spot
|
@@ -2531,13 +2541,14 @@ module Aws::EMR
|
|
2531
2541
|
#
|
2532
2542
|
# @!attribute [rw] spot_specification
|
2533
2543
|
# The launch specification for Spot instances in the fleet, which
|
2534
|
-
# determines the
|
2535
|
-
#
|
2544
|
+
# determines the allocation strategy, defined duration, and
|
2545
|
+
# provisioning timeout behavior.
|
2536
2546
|
# @return [Types::SpotProvisioningSpecification]
|
2537
2547
|
#
|
2538
2548
|
# @!attribute [rw] on_demand_specification
|
2539
2549
|
# The launch specification for On-Demand Instances in the instance
|
2540
|
-
# fleet, which determines the allocation strategy
|
2550
|
+
# fleet, which determines the allocation strategy and capacity
|
2551
|
+
# reservation options.
|
2541
2552
|
#
|
2542
2553
|
# <note markdown="1"> The instance fleet configuration is available only in Amazon EMR
|
2543
2554
|
# releases 4.8.0 and later, excluding 5.0.x versions. On-Demand
|
@@ -2561,12 +2572,14 @@ module Aws::EMR
|
|
2561
2572
|
#
|
2562
2573
|
# @!attribute [rw] spot_resize_specification
|
2563
2574
|
# The resize specification for Spot Instances in the instance fleet,
|
2564
|
-
# which contains the resize timeout
|
2575
|
+
# which contains the allocation strategy and the resize timeout
|
2576
|
+
# period.
|
2565
2577
|
# @return [Types::SpotResizingSpecification]
|
2566
2578
|
#
|
2567
2579
|
# @!attribute [rw] on_demand_resize_specification
|
2568
2580
|
# The resize specification for On-Demand Instances in the instance
|
2569
|
-
# fleet, which contains the
|
2581
|
+
# fleet, which contains the allocation strategy, capacity reservation
|
2582
|
+
# options, and the resize timeout period.
|
2570
2583
|
# @return [Types::OnDemandResizingSpecification]
|
2571
2584
|
#
|
2572
2585
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/InstanceFleetResizingSpecifications AWS API Documentation
|
@@ -4921,10 +4934,22 @@ module Aws::EMR
|
|
4921
4934
|
# by Amazon EMR due to Amazon EC2 Spot Reclamation.
|
4922
4935
|
# @return [Integer]
|
4923
4936
|
#
|
4937
|
+
# @!attribute [rw] allocation_strategy
|
4938
|
+
# Specifies the allocation strategy to use to launch On-Demand
|
4939
|
+
# instances during a resize. The default is `lowest-price`.
|
4940
|
+
# @return [String]
|
4941
|
+
#
|
4942
|
+
# @!attribute [rw] capacity_reservation_options
|
4943
|
+
# Describes the strategy for using unused Capacity Reservations for
|
4944
|
+
# fulfilling On-Demand capacity.
|
4945
|
+
# @return [Types::OnDemandCapacityReservationOptions]
|
4946
|
+
#
|
4924
4947
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/OnDemandResizingSpecification AWS API Documentation
|
4925
4948
|
#
|
4926
4949
|
class OnDemandResizingSpecification < Struct.new(
|
4927
|
-
:timeout_duration_minutes
|
4950
|
+
:timeout_duration_minutes,
|
4951
|
+
:allocation_strategy,
|
4952
|
+
:capacity_reservation_options)
|
4928
4953
|
SENSITIVE = []
|
4929
4954
|
include Aws::Structure
|
4930
4955
|
end
|
@@ -6164,10 +6189,18 @@ module Aws::EMR
|
|
6164
6189
|
# Spot Reclamation.
|
6165
6190
|
# @return [Integer]
|
6166
6191
|
#
|
6192
|
+
# @!attribute [rw] allocation_strategy
|
6193
|
+
# Specifies the allocation strategy to use to launch Spot instances
|
6194
|
+
# during a resize. If you run Amazon EMR releases 6.9.0 or higher, the
|
6195
|
+
# default is `price-capacity-optimized`. If you run Amazon EMR
|
6196
|
+
# releases 6.8.0 or lower, the default is `capacity-optimized`.
|
6197
|
+
# @return [String]
|
6198
|
+
#
|
6167
6199
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/SpotResizingSpecification AWS API Documentation
|
6168
6200
|
#
|
6169
6201
|
class SpotResizingSpecification < Struct.new(
|
6170
|
-
:timeout_duration_minutes
|
6202
|
+
:timeout_duration_minutes,
|
6203
|
+
:allocation_strategy)
|
6171
6204
|
SENSITIVE = []
|
6172
6205
|
include Aws::Structure
|
6173
6206
|
end
|
data/lib/aws-sdk-emr.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -138,10 +138,17 @@ module Aws
|
|
138
138
|
}?,
|
139
139
|
resize_specifications: {
|
140
140
|
spot_resize_specification: {
|
141
|
-
timeout_duration_minutes: ::Integer
|
141
|
+
timeout_duration_minutes: ::Integer?,
|
142
|
+
allocation_strategy: ("capacity-optimized" | "price-capacity-optimized" | "lowest-price" | "diversified" | "capacity-optimized-prioritized")?
|
142
143
|
}?,
|
143
144
|
on_demand_resize_specification: {
|
144
|
-
timeout_duration_minutes: ::Integer
|
145
|
+
timeout_duration_minutes: ::Integer?,
|
146
|
+
allocation_strategy: ("lowest-price" | "prioritized")?,
|
147
|
+
capacity_reservation_options: {
|
148
|
+
usage_strategy: ("use-capacity-reservations-first")?,
|
149
|
+
capacity_reservation_preference: ("open" | "none")?,
|
150
|
+
capacity_reservation_resource_group_arn: ::String?
|
151
|
+
}?
|
145
152
|
}?
|
146
153
|
}?
|
147
154
|
}
|
@@ -679,12 +686,50 @@ module Aws
|
|
679
686
|
target_spot_capacity: ::Integer?,
|
680
687
|
resize_specifications: {
|
681
688
|
spot_resize_specification: {
|
682
|
-
timeout_duration_minutes: ::Integer
|
689
|
+
timeout_duration_minutes: ::Integer?,
|
690
|
+
allocation_strategy: ("capacity-optimized" | "price-capacity-optimized" | "lowest-price" | "diversified" | "capacity-optimized-prioritized")?
|
683
691
|
}?,
|
684
692
|
on_demand_resize_specification: {
|
685
|
-
timeout_duration_minutes: ::Integer
|
693
|
+
timeout_duration_minutes: ::Integer?,
|
694
|
+
allocation_strategy: ("lowest-price" | "prioritized")?,
|
695
|
+
capacity_reservation_options: {
|
696
|
+
usage_strategy: ("use-capacity-reservations-first")?,
|
697
|
+
capacity_reservation_preference: ("open" | "none")?,
|
698
|
+
capacity_reservation_resource_group_arn: ::String?
|
699
|
+
}?
|
686
700
|
}?
|
687
|
-
}
|
701
|
+
}?,
|
702
|
+
instance_type_configs: Array[
|
703
|
+
{
|
704
|
+
instance_type: ::String,
|
705
|
+
weighted_capacity: ::Integer?,
|
706
|
+
bid_price: ::String?,
|
707
|
+
bid_price_as_percentage_of_on_demand_price: ::Float?,
|
708
|
+
ebs_configuration: {
|
709
|
+
ebs_block_device_configs: Array[
|
710
|
+
{
|
711
|
+
volume_specification: {
|
712
|
+
volume_type: ::String,
|
713
|
+
iops: ::Integer?,
|
714
|
+
size_in_gb: ::Integer,
|
715
|
+
throughput: ::Integer?
|
716
|
+
},
|
717
|
+
volumes_per_instance: ::Integer?
|
718
|
+
},
|
719
|
+
]?,
|
720
|
+
ebs_optimized: bool?
|
721
|
+
}?,
|
722
|
+
configurations: Array[
|
723
|
+
{
|
724
|
+
classification: ::String?,
|
725
|
+
configurations: untyped?,
|
726
|
+
properties: Hash[::String, ::String]?
|
727
|
+
},
|
728
|
+
]?,
|
729
|
+
custom_ami_id: ::String?,
|
730
|
+
priority: ::Float?
|
731
|
+
},
|
732
|
+
]?
|
688
733
|
}
|
689
734
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
690
735
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
@@ -997,10 +1042,17 @@ module Aws
|
|
997
1042
|
}?,
|
998
1043
|
resize_specifications: {
|
999
1044
|
spot_resize_specification: {
|
1000
|
-
timeout_duration_minutes: ::Integer
|
1045
|
+
timeout_duration_minutes: ::Integer?,
|
1046
|
+
allocation_strategy: ("capacity-optimized" | "price-capacity-optimized" | "lowest-price" | "diversified" | "capacity-optimized-prioritized")?
|
1001
1047
|
}?,
|
1002
1048
|
on_demand_resize_specification: {
|
1003
|
-
timeout_duration_minutes: ::Integer
|
1049
|
+
timeout_duration_minutes: ::Integer?,
|
1050
|
+
allocation_strategy: ("lowest-price" | "prioritized")?,
|
1051
|
+
capacity_reservation_options: {
|
1052
|
+
usage_strategy: ("use-capacity-reservations-first")?,
|
1053
|
+
capacity_reservation_preference: ("open" | "none")?,
|
1054
|
+
capacity_reservation_resource_group_arn: ::String?
|
1055
|
+
}?
|
1004
1056
|
}?
|
1005
1057
|
}?
|
1006
1058
|
},
|
data/sig/types.rbs
CHANGED
@@ -579,6 +579,7 @@ module Aws::EMR
|
|
579
579
|
attr_accessor target_on_demand_capacity: ::Integer
|
580
580
|
attr_accessor target_spot_capacity: ::Integer
|
581
581
|
attr_accessor resize_specifications: Types::InstanceFleetResizingSpecifications
|
582
|
+
attr_accessor instance_type_configs: ::Array[Types::InstanceTypeConfig]
|
582
583
|
SENSITIVE: []
|
583
584
|
end
|
584
585
|
|
@@ -1105,6 +1106,8 @@ module Aws::EMR
|
|
1105
1106
|
|
1106
1107
|
class OnDemandResizingSpecification
|
1107
1108
|
attr_accessor timeout_duration_minutes: ::Integer
|
1109
|
+
attr_accessor allocation_strategy: ("lowest-price" | "prioritized")
|
1110
|
+
attr_accessor capacity_reservation_options: Types::OnDemandCapacityReservationOptions
|
1108
1111
|
SENSITIVE: []
|
1109
1112
|
end
|
1110
1113
|
|
@@ -1371,6 +1374,7 @@ module Aws::EMR
|
|
1371
1374
|
|
1372
1375
|
class SpotResizingSpecification
|
1373
1376
|
attr_accessor timeout_duration_minutes: ::Integer
|
1377
|
+
attr_accessor allocation_strategy: ("capacity-optimized" | "price-capacity-optimized" | "lowest-price" | "diversified" | "capacity-optimized-prioritized")
|
1374
1378
|
SENSITIVE: []
|
1375
1379
|
end
|
1376
1380
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-emr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.96.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-09-
|
11
|
+
date: 2024-09-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|