aws-sdk-emr 1.95.0 → 1.97.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1807a27397ebddd3162ad093ddd3a9ccb65c1826843ffd6b8528a2a1d0f83c2c
4
- data.tar.gz: a431b6165133bf59649cb39cfd77db2d39a84ffcc08306b3f5393c38769c90f0
3
+ metadata.gz: 8d7464e19bdbb771635e9bccbe63de5521251e665d9726c4c5c79b3725e685da
4
+ data.tar.gz: 9d00f8c204e747693d6d51a22d738463bed81feb86caa87fec3da0748ccc7e68
5
5
  SHA512:
6
- metadata.gz: 14925de84e9d1f2126c68c6108fcc267d25fd474539a1d13ec3e13d48fcb29a5f2e17ed83570a80c704ce4e9792aabb417e17b1c1cd6a5840e97d4f94924c683
7
- data.tar.gz: f84c9797b8917a33df1f35855f3bada8978f402f0ddbd976cf36031043340a52daa2fee0c2f59e27a8043ece044ed874619a9d2ca0f2bb727cb946c11b4d8e3e
6
+ metadata.gz: 5eac456ba4633281f0dde869b75b7654ba602646889aa08faf5898a7bcdc183aa4ddeb4b05e092a6c30149fb2bb1f7458d979b2099632a9ab951ded956e16820
7
+ data.tar.gz: f13eed5dc262fea051a8e8d495d57045613e24a50d09c5adedff97e261ff627430aa837a20b81eeca51320189d84ce39d1f029b3e1f0a645cc224ae4be7e7160
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.97.0 (2024-09-20)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.96.0 (2024-09-12)
10
+ ------------------
11
+
12
+ * Feature - Update APIs to allow modification of ODCR options, allocation strategy, and InstanceTypeConfigs on running InstanceFleet clusters.
13
+
4
14
  1.95.0 (2024-09-11)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.95.0
1
+ 1.97.0
@@ -130,13 +130,15 @@ module Aws::EMR
130
130
  # locations will be searched for credentials:
131
131
  #
132
132
  # * `Aws.config[:credentials]`
133
- # * The `:access_key_id`, `:secret_access_key`, and `:session_token` options.
134
- # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
133
+ # * The `:access_key_id`, `:secret_access_key`, `:session_token`, and
134
+ # `:account_id` options.
135
+ # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY'],
136
+ # ENV['AWS_SESSION_TOKEN'], and ENV['AWS_ACCOUNT_ID']
135
137
  # * `~/.aws/credentials`
136
138
  # * `~/.aws/config`
137
139
  # * EC2/ECS IMDS instance profile - When used by default, the timeouts
138
140
  # are very aggressive. Construct and pass an instance of
139
- # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
141
+ # `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
140
142
  # enable retries and extended timeouts. Instance profile credential
141
143
  # fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
142
144
  # to true.
@@ -155,6 +157,8 @@ module Aws::EMR
155
157
  #
156
158
  # @option options [String] :access_key_id
157
159
  #
160
+ # @option options [String] :account_id
161
+ #
158
162
  # @option options [Boolean] :active_endpoint_cache (false)
159
163
  # When set to `true`, a thread polling for endpoints will be running in
160
164
  # the background every 60 secs (default). Defaults to `false`.
@@ -376,7 +380,9 @@ module Aws::EMR
376
380
  # sending the request.
377
381
  #
378
382
  # @option options [Aws::EMR::EndpointProvider] :endpoint_provider
379
- # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::EMR::EndpointParameters`
383
+ # The endpoint provider used to resolve endpoints. Any object that responds to
384
+ # `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to
385
+ # `Aws::EMR::EndpointParameters`.
380
386
  #
381
387
  # @option options [Float] :http_continue_timeout (1)
382
388
  # The number of seconds to wait for a 100-continue response before sending the
@@ -531,10 +537,17 @@ module Aws::EMR
531
537
  # },
532
538
  # resize_specifications: {
533
539
  # spot_resize_specification: {
534
- # timeout_duration_minutes: 1, # required
540
+ # timeout_duration_minutes: 1,
541
+ # allocation_strategy: "capacity-optimized", # accepts capacity-optimized, price-capacity-optimized, lowest-price, diversified, capacity-optimized-prioritized
535
542
  # },
536
543
  # on_demand_resize_specification: {
537
- # timeout_duration_minutes: 1, # required
544
+ # timeout_duration_minutes: 1,
545
+ # allocation_strategy: "lowest-price", # accepts lowest-price, prioritized
546
+ # capacity_reservation_options: {
547
+ # usage_strategy: "use-capacity-reservations-first", # accepts use-capacity-reservations-first
548
+ # capacity_reservation_preference: "open", # accepts open, none
549
+ # capacity_reservation_resource_group_arn: "XmlStringMaxLen256",
550
+ # },
538
551
  # },
539
552
  # },
540
553
  # },
@@ -2048,7 +2061,12 @@ module Aws::EMR
2048
2061
  # resp.instance_fleets[0].launch_specifications.on_demand_specification.capacity_reservation_options.capacity_reservation_preference #=> String, one of "open", "none"
2049
2062
  # resp.instance_fleets[0].launch_specifications.on_demand_specification.capacity_reservation_options.capacity_reservation_resource_group_arn #=> String
2050
2063
  # resp.instance_fleets[0].resize_specifications.spot_resize_specification.timeout_duration_minutes #=> Integer
2064
+ # 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
2065
  # resp.instance_fleets[0].resize_specifications.on_demand_resize_specification.timeout_duration_minutes #=> Integer
2066
+ # resp.instance_fleets[0].resize_specifications.on_demand_resize_specification.allocation_strategy #=> String, one of "lowest-price", "prioritized"
2067
+ # resp.instance_fleets[0].resize_specifications.on_demand_resize_specification.capacity_reservation_options.usage_strategy #=> String, one of "use-capacity-reservations-first"
2068
+ # resp.instance_fleets[0].resize_specifications.on_demand_resize_specification.capacity_reservation_options.capacity_reservation_preference #=> String, one of "open", "none"
2069
+ # resp.instance_fleets[0].resize_specifications.on_demand_resize_specification.capacity_reservation_options.capacity_reservation_resource_group_arn #=> String
2052
2070
  # resp.marker #=> String
2053
2071
  #
2054
2072
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListInstanceFleets AWS API Documentation
@@ -2716,12 +2734,54 @@ module Aws::EMR
2716
2734
  # target_spot_capacity: 1,
2717
2735
  # resize_specifications: {
2718
2736
  # spot_resize_specification: {
2719
- # timeout_duration_minutes: 1, # required
2737
+ # timeout_duration_minutes: 1,
2738
+ # allocation_strategy: "capacity-optimized", # accepts capacity-optimized, price-capacity-optimized, lowest-price, diversified, capacity-optimized-prioritized
2720
2739
  # },
2721
2740
  # on_demand_resize_specification: {
2722
- # timeout_duration_minutes: 1, # required
2741
+ # timeout_duration_minutes: 1,
2742
+ # allocation_strategy: "lowest-price", # accepts lowest-price, prioritized
2743
+ # capacity_reservation_options: {
2744
+ # usage_strategy: "use-capacity-reservations-first", # accepts use-capacity-reservations-first
2745
+ # capacity_reservation_preference: "open", # accepts open, none
2746
+ # capacity_reservation_resource_group_arn: "XmlStringMaxLen256",
2747
+ # },
2723
2748
  # },
2724
2749
  # },
2750
+ # instance_type_configs: [
2751
+ # {
2752
+ # instance_type: "InstanceType", # required
2753
+ # weighted_capacity: 1,
2754
+ # bid_price: "XmlStringMaxLen256",
2755
+ # bid_price_as_percentage_of_on_demand_price: 1.0,
2756
+ # ebs_configuration: {
2757
+ # ebs_block_device_configs: [
2758
+ # {
2759
+ # volume_specification: { # required
2760
+ # volume_type: "String", # required
2761
+ # iops: 1,
2762
+ # size_in_gb: 1, # required
2763
+ # throughput: 1,
2764
+ # },
2765
+ # volumes_per_instance: 1,
2766
+ # },
2767
+ # ],
2768
+ # ebs_optimized: false,
2769
+ # },
2770
+ # configurations: [
2771
+ # {
2772
+ # classification: "String",
2773
+ # configurations: {
2774
+ # # recursive ConfigurationList
2775
+ # },
2776
+ # properties: {
2777
+ # "String" => "String",
2778
+ # },
2779
+ # },
2780
+ # ],
2781
+ # custom_ami_id: "XmlStringMaxLen256",
2782
+ # priority: 1.0,
2783
+ # },
2784
+ # ],
2725
2785
  # },
2726
2786
  # })
2727
2787
  #
@@ -3584,10 +3644,17 @@ module Aws::EMR
3584
3644
  # },
3585
3645
  # resize_specifications: {
3586
3646
  # spot_resize_specification: {
3587
- # timeout_duration_minutes: 1, # required
3647
+ # timeout_duration_minutes: 1,
3648
+ # allocation_strategy: "capacity-optimized", # accepts capacity-optimized, price-capacity-optimized, lowest-price, diversified, capacity-optimized-prioritized
3588
3649
  # },
3589
3650
  # on_demand_resize_specification: {
3590
- # timeout_duration_minutes: 1, # required
3651
+ # timeout_duration_minutes: 1,
3652
+ # allocation_strategy: "lowest-price", # accepts lowest-price, prioritized
3653
+ # capacity_reservation_options: {
3654
+ # usage_strategy: "use-capacity-reservations-first", # accepts use-capacity-reservations-first
3655
+ # capacity_reservation_preference: "open", # accepts open, none
3656
+ # capacity_reservation_resource_group_arn: "XmlStringMaxLen256",
3657
+ # },
3591
3658
  # },
3592
3659
  # },
3593
3660
  # },
@@ -4207,7 +4274,7 @@ module Aws::EMR
4207
4274
  tracer: tracer
4208
4275
  )
4209
4276
  context[:gem_name] = 'aws-sdk-emr'
4210
- context[:gem_version] = '1.95.0'
4277
+ context[:gem_version] = '1.97.0'
4211
4278
  Seahorse::Client::Request.new(handlers, context)
4212
4279
  end
4213
4280
 
@@ -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, required: true, location_name: "TimeoutDurationMinutes"))
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, required: true, location_name: "TimeoutDurationMinutes"))
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"))
@@ -15,11 +15,11 @@ module Aws::EMR
15
15
  :endpoint_provider,
16
16
  doc_type: 'Aws::EMR::EndpointProvider',
17
17
  rbs_type: 'untyped',
18
- docstring: 'The endpoint provider used to resolve endpoints. Any '\
19
- 'object that responds to `#resolve_endpoint(parameters)` '\
20
- 'where `parameters` is a Struct similar to '\
21
- '`Aws::EMR::EndpointParameters`'
22
- ) do |cfg|
18
+ docstring: <<~DOCS) do |_cfg|
19
+ The endpoint provider used to resolve endpoints. Any object that responds to
20
+ `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to
21
+ `Aws::EMR::EndpointParameters`.
22
+ DOCS
23
23
  Aws::EMR::EndpointProvider.new
24
24
  end
25
25
 
@@ -51,6 +51,9 @@ module Aws::EMR
51
51
  if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
52
52
  metrics << 'SIGV4A_SIGNING'
53
53
  end
54
+ if context.config.credentials&.credentials&.account_id
55
+ metrics << 'RESOLVED_ACCOUNT_ID'
56
+ end
54
57
  Aws::Plugins::UserAgent.metric(*metrics, &block)
55
58
  end
56
59
 
@@ -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 fleet, which
2522
- # determines the defined duration, provisioning timeout behavior, and
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 defined duration, provisioning timeout behavior, and
2535
- # allocation strategy.
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 period.
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 resize timeout period.
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
@@ -53,6 +53,6 @@ require_relative 'aws-sdk-emr/customizations'
53
53
  # @!group service
54
54
  module Aws::EMR
55
55
 
56
- GEM_VERSION = '1.95.0'
56
+ GEM_VERSION = '1.97.0'
57
57
 
58
58
  end
data/sig/client.rbs CHANGED
@@ -15,6 +15,7 @@ module Aws
15
15
  ?credentials: untyped,
16
16
  ?region: String,
17
17
  ?access_key_id: String,
18
+ ?account_id: String,
18
19
  ?active_endpoint_cache: bool,
19
20
  ?adaptive_retry_wait_to_fill: bool,
20
21
  ?client_side_monitoring: bool,
@@ -138,10 +139,17 @@ module Aws
138
139
  }?,
139
140
  resize_specifications: {
140
141
  spot_resize_specification: {
141
- timeout_duration_minutes: ::Integer
142
+ timeout_duration_minutes: ::Integer?,
143
+ allocation_strategy: ("capacity-optimized" | "price-capacity-optimized" | "lowest-price" | "diversified" | "capacity-optimized-prioritized")?
142
144
  }?,
143
145
  on_demand_resize_specification: {
144
- timeout_duration_minutes: ::Integer
146
+ timeout_duration_minutes: ::Integer?,
147
+ allocation_strategy: ("lowest-price" | "prioritized")?,
148
+ capacity_reservation_options: {
149
+ usage_strategy: ("use-capacity-reservations-first")?,
150
+ capacity_reservation_preference: ("open" | "none")?,
151
+ capacity_reservation_resource_group_arn: ::String?
152
+ }?
145
153
  }?
146
154
  }?
147
155
  }
@@ -679,12 +687,50 @@ module Aws
679
687
  target_spot_capacity: ::Integer?,
680
688
  resize_specifications: {
681
689
  spot_resize_specification: {
682
- timeout_duration_minutes: ::Integer
690
+ timeout_duration_minutes: ::Integer?,
691
+ allocation_strategy: ("capacity-optimized" | "price-capacity-optimized" | "lowest-price" | "diversified" | "capacity-optimized-prioritized")?
683
692
  }?,
684
693
  on_demand_resize_specification: {
685
- timeout_duration_minutes: ::Integer
694
+ timeout_duration_minutes: ::Integer?,
695
+ allocation_strategy: ("lowest-price" | "prioritized")?,
696
+ capacity_reservation_options: {
697
+ usage_strategy: ("use-capacity-reservations-first")?,
698
+ capacity_reservation_preference: ("open" | "none")?,
699
+ capacity_reservation_resource_group_arn: ::String?
700
+ }?
686
701
  }?
687
- }?
702
+ }?,
703
+ instance_type_configs: Array[
704
+ {
705
+ instance_type: ::String,
706
+ weighted_capacity: ::Integer?,
707
+ bid_price: ::String?,
708
+ bid_price_as_percentage_of_on_demand_price: ::Float?,
709
+ ebs_configuration: {
710
+ ebs_block_device_configs: Array[
711
+ {
712
+ volume_specification: {
713
+ volume_type: ::String,
714
+ iops: ::Integer?,
715
+ size_in_gb: ::Integer,
716
+ throughput: ::Integer?
717
+ },
718
+ volumes_per_instance: ::Integer?
719
+ },
720
+ ]?,
721
+ ebs_optimized: bool?
722
+ }?,
723
+ configurations: Array[
724
+ {
725
+ classification: ::String?,
726
+ configurations: untyped?,
727
+ properties: Hash[::String, ::String]?
728
+ },
729
+ ]?,
730
+ custom_ami_id: ::String?,
731
+ priority: ::Float?
732
+ },
733
+ ]?
688
734
  }
689
735
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
690
736
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
@@ -997,10 +1043,17 @@ module Aws
997
1043
  }?,
998
1044
  resize_specifications: {
999
1045
  spot_resize_specification: {
1000
- timeout_duration_minutes: ::Integer
1046
+ timeout_duration_minutes: ::Integer?,
1047
+ allocation_strategy: ("capacity-optimized" | "price-capacity-optimized" | "lowest-price" | "diversified" | "capacity-optimized-prioritized")?
1001
1048
  }?,
1002
1049
  on_demand_resize_specification: {
1003
- timeout_duration_minutes: ::Integer
1050
+ timeout_duration_minutes: ::Integer?,
1051
+ allocation_strategy: ("lowest-price" | "prioritized")?,
1052
+ capacity_reservation_options: {
1053
+ usage_strategy: ("use-capacity-reservations-first")?,
1054
+ capacity_reservation_preference: ("open" | "none")?,
1055
+ capacity_reservation_resource_group_arn: ::String?
1056
+ }?
1004
1057
  }?
1005
1058
  }?
1006
1059
  },
data/sig/resource.rbs CHANGED
@@ -15,6 +15,7 @@ module Aws
15
15
  ?credentials: untyped,
16
16
  ?region: String,
17
17
  ?access_key_id: String,
18
+ ?account_id: String,
18
19
  ?active_endpoint_cache: bool,
19
20
  ?adaptive_retry_wait_to_fill: bool,
20
21
  ?client_side_monitoring: bool,
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.95.0
4
+ version: 1.97.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 00:00:00.000000000 Z
11
+ date: 2024-09-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.205.0
22
+ version: 3.207.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.205.0
32
+ version: 3.207.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement