aws-sdk-emr 1.89.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: 689557987249482db52a91d493bf5f19380b03dce0b24938a75454b8ce7b549d
4
- data.tar.gz: 3b2f9d80c8714a3b20a7a5c4b4ca4ea8b61207db6724679baab41b831563163b
3
+ metadata.gz: 37b45029d18998ef585d8120dcc49b8d47be03c6133f9eaa97650edade10ed9c
4
+ data.tar.gz: 3d974d74846359fb61e139884e20d0b2c8ef69e6a4e2e70f16218c12053e4d1f
5
5
  SHA512:
6
- metadata.gz: 999646024e68039c741e2064e53779f0dcc7e7f1e376111ff7966e583cfbe549b75b8f47c3142596a61c8f72db82580e41fed2c85cc073b7ed7409b49dd6a69c
7
- data.tar.gz: 688447cd34a82023c958a58a4bacfc92fccf03b9c4f8829ef1ccb3d72636500f35728a79581ebd304c57ae99e44ce7660bee195d07ff9bfa5bb530bbb00eb3a5
6
+ metadata.gz: 03dc9bf0eb9a85916835b59ad02df56c39d641e19f82b6276ec8f991b436f096ba04e31f3b6f15d00c11de7d1ac78881c127cb3408f1c4151a31e21324133e97
7
+ data.tar.gz: 9b98e1dae7d4f68292f90868e1fc9ea6a3383884e50e08a3ba62e56bb8c716ffd6748d468e018172854b52a9e9dd65354e72a5ca4dfac728b6cb95e5f4d7457a
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
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
+
9
+ 1.90.0 (2024-06-25)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.89.0 (2024-06-24)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.89.0
1
+ 1.91.0
@@ -314,13 +314,10 @@ module Aws::EMR
314
314
  #
315
315
  # @option options [Boolean] :simple_json (false)
316
316
  # Disables request parameter conversion, validation, and formatting.
317
- # Also disable response data type conversions. This option is useful
318
- # when you want to ensure the highest level of performance by
319
- # avoiding overhead of walking request parameters and response data
320
- # structures.
321
- #
322
- # When `:simple_json` is enabled, the request parameters hash must
323
- # be formatted exactly as the DynamoDB API expects.
317
+ # Also disables response data type conversions. The request parameters
318
+ # hash must be formatted exactly as the API expects.This option is useful
319
+ # when you want to ensure the highest level of performance by avoiding
320
+ # overhead of walking request parameters and response data structures.
324
321
  #
325
322
  # @option options [Boolean] :stub_responses (false)
326
323
  # Causes the client to return stubbed responses. By default
@@ -486,6 +483,7 @@ module Aws::EMR
486
483
  # },
487
484
  # ],
488
485
  # custom_ami_id: "XmlStringMaxLen256",
486
+ # priority: 1.0,
489
487
  # },
490
488
  # ],
491
489
  # launch_specifications: {
@@ -493,10 +491,10 @@ module Aws::EMR
493
491
  # timeout_duration_minutes: 1, # required
494
492
  # timeout_action: "SWITCH_TO_ON_DEMAND", # required, accepts SWITCH_TO_ON_DEMAND, TERMINATE_CLUSTER
495
493
  # block_duration_minutes: 1,
496
- # 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
497
495
  # },
498
496
  # on_demand_specification: {
499
- # allocation_strategy: "lowest-price", # required, accepts lowest-price
497
+ # allocation_strategy: "lowest-price", # required, accepts lowest-price, prioritized
500
498
  # capacity_reservation_options: {
501
499
  # usage_strategy: "use-capacity-reservations-first", # accepts use-capacity-reservations-first
502
500
  # capacity_reservation_preference: "open", # accepts open, none
@@ -2013,11 +2011,12 @@ module Aws::EMR
2013
2011
  # resp.instance_fleets[0].instance_type_specifications[0].ebs_block_devices[0].device #=> String
2014
2012
  # resp.instance_fleets[0].instance_type_specifications[0].ebs_optimized #=> Boolean
2015
2013
  # resp.instance_fleets[0].instance_type_specifications[0].custom_ami_id #=> String
2014
+ # resp.instance_fleets[0].instance_type_specifications[0].priority #=> Float
2016
2015
  # resp.instance_fleets[0].launch_specifications.spot_specification.timeout_duration_minutes #=> Integer
2017
2016
  # resp.instance_fleets[0].launch_specifications.spot_specification.timeout_action #=> String, one of "SWITCH_TO_ON_DEMAND", "TERMINATE_CLUSTER"
2018
2017
  # resp.instance_fleets[0].launch_specifications.spot_specification.block_duration_minutes #=> Integer
2019
- # resp.instance_fleets[0].launch_specifications.spot_specification.allocation_strategy #=> String, one of "capacity-optimized", "price-capacity-optimized", "lowest-price", "diversified"
2020
- # 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"
2021
2020
  # resp.instance_fleets[0].launch_specifications.on_demand_specification.capacity_reservation_options.usage_strategy #=> String, one of "use-capacity-reservations-first"
2022
2021
  # resp.instance_fleets[0].launch_specifications.on_demand_specification.capacity_reservation_options.capacity_reservation_preference #=> String, one of "open", "none"
2023
2022
  # resp.instance_fleets[0].launch_specifications.on_demand_specification.capacity_reservation_options.capacity_reservation_resource_group_arn #=> String
@@ -3537,6 +3536,7 @@ module Aws::EMR
3537
3536
  # },
3538
3537
  # ],
3539
3538
  # custom_ami_id: "XmlStringMaxLen256",
3539
+ # priority: 1.0,
3540
3540
  # },
3541
3541
  # ],
3542
3542
  # launch_specifications: {
@@ -3544,10 +3544,10 @@ module Aws::EMR
3544
3544
  # timeout_duration_minutes: 1, # required
3545
3545
  # timeout_action: "SWITCH_TO_ON_DEMAND", # required, accepts SWITCH_TO_ON_DEMAND, TERMINATE_CLUSTER
3546
3546
  # block_duration_minutes: 1,
3547
- # 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
3548
3548
  # },
3549
3549
  # on_demand_specification: {
3550
- # allocation_strategy: "lowest-price", # required, accepts lowest-price
3550
+ # allocation_strategy: "lowest-price", # required, accepts lowest-price, prioritized
3551
3551
  # capacity_reservation_options: {
3552
3552
  # usage_strategy: "use-capacity-reservations-first", # accepts use-capacity-reservations-first
3553
3553
  # capacity_reservation_preference: "open", # accepts open, none
@@ -4175,7 +4175,7 @@ module Aws::EMR
4175
4175
  params: params,
4176
4176
  config: config)
4177
4177
  context[:gem_name] = 'aws-sdk-emr'
4178
- context[:gem_version] = '1.89.0'
4178
+ context[:gem_version] = '1.91.0'
4179
4179
  Seahorse::Client::Request.new(handlers, context)
4180
4180
  end
4181
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.89.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.89.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-24 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
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.198.0
22
+ version: 3.199.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.198.0
32
+ version: 3.199.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement