aws-sdk-emr 1.129.0 → 1.130.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: c9bb0a6d8f0e479dc986f7ca35a9973b23109b5286b1d17f7ed1709a1ef525f4
4
- data.tar.gz: b4fffef5fd633cec87e66526a4dd017a18d064de74be964d9004ac9653b1d75a
3
+ metadata.gz: f6e62511cc43fe812a5b891d00ae87573960a88aba5a6c497779dcc5a2d57687
4
+ data.tar.gz: b5d0332b364335ffe0abd81c1c9b67002026396fc251f378b5c7ba7edfb47469
5
5
  SHA512:
6
- metadata.gz: 66151e76dd5ccc0d756e3d9cd3799ad1b156de28da104ee21108265029042a44eb2597bb6d35d9a6b2552fee463eec60ac39af7250a6ffd4010b111867f580d4
7
- data.tar.gz: 5f7d42b4349ffbb31e817a0e85dae338f9bfe26893a83d3dbd27b6388deb4251678a8670f60aaf5ab99bc9003c190f43f166e4b91c1e39699653bd639899c3d4
6
+ metadata.gz: 2e4c36ea1840672403ed1ebb72ac9f9700e99a860df1327e80d8de7487919bbd5f123fd580790807ae44b2635c902d4f7cce7d3e2a9edb279906365c7dfb712d
7
+ data.tar.gz: 7ef745cf00704af33c9017bb26c2ca8b533adf22dab5a987947d68581a7365c4d43e7fe3354feff563787dddde56d1ba6ea7422fbdf84969d4dd091abb853538
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.130.0 (2026-05-19)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
4
9
  1.129.0 (2026-05-13)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.129.0
1
+ 1.130.0
@@ -4575,7 +4575,7 @@ module Aws::EMR
4575
4575
  tracer: tracer
4576
4576
  )
4577
4577
  context[:gem_name] = 'aws-sdk-emr'
4578
- context[:gem_version] = '1.129.0'
4578
+ context[:gem_version] = '1.130.0'
4579
4579
  Seahorse::Client::Request.new(handlers, context)
4580
4580
  end
4581
4581
 
data/lib/aws-sdk-emr.rb CHANGED
@@ -55,7 +55,7 @@ module Aws::EMR
55
55
  autoload :EndpointProvider, 'aws-sdk-emr/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-emr/endpoints'
57
57
 
58
- GEM_VERSION = '1.129.0'
58
+ GEM_VERSION = '1.130.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -88,75 +88,7 @@ module Aws
88
88
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMR/Client.html#add_instance_fleet-instance_method
89
89
  def add_instance_fleet: (
90
90
  cluster_id: ::String,
91
- instance_fleet: {
92
- name: ::String?,
93
- instance_fleet_type: ("MASTER" | "CORE" | "TASK"),
94
- target_on_demand_capacity: ::Integer?,
95
- target_spot_capacity: ::Integer?,
96
- instance_type_configs: Array[
97
- {
98
- instance_type: ::String,
99
- weighted_capacity: ::Integer?,
100
- bid_price: ::String?,
101
- bid_price_as_percentage_of_on_demand_price: ::Float?,
102
- ebs_configuration: {
103
- ebs_block_device_configs: Array[
104
- {
105
- volume_specification: {
106
- volume_type: ::String,
107
- iops: ::Integer?,
108
- size_in_gb: ::Integer,
109
- throughput: ::Integer?
110
- },
111
- volumes_per_instance: ::Integer?
112
- },
113
- ]?,
114
- ebs_optimized: bool?
115
- }?,
116
- configurations: Array[
117
- {
118
- classification: ::String?,
119
- configurations: untyped?,
120
- properties: Hash[::String, ::String]?
121
- },
122
- ]?,
123
- custom_ami_id: ::String?,
124
- priority: ::Float?
125
- },
126
- ]?,
127
- launch_specifications: {
128
- spot_specification: {
129
- timeout_duration_minutes: ::Integer,
130
- timeout_action: ("SWITCH_TO_ON_DEMAND" | "TERMINATE_CLUSTER"),
131
- block_duration_minutes: ::Integer?,
132
- allocation_strategy: ("capacity-optimized" | "price-capacity-optimized" | "lowest-price" | "diversified" | "capacity-optimized-prioritized")?
133
- }?,
134
- on_demand_specification: {
135
- allocation_strategy: ("lowest-price" | "prioritized"),
136
- capacity_reservation_options: {
137
- usage_strategy: ("use-capacity-reservations-first")?,
138
- capacity_reservation_preference: ("open" | "none")?,
139
- capacity_reservation_resource_group_arn: ::String?
140
- }?
141
- }?
142
- }?,
143
- resize_specifications: {
144
- spot_resize_specification: {
145
- timeout_duration_minutes: ::Integer?,
146
- allocation_strategy: ("capacity-optimized" | "price-capacity-optimized" | "lowest-price" | "diversified" | "capacity-optimized-prioritized")?
147
- }?,
148
- on_demand_resize_specification: {
149
- timeout_duration_minutes: ::Integer?,
150
- allocation_strategy: ("lowest-price" | "prioritized")?,
151
- capacity_reservation_options: {
152
- usage_strategy: ("use-capacity-reservations-first")?,
153
- capacity_reservation_preference: ("open" | "none")?,
154
- capacity_reservation_resource_group_arn: ::String?
155
- }?
156
- }?
157
- }?,
158
- context: ::String?
159
- }
91
+ instance_fleet: Params::instance_fleet_config
160
92
  ) -> _AddInstanceFleetResponseSuccess
161
93
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AddInstanceFleetResponseSuccess
162
94
 
@@ -169,74 +101,7 @@ module Aws
169
101
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMR/Client.html#add_instance_groups-instance_method
170
102
  def add_instance_groups: (
171
103
  instance_groups: Array[
172
- {
173
- name: ::String?,
174
- market: ("ON_DEMAND" | "SPOT")?,
175
- instance_role: ("MASTER" | "CORE" | "TASK"),
176
- bid_price: ::String?,
177
- instance_type: ::String,
178
- instance_count: ::Integer,
179
- configurations: Array[
180
- {
181
- classification: ::String?,
182
- configurations: untyped?,
183
- properties: Hash[::String, ::String]?
184
- },
185
- ]?,
186
- ebs_configuration: {
187
- ebs_block_device_configs: Array[
188
- {
189
- volume_specification: {
190
- volume_type: ::String,
191
- iops: ::Integer?,
192
- size_in_gb: ::Integer,
193
- throughput: ::Integer?
194
- },
195
- volumes_per_instance: ::Integer?
196
- },
197
- ]?,
198
- ebs_optimized: bool?
199
- }?,
200
- auto_scaling_policy: {
201
- constraints: {
202
- min_capacity: ::Integer,
203
- max_capacity: ::Integer
204
- },
205
- rules: Array[
206
- {
207
- name: ::String,
208
- description: ::String?,
209
- action: {
210
- market: ("ON_DEMAND" | "SPOT")?,
211
- simple_scaling_policy_configuration: {
212
- adjustment_type: ("CHANGE_IN_CAPACITY" | "PERCENT_CHANGE_IN_CAPACITY" | "EXACT_CAPACITY")?,
213
- scaling_adjustment: ::Integer,
214
- cool_down: ::Integer?
215
- }
216
- },
217
- trigger: {
218
- cloud_watch_alarm_definition: {
219
- comparison_operator: ("GREATER_THAN_OR_EQUAL" | "GREATER_THAN" | "LESS_THAN" | "LESS_THAN_OR_EQUAL"),
220
- evaluation_periods: ::Integer?,
221
- metric_name: ::String,
222
- namespace: ::String?,
223
- period: ::Integer,
224
- statistic: ("SAMPLE_COUNT" | "AVERAGE" | "SUM" | "MINIMUM" | "MAXIMUM")?,
225
- threshold: ::Float,
226
- unit: ("NONE" | "SECONDS" | "MICRO_SECONDS" | "MILLI_SECONDS" | "BYTES" | "KILO_BYTES" | "MEGA_BYTES" | "GIGA_BYTES" | "TERA_BYTES" | "BITS" | "KILO_BITS" | "MEGA_BITS" | "GIGA_BITS" | "TERA_BITS" | "PERCENT" | "COUNT" | "BYTES_PER_SECOND" | "KILO_BYTES_PER_SECOND" | "MEGA_BYTES_PER_SECOND" | "GIGA_BYTES_PER_SECOND" | "TERA_BYTES_PER_SECOND" | "BITS_PER_SECOND" | "KILO_BITS_PER_SECOND" | "MEGA_BITS_PER_SECOND" | "GIGA_BITS_PER_SECOND" | "TERA_BITS_PER_SECOND" | "COUNT_PER_SECOND")?,
227
- dimensions: Array[
228
- {
229
- key: ::String?,
230
- value: ::String?
231
- },
232
- ]?
233
- }
234
- }
235
- },
236
- ]
237
- }?,
238
- custom_ami_id: ::String?
239
- },
104
+ Params::instance_group_config
240
105
  ],
241
106
  job_flow_id: ::String
242
107
  ) -> _AddInstanceGroupsResponseSuccess
@@ -250,27 +115,7 @@ module Aws
250
115
  def add_job_flow_steps: (
251
116
  job_flow_id: ::String,
252
117
  steps: Array[
253
- {
254
- name: ::String,
255
- action_on_failure: ("TERMINATE_JOB_FLOW" | "TERMINATE_CLUSTER" | "CANCEL_AND_WAIT" | "CONTINUE")?,
256
- hadoop_jar_step: {
257
- properties: Array[
258
- {
259
- key: ::String?,
260
- value: ::String?
261
- },
262
- ]?,
263
- jar: ::String,
264
- main_class: ::String?,
265
- args: Array[::String]?
266
- },
267
- step_monitoring_configuration: {
268
- s3_monitoring_configuration: {
269
- log_uri: ::String?,
270
- encryption_key_arn: ::String?
271
- }?
272
- }?
273
- },
118
+ Params::step_config
274
119
  ],
275
120
  ?execution_role_arn: ::String
276
121
  ) -> _AddJobFlowStepsResponseSuccess
@@ -286,7 +131,7 @@ module Aws
286
131
  {
287
132
  key: ::String?,
288
133
  value: ::String?
289
- },
134
+ }
290
135
  ]
291
136
  ) -> _AddTagsResponseSuccess
292
137
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AddTagsResponseSuccess
@@ -318,7 +163,7 @@ module Aws
318
163
  {
319
164
  key: ::String?,
320
165
  value: ::String?
321
- },
166
+ }
322
167
  ],
323
168
  ?x_referer: ::String,
324
169
  ?profiler_type: ("SHS" | "TEZUI" | "YTS")
@@ -360,7 +205,7 @@ module Aws
360
205
  {
361
206
  key: ::String?,
362
207
  value: ::String?
363
- },
208
+ }
364
209
  ],
365
210
  ?trusted_identity_propagation_enabled: bool,
366
211
  ?idc_user_assignment: ("REQUIRED" | "OPTIONAL"),
@@ -759,51 +604,9 @@ module Aws
759
604
  instance_fleet_id: ::String,
760
605
  target_on_demand_capacity: ::Integer?,
761
606
  target_spot_capacity: ::Integer?,
762
- resize_specifications: {
763
- spot_resize_specification: {
764
- timeout_duration_minutes: ::Integer?,
765
- allocation_strategy: ("capacity-optimized" | "price-capacity-optimized" | "lowest-price" | "diversified" | "capacity-optimized-prioritized")?
766
- }?,
767
- on_demand_resize_specification: {
768
- timeout_duration_minutes: ::Integer?,
769
- allocation_strategy: ("lowest-price" | "prioritized")?,
770
- capacity_reservation_options: {
771
- usage_strategy: ("use-capacity-reservations-first")?,
772
- capacity_reservation_preference: ("open" | "none")?,
773
- capacity_reservation_resource_group_arn: ::String?
774
- }?
775
- }?
776
- }?,
607
+ resize_specifications: Params::instance_fleet_resizing_specifications?,
777
608
  instance_type_configs: Array[
778
- {
779
- instance_type: ::String,
780
- weighted_capacity: ::Integer?,
781
- bid_price: ::String?,
782
- bid_price_as_percentage_of_on_demand_price: ::Float?,
783
- ebs_configuration: {
784
- ebs_block_device_configs: Array[
785
- {
786
- volume_specification: {
787
- volume_type: ::String,
788
- iops: ::Integer?,
789
- size_in_gb: ::Integer,
790
- throughput: ::Integer?
791
- },
792
- volumes_per_instance: ::Integer?
793
- },
794
- ]?,
795
- ebs_optimized: bool?
796
- }?,
797
- configurations: Array[
798
- {
799
- classification: ::String?,
800
- configurations: untyped?,
801
- properties: Hash[::String, ::String]?
802
- },
803
- ]?,
804
- custom_ami_id: ::String?,
805
- priority: ::Float?
806
- },
609
+ Params::instance_type_config
807
610
  ]?,
808
611
  context: ::String?
809
612
  }
@@ -832,9 +635,9 @@ module Aws
832
635
  classification: ::String?,
833
636
  configurations: untyped?,
834
637
  properties: Hash[::String, ::String]?
835
- },
638
+ }
836
639
  ]?
837
- },
640
+ }
838
641
  ]
839
642
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
840
643
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
@@ -850,44 +653,7 @@ module Aws
850
653
  def put_auto_scaling_policy: (
851
654
  cluster_id: ::String,
852
655
  instance_group_id: ::String,
853
- auto_scaling_policy: {
854
- constraints: {
855
- min_capacity: ::Integer,
856
- max_capacity: ::Integer
857
- },
858
- rules: Array[
859
- {
860
- name: ::String,
861
- description: ::String?,
862
- action: {
863
- market: ("ON_DEMAND" | "SPOT")?,
864
- simple_scaling_policy_configuration: {
865
- adjustment_type: ("CHANGE_IN_CAPACITY" | "PERCENT_CHANGE_IN_CAPACITY" | "EXACT_CAPACITY")?,
866
- scaling_adjustment: ::Integer,
867
- cool_down: ::Integer?
868
- }
869
- },
870
- trigger: {
871
- cloud_watch_alarm_definition: {
872
- comparison_operator: ("GREATER_THAN_OR_EQUAL" | "GREATER_THAN" | "LESS_THAN" | "LESS_THAN_OR_EQUAL"),
873
- evaluation_periods: ::Integer?,
874
- metric_name: ::String,
875
- namespace: ::String?,
876
- period: ::Integer,
877
- statistic: ("SAMPLE_COUNT" | "AVERAGE" | "SUM" | "MINIMUM" | "MAXIMUM")?,
878
- threshold: ::Float,
879
- unit: ("NONE" | "SECONDS" | "MICRO_SECONDS" | "MILLI_SECONDS" | "BYTES" | "KILO_BYTES" | "MEGA_BYTES" | "GIGA_BYTES" | "TERA_BYTES" | "BITS" | "KILO_BITS" | "MEGA_BITS" | "GIGA_BITS" | "TERA_BITS" | "PERCENT" | "COUNT" | "BYTES_PER_SECOND" | "KILO_BYTES_PER_SECOND" | "MEGA_BYTES_PER_SECOND" | "GIGA_BYTES_PER_SECOND" | "TERA_BYTES_PER_SECOND" | "BITS_PER_SECOND" | "KILO_BITS_PER_SECOND" | "MEGA_BITS_PER_SECOND" | "GIGA_BITS_PER_SECOND" | "TERA_BITS_PER_SECOND" | "COUNT_PER_SECOND")?,
880
- dimensions: Array[
881
- {
882
- key: ::String?,
883
- value: ::String?
884
- },
885
- ]?
886
- }
887
- }
888
- },
889
- ]
890
- }
656
+ auto_scaling_policy: Params::auto_scaling_policy
891
657
  ) -> _PutAutoScalingPolicyResponseSuccess
892
658
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutAutoScalingPolicyResponseSuccess
893
659
 
@@ -914,7 +680,7 @@ module Aws
914
680
  {
915
681
  min_range: ::Integer,
916
682
  max_range: ::Integer?
917
- },
683
+ }
918
684
  ]?
919
685
  }
920
686
  ) -> _PutBlockPublicAccessConfigurationResponseSuccess
@@ -926,17 +692,7 @@ module Aws
926
692
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMR/Client.html#put_managed_scaling_policy-instance_method
927
693
  def put_managed_scaling_policy: (
928
694
  cluster_id: ::String,
929
- managed_scaling_policy: {
930
- compute_limits: {
931
- unit_type: ("InstanceFleetUnits" | "Instances" | "VCPU"),
932
- minimum_capacity_units: ::Integer,
933
- maximum_capacity_units: ::Integer,
934
- maximum_on_demand_capacity_units: ::Integer?,
935
- maximum_core_capacity_units: ::Integer?
936
- }?,
937
- utilization_performance_index: ::Integer?,
938
- scaling_strategy: ("DEFAULT" | "ADVANCED")?
939
- }
695
+ managed_scaling_policy: Params::managed_scaling_policy
940
696
  ) -> _PutManagedScalingPolicyResponseSuccess
941
697
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutManagedScalingPolicyResponseSuccess
942
698
 
@@ -996,145 +752,10 @@ module Aws
996
752
  slave_instance_type: ::String?,
997
753
  instance_count: ::Integer?,
998
754
  instance_groups: Array[
999
- {
1000
- name: ::String?,
1001
- market: ("ON_DEMAND" | "SPOT")?,
1002
- instance_role: ("MASTER" | "CORE" | "TASK"),
1003
- bid_price: ::String?,
1004
- instance_type: ::String,
1005
- instance_count: ::Integer,
1006
- configurations: Array[
1007
- {
1008
- classification: ::String?,
1009
- configurations: untyped?,
1010
- properties: Hash[::String, ::String]?
1011
- },
1012
- ]?,
1013
- ebs_configuration: {
1014
- ebs_block_device_configs: Array[
1015
- {
1016
- volume_specification: {
1017
- volume_type: ::String,
1018
- iops: ::Integer?,
1019
- size_in_gb: ::Integer,
1020
- throughput: ::Integer?
1021
- },
1022
- volumes_per_instance: ::Integer?
1023
- },
1024
- ]?,
1025
- ebs_optimized: bool?
1026
- }?,
1027
- auto_scaling_policy: {
1028
- constraints: {
1029
- min_capacity: ::Integer,
1030
- max_capacity: ::Integer
1031
- },
1032
- rules: Array[
1033
- {
1034
- name: ::String,
1035
- description: ::String?,
1036
- action: {
1037
- market: ("ON_DEMAND" | "SPOT")?,
1038
- simple_scaling_policy_configuration: {
1039
- adjustment_type: ("CHANGE_IN_CAPACITY" | "PERCENT_CHANGE_IN_CAPACITY" | "EXACT_CAPACITY")?,
1040
- scaling_adjustment: ::Integer,
1041
- cool_down: ::Integer?
1042
- }
1043
- },
1044
- trigger: {
1045
- cloud_watch_alarm_definition: {
1046
- comparison_operator: ("GREATER_THAN_OR_EQUAL" | "GREATER_THAN" | "LESS_THAN" | "LESS_THAN_OR_EQUAL"),
1047
- evaluation_periods: ::Integer?,
1048
- metric_name: ::String,
1049
- namespace: ::String?,
1050
- period: ::Integer,
1051
- statistic: ("SAMPLE_COUNT" | "AVERAGE" | "SUM" | "MINIMUM" | "MAXIMUM")?,
1052
- threshold: ::Float,
1053
- unit: ("NONE" | "SECONDS" | "MICRO_SECONDS" | "MILLI_SECONDS" | "BYTES" | "KILO_BYTES" | "MEGA_BYTES" | "GIGA_BYTES" | "TERA_BYTES" | "BITS" | "KILO_BITS" | "MEGA_BITS" | "GIGA_BITS" | "TERA_BITS" | "PERCENT" | "COUNT" | "BYTES_PER_SECOND" | "KILO_BYTES_PER_SECOND" | "MEGA_BYTES_PER_SECOND" | "GIGA_BYTES_PER_SECOND" | "TERA_BYTES_PER_SECOND" | "BITS_PER_SECOND" | "KILO_BITS_PER_SECOND" | "MEGA_BITS_PER_SECOND" | "GIGA_BITS_PER_SECOND" | "TERA_BITS_PER_SECOND" | "COUNT_PER_SECOND")?,
1054
- dimensions: Array[
1055
- {
1056
- key: ::String?,
1057
- value: ::String?
1058
- },
1059
- ]?
1060
- }
1061
- }
1062
- },
1063
- ]
1064
- }?,
1065
- custom_ami_id: ::String?
1066
- },
755
+ Params::instance_group_config
1067
756
  ]?,
1068
757
  instance_fleets: Array[
1069
- {
1070
- name: ::String?,
1071
- instance_fleet_type: ("MASTER" | "CORE" | "TASK"),
1072
- target_on_demand_capacity: ::Integer?,
1073
- target_spot_capacity: ::Integer?,
1074
- instance_type_configs: Array[
1075
- {
1076
- instance_type: ::String,
1077
- weighted_capacity: ::Integer?,
1078
- bid_price: ::String?,
1079
- bid_price_as_percentage_of_on_demand_price: ::Float?,
1080
- ebs_configuration: {
1081
- ebs_block_device_configs: Array[
1082
- {
1083
- volume_specification: {
1084
- volume_type: ::String,
1085
- iops: ::Integer?,
1086
- size_in_gb: ::Integer,
1087
- throughput: ::Integer?
1088
- },
1089
- volumes_per_instance: ::Integer?
1090
- },
1091
- ]?,
1092
- ebs_optimized: bool?
1093
- }?,
1094
- configurations: Array[
1095
- {
1096
- classification: ::String?,
1097
- configurations: untyped?,
1098
- properties: Hash[::String, ::String]?
1099
- },
1100
- ]?,
1101
- custom_ami_id: ::String?,
1102
- priority: ::Float?
1103
- },
1104
- ]?,
1105
- launch_specifications: {
1106
- spot_specification: {
1107
- timeout_duration_minutes: ::Integer,
1108
- timeout_action: ("SWITCH_TO_ON_DEMAND" | "TERMINATE_CLUSTER"),
1109
- block_duration_minutes: ::Integer?,
1110
- allocation_strategy: ("capacity-optimized" | "price-capacity-optimized" | "lowest-price" | "diversified" | "capacity-optimized-prioritized")?
1111
- }?,
1112
- on_demand_specification: {
1113
- allocation_strategy: ("lowest-price" | "prioritized"),
1114
- capacity_reservation_options: {
1115
- usage_strategy: ("use-capacity-reservations-first")?,
1116
- capacity_reservation_preference: ("open" | "none")?,
1117
- capacity_reservation_resource_group_arn: ::String?
1118
- }?
1119
- }?
1120
- }?,
1121
- resize_specifications: {
1122
- spot_resize_specification: {
1123
- timeout_duration_minutes: ::Integer?,
1124
- allocation_strategy: ("capacity-optimized" | "price-capacity-optimized" | "lowest-price" | "diversified" | "capacity-optimized-prioritized")?
1125
- }?,
1126
- on_demand_resize_specification: {
1127
- timeout_duration_minutes: ::Integer?,
1128
- allocation_strategy: ("lowest-price" | "prioritized")?,
1129
- capacity_reservation_options: {
1130
- usage_strategy: ("use-capacity-reservations-first")?,
1131
- capacity_reservation_preference: ("open" | "none")?,
1132
- capacity_reservation_resource_group_arn: ::String?
1133
- }?
1134
- }?
1135
- }?,
1136
- context: ::String?
1137
- },
758
+ Params::instance_fleet_config
1138
759
  ]?,
1139
760
  ec2_key_name: ::String?,
1140
761
  placement: {
@@ -1154,27 +775,7 @@ module Aws
1154
775
  additional_slave_security_groups: Array[::String]?
1155
776
  },
1156
777
  ?steps: Array[
1157
- {
1158
- name: ::String,
1159
- action_on_failure: ("TERMINATE_JOB_FLOW" | "TERMINATE_CLUSTER" | "CANCEL_AND_WAIT" | "CONTINUE")?,
1160
- hadoop_jar_step: {
1161
- properties: Array[
1162
- {
1163
- key: ::String?,
1164
- value: ::String?
1165
- },
1166
- ]?,
1167
- jar: ::String,
1168
- main_class: ::String?,
1169
- args: Array[::String]?
1170
- },
1171
- step_monitoring_configuration: {
1172
- s3_monitoring_configuration: {
1173
- log_uri: ::String?,
1174
- encryption_key_arn: ::String?
1175
- }?
1176
- }?
1177
- },
778
+ Params::step_config
1178
779
  ],
1179
780
  ?step_execution_role_arn: ::String,
1180
781
  ?bootstrap_actions: Array[
@@ -1184,14 +785,14 @@ module Aws
1184
785
  path: ::String,
1185
786
  args: Array[::String]?
1186
787
  }
1187
- },
788
+ }
1188
789
  ],
1189
790
  ?supported_products: Array[::String],
1190
791
  ?new_supported_products: Array[
1191
792
  {
1192
793
  name: ::String?,
1193
794
  args: Array[::String]?
1194
- },
795
+ }
1195
796
  ],
1196
797
  ?applications: Array[
1197
798
  {
@@ -1199,14 +800,14 @@ module Aws
1199
800
  version: ::String?,
1200
801
  args: Array[::String]?,
1201
802
  additional_info: Hash[::String, ::String]?
1202
- },
803
+ }
1203
804
  ],
1204
805
  ?configurations: Array[
1205
806
  {
1206
807
  classification: ::String?,
1207
808
  configurations: untyped?,
1208
809
  properties: Hash[::String, ::String]?
1209
- },
810
+ }
1210
811
  ],
1211
812
  ?visible_to_all_users: bool,
1212
813
  ?job_flow_role: ::String,
@@ -1215,7 +816,7 @@ module Aws
1215
816
  {
1216
817
  key: ::String?,
1217
818
  value: ::String?
1218
- },
819
+ }
1219
820
  ],
1220
821
  ?security_configuration: ::String,
1221
822
  ?auto_scaling_role: ::String,
@@ -1231,22 +832,12 @@ module Aws
1231
832
  ad_domain_join_password: ::String?
1232
833
  },
1233
834
  ?step_concurrency_level: ::Integer,
1234
- ?managed_scaling_policy: {
1235
- compute_limits: {
1236
- unit_type: ("InstanceFleetUnits" | "Instances" | "VCPU"),
1237
- minimum_capacity_units: ::Integer,
1238
- maximum_capacity_units: ::Integer,
1239
- maximum_on_demand_capacity_units: ::Integer?,
1240
- maximum_core_capacity_units: ::Integer?
1241
- }?,
1242
- utilization_performance_index: ::Integer?,
1243
- scaling_strategy: ("DEFAULT" | "ADVANCED")?
1244
- },
835
+ ?managed_scaling_policy: Params::managed_scaling_policy,
1245
836
  ?placement_group_configs: Array[
1246
837
  {
1247
838
  instance_role: ("MASTER" | "CORE" | "TASK"),
1248
839
  placement_strategy: ("SPREAD" | "PARTITION" | "CLUSTER" | "NONE")?
1249
- },
840
+ }
1250
841
  ],
1251
842
  ?auto_termination_policy: {
1252
843
  idle_timeout: ::Integer?
@@ -1320,7 +911,7 @@ module Aws
1320
911
  {
1321
912
  key: ::String?,
1322
913
  value: ::String?
1323
- },
914
+ }
1324
915
  ],
1325
916
  ?notebook_s3_location: {
1326
917
  bucket: ::String?,
data/sig/params.rbs ADDED
@@ -0,0 +1,199 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module EMR
10
+ module Params
11
+ type on_demand_provisioning_specification = {
12
+ allocation_strategy: ("lowest-price" | "prioritized"),
13
+ capacity_reservation_options: {
14
+ usage_strategy: ("use-capacity-reservations-first")?,
15
+ capacity_reservation_preference: ("open" | "none")?,
16
+ capacity_reservation_resource_group_arn: ::String?
17
+ }?
18
+ }
19
+
20
+ type instance_fleet_provisioning_specifications = {
21
+ spot_specification: {
22
+ timeout_duration_minutes: ::Integer,
23
+ timeout_action: ("SWITCH_TO_ON_DEMAND" | "TERMINATE_CLUSTER"),
24
+ block_duration_minutes: ::Integer?,
25
+ allocation_strategy: ("capacity-optimized" | "price-capacity-optimized" | "lowest-price" | "diversified" | "capacity-optimized-prioritized")?
26
+ }?,
27
+ on_demand_specification: Params::on_demand_provisioning_specification?
28
+ }
29
+
30
+ type on_demand_resizing_specification = {
31
+ timeout_duration_minutes: ::Integer?,
32
+ allocation_strategy: ("lowest-price" | "prioritized")?,
33
+ capacity_reservation_options: {
34
+ usage_strategy: ("use-capacity-reservations-first")?,
35
+ capacity_reservation_preference: ("open" | "none")?,
36
+ capacity_reservation_resource_group_arn: ::String?
37
+ }?
38
+ }
39
+
40
+ type instance_fleet_resizing_specifications = {
41
+ spot_resize_specification: {
42
+ timeout_duration_minutes: ::Integer?,
43
+ allocation_strategy: ("capacity-optimized" | "price-capacity-optimized" | "lowest-price" | "diversified" | "capacity-optimized-prioritized")?
44
+ }?,
45
+ on_demand_resize_specification: Params::on_demand_resizing_specification?
46
+ }
47
+
48
+ type instance_fleet_config = {
49
+ name: ::String?,
50
+ instance_fleet_type: ("MASTER" | "CORE" | "TASK"),
51
+ target_on_demand_capacity: ::Integer?,
52
+ target_spot_capacity: ::Integer?,
53
+ instance_type_configs: Array[
54
+ Params::instance_type_config
55
+ ]?,
56
+ launch_specifications: Params::instance_fleet_provisioning_specifications?,
57
+ resize_specifications: Params::instance_fleet_resizing_specifications?,
58
+ context: ::String?
59
+ }
60
+
61
+ type ebs_configuration = {
62
+ ebs_block_device_configs: Array[
63
+ Params::ebs_block_device_config
64
+ ]?,
65
+ ebs_optimized: bool?
66
+ }
67
+
68
+ type instance_type_config = {
69
+ instance_type: ::String,
70
+ weighted_capacity: ::Integer?,
71
+ bid_price: ::String?,
72
+ bid_price_as_percentage_of_on_demand_price: ::Float?,
73
+ ebs_configuration: Params::ebs_configuration?,
74
+ configurations: Array[
75
+ {
76
+ classification: ::String?,
77
+ configurations: untyped?,
78
+ properties: Hash[::String, ::String]?
79
+ }
80
+ ]?,
81
+ custom_ami_id: ::String?,
82
+ priority: ::Float?
83
+ }
84
+
85
+ type ebs_block_device_config = {
86
+ volume_specification: {
87
+ volume_type: ::String,
88
+ iops: ::Integer?,
89
+ size_in_gb: ::Integer,
90
+ throughput: ::Integer?
91
+ },
92
+ volumes_per_instance: ::Integer?
93
+ }
94
+
95
+ type auto_scaling_policy = {
96
+ constraints: {
97
+ min_capacity: ::Integer,
98
+ max_capacity: ::Integer
99
+ },
100
+ rules: Array[
101
+ Params::scaling_rule
102
+ ]
103
+ }
104
+
105
+ type instance_group_config = {
106
+ name: ::String?,
107
+ market: ("ON_DEMAND" | "SPOT")?,
108
+ instance_role: ("MASTER" | "CORE" | "TASK"),
109
+ bid_price: ::String?,
110
+ instance_type: ::String,
111
+ instance_count: ::Integer,
112
+ configurations: Array[
113
+ {
114
+ classification: ::String?,
115
+ configurations: untyped?,
116
+ properties: Hash[::String, ::String]?
117
+ }
118
+ ]?,
119
+ ebs_configuration: Params::ebs_configuration?,
120
+ auto_scaling_policy: Params::auto_scaling_policy?,
121
+ custom_ami_id: ::String?
122
+ }
123
+
124
+ type scaling_action = {
125
+ market: ("ON_DEMAND" | "SPOT")?,
126
+ simple_scaling_policy_configuration: {
127
+ adjustment_type: ("CHANGE_IN_CAPACITY" | "PERCENT_CHANGE_IN_CAPACITY" | "EXACT_CAPACITY")?,
128
+ scaling_adjustment: ::Integer,
129
+ cool_down: ::Integer?
130
+ }
131
+ }
132
+
133
+ type cloud_watch_alarm_definition = {
134
+ comparison_operator: ("GREATER_THAN_OR_EQUAL" | "GREATER_THAN" | "LESS_THAN" | "LESS_THAN_OR_EQUAL"),
135
+ evaluation_periods: ::Integer?,
136
+ metric_name: ::String,
137
+ namespace: ::String?,
138
+ period: ::Integer,
139
+ statistic: ("SAMPLE_COUNT" | "AVERAGE" | "SUM" | "MINIMUM" | "MAXIMUM")?,
140
+ threshold: ::Float,
141
+ unit: ("NONE" | "SECONDS" | "MICRO_SECONDS" | "MILLI_SECONDS" | "BYTES" | "KILO_BYTES" | "MEGA_BYTES" | "GIGA_BYTES" | "TERA_BYTES" | "BITS" | "KILO_BITS" | "MEGA_BITS" | "GIGA_BITS" | "TERA_BITS" | "PERCENT" | "COUNT" | "BYTES_PER_SECOND" | "KILO_BYTES_PER_SECOND" | "MEGA_BYTES_PER_SECOND" | "GIGA_BYTES_PER_SECOND" | "TERA_BYTES_PER_SECOND" | "BITS_PER_SECOND" | "KILO_BITS_PER_SECOND" | "MEGA_BITS_PER_SECOND" | "GIGA_BITS_PER_SECOND" | "TERA_BITS_PER_SECOND" | "COUNT_PER_SECOND")?,
142
+ dimensions: Array[
143
+ {
144
+ key: ::String?,
145
+ value: ::String?
146
+ }
147
+ ]?
148
+ }
149
+
150
+ type scaling_trigger = {
151
+ cloud_watch_alarm_definition: Params::cloud_watch_alarm_definition
152
+ }
153
+
154
+ type scaling_rule = {
155
+ name: ::String,
156
+ description: ::String?,
157
+ action: Params::scaling_action,
158
+ trigger: Params::scaling_trigger
159
+ }
160
+
161
+ type hadoop_jar_step_config = {
162
+ properties: Array[
163
+ {
164
+ key: ::String?,
165
+ value: ::String?
166
+ }
167
+ ]?,
168
+ jar: ::String,
169
+ main_class: ::String?,
170
+ args: Array[::String]?
171
+ }
172
+
173
+ type step_config = {
174
+ name: ::String,
175
+ action_on_failure: ("TERMINATE_JOB_FLOW" | "TERMINATE_CLUSTER" | "CANCEL_AND_WAIT" | "CONTINUE")?,
176
+ hadoop_jar_step: Params::hadoop_jar_step_config,
177
+ step_monitoring_configuration: {
178
+ s3_monitoring_configuration: {
179
+ log_uri: ::String?,
180
+ encryption_key_arn: ::String?
181
+ }?
182
+ }?
183
+ }
184
+
185
+ type managed_scaling_policy = {
186
+ compute_limits: {
187
+ unit_type: ("InstanceFleetUnits" | "Instances" | "VCPU"),
188
+ minimum_capacity_units: ::Integer,
189
+ maximum_capacity_units: ::Integer,
190
+ maximum_on_demand_capacity_units: ::Integer?,
191
+ maximum_core_capacity_units: ::Integer?
192
+ }?,
193
+ utilization_performance_index: ::Integer?,
194
+ scaling_strategy: ("DEFAULT" | "ADVANCED")?
195
+ }
196
+
197
+ end
198
+ end
199
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-emr
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.129.0
4
+ version: 1.130.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
@@ -68,6 +68,7 @@ files:
68
68
  - lib/aws-sdk-emr/waiters.rb
69
69
  - sig/client.rbs
70
70
  - sig/errors.rbs
71
+ - sig/params.rbs
71
72
  - sig/resource.rbs
72
73
  - sig/types.rbs
73
74
  - sig/waiters.rbs