aws-sdk-emr 1.29.0 → 1.34.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: 1bc429540019308bec8868576b4df89f48a27f73e5cc911257dd0996b469abe5
4
- data.tar.gz: f3245930a91c047b1b4c29f4e48c75a3fd00b76487146a6574448bf40712eddd
3
+ metadata.gz: 59904f57bbbd83f0a89ebce723ecffd03d3adbe99c756e2674b7196e9014a224
4
+ data.tar.gz: 85518ff5f5785196f1154e80a95ff3a9f175ca7ccbabe6a2c87e7f1666117fcc
5
5
  SHA512:
6
- metadata.gz: e9e1fe989a4eb077facc5fcd1dc72dcee5c78d584cf6fca821a4b0155037f6d236568ce0e256b3abe66a2dfa7029b39b5127ab9adc526cd98a71e3bc5b08f0bc
7
- data.tar.gz: 4d199973ed0919218a134666e89a0060d8f65707c3b113976ded2f4f67c7e436bd8887d569c263e579b5ded433b1d1fb591844b56fa8cd722a136d340c4806df
6
+ metadata.gz: 39477357c2785d11878bd394e37e1ec75d13410c5e7f795a2d2b1b12a00befd9706347af5dd55a66b4dcad5f24e65e70816e1ba7f4e61d5a68e7bb2c81306207
7
+ data.tar.gz: '029339bdfddf9d9ff4d42865233622a6e09db971e04faa02a800096e83a9b9facf5887106f11c02d3efa440d26e289bb6c7de1acc40311241e868fce22cd2a5d'
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -46,6 +48,6 @@ require_relative 'aws-sdk-emr/customizations'
46
48
  # @service
47
49
  module Aws::EMR
48
50
 
49
- GEM_VERSION = '1.29.0'
51
+ GEM_VERSION = '1.34.0'
50
52
 
51
53
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -24,6 +26,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
24
26
  require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
25
27
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
26
28
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
+ require 'aws-sdk-core/plugins/http_checksum.rb'
27
30
  require 'aws-sdk-core/plugins/signature_v4.rb'
28
31
  require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
29
32
 
@@ -69,6 +72,7 @@ module Aws::EMR
69
72
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
70
73
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
71
74
  add_plugin(Aws::Plugins::TransferEncoding)
75
+ add_plugin(Aws::Plugins::HttpChecksum)
72
76
  add_plugin(Aws::Plugins::SignatureV4)
73
77
  add_plugin(Aws::Plugins::Protocols::JsonRpc)
74
78
 
@@ -161,7 +165,7 @@ module Aws::EMR
161
165
  # @option options [String] :endpoint
162
166
  # The client endpoint is normally constructed from the `:region`
163
167
  # option. You should only configure an `:endpoint` when connecting
164
- # to test endpoints. This should be a valid HTTP(S) URI.
168
+ # to test or custom endpoints. This should be a valid HTTP(S) URI.
165
169
  #
166
170
  # @option options [Integer] :endpoint_cache_max_entries (1000)
167
171
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -379,10 +383,14 @@ module Aws::EMR
379
383
  # },
380
384
  # ],
381
385
  # launch_specifications: {
382
- # spot_specification: { # required
386
+ # spot_specification: {
383
387
  # timeout_duration_minutes: 1, # required
384
388
  # timeout_action: "SWITCH_TO_ON_DEMAND", # required, accepts SWITCH_TO_ON_DEMAND, TERMINATE_CLUSTER
385
389
  # block_duration_minutes: 1,
390
+ # allocation_strategy: "capacity-optimized", # accepts capacity-optimized
391
+ # },
392
+ # on_demand_specification: {
393
+ # allocation_strategy: "lowest-price", # required, accepts lowest-price
386
394
  # },
387
395
  # },
388
396
  # },
@@ -1106,6 +1114,7 @@ module Aws::EMR
1106
1114
  # resp.managed_scaling_policy.compute_limits.minimum_capacity_units #=> Integer
1107
1115
  # resp.managed_scaling_policy.compute_limits.maximum_capacity_units #=> Integer
1108
1116
  # resp.managed_scaling_policy.compute_limits.maximum_on_demand_capacity_units #=> Integer
1117
+ # resp.managed_scaling_policy.compute_limits.maximum_core_capacity_units #=> Integer
1109
1118
  #
1110
1119
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/GetManagedScalingPolicy AWS API Documentation
1111
1120
  #
@@ -1283,6 +1292,8 @@ module Aws::EMR
1283
1292
  # resp.instance_fleets[0].launch_specifications.spot_specification.timeout_duration_minutes #=> Integer
1284
1293
  # resp.instance_fleets[0].launch_specifications.spot_specification.timeout_action #=> String, one of "SWITCH_TO_ON_DEMAND", "TERMINATE_CLUSTER"
1285
1294
  # resp.instance_fleets[0].launch_specifications.spot_specification.block_duration_minutes #=> Integer
1295
+ # resp.instance_fleets[0].launch_specifications.spot_specification.allocation_strategy #=> String, one of "capacity-optimized"
1296
+ # resp.instance_fleets[0].launch_specifications.on_demand_specification.allocation_strategy #=> String, one of "lowest-price"
1286
1297
  # resp.marker #=> String
1287
1298
  #
1288
1299
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListInstanceFleets AWS API Documentation
@@ -1891,6 +1902,7 @@ module Aws::EMR
1891
1902
  # minimum_capacity_units: 1, # required
1892
1903
  # maximum_capacity_units: 1, # required
1893
1904
  # maximum_on_demand_capacity_units: 1,
1905
+ # maximum_core_capacity_units: 1,
1894
1906
  # },
1895
1907
  # },
1896
1908
  # })
@@ -2368,10 +2380,14 @@ module Aws::EMR
2368
2380
  # },
2369
2381
  # ],
2370
2382
  # launch_specifications: {
2371
- # spot_specification: { # required
2383
+ # spot_specification: {
2372
2384
  # timeout_duration_minutes: 1, # required
2373
2385
  # timeout_action: "SWITCH_TO_ON_DEMAND", # required, accepts SWITCH_TO_ON_DEMAND, TERMINATE_CLUSTER
2374
2386
  # block_duration_minutes: 1,
2387
+ # allocation_strategy: "capacity-optimized", # accepts capacity-optimized
2388
+ # },
2389
+ # on_demand_specification: {
2390
+ # allocation_strategy: "lowest-price", # required, accepts lowest-price
2375
2391
  # },
2376
2392
  # },
2377
2393
  # },
@@ -2475,6 +2491,7 @@ module Aws::EMR
2475
2491
  # minimum_capacity_units: 1, # required
2476
2492
  # maximum_capacity_units: 1, # required
2477
2493
  # maximum_on_demand_capacity_units: 1,
2494
+ # maximum_core_capacity_units: 1,
2478
2495
  # },
2479
2496
  # },
2480
2497
  # })
@@ -2629,7 +2646,7 @@ module Aws::EMR
2629
2646
  params: params,
2630
2647
  config: config)
2631
2648
  context[:gem_name] = 'aws-sdk-emr'
2632
- context[:gem_version] = '1.29.0'
2649
+ context[:gem_version] = '1.34.0'
2633
2650
  Seahorse::Client::Request.new(handlers, context)
2634
2651
  end
2635
2652
 
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -180,6 +182,8 @@ module Aws::EMR
180
182
  ModifyInstanceGroupsInput = Shapes::StructureShape.new(name: 'ModifyInstanceGroupsInput')
181
183
  NewSupportedProductsList = Shapes::ListShape.new(name: 'NewSupportedProductsList')
182
184
  NonNegativeDouble = Shapes::FloatShape.new(name: 'NonNegativeDouble')
185
+ OnDemandProvisioningAllocationStrategy = Shapes::StringShape.new(name: 'OnDemandProvisioningAllocationStrategy')
186
+ OnDemandProvisioningSpecification = Shapes::StructureShape.new(name: 'OnDemandProvisioningSpecification')
183
187
  OptionalArnType = Shapes::StringShape.new(name: 'OptionalArnType')
184
188
  PlacementType = Shapes::StructureShape.new(name: 'PlacementType')
185
189
  Port = Shapes::IntegerShape.new(name: 'Port')
@@ -215,6 +219,7 @@ module Aws::EMR
215
219
  SetVisibleToAllUsersInput = Shapes::StructureShape.new(name: 'SetVisibleToAllUsersInput')
216
220
  ShrinkPolicy = Shapes::StructureShape.new(name: 'ShrinkPolicy')
217
221
  SimpleScalingPolicyConfiguration = Shapes::StructureShape.new(name: 'SimpleScalingPolicyConfiguration')
222
+ SpotProvisioningAllocationStrategy = Shapes::StringShape.new(name: 'SpotProvisioningAllocationStrategy')
218
223
  SpotProvisioningSpecification = Shapes::StructureShape.new(name: 'SpotProvisioningSpecification')
219
224
  SpotProvisioningTimeoutAction = Shapes::StringShape.new(name: 'SpotProvisioningTimeoutAction')
220
225
  Statistic = Shapes::StringShape.new(name: 'Statistic')
@@ -421,6 +426,7 @@ module Aws::EMR
421
426
  ComputeLimits.add_member(:minimum_capacity_units, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "MinimumCapacityUnits"))
422
427
  ComputeLimits.add_member(:maximum_capacity_units, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "MaximumCapacityUnits"))
423
428
  ComputeLimits.add_member(:maximum_on_demand_capacity_units, Shapes::ShapeRef.new(shape: Integer, location_name: "MaximumOnDemandCapacityUnits"))
429
+ ComputeLimits.add_member(:maximum_core_capacity_units, Shapes::ShapeRef.new(shape: Integer, location_name: "MaximumCoreCapacityUnits"))
424
430
  ComputeLimits.struct_class = Types::ComputeLimits
425
431
 
426
432
  Configuration.add_member(:classification, Shapes::ShapeRef.new(shape: String, location_name: "Classification"))
@@ -584,7 +590,8 @@ module Aws::EMR
584
590
  InstanceFleetModifyConfig.add_member(:target_spot_capacity, Shapes::ShapeRef.new(shape: WholeNumber, location_name: "TargetSpotCapacity"))
585
591
  InstanceFleetModifyConfig.struct_class = Types::InstanceFleetModifyConfig
586
592
 
587
- InstanceFleetProvisioningSpecifications.add_member(:spot_specification, Shapes::ShapeRef.new(shape: SpotProvisioningSpecification, required: true, location_name: "SpotSpecification"))
593
+ InstanceFleetProvisioningSpecifications.add_member(:spot_specification, Shapes::ShapeRef.new(shape: SpotProvisioningSpecification, location_name: "SpotSpecification"))
594
+ InstanceFleetProvisioningSpecifications.add_member(:on_demand_specification, Shapes::ShapeRef.new(shape: OnDemandProvisioningSpecification, location_name: "OnDemandSpecification"))
588
595
  InstanceFleetProvisioningSpecifications.struct_class = Types::InstanceFleetProvisioningSpecifications
589
596
 
590
597
  InstanceFleetStateChangeReason.add_member(:code, Shapes::ShapeRef.new(shape: InstanceFleetStateChangeReasonCode, location_name: "Code"))
@@ -899,6 +906,9 @@ module Aws::EMR
899
906
 
900
907
  NewSupportedProductsList.member = Shapes::ShapeRef.new(shape: SupportedProductConfig)
901
908
 
909
+ OnDemandProvisioningSpecification.add_member(:allocation_strategy, Shapes::ShapeRef.new(shape: OnDemandProvisioningAllocationStrategy, required: true, location_name: "AllocationStrategy"))
910
+ OnDemandProvisioningSpecification.struct_class = Types::OnDemandProvisioningSpecification
911
+
902
912
  PlacementType.add_member(:availability_zone, Shapes::ShapeRef.new(shape: XmlString, location_name: "AvailabilityZone"))
903
913
  PlacementType.add_member(:availability_zones, Shapes::ShapeRef.new(shape: XmlStringMaxLen256List, location_name: "AvailabilityZones"))
904
914
  PlacementType.struct_class = Types::PlacementType
@@ -1031,6 +1041,7 @@ module Aws::EMR
1031
1041
  SpotProvisioningSpecification.add_member(:timeout_duration_minutes, Shapes::ShapeRef.new(shape: WholeNumber, required: true, location_name: "TimeoutDurationMinutes"))
1032
1042
  SpotProvisioningSpecification.add_member(:timeout_action, Shapes::ShapeRef.new(shape: SpotProvisioningTimeoutAction, required: true, location_name: "TimeoutAction"))
1033
1043
  SpotProvisioningSpecification.add_member(:block_duration_minutes, Shapes::ShapeRef.new(shape: WholeNumber, location_name: "BlockDurationMinutes"))
1044
+ SpotProvisioningSpecification.add_member(:allocation_strategy, Shapes::ShapeRef.new(shape: SpotProvisioningAllocationStrategy, location_name: "AllocationStrategy"))
1034
1045
  SpotProvisioningSpecification.struct_class = Types::SpotProvisioningSpecification
1035
1046
 
1036
1047
  Step.add_member(:id, Shapes::ShapeRef.new(shape: StepId, location_name: "Id"))
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # WARNING ABOUT GENERATED CODE
2
3
  #
3
4
  # This file is generated. See the contributing for info on making contributions:
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -51,10 +53,14 @@ module Aws::EMR
51
53
  # },
52
54
  # ],
53
55
  # launch_specifications: {
54
- # spot_specification: { # required
56
+ # spot_specification: {
55
57
  # timeout_duration_minutes: 1, # required
56
58
  # timeout_action: "SWITCH_TO_ON_DEMAND", # required, accepts SWITCH_TO_ON_DEMAND, TERMINATE_CLUSTER
57
59
  # block_duration_minutes: 1,
60
+ # allocation_strategy: "capacity-optimized", # accepts capacity-optimized
61
+ # },
62
+ # on_demand_specification: {
63
+ # allocation_strategy: "lowest-price", # required, accepts lowest-price
58
64
  # },
59
65
  # },
60
66
  # },
@@ -73,6 +79,7 @@ module Aws::EMR
73
79
  class AddInstanceFleetInput < Struct.new(
74
80
  :cluster_id,
75
81
  :instance_fleet)
82
+ SENSITIVE = []
76
83
  include Aws::Structure
77
84
  end
78
85
 
@@ -94,6 +101,7 @@ module Aws::EMR
94
101
  :cluster_id,
95
102
  :instance_fleet_id,
96
103
  :cluster_arn)
104
+ SENSITIVE = []
97
105
  include Aws::Structure
98
106
  end
99
107
 
@@ -191,6 +199,7 @@ module Aws::EMR
191
199
  class AddInstanceGroupsInput < Struct.new(
192
200
  :instance_groups,
193
201
  :job_flow_id)
202
+ SENSITIVE = []
194
203
  include Aws::Structure
195
204
  end
196
205
 
@@ -214,6 +223,7 @@ module Aws::EMR
214
223
  :job_flow_id,
215
224
  :instance_group_ids,
216
225
  :cluster_arn)
226
+ SENSITIVE = []
217
227
  include Aws::Structure
218
228
  end
219
229
 
@@ -257,6 +267,7 @@ module Aws::EMR
257
267
  class AddJobFlowStepsInput < Struct.new(
258
268
  :job_flow_id,
259
269
  :steps)
270
+ SENSITIVE = []
260
271
  include Aws::Structure
261
272
  end
262
273
 
@@ -270,6 +281,7 @@ module Aws::EMR
270
281
  #
271
282
  class AddJobFlowStepsOutput < Struct.new(
272
283
  :step_ids)
284
+ SENSITIVE = []
273
285
  include Aws::Structure
274
286
  end
275
287
 
@@ -305,6 +317,7 @@ module Aws::EMR
305
317
  class AddTagsInput < Struct.new(
306
318
  :resource_id,
307
319
  :tags)
320
+ SENSITIVE = []
308
321
  include Aws::Structure
309
322
  end
310
323
 
@@ -367,6 +380,7 @@ module Aws::EMR
367
380
  :version,
368
381
  :args,
369
382
  :additional_info)
383
+ SENSITIVE = []
370
384
  include Aws::Structure
371
385
  end
372
386
 
@@ -434,6 +448,7 @@ module Aws::EMR
434
448
  class AutoScalingPolicy < Struct.new(
435
449
  :constraints,
436
450
  :rules)
451
+ SENSITIVE = []
437
452
  include Aws::Structure
438
453
  end
439
454
 
@@ -464,6 +479,7 @@ module Aws::EMR
464
479
  :status,
465
480
  :constraints,
466
481
  :rules)
482
+ SENSITIVE = []
467
483
  include Aws::Structure
468
484
  end
469
485
 
@@ -487,6 +503,7 @@ module Aws::EMR
487
503
  class AutoScalingPolicyStateChangeReason < Struct.new(
488
504
  :code,
489
505
  :message)
506
+ SENSITIVE = []
490
507
  include Aws::Structure
491
508
  end
492
509
 
@@ -505,6 +522,7 @@ module Aws::EMR
505
522
  class AutoScalingPolicyStatus < Struct.new(
506
523
  :state,
507
524
  :state_change_reason)
525
+ SENSITIVE = []
508
526
  include Aws::Structure
509
527
  end
510
528
 
@@ -554,6 +572,7 @@ module Aws::EMR
554
572
  class BlockPublicAccessConfiguration < Struct.new(
555
573
  :block_public_security_group_rules,
556
574
  :permitted_public_security_group_rule_ranges)
575
+ SENSITIVE = []
557
576
  include Aws::Structure
558
577
  end
559
578
 
@@ -577,6 +596,7 @@ module Aws::EMR
577
596
  class BlockPublicAccessConfigurationMetadata < Struct.new(
578
597
  :creation_date_time,
579
598
  :created_by_arn)
599
+ SENSITIVE = []
580
600
  include Aws::Structure
581
601
  end
582
602
 
@@ -606,6 +626,7 @@ module Aws::EMR
606
626
  class BootstrapActionConfig < Struct.new(
607
627
  :name,
608
628
  :script_bootstrap_action)
629
+ SENSITIVE = []
609
630
  include Aws::Structure
610
631
  end
611
632
 
@@ -620,6 +641,7 @@ module Aws::EMR
620
641
  #
621
642
  class BootstrapActionDetail < Struct.new(
622
643
  :bootstrap_action_config)
644
+ SENSITIVE = []
623
645
  include Aws::Structure
624
646
  end
625
647
 
@@ -645,6 +667,7 @@ module Aws::EMR
645
667
  :step_id,
646
668
  :status,
647
669
  :reason)
670
+ SENSITIVE = []
648
671
  include Aws::Structure
649
672
  end
650
673
 
@@ -680,6 +703,7 @@ module Aws::EMR
680
703
  :cluster_id,
681
704
  :step_ids,
682
705
  :step_cancellation_option)
706
+ SENSITIVE = []
683
707
  include Aws::Structure
684
708
  end
685
709
 
@@ -694,6 +718,7 @@ module Aws::EMR
694
718
  #
695
719
  class CancelStepsOutput < Struct.new(
696
720
  :cancel_steps_info_list)
721
+ SENSITIVE = []
697
722
  include Aws::Structure
698
723
  end
699
724
 
@@ -779,6 +804,7 @@ module Aws::EMR
779
804
  :threshold,
780
805
  :unit,
781
806
  :dimensions)
807
+ SENSITIVE = []
782
808
  include Aws::Structure
783
809
  end
784
810
 
@@ -1006,6 +1032,7 @@ module Aws::EMR
1006
1032
  :cluster_arn,
1007
1033
  :outpost_arn,
1008
1034
  :step_concurrency_level)
1035
+ SENSITIVE = []
1009
1036
  include Aws::Structure
1010
1037
  end
1011
1038
 
@@ -1024,6 +1051,7 @@ module Aws::EMR
1024
1051
  class ClusterStateChangeReason < Struct.new(
1025
1052
  :code,
1026
1053
  :message)
1054
+ SENSITIVE = []
1027
1055
  include Aws::Structure
1028
1056
  end
1029
1057
 
@@ -1048,6 +1076,7 @@ module Aws::EMR
1048
1076
  :state,
1049
1077
  :state_change_reason,
1050
1078
  :timeline)
1079
+ SENSITIVE = []
1051
1080
  include Aws::Structure
1052
1081
  end
1053
1082
 
@@ -1093,6 +1122,7 @@ module Aws::EMR
1093
1122
  :normalized_instance_hours,
1094
1123
  :cluster_arn,
1095
1124
  :outpost_arn)
1125
+ SENSITIVE = []
1096
1126
  include Aws::Structure
1097
1127
  end
1098
1128
 
@@ -1116,6 +1146,7 @@ module Aws::EMR
1116
1146
  :creation_date_time,
1117
1147
  :ready_date_time,
1118
1148
  :end_date_time)
1149
+ SENSITIVE = []
1119
1150
  include Aws::Structure
1120
1151
  end
1121
1152
 
@@ -1139,6 +1170,7 @@ module Aws::EMR
1139
1170
  :name,
1140
1171
  :script_path,
1141
1172
  :args)
1173
+ SENSITIVE = []
1142
1174
  include Aws::Structure
1143
1175
  end
1144
1176
 
@@ -1155,6 +1187,7 @@ module Aws::EMR
1155
1187
  # minimum_capacity_units: 1, # required
1156
1188
  # maximum_capacity_units: 1, # required
1157
1189
  # maximum_on_demand_capacity_units: 1,
1190
+ # maximum_core_capacity_units: 1,
1158
1191
  # }
1159
1192
  #
1160
1193
  # @!attribute [rw] unit_type
@@ -1178,12 +1211,19 @@ module Aws::EMR
1178
1211
  # @return [Integer]
1179
1212
  #
1180
1213
  # @!attribute [rw] maximum_on_demand_capacity_units
1181
- # The upper boundary of on-demand EC2 units. It is measured through
1214
+ # The upper boundary of On-Demand EC2 units. It is measured through
1182
1215
  # VCPU cores or instances for instance groups and measured through
1183
- # units for instance fleets. The on-demand units are not allowed to
1184
- # scale beyond this boundary. The limit only applies to the core and
1185
- # task nodes. The master node cannot be scaled after initial
1186
- # configuration.
1216
+ # units for instance fleets. The On-Demand units are not allowed to
1217
+ # scale beyond this boundary. The parameter is used to split capacity
1218
+ # allocation between On-Demand and Spot instances.
1219
+ # @return [Integer]
1220
+ #
1221
+ # @!attribute [rw] maximum_core_capacity_units
1222
+ # The upper boundary of EC2 units for core node type in a cluster. It
1223
+ # is measured through VCPU cores or instances for instance groups and
1224
+ # measured through units for instance fleets. The core units are not
1225
+ # allowed to scale beyond this boundary. The parameter is used to
1226
+ # split capacity allocation between core and task nodes.
1187
1227
  # @return [Integer]
1188
1228
  #
1189
1229
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ComputeLimits AWS API Documentation
@@ -1192,7 +1232,9 @@ module Aws::EMR
1192
1232
  :unit_type,
1193
1233
  :minimum_capacity_units,
1194
1234
  :maximum_capacity_units,
1195
- :maximum_on_demand_capacity_units)
1235
+ :maximum_on_demand_capacity_units,
1236
+ :maximum_core_capacity_units)
1237
+ SENSITIVE = []
1196
1238
  include Aws::Structure
1197
1239
  end
1198
1240
 
@@ -1252,6 +1294,7 @@ module Aws::EMR
1252
1294
  :classification,
1253
1295
  :configurations,
1254
1296
  :properties)
1297
+ SENSITIVE = []
1255
1298
  include Aws::Structure
1256
1299
  end
1257
1300
 
@@ -1282,6 +1325,7 @@ module Aws::EMR
1282
1325
  class CreateSecurityConfigurationInput < Struct.new(
1283
1326
  :name,
1284
1327
  :security_configuration)
1328
+ SENSITIVE = []
1285
1329
  include Aws::Structure
1286
1330
  end
1287
1331
 
@@ -1298,6 +1342,7 @@ module Aws::EMR
1298
1342
  class CreateSecurityConfigurationOutput < Struct.new(
1299
1343
  :name,
1300
1344
  :creation_date_time)
1345
+ SENSITIVE = []
1301
1346
  include Aws::Structure
1302
1347
  end
1303
1348
 
@@ -1316,6 +1361,7 @@ module Aws::EMR
1316
1361
  #
1317
1362
  class DeleteSecurityConfigurationInput < Struct.new(
1318
1363
  :name)
1364
+ SENSITIVE = []
1319
1365
  include Aws::Structure
1320
1366
  end
1321
1367
 
@@ -1340,6 +1386,7 @@ module Aws::EMR
1340
1386
  #
1341
1387
  class DescribeClusterInput < Struct.new(
1342
1388
  :cluster_id)
1389
+ SENSITIVE = []
1343
1390
  include Aws::Structure
1344
1391
  end
1345
1392
 
@@ -1353,6 +1400,7 @@ module Aws::EMR
1353
1400
  #
1354
1401
  class DescribeClusterOutput < Struct.new(
1355
1402
  :cluster)
1403
+ SENSITIVE = []
1356
1404
  include Aws::Structure
1357
1405
  end
1358
1406
 
@@ -1391,6 +1439,7 @@ module Aws::EMR
1391
1439
  :created_before,
1392
1440
  :job_flow_ids,
1393
1441
  :job_flow_states)
1442
+ SENSITIVE = []
1394
1443
  include Aws::Structure
1395
1444
  end
1396
1445
 
@@ -1404,6 +1453,7 @@ module Aws::EMR
1404
1453
  #
1405
1454
  class DescribeJobFlowsOutput < Struct.new(
1406
1455
  :job_flows)
1456
+ SENSITIVE = []
1407
1457
  include Aws::Structure
1408
1458
  end
1409
1459
 
@@ -1422,6 +1472,7 @@ module Aws::EMR
1422
1472
  #
1423
1473
  class DescribeSecurityConfigurationInput < Struct.new(
1424
1474
  :name)
1475
+ SENSITIVE = []
1425
1476
  include Aws::Structure
1426
1477
  end
1427
1478
 
@@ -1443,6 +1494,7 @@ module Aws::EMR
1443
1494
  :name,
1444
1495
  :security_configuration,
1445
1496
  :creation_date_time)
1497
+ SENSITIVE = []
1446
1498
  include Aws::Structure
1447
1499
  end
1448
1500
 
@@ -1469,6 +1521,7 @@ module Aws::EMR
1469
1521
  class DescribeStepInput < Struct.new(
1470
1522
  :cluster_id,
1471
1523
  :step_id)
1524
+ SENSITIVE = []
1472
1525
  include Aws::Structure
1473
1526
  end
1474
1527
 
@@ -1482,6 +1535,7 @@ module Aws::EMR
1482
1535
  #
1483
1536
  class DescribeStepOutput < Struct.new(
1484
1537
  :step)
1538
+ SENSITIVE = []
1485
1539
  include Aws::Structure
1486
1540
  end
1487
1541
 
@@ -1503,6 +1557,7 @@ module Aws::EMR
1503
1557
  class EbsBlockDevice < Struct.new(
1504
1558
  :volume_specification,
1505
1559
  :device)
1560
+ SENSITIVE = []
1506
1561
  include Aws::Structure
1507
1562
  end
1508
1563
 
@@ -1538,6 +1593,7 @@ module Aws::EMR
1538
1593
  class EbsBlockDeviceConfig < Struct.new(
1539
1594
  :volume_specification,
1540
1595
  :volumes_per_instance)
1596
+ SENSITIVE = []
1541
1597
  include Aws::Structure
1542
1598
  end
1543
1599
 
@@ -1574,6 +1630,7 @@ module Aws::EMR
1574
1630
  class EbsConfiguration < Struct.new(
1575
1631
  :ebs_block_device_configs,
1576
1632
  :ebs_optimized)
1633
+ SENSITIVE = []
1577
1634
  include Aws::Structure
1578
1635
  end
1579
1636
 
@@ -1592,6 +1649,7 @@ module Aws::EMR
1592
1649
  class EbsVolume < Struct.new(
1593
1650
  :device,
1594
1651
  :volume_id)
1652
+ SENSITIVE = []
1595
1653
  include Aws::Structure
1596
1654
  end
1597
1655
 
@@ -1685,6 +1743,7 @@ module Aws::EMR
1685
1743
  :service_access_security_group,
1686
1744
  :additional_master_security_groups,
1687
1745
  :additional_slave_security_groups)
1746
+ SENSITIVE = []
1688
1747
  include Aws::Structure
1689
1748
  end
1690
1749
 
@@ -1714,6 +1773,7 @@ module Aws::EMR
1714
1773
  :reason,
1715
1774
  :message,
1716
1775
  :log_file)
1776
+ SENSITIVE = []
1717
1777
  include Aws::Structure
1718
1778
  end
1719
1779
 
@@ -1760,6 +1820,7 @@ module Aws::EMR
1760
1820
  class GetBlockPublicAccessConfigurationOutput < Struct.new(
1761
1821
  :block_public_access_configuration,
1762
1822
  :block_public_access_configuration_metadata)
1823
+ SENSITIVE = []
1763
1824
  include Aws::Structure
1764
1825
  end
1765
1826
 
@@ -1779,6 +1840,7 @@ module Aws::EMR
1779
1840
  #
1780
1841
  class GetManagedScalingPolicyInput < Struct.new(
1781
1842
  :cluster_id)
1843
+ SENSITIVE = []
1782
1844
  include Aws::Structure
1783
1845
  end
1784
1846
 
@@ -1791,6 +1853,7 @@ module Aws::EMR
1791
1853
  #
1792
1854
  class GetManagedScalingPolicyOutput < Struct.new(
1793
1855
  :managed_scaling_policy)
1856
+ SENSITIVE = []
1794
1857
  include Aws::Structure
1795
1858
  end
1796
1859
 
@@ -1840,6 +1903,7 @@ module Aws::EMR
1840
1903
  :jar,
1841
1904
  :main_class,
1842
1905
  :args)
1906
+ SENSITIVE = []
1843
1907
  include Aws::Structure
1844
1908
  end
1845
1909
 
@@ -1874,6 +1938,7 @@ module Aws::EMR
1874
1938
  :properties,
1875
1939
  :main_class,
1876
1940
  :args)
1941
+ SENSITIVE = []
1877
1942
  include Aws::Structure
1878
1943
  end
1879
1944
 
@@ -1944,6 +2009,7 @@ module Aws::EMR
1944
2009
  :market,
1945
2010
  :instance_type,
1946
2011
  :ebs_volumes)
2012
+ SENSITIVE = []
1947
2013
  include Aws::Structure
1948
2014
  end
1949
2015
 
@@ -2063,6 +2129,7 @@ module Aws::EMR
2063
2129
  :provisioned_spot_capacity,
2064
2130
  :instance_type_specifications,
2065
2131
  :launch_specifications)
2132
+ SENSITIVE = []
2066
2133
  include Aws::Structure
2067
2134
  end
2068
2135
 
@@ -2114,10 +2181,14 @@ module Aws::EMR
2114
2181
  # },
2115
2182
  # ],
2116
2183
  # launch_specifications: {
2117
- # spot_specification: { # required
2184
+ # spot_specification: {
2118
2185
  # timeout_duration_minutes: 1, # required
2119
2186
  # timeout_action: "SWITCH_TO_ON_DEMAND", # required, accepts SWITCH_TO_ON_DEMAND, TERMINATE_CLUSTER
2120
2187
  # block_duration_minutes: 1,
2188
+ # allocation_strategy: "capacity-optimized", # accepts capacity-optimized
2189
+ # },
2190
+ # on_demand_specification: {
2191
+ # allocation_strategy: "lowest-price", # required, accepts lowest-price
2121
2192
  # },
2122
2193
  # },
2123
2194
  # }
@@ -2197,6 +2268,7 @@ module Aws::EMR
2197
2268
  :target_spot_capacity,
2198
2269
  :instance_type_configs,
2199
2270
  :launch_specifications)
2271
+ SENSITIVE = []
2200
2272
  include Aws::Structure
2201
2273
  end
2202
2274
 
@@ -2236,14 +2308,18 @@ module Aws::EMR
2236
2308
  :instance_fleet_id,
2237
2309
  :target_on_demand_capacity,
2238
2310
  :target_spot_capacity)
2311
+ SENSITIVE = []
2239
2312
  include Aws::Structure
2240
2313
  end
2241
2314
 
2242
2315
  # The launch specification for Spot instances in the fleet, which
2243
- # determines the defined duration and provisioning timeout behavior.
2316
+ # determines the defined duration, provisioning timeout behavior, and
2317
+ # allocation strategy.
2244
2318
  #
2245
2319
  # <note markdown="1"> The instance fleet configuration is available only in Amazon EMR
2246
- # versions 4.8.0 and later, excluding 5.0.x versions.
2320
+ # versions 4.8.0 and later, excluding 5.0.x versions. On-Demand and Spot
2321
+ # instance allocation strategies are available in Amazon EMR version
2322
+ # 5.12.1 and later.
2247
2323
  #
2248
2324
  # </note>
2249
2325
  #
@@ -2251,22 +2327,41 @@ module Aws::EMR
2251
2327
  # data as a hash:
2252
2328
  #
2253
2329
  # {
2254
- # spot_specification: { # required
2330
+ # spot_specification: {
2255
2331
  # timeout_duration_minutes: 1, # required
2256
2332
  # timeout_action: "SWITCH_TO_ON_DEMAND", # required, accepts SWITCH_TO_ON_DEMAND, TERMINATE_CLUSTER
2257
2333
  # block_duration_minutes: 1,
2334
+ # allocation_strategy: "capacity-optimized", # accepts capacity-optimized
2335
+ # },
2336
+ # on_demand_specification: {
2337
+ # allocation_strategy: "lowest-price", # required, accepts lowest-price
2258
2338
  # },
2259
2339
  # }
2260
2340
  #
2261
2341
  # @!attribute [rw] spot_specification
2262
2342
  # The launch specification for Spot instances in the fleet, which
2263
- # determines the defined duration and provisioning timeout behavior.
2343
+ # determines the defined duration, provisioning timeout behavior, and
2344
+ # allocation strategy.
2264
2345
  # @return [Types::SpotProvisioningSpecification]
2265
2346
  #
2347
+ # @!attribute [rw] on_demand_specification
2348
+ # The launch specification for On-Demand instances in the instance
2349
+ # fleet, which determines the allocation strategy.
2350
+ #
2351
+ # <note markdown="1"> The instance fleet configuration is available only in Amazon EMR
2352
+ # versions 4.8.0 and later, excluding 5.0.x versions. On-Demand
2353
+ # instances allocation strategy is available in Amazon EMR version
2354
+ # 5.12.1 and later.
2355
+ #
2356
+ # </note>
2357
+ # @return [Types::OnDemandProvisioningSpecification]
2358
+ #
2266
2359
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/InstanceFleetProvisioningSpecifications AWS API Documentation
2267
2360
  #
2268
2361
  class InstanceFleetProvisioningSpecifications < Struct.new(
2269
- :spot_specification)
2362
+ :spot_specification,
2363
+ :on_demand_specification)
2364
+ SENSITIVE = []
2270
2365
  include Aws::Structure
2271
2366
  end
2272
2367
 
@@ -2290,6 +2385,7 @@ module Aws::EMR
2290
2385
  class InstanceFleetStateChangeReason < Struct.new(
2291
2386
  :code,
2292
2387
  :message)
2388
+ SENSITIVE = []
2293
2389
  include Aws::Structure
2294
2390
  end
2295
2391
 
@@ -2341,6 +2437,7 @@ module Aws::EMR
2341
2437
  :state,
2342
2438
  :state_change_reason,
2343
2439
  :timeline)
2440
+ SENSITIVE = []
2344
2441
  include Aws::Structure
2345
2442
  end
2346
2443
 
@@ -2371,6 +2468,7 @@ module Aws::EMR
2371
2468
  :creation_date_time,
2372
2469
  :ready_date_time,
2373
2470
  :end_date_time)
2471
+ SENSITIVE = []
2374
2472
  include Aws::Structure
2375
2473
  end
2376
2474
 
@@ -2486,6 +2584,7 @@ module Aws::EMR
2486
2584
  :ebs_optimized,
2487
2585
  :shrink_policy,
2488
2586
  :auto_scaling_policy)
2587
+ SENSITIVE = []
2489
2588
  include Aws::Structure
2490
2589
  end
2491
2590
 
@@ -2627,6 +2726,7 @@ module Aws::EMR
2627
2726
  :configurations,
2628
2727
  :ebs_configuration,
2629
2728
  :auto_scaling_policy)
2729
+ SENSITIVE = []
2630
2730
  include Aws::Structure
2631
2731
  end
2632
2732
 
@@ -2709,6 +2809,7 @@ module Aws::EMR
2709
2809
  :start_date_time,
2710
2810
  :ready_date_time,
2711
2811
  :end_date_time)
2812
+ SENSITIVE = []
2712
2813
  include Aws::Structure
2713
2814
  end
2714
2815
 
@@ -2772,6 +2873,7 @@ module Aws::EMR
2772
2873
  :ec2_instance_ids_to_terminate,
2773
2874
  :shrink_policy,
2774
2875
  :configurations)
2876
+ SENSITIVE = []
2775
2877
  include Aws::Structure
2776
2878
  end
2777
2879
 
@@ -2790,6 +2892,7 @@ module Aws::EMR
2790
2892
  class InstanceGroupStateChangeReason < Struct.new(
2791
2893
  :code,
2792
2894
  :message)
2895
+ SENSITIVE = []
2793
2896
  include Aws::Structure
2794
2897
  end
2795
2898
 
@@ -2813,6 +2916,7 @@ module Aws::EMR
2813
2916
  :state,
2814
2917
  :state_change_reason,
2815
2918
  :timeline)
2919
+ SENSITIVE = []
2816
2920
  include Aws::Structure
2817
2921
  end
2818
2922
 
@@ -2837,6 +2941,7 @@ module Aws::EMR
2837
2941
  :creation_date_time,
2838
2942
  :ready_date_time,
2839
2943
  :end_date_time)
2944
+ SENSITIVE = []
2840
2945
  include Aws::Structure
2841
2946
  end
2842
2947
 
@@ -2873,6 +2978,7 @@ module Aws::EMR
2873
2978
  :instances_to_terminate,
2874
2979
  :instances_to_protect,
2875
2980
  :instance_termination_timeout)
2981
+ SENSITIVE = []
2876
2982
  include Aws::Structure
2877
2983
  end
2878
2984
 
@@ -2891,6 +2997,7 @@ module Aws::EMR
2891
2997
  class InstanceStateChangeReason < Struct.new(
2892
2998
  :code,
2893
2999
  :message)
3000
+ SENSITIVE = []
2894
3001
  include Aws::Structure
2895
3002
  end
2896
3003
 
@@ -2914,6 +3021,7 @@ module Aws::EMR
2914
3021
  :state,
2915
3022
  :state_change_reason,
2916
3023
  :timeline)
3024
+ SENSITIVE = []
2917
3025
  include Aws::Structure
2918
3026
  end
2919
3027
 
@@ -2937,6 +3045,7 @@ module Aws::EMR
2937
3045
  :creation_date_time,
2938
3046
  :ready_date_time,
2939
3047
  :end_date_time)
3048
+ SENSITIVE = []
2940
3049
  include Aws::Structure
2941
3050
  end
2942
3051
 
@@ -3031,6 +3140,7 @@ module Aws::EMR
3031
3140
  :bid_price_as_percentage_of_on_demand_price,
3032
3141
  :ebs_configuration,
3033
3142
  :configurations)
3143
+ SENSITIVE = []
3034
3144
  include Aws::Structure
3035
3145
  end
3036
3146
 
@@ -3091,6 +3201,7 @@ module Aws::EMR
3091
3201
  :configurations,
3092
3202
  :ebs_block_devices,
3093
3203
  :ebs_optimized)
3204
+ SENSITIVE = []
3094
3205
  include Aws::Structure
3095
3206
  end
3096
3207
 
@@ -3112,6 +3223,7 @@ module Aws::EMR
3112
3223
  #
3113
3224
  class InternalServerException < Struct.new(
3114
3225
  :message)
3226
+ SENSITIVE = []
3115
3227
  include Aws::Structure
3116
3228
  end
3117
3229
 
@@ -3130,6 +3242,7 @@ module Aws::EMR
3130
3242
  class InvalidRequestException < Struct.new(
3131
3243
  :error_code,
3132
3244
  :message)
3245
+ SENSITIVE = []
3133
3246
  include Aws::Structure
3134
3247
  end
3135
3248
 
@@ -3245,6 +3358,7 @@ module Aws::EMR
3245
3358
  :service_role,
3246
3359
  :auto_scaling_role,
3247
3360
  :scale_down_behavior)
3361
+ SENSITIVE = []
3248
3362
  include Aws::Structure
3249
3363
  end
3250
3364
 
@@ -3284,6 +3398,7 @@ module Aws::EMR
3284
3398
  :ready_date_time,
3285
3399
  :end_date_time,
3286
3400
  :last_state_change_reason)
3401
+ SENSITIVE = []
3287
3402
  include Aws::Structure
3288
3403
  end
3289
3404
 
@@ -3412,10 +3527,14 @@ module Aws::EMR
3412
3527
  # },
3413
3528
  # ],
3414
3529
  # launch_specifications: {
3415
- # spot_specification: { # required
3530
+ # spot_specification: {
3416
3531
  # timeout_duration_minutes: 1, # required
3417
3532
  # timeout_action: "SWITCH_TO_ON_DEMAND", # required, accepts SWITCH_TO_ON_DEMAND, TERMINATE_CLUSTER
3418
3533
  # block_duration_minutes: 1,
3534
+ # allocation_strategy: "capacity-optimized", # accepts capacity-optimized
3535
+ # },
3536
+ # on_demand_specification: {
3537
+ # allocation_strategy: "lowest-price", # required, accepts lowest-price
3419
3538
  # },
3420
3539
  # },
3421
3540
  # },
@@ -3557,6 +3676,7 @@ module Aws::EMR
3557
3676
  :service_access_security_group,
3558
3677
  :additional_master_security_groups,
3559
3678
  :additional_slave_security_groups)
3679
+ SENSITIVE = []
3560
3680
  include Aws::Structure
3561
3681
  end
3562
3682
 
@@ -3647,6 +3767,7 @@ module Aws::EMR
3647
3767
  :keep_job_flow_alive_when_no_steps,
3648
3768
  :termination_protected,
3649
3769
  :hadoop_version)
3770
+ SENSITIVE = []
3650
3771
  include Aws::Structure
3651
3772
  end
3652
3773
 
@@ -3704,6 +3825,7 @@ module Aws::EMR
3704
3825
  :cross_realm_trust_principal_password,
3705
3826
  :ad_domain_join_user,
3706
3827
  :ad_domain_join_password)
3828
+ SENSITIVE = []
3707
3829
  include Aws::Structure
3708
3830
  end
3709
3831
 
@@ -3730,6 +3852,7 @@ module Aws::EMR
3730
3852
  class KeyValue < Struct.new(
3731
3853
  :key,
3732
3854
  :value)
3855
+ SENSITIVE = []
3733
3856
  include Aws::Structure
3734
3857
  end
3735
3858
 
@@ -3757,6 +3880,7 @@ module Aws::EMR
3757
3880
  class ListBootstrapActionsInput < Struct.new(
3758
3881
  :cluster_id,
3759
3882
  :marker)
3883
+ SENSITIVE = []
3760
3884
  include Aws::Structure
3761
3885
  end
3762
3886
 
@@ -3776,6 +3900,7 @@ module Aws::EMR
3776
3900
  class ListBootstrapActionsOutput < Struct.new(
3777
3901
  :bootstrap_actions,
3778
3902
  :marker)
3903
+ SENSITIVE = []
3779
3904
  include Aws::Structure
3780
3905
  end
3781
3906
 
@@ -3817,6 +3942,7 @@ module Aws::EMR
3817
3942
  :created_before,
3818
3943
  :cluster_states,
3819
3944
  :marker)
3945
+ SENSITIVE = []
3820
3946
  include Aws::Structure
3821
3947
  end
3822
3948
 
@@ -3837,6 +3963,7 @@ module Aws::EMR
3837
3963
  class ListClustersOutput < Struct.new(
3838
3964
  :clusters,
3839
3965
  :marker)
3966
+ SENSITIVE = []
3840
3967
  include Aws::Structure
3841
3968
  end
3842
3969
 
@@ -3862,6 +3989,7 @@ module Aws::EMR
3862
3989
  class ListInstanceFleetsInput < Struct.new(
3863
3990
  :cluster_id,
3864
3991
  :marker)
3992
+ SENSITIVE = []
3865
3993
  include Aws::Structure
3866
3994
  end
3867
3995
 
@@ -3879,6 +4007,7 @@ module Aws::EMR
3879
4007
  class ListInstanceFleetsOutput < Struct.new(
3880
4008
  :instance_fleets,
3881
4009
  :marker)
4010
+ SENSITIVE = []
3882
4011
  include Aws::Structure
3883
4012
  end
3884
4013
 
@@ -3906,6 +4035,7 @@ module Aws::EMR
3906
4035
  class ListInstanceGroupsInput < Struct.new(
3907
4036
  :cluster_id,
3908
4037
  :marker)
4038
+ SENSITIVE = []
3909
4039
  include Aws::Structure
3910
4040
  end
3911
4041
 
@@ -3925,6 +4055,7 @@ module Aws::EMR
3925
4055
  class ListInstanceGroupsOutput < Struct.new(
3926
4056
  :instance_groups,
3927
4057
  :marker)
4058
+ SENSITIVE = []
3928
4059
  include Aws::Structure
3929
4060
  end
3930
4061
 
@@ -3985,6 +4116,7 @@ module Aws::EMR
3985
4116
  :instance_fleet_type,
3986
4117
  :instance_states,
3987
4118
  :marker)
4119
+ SENSITIVE = []
3988
4120
  include Aws::Structure
3989
4121
  end
3990
4122
 
@@ -4004,6 +4136,7 @@ module Aws::EMR
4004
4136
  class ListInstancesOutput < Struct.new(
4005
4137
  :instances,
4006
4138
  :marker)
4139
+ SENSITIVE = []
4007
4140
  include Aws::Structure
4008
4141
  end
4009
4142
 
@@ -4022,6 +4155,7 @@ module Aws::EMR
4022
4155
  #
4023
4156
  class ListSecurityConfigurationsInput < Struct.new(
4024
4157
  :marker)
4158
+ SENSITIVE = []
4025
4159
  include Aws::Structure
4026
4160
  end
4027
4161
 
@@ -4041,6 +4175,7 @@ module Aws::EMR
4041
4175
  class ListSecurityConfigurationsOutput < Struct.new(
4042
4176
  :security_configurations,
4043
4177
  :marker)
4178
+ SENSITIVE = []
4044
4179
  include Aws::Structure
4045
4180
  end
4046
4181
 
@@ -4082,6 +4217,7 @@ module Aws::EMR
4082
4217
  :step_states,
4083
4218
  :step_ids,
4084
4219
  :marker)
4220
+ SENSITIVE = []
4085
4221
  include Aws::Structure
4086
4222
  end
4087
4223
 
@@ -4102,6 +4238,7 @@ module Aws::EMR
4102
4238
  class ListStepsOutput < Struct.new(
4103
4239
  :steps,
4104
4240
  :marker)
4241
+ SENSITIVE = []
4105
4242
  include Aws::Structure
4106
4243
  end
4107
4244
 
@@ -4119,6 +4256,7 @@ module Aws::EMR
4119
4256
  # minimum_capacity_units: 1, # required
4120
4257
  # maximum_capacity_units: 1, # required
4121
4258
  # maximum_on_demand_capacity_units: 1,
4259
+ # maximum_core_capacity_units: 1,
4122
4260
  # },
4123
4261
  # }
4124
4262
  #
@@ -4133,6 +4271,7 @@ module Aws::EMR
4133
4271
  #
4134
4272
  class ManagedScalingPolicy < Struct.new(
4135
4273
  :compute_limits)
4274
+ SENSITIVE = []
4136
4275
  include Aws::Structure
4137
4276
  end
4138
4277
 
@@ -4163,6 +4302,7 @@ module Aws::EMR
4163
4302
  class MetricDimension < Struct.new(
4164
4303
  :key,
4165
4304
  :value)
4305
+ SENSITIVE = []
4166
4306
  include Aws::Structure
4167
4307
  end
4168
4308
 
@@ -4188,6 +4328,7 @@ module Aws::EMR
4188
4328
  class ModifyClusterInput < Struct.new(
4189
4329
  :cluster_id,
4190
4330
  :step_concurrency_level)
4331
+ SENSITIVE = []
4191
4332
  include Aws::Structure
4192
4333
  end
4193
4334
 
@@ -4199,6 +4340,7 @@ module Aws::EMR
4199
4340
  #
4200
4341
  class ModifyClusterOutput < Struct.new(
4201
4342
  :step_concurrency_level)
4343
+ SENSITIVE = []
4202
4344
  include Aws::Structure
4203
4345
  end
4204
4346
 
@@ -4227,6 +4369,7 @@ module Aws::EMR
4227
4369
  class ModifyInstanceFleetInput < Struct.new(
4228
4370
  :cluster_id,
4229
4371
  :instance_fleet)
4372
+ SENSITIVE = []
4230
4373
  include Aws::Structure
4231
4374
  end
4232
4375
 
@@ -4278,6 +4421,38 @@ module Aws::EMR
4278
4421
  class ModifyInstanceGroupsInput < Struct.new(
4279
4422
  :cluster_id,
4280
4423
  :instance_groups)
4424
+ SENSITIVE = []
4425
+ include Aws::Structure
4426
+ end
4427
+
4428
+ # The launch specification for On-Demand instances in the instance
4429
+ # fleet, which determines the allocation strategy.
4430
+ #
4431
+ # <note markdown="1"> The instance fleet configuration is available only in Amazon EMR
4432
+ # versions 4.8.0 and later, excluding 5.0.x versions. On-Demand
4433
+ # instances allocation strategy is available in Amazon EMR version
4434
+ # 5.12.1 and later.
4435
+ #
4436
+ # </note>
4437
+ #
4438
+ # @note When making an API call, you may pass OnDemandProvisioningSpecification
4439
+ # data as a hash:
4440
+ #
4441
+ # {
4442
+ # allocation_strategy: "lowest-price", # required, accepts lowest-price
4443
+ # }
4444
+ #
4445
+ # @!attribute [rw] allocation_strategy
4446
+ # Specifies the strategy to use in launching On-Demand instance
4447
+ # fleets. Currently, the only option is lowest-price (the default),
4448
+ # which launches the lowest price first.
4449
+ # @return [String]
4450
+ #
4451
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/OnDemandProvisioningSpecification AWS API Documentation
4452
+ #
4453
+ class OnDemandProvisioningSpecification < Struct.new(
4454
+ :allocation_strategy)
4455
+ SENSITIVE = []
4281
4456
  include Aws::Structure
4282
4457
  end
4283
4458
 
@@ -4315,6 +4490,7 @@ module Aws::EMR
4315
4490
  class PlacementType < Struct.new(
4316
4491
  :availability_zone,
4317
4492
  :availability_zones)
4493
+ SENSITIVE = []
4318
4494
  include Aws::Structure
4319
4495
  end
4320
4496
 
@@ -4343,6 +4519,7 @@ module Aws::EMR
4343
4519
  class PortRange < Struct.new(
4344
4520
  :min_range,
4345
4521
  :max_range)
4522
+ SENSITIVE = []
4346
4523
  include Aws::Structure
4347
4524
  end
4348
4525
 
@@ -4412,6 +4589,7 @@ module Aws::EMR
4412
4589
  :cluster_id,
4413
4590
  :instance_group_id,
4414
4591
  :auto_scaling_policy)
4592
+ SENSITIVE = []
4415
4593
  include Aws::Structure
4416
4594
  end
4417
4595
 
@@ -4440,6 +4618,7 @@ module Aws::EMR
4440
4618
  :instance_group_id,
4441
4619
  :auto_scaling_policy,
4442
4620
  :cluster_arn)
4621
+ SENSITIVE = []
4443
4622
  include Aws::Structure
4444
4623
  end
4445
4624
 
@@ -4485,6 +4664,7 @@ module Aws::EMR
4485
4664
  #
4486
4665
  class PutBlockPublicAccessConfigurationInput < Struct.new(
4487
4666
  :block_public_access_configuration)
4667
+ SENSITIVE = []
4488
4668
  include Aws::Structure
4489
4669
  end
4490
4670
 
@@ -4503,6 +4683,7 @@ module Aws::EMR
4503
4683
  # minimum_capacity_units: 1, # required
4504
4684
  # maximum_capacity_units: 1, # required
4505
4685
  # maximum_on_demand_capacity_units: 1,
4686
+ # maximum_core_capacity_units: 1,
4506
4687
  # },
4507
4688
  # },
4508
4689
  # }
@@ -4521,6 +4702,7 @@ module Aws::EMR
4521
4702
  class PutManagedScalingPolicyInput < Struct.new(
4522
4703
  :cluster_id,
4523
4704
  :managed_scaling_policy)
4705
+ SENSITIVE = []
4524
4706
  include Aws::Structure
4525
4707
  end
4526
4708
 
@@ -4551,6 +4733,7 @@ module Aws::EMR
4551
4733
  class RemoveAutoScalingPolicyInput < Struct.new(
4552
4734
  :cluster_id,
4553
4735
  :instance_group_id)
4736
+ SENSITIVE = []
4554
4737
  include Aws::Structure
4555
4738
  end
4556
4739
 
@@ -4574,6 +4757,7 @@ module Aws::EMR
4574
4757
  #
4575
4758
  class RemoveManagedScalingPolicyInput < Struct.new(
4576
4759
  :cluster_id)
4760
+ SENSITIVE = []
4577
4761
  include Aws::Structure
4578
4762
  end
4579
4763
 
@@ -4605,6 +4789,7 @@ module Aws::EMR
4605
4789
  class RemoveTagsInput < Struct.new(
4606
4790
  :resource_id,
4607
4791
  :tag_keys)
4792
+ SENSITIVE = []
4608
4793
  include Aws::Structure
4609
4794
  end
4610
4795
 
@@ -4741,10 +4926,14 @@ module Aws::EMR
4741
4926
  # },
4742
4927
  # ],
4743
4928
  # launch_specifications: {
4744
- # spot_specification: { # required
4929
+ # spot_specification: {
4745
4930
  # timeout_duration_minutes: 1, # required
4746
4931
  # timeout_action: "SWITCH_TO_ON_DEMAND", # required, accepts SWITCH_TO_ON_DEMAND, TERMINATE_CLUSTER
4747
4932
  # block_duration_minutes: 1,
4933
+ # allocation_strategy: "capacity-optimized", # accepts capacity-optimized
4934
+ # },
4935
+ # on_demand_specification: {
4936
+ # allocation_strategy: "lowest-price", # required, accepts lowest-price
4748
4937
  # },
4749
4938
  # },
4750
4939
  # },
@@ -4848,6 +5037,7 @@ module Aws::EMR
4848
5037
  # minimum_capacity_units: 1, # required
4849
5038
  # maximum_capacity_units: 1, # required
4850
5039
  # maximum_on_demand_capacity_units: 1,
5040
+ # maximum_core_capacity_units: 1,
4851
5041
  # },
4852
5042
  # },
4853
5043
  # }
@@ -5117,6 +5307,7 @@ module Aws::EMR
5117
5307
  :kerberos_attributes,
5118
5308
  :step_concurrency_level,
5119
5309
  :managed_scaling_policy)
5310
+ SENSITIVE = []
5120
5311
  include Aws::Structure
5121
5312
  end
5122
5313
 
@@ -5135,6 +5326,7 @@ module Aws::EMR
5135
5326
  class RunJobFlowOutput < Struct.new(
5136
5327
  :job_flow_id,
5137
5328
  :cluster_arn)
5329
+ SENSITIVE = []
5138
5330
  include Aws::Structure
5139
5331
  end
5140
5332
 
@@ -5168,6 +5360,7 @@ module Aws::EMR
5168
5360
  class ScalingAction < Struct.new(
5169
5361
  :market,
5170
5362
  :simple_scaling_policy_configuration)
5363
+ SENSITIVE = []
5171
5364
  include Aws::Structure
5172
5365
  end
5173
5366
 
@@ -5201,6 +5394,7 @@ module Aws::EMR
5201
5394
  class ScalingConstraints < Struct.new(
5202
5395
  :min_capacity,
5203
5396
  :max_capacity)
5397
+ SENSITIVE = []
5204
5398
  include Aws::Structure
5205
5399
  end
5206
5400
 
@@ -5269,6 +5463,7 @@ module Aws::EMR
5269
5463
  :description,
5270
5464
  :action,
5271
5465
  :trigger)
5466
+ SENSITIVE = []
5272
5467
  include Aws::Structure
5273
5468
  end
5274
5469
 
@@ -5306,6 +5501,7 @@ module Aws::EMR
5306
5501
  #
5307
5502
  class ScalingTrigger < Struct.new(
5308
5503
  :cloud_watch_alarm_definition)
5504
+ SENSITIVE = []
5309
5505
  include Aws::Structure
5310
5506
  end
5311
5507
 
@@ -5334,6 +5530,7 @@ module Aws::EMR
5334
5530
  class ScriptBootstrapActionConfig < Struct.new(
5335
5531
  :path,
5336
5532
  :args)
5533
+ SENSITIVE = []
5337
5534
  include Aws::Structure
5338
5535
  end
5339
5536
 
@@ -5352,6 +5549,7 @@ module Aws::EMR
5352
5549
  class SecurityConfigurationSummary < Struct.new(
5353
5550
  :name,
5354
5551
  :creation_date_time)
5552
+ SENSITIVE = []
5355
5553
  include Aws::Structure
5356
5554
  end
5357
5555
 
@@ -5382,6 +5580,7 @@ module Aws::EMR
5382
5580
  class SetTerminationProtectionInput < Struct.new(
5383
5581
  :job_flow_ids,
5384
5582
  :termination_protected)
5583
+ SENSITIVE = []
5385
5584
  include Aws::Structure
5386
5585
  end
5387
5586
 
@@ -5411,6 +5610,7 @@ module Aws::EMR
5411
5610
  class SetVisibleToAllUsersInput < Struct.new(
5412
5611
  :job_flow_ids,
5413
5612
  :visible_to_all_users)
5613
+ SENSITIVE = []
5414
5614
  include Aws::Structure
5415
5615
  end
5416
5616
 
@@ -5444,6 +5644,7 @@ module Aws::EMR
5444
5644
  class ShrinkPolicy < Struct.new(
5445
5645
  :decommission_timeout,
5446
5646
  :instance_resize_policy)
5647
+ SENSITIVE = []
5447
5648
  include Aws::Structure
5448
5649
  end
5449
5650
 
@@ -5500,15 +5701,18 @@ module Aws::EMR
5500
5701
  :adjustment_type,
5501
5702
  :scaling_adjustment,
5502
5703
  :cool_down)
5704
+ SENSITIVE = []
5503
5705
  include Aws::Structure
5504
5706
  end
5505
5707
 
5506
5708
  # The launch specification for Spot instances in the instance fleet,
5507
- # which determines the defined duration and provisioning timeout
5508
- # behavior.
5709
+ # which determines the defined duration, provisioning timeout behavior,
5710
+ # and allocation strategy.
5509
5711
  #
5510
5712
  # <note markdown="1"> The instance fleet configuration is available only in Amazon EMR
5511
- # versions 4.8.0 and later, excluding 5.0.x versions.
5713
+ # versions 4.8.0 and later, excluding 5.0.x versions. Spot instance
5714
+ # allocation strategy is available in Amazon EMR version 5.12.1 and
5715
+ # later.
5512
5716
  #
5513
5717
  # </note>
5514
5718
  #
@@ -5519,6 +5723,7 @@ module Aws::EMR
5519
5723
  # timeout_duration_minutes: 1, # required
5520
5724
  # timeout_action: "SWITCH_TO_ON_DEMAND", # required, accepts SWITCH_TO_ON_DEMAND, TERMINATE_CLUSTER
5521
5725
  # block_duration_minutes: 1,
5726
+ # allocation_strategy: "capacity-optimized", # accepts capacity-optimized
5522
5727
  # }
5523
5728
  #
5524
5729
  # @!attribute [rw] timeout_duration_minutes
@@ -5551,12 +5756,21 @@ module Aws::EMR
5551
5756
  # before it terminates.
5552
5757
  # @return [Integer]
5553
5758
  #
5759
+ # @!attribute [rw] allocation_strategy
5760
+ # Specifies the strategy to use in launching Spot instance fleets.
5761
+ # Currently, the only option is capacity-optimized (the default),
5762
+ # which launches instances from Spot instance pools with optimal
5763
+ # capacity for the number of instances that are launching.
5764
+ # @return [String]
5765
+ #
5554
5766
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/SpotProvisioningSpecification AWS API Documentation
5555
5767
  #
5556
5768
  class SpotProvisioningSpecification < Struct.new(
5557
5769
  :timeout_duration_minutes,
5558
5770
  :timeout_action,
5559
- :block_duration_minutes)
5771
+ :block_duration_minutes,
5772
+ :allocation_strategy)
5773
+ SENSITIVE = []
5560
5774
  include Aws::Structure
5561
5775
  end
5562
5776
 
@@ -5593,6 +5807,7 @@ module Aws::EMR
5593
5807
  :config,
5594
5808
  :action_on_failure,
5595
5809
  :status)
5810
+ SENSITIVE = []
5596
5811
  include Aws::Structure
5597
5812
  end
5598
5813
 
@@ -5638,6 +5853,7 @@ module Aws::EMR
5638
5853
  :name,
5639
5854
  :action_on_failure,
5640
5855
  :hadoop_jar_step)
5856
+ SENSITIVE = []
5641
5857
  include Aws::Structure
5642
5858
  end
5643
5859
 
@@ -5656,6 +5872,7 @@ module Aws::EMR
5656
5872
  class StepDetail < Struct.new(
5657
5873
  :step_config,
5658
5874
  :execution_status_detail)
5875
+ SENSITIVE = []
5659
5876
  include Aws::Structure
5660
5877
  end
5661
5878
 
@@ -5689,6 +5906,7 @@ module Aws::EMR
5689
5906
  :start_date_time,
5690
5907
  :end_date_time,
5691
5908
  :last_state_change_reason)
5909
+ SENSITIVE = []
5692
5910
  include Aws::Structure
5693
5911
  end
5694
5912
 
@@ -5708,6 +5926,7 @@ module Aws::EMR
5708
5926
  class StepStateChangeReason < Struct.new(
5709
5927
  :code,
5710
5928
  :message)
5929
+ SENSITIVE = []
5711
5930
  include Aws::Structure
5712
5931
  end
5713
5932
 
@@ -5737,6 +5956,7 @@ module Aws::EMR
5737
5956
  :state_change_reason,
5738
5957
  :failure_details,
5739
5958
  :timeline)
5959
+ SENSITIVE = []
5740
5960
  include Aws::Structure
5741
5961
  end
5742
5962
 
@@ -5773,6 +5993,7 @@ module Aws::EMR
5773
5993
  :config,
5774
5994
  :action_on_failure,
5775
5995
  :status)
5996
+ SENSITIVE = []
5776
5997
  include Aws::Structure
5777
5998
  end
5778
5999
 
@@ -5797,6 +6018,7 @@ module Aws::EMR
5797
6018
  :creation_date_time,
5798
6019
  :start_date_time,
5799
6020
  :end_date_time)
6021
+ SENSITIVE = []
5800
6022
  include Aws::Structure
5801
6023
  end
5802
6024
 
@@ -5825,6 +6047,7 @@ module Aws::EMR
5825
6047
  class SupportedProductConfig < Struct.new(
5826
6048
  :name,
5827
6049
  :args)
6050
+ SENSITIVE = []
5828
6051
  include Aws::Structure
5829
6052
  end
5830
6053
 
@@ -5869,6 +6092,7 @@ module Aws::EMR
5869
6092
  class Tag < Struct.new(
5870
6093
  :key,
5871
6094
  :value)
6095
+ SENSITIVE = []
5872
6096
  include Aws::Structure
5873
6097
  end
5874
6098
 
@@ -5889,6 +6113,7 @@ module Aws::EMR
5889
6113
  #
5890
6114
  class TerminateJobFlowsInput < Struct.new(
5891
6115
  :job_flow_ids)
6116
+ SENSITIVE = []
5892
6117
  include Aws::Structure
5893
6118
  end
5894
6119
 
@@ -5925,6 +6150,7 @@ module Aws::EMR
5925
6150
  :volume_type,
5926
6151
  :iops,
5927
6152
  :size_in_gb)
6153
+ SENSITIVE = []
5928
6154
  include Aws::Structure
5929
6155
  end
5930
6156