aws-sdk-emr 1.64.0 → 1.66.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: 45ac152a94428ccf12ae327345ad526d0937e0c7a037c1da63badaf01402e9d8
4
- data.tar.gz: ddb7336fafb63f8f37103e24aa92ba93f7afeb633488d801f99ed965a797916e
3
+ metadata.gz: af80d55d274db442aafc223b3c8dbaf645c3895c31beda4862f5b232699382db
4
+ data.tar.gz: 25b6a1c6bbe7c1cde168facaafc1cea53343aac7fd4b33eec72536fc537090a4
5
5
  SHA512:
6
- metadata.gz: dfa2fd91df3df4f22716b25a061543baf7ef6294247efe1d8e53d90a543f502983685f2be44ea10ee30aacad504e5d098fed7622e0d9c80a2807a271a5ae5068
7
- data.tar.gz: 3c3af5fabddaf261c5d6b0fe6fab17182945a1f1ddc8c006bf33e1952f1a8b7570fcae95c50faebd6112c9d11d3ab49e96579e4854cb2cb6f8d060a37b0791a1
6
+ metadata.gz: ef4ace0c5ace7a33d56559d2e3064293997202f65f8a01d9967625c4d8df607beb809bb3e9663c7d7743ae9cf97ec3b01dc53a4df2cb388ab40ceb5bf2ee963a
7
+ data.tar.gz: 3263c649563f7f4713f598574d5c5e6bf4d29b6a6ffb93193e667b44d196d777a7c380c6e89e1faeae557d27680c229c6a6f98ab7b7970748dc830d2176e8de3
data/CHANGELOG.md CHANGED
@@ -1,6 +1,18 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.66.0 (2023-02-16)
5
+ ------------------
6
+
7
+ * Feature - This release provides customers the ability to define a timeout period for procuring capacity during a resize operation for Instance Fleet clusters. Customers can specify this timeout using the ResizeSpecifications parameter supported by RunJobFlow, ModifyInstanceFleet and AddInstanceFleet APIs.
8
+
9
+ 1.65.0 (2023-01-18)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ * Issue - Replace runtime endpoint resolution approach with generated ruby code.
15
+
4
16
  1.64.0 (2022-12-29)
5
17
  ------------------
6
18
 
@@ -390,4 +402,4 @@ Unreleased Changes
390
402
  1.0.0.rc1 (2016-12-05)
391
403
  ------------------
392
404
 
393
- * Feature - Initial preview release of the `aws-sdk-emr` gem.
405
+ * Feature - Initial preview release of the `aws-sdk-emr` gem.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.64.0
1
+ 1.66.0
@@ -456,6 +456,14 @@ module Aws::EMR
456
456
  # },
457
457
  # },
458
458
  # },
459
+ # resize_specifications: {
460
+ # spot_resize_specification: {
461
+ # timeout_duration_minutes: 1, # required
462
+ # },
463
+ # on_demand_resize_specification: {
464
+ # timeout_duration_minutes: 1, # required
465
+ # },
466
+ # },
459
467
  # },
460
468
  # })
461
469
  #
@@ -1602,11 +1610,10 @@ module Aws::EMR
1602
1610
  req.send_request(options)
1603
1611
  end
1604
1612
 
1605
- # Provides Temporary, basic HTTP credentials that are associated with a
1613
+ # Provides temporary, HTTP basic credentials that are associated with a
1606
1614
  # given runtime IAM role and used by a cluster with fine-grained access
1607
1615
  # control activated. You can use these credentials to connect to cluster
1608
- # endpoints that support username-based and password-based
1609
- # authentication.
1616
+ # endpoints that support username and password authentication.
1610
1617
  #
1611
1618
  # @option params [required, String] :cluster_id
1612
1619
  # The unique identifier of the cluster.
@@ -1917,6 +1924,8 @@ module Aws::EMR
1917
1924
  # resp.instance_fleets[0].launch_specifications.on_demand_specification.capacity_reservation_options.usage_strategy #=> String, one of "use-capacity-reservations-first"
1918
1925
  # resp.instance_fleets[0].launch_specifications.on_demand_specification.capacity_reservation_options.capacity_reservation_preference #=> String, one of "open", "none"
1919
1926
  # resp.instance_fleets[0].launch_specifications.on_demand_specification.capacity_reservation_options.capacity_reservation_resource_group_arn #=> String
1927
+ # resp.instance_fleets[0].resize_specifications.spot_resize_specification.timeout_duration_minutes #=> Integer
1928
+ # resp.instance_fleets[0].resize_specifications.on_demand_resize_specification.timeout_duration_minutes #=> Integer
1920
1929
  # resp.marker #=> String
1921
1930
  #
1922
1931
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListInstanceFleets AWS API Documentation
@@ -2515,6 +2524,14 @@ module Aws::EMR
2515
2524
  # instance_fleet_id: "InstanceFleetId", # required
2516
2525
  # target_on_demand_capacity: 1,
2517
2526
  # target_spot_capacity: 1,
2527
+ # resize_specifications: {
2528
+ # spot_resize_specification: {
2529
+ # timeout_duration_minutes: 1, # required
2530
+ # },
2531
+ # on_demand_resize_specification: {
2532
+ # timeout_duration_minutes: 1, # required
2533
+ # },
2534
+ # },
2518
2535
  # },
2519
2536
  # })
2520
2537
  #
@@ -3363,6 +3380,14 @@ module Aws::EMR
3363
3380
  # },
3364
3381
  # },
3365
3382
  # },
3383
+ # resize_specifications: {
3384
+ # spot_resize_specification: {
3385
+ # timeout_duration_minutes: 1, # required
3386
+ # },
3387
+ # on_demand_resize_specification: {
3388
+ # timeout_duration_minutes: 1, # required
3389
+ # },
3390
+ # },
3366
3391
  # },
3367
3392
  # ],
3368
3393
  # ec2_key_name: "XmlStringMaxLen256",
@@ -3845,7 +3870,7 @@ module Aws::EMR
3845
3870
  params: params,
3846
3871
  config: config)
3847
3872
  context[:gem_name] = 'aws-sdk-emr'
3848
- context[:gem_version] = '1.64.0'
3873
+ context[:gem_version] = '1.66.0'
3849
3874
  Seahorse::Client::Request.new(handlers, context)
3850
3875
  end
3851
3876
 
@@ -127,6 +127,7 @@ module Aws::EMR
127
127
  InstanceFleetList = Shapes::ListShape.new(name: 'InstanceFleetList')
128
128
  InstanceFleetModifyConfig = Shapes::StructureShape.new(name: 'InstanceFleetModifyConfig')
129
129
  InstanceFleetProvisioningSpecifications = Shapes::StructureShape.new(name: 'InstanceFleetProvisioningSpecifications')
130
+ InstanceFleetResizingSpecifications = Shapes::StructureShape.new(name: 'InstanceFleetResizingSpecifications')
130
131
  InstanceFleetState = Shapes::StringShape.new(name: 'InstanceFleetState')
131
132
  InstanceFleetStateChangeReason = Shapes::StructureShape.new(name: 'InstanceFleetStateChangeReason')
132
133
  InstanceFleetStateChangeReasonCode = Shapes::StringShape.new(name: 'InstanceFleetStateChangeReasonCode')
@@ -225,6 +226,7 @@ module Aws::EMR
225
226
  OnDemandCapacityReservationUsageStrategy = Shapes::StringShape.new(name: 'OnDemandCapacityReservationUsageStrategy')
226
227
  OnDemandProvisioningAllocationStrategy = Shapes::StringShape.new(name: 'OnDemandProvisioningAllocationStrategy')
227
228
  OnDemandProvisioningSpecification = Shapes::StructureShape.new(name: 'OnDemandProvisioningSpecification')
229
+ OnDemandResizingSpecification = Shapes::StructureShape.new(name: 'OnDemandResizingSpecification')
228
230
  OptionalArnType = Shapes::StringShape.new(name: 'OptionalArnType')
229
231
  PlacementGroupConfig = Shapes::StructureShape.new(name: 'PlacementGroupConfig')
230
232
  PlacementGroupConfigList = Shapes::ListShape.new(name: 'PlacementGroupConfigList')
@@ -277,6 +279,7 @@ module Aws::EMR
277
279
  SpotProvisioningAllocationStrategy = Shapes::StringShape.new(name: 'SpotProvisioningAllocationStrategy')
278
280
  SpotProvisioningSpecification = Shapes::StructureShape.new(name: 'SpotProvisioningSpecification')
279
281
  SpotProvisioningTimeoutAction = Shapes::StringShape.new(name: 'SpotProvisioningTimeoutAction')
282
+ SpotResizingSpecification = Shapes::StructureShape.new(name: 'SpotResizingSpecification')
280
283
  StartNotebookExecutionInput = Shapes::StructureShape.new(name: 'StartNotebookExecutionInput')
281
284
  StartNotebookExecutionOutput = Shapes::StructureShape.new(name: 'StartNotebookExecutionOutput')
282
285
  Statistic = Shapes::StringShape.new(name: 'Statistic')
@@ -735,6 +738,7 @@ module Aws::EMR
735
738
  InstanceFleet.add_member(:provisioned_spot_capacity, Shapes::ShapeRef.new(shape: WholeNumber, location_name: "ProvisionedSpotCapacity"))
736
739
  InstanceFleet.add_member(:instance_type_specifications, Shapes::ShapeRef.new(shape: InstanceTypeSpecificationList, location_name: "InstanceTypeSpecifications"))
737
740
  InstanceFleet.add_member(:launch_specifications, Shapes::ShapeRef.new(shape: InstanceFleetProvisioningSpecifications, location_name: "LaunchSpecifications"))
741
+ InstanceFleet.add_member(:resize_specifications, Shapes::ShapeRef.new(shape: InstanceFleetResizingSpecifications, location_name: "ResizeSpecifications"))
738
742
  InstanceFleet.struct_class = Types::InstanceFleet
739
743
 
740
744
  InstanceFleetConfig.add_member(:name, Shapes::ShapeRef.new(shape: XmlStringMaxLen256, location_name: "Name"))
@@ -743,6 +747,7 @@ module Aws::EMR
743
747
  InstanceFleetConfig.add_member(:target_spot_capacity, Shapes::ShapeRef.new(shape: WholeNumber, location_name: "TargetSpotCapacity"))
744
748
  InstanceFleetConfig.add_member(:instance_type_configs, Shapes::ShapeRef.new(shape: InstanceTypeConfigList, location_name: "InstanceTypeConfigs"))
745
749
  InstanceFleetConfig.add_member(:launch_specifications, Shapes::ShapeRef.new(shape: InstanceFleetProvisioningSpecifications, location_name: "LaunchSpecifications"))
750
+ InstanceFleetConfig.add_member(:resize_specifications, Shapes::ShapeRef.new(shape: InstanceFleetResizingSpecifications, location_name: "ResizeSpecifications"))
746
751
  InstanceFleetConfig.struct_class = Types::InstanceFleetConfig
747
752
 
748
753
  InstanceFleetConfigList.member = Shapes::ShapeRef.new(shape: InstanceFleetConfig)
@@ -752,12 +757,17 @@ module Aws::EMR
752
757
  InstanceFleetModifyConfig.add_member(:instance_fleet_id, Shapes::ShapeRef.new(shape: InstanceFleetId, required: true, location_name: "InstanceFleetId"))
753
758
  InstanceFleetModifyConfig.add_member(:target_on_demand_capacity, Shapes::ShapeRef.new(shape: WholeNumber, location_name: "TargetOnDemandCapacity"))
754
759
  InstanceFleetModifyConfig.add_member(:target_spot_capacity, Shapes::ShapeRef.new(shape: WholeNumber, location_name: "TargetSpotCapacity"))
760
+ InstanceFleetModifyConfig.add_member(:resize_specifications, Shapes::ShapeRef.new(shape: InstanceFleetResizingSpecifications, location_name: "ResizeSpecifications"))
755
761
  InstanceFleetModifyConfig.struct_class = Types::InstanceFleetModifyConfig
756
762
 
757
763
  InstanceFleetProvisioningSpecifications.add_member(:spot_specification, Shapes::ShapeRef.new(shape: SpotProvisioningSpecification, location_name: "SpotSpecification"))
758
764
  InstanceFleetProvisioningSpecifications.add_member(:on_demand_specification, Shapes::ShapeRef.new(shape: OnDemandProvisioningSpecification, location_name: "OnDemandSpecification"))
759
765
  InstanceFleetProvisioningSpecifications.struct_class = Types::InstanceFleetProvisioningSpecifications
760
766
 
767
+ InstanceFleetResizingSpecifications.add_member(:spot_resize_specification, Shapes::ShapeRef.new(shape: SpotResizingSpecification, location_name: "SpotResizeSpecification"))
768
+ InstanceFleetResizingSpecifications.add_member(:on_demand_resize_specification, Shapes::ShapeRef.new(shape: OnDemandResizingSpecification, location_name: "OnDemandResizeSpecification"))
769
+ InstanceFleetResizingSpecifications.struct_class = Types::InstanceFleetResizingSpecifications
770
+
761
771
  InstanceFleetStateChangeReason.add_member(:code, Shapes::ShapeRef.new(shape: InstanceFleetStateChangeReasonCode, location_name: "Code"))
762
772
  InstanceFleetStateChangeReason.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
763
773
  InstanceFleetStateChangeReason.struct_class = Types::InstanceFleetStateChangeReason
@@ -1151,6 +1161,9 @@ module Aws::EMR
1151
1161
  OnDemandProvisioningSpecification.add_member(:capacity_reservation_options, Shapes::ShapeRef.new(shape: OnDemandCapacityReservationOptions, location_name: "CapacityReservationOptions"))
1152
1162
  OnDemandProvisioningSpecification.struct_class = Types::OnDemandProvisioningSpecification
1153
1163
 
1164
+ OnDemandResizingSpecification.add_member(:timeout_duration_minutes, Shapes::ShapeRef.new(shape: WholeNumber, required: true, location_name: "TimeoutDurationMinutes"))
1165
+ OnDemandResizingSpecification.struct_class = Types::OnDemandResizingSpecification
1166
+
1154
1167
  PlacementGroupConfig.add_member(:instance_role, Shapes::ShapeRef.new(shape: InstanceRoleType, required: true, location_name: "InstanceRole"))
1155
1168
  PlacementGroupConfig.add_member(:placement_strategy, Shapes::ShapeRef.new(shape: PlacementGroupStrategy, location_name: "PlacementStrategy"))
1156
1169
  PlacementGroupConfig.struct_class = Types::PlacementGroupConfig
@@ -1335,6 +1348,9 @@ module Aws::EMR
1335
1348
  SpotProvisioningSpecification.add_member(:allocation_strategy, Shapes::ShapeRef.new(shape: SpotProvisioningAllocationStrategy, location_name: "AllocationStrategy"))
1336
1349
  SpotProvisioningSpecification.struct_class = Types::SpotProvisioningSpecification
1337
1350
 
1351
+ SpotResizingSpecification.add_member(:timeout_duration_minutes, Shapes::ShapeRef.new(shape: WholeNumber, required: true, location_name: "TimeoutDurationMinutes"))
1352
+ SpotResizingSpecification.struct_class = Types::SpotResizingSpecification
1353
+
1338
1354
  StartNotebookExecutionInput.add_member(:editor_id, Shapes::ShapeRef.new(shape: XmlStringMaxLen256, required: true, location_name: "EditorId"))
1339
1355
  StartNotebookExecutionInput.add_member(:relative_path, Shapes::ShapeRef.new(shape: XmlString, required: true, location_name: "RelativePath"))
1340
1356
  StartNotebookExecutionInput.add_member(:notebook_execution_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen256, location_name: "NotebookExecutionName"))
@@ -50,9 +50,6 @@ module Aws::EMR
50
50
 
51
51
  def initialize(options = {})
52
52
  self[:region] = options[:region]
53
- if self[:region].nil?
54
- raise ArgumentError, "Missing required EndpointParameter: :region"
55
- end
56
53
  self[:use_dual_stack] = options[:use_dual_stack]
57
54
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
58
55
  if self[:use_dual_stack].nil?
@@ -9,108 +9,49 @@
9
9
 
10
10
  module Aws::EMR
11
11
  class EndpointProvider
12
- def initialize(rule_set = nil)
13
- @@rule_set ||= begin
14
- endpoint_rules = Aws::Json.load(Base64.decode64(RULES))
15
- Aws::Endpoints::RuleSet.new(
16
- version: endpoint_rules['version'],
17
- service_id: endpoint_rules['serviceId'],
18
- parameters: endpoint_rules['parameters'],
19
- rules: endpoint_rules['rules']
20
- )
12
+ def resolve_endpoint(parameters)
13
+ region = parameters.region
14
+ use_dual_stack = parameters.use_dual_stack
15
+ use_fips = parameters.use_fips
16
+ endpoint = parameters.endpoint
17
+ if Aws::Endpoints::Matchers.set?(endpoint)
18
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
19
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
20
+ end
21
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
22
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
23
+ end
24
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
21
25
  end
22
- @provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
23
- end
26
+ if Aws::Endpoints::Matchers.set?(region)
27
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
28
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
29
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
30
+ return Aws::Endpoints::Endpoint.new(url: "https://elasticmapreduce-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
31
+ end
32
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
+ end
34
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
36
+ if Aws::Endpoints::Matchers.string_equals?("aws-us-gov", Aws::Endpoints::Matchers.attr(partition_result, "name"))
37
+ return Aws::Endpoints::Endpoint.new(url: "https://elasticmapreduce.#{region}.amazonaws.com", headers: {}, properties: {})
38
+ end
39
+ return Aws::Endpoints::Endpoint.new(url: "https://elasticmapreduce-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
40
+ end
41
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
42
+ end
43
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
44
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
45
+ return Aws::Endpoints::Endpoint.new(url: "https://elasticmapreduce.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
46
+ end
47
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
48
+ end
49
+ return Aws::Endpoints::Endpoint.new(url: "https://elasticmapreduce.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
50
+ end
51
+ end
52
+ raise ArgumentError, "Invalid Configuration: Missing Region"
53
+ raise ArgumentError, 'No endpoint could be resolved'
24
54
 
25
- def resolve_endpoint(parameters)
26
- @provider.resolve_endpoint(parameters)
27
55
  end
28
-
29
- # @api private
30
- RULES = <<-JSON
31
- eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
32
- bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOnRydWUsImRvY3VtZW50
33
- YXRpb24iOiJUaGUgQVdTIHJlZ2lvbiB1c2VkIHRvIGRpc3BhdGNoIHRoZSBy
34
- ZXF1ZXN0LiIsInR5cGUiOiJTdHJpbmcifSwiVXNlRHVhbFN0YWNrIjp7ImJ1
35
- aWx0SW4iOiJBV1M6OlVzZUR1YWxTdGFjayIsInJlcXVpcmVkIjp0cnVlLCJk
36
- ZWZhdWx0IjpmYWxzZSwiZG9jdW1lbnRhdGlvbiI6IldoZW4gdHJ1ZSwgdXNl
37
- IHRoZSBkdWFsLXN0YWNrIGVuZHBvaW50LiBJZiB0aGUgY29uZmlndXJlZCBl
38
- bmRwb2ludCBkb2VzIG5vdCBzdXBwb3J0IGR1YWwtc3RhY2ssIGRpc3BhdGNo
39
- aW5nI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Vy
106
- dGllcyI6e30sImhlYWRlcnMiOnt9fSwidHlwZSI6ImVuZHBvaW50In1dfSx7
107
- ImNvbmRpdGlvbnMiOltdLCJlcnJvciI6IkR1YWxTdGFjayBpcyBlbmFibGVk
108
- IGJ1dCB0aGlzIHBhcnRpdGlvbiBkb2VzIG5vdCBzdXBwb3J0IER1YWxTdGFj
109
- ayIsInR5cGUiOiJlcnJvciJ9XX0seyJjb25kaXRpb25zIjpbXSwiZW5kcG9p
110
- bnQiOnsidXJsIjoiaHR0cHM6Ly9lbGFzdGljbWFwcmVkdWNlLntSZWdpb259
111
- LntQYXJ0aXRpb25SZXN1bHQjZG5zU3VmZml4fSIsInByb3BlcnRpZXMiOnt9
112
- LCJoZWFkZXJzIjp7fX0sInR5cGUiOiJlbmRwb2ludCJ9XX1dfQ==
113
-
114
- JSON
115
56
  end
116
57
  end
@@ -1940,7 +1940,7 @@ module Aws::EMR
1940
1940
 
1941
1941
  # @!attribute [rw] credentials
1942
1942
  # The credentials that you can use to connect to cluster endpoints
1943
- # that support username-based and password-based authentication.
1943
+ # that support username and password authentication.
1944
1944
  # @return [Types::Credentials]
1945
1945
  #
1946
1946
  # @!attribute [rw] expires_at
@@ -2282,6 +2282,10 @@ module Aws::EMR
2282
2282
  # Describes the launch specification for an instance fleet.
2283
2283
  # @return [Types::InstanceFleetProvisioningSpecifications]
2284
2284
  #
2285
+ # @!attribute [rw] resize_specifications
2286
+ # The resize specification for the instance fleet.
2287
+ # @return [Types::InstanceFleetResizingSpecifications]
2288
+ #
2285
2289
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/InstanceFleet AWS API Documentation
2286
2290
  #
2287
2291
  class InstanceFleet < Struct.new(
@@ -2294,7 +2298,8 @@ module Aws::EMR
2294
2298
  :provisioned_on_demand_capacity,
2295
2299
  :provisioned_spot_capacity,
2296
2300
  :instance_type_specifications,
2297
- :launch_specifications)
2301
+ :launch_specifications,
2302
+ :resize_specifications)
2298
2303
  SENSITIVE = []
2299
2304
  include Aws::Structure
2300
2305
  end
@@ -2372,6 +2377,10 @@ module Aws::EMR
2372
2377
  # The launch specification for the instance fleet.
2373
2378
  # @return [Types::InstanceFleetProvisioningSpecifications]
2374
2379
  #
2380
+ # @!attribute [rw] resize_specifications
2381
+ # The resize specification for the instance fleet.
2382
+ # @return [Types::InstanceFleetResizingSpecifications]
2383
+ #
2375
2384
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/InstanceFleetConfig AWS API Documentation
2376
2385
  #
2377
2386
  class InstanceFleetConfig < Struct.new(
@@ -2380,7 +2389,8 @@ module Aws::EMR
2380
2389
  :target_on_demand_capacity,
2381
2390
  :target_spot_capacity,
2382
2391
  :instance_type_configs,
2383
- :launch_specifications)
2392
+ :launch_specifications,
2393
+ :resize_specifications)
2384
2394
  SENSITIVE = []
2385
2395
  include Aws::Structure
2386
2396
  end
@@ -2406,12 +2416,17 @@ module Aws::EMR
2406
2416
  # information, see InstanceFleetConfig$TargetSpotCapacity.
2407
2417
  # @return [Integer]
2408
2418
  #
2419
+ # @!attribute [rw] resize_specifications
2420
+ # The resize specification for the instance fleet.
2421
+ # @return [Types::InstanceFleetResizingSpecifications]
2422
+ #
2409
2423
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/InstanceFleetModifyConfig AWS API Documentation
2410
2424
  #
2411
2425
  class InstanceFleetModifyConfig < Struct.new(
2412
2426
  :instance_fleet_id,
2413
2427
  :target_on_demand_capacity,
2414
- :target_spot_capacity)
2428
+ :target_spot_capacity,
2429
+ :resize_specifications)
2415
2430
  SENSITIVE = []
2416
2431
  include Aws::Structure
2417
2432
  end
@@ -2422,13 +2437,13 @@ module Aws::EMR
2422
2437
  #
2423
2438
  # <note markdown="1"> The instance fleet configuration is available only in Amazon EMR
2424
2439
  # versions 4.8.0 and later, excluding 5.0.x versions. On-Demand and Spot
2425
- # Instance allocation strategies are available in Amazon EMR version
2440
+ # instance allocation strategies are available in Amazon EMR version
2426
2441
  # 5.12.1 and later.
2427
2442
  #
2428
2443
  # </note>
2429
2444
  #
2430
2445
  # @!attribute [rw] spot_specification
2431
- # The launch specification for Spot Instances in the fleet, which
2446
+ # The launch specification for Spot instances in the fleet, which
2432
2447
  # determines the defined duration, provisioning timeout behavior, and
2433
2448
  # allocation strategy.
2434
2449
  # @return [Types::SpotProvisioningSpecification]
@@ -2454,6 +2469,28 @@ module Aws::EMR
2454
2469
  include Aws::Structure
2455
2470
  end
2456
2471
 
2472
+ # The resize specification for On-Demand and Spot Instances in the
2473
+ # fleet.
2474
+ #
2475
+ # @!attribute [rw] spot_resize_specification
2476
+ # The resize specification for Spot Instances in the instance fleet,
2477
+ # which contains the resize timeout period.
2478
+ # @return [Types::SpotResizingSpecification]
2479
+ #
2480
+ # @!attribute [rw] on_demand_resize_specification
2481
+ # The resize specification for On-Demand Instances in the instance
2482
+ # fleet, which contains the resize timeout period.
2483
+ # @return [Types::OnDemandResizingSpecification]
2484
+ #
2485
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/InstanceFleetResizingSpecifications AWS API Documentation
2486
+ #
2487
+ class InstanceFleetResizingSpecifications < Struct.new(
2488
+ :spot_resize_specification,
2489
+ :on_demand_resize_specification)
2490
+ SENSITIVE = []
2491
+ include Aws::Structure
2492
+ end
2493
+
2457
2494
  # Provides status change reason details for the instance fleet.
2458
2495
  #
2459
2496
  # <note markdown="1"> The instance fleet configuration is available only in Amazon EMR
@@ -4624,6 +4661,28 @@ module Aws::EMR
4624
4661
  include Aws::Structure
4625
4662
  end
4626
4663
 
4664
+ # The resize specification for On-Demand Instances in the instance
4665
+ # fleet, which contains the resize timeout period.
4666
+ #
4667
+ # @!attribute [rw] timeout_duration_minutes
4668
+ # On-Demand resize timeout in minutes. If On-Demand Instances are not
4669
+ # provisioned within this time, the resize workflow stops. The minimum
4670
+ # value is 5 minutes, and the maximum value is 10,080 minutes (7
4671
+ # days). The timeout applies to all resize workflows on the Instance
4672
+ # Fleet. The resize could be triggered by Amazon EMR Managed Scaling
4673
+ # or by the customer (via Amazon EMR Console, Amazon EMR CLI
4674
+ # modify-instance-fleet or Amazon EMR SDK ModifyInstanceFleet API) or
4675
+ # by Amazon EMR due to Amazon EC2 Spot Reclamation.
4676
+ # @return [Integer]
4677
+ #
4678
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/OnDemandResizingSpecification AWS API Documentation
4679
+ #
4680
+ class OnDemandResizingSpecification < Struct.new(
4681
+ :timeout_duration_minutes)
4682
+ SENSITIVE = []
4683
+ include Aws::Structure
4684
+ end
4685
+
4627
4686
  # Placement group configuration for an Amazon EMR cluster. The
4628
4687
  # configuration specifies the placement strategy that can be applied to
4629
4688
  # instance roles during cluster creation.
@@ -5675,7 +5734,7 @@ module Aws::EMR
5675
5734
  # </note>
5676
5735
  #
5677
5736
  # @!attribute [rw] timeout_duration_minutes
5678
- # The spot provisioning timeout period in minutes. If Spot Instances
5737
+ # The Spot provisioning timeout period in minutes. If Spot Instances
5679
5738
  # are not provisioned within this time period, the `TimeOutAction` is
5680
5739
  # taken. Minimum value is 5 and maximum value is 1440. The timeout
5681
5740
  # applies only during initial provisioning, when the cluster is first
@@ -5730,6 +5789,29 @@ module Aws::EMR
5730
5789
  include Aws::Structure
5731
5790
  end
5732
5791
 
5792
+ # The resize specification for Spot Instances in the instance fleet,
5793
+ # which contains the resize timeout period.
5794
+ #
5795
+ # @!attribute [rw] timeout_duration_minutes
5796
+ # Spot resize timeout in minutes. If Spot Instances are not
5797
+ # provisioned within this time, the resize workflow will stop
5798
+ # provisioning of Spot instances. Minimum value is 5 minutes and
5799
+ # maximum value is 10,080 minutes (7 days). The timeout applies to all
5800
+ # resize workflows on the Instance Fleet. The resize could be
5801
+ # triggered by Amazon EMR Managed Scaling or by the customer (via
5802
+ # Amazon EMR Console, Amazon EMR CLI modify-instance-fleet or Amazon
5803
+ # EMR SDK ModifyInstanceFleet API) or by Amazon EMR due to Amazon EC2
5804
+ # Spot Reclamation.
5805
+ # @return [Integer]
5806
+ #
5807
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/SpotResizingSpecification AWS API Documentation
5808
+ #
5809
+ class SpotResizingSpecification < Struct.new(
5810
+ :timeout_duration_minutes)
5811
+ SENSITIVE = []
5812
+ include Aws::Structure
5813
+ end
5814
+
5733
5815
  # @!attribute [rw] editor_id
5734
5816
  # The unique identifier of the EMR Notebook to use for notebook
5735
5817
  # execution.
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.64.0'
56
+ GEM_VERSION = '1.66.0'
57
57
 
58
58
  end
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.64.0
4
+ version: 1.66.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: 2022-12-29 00:00:00.000000000 Z
11
+ date: 2023-02-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core