aws-sdk-emr 1.65.0 → 1.66.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: eaf39c07378851adae15288fd886add00651fecee4c6d0c4c5c3e23283cefc24
4
- data.tar.gz: b94977ad5e357a20c7b82d2fc0e6658c413e7d1f06b8f85f8020a812b7565521
3
+ metadata.gz: af80d55d274db442aafc223b3c8dbaf645c3895c31beda4862f5b232699382db
4
+ data.tar.gz: 25b6a1c6bbe7c1cde168facaafc1cea53343aac7fd4b33eec72536fc537090a4
5
5
  SHA512:
6
- metadata.gz: 4c6ca1a23bf45aae90f5969543f4588b341c7c5a40771ac7dd4adfca07255b871efa0da5fe60c6a957b49cdd53d74cd353bafca32d6237ff0a65d81173db207f
7
- data.tar.gz: 666e2d65d592cef9d6e5f71ba9be279420e25aceb458234df4e73782e4934f78cbeb923a845c55ad1baa010dd2769cf4561071ff6da1844122e75808abf101e2
6
+ metadata.gz: ef4ace0c5ace7a33d56559d2e3064293997202f65f8a01d9967625c4d8df607beb809bb3e9663c7d7743ae9cf97ec3b01dc53a4df2cb388ab40ceb5bf2ee963a
7
+ data.tar.gz: 3263c649563f7f4713f598574d5c5e6bf4d29b6a6ffb93193e667b44d196d777a7c380c6e89e1faeae557d27680c229c6a6f98ab7b7970748dc830d2176e8de3
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
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
+
4
9
  1.65.0 (2023-01-18)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.65.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.65.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?
@@ -14,39 +14,42 @@ module Aws::EMR
14
14
  use_dual_stack = parameters.use_dual_stack
15
15
  use_fips = parameters.use_fips
16
16
  endpoint = parameters.endpoint
17
- if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
- if Aws::Endpoints::Matchers.set?(endpoint)
19
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
- raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
- end
22
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
23
- raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
24
- end
25
- return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
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"
26
20
  end
27
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
28
- 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"))
29
- return Aws::Endpoints::Endpoint.new(url: "https://elasticmapreduce-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
30
- end
31
- raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
21
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
22
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
32
23
  end
33
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
- if Aws::Endpoints::Matchers.string_equals?("aws-us-gov", Aws::Endpoints::Matchers.attr(partition_result, "name"))
36
- return Aws::Endpoints::Endpoint.new(url: "https://elasticmapreduce.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
24
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
25
+ 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: {})
37
31
  end
38
- return Aws::Endpoints::Endpoint.new(url: "https://elasticmapreduce-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
32
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
39
33
  end
40
- raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
41
- end
42
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
43
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
44
- return Aws::Endpoints::Endpoint.new(url: "https://elasticmapreduce.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
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"
45
48
  end
46
- raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
49
+ return Aws::Endpoints::Endpoint.new(url: "https://elasticmapreduce.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
47
50
  end
48
- return Aws::Endpoints::Endpoint.new(url: "https://elasticmapreduce.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
49
51
  end
52
+ raise ArgumentError, "Invalid Configuration: Missing Region"
50
53
  raise ArgumentError, 'No endpoint could be resolved'
51
54
 
52
55
  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.65.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.65.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: 2023-01-18 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