aws-sdk-emr 1.90.0 → 1.91.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5566454bbfb9a589706cf7e671c6281221362b170ceaa53cd1455a8828f6fc66
4
- data.tar.gz: 045ea03898cddc0521129a8abae17b56469021b651125c0b58f6243993a34f52
3
+ metadata.gz: 37b45029d18998ef585d8120dcc49b8d47be03c6133f9eaa97650edade10ed9c
4
+ data.tar.gz: 3d974d74846359fb61e139884e20d0b2c8ef69e6a4e2e70f16218c12053e4d1f
5
5
  SHA512:
6
- metadata.gz: 2897a7a3c8d6348a1ee95a60e80ef9115d2ebaf6d1fab6d995857ac5396976ceaa1b2293a970ec10fda3affee203c3c9552fb5affee9f971fe73e3686a10b330
7
- data.tar.gz: 651d2b0a7ede23a9421c5cc380aa3ab0c2afedd75b0a772b141a86db8588b3749c75bc4ef5374ac7857453287bbb12efff45a1bcff602bad4beeb71a275465c4
6
+ metadata.gz: 03dc9bf0eb9a85916835b59ad02df56c39d641e19f82b6276ec8f991b436f096ba04e31f3b6f15d00c11de7d1ac78881c127cb3408f1c4151a31e21324133e97
7
+ data.tar.gz: 9b98e1dae7d4f68292f90868e1fc9ea6a3383884e50e08a3ba62e56bb8c716ffd6748d468e018172854b52a9e9dd65354e72a5ca4dfac728b6cb95e5f4d7457a
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.91.0 (2024-06-28)
5
+ ------------------
6
+
7
+ * Feature - This release provides the support for new allocation strategies i.e. CAPACITY_OPTIMIZED_PRIORITIZED for Spot and PRIORITIZED for On-Demand by taking input of priority value for each instance type for instance fleet clusters.
8
+
4
9
  1.90.0 (2024-06-25)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.90.0
1
+ 1.91.0
@@ -483,6 +483,7 @@ module Aws::EMR
483
483
  # },
484
484
  # ],
485
485
  # custom_ami_id: "XmlStringMaxLen256",
486
+ # priority: 1.0,
486
487
  # },
487
488
  # ],
488
489
  # launch_specifications: {
@@ -490,10 +491,10 @@ module Aws::EMR
490
491
  # timeout_duration_minutes: 1, # required
491
492
  # timeout_action: "SWITCH_TO_ON_DEMAND", # required, accepts SWITCH_TO_ON_DEMAND, TERMINATE_CLUSTER
492
493
  # block_duration_minutes: 1,
493
- # allocation_strategy: "capacity-optimized", # accepts capacity-optimized, price-capacity-optimized, lowest-price, diversified
494
+ # allocation_strategy: "capacity-optimized", # accepts capacity-optimized, price-capacity-optimized, lowest-price, diversified, capacity-optimized-prioritized
494
495
  # },
495
496
  # on_demand_specification: {
496
- # allocation_strategy: "lowest-price", # required, accepts lowest-price
497
+ # allocation_strategy: "lowest-price", # required, accepts lowest-price, prioritized
497
498
  # capacity_reservation_options: {
498
499
  # usage_strategy: "use-capacity-reservations-first", # accepts use-capacity-reservations-first
499
500
  # capacity_reservation_preference: "open", # accepts open, none
@@ -2010,11 +2011,12 @@ module Aws::EMR
2010
2011
  # resp.instance_fleets[0].instance_type_specifications[0].ebs_block_devices[0].device #=> String
2011
2012
  # resp.instance_fleets[0].instance_type_specifications[0].ebs_optimized #=> Boolean
2012
2013
  # resp.instance_fleets[0].instance_type_specifications[0].custom_ami_id #=> String
2014
+ # resp.instance_fleets[0].instance_type_specifications[0].priority #=> Float
2013
2015
  # resp.instance_fleets[0].launch_specifications.spot_specification.timeout_duration_minutes #=> Integer
2014
2016
  # resp.instance_fleets[0].launch_specifications.spot_specification.timeout_action #=> String, one of "SWITCH_TO_ON_DEMAND", "TERMINATE_CLUSTER"
2015
2017
  # resp.instance_fleets[0].launch_specifications.spot_specification.block_duration_minutes #=> Integer
2016
- # resp.instance_fleets[0].launch_specifications.spot_specification.allocation_strategy #=> String, one of "capacity-optimized", "price-capacity-optimized", "lowest-price", "diversified"
2017
- # resp.instance_fleets[0].launch_specifications.on_demand_specification.allocation_strategy #=> String, one of "lowest-price"
2018
+ # resp.instance_fleets[0].launch_specifications.spot_specification.allocation_strategy #=> String, one of "capacity-optimized", "price-capacity-optimized", "lowest-price", "diversified", "capacity-optimized-prioritized"
2019
+ # resp.instance_fleets[0].launch_specifications.on_demand_specification.allocation_strategy #=> String, one of "lowest-price", "prioritized"
2018
2020
  # resp.instance_fleets[0].launch_specifications.on_demand_specification.capacity_reservation_options.usage_strategy #=> String, one of "use-capacity-reservations-first"
2019
2021
  # resp.instance_fleets[0].launch_specifications.on_demand_specification.capacity_reservation_options.capacity_reservation_preference #=> String, one of "open", "none"
2020
2022
  # resp.instance_fleets[0].launch_specifications.on_demand_specification.capacity_reservation_options.capacity_reservation_resource_group_arn #=> String
@@ -3534,6 +3536,7 @@ module Aws::EMR
3534
3536
  # },
3535
3537
  # ],
3536
3538
  # custom_ami_id: "XmlStringMaxLen256",
3539
+ # priority: 1.0,
3537
3540
  # },
3538
3541
  # ],
3539
3542
  # launch_specifications: {
@@ -3541,10 +3544,10 @@ module Aws::EMR
3541
3544
  # timeout_duration_minutes: 1, # required
3542
3545
  # timeout_action: "SWITCH_TO_ON_DEMAND", # required, accepts SWITCH_TO_ON_DEMAND, TERMINATE_CLUSTER
3543
3546
  # block_duration_minutes: 1,
3544
- # allocation_strategy: "capacity-optimized", # accepts capacity-optimized, price-capacity-optimized, lowest-price, diversified
3547
+ # allocation_strategy: "capacity-optimized", # accepts capacity-optimized, price-capacity-optimized, lowest-price, diversified, capacity-optimized-prioritized
3545
3548
  # },
3546
3549
  # on_demand_specification: {
3547
- # allocation_strategy: "lowest-price", # required, accepts lowest-price
3550
+ # allocation_strategy: "lowest-price", # required, accepts lowest-price, prioritized
3548
3551
  # capacity_reservation_options: {
3549
3552
  # usage_strategy: "use-capacity-reservations-first", # accepts use-capacity-reservations-first
3550
3553
  # capacity_reservation_preference: "open", # accepts open, none
@@ -4172,7 +4175,7 @@ module Aws::EMR
4172
4175
  params: params,
4173
4176
  config: config)
4174
4177
  context[:gem_name] = 'aws-sdk-emr'
4175
- context[:gem_version] = '1.90.0'
4178
+ context[:gem_version] = '1.91.0'
4176
4179
  Seahorse::Client::Request.new(handlers, context)
4177
4180
  end
4178
4181
 
@@ -935,6 +935,7 @@ module Aws::EMR
935
935
  InstanceTypeConfig.add_member(:ebs_configuration, Shapes::ShapeRef.new(shape: EbsConfiguration, location_name: "EbsConfiguration"))
936
936
  InstanceTypeConfig.add_member(:configurations, Shapes::ShapeRef.new(shape: ConfigurationList, location_name: "Configurations"))
937
937
  InstanceTypeConfig.add_member(:custom_ami_id, Shapes::ShapeRef.new(shape: XmlStringMaxLen256, location_name: "CustomAmiId"))
938
+ InstanceTypeConfig.add_member(:priority, Shapes::ShapeRef.new(shape: NonNegativeDouble, location_name: "Priority"))
938
939
  InstanceTypeConfig.struct_class = Types::InstanceTypeConfig
939
940
 
940
941
  InstanceTypeConfigList.member = Shapes::ShapeRef.new(shape: InstanceTypeConfig)
@@ -947,6 +948,7 @@ module Aws::EMR
947
948
  InstanceTypeSpecification.add_member(:ebs_block_devices, Shapes::ShapeRef.new(shape: EbsBlockDeviceList, location_name: "EbsBlockDevices"))
948
949
  InstanceTypeSpecification.add_member(:ebs_optimized, Shapes::ShapeRef.new(shape: BooleanObject, location_name: "EbsOptimized"))
949
950
  InstanceTypeSpecification.add_member(:custom_ami_id, Shapes::ShapeRef.new(shape: XmlStringMaxLen256, location_name: "CustomAmiId"))
951
+ InstanceTypeSpecification.add_member(:priority, Shapes::ShapeRef.new(shape: NonNegativeDouble, location_name: "Priority"))
950
952
  InstanceTypeSpecification.struct_class = Types::InstanceTypeSpecification
951
953
 
952
954
  InstanceTypeSpecificationList.member = Shapes::ShapeRef.new(shape: InstanceTypeSpecification)
@@ -1618,9 +1620,11 @@ module Aws::EMR
1618
1620
 
1619
1621
  api.metadata = {
1620
1622
  "apiVersion" => "2009-03-31",
1623
+ "auth" => ["aws.auth#sigv4"],
1621
1624
  "endpointPrefix" => "elasticmapreduce",
1622
1625
  "jsonVersion" => "1.1",
1623
1626
  "protocol" => "json",
1627
+ "protocols" => ["json"],
1624
1628
  "serviceAbbreviation" => "Amazon EMR",
1625
1629
  "serviceFullName" => "Amazon EMR",
1626
1630
  "serviceId" => "EMR",
@@ -3239,6 +3239,12 @@ module Aws::EMR
3239
3239
  # The custom AMI ID to use for the instance type.
3240
3240
  # @return [String]
3241
3241
  #
3242
+ # @!attribute [rw] priority
3243
+ # The priority at which Amazon EMR launches the Amazon EC2 instances
3244
+ # with this instance type. Priority starts at 0, which is the highest
3245
+ # priority. Amazon EMR considers the highest priority first.
3246
+ # @return [Float]
3247
+ #
3242
3248
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/InstanceTypeConfig AWS API Documentation
3243
3249
  #
3244
3250
  class InstanceTypeConfig < Struct.new(
@@ -3248,7 +3254,8 @@ module Aws::EMR
3248
3254
  :bid_price_as_percentage_of_on_demand_price,
3249
3255
  :ebs_configuration,
3250
3256
  :configurations,
3251
- :custom_ami_id)
3257
+ :custom_ami_id,
3258
+ :priority)
3252
3259
  SENSITIVE = []
3253
3260
  include Aws::Structure
3254
3261
  end
@@ -3304,6 +3311,12 @@ module Aws::EMR
3304
3311
  # The custom AMI ID to use for the instance type.
3305
3312
  # @return [String]
3306
3313
  #
3314
+ # @!attribute [rw] priority
3315
+ # The priority at which Amazon EMR launches the Amazon EC2 instances
3316
+ # with this instance type. Priority starts at 0, which is the highest
3317
+ # priority. Amazon EMR considers the highest priority first.
3318
+ # @return [Float]
3319
+ #
3307
3320
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/InstanceTypeSpecification AWS API Documentation
3308
3321
  #
3309
3322
  class InstanceTypeSpecification < Struct.new(
@@ -3314,7 +3327,8 @@ module Aws::EMR
3314
3327
  :configurations,
3315
3328
  :ebs_block_devices,
3316
3329
  :ebs_optimized,
3317
- :custom_ami_id)
3330
+ :custom_ami_id,
3331
+ :priority)
3318
3332
  SENSITIVE = []
3319
3333
  include Aws::Structure
3320
3334
  end
@@ -4872,8 +4886,11 @@ module Aws::EMR
4872
4886
  #
4873
4887
  # @!attribute [rw] allocation_strategy
4874
4888
  # Specifies the strategy to use in launching On-Demand instance
4875
- # fleets. Currently, the only option is `lowest-price` (the default),
4876
- # which launches the lowest price first.
4889
+ # fleets. Available options are `lowest-price` and `prioritized`.
4890
+ # `lowest-price` specifies to launch the instances with the lowest
4891
+ # price first, and `prioritized` specifies that Amazon EMR should
4892
+ # launch the instances with the highest priority first. The default is
4893
+ # `lowest-price`.
4877
4894
  # @return [String]
4878
4895
  #
4879
4896
  # @!attribute [rw] capacity_reservation_options
@@ -6104,8 +6121,9 @@ module Aws::EMR
6104
6121
  #
6105
6122
  # @!attribute [rw] allocation_strategy
6106
6123
  # Specifies one of the following strategies to launch Spot Instance
6107
- # fleets: `price-capacity-optimized`, `capacity-optimized`,
6108
- # `lowest-price`, or `diversified`. For more information on the
6124
+ # fleets: `capacity-optimized`, `price-capacity-optimized`,
6125
+ # `lowest-price`, or `diversified`, and
6126
+ # `capacity-optimized-prioritized`. For more information on the
6109
6127
  # provisioning strategies, see [Allocation strategies for Spot
6110
6128
  # Instances][1] in the *Amazon EC2 User Guide for Linux Instances*.
6111
6129
  #
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.90.0'
56
+ GEM_VERSION = '1.91.0'
57
57
 
58
58
  end
data/sig/client.rbs CHANGED
@@ -114,7 +114,8 @@ module Aws
114
114
  properties: Hash[::String, ::String]?
115
115
  },
116
116
  ]?,
117
- custom_ami_id: ::String?
117
+ custom_ami_id: ::String?,
118
+ priority: ::Float?
118
119
  },
119
120
  ]?,
120
121
  launch_specifications: {
@@ -122,10 +123,10 @@ module Aws
122
123
  timeout_duration_minutes: ::Integer,
123
124
  timeout_action: ("SWITCH_TO_ON_DEMAND" | "TERMINATE_CLUSTER"),
124
125
  block_duration_minutes: ::Integer?,
125
- allocation_strategy: ("capacity-optimized" | "price-capacity-optimized" | "lowest-price" | "diversified")?
126
+ allocation_strategy: ("capacity-optimized" | "price-capacity-optimized" | "lowest-price" | "diversified" | "capacity-optimized-prioritized")?
126
127
  }?,
127
128
  on_demand_specification: {
128
- allocation_strategy: ("lowest-price"),
129
+ allocation_strategy: ("lowest-price" | "prioritized"),
129
130
  capacity_reservation_options: {
130
131
  usage_strategy: ("use-capacity-reservations-first")?,
131
132
  capacity_reservation_preference: ("open" | "none")?,
@@ -972,7 +973,8 @@ module Aws
972
973
  properties: Hash[::String, ::String]?
973
974
  },
974
975
  ]?,
975
- custom_ami_id: ::String?
976
+ custom_ami_id: ::String?,
977
+ priority: ::Float?
976
978
  },
977
979
  ]?,
978
980
  launch_specifications: {
@@ -980,10 +982,10 @@ module Aws
980
982
  timeout_duration_minutes: ::Integer,
981
983
  timeout_action: ("SWITCH_TO_ON_DEMAND" | "TERMINATE_CLUSTER"),
982
984
  block_duration_minutes: ::Integer?,
983
- allocation_strategy: ("capacity-optimized" | "price-capacity-optimized" | "lowest-price" | "diversified")?
985
+ allocation_strategy: ("capacity-optimized" | "price-capacity-optimized" | "lowest-price" | "diversified" | "capacity-optimized-prioritized")?
984
986
  }?,
985
987
  on_demand_specification: {
986
- allocation_strategy: ("lowest-price"),
988
+ allocation_strategy: ("lowest-price" | "prioritized"),
987
989
  capacity_reservation_options: {
988
990
  usage_strategy: ("use-capacity-reservations-first")?,
989
991
  capacity_reservation_preference: ("open" | "none")?,
data/sig/types.rbs CHANGED
@@ -734,6 +734,7 @@ module Aws::EMR
734
734
  attr_accessor ebs_configuration: Types::EbsConfiguration
735
735
  attr_accessor configurations: ::Array[Types::Configuration]
736
736
  attr_accessor custom_ami_id: ::String
737
+ attr_accessor priority: ::Float
737
738
  SENSITIVE: []
738
739
  end
739
740
 
@@ -746,6 +747,7 @@ module Aws::EMR
746
747
  attr_accessor ebs_block_devices: ::Array[Types::EbsBlockDevice]
747
748
  attr_accessor ebs_optimized: bool
748
749
  attr_accessor custom_ami_id: ::String
750
+ attr_accessor priority: ::Float
749
751
  SENSITIVE: []
750
752
  end
751
753
 
@@ -1096,7 +1098,7 @@ module Aws::EMR
1096
1098
  end
1097
1099
 
1098
1100
  class OnDemandProvisioningSpecification
1099
- attr_accessor allocation_strategy: ("lowest-price")
1101
+ attr_accessor allocation_strategy: ("lowest-price" | "prioritized")
1100
1102
  attr_accessor capacity_reservation_options: Types::OnDemandCapacityReservationOptions
1101
1103
  SENSITIVE: []
1102
1104
  end
@@ -1363,7 +1365,7 @@ module Aws::EMR
1363
1365
  attr_accessor timeout_duration_minutes: ::Integer
1364
1366
  attr_accessor timeout_action: ("SWITCH_TO_ON_DEMAND" | "TERMINATE_CLUSTER")
1365
1367
  attr_accessor block_duration_minutes: ::Integer
1366
- attr_accessor allocation_strategy: ("capacity-optimized" | "price-capacity-optimized" | "lowest-price" | "diversified")
1368
+ attr_accessor allocation_strategy: ("capacity-optimized" | "price-capacity-optimized" | "lowest-price" | "diversified" | "capacity-optimized-prioritized")
1367
1369
  SENSITIVE: []
1368
1370
  end
1369
1371
 
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.90.0
4
+ version: 1.91.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-06-25 00:00:00.000000000 Z
11
+ date: 2024-06-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core