aws-sdk-emr 1.63.0 → 1.64.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-emr/client.rb +69 -36
- data/lib/aws-sdk-emr/client_api.rb +32 -0
- data/lib/aws-sdk-emr/endpoint_parameters.rb +3 -0
- data/lib/aws-sdk-emr/endpoint_provider.rb +78 -80
- data/lib/aws-sdk-emr/endpoints.rb +14 -0
- data/lib/aws-sdk-emr/plugins/endpoints.rb +2 -0
- data/lib/aws-sdk-emr/types.rb +109 -1807
- data/lib/aws-sdk-emr.rb +1 -1
- metadata +2 -2
data/lib/aws-sdk-emr/types.rb
CHANGED
@@ -10,69 +10,6 @@
|
|
10
10
|
module Aws::EMR
|
11
11
|
module Types
|
12
12
|
|
13
|
-
# @note When making an API call, you may pass AddInstanceFleetInput
|
14
|
-
# data as a hash:
|
15
|
-
#
|
16
|
-
# {
|
17
|
-
# cluster_id: "XmlStringMaxLen256", # required
|
18
|
-
# instance_fleet: { # required
|
19
|
-
# name: "XmlStringMaxLen256",
|
20
|
-
# instance_fleet_type: "MASTER", # required, accepts MASTER, CORE, TASK
|
21
|
-
# target_on_demand_capacity: 1,
|
22
|
-
# target_spot_capacity: 1,
|
23
|
-
# instance_type_configs: [
|
24
|
-
# {
|
25
|
-
# instance_type: "InstanceType", # required
|
26
|
-
# weighted_capacity: 1,
|
27
|
-
# bid_price: "XmlStringMaxLen256",
|
28
|
-
# bid_price_as_percentage_of_on_demand_price: 1.0,
|
29
|
-
# ebs_configuration: {
|
30
|
-
# ebs_block_device_configs: [
|
31
|
-
# {
|
32
|
-
# volume_specification: { # required
|
33
|
-
# volume_type: "String", # required
|
34
|
-
# iops: 1,
|
35
|
-
# size_in_gb: 1, # required
|
36
|
-
# throughput: 1,
|
37
|
-
# },
|
38
|
-
# volumes_per_instance: 1,
|
39
|
-
# },
|
40
|
-
# ],
|
41
|
-
# ebs_optimized: false,
|
42
|
-
# },
|
43
|
-
# configurations: [
|
44
|
-
# {
|
45
|
-
# classification: "String",
|
46
|
-
# configurations: {
|
47
|
-
# # recursive ConfigurationList
|
48
|
-
# },
|
49
|
-
# properties: {
|
50
|
-
# "String" => "String",
|
51
|
-
# },
|
52
|
-
# },
|
53
|
-
# ],
|
54
|
-
# custom_ami_id: "XmlStringMaxLen256",
|
55
|
-
# },
|
56
|
-
# ],
|
57
|
-
# launch_specifications: {
|
58
|
-
# spot_specification: {
|
59
|
-
# timeout_duration_minutes: 1, # required
|
60
|
-
# timeout_action: "SWITCH_TO_ON_DEMAND", # required, accepts SWITCH_TO_ON_DEMAND, TERMINATE_CLUSTER
|
61
|
-
# block_duration_minutes: 1,
|
62
|
-
# allocation_strategy: "capacity-optimized", # accepts capacity-optimized
|
63
|
-
# },
|
64
|
-
# on_demand_specification: {
|
65
|
-
# allocation_strategy: "lowest-price", # required, accepts lowest-price
|
66
|
-
# capacity_reservation_options: {
|
67
|
-
# usage_strategy: "use-capacity-reservations-first", # accepts use-capacity-reservations-first
|
68
|
-
# capacity_reservation_preference: "open", # accepts open, none
|
69
|
-
# capacity_reservation_resource_group_arn: "XmlStringMaxLen256",
|
70
|
-
# },
|
71
|
-
# },
|
72
|
-
# },
|
73
|
-
# },
|
74
|
-
# }
|
75
|
-
#
|
76
13
|
# @!attribute [rw] cluster_id
|
77
14
|
# The unique identifier of the cluster.
|
78
15
|
# @return [String]
|
@@ -114,87 +51,6 @@ module Aws::EMR
|
|
114
51
|
|
115
52
|
# Input to an AddInstanceGroups call.
|
116
53
|
#
|
117
|
-
# @note When making an API call, you may pass AddInstanceGroupsInput
|
118
|
-
# data as a hash:
|
119
|
-
#
|
120
|
-
# {
|
121
|
-
# instance_groups: [ # required
|
122
|
-
# {
|
123
|
-
# name: "XmlStringMaxLen256",
|
124
|
-
# market: "ON_DEMAND", # accepts ON_DEMAND, SPOT
|
125
|
-
# instance_role: "MASTER", # required, accepts MASTER, CORE, TASK
|
126
|
-
# bid_price: "XmlStringMaxLen256",
|
127
|
-
# instance_type: "InstanceType", # required
|
128
|
-
# instance_count: 1, # required
|
129
|
-
# configurations: [
|
130
|
-
# {
|
131
|
-
# classification: "String",
|
132
|
-
# configurations: {
|
133
|
-
# # recursive ConfigurationList
|
134
|
-
# },
|
135
|
-
# properties: {
|
136
|
-
# "String" => "String",
|
137
|
-
# },
|
138
|
-
# },
|
139
|
-
# ],
|
140
|
-
# ebs_configuration: {
|
141
|
-
# ebs_block_device_configs: [
|
142
|
-
# {
|
143
|
-
# volume_specification: { # required
|
144
|
-
# volume_type: "String", # required
|
145
|
-
# iops: 1,
|
146
|
-
# size_in_gb: 1, # required
|
147
|
-
# throughput: 1,
|
148
|
-
# },
|
149
|
-
# volumes_per_instance: 1,
|
150
|
-
# },
|
151
|
-
# ],
|
152
|
-
# ebs_optimized: false,
|
153
|
-
# },
|
154
|
-
# auto_scaling_policy: {
|
155
|
-
# constraints: { # required
|
156
|
-
# min_capacity: 1, # required
|
157
|
-
# max_capacity: 1, # required
|
158
|
-
# },
|
159
|
-
# rules: [ # required
|
160
|
-
# {
|
161
|
-
# name: "String", # required
|
162
|
-
# description: "String",
|
163
|
-
# action: { # required
|
164
|
-
# market: "ON_DEMAND", # accepts ON_DEMAND, SPOT
|
165
|
-
# simple_scaling_policy_configuration: { # required
|
166
|
-
# adjustment_type: "CHANGE_IN_CAPACITY", # accepts CHANGE_IN_CAPACITY, PERCENT_CHANGE_IN_CAPACITY, EXACT_CAPACITY
|
167
|
-
# scaling_adjustment: 1, # required
|
168
|
-
# cool_down: 1,
|
169
|
-
# },
|
170
|
-
# },
|
171
|
-
# trigger: { # required
|
172
|
-
# cloud_watch_alarm_definition: { # required
|
173
|
-
# comparison_operator: "GREATER_THAN_OR_EQUAL", # required, accepts GREATER_THAN_OR_EQUAL, GREATER_THAN, LESS_THAN, LESS_THAN_OR_EQUAL
|
174
|
-
# evaluation_periods: 1,
|
175
|
-
# metric_name: "String", # required
|
176
|
-
# namespace: "String",
|
177
|
-
# period: 1, # required
|
178
|
-
# statistic: "SAMPLE_COUNT", # accepts SAMPLE_COUNT, AVERAGE, SUM, MINIMUM, MAXIMUM
|
179
|
-
# threshold: 1.0, # required
|
180
|
-
# unit: "NONE", # accepts 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
|
181
|
-
# dimensions: [
|
182
|
-
# {
|
183
|
-
# key: "String",
|
184
|
-
# value: "String",
|
185
|
-
# },
|
186
|
-
# ],
|
187
|
-
# },
|
188
|
-
# },
|
189
|
-
# },
|
190
|
-
# ],
|
191
|
-
# },
|
192
|
-
# custom_ami_id: "XmlStringMaxLen256",
|
193
|
-
# },
|
194
|
-
# ],
|
195
|
-
# job_flow_id: "XmlStringMaxLen256", # required
|
196
|
-
# }
|
197
|
-
#
|
198
54
|
# @!attribute [rw] instance_groups
|
199
55
|
# Instance groups to add.
|
200
56
|
# @return [Array<Types::InstanceGroupConfig>]
|
@@ -238,31 +94,6 @@ module Aws::EMR
|
|
238
94
|
|
239
95
|
# The input argument to the AddJobFlowSteps operation.
|
240
96
|
#
|
241
|
-
# @note When making an API call, you may pass AddJobFlowStepsInput
|
242
|
-
# data as a hash:
|
243
|
-
#
|
244
|
-
# {
|
245
|
-
# job_flow_id: "XmlStringMaxLen256", # required
|
246
|
-
# steps: [ # required
|
247
|
-
# {
|
248
|
-
# name: "XmlStringMaxLen256", # required
|
249
|
-
# action_on_failure: "TERMINATE_JOB_FLOW", # accepts TERMINATE_JOB_FLOW, TERMINATE_CLUSTER, CANCEL_AND_WAIT, CONTINUE
|
250
|
-
# hadoop_jar_step: { # required
|
251
|
-
# properties: [
|
252
|
-
# {
|
253
|
-
# key: "XmlString",
|
254
|
-
# value: "XmlString",
|
255
|
-
# },
|
256
|
-
# ],
|
257
|
-
# jar: "XmlString", # required
|
258
|
-
# main_class: "XmlString",
|
259
|
-
# args: ["XmlString"],
|
260
|
-
# },
|
261
|
-
# },
|
262
|
-
# ],
|
263
|
-
# execution_role_arn: "ArnType",
|
264
|
-
# }
|
265
|
-
#
|
266
97
|
# @!attribute [rw] job_flow_id
|
267
98
|
# A string that uniquely identifies the job flow. This identifier is
|
268
99
|
# returned by RunJobFlow and can also be obtained from ListClusters.
|
@@ -310,19 +141,6 @@ module Aws::EMR
|
|
310
141
|
# This input identifies an Amazon EMR resource and a list of tags to
|
311
142
|
# attach.
|
312
143
|
#
|
313
|
-
# @note When making an API call, you may pass AddTagsInput
|
314
|
-
# data as a hash:
|
315
|
-
#
|
316
|
-
# {
|
317
|
-
# resource_id: "ResourceId", # required
|
318
|
-
# tags: [ # required
|
319
|
-
# {
|
320
|
-
# key: "String",
|
321
|
-
# value: "String",
|
322
|
-
# },
|
323
|
-
# ],
|
324
|
-
# }
|
325
|
-
#
|
326
144
|
# @!attribute [rw] resource_id
|
327
145
|
# The Amazon EMR resource identifier to which tags will be added. For
|
328
146
|
# example, a cluster identifier or an Amazon EMR Studio ID.
|
@@ -366,18 +184,6 @@ module Aws::EMR
|
|
366
184
|
#
|
367
185
|
# [1]: https://docs.aws.amazon.com/emr/latest/ReleaseGuide/emr-configure-apps.html
|
368
186
|
#
|
369
|
-
# @note When making an API call, you may pass Application
|
370
|
-
# data as a hash:
|
371
|
-
#
|
372
|
-
# {
|
373
|
-
# name: "String",
|
374
|
-
# version: "String",
|
375
|
-
# args: ["String"],
|
376
|
-
# additional_info: {
|
377
|
-
# "String" => "String",
|
378
|
-
# },
|
379
|
-
# }
|
380
|
-
#
|
381
187
|
# @!attribute [rw] name
|
382
188
|
# The name of the application.
|
383
189
|
# @return [String]
|
@@ -413,48 +219,6 @@ module Aws::EMR
|
|
413
219
|
# response to the value of a CloudWatch metric. See
|
414
220
|
# PutAutoScalingPolicy.
|
415
221
|
#
|
416
|
-
# @note When making an API call, you may pass AutoScalingPolicy
|
417
|
-
# data as a hash:
|
418
|
-
#
|
419
|
-
# {
|
420
|
-
# constraints: { # required
|
421
|
-
# min_capacity: 1, # required
|
422
|
-
# max_capacity: 1, # required
|
423
|
-
# },
|
424
|
-
# rules: [ # required
|
425
|
-
# {
|
426
|
-
# name: "String", # required
|
427
|
-
# description: "String",
|
428
|
-
# action: { # required
|
429
|
-
# market: "ON_DEMAND", # accepts ON_DEMAND, SPOT
|
430
|
-
# simple_scaling_policy_configuration: { # required
|
431
|
-
# adjustment_type: "CHANGE_IN_CAPACITY", # accepts CHANGE_IN_CAPACITY, PERCENT_CHANGE_IN_CAPACITY, EXACT_CAPACITY
|
432
|
-
# scaling_adjustment: 1, # required
|
433
|
-
# cool_down: 1,
|
434
|
-
# },
|
435
|
-
# },
|
436
|
-
# trigger: { # required
|
437
|
-
# cloud_watch_alarm_definition: { # required
|
438
|
-
# comparison_operator: "GREATER_THAN_OR_EQUAL", # required, accepts GREATER_THAN_OR_EQUAL, GREATER_THAN, LESS_THAN, LESS_THAN_OR_EQUAL
|
439
|
-
# evaluation_periods: 1,
|
440
|
-
# metric_name: "String", # required
|
441
|
-
# namespace: "String",
|
442
|
-
# period: 1, # required
|
443
|
-
# statistic: "SAMPLE_COUNT", # accepts SAMPLE_COUNT, AVERAGE, SUM, MINIMUM, MAXIMUM
|
444
|
-
# threshold: 1.0, # required
|
445
|
-
# unit: "NONE", # accepts 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
|
446
|
-
# dimensions: [
|
447
|
-
# {
|
448
|
-
# key: "String",
|
449
|
-
# value: "String",
|
450
|
-
# },
|
451
|
-
# ],
|
452
|
-
# },
|
453
|
-
# },
|
454
|
-
# },
|
455
|
-
# ],
|
456
|
-
# }
|
457
|
-
#
|
458
222
|
# @!attribute [rw] constraints
|
459
223
|
# The upper and lower EC2 instance limits for an automatic scaling
|
460
224
|
# policy. Automatic scaling activity will not cause an instance group
|
@@ -558,13 +322,6 @@ module Aws::EMR
|
|
558
322
|
#
|
559
323
|
# [1]: https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-plan-termination.html
|
560
324
|
#
|
561
|
-
# @note When making an API call, you may pass AutoTerminationPolicy
|
562
|
-
# data as a hash:
|
563
|
-
#
|
564
|
-
# {
|
565
|
-
# idle_timeout: 1,
|
566
|
-
# }
|
567
|
-
#
|
568
325
|
# @!attribute [rw] idle_timeout
|
569
326
|
# Specifies the amount of idle time in seconds after which the cluster
|
570
327
|
# automatically terminates. You can specify a minimum of 60 seconds
|
@@ -586,19 +343,6 @@ module Aws::EMR
|
|
586
343
|
# the port is specified as an exception using
|
587
344
|
# `PermittedPublicSecurityGroupRuleRanges`.
|
588
345
|
#
|
589
|
-
# @note When making an API call, you may pass BlockPublicAccessConfiguration
|
590
|
-
# data as a hash:
|
591
|
-
#
|
592
|
-
# {
|
593
|
-
# block_public_security_group_rules: false, # required
|
594
|
-
# permitted_public_security_group_rule_ranges: [
|
595
|
-
# {
|
596
|
-
# min_range: 1, # required
|
597
|
-
# max_range: 1,
|
598
|
-
# },
|
599
|
-
# ],
|
600
|
-
# }
|
601
|
-
#
|
602
346
|
# @!attribute [rw] block_public_security_group_rules
|
603
347
|
# Indicates whether Amazon EMR block public access is enabled (`true`)
|
604
348
|
# or disabled (`false`). By default, the value is `false` for accounts
|
@@ -655,17 +399,6 @@ module Aws::EMR
|
|
655
399
|
|
656
400
|
# Configuration of a bootstrap action.
|
657
401
|
#
|
658
|
-
# @note When making an API call, you may pass BootstrapActionConfig
|
659
|
-
# data as a hash:
|
660
|
-
#
|
661
|
-
# {
|
662
|
-
# name: "XmlStringMaxLen256", # required
|
663
|
-
# script_bootstrap_action: { # required
|
664
|
-
# path: "XmlString", # required
|
665
|
-
# args: ["XmlString"],
|
666
|
-
# },
|
667
|
-
# }
|
668
|
-
#
|
669
402
|
# @!attribute [rw] name
|
670
403
|
# The name of the bootstrap action.
|
671
404
|
# @return [String]
|
@@ -726,15 +459,6 @@ module Aws::EMR
|
|
726
459
|
|
727
460
|
# The input argument to the CancelSteps operation.
|
728
461
|
#
|
729
|
-
# @note When making an API call, you may pass CancelStepsInput
|
730
|
-
# data as a hash:
|
731
|
-
#
|
732
|
-
# {
|
733
|
-
# cluster_id: "XmlStringMaxLen256", # required
|
734
|
-
# step_ids: ["XmlStringMaxLen256"], # required
|
735
|
-
# step_cancellation_option: "SEND_INTERRUPT", # accepts SEND_INTERRUPT, TERMINATE_PROCESS
|
736
|
-
# }
|
737
|
-
#
|
738
462
|
# @!attribute [rw] cluster_id
|
739
463
|
# The `ClusterID` for the specified steps that will be canceled. Use
|
740
464
|
# RunJobFlow and ListClusters to get ClusterIDs.
|
@@ -779,26 +503,6 @@ module Aws::EMR
|
|
779
503
|
# automatic scaling activity is triggered. When the defined alarm
|
780
504
|
# conditions are satisfied, scaling activity begins.
|
781
505
|
#
|
782
|
-
# @note When making an API call, you may pass CloudWatchAlarmDefinition
|
783
|
-
# data as a hash:
|
784
|
-
#
|
785
|
-
# {
|
786
|
-
# comparison_operator: "GREATER_THAN_OR_EQUAL", # required, accepts GREATER_THAN_OR_EQUAL, GREATER_THAN, LESS_THAN, LESS_THAN_OR_EQUAL
|
787
|
-
# evaluation_periods: 1,
|
788
|
-
# metric_name: "String", # required
|
789
|
-
# namespace: "String",
|
790
|
-
# period: 1, # required
|
791
|
-
# statistic: "SAMPLE_COUNT", # accepts SAMPLE_COUNT, AVERAGE, SUM, MINIMUM, MAXIMUM
|
792
|
-
# threshold: 1.0, # required
|
793
|
-
# unit: "NONE", # accepts 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
|
794
|
-
# dimensions: [
|
795
|
-
# {
|
796
|
-
# key: "String",
|
797
|
-
# value: "String",
|
798
|
-
# },
|
799
|
-
# ],
|
800
|
-
# }
|
801
|
-
#
|
802
506
|
# @!attribute [rw] comparison_operator
|
803
507
|
# Determines how the metric specified by `MetricName` is compared to
|
804
508
|
# the value specified by `Threshold`.
|
@@ -1252,17 +956,6 @@ module Aws::EMR
|
|
1252
956
|
# limit only applies to the core and task nodes. The master node cannot
|
1253
957
|
# be scaled after initial configuration.
|
1254
958
|
#
|
1255
|
-
# @note When making an API call, you may pass ComputeLimits
|
1256
|
-
# data as a hash:
|
1257
|
-
#
|
1258
|
-
# {
|
1259
|
-
# unit_type: "InstanceFleetUnits", # required, accepts InstanceFleetUnits, Instances, VCPU
|
1260
|
-
# minimum_capacity_units: 1, # required
|
1261
|
-
# maximum_capacity_units: 1, # required
|
1262
|
-
# maximum_on_demand_capacity_units: 1,
|
1263
|
-
# maximum_core_capacity_units: 1,
|
1264
|
-
# }
|
1265
|
-
#
|
1266
959
|
# @!attribute [rw] unit_type
|
1267
960
|
# The unit type used for specifying a managed scaling policy.
|
1268
961
|
# @return [String]
|
@@ -1327,27 +1020,6 @@ module Aws::EMR
|
|
1327
1020
|
#
|
1328
1021
|
# [1]: https://docs.aws.amazon.com/emr/latest/ReleaseGuide/emr-configure-apps.html
|
1329
1022
|
#
|
1330
|
-
# @note When making an API call, you may pass Configuration
|
1331
|
-
# data as a hash:
|
1332
|
-
#
|
1333
|
-
# {
|
1334
|
-
# classification: "String",
|
1335
|
-
# configurations: [
|
1336
|
-
# {
|
1337
|
-
# classification: "String",
|
1338
|
-
# configurations: {
|
1339
|
-
# # recursive ConfigurationList
|
1340
|
-
# },
|
1341
|
-
# properties: {
|
1342
|
-
# "String" => "String",
|
1343
|
-
# },
|
1344
|
-
# },
|
1345
|
-
# ],
|
1346
|
-
# properties: {
|
1347
|
-
# "String" => "String",
|
1348
|
-
# },
|
1349
|
-
# }
|
1350
|
-
#
|
1351
1023
|
# @!attribute [rw] classification
|
1352
1024
|
# The classification within a configuration.
|
1353
1025
|
# @return [String]
|
@@ -1371,14 +1043,6 @@ module Aws::EMR
|
|
1371
1043
|
include Aws::Structure
|
1372
1044
|
end
|
1373
1045
|
|
1374
|
-
# @note When making an API call, you may pass CreateSecurityConfigurationInput
|
1375
|
-
# data as a hash:
|
1376
|
-
#
|
1377
|
-
# {
|
1378
|
-
# name: "XmlString", # required
|
1379
|
-
# security_configuration: "String", # required
|
1380
|
-
# }
|
1381
|
-
#
|
1382
1046
|
# @!attribute [rw] name
|
1383
1047
|
# The name of the security configuration.
|
1384
1048
|
# @return [String]
|
@@ -1419,30 +1083,6 @@ module Aws::EMR
|
|
1419
1083
|
include Aws::Structure
|
1420
1084
|
end
|
1421
1085
|
|
1422
|
-
# @note When making an API call, you may pass CreateStudioInput
|
1423
|
-
# data as a hash:
|
1424
|
-
#
|
1425
|
-
# {
|
1426
|
-
# name: "XmlStringMaxLen256", # required
|
1427
|
-
# description: "XmlStringMaxLen256",
|
1428
|
-
# auth_mode: "SSO", # required, accepts SSO, IAM
|
1429
|
-
# vpc_id: "XmlStringMaxLen256", # required
|
1430
|
-
# subnet_ids: ["String"], # required
|
1431
|
-
# service_role: "XmlString", # required
|
1432
|
-
# user_role: "XmlString",
|
1433
|
-
# workspace_security_group_id: "XmlStringMaxLen256", # required
|
1434
|
-
# engine_security_group_id: "XmlStringMaxLen256", # required
|
1435
|
-
# default_s3_location: "XmlString", # required
|
1436
|
-
# idp_auth_url: "XmlString",
|
1437
|
-
# idp_relay_state_parameter_name: "XmlStringMaxLen256",
|
1438
|
-
# tags: [
|
1439
|
-
# {
|
1440
|
-
# key: "String",
|
1441
|
-
# value: "String",
|
1442
|
-
# },
|
1443
|
-
# ],
|
1444
|
-
# }
|
1445
|
-
#
|
1446
1086
|
# @!attribute [rw] name
|
1447
1087
|
# A descriptive name for the Amazon EMR Studio.
|
1448
1088
|
# @return [String]
|
@@ -1452,8 +1092,8 @@ module Aws::EMR
|
|
1452
1092
|
# @return [String]
|
1453
1093
|
#
|
1454
1094
|
# @!attribute [rw] auth_mode
|
1455
|
-
# Specifies whether the Studio authenticates users using IAM or
|
1456
|
-
#
|
1095
|
+
# Specifies whether the Studio authenticates users using IAM or IAM
|
1096
|
+
# Identity Center.
|
1457
1097
|
# @return [String]
|
1458
1098
|
#
|
1459
1099
|
# @!attribute [rw] vpc_id
|
@@ -1476,8 +1116,8 @@ module Aws::EMR
|
|
1476
1116
|
#
|
1477
1117
|
# @!attribute [rw] user_role
|
1478
1118
|
# The IAM user role that users and groups assume when logged in to an
|
1479
|
-
# Amazon EMR Studio. Only specify a `UserRole` when you use
|
1480
|
-
#
|
1119
|
+
# Amazon EMR Studio. Only specify a `UserRole` when you use IAM
|
1120
|
+
# Identity Center authentication. The permissions attached to the
|
1481
1121
|
# `UserRole` can be scoped down for each user or group using session
|
1482
1122
|
# policies.
|
1483
1123
|
# @return [String]
|
@@ -1560,17 +1200,6 @@ module Aws::EMR
|
|
1560
1200
|
include Aws::Structure
|
1561
1201
|
end
|
1562
1202
|
|
1563
|
-
# @note When making an API call, you may pass CreateStudioSessionMappingInput
|
1564
|
-
# data as a hash:
|
1565
|
-
#
|
1566
|
-
# {
|
1567
|
-
# studio_id: "XmlStringMaxLen256", # required
|
1568
|
-
# identity_id: "XmlStringMaxLen256",
|
1569
|
-
# identity_name: "XmlStringMaxLen256",
|
1570
|
-
# identity_type: "USER", # required, accepts USER, GROUP
|
1571
|
-
# session_policy_arn: "XmlStringMaxLen256", # required
|
1572
|
-
# }
|
1573
|
-
#
|
1574
1203
|
# @!attribute [rw] studio_id
|
1575
1204
|
# The ID of the Amazon EMR Studio to which the user or group will be
|
1576
1205
|
# mapped.
|
@@ -1578,10 +1207,10 @@ module Aws::EMR
|
|
1578
1207
|
#
|
1579
1208
|
# @!attribute [rw] identity_id
|
1580
1209
|
# The globally unique identifier (GUID) of the user or group from the
|
1581
|
-
#
|
1582
|
-
# [UserId][1] and [GroupId][2] in the *
|
1583
|
-
#
|
1584
|
-
#
|
1210
|
+
# IAM Identity Center Identity Store. For more information, see
|
1211
|
+
# [UserId][1] and [GroupId][2] in the *IAM Identity Center Identity
|
1212
|
+
# Store API Reference*. Either `IdentityName` or `IdentityId` must be
|
1213
|
+
# specified, but not both.
|
1585
1214
|
#
|
1586
1215
|
#
|
1587
1216
|
#
|
@@ -1591,7 +1220,7 @@ module Aws::EMR
|
|
1591
1220
|
#
|
1592
1221
|
# @!attribute [rw] identity_name
|
1593
1222
|
# The name of the user or group. For more information, see
|
1594
|
-
# [UserName][1] and [DisplayName][2] in the *
|
1223
|
+
# [UserName][1] and [DisplayName][2] in the *IAM Identity Center
|
1595
1224
|
# Identity Store API Reference*. Either `IdentityName` or `IdentityId`
|
1596
1225
|
# must be specified, but not both.
|
1597
1226
|
#
|
@@ -1630,13 +1259,29 @@ module Aws::EMR
|
|
1630
1259
|
include Aws::Structure
|
1631
1260
|
end
|
1632
1261
|
|
1633
|
-
#
|
1634
|
-
#
|
1262
|
+
# The credentials that you can use to connect to cluster endpoints.
|
1263
|
+
# Credentials consist of a username and a password.
|
1264
|
+
#
|
1265
|
+
# @note Credentials is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of Credentials corresponding to the set member.
|
1266
|
+
#
|
1267
|
+
# @!attribute [rw] username_password
|
1268
|
+
# The username and password that you use to connect to cluster
|
1269
|
+
# endpoints.
|
1270
|
+
# @return [Types::UsernamePassword]
|
1635
1271
|
#
|
1636
|
-
#
|
1637
|
-
# name: "XmlString", # required
|
1638
|
-
# }
|
1272
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/Credentials AWS API Documentation
|
1639
1273
|
#
|
1274
|
+
class Credentials < Struct.new(
|
1275
|
+
:username_password,
|
1276
|
+
:unknown)
|
1277
|
+
SENSITIVE = [:username_password]
|
1278
|
+
include Aws::Structure
|
1279
|
+
include Aws::Structure::Union
|
1280
|
+
|
1281
|
+
class UsernamePassword < Credentials; end
|
1282
|
+
class Unknown < Credentials; end
|
1283
|
+
end
|
1284
|
+
|
1640
1285
|
# @!attribute [rw] name
|
1641
1286
|
# The name of the security configuration.
|
1642
1287
|
# @return [String]
|
@@ -1653,13 +1298,6 @@ module Aws::EMR
|
|
1653
1298
|
#
|
1654
1299
|
class DeleteSecurityConfigurationOutput < Aws::EmptyStructure; end
|
1655
1300
|
|
1656
|
-
# @note When making an API call, you may pass DeleteStudioInput
|
1657
|
-
# data as a hash:
|
1658
|
-
#
|
1659
|
-
# {
|
1660
|
-
# studio_id: "XmlStringMaxLen256", # required
|
1661
|
-
# }
|
1662
|
-
#
|
1663
1301
|
# @!attribute [rw] studio_id
|
1664
1302
|
# The ID of the Amazon EMR Studio.
|
1665
1303
|
# @return [String]
|
@@ -1672,16 +1310,6 @@ module Aws::EMR
|
|
1672
1310
|
include Aws::Structure
|
1673
1311
|
end
|
1674
1312
|
|
1675
|
-
# @note When making an API call, you may pass DeleteStudioSessionMappingInput
|
1676
|
-
# data as a hash:
|
1677
|
-
#
|
1678
|
-
# {
|
1679
|
-
# studio_id: "XmlStringMaxLen256", # required
|
1680
|
-
# identity_id: "XmlStringMaxLen256",
|
1681
|
-
# identity_name: "XmlStringMaxLen256",
|
1682
|
-
# identity_type: "USER", # required, accepts USER, GROUP
|
1683
|
-
# }
|
1684
|
-
#
|
1685
1313
|
# @!attribute [rw] studio_id
|
1686
1314
|
# The ID of the Amazon EMR Studio.
|
1687
1315
|
# @return [String]
|
@@ -1689,7 +1317,7 @@ module Aws::EMR
|
|
1689
1317
|
# @!attribute [rw] identity_id
|
1690
1318
|
# The globally unique identifier (GUID) of the user or group to remove
|
1691
1319
|
# from the Amazon EMR Studio. For more information, see [UserId][1]
|
1692
|
-
# and [GroupId][2] in the *
|
1320
|
+
# and [GroupId][2] in the *IAM Identity Center Identity Store API
|
1693
1321
|
# Reference*. Either `IdentityName` or `IdentityId` must be specified.
|
1694
1322
|
#
|
1695
1323
|
#
|
@@ -1701,7 +1329,7 @@ module Aws::EMR
|
|
1701
1329
|
# @!attribute [rw] identity_name
|
1702
1330
|
# The name of the user name or group to remove from the Amazon EMR
|
1703
1331
|
# Studio. For more information, see [UserName][1] and [DisplayName][2]
|
1704
|
-
# in the *
|
1332
|
+
# in the *IAM Identity Center Store API Reference*. Either
|
1705
1333
|
# `IdentityName` or `IdentityId` must be specified.
|
1706
1334
|
#
|
1707
1335
|
#
|
@@ -1728,13 +1356,6 @@ module Aws::EMR
|
|
1728
1356
|
|
1729
1357
|
# This input determines which cluster to describe.
|
1730
1358
|
#
|
1731
|
-
# @note When making an API call, you may pass DescribeClusterInput
|
1732
|
-
# data as a hash:
|
1733
|
-
#
|
1734
|
-
# {
|
1735
|
-
# cluster_id: "ClusterId", # required
|
1736
|
-
# }
|
1737
|
-
#
|
1738
1359
|
# @!attribute [rw] cluster_id
|
1739
1360
|
# The identifier of the cluster to describe.
|
1740
1361
|
# @return [String]
|
@@ -1763,16 +1384,6 @@ module Aws::EMR
|
|
1763
1384
|
|
1764
1385
|
# The input for the DescribeJobFlows operation.
|
1765
1386
|
#
|
1766
|
-
# @note When making an API call, you may pass DescribeJobFlowsInput
|
1767
|
-
# data as a hash:
|
1768
|
-
#
|
1769
|
-
# {
|
1770
|
-
# created_after: Time.now,
|
1771
|
-
# created_before: Time.now,
|
1772
|
-
# job_flow_ids: ["XmlString"],
|
1773
|
-
# job_flow_states: ["STARTING"], # accepts STARTING, BOOTSTRAPPING, RUNNING, WAITING, SHUTTING_DOWN, TERMINATED, COMPLETED, FAILED
|
1774
|
-
# }
|
1775
|
-
#
|
1776
1387
|
# @!attribute [rw] created_after
|
1777
1388
|
# Return only job flows created after this date and time.
|
1778
1389
|
# @return [Time]
|
@@ -1814,13 +1425,6 @@ module Aws::EMR
|
|
1814
1425
|
include Aws::Structure
|
1815
1426
|
end
|
1816
1427
|
|
1817
|
-
# @note When making an API call, you may pass DescribeNotebookExecutionInput
|
1818
|
-
# data as a hash:
|
1819
|
-
#
|
1820
|
-
# {
|
1821
|
-
# notebook_execution_id: "XmlStringMaxLen256", # required
|
1822
|
-
# }
|
1823
|
-
#
|
1824
1428
|
# @!attribute [rw] notebook_execution_id
|
1825
1429
|
# The unique identifier of the notebook execution.
|
1826
1430
|
# @return [String]
|
@@ -1845,15 +1449,6 @@ module Aws::EMR
|
|
1845
1449
|
include Aws::Structure
|
1846
1450
|
end
|
1847
1451
|
|
1848
|
-
# @note When making an API call, you may pass DescribeReleaseLabelInput
|
1849
|
-
# data as a hash:
|
1850
|
-
#
|
1851
|
-
# {
|
1852
|
-
# release_label: "String",
|
1853
|
-
# next_token: "String",
|
1854
|
-
# max_results: 1,
|
1855
|
-
# }
|
1856
|
-
#
|
1857
1452
|
# @!attribute [rw] release_label
|
1858
1453
|
# The target release label to be described.
|
1859
1454
|
# @return [String]
|
@@ -1915,13 +1510,6 @@ module Aws::EMR
|
|
1915
1510
|
include Aws::Structure
|
1916
1511
|
end
|
1917
1512
|
|
1918
|
-
# @note When making an API call, you may pass DescribeSecurityConfigurationInput
|
1919
|
-
# data as a hash:
|
1920
|
-
#
|
1921
|
-
# {
|
1922
|
-
# name: "XmlString", # required
|
1923
|
-
# }
|
1924
|
-
#
|
1925
1513
|
# @!attribute [rw] name
|
1926
1514
|
# The name of the security configuration.
|
1927
1515
|
# @return [String]
|
@@ -1958,14 +1546,6 @@ module Aws::EMR
|
|
1958
1546
|
|
1959
1547
|
# This input determines which step to describe.
|
1960
1548
|
#
|
1961
|
-
# @note When making an API call, you may pass DescribeStepInput
|
1962
|
-
# data as a hash:
|
1963
|
-
#
|
1964
|
-
# {
|
1965
|
-
# cluster_id: "ClusterId", # required
|
1966
|
-
# step_id: "StepId", # required
|
1967
|
-
# }
|
1968
|
-
#
|
1969
1549
|
# @!attribute [rw] cluster_id
|
1970
1550
|
# The identifier of the cluster with steps to describe.
|
1971
1551
|
# @return [String]
|
@@ -1997,13 +1577,6 @@ module Aws::EMR
|
|
1997
1577
|
include Aws::Structure
|
1998
1578
|
end
|
1999
1579
|
|
2000
|
-
# @note When making an API call, you may pass DescribeStudioInput
|
2001
|
-
# data as a hash:
|
2002
|
-
#
|
2003
|
-
# {
|
2004
|
-
# studio_id: "XmlStringMaxLen256", # required
|
2005
|
-
# }
|
2006
|
-
#
|
2007
1580
|
# @!attribute [rw] studio_id
|
2008
1581
|
# The Amazon EMR Studio ID.
|
2009
1582
|
# @return [String]
|
@@ -2054,19 +1627,6 @@ module Aws::EMR
|
|
2054
1627
|
# instance group with count of volumes that are associated to every
|
2055
1628
|
# instance.
|
2056
1629
|
#
|
2057
|
-
# @note When making an API call, you may pass EbsBlockDeviceConfig
|
2058
|
-
# data as a hash:
|
2059
|
-
#
|
2060
|
-
# {
|
2061
|
-
# volume_specification: { # required
|
2062
|
-
# volume_type: "String", # required
|
2063
|
-
# iops: 1,
|
2064
|
-
# size_in_gb: 1, # required
|
2065
|
-
# throughput: 1,
|
2066
|
-
# },
|
2067
|
-
# volumes_per_instance: 1,
|
2068
|
-
# }
|
2069
|
-
#
|
2070
1630
|
# @!attribute [rw] volume_specification
|
2071
1631
|
# EBS volume specifications such as volume type, IOPS, size (GiB) and
|
2072
1632
|
# throughput (MiB/s) that are requested for the EBS volume attached to
|
@@ -2089,24 +1649,6 @@ module Aws::EMR
|
|
2089
1649
|
|
2090
1650
|
# The Amazon EBS configuration of a cluster instance.
|
2091
1651
|
#
|
2092
|
-
# @note When making an API call, you may pass EbsConfiguration
|
2093
|
-
# data as a hash:
|
2094
|
-
#
|
2095
|
-
# {
|
2096
|
-
# ebs_block_device_configs: [
|
2097
|
-
# {
|
2098
|
-
# volume_specification: { # required
|
2099
|
-
# volume_type: "String", # required
|
2100
|
-
# iops: 1,
|
2101
|
-
# size_in_gb: 1, # required
|
2102
|
-
# throughput: 1,
|
2103
|
-
# },
|
2104
|
-
# volumes_per_instance: 1,
|
2105
|
-
# },
|
2106
|
-
# ],
|
2107
|
-
# ebs_optimized: false,
|
2108
|
-
# }
|
2109
|
-
#
|
2110
1652
|
# @!attribute [rw] ebs_block_device_configs
|
2111
1653
|
# An array of Amazon EBS volume specifications attached to a cluster
|
2112
1654
|
# instance.
|
@@ -2241,15 +1783,6 @@ module Aws::EMR
|
|
2241
1783
|
# Specifies the execution engine (cluster) to run the notebook and
|
2242
1784
|
# perform the notebook execution, for example, an EMR cluster.
|
2243
1785
|
#
|
2244
|
-
# @note When making an API call, you may pass ExecutionEngineConfig
|
2245
|
-
# data as a hash:
|
2246
|
-
#
|
2247
|
-
# {
|
2248
|
-
# id: "XmlStringMaxLen256", # required
|
2249
|
-
# type: "EMR", # accepts EMR
|
2250
|
-
# master_instance_security_group_id: "XmlStringMaxLen256",
|
2251
|
-
# }
|
2252
|
-
#
|
2253
1786
|
# @!attribute [rw] id
|
2254
1787
|
# The unique identifier of the execution engine. For an EMR cluster,
|
2255
1788
|
# this is the cluster ID.
|
@@ -2311,13 +1844,6 @@ module Aws::EMR
|
|
2311
1844
|
include Aws::Structure
|
2312
1845
|
end
|
2313
1846
|
|
2314
|
-
# @note When making an API call, you may pass GetAutoTerminationPolicyInput
|
2315
|
-
# data as a hash:
|
2316
|
-
#
|
2317
|
-
# {
|
2318
|
-
# cluster_id: "ClusterId", # required
|
2319
|
-
# }
|
2320
|
-
#
|
2321
1847
|
# @!attribute [rw] cluster_id
|
2322
1848
|
# Specifies the ID of the Amazon EMR cluster for which the
|
2323
1849
|
# auto-termination policy will be fetched.
|
@@ -2391,13 +1917,46 @@ module Aws::EMR
|
|
2391
1917
|
include Aws::Structure
|
2392
1918
|
end
|
2393
1919
|
|
2394
|
-
#
|
2395
|
-
#
|
1920
|
+
# @!attribute [rw] cluster_id
|
1921
|
+
# The unique identifier of the cluster.
|
1922
|
+
# @return [String]
|
1923
|
+
#
|
1924
|
+
# @!attribute [rw] execution_role_arn
|
1925
|
+
# The Amazon Resource Name (ARN) of the runtime role for interactive
|
1926
|
+
# workload submission on the cluster. The runtime role can be a
|
1927
|
+
# cross-account IAM role. The runtime role ARN is a combination of
|
1928
|
+
# account ID, role name, and role type using the following format:
|
1929
|
+
# `arn:partition:service:region:account:resource`.
|
1930
|
+
# @return [String]
|
1931
|
+
#
|
1932
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/GetClusterSessionCredentialsInput AWS API Documentation
|
1933
|
+
#
|
1934
|
+
class GetClusterSessionCredentialsInput < Struct.new(
|
1935
|
+
:cluster_id,
|
1936
|
+
:execution_role_arn)
|
1937
|
+
SENSITIVE = []
|
1938
|
+
include Aws::Structure
|
1939
|
+
end
|
1940
|
+
|
1941
|
+
# @!attribute [rw] credentials
|
1942
|
+
# The credentials that you can use to connect to cluster endpoints
|
1943
|
+
# that support username-based and password-based authentication.
|
1944
|
+
# @return [Types::Credentials]
|
1945
|
+
#
|
1946
|
+
# @!attribute [rw] expires_at
|
1947
|
+
# The time when the credentials that are returned by the
|
1948
|
+
# `GetClusterSessionCredentials` API expire.
|
1949
|
+
# @return [Time]
|
2396
1950
|
#
|
2397
|
-
#
|
2398
|
-
# cluster_id: "ClusterId", # required
|
2399
|
-
# }
|
1951
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/GetClusterSessionCredentialsOutput AWS API Documentation
|
2400
1952
|
#
|
1953
|
+
class GetClusterSessionCredentialsOutput < Struct.new(
|
1954
|
+
:credentials,
|
1955
|
+
:expires_at)
|
1956
|
+
SENSITIVE = []
|
1957
|
+
include Aws::Structure
|
1958
|
+
end
|
1959
|
+
|
2401
1960
|
# @!attribute [rw] cluster_id
|
2402
1961
|
# Specifies the ID of the cluster for which the managed scaling policy
|
2403
1962
|
# will be fetched.
|
@@ -2424,24 +1983,14 @@ module Aws::EMR
|
|
2424
1983
|
include Aws::Structure
|
2425
1984
|
end
|
2426
1985
|
|
2427
|
-
# @note When making an API call, you may pass GetStudioSessionMappingInput
|
2428
|
-
# data as a hash:
|
2429
|
-
#
|
2430
|
-
# {
|
2431
|
-
# studio_id: "XmlStringMaxLen256", # required
|
2432
|
-
# identity_id: "XmlStringMaxLen256",
|
2433
|
-
# identity_name: "XmlStringMaxLen256",
|
2434
|
-
# identity_type: "USER", # required, accepts USER, GROUP
|
2435
|
-
# }
|
2436
|
-
#
|
2437
1986
|
# @!attribute [rw] studio_id
|
2438
1987
|
# The ID of the Amazon EMR Studio.
|
2439
1988
|
# @return [String]
|
2440
1989
|
#
|
2441
1990
|
# @!attribute [rw] identity_id
|
2442
1991
|
# The globally unique identifier (GUID) of the user or group. For more
|
2443
|
-
# information, see [UserId][1] and [GroupId][2] in the *
|
2444
|
-
#
|
1992
|
+
# information, see [UserId][1] and [GroupId][2] in the *IAM Identity
|
1993
|
+
# Center Identity Store API Reference*. Either `IdentityName` or
|
2445
1994
|
# `IdentityId` must be specified.
|
2446
1995
|
#
|
2447
1996
|
#
|
@@ -2452,7 +2001,7 @@ module Aws::EMR
|
|
2452
2001
|
#
|
2453
2002
|
# @!attribute [rw] identity_name
|
2454
2003
|
# The name of the user or group to fetch. For more information, see
|
2455
|
-
# [UserName][1] and [DisplayName][2] in the *
|
2004
|
+
# [UserName][1] and [DisplayName][2] in the *IAM Identity Center
|
2456
2005
|
# Identity Store API Reference*. Either `IdentityName` or `IdentityId`
|
2457
2006
|
# must be specified.
|
2458
2007
|
#
|
@@ -2494,21 +2043,6 @@ module Aws::EMR
|
|
2494
2043
|
# executed. The main function submits a job for Hadoop to execute and
|
2495
2044
|
# waits for the job to finish or fail.
|
2496
2045
|
#
|
2497
|
-
# @note When making an API call, you may pass HadoopJarStepConfig
|
2498
|
-
# data as a hash:
|
2499
|
-
#
|
2500
|
-
# {
|
2501
|
-
# properties: [
|
2502
|
-
# {
|
2503
|
-
# key: "XmlString",
|
2504
|
-
# value: "XmlString",
|
2505
|
-
# },
|
2506
|
-
# ],
|
2507
|
-
# jar: "XmlString", # required
|
2508
|
-
# main_class: "XmlString",
|
2509
|
-
# args: ["XmlString"],
|
2510
|
-
# }
|
2511
|
-
#
|
2512
2046
|
# @!attribute [rw] properties
|
2513
2047
|
# A list of Java properties that are set when the step runs. You can
|
2514
2048
|
# use these properties to pass key-value pairs to your main function.
|
@@ -2772,66 +2306,6 @@ module Aws::EMR
|
|
2772
2306
|
#
|
2773
2307
|
# </note>
|
2774
2308
|
#
|
2775
|
-
# @note When making an API call, you may pass InstanceFleetConfig
|
2776
|
-
# data as a hash:
|
2777
|
-
#
|
2778
|
-
# {
|
2779
|
-
# name: "XmlStringMaxLen256",
|
2780
|
-
# instance_fleet_type: "MASTER", # required, accepts MASTER, CORE, TASK
|
2781
|
-
# target_on_demand_capacity: 1,
|
2782
|
-
# target_spot_capacity: 1,
|
2783
|
-
# instance_type_configs: [
|
2784
|
-
# {
|
2785
|
-
# instance_type: "InstanceType", # required
|
2786
|
-
# weighted_capacity: 1,
|
2787
|
-
# bid_price: "XmlStringMaxLen256",
|
2788
|
-
# bid_price_as_percentage_of_on_demand_price: 1.0,
|
2789
|
-
# ebs_configuration: {
|
2790
|
-
# ebs_block_device_configs: [
|
2791
|
-
# {
|
2792
|
-
# volume_specification: { # required
|
2793
|
-
# volume_type: "String", # required
|
2794
|
-
# iops: 1,
|
2795
|
-
# size_in_gb: 1, # required
|
2796
|
-
# throughput: 1,
|
2797
|
-
# },
|
2798
|
-
# volumes_per_instance: 1,
|
2799
|
-
# },
|
2800
|
-
# ],
|
2801
|
-
# ebs_optimized: false,
|
2802
|
-
# },
|
2803
|
-
# configurations: [
|
2804
|
-
# {
|
2805
|
-
# classification: "String",
|
2806
|
-
# configurations: {
|
2807
|
-
# # recursive ConfigurationList
|
2808
|
-
# },
|
2809
|
-
# properties: {
|
2810
|
-
# "String" => "String",
|
2811
|
-
# },
|
2812
|
-
# },
|
2813
|
-
# ],
|
2814
|
-
# custom_ami_id: "XmlStringMaxLen256",
|
2815
|
-
# },
|
2816
|
-
# ],
|
2817
|
-
# launch_specifications: {
|
2818
|
-
# spot_specification: {
|
2819
|
-
# timeout_duration_minutes: 1, # required
|
2820
|
-
# timeout_action: "SWITCH_TO_ON_DEMAND", # required, accepts SWITCH_TO_ON_DEMAND, TERMINATE_CLUSTER
|
2821
|
-
# block_duration_minutes: 1,
|
2822
|
-
# allocation_strategy: "capacity-optimized", # accepts capacity-optimized
|
2823
|
-
# },
|
2824
|
-
# on_demand_specification: {
|
2825
|
-
# allocation_strategy: "lowest-price", # required, accepts lowest-price
|
2826
|
-
# capacity_reservation_options: {
|
2827
|
-
# usage_strategy: "use-capacity-reservations-first", # accepts use-capacity-reservations-first
|
2828
|
-
# capacity_reservation_preference: "open", # accepts open, none
|
2829
|
-
# capacity_reservation_resource_group_arn: "XmlStringMaxLen256",
|
2830
|
-
# },
|
2831
|
-
# },
|
2832
|
-
# },
|
2833
|
-
# }
|
2834
|
-
#
|
2835
2309
|
# @!attribute [rw] name
|
2836
2310
|
# The friendly name of the instance fleet.
|
2837
2311
|
# @return [String]
|
@@ -2918,15 +2392,6 @@ module Aws::EMR
|
|
2918
2392
|
#
|
2919
2393
|
# </note>
|
2920
2394
|
#
|
2921
|
-
# @note When making an API call, you may pass InstanceFleetModifyConfig
|
2922
|
-
# data as a hash:
|
2923
|
-
#
|
2924
|
-
# {
|
2925
|
-
# instance_fleet_id: "InstanceFleetId", # required
|
2926
|
-
# target_on_demand_capacity: 1,
|
2927
|
-
# target_spot_capacity: 1,
|
2928
|
-
# }
|
2929
|
-
#
|
2930
2395
|
# @!attribute [rw] instance_fleet_id
|
2931
2396
|
# A unique identifier for the instance fleet.
|
2932
2397
|
# @return [String]
|
@@ -2962,26 +2427,6 @@ module Aws::EMR
|
|
2962
2427
|
#
|
2963
2428
|
# </note>
|
2964
2429
|
#
|
2965
|
-
# @note When making an API call, you may pass InstanceFleetProvisioningSpecifications
|
2966
|
-
# data as a hash:
|
2967
|
-
#
|
2968
|
-
# {
|
2969
|
-
# spot_specification: {
|
2970
|
-
# timeout_duration_minutes: 1, # required
|
2971
|
-
# timeout_action: "SWITCH_TO_ON_DEMAND", # required, accepts SWITCH_TO_ON_DEMAND, TERMINATE_CLUSTER
|
2972
|
-
# block_duration_minutes: 1,
|
2973
|
-
# allocation_strategy: "capacity-optimized", # accepts capacity-optimized
|
2974
|
-
# },
|
2975
|
-
# on_demand_specification: {
|
2976
|
-
# allocation_strategy: "lowest-price", # required, accepts lowest-price
|
2977
|
-
# capacity_reservation_options: {
|
2978
|
-
# usage_strategy: "use-capacity-reservations-first", # accepts use-capacity-reservations-first
|
2979
|
-
# capacity_reservation_preference: "open", # accepts open, none
|
2980
|
-
# capacity_reservation_resource_group_arn: "XmlStringMaxLen256",
|
2981
|
-
# },
|
2982
|
-
# },
|
2983
|
-
# }
|
2984
|
-
#
|
2985
2430
|
# @!attribute [rw] spot_specification
|
2986
2431
|
# The launch specification for Spot Instances in the fleet, which
|
2987
2432
|
# determines the defined duration, provisioning timeout behavior, and
|
@@ -3239,82 +2684,6 @@ module Aws::EMR
|
|
3239
2684
|
|
3240
2685
|
# Configuration defining a new instance group.
|
3241
2686
|
#
|
3242
|
-
# @note When making an API call, you may pass InstanceGroupConfig
|
3243
|
-
# data as a hash:
|
3244
|
-
#
|
3245
|
-
# {
|
3246
|
-
# name: "XmlStringMaxLen256",
|
3247
|
-
# market: "ON_DEMAND", # accepts ON_DEMAND, SPOT
|
3248
|
-
# instance_role: "MASTER", # required, accepts MASTER, CORE, TASK
|
3249
|
-
# bid_price: "XmlStringMaxLen256",
|
3250
|
-
# instance_type: "InstanceType", # required
|
3251
|
-
# instance_count: 1, # required
|
3252
|
-
# configurations: [
|
3253
|
-
# {
|
3254
|
-
# classification: "String",
|
3255
|
-
# configurations: {
|
3256
|
-
# # recursive ConfigurationList
|
3257
|
-
# },
|
3258
|
-
# properties: {
|
3259
|
-
# "String" => "String",
|
3260
|
-
# },
|
3261
|
-
# },
|
3262
|
-
# ],
|
3263
|
-
# ebs_configuration: {
|
3264
|
-
# ebs_block_device_configs: [
|
3265
|
-
# {
|
3266
|
-
# volume_specification: { # required
|
3267
|
-
# volume_type: "String", # required
|
3268
|
-
# iops: 1,
|
3269
|
-
# size_in_gb: 1, # required
|
3270
|
-
# throughput: 1,
|
3271
|
-
# },
|
3272
|
-
# volumes_per_instance: 1,
|
3273
|
-
# },
|
3274
|
-
# ],
|
3275
|
-
# ebs_optimized: false,
|
3276
|
-
# },
|
3277
|
-
# auto_scaling_policy: {
|
3278
|
-
# constraints: { # required
|
3279
|
-
# min_capacity: 1, # required
|
3280
|
-
# max_capacity: 1, # required
|
3281
|
-
# },
|
3282
|
-
# rules: [ # required
|
3283
|
-
# {
|
3284
|
-
# name: "String", # required
|
3285
|
-
# description: "String",
|
3286
|
-
# action: { # required
|
3287
|
-
# market: "ON_DEMAND", # accepts ON_DEMAND, SPOT
|
3288
|
-
# simple_scaling_policy_configuration: { # required
|
3289
|
-
# adjustment_type: "CHANGE_IN_CAPACITY", # accepts CHANGE_IN_CAPACITY, PERCENT_CHANGE_IN_CAPACITY, EXACT_CAPACITY
|
3290
|
-
# scaling_adjustment: 1, # required
|
3291
|
-
# cool_down: 1,
|
3292
|
-
# },
|
3293
|
-
# },
|
3294
|
-
# trigger: { # required
|
3295
|
-
# cloud_watch_alarm_definition: { # required
|
3296
|
-
# comparison_operator: "GREATER_THAN_OR_EQUAL", # required, accepts GREATER_THAN_OR_EQUAL, GREATER_THAN, LESS_THAN, LESS_THAN_OR_EQUAL
|
3297
|
-
# evaluation_periods: 1,
|
3298
|
-
# metric_name: "String", # required
|
3299
|
-
# namespace: "String",
|
3300
|
-
# period: 1, # required
|
3301
|
-
# statistic: "SAMPLE_COUNT", # accepts SAMPLE_COUNT, AVERAGE, SUM, MINIMUM, MAXIMUM
|
3302
|
-
# threshold: 1.0, # required
|
3303
|
-
# unit: "NONE", # accepts 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
|
3304
|
-
# dimensions: [
|
3305
|
-
# {
|
3306
|
-
# key: "String",
|
3307
|
-
# value: "String",
|
3308
|
-
# },
|
3309
|
-
# ],
|
3310
|
-
# },
|
3311
|
-
# },
|
3312
|
-
# },
|
3313
|
-
# ],
|
3314
|
-
# },
|
3315
|
-
# custom_ami_id: "XmlStringMaxLen256",
|
3316
|
-
# }
|
3317
|
-
#
|
3318
2687
|
# @!attribute [rw] name
|
3319
2688
|
# Friendly name given to the instance group.
|
3320
2689
|
# @return [String]
|
@@ -3476,35 +2845,6 @@ module Aws::EMR
|
|
3476
2845
|
|
3477
2846
|
# Modify the size or configurations of an instance group.
|
3478
2847
|
#
|
3479
|
-
# @note When making an API call, you may pass InstanceGroupModifyConfig
|
3480
|
-
# data as a hash:
|
3481
|
-
#
|
3482
|
-
# {
|
3483
|
-
# instance_group_id: "XmlStringMaxLen256", # required
|
3484
|
-
# instance_count: 1,
|
3485
|
-
# ec2_instance_ids_to_terminate: ["InstanceId"],
|
3486
|
-
# shrink_policy: {
|
3487
|
-
# decommission_timeout: 1,
|
3488
|
-
# instance_resize_policy: {
|
3489
|
-
# instances_to_terminate: ["InstanceId"],
|
3490
|
-
# instances_to_protect: ["InstanceId"],
|
3491
|
-
# instance_termination_timeout: 1,
|
3492
|
-
# },
|
3493
|
-
# },
|
3494
|
-
# reconfiguration_type: "OVERWRITE", # accepts OVERWRITE, MERGE
|
3495
|
-
# configurations: [
|
3496
|
-
# {
|
3497
|
-
# classification: "String",
|
3498
|
-
# configurations: {
|
3499
|
-
# # recursive ConfigurationList
|
3500
|
-
# },
|
3501
|
-
# properties: {
|
3502
|
-
# "String" => "String",
|
3503
|
-
# },
|
3504
|
-
# },
|
3505
|
-
# ],
|
3506
|
-
# }
|
3507
|
-
#
|
3508
2848
|
# @!attribute [rw] instance_group_id
|
3509
2849
|
# Unique ID of the instance group to modify.
|
3510
2850
|
# @return [String]
|
@@ -3616,15 +2956,6 @@ module Aws::EMR
|
|
3616
2956
|
# Custom policy for requesting termination protection or termination of
|
3617
2957
|
# specific instances when shrinking an instance group.
|
3618
2958
|
#
|
3619
|
-
# @note When making an API call, you may pass InstanceResizePolicy
|
3620
|
-
# data as a hash:
|
3621
|
-
#
|
3622
|
-
# {
|
3623
|
-
# instances_to_terminate: ["InstanceId"],
|
3624
|
-
# instances_to_protect: ["InstanceId"],
|
3625
|
-
# instance_termination_timeout: 1,
|
3626
|
-
# }
|
3627
|
-
#
|
3628
2959
|
# @!attribute [rw] instances_to_terminate
|
3629
2960
|
# Specific list of instances to be terminated when shrinking an
|
3630
2961
|
# instance group.
|
@@ -3735,42 +3066,6 @@ module Aws::EMR
|
|
3735
3066
|
#
|
3736
3067
|
# [1]: https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-instance-fleet.html
|
3737
3068
|
#
|
3738
|
-
# @note When making an API call, you may pass InstanceTypeConfig
|
3739
|
-
# data as a hash:
|
3740
|
-
#
|
3741
|
-
# {
|
3742
|
-
# instance_type: "InstanceType", # required
|
3743
|
-
# weighted_capacity: 1,
|
3744
|
-
# bid_price: "XmlStringMaxLen256",
|
3745
|
-
# bid_price_as_percentage_of_on_demand_price: 1.0,
|
3746
|
-
# ebs_configuration: {
|
3747
|
-
# ebs_block_device_configs: [
|
3748
|
-
# {
|
3749
|
-
# volume_specification: { # required
|
3750
|
-
# volume_type: "String", # required
|
3751
|
-
# iops: 1,
|
3752
|
-
# size_in_gb: 1, # required
|
3753
|
-
# throughput: 1,
|
3754
|
-
# },
|
3755
|
-
# volumes_per_instance: 1,
|
3756
|
-
# },
|
3757
|
-
# ],
|
3758
|
-
# ebs_optimized: false,
|
3759
|
-
# },
|
3760
|
-
# configurations: [
|
3761
|
-
# {
|
3762
|
-
# classification: "String",
|
3763
|
-
# configurations: {
|
3764
|
-
# # recursive ConfigurationList
|
3765
|
-
# },
|
3766
|
-
# properties: {
|
3767
|
-
# "String" => "String",
|
3768
|
-
# },
|
3769
|
-
# },
|
3770
|
-
# ],
|
3771
|
-
# custom_ami_id: "XmlStringMaxLen256",
|
3772
|
-
# }
|
3773
|
-
#
|
3774
3069
|
# @!attribute [rw] instance_type
|
3775
3070
|
# An EC2 instance type, such as `m3.xlarge`.
|
3776
3071
|
# @return [String]
|
@@ -4104,162 +3399,6 @@ module Aws::EMR
|
|
4104
3399
|
# (all three must be present), but we don't recommend this
|
4105
3400
|
# configuration.
|
4106
3401
|
#
|
4107
|
-
# @note When making an API call, you may pass JobFlowInstancesConfig
|
4108
|
-
# data as a hash:
|
4109
|
-
#
|
4110
|
-
# {
|
4111
|
-
# master_instance_type: "InstanceType",
|
4112
|
-
# slave_instance_type: "InstanceType",
|
4113
|
-
# instance_count: 1,
|
4114
|
-
# instance_groups: [
|
4115
|
-
# {
|
4116
|
-
# name: "XmlStringMaxLen256",
|
4117
|
-
# market: "ON_DEMAND", # accepts ON_DEMAND, SPOT
|
4118
|
-
# instance_role: "MASTER", # required, accepts MASTER, CORE, TASK
|
4119
|
-
# bid_price: "XmlStringMaxLen256",
|
4120
|
-
# instance_type: "InstanceType", # required
|
4121
|
-
# instance_count: 1, # required
|
4122
|
-
# configurations: [
|
4123
|
-
# {
|
4124
|
-
# classification: "String",
|
4125
|
-
# configurations: {
|
4126
|
-
# # recursive ConfigurationList
|
4127
|
-
# },
|
4128
|
-
# properties: {
|
4129
|
-
# "String" => "String",
|
4130
|
-
# },
|
4131
|
-
# },
|
4132
|
-
# ],
|
4133
|
-
# ebs_configuration: {
|
4134
|
-
# ebs_block_device_configs: [
|
4135
|
-
# {
|
4136
|
-
# volume_specification: { # required
|
4137
|
-
# volume_type: "String", # required
|
4138
|
-
# iops: 1,
|
4139
|
-
# size_in_gb: 1, # required
|
4140
|
-
# throughput: 1,
|
4141
|
-
# },
|
4142
|
-
# volumes_per_instance: 1,
|
4143
|
-
# },
|
4144
|
-
# ],
|
4145
|
-
# ebs_optimized: false,
|
4146
|
-
# },
|
4147
|
-
# auto_scaling_policy: {
|
4148
|
-
# constraints: { # required
|
4149
|
-
# min_capacity: 1, # required
|
4150
|
-
# max_capacity: 1, # required
|
4151
|
-
# },
|
4152
|
-
# rules: [ # required
|
4153
|
-
# {
|
4154
|
-
# name: "String", # required
|
4155
|
-
# description: "String",
|
4156
|
-
# action: { # required
|
4157
|
-
# market: "ON_DEMAND", # accepts ON_DEMAND, SPOT
|
4158
|
-
# simple_scaling_policy_configuration: { # required
|
4159
|
-
# adjustment_type: "CHANGE_IN_CAPACITY", # accepts CHANGE_IN_CAPACITY, PERCENT_CHANGE_IN_CAPACITY, EXACT_CAPACITY
|
4160
|
-
# scaling_adjustment: 1, # required
|
4161
|
-
# cool_down: 1,
|
4162
|
-
# },
|
4163
|
-
# },
|
4164
|
-
# trigger: { # required
|
4165
|
-
# cloud_watch_alarm_definition: { # required
|
4166
|
-
# comparison_operator: "GREATER_THAN_OR_EQUAL", # required, accepts GREATER_THAN_OR_EQUAL, GREATER_THAN, LESS_THAN, LESS_THAN_OR_EQUAL
|
4167
|
-
# evaluation_periods: 1,
|
4168
|
-
# metric_name: "String", # required
|
4169
|
-
# namespace: "String",
|
4170
|
-
# period: 1, # required
|
4171
|
-
# statistic: "SAMPLE_COUNT", # accepts SAMPLE_COUNT, AVERAGE, SUM, MINIMUM, MAXIMUM
|
4172
|
-
# threshold: 1.0, # required
|
4173
|
-
# unit: "NONE", # accepts 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
|
4174
|
-
# dimensions: [
|
4175
|
-
# {
|
4176
|
-
# key: "String",
|
4177
|
-
# value: "String",
|
4178
|
-
# },
|
4179
|
-
# ],
|
4180
|
-
# },
|
4181
|
-
# },
|
4182
|
-
# },
|
4183
|
-
# ],
|
4184
|
-
# },
|
4185
|
-
# custom_ami_id: "XmlStringMaxLen256",
|
4186
|
-
# },
|
4187
|
-
# ],
|
4188
|
-
# instance_fleets: [
|
4189
|
-
# {
|
4190
|
-
# name: "XmlStringMaxLen256",
|
4191
|
-
# instance_fleet_type: "MASTER", # required, accepts MASTER, CORE, TASK
|
4192
|
-
# target_on_demand_capacity: 1,
|
4193
|
-
# target_spot_capacity: 1,
|
4194
|
-
# instance_type_configs: [
|
4195
|
-
# {
|
4196
|
-
# instance_type: "InstanceType", # required
|
4197
|
-
# weighted_capacity: 1,
|
4198
|
-
# bid_price: "XmlStringMaxLen256",
|
4199
|
-
# bid_price_as_percentage_of_on_demand_price: 1.0,
|
4200
|
-
# ebs_configuration: {
|
4201
|
-
# ebs_block_device_configs: [
|
4202
|
-
# {
|
4203
|
-
# volume_specification: { # required
|
4204
|
-
# volume_type: "String", # required
|
4205
|
-
# iops: 1,
|
4206
|
-
# size_in_gb: 1, # required
|
4207
|
-
# throughput: 1,
|
4208
|
-
# },
|
4209
|
-
# volumes_per_instance: 1,
|
4210
|
-
# },
|
4211
|
-
# ],
|
4212
|
-
# ebs_optimized: false,
|
4213
|
-
# },
|
4214
|
-
# configurations: [
|
4215
|
-
# {
|
4216
|
-
# classification: "String",
|
4217
|
-
# configurations: {
|
4218
|
-
# # recursive ConfigurationList
|
4219
|
-
# },
|
4220
|
-
# properties: {
|
4221
|
-
# "String" => "String",
|
4222
|
-
# },
|
4223
|
-
# },
|
4224
|
-
# ],
|
4225
|
-
# custom_ami_id: "XmlStringMaxLen256",
|
4226
|
-
# },
|
4227
|
-
# ],
|
4228
|
-
# launch_specifications: {
|
4229
|
-
# spot_specification: {
|
4230
|
-
# timeout_duration_minutes: 1, # required
|
4231
|
-
# timeout_action: "SWITCH_TO_ON_DEMAND", # required, accepts SWITCH_TO_ON_DEMAND, TERMINATE_CLUSTER
|
4232
|
-
# block_duration_minutes: 1,
|
4233
|
-
# allocation_strategy: "capacity-optimized", # accepts capacity-optimized
|
4234
|
-
# },
|
4235
|
-
# on_demand_specification: {
|
4236
|
-
# allocation_strategy: "lowest-price", # required, accepts lowest-price
|
4237
|
-
# capacity_reservation_options: {
|
4238
|
-
# usage_strategy: "use-capacity-reservations-first", # accepts use-capacity-reservations-first
|
4239
|
-
# capacity_reservation_preference: "open", # accepts open, none
|
4240
|
-
# capacity_reservation_resource_group_arn: "XmlStringMaxLen256",
|
4241
|
-
# },
|
4242
|
-
# },
|
4243
|
-
# },
|
4244
|
-
# },
|
4245
|
-
# ],
|
4246
|
-
# ec2_key_name: "XmlStringMaxLen256",
|
4247
|
-
# placement: {
|
4248
|
-
# availability_zone: "XmlString",
|
4249
|
-
# availability_zones: ["XmlStringMaxLen256"],
|
4250
|
-
# },
|
4251
|
-
# keep_job_flow_alive_when_no_steps: false,
|
4252
|
-
# termination_protected: false,
|
4253
|
-
# hadoop_version: "XmlStringMaxLen256",
|
4254
|
-
# ec2_subnet_id: "XmlStringMaxLen256",
|
4255
|
-
# ec2_subnet_ids: ["XmlStringMaxLen256"],
|
4256
|
-
# emr_managed_master_security_group: "XmlStringMaxLen256",
|
4257
|
-
# emr_managed_slave_security_group: "XmlStringMaxLen256",
|
4258
|
-
# service_access_security_group: "XmlStringMaxLen256",
|
4259
|
-
# additional_master_security_groups: ["XmlStringMaxLen256"],
|
4260
|
-
# additional_slave_security_groups: ["XmlStringMaxLen256"],
|
4261
|
-
# }
|
4262
|
-
#
|
4263
3402
|
# @!attribute [rw] master_instance_type
|
4264
3403
|
# The EC2 instance type of the master node.
|
4265
3404
|
# @return [String]
|
@@ -4492,17 +3631,6 @@ module Aws::EMR
|
|
4492
3631
|
#
|
4493
3632
|
# [1]: https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-kerberos.html
|
4494
3633
|
#
|
4495
|
-
# @note When making an API call, you may pass KerberosAttributes
|
4496
|
-
# data as a hash:
|
4497
|
-
#
|
4498
|
-
# {
|
4499
|
-
# realm: "XmlStringMaxLen256", # required
|
4500
|
-
# kdc_admin_password: "XmlStringMaxLen256", # required
|
4501
|
-
# cross_realm_trust_principal_password: "XmlStringMaxLen256",
|
4502
|
-
# ad_domain_join_user: "XmlStringMaxLen256",
|
4503
|
-
# ad_domain_join_password: "XmlStringMaxLen256",
|
4504
|
-
# }
|
4505
|
-
#
|
4506
3634
|
# @!attribute [rw] realm
|
4507
3635
|
# The name of the Kerberos realm to which all nodes in a cluster
|
4508
3636
|
# belong. For example, `EC2.INTERNAL`.
|
@@ -4544,14 +3672,6 @@ module Aws::EMR
|
|
4544
3672
|
|
4545
3673
|
# A key-value pair.
|
4546
3674
|
#
|
4547
|
-
# @note When making an API call, you may pass KeyValue
|
4548
|
-
# data as a hash:
|
4549
|
-
#
|
4550
|
-
# {
|
4551
|
-
# key: "XmlString",
|
4552
|
-
# value: "XmlString",
|
4553
|
-
# }
|
4554
|
-
#
|
4555
3675
|
# @!attribute [rw] key
|
4556
3676
|
# The unique identifier of a key-value pair.
|
4557
3677
|
# @return [String]
|
@@ -4571,14 +3691,6 @@ module Aws::EMR
|
|
4571
3691
|
|
4572
3692
|
# This input determines which bootstrap actions to retrieve.
|
4573
3693
|
#
|
4574
|
-
# @note When making an API call, you may pass ListBootstrapActionsInput
|
4575
|
-
# data as a hash:
|
4576
|
-
#
|
4577
|
-
# {
|
4578
|
-
# cluster_id: "ClusterId", # required
|
4579
|
-
# marker: "Marker",
|
4580
|
-
# }
|
4581
|
-
#
|
4582
3694
|
# @!attribute [rw] cluster_id
|
4583
3695
|
# The cluster identifier for the bootstrap actions to list.
|
4584
3696
|
# @return [String]
|
@@ -4620,16 +3732,6 @@ module Aws::EMR
|
|
4620
3732
|
# This input determines how the ListClusters action filters the list of
|
4621
3733
|
# clusters that it returns.
|
4622
3734
|
#
|
4623
|
-
# @note When making an API call, you may pass ListClustersInput
|
4624
|
-
# data as a hash:
|
4625
|
-
#
|
4626
|
-
# {
|
4627
|
-
# created_after: Time.now,
|
4628
|
-
# created_before: Time.now,
|
4629
|
-
# cluster_states: ["STARTING"], # accepts STARTING, BOOTSTRAPPING, RUNNING, WAITING, TERMINATING, TERMINATED, TERMINATED_WITH_ERRORS
|
4630
|
-
# marker: "Marker",
|
4631
|
-
# }
|
4632
|
-
#
|
4633
3735
|
# @!attribute [rw] created_after
|
4634
3736
|
# The creation date and time beginning value filter for listing
|
4635
3737
|
# clusters.
|
@@ -4682,14 +3784,6 @@ module Aws::EMR
|
|
4682
3784
|
include Aws::Structure
|
4683
3785
|
end
|
4684
3786
|
|
4685
|
-
# @note When making an API call, you may pass ListInstanceFleetsInput
|
4686
|
-
# data as a hash:
|
4687
|
-
#
|
4688
|
-
# {
|
4689
|
-
# cluster_id: "ClusterId", # required
|
4690
|
-
# marker: "Marker",
|
4691
|
-
# }
|
4692
|
-
#
|
4693
3787
|
# @!attribute [rw] cluster_id
|
4694
3788
|
# The unique identifier of the cluster.
|
4695
3789
|
# @return [String]
|
@@ -4728,14 +3822,6 @@ module Aws::EMR
|
|
4728
3822
|
|
4729
3823
|
# This input determines which instance groups to retrieve.
|
4730
3824
|
#
|
4731
|
-
# @note When making an API call, you may pass ListInstanceGroupsInput
|
4732
|
-
# data as a hash:
|
4733
|
-
#
|
4734
|
-
# {
|
4735
|
-
# cluster_id: "ClusterId", # required
|
4736
|
-
# marker: "Marker",
|
4737
|
-
# }
|
4738
|
-
#
|
4739
3825
|
# @!attribute [rw] cluster_id
|
4740
3826
|
# The identifier of the cluster for which to list the instance groups.
|
4741
3827
|
# @return [String]
|
@@ -4776,19 +3862,6 @@ module Aws::EMR
|
|
4776
3862
|
|
4777
3863
|
# This input determines which instances to list.
|
4778
3864
|
#
|
4779
|
-
# @note When making an API call, you may pass ListInstancesInput
|
4780
|
-
# data as a hash:
|
4781
|
-
#
|
4782
|
-
# {
|
4783
|
-
# cluster_id: "ClusterId", # required
|
4784
|
-
# instance_group_id: "InstanceGroupId",
|
4785
|
-
# instance_group_types: ["MASTER"], # accepts MASTER, CORE, TASK
|
4786
|
-
# instance_fleet_id: "InstanceFleetId",
|
4787
|
-
# instance_fleet_type: "MASTER", # accepts MASTER, CORE, TASK
|
4788
|
-
# instance_states: ["AWAITING_FULFILLMENT"], # accepts AWAITING_FULFILLMENT, PROVISIONING, BOOTSTRAPPING, RUNNING, TERMINATED
|
4789
|
-
# marker: "Marker",
|
4790
|
-
# }
|
4791
|
-
#
|
4792
3865
|
# @!attribute [rw] cluster_id
|
4793
3866
|
# The identifier of the cluster for which to list the instances.
|
4794
3867
|
# @return [String]
|
@@ -4855,17 +3928,6 @@ module Aws::EMR
|
|
4855
3928
|
include Aws::Structure
|
4856
3929
|
end
|
4857
3930
|
|
4858
|
-
# @note When making an API call, you may pass ListNotebookExecutionsInput
|
4859
|
-
# data as a hash:
|
4860
|
-
#
|
4861
|
-
# {
|
4862
|
-
# editor_id: "XmlStringMaxLen256",
|
4863
|
-
# status: "START_PENDING", # accepts START_PENDING, STARTING, RUNNING, FINISHING, FINISHED, FAILING, FAILED, STOP_PENDING, STOPPING, STOPPED
|
4864
|
-
# from: Time.now,
|
4865
|
-
# to: Time.now,
|
4866
|
-
# marker: "Marker",
|
4867
|
-
# }
|
4868
|
-
#
|
4869
3931
|
# @!attribute [rw] editor_id
|
4870
3932
|
# The unique ID of the editor associated with the notebook execution.
|
4871
3933
|
# @return [String]
|
@@ -4950,18 +4012,6 @@ module Aws::EMR
|
|
4950
4012
|
include Aws::Structure
|
4951
4013
|
end
|
4952
4014
|
|
4953
|
-
# @note When making an API call, you may pass ListReleaseLabelsInput
|
4954
|
-
# data as a hash:
|
4955
|
-
#
|
4956
|
-
# {
|
4957
|
-
# filters: {
|
4958
|
-
# prefix: "String",
|
4959
|
-
# application: "String",
|
4960
|
-
# },
|
4961
|
-
# next_token: "String",
|
4962
|
-
# max_results: 1,
|
4963
|
-
# }
|
4964
|
-
#
|
4965
4015
|
# @!attribute [rw] filters
|
4966
4016
|
# Filters the results of the request. `Prefix` specifies the prefix of
|
4967
4017
|
# release labels to return. `Application` specifies the application
|
@@ -5012,13 +4062,6 @@ module Aws::EMR
|
|
5012
4062
|
include Aws::Structure
|
5013
4063
|
end
|
5014
4064
|
|
5015
|
-
# @note When making an API call, you may pass ListSecurityConfigurationsInput
|
5016
|
-
# data as a hash:
|
5017
|
-
#
|
5018
|
-
# {
|
5019
|
-
# marker: "Marker",
|
5020
|
-
# }
|
5021
|
-
#
|
5022
4065
|
# @!attribute [rw] marker
|
5023
4066
|
# The pagination token that indicates the set of results to retrieve.
|
5024
4067
|
# @return [String]
|
@@ -5053,16 +4096,6 @@ module Aws::EMR
|
|
5053
4096
|
|
5054
4097
|
# This input determines which steps to list.
|
5055
4098
|
#
|
5056
|
-
# @note When making an API call, you may pass ListStepsInput
|
5057
|
-
# data as a hash:
|
5058
|
-
#
|
5059
|
-
# {
|
5060
|
-
# cluster_id: "ClusterId", # required
|
5061
|
-
# step_states: ["PENDING"], # accepts PENDING, CANCEL_PENDING, RUNNING, COMPLETED, CANCELLED, FAILED, INTERRUPTED
|
5062
|
-
# step_ids: ["XmlString"],
|
5063
|
-
# marker: "Marker",
|
5064
|
-
# }
|
5065
|
-
#
|
5066
4099
|
# @!attribute [rw] cluster_id
|
5067
4100
|
# The identifier of the cluster for which to list the steps.
|
5068
4101
|
# @return [String]
|
@@ -5118,15 +4151,6 @@ module Aws::EMR
|
|
5118
4151
|
include Aws::Structure
|
5119
4152
|
end
|
5120
4153
|
|
5121
|
-
# @note When making an API call, you may pass ListStudioSessionMappingsInput
|
5122
|
-
# data as a hash:
|
5123
|
-
#
|
5124
|
-
# {
|
5125
|
-
# studio_id: "XmlStringMaxLen256",
|
5126
|
-
# identity_type: "USER", # accepts USER, GROUP
|
5127
|
-
# marker: "Marker",
|
5128
|
-
# }
|
5129
|
-
#
|
5130
4154
|
# @!attribute [rw] studio_id
|
5131
4155
|
# The ID of the Amazon EMR Studio.
|
5132
4156
|
# @return [String]
|
@@ -5171,13 +4195,6 @@ module Aws::EMR
|
|
5171
4195
|
include Aws::Structure
|
5172
4196
|
end
|
5173
4197
|
|
5174
|
-
# @note When making an API call, you may pass ListStudiosInput
|
5175
|
-
# data as a hash:
|
5176
|
-
#
|
5177
|
-
# {
|
5178
|
-
# marker: "Marker",
|
5179
|
-
# }
|
5180
|
-
#
|
5181
4198
|
# @!attribute [rw] marker
|
5182
4199
|
# The pagination token that indicates the set of results to retrieve.
|
5183
4200
|
# @return [String]
|
@@ -5213,19 +4230,6 @@ module Aws::EMR
|
|
5213
4230
|
# cluster. The policy only applies to the core and task nodes. The
|
5214
4231
|
# master node cannot be scaled after initial configuration.
|
5215
4232
|
#
|
5216
|
-
# @note When making an API call, you may pass ManagedScalingPolicy
|
5217
|
-
# data as a hash:
|
5218
|
-
#
|
5219
|
-
# {
|
5220
|
-
# compute_limits: {
|
5221
|
-
# unit_type: "InstanceFleetUnits", # required, accepts InstanceFleetUnits, Instances, VCPU
|
5222
|
-
# minimum_capacity_units: 1, # required
|
5223
|
-
# maximum_capacity_units: 1, # required
|
5224
|
-
# maximum_on_demand_capacity_units: 1,
|
5225
|
-
# maximum_core_capacity_units: 1,
|
5226
|
-
# },
|
5227
|
-
# }
|
5228
|
-
#
|
5229
4233
|
# @!attribute [rw] compute_limits
|
5230
4234
|
# The EC2 unit limits for a managed scaling policy. The managed
|
5231
4235
|
# scaling activity of a cluster is not allowed to go above or below
|
@@ -5247,14 +4251,6 @@ module Aws::EMR
|
|
5247
4251
|
# representing the cluster ID, which is `$\{emr.clusterId\}`. This
|
5248
4252
|
# enables the rule to bootstrap when the cluster ID becomes available.
|
5249
4253
|
#
|
5250
|
-
# @note When making an API call, you may pass MetricDimension
|
5251
|
-
# data as a hash:
|
5252
|
-
#
|
5253
|
-
# {
|
5254
|
-
# key: "String",
|
5255
|
-
# value: "String",
|
5256
|
-
# }
|
5257
|
-
#
|
5258
4254
|
# @!attribute [rw] key
|
5259
4255
|
# The dimension name.
|
5260
4256
|
# @return [String]
|
@@ -5272,14 +4268,6 @@ module Aws::EMR
|
|
5272
4268
|
include Aws::Structure
|
5273
4269
|
end
|
5274
4270
|
|
5275
|
-
# @note When making an API call, you may pass ModifyClusterInput
|
5276
|
-
# data as a hash:
|
5277
|
-
#
|
5278
|
-
# {
|
5279
|
-
# cluster_id: "String", # required
|
5280
|
-
# step_concurrency_level: 1,
|
5281
|
-
# }
|
5282
|
-
#
|
5283
4271
|
# @!attribute [rw] cluster_id
|
5284
4272
|
# The unique identifier of the cluster.
|
5285
4273
|
# @return [String]
|
@@ -5313,18 +4301,6 @@ module Aws::EMR
|
|
5313
4301
|
include Aws::Structure
|
5314
4302
|
end
|
5315
4303
|
|
5316
|
-
# @note When making an API call, you may pass ModifyInstanceFleetInput
|
5317
|
-
# data as a hash:
|
5318
|
-
#
|
5319
|
-
# {
|
5320
|
-
# cluster_id: "ClusterId", # required
|
5321
|
-
# instance_fleet: { # required
|
5322
|
-
# instance_fleet_id: "InstanceFleetId", # required
|
5323
|
-
# target_on_demand_capacity: 1,
|
5324
|
-
# target_spot_capacity: 1,
|
5325
|
-
# },
|
5326
|
-
# }
|
5327
|
-
#
|
5328
4304
|
# @!attribute [rw] cluster_id
|
5329
4305
|
# The unique identifier of the cluster.
|
5330
4306
|
# @return [String]
|
@@ -5344,40 +4320,6 @@ module Aws::EMR
|
|
5344
4320
|
|
5345
4321
|
# Change the size of some instance groups.
|
5346
4322
|
#
|
5347
|
-
# @note When making an API call, you may pass ModifyInstanceGroupsInput
|
5348
|
-
# data as a hash:
|
5349
|
-
#
|
5350
|
-
# {
|
5351
|
-
# cluster_id: "ClusterId",
|
5352
|
-
# instance_groups: [
|
5353
|
-
# {
|
5354
|
-
# instance_group_id: "XmlStringMaxLen256", # required
|
5355
|
-
# instance_count: 1,
|
5356
|
-
# ec2_instance_ids_to_terminate: ["InstanceId"],
|
5357
|
-
# shrink_policy: {
|
5358
|
-
# decommission_timeout: 1,
|
5359
|
-
# instance_resize_policy: {
|
5360
|
-
# instances_to_terminate: ["InstanceId"],
|
5361
|
-
# instances_to_protect: ["InstanceId"],
|
5362
|
-
# instance_termination_timeout: 1,
|
5363
|
-
# },
|
5364
|
-
# },
|
5365
|
-
# reconfiguration_type: "OVERWRITE", # accepts OVERWRITE, MERGE
|
5366
|
-
# configurations: [
|
5367
|
-
# {
|
5368
|
-
# classification: "String",
|
5369
|
-
# configurations: {
|
5370
|
-
# # recursive ConfigurationList
|
5371
|
-
# },
|
5372
|
-
# properties: {
|
5373
|
-
# "String" => "String",
|
5374
|
-
# },
|
5375
|
-
# },
|
5376
|
-
# ],
|
5377
|
-
# },
|
5378
|
-
# ],
|
5379
|
-
# }
|
5380
|
-
#
|
5381
4323
|
# @!attribute [rw] cluster_id
|
5382
4324
|
# The ID of the cluster to which the instance group belongs.
|
5383
4325
|
# @return [String]
|
@@ -5607,15 +4549,6 @@ module Aws::EMR
|
|
5607
4549
|
# Describes the strategy for using unused Capacity Reservations for
|
5608
4550
|
# fulfilling On-Demand capacity.
|
5609
4551
|
#
|
5610
|
-
# @note When making an API call, you may pass OnDemandCapacityReservationOptions
|
5611
|
-
# data as a hash:
|
5612
|
-
#
|
5613
|
-
# {
|
5614
|
-
# usage_strategy: "use-capacity-reservations-first", # accepts use-capacity-reservations-first
|
5615
|
-
# capacity_reservation_preference: "open", # accepts open, none
|
5616
|
-
# capacity_reservation_resource_group_arn: "XmlStringMaxLen256",
|
5617
|
-
# }
|
5618
|
-
#
|
5619
4552
|
# @!attribute [rw] usage_strategy
|
5620
4553
|
# Indicates whether to use unused Capacity Reservations for fulfilling
|
5621
4554
|
# On-Demand capacity.
|
@@ -5671,18 +4604,6 @@ module Aws::EMR
|
|
5671
4604
|
#
|
5672
4605
|
# </note>
|
5673
4606
|
#
|
5674
|
-
# @note When making an API call, you may pass OnDemandProvisioningSpecification
|
5675
|
-
# data as a hash:
|
5676
|
-
#
|
5677
|
-
# {
|
5678
|
-
# allocation_strategy: "lowest-price", # required, accepts lowest-price
|
5679
|
-
# capacity_reservation_options: {
|
5680
|
-
# usage_strategy: "use-capacity-reservations-first", # accepts use-capacity-reservations-first
|
5681
|
-
# capacity_reservation_preference: "open", # accepts open, none
|
5682
|
-
# capacity_reservation_resource_group_arn: "XmlStringMaxLen256",
|
5683
|
-
# },
|
5684
|
-
# }
|
5685
|
-
#
|
5686
4607
|
# @!attribute [rw] allocation_strategy
|
5687
4608
|
# Specifies the strategy to use in launching On-Demand instance
|
5688
4609
|
# fleets. Currently, the only option is `lowest-price` (the default),
|
@@ -5710,14 +4631,6 @@ module Aws::EMR
|
|
5710
4631
|
# To use this configuration, consider attaching managed policy
|
5711
4632
|
# AmazonElasticMapReducePlacementGroupPolicy to the EMR role.
|
5712
4633
|
#
|
5713
|
-
# @note When making an API call, you may pass PlacementGroupConfig
|
5714
|
-
# data as a hash:
|
5715
|
-
#
|
5716
|
-
# {
|
5717
|
-
# instance_role: "MASTER", # required, accepts MASTER, CORE, TASK
|
5718
|
-
# placement_strategy: "SPREAD", # accepts SPREAD, PARTITION, CLUSTER, NONE
|
5719
|
-
# }
|
5720
|
-
#
|
5721
4634
|
# @!attribute [rw] instance_role
|
5722
4635
|
# Role of the instance in the cluster.
|
5723
4636
|
#
|
@@ -5744,14 +4657,6 @@ module Aws::EMR
|
|
5744
4657
|
# The Amazon EC2 Availability Zone configuration of the cluster (job
|
5745
4658
|
# flow).
|
5746
4659
|
#
|
5747
|
-
# @note When making an API call, you may pass PlacementType
|
5748
|
-
# data as a hash:
|
5749
|
-
#
|
5750
|
-
# {
|
5751
|
-
# availability_zone: "XmlString",
|
5752
|
-
# availability_zones: ["XmlStringMaxLen256"],
|
5753
|
-
# }
|
5754
|
-
#
|
5755
4660
|
# @!attribute [rw] availability_zone
|
5756
4661
|
# The Amazon EC2 Availability Zone for the cluster. `AvailabilityZone`
|
5757
4662
|
# is used for uniform instance groups, while `AvailabilityZones`
|
@@ -5783,14 +4688,6 @@ module Aws::EMR
|
|
5783
4688
|
# all public IP addresses. To specify a single port, use the same value
|
5784
4689
|
# for `MinRange` and `MaxRange`.
|
5785
4690
|
#
|
5786
|
-
# @note When making an API call, you may pass PortRange
|
5787
|
-
# data as a hash:
|
5788
|
-
#
|
5789
|
-
# {
|
5790
|
-
# min_range: 1, # required
|
5791
|
-
# max_range: 1,
|
5792
|
-
# }
|
5793
|
-
#
|
5794
4691
|
# @!attribute [rw] min_range
|
5795
4692
|
# The smallest port number in a specified range of port numbers.
|
5796
4693
|
# @return [Integer]
|
@@ -5808,52 +4705,6 @@ module Aws::EMR
|
|
5808
4705
|
include Aws::Structure
|
5809
4706
|
end
|
5810
4707
|
|
5811
|
-
# @note When making an API call, you may pass PutAutoScalingPolicyInput
|
5812
|
-
# data as a hash:
|
5813
|
-
#
|
5814
|
-
# {
|
5815
|
-
# cluster_id: "ClusterId", # required
|
5816
|
-
# instance_group_id: "InstanceGroupId", # required
|
5817
|
-
# auto_scaling_policy: { # required
|
5818
|
-
# constraints: { # required
|
5819
|
-
# min_capacity: 1, # required
|
5820
|
-
# max_capacity: 1, # required
|
5821
|
-
# },
|
5822
|
-
# rules: [ # required
|
5823
|
-
# {
|
5824
|
-
# name: "String", # required
|
5825
|
-
# description: "String",
|
5826
|
-
# action: { # required
|
5827
|
-
# market: "ON_DEMAND", # accepts ON_DEMAND, SPOT
|
5828
|
-
# simple_scaling_policy_configuration: { # required
|
5829
|
-
# adjustment_type: "CHANGE_IN_CAPACITY", # accepts CHANGE_IN_CAPACITY, PERCENT_CHANGE_IN_CAPACITY, EXACT_CAPACITY
|
5830
|
-
# scaling_adjustment: 1, # required
|
5831
|
-
# cool_down: 1,
|
5832
|
-
# },
|
5833
|
-
# },
|
5834
|
-
# trigger: { # required
|
5835
|
-
# cloud_watch_alarm_definition: { # required
|
5836
|
-
# comparison_operator: "GREATER_THAN_OR_EQUAL", # required, accepts GREATER_THAN_OR_EQUAL, GREATER_THAN, LESS_THAN, LESS_THAN_OR_EQUAL
|
5837
|
-
# evaluation_periods: 1,
|
5838
|
-
# metric_name: "String", # required
|
5839
|
-
# namespace: "String",
|
5840
|
-
# period: 1, # required
|
5841
|
-
# statistic: "SAMPLE_COUNT", # accepts SAMPLE_COUNT, AVERAGE, SUM, MINIMUM, MAXIMUM
|
5842
|
-
# threshold: 1.0, # required
|
5843
|
-
# unit: "NONE", # accepts 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
|
5844
|
-
# dimensions: [
|
5845
|
-
# {
|
5846
|
-
# key: "String",
|
5847
|
-
# value: "String",
|
5848
|
-
# },
|
5849
|
-
# ],
|
5850
|
-
# },
|
5851
|
-
# },
|
5852
|
-
# },
|
5853
|
-
# ],
|
5854
|
-
# },
|
5855
|
-
# }
|
5856
|
-
#
|
5857
4708
|
# @!attribute [rw] cluster_id
|
5858
4709
|
# Specifies the ID of a cluster. The instance group to which the
|
5859
4710
|
# automatic scaling policy is applied is within this cluster.
|
@@ -5907,16 +4758,6 @@ module Aws::EMR
|
|
5907
4758
|
include Aws::Structure
|
5908
4759
|
end
|
5909
4760
|
|
5910
|
-
# @note When making an API call, you may pass PutAutoTerminationPolicyInput
|
5911
|
-
# data as a hash:
|
5912
|
-
#
|
5913
|
-
# {
|
5914
|
-
# cluster_id: "ClusterId", # required
|
5915
|
-
# auto_termination_policy: {
|
5916
|
-
# idle_timeout: 1,
|
5917
|
-
# },
|
5918
|
-
# }
|
5919
|
-
#
|
5920
4761
|
# @!attribute [rw] cluster_id
|
5921
4762
|
# Specifies the ID of the Amazon EMR cluster to which the
|
5922
4763
|
# auto-termination policy will be attached.
|
@@ -5939,21 +4780,6 @@ module Aws::EMR
|
|
5939
4780
|
#
|
5940
4781
|
class PutAutoTerminationPolicyOutput < Aws::EmptyStructure; end
|
5941
4782
|
|
5942
|
-
# @note When making an API call, you may pass PutBlockPublicAccessConfigurationInput
|
5943
|
-
# data as a hash:
|
5944
|
-
#
|
5945
|
-
# {
|
5946
|
-
# block_public_access_configuration: { # required
|
5947
|
-
# block_public_security_group_rules: false, # required
|
5948
|
-
# permitted_public_security_group_rule_ranges: [
|
5949
|
-
# {
|
5950
|
-
# min_range: 1, # required
|
5951
|
-
# max_range: 1,
|
5952
|
-
# },
|
5953
|
-
# ],
|
5954
|
-
# },
|
5955
|
-
# }
|
5956
|
-
#
|
5957
4783
|
# @!attribute [rw] block_public_access_configuration
|
5958
4784
|
# A configuration for Amazon EMR block public access. The
|
5959
4785
|
# configuration applies to all clusters created in your account for
|
@@ -5989,22 +4815,6 @@ module Aws::EMR
|
|
5989
4815
|
#
|
5990
4816
|
class PutBlockPublicAccessConfigurationOutput < Aws::EmptyStructure; end
|
5991
4817
|
|
5992
|
-
# @note When making an API call, you may pass PutManagedScalingPolicyInput
|
5993
|
-
# data as a hash:
|
5994
|
-
#
|
5995
|
-
# {
|
5996
|
-
# cluster_id: "ClusterId", # required
|
5997
|
-
# managed_scaling_policy: { # required
|
5998
|
-
# compute_limits: {
|
5999
|
-
# unit_type: "InstanceFleetUnits", # required, accepts InstanceFleetUnits, Instances, VCPU
|
6000
|
-
# minimum_capacity_units: 1, # required
|
6001
|
-
# maximum_capacity_units: 1, # required
|
6002
|
-
# maximum_on_demand_capacity_units: 1,
|
6003
|
-
# maximum_core_capacity_units: 1,
|
6004
|
-
# },
|
6005
|
-
# },
|
6006
|
-
# }
|
6007
|
-
#
|
6008
4818
|
# @!attribute [rw] cluster_id
|
6009
4819
|
# Specifies the ID of an EMR cluster where the managed scaling policy
|
6010
4820
|
# is attached.
|
@@ -6029,14 +4839,6 @@ module Aws::EMR
|
|
6029
4839
|
|
6030
4840
|
# The release label filters by application or version prefix.
|
6031
4841
|
#
|
6032
|
-
# @note When making an API call, you may pass ReleaseLabelFilter
|
6033
|
-
# data as a hash:
|
6034
|
-
#
|
6035
|
-
# {
|
6036
|
-
# prefix: "String",
|
6037
|
-
# application: "String",
|
6038
|
-
# }
|
6039
|
-
#
|
6040
4842
|
# @!attribute [rw] prefix
|
6041
4843
|
# Optional release label version prefix filter. For example, `emr-5`.
|
6042
4844
|
# @return [String]
|
@@ -6055,14 +4857,6 @@ module Aws::EMR
|
|
6055
4857
|
include Aws::Structure
|
6056
4858
|
end
|
6057
4859
|
|
6058
|
-
# @note When making an API call, you may pass RemoveAutoScalingPolicyInput
|
6059
|
-
# data as a hash:
|
6060
|
-
#
|
6061
|
-
# {
|
6062
|
-
# cluster_id: "ClusterId", # required
|
6063
|
-
# instance_group_id: "InstanceGroupId", # required
|
6064
|
-
# }
|
6065
|
-
#
|
6066
4860
|
# @!attribute [rw] cluster_id
|
6067
4861
|
# Specifies the ID of a cluster. The instance group to which the
|
6068
4862
|
# automatic scaling policy is applied is within this cluster.
|
@@ -6086,13 +4880,6 @@ module Aws::EMR
|
|
6086
4880
|
#
|
6087
4881
|
class RemoveAutoScalingPolicyOutput < Aws::EmptyStructure; end
|
6088
4882
|
|
6089
|
-
# @note When making an API call, you may pass RemoveAutoTerminationPolicyInput
|
6090
|
-
# data as a hash:
|
6091
|
-
#
|
6092
|
-
# {
|
6093
|
-
# cluster_id: "ClusterId", # required
|
6094
|
-
# }
|
6095
|
-
#
|
6096
4883
|
# @!attribute [rw] cluster_id
|
6097
4884
|
# Specifies the ID of the Amazon EMR cluster from which the
|
6098
4885
|
# auto-termination policy will be removed.
|
@@ -6110,13 +4897,6 @@ module Aws::EMR
|
|
6110
4897
|
#
|
6111
4898
|
class RemoveAutoTerminationPolicyOutput < Aws::EmptyStructure; end
|
6112
4899
|
|
6113
|
-
# @note When making an API call, you may pass RemoveManagedScalingPolicyInput
|
6114
|
-
# data as a hash:
|
6115
|
-
#
|
6116
|
-
# {
|
6117
|
-
# cluster_id: "ClusterId", # required
|
6118
|
-
# }
|
6119
|
-
#
|
6120
4900
|
# @!attribute [rw] cluster_id
|
6121
4901
|
# Specifies the ID of the cluster from which the managed scaling
|
6122
4902
|
# policy will be removed.
|
@@ -6137,14 +4917,6 @@ module Aws::EMR
|
|
6137
4917
|
# This input identifies an Amazon EMR resource and a list of tags to
|
6138
4918
|
# remove.
|
6139
4919
|
#
|
6140
|
-
# @note When making an API call, you may pass RemoveTagsInput
|
6141
|
-
# data as a hash:
|
6142
|
-
#
|
6143
|
-
# {
|
6144
|
-
# resource_id: "ResourceId", # required
|
6145
|
-
# tag_keys: ["String"], # required
|
6146
|
-
# }
|
6147
|
-
#
|
6148
4920
|
# @!attribute [rw] resource_id
|
6149
4921
|
# The Amazon EMR resource identifier from which tags will be removed.
|
6150
4922
|
# For example, a cluster identifier or an Amazon EMR Studio ID.
|
@@ -6171,266 +4943,6 @@ module Aws::EMR
|
|
6171
4943
|
|
6172
4944
|
# Input to the RunJobFlow operation.
|
6173
4945
|
#
|
6174
|
-
# @note When making an API call, you may pass RunJobFlowInput
|
6175
|
-
# data as a hash:
|
6176
|
-
#
|
6177
|
-
# {
|
6178
|
-
# name: "XmlStringMaxLen256", # required
|
6179
|
-
# log_uri: "XmlString",
|
6180
|
-
# log_encryption_kms_key_id: "XmlString",
|
6181
|
-
# additional_info: "XmlString",
|
6182
|
-
# ami_version: "XmlStringMaxLen256",
|
6183
|
-
# release_label: "XmlStringMaxLen256",
|
6184
|
-
# instances: { # required
|
6185
|
-
# master_instance_type: "InstanceType",
|
6186
|
-
# slave_instance_type: "InstanceType",
|
6187
|
-
# instance_count: 1,
|
6188
|
-
# instance_groups: [
|
6189
|
-
# {
|
6190
|
-
# name: "XmlStringMaxLen256",
|
6191
|
-
# market: "ON_DEMAND", # accepts ON_DEMAND, SPOT
|
6192
|
-
# instance_role: "MASTER", # required, accepts MASTER, CORE, TASK
|
6193
|
-
# bid_price: "XmlStringMaxLen256",
|
6194
|
-
# instance_type: "InstanceType", # required
|
6195
|
-
# instance_count: 1, # required
|
6196
|
-
# configurations: [
|
6197
|
-
# {
|
6198
|
-
# classification: "String",
|
6199
|
-
# configurations: {
|
6200
|
-
# # recursive ConfigurationList
|
6201
|
-
# },
|
6202
|
-
# properties: {
|
6203
|
-
# "String" => "String",
|
6204
|
-
# },
|
6205
|
-
# },
|
6206
|
-
# ],
|
6207
|
-
# ebs_configuration: {
|
6208
|
-
# ebs_block_device_configs: [
|
6209
|
-
# {
|
6210
|
-
# volume_specification: { # required
|
6211
|
-
# volume_type: "String", # required
|
6212
|
-
# iops: 1,
|
6213
|
-
# size_in_gb: 1, # required
|
6214
|
-
# throughput: 1,
|
6215
|
-
# },
|
6216
|
-
# volumes_per_instance: 1,
|
6217
|
-
# },
|
6218
|
-
# ],
|
6219
|
-
# ebs_optimized: false,
|
6220
|
-
# },
|
6221
|
-
# auto_scaling_policy: {
|
6222
|
-
# constraints: { # required
|
6223
|
-
# min_capacity: 1, # required
|
6224
|
-
# max_capacity: 1, # required
|
6225
|
-
# },
|
6226
|
-
# rules: [ # required
|
6227
|
-
# {
|
6228
|
-
# name: "String", # required
|
6229
|
-
# description: "String",
|
6230
|
-
# action: { # required
|
6231
|
-
# market: "ON_DEMAND", # accepts ON_DEMAND, SPOT
|
6232
|
-
# simple_scaling_policy_configuration: { # required
|
6233
|
-
# adjustment_type: "CHANGE_IN_CAPACITY", # accepts CHANGE_IN_CAPACITY, PERCENT_CHANGE_IN_CAPACITY, EXACT_CAPACITY
|
6234
|
-
# scaling_adjustment: 1, # required
|
6235
|
-
# cool_down: 1,
|
6236
|
-
# },
|
6237
|
-
# },
|
6238
|
-
# trigger: { # required
|
6239
|
-
# cloud_watch_alarm_definition: { # required
|
6240
|
-
# comparison_operator: "GREATER_THAN_OR_EQUAL", # required, accepts GREATER_THAN_OR_EQUAL, GREATER_THAN, LESS_THAN, LESS_THAN_OR_EQUAL
|
6241
|
-
# evaluation_periods: 1,
|
6242
|
-
# metric_name: "String", # required
|
6243
|
-
# namespace: "String",
|
6244
|
-
# period: 1, # required
|
6245
|
-
# statistic: "SAMPLE_COUNT", # accepts SAMPLE_COUNT, AVERAGE, SUM, MINIMUM, MAXIMUM
|
6246
|
-
# threshold: 1.0, # required
|
6247
|
-
# unit: "NONE", # accepts 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
|
6248
|
-
# dimensions: [
|
6249
|
-
# {
|
6250
|
-
# key: "String",
|
6251
|
-
# value: "String",
|
6252
|
-
# },
|
6253
|
-
# ],
|
6254
|
-
# },
|
6255
|
-
# },
|
6256
|
-
# },
|
6257
|
-
# ],
|
6258
|
-
# },
|
6259
|
-
# custom_ami_id: "XmlStringMaxLen256",
|
6260
|
-
# },
|
6261
|
-
# ],
|
6262
|
-
# instance_fleets: [
|
6263
|
-
# {
|
6264
|
-
# name: "XmlStringMaxLen256",
|
6265
|
-
# instance_fleet_type: "MASTER", # required, accepts MASTER, CORE, TASK
|
6266
|
-
# target_on_demand_capacity: 1,
|
6267
|
-
# target_spot_capacity: 1,
|
6268
|
-
# instance_type_configs: [
|
6269
|
-
# {
|
6270
|
-
# instance_type: "InstanceType", # required
|
6271
|
-
# weighted_capacity: 1,
|
6272
|
-
# bid_price: "XmlStringMaxLen256",
|
6273
|
-
# bid_price_as_percentage_of_on_demand_price: 1.0,
|
6274
|
-
# ebs_configuration: {
|
6275
|
-
# ebs_block_device_configs: [
|
6276
|
-
# {
|
6277
|
-
# volume_specification: { # required
|
6278
|
-
# volume_type: "String", # required
|
6279
|
-
# iops: 1,
|
6280
|
-
# size_in_gb: 1, # required
|
6281
|
-
# throughput: 1,
|
6282
|
-
# },
|
6283
|
-
# volumes_per_instance: 1,
|
6284
|
-
# },
|
6285
|
-
# ],
|
6286
|
-
# ebs_optimized: false,
|
6287
|
-
# },
|
6288
|
-
# configurations: [
|
6289
|
-
# {
|
6290
|
-
# classification: "String",
|
6291
|
-
# configurations: {
|
6292
|
-
# # recursive ConfigurationList
|
6293
|
-
# },
|
6294
|
-
# properties: {
|
6295
|
-
# "String" => "String",
|
6296
|
-
# },
|
6297
|
-
# },
|
6298
|
-
# ],
|
6299
|
-
# custom_ami_id: "XmlStringMaxLen256",
|
6300
|
-
# },
|
6301
|
-
# ],
|
6302
|
-
# launch_specifications: {
|
6303
|
-
# spot_specification: {
|
6304
|
-
# timeout_duration_minutes: 1, # required
|
6305
|
-
# timeout_action: "SWITCH_TO_ON_DEMAND", # required, accepts SWITCH_TO_ON_DEMAND, TERMINATE_CLUSTER
|
6306
|
-
# block_duration_minutes: 1,
|
6307
|
-
# allocation_strategy: "capacity-optimized", # accepts capacity-optimized
|
6308
|
-
# },
|
6309
|
-
# on_demand_specification: {
|
6310
|
-
# allocation_strategy: "lowest-price", # required, accepts lowest-price
|
6311
|
-
# capacity_reservation_options: {
|
6312
|
-
# usage_strategy: "use-capacity-reservations-first", # accepts use-capacity-reservations-first
|
6313
|
-
# capacity_reservation_preference: "open", # accepts open, none
|
6314
|
-
# capacity_reservation_resource_group_arn: "XmlStringMaxLen256",
|
6315
|
-
# },
|
6316
|
-
# },
|
6317
|
-
# },
|
6318
|
-
# },
|
6319
|
-
# ],
|
6320
|
-
# ec2_key_name: "XmlStringMaxLen256",
|
6321
|
-
# placement: {
|
6322
|
-
# availability_zone: "XmlString",
|
6323
|
-
# availability_zones: ["XmlStringMaxLen256"],
|
6324
|
-
# },
|
6325
|
-
# keep_job_flow_alive_when_no_steps: false,
|
6326
|
-
# termination_protected: false,
|
6327
|
-
# hadoop_version: "XmlStringMaxLen256",
|
6328
|
-
# ec2_subnet_id: "XmlStringMaxLen256",
|
6329
|
-
# ec2_subnet_ids: ["XmlStringMaxLen256"],
|
6330
|
-
# emr_managed_master_security_group: "XmlStringMaxLen256",
|
6331
|
-
# emr_managed_slave_security_group: "XmlStringMaxLen256",
|
6332
|
-
# service_access_security_group: "XmlStringMaxLen256",
|
6333
|
-
# additional_master_security_groups: ["XmlStringMaxLen256"],
|
6334
|
-
# additional_slave_security_groups: ["XmlStringMaxLen256"],
|
6335
|
-
# },
|
6336
|
-
# steps: [
|
6337
|
-
# {
|
6338
|
-
# name: "XmlStringMaxLen256", # required
|
6339
|
-
# action_on_failure: "TERMINATE_JOB_FLOW", # accepts TERMINATE_JOB_FLOW, TERMINATE_CLUSTER, CANCEL_AND_WAIT, CONTINUE
|
6340
|
-
# hadoop_jar_step: { # required
|
6341
|
-
# properties: [
|
6342
|
-
# {
|
6343
|
-
# key: "XmlString",
|
6344
|
-
# value: "XmlString",
|
6345
|
-
# },
|
6346
|
-
# ],
|
6347
|
-
# jar: "XmlString", # required
|
6348
|
-
# main_class: "XmlString",
|
6349
|
-
# args: ["XmlString"],
|
6350
|
-
# },
|
6351
|
-
# },
|
6352
|
-
# ],
|
6353
|
-
# bootstrap_actions: [
|
6354
|
-
# {
|
6355
|
-
# name: "XmlStringMaxLen256", # required
|
6356
|
-
# script_bootstrap_action: { # required
|
6357
|
-
# path: "XmlString", # required
|
6358
|
-
# args: ["XmlString"],
|
6359
|
-
# },
|
6360
|
-
# },
|
6361
|
-
# ],
|
6362
|
-
# supported_products: ["XmlStringMaxLen256"],
|
6363
|
-
# new_supported_products: [
|
6364
|
-
# {
|
6365
|
-
# name: "XmlStringMaxLen256",
|
6366
|
-
# args: ["XmlString"],
|
6367
|
-
# },
|
6368
|
-
# ],
|
6369
|
-
# applications: [
|
6370
|
-
# {
|
6371
|
-
# name: "String",
|
6372
|
-
# version: "String",
|
6373
|
-
# args: ["String"],
|
6374
|
-
# additional_info: {
|
6375
|
-
# "String" => "String",
|
6376
|
-
# },
|
6377
|
-
# },
|
6378
|
-
# ],
|
6379
|
-
# configurations: [
|
6380
|
-
# {
|
6381
|
-
# classification: "String",
|
6382
|
-
# configurations: {
|
6383
|
-
# # recursive ConfigurationList
|
6384
|
-
# },
|
6385
|
-
# properties: {
|
6386
|
-
# "String" => "String",
|
6387
|
-
# },
|
6388
|
-
# },
|
6389
|
-
# ],
|
6390
|
-
# visible_to_all_users: false,
|
6391
|
-
# job_flow_role: "XmlString",
|
6392
|
-
# service_role: "XmlString",
|
6393
|
-
# tags: [
|
6394
|
-
# {
|
6395
|
-
# key: "String",
|
6396
|
-
# value: "String",
|
6397
|
-
# },
|
6398
|
-
# ],
|
6399
|
-
# security_configuration: "XmlString",
|
6400
|
-
# auto_scaling_role: "XmlString",
|
6401
|
-
# scale_down_behavior: "TERMINATE_AT_INSTANCE_HOUR", # accepts TERMINATE_AT_INSTANCE_HOUR, TERMINATE_AT_TASK_COMPLETION
|
6402
|
-
# custom_ami_id: "XmlStringMaxLen256",
|
6403
|
-
# ebs_root_volume_size: 1,
|
6404
|
-
# repo_upgrade_on_boot: "SECURITY", # accepts SECURITY, NONE
|
6405
|
-
# kerberos_attributes: {
|
6406
|
-
# realm: "XmlStringMaxLen256", # required
|
6407
|
-
# kdc_admin_password: "XmlStringMaxLen256", # required
|
6408
|
-
# cross_realm_trust_principal_password: "XmlStringMaxLen256",
|
6409
|
-
# ad_domain_join_user: "XmlStringMaxLen256",
|
6410
|
-
# ad_domain_join_password: "XmlStringMaxLen256",
|
6411
|
-
# },
|
6412
|
-
# step_concurrency_level: 1,
|
6413
|
-
# managed_scaling_policy: {
|
6414
|
-
# compute_limits: {
|
6415
|
-
# unit_type: "InstanceFleetUnits", # required, accepts InstanceFleetUnits, Instances, VCPU
|
6416
|
-
# minimum_capacity_units: 1, # required
|
6417
|
-
# maximum_capacity_units: 1, # required
|
6418
|
-
# maximum_on_demand_capacity_units: 1,
|
6419
|
-
# maximum_core_capacity_units: 1,
|
6420
|
-
# },
|
6421
|
-
# },
|
6422
|
-
# placement_group_configs: [
|
6423
|
-
# {
|
6424
|
-
# instance_role: "MASTER", # required, accepts MASTER, CORE, TASK
|
6425
|
-
# placement_strategy: "SPREAD", # accepts SPREAD, PARTITION, CLUSTER, NONE
|
6426
|
-
# },
|
6427
|
-
# ],
|
6428
|
-
# auto_termination_policy: {
|
6429
|
-
# idle_timeout: 1,
|
6430
|
-
# },
|
6431
|
-
# os_release_label: "XmlStringMaxLen256",
|
6432
|
-
# }
|
6433
|
-
#
|
6434
4946
|
# @!attribute [rw] name
|
6435
4947
|
# The name of the job flow.
|
6436
4948
|
# @return [String]
|
@@ -6591,7 +5103,9 @@ module Aws::EMR
|
|
6591
5103
|
#
|
6592
5104
|
# @!attribute [rw] service_role
|
6593
5105
|
# The IAM role that Amazon EMR assumes in order to access Amazon Web
|
6594
|
-
# Services resources on your behalf.
|
5106
|
+
# Services resources on your behalf. If you've created a custom
|
5107
|
+
# service role path, you must specify it for the service role when you
|
5108
|
+
# launch your cluster.
|
6595
5109
|
# @return [String]
|
6596
5110
|
#
|
6597
5111
|
# @!attribute [rw] tags
|
@@ -6765,18 +5279,6 @@ module Aws::EMR
|
|
6765
5279
|
# The type of adjustment the automatic scaling activity makes when
|
6766
5280
|
# triggered, and the periodicity of the adjustment.
|
6767
5281
|
#
|
6768
|
-
# @note When making an API call, you may pass ScalingAction
|
6769
|
-
# data as a hash:
|
6770
|
-
#
|
6771
|
-
# {
|
6772
|
-
# market: "ON_DEMAND", # accepts ON_DEMAND, SPOT
|
6773
|
-
# simple_scaling_policy_configuration: { # required
|
6774
|
-
# adjustment_type: "CHANGE_IN_CAPACITY", # accepts CHANGE_IN_CAPACITY, PERCENT_CHANGE_IN_CAPACITY, EXACT_CAPACITY
|
6775
|
-
# scaling_adjustment: 1, # required
|
6776
|
-
# cool_down: 1,
|
6777
|
-
# },
|
6778
|
-
# }
|
6779
|
-
#
|
6780
5282
|
# @!attribute [rw] market
|
6781
5283
|
# Not available for instance groups. Instance groups use the market
|
6782
5284
|
# type specified for the group.
|
@@ -6801,14 +5303,6 @@ module Aws::EMR
|
|
6801
5303
|
# rules will not cause an instance group to grow above or below these
|
6802
5304
|
# limits.
|
6803
5305
|
#
|
6804
|
-
# @note When making an API call, you may pass ScalingConstraints
|
6805
|
-
# data as a hash:
|
6806
|
-
#
|
6807
|
-
# {
|
6808
|
-
# min_capacity: 1, # required
|
6809
|
-
# max_capacity: 1, # required
|
6810
|
-
# }
|
6811
|
-
#
|
6812
5306
|
# @!attribute [rw] min_capacity
|
6813
5307
|
# The lower boundary of EC2 instances in an instance group below which
|
6814
5308
|
# scaling activities are not allowed to shrink. Scale-in activities
|
@@ -6836,40 +5330,6 @@ module Aws::EMR
|
|
6836
5330
|
# automatic scaling policy for an instance group can comprise one or
|
6837
5331
|
# more automatic scaling rules.
|
6838
5332
|
#
|
6839
|
-
# @note When making an API call, you may pass ScalingRule
|
6840
|
-
# data as a hash:
|
6841
|
-
#
|
6842
|
-
# {
|
6843
|
-
# name: "String", # required
|
6844
|
-
# description: "String",
|
6845
|
-
# action: { # required
|
6846
|
-
# market: "ON_DEMAND", # accepts ON_DEMAND, SPOT
|
6847
|
-
# simple_scaling_policy_configuration: { # required
|
6848
|
-
# adjustment_type: "CHANGE_IN_CAPACITY", # accepts CHANGE_IN_CAPACITY, PERCENT_CHANGE_IN_CAPACITY, EXACT_CAPACITY
|
6849
|
-
# scaling_adjustment: 1, # required
|
6850
|
-
# cool_down: 1,
|
6851
|
-
# },
|
6852
|
-
# },
|
6853
|
-
# trigger: { # required
|
6854
|
-
# cloud_watch_alarm_definition: { # required
|
6855
|
-
# comparison_operator: "GREATER_THAN_OR_EQUAL", # required, accepts GREATER_THAN_OR_EQUAL, GREATER_THAN, LESS_THAN, LESS_THAN_OR_EQUAL
|
6856
|
-
# evaluation_periods: 1,
|
6857
|
-
# metric_name: "String", # required
|
6858
|
-
# namespace: "String",
|
6859
|
-
# period: 1, # required
|
6860
|
-
# statistic: "SAMPLE_COUNT", # accepts SAMPLE_COUNT, AVERAGE, SUM, MINIMUM, MAXIMUM
|
6861
|
-
# threshold: 1.0, # required
|
6862
|
-
# unit: "NONE", # accepts 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
|
6863
|
-
# dimensions: [
|
6864
|
-
# {
|
6865
|
-
# key: "String",
|
6866
|
-
# value: "String",
|
6867
|
-
# },
|
6868
|
-
# ],
|
6869
|
-
# },
|
6870
|
-
# },
|
6871
|
-
# }
|
6872
|
-
#
|
6873
5333
|
# @!attribute [rw] name
|
6874
5334
|
# The name used to identify an automatic scaling rule. Rule names must
|
6875
5335
|
# be unique within a scaling policy.
|
@@ -6901,28 +5361,6 @@ module Aws::EMR
|
|
6901
5361
|
|
6902
5362
|
# The conditions that trigger an automatic scaling activity.
|
6903
5363
|
#
|
6904
|
-
# @note When making an API call, you may pass ScalingTrigger
|
6905
|
-
# data as a hash:
|
6906
|
-
#
|
6907
|
-
# {
|
6908
|
-
# cloud_watch_alarm_definition: { # required
|
6909
|
-
# comparison_operator: "GREATER_THAN_OR_EQUAL", # required, accepts GREATER_THAN_OR_EQUAL, GREATER_THAN, LESS_THAN, LESS_THAN_OR_EQUAL
|
6910
|
-
# evaluation_periods: 1,
|
6911
|
-
# metric_name: "String", # required
|
6912
|
-
# namespace: "String",
|
6913
|
-
# period: 1, # required
|
6914
|
-
# statistic: "SAMPLE_COUNT", # accepts SAMPLE_COUNT, AVERAGE, SUM, MINIMUM, MAXIMUM
|
6915
|
-
# threshold: 1.0, # required
|
6916
|
-
# unit: "NONE", # accepts 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
|
6917
|
-
# dimensions: [
|
6918
|
-
# {
|
6919
|
-
# key: "String",
|
6920
|
-
# value: "String",
|
6921
|
-
# },
|
6922
|
-
# ],
|
6923
|
-
# },
|
6924
|
-
# }
|
6925
|
-
#
|
6926
5364
|
# @!attribute [rw] cloud_watch_alarm_definition
|
6927
5365
|
# The definition of a CloudWatch metric alarm. When the defined alarm
|
6928
5366
|
# conditions are met along with other trigger parameters, scaling
|
@@ -6939,14 +5377,6 @@ module Aws::EMR
|
|
6939
5377
|
|
6940
5378
|
# Configuration of the script to run during a bootstrap action.
|
6941
5379
|
#
|
6942
|
-
# @note When making an API call, you may pass ScriptBootstrapActionConfig
|
6943
|
-
# data as a hash:
|
6944
|
-
#
|
6945
|
-
# {
|
6946
|
-
# path: "XmlString", # required
|
6947
|
-
# args: ["XmlString"],
|
6948
|
-
# }
|
6949
|
-
#
|
6950
5380
|
# @!attribute [rw] path
|
6951
5381
|
# Location in Amazon S3 of the script to run during a bootstrap
|
6952
5382
|
# action.
|
@@ -6998,7 +5428,7 @@ module Aws::EMR
|
|
6998
5428
|
#
|
6999
5429
|
# @!attribute [rw] identity_name
|
7000
5430
|
# The name of the user or group. For more information, see
|
7001
|
-
# [UserName][1] and [DisplayName][2] in the *
|
5431
|
+
# [UserName][1] and [DisplayName][2] in the *IAM Identity Center
|
7002
5432
|
# Identity Store API Reference*.
|
7003
5433
|
#
|
7004
5434
|
#
|
@@ -7048,12 +5478,12 @@ module Aws::EMR
|
|
7048
5478
|
#
|
7049
5479
|
# @!attribute [rw] identity_id
|
7050
5480
|
# The globally unique identifier (GUID) of the user or group from the
|
7051
|
-
#
|
5481
|
+
# IAM Identity Center Identity Store.
|
7052
5482
|
# @return [String]
|
7053
5483
|
#
|
7054
5484
|
# @!attribute [rw] identity_name
|
7055
5485
|
# The name of the user or group. For more information, see
|
7056
|
-
# [UserName][1] and [DisplayName][2] in the *
|
5486
|
+
# [UserName][1] and [DisplayName][2] in the *IAM Identity Center
|
7057
5487
|
# Identity Store API Reference*.
|
7058
5488
|
#
|
7059
5489
|
#
|
@@ -7091,14 +5521,6 @@ module Aws::EMR
|
|
7091
5521
|
|
7092
5522
|
# The input argument to the TerminationProtection operation.
|
7093
5523
|
#
|
7094
|
-
# @note When making an API call, you may pass SetTerminationProtectionInput
|
7095
|
-
# data as a hash:
|
7096
|
-
#
|
7097
|
-
# {
|
7098
|
-
# job_flow_ids: ["XmlString"], # required
|
7099
|
-
# termination_protected: false, # required
|
7100
|
-
# }
|
7101
|
-
#
|
7102
5524
|
# @!attribute [rw] job_flow_ids
|
7103
5525
|
# A list of strings that uniquely identify the clusters to protect.
|
7104
5526
|
# This identifier is returned by RunJobFlow and can also be obtained
|
@@ -7122,14 +5544,6 @@ module Aws::EMR
|
|
7122
5544
|
|
7123
5545
|
# The input to the SetVisibleToAllUsers action.
|
7124
5546
|
#
|
7125
|
-
# @note When making an API call, you may pass SetVisibleToAllUsersInput
|
7126
|
-
# data as a hash:
|
7127
|
-
#
|
7128
|
-
# {
|
7129
|
-
# job_flow_ids: ["XmlString"], # required
|
7130
|
-
# visible_to_all_users: false, # required
|
7131
|
-
# }
|
7132
|
-
#
|
7133
5547
|
# @!attribute [rw] job_flow_ids
|
7134
5548
|
# The unique identifier of the job flow (cluster).
|
7135
5549
|
# @return [Array<String>]
|
@@ -7155,18 +5569,6 @@ module Aws::EMR
|
|
7155
5569
|
# Policy for customizing shrink operations. Allows configuration of
|
7156
5570
|
# decommissioning timeout and targeted instance shrinking.
|
7157
5571
|
#
|
7158
|
-
# @note When making an API call, you may pass ShrinkPolicy
|
7159
|
-
# data as a hash:
|
7160
|
-
#
|
7161
|
-
# {
|
7162
|
-
# decommission_timeout: 1,
|
7163
|
-
# instance_resize_policy: {
|
7164
|
-
# instances_to_terminate: ["InstanceId"],
|
7165
|
-
# instances_to_protect: ["InstanceId"],
|
7166
|
-
# instance_termination_timeout: 1,
|
7167
|
-
# },
|
7168
|
-
# }
|
7169
|
-
#
|
7170
5572
|
# @!attribute [rw] decommission_timeout
|
7171
5573
|
# The desired timeout for decommissioning an instance. Overrides the
|
7172
5574
|
# default YARN decommissioning timeout.
|
@@ -7191,15 +5593,6 @@ module Aws::EMR
|
|
7191
5593
|
# instances that will be added each time the CloudWatch metric alarm
|
7192
5594
|
# condition is satisfied.
|
7193
5595
|
#
|
7194
|
-
# @note When making an API call, you may pass SimpleScalingPolicyConfiguration
|
7195
|
-
# data as a hash:
|
7196
|
-
#
|
7197
|
-
# {
|
7198
|
-
# adjustment_type: "CHANGE_IN_CAPACITY", # accepts CHANGE_IN_CAPACITY, PERCENT_CHANGE_IN_CAPACITY, EXACT_CAPACITY
|
7199
|
-
# scaling_adjustment: 1, # required
|
7200
|
-
# cool_down: 1,
|
7201
|
-
# }
|
7202
|
-
#
|
7203
5596
|
# @!attribute [rw] adjustment_type
|
7204
5597
|
# The way in which EC2 instances are added (if `ScalingAdjustment` is
|
7205
5598
|
# a positive number) or terminated (if `ScalingAdjustment` is a
|
@@ -7281,16 +5674,6 @@ module Aws::EMR
|
|
7281
5674
|
#
|
7282
5675
|
# </note>
|
7283
5676
|
#
|
7284
|
-
# @note When making an API call, you may pass SpotProvisioningSpecification
|
7285
|
-
# data as a hash:
|
7286
|
-
#
|
7287
|
-
# {
|
7288
|
-
# timeout_duration_minutes: 1, # required
|
7289
|
-
# timeout_action: "SWITCH_TO_ON_DEMAND", # required, accepts SWITCH_TO_ON_DEMAND, TERMINATE_CLUSTER
|
7290
|
-
# block_duration_minutes: 1,
|
7291
|
-
# allocation_strategy: "capacity-optimized", # accepts capacity-optimized
|
7292
|
-
# }
|
7293
|
-
#
|
7294
5677
|
# @!attribute [rw] timeout_duration_minutes
|
7295
5678
|
# The spot provisioning timeout period in minutes. If Spot Instances
|
7296
5679
|
# are not provisioned within this time period, the `TimeOutAction` is
|
@@ -7347,29 +5730,6 @@ module Aws::EMR
|
|
7347
5730
|
include Aws::Structure
|
7348
5731
|
end
|
7349
5732
|
|
7350
|
-
# @note When making an API call, you may pass StartNotebookExecutionInput
|
7351
|
-
# data as a hash:
|
7352
|
-
#
|
7353
|
-
# {
|
7354
|
-
# editor_id: "XmlStringMaxLen256", # required
|
7355
|
-
# relative_path: "XmlString", # required
|
7356
|
-
# notebook_execution_name: "XmlStringMaxLen256",
|
7357
|
-
# notebook_params: "XmlString",
|
7358
|
-
# execution_engine: { # required
|
7359
|
-
# id: "XmlStringMaxLen256", # required
|
7360
|
-
# type: "EMR", # accepts EMR
|
7361
|
-
# master_instance_security_group_id: "XmlStringMaxLen256",
|
7362
|
-
# },
|
7363
|
-
# service_role: "XmlString", # required
|
7364
|
-
# notebook_instance_security_group_id: "XmlStringMaxLen256",
|
7365
|
-
# tags: [
|
7366
|
-
# {
|
7367
|
-
# key: "String",
|
7368
|
-
# value: "String",
|
7369
|
-
# },
|
7370
|
-
# ],
|
7371
|
-
# }
|
7372
|
-
#
|
7373
5733
|
# @!attribute [rw] editor_id
|
7374
5734
|
# The unique identifier of the EMR Notebook to use for notebook
|
7375
5735
|
# execution.
|
@@ -7509,25 +5869,6 @@ module Aws::EMR
|
|
7509
5869
|
|
7510
5870
|
# Specification for a cluster (job flow) step.
|
7511
5871
|
#
|
7512
|
-
# @note When making an API call, you may pass StepConfig
|
7513
|
-
# data as a hash:
|
7514
|
-
#
|
7515
|
-
# {
|
7516
|
-
# name: "XmlStringMaxLen256", # required
|
7517
|
-
# action_on_failure: "TERMINATE_JOB_FLOW", # accepts TERMINATE_JOB_FLOW, TERMINATE_CLUSTER, CANCEL_AND_WAIT, CONTINUE
|
7518
|
-
# hadoop_jar_step: { # required
|
7519
|
-
# properties: [
|
7520
|
-
# {
|
7521
|
-
# key: "XmlString",
|
7522
|
-
# value: "XmlString",
|
7523
|
-
# },
|
7524
|
-
# ],
|
7525
|
-
# jar: "XmlString", # required
|
7526
|
-
# main_class: "XmlString",
|
7527
|
-
# args: ["XmlString"],
|
7528
|
-
# },
|
7529
|
-
# }
|
7530
|
-
#
|
7531
5872
|
# @!attribute [rw] name
|
7532
5873
|
# The name of the step.
|
7533
5874
|
# @return [String]
|
@@ -7739,13 +6080,6 @@ module Aws::EMR
|
|
7739
6080
|
include Aws::Structure
|
7740
6081
|
end
|
7741
6082
|
|
7742
|
-
# @note When making an API call, you may pass StopNotebookExecutionInput
|
7743
|
-
# data as a hash:
|
7744
|
-
#
|
7745
|
-
# {
|
7746
|
-
# notebook_execution_id: "XmlStringMaxLen256", # required
|
7747
|
-
# }
|
7748
|
-
#
|
7749
6083
|
# @!attribute [rw] notebook_execution_id
|
7750
6084
|
# The unique identifier of the notebook execution.
|
7751
6085
|
# @return [String]
|
@@ -7779,7 +6113,7 @@ module Aws::EMR
|
|
7779
6113
|
#
|
7780
6114
|
# @!attribute [rw] auth_mode
|
7781
6115
|
# Specifies whether the Amazon EMR Studio authenticates users using
|
7782
|
-
# IAM or
|
6116
|
+
# IAM or IAM Identity Center.
|
7783
6117
|
# @return [String]
|
7784
6118
|
#
|
7785
6119
|
# @!attribute [rw] vpc_id
|
@@ -7891,8 +6225,8 @@ module Aws::EMR
|
|
7891
6225
|
# @return [String]
|
7892
6226
|
#
|
7893
6227
|
# @!attribute [rw] auth_mode
|
7894
|
-
# Specifies whether the Studio authenticates users using IAM or
|
7895
|
-
#
|
6228
|
+
# Specifies whether the Studio authenticates users using IAM or IAM
|
6229
|
+
# Identity Center.
|
7896
6230
|
# @return [String]
|
7897
6231
|
#
|
7898
6232
|
# @!attribute [rw] creation_time
|
@@ -7917,14 +6251,6 @@ module Aws::EMR
|
|
7917
6251
|
# arguments. EMR accepts these arguments and forwards them to the
|
7918
6252
|
# corresponding installation script as bootstrap action arguments.
|
7919
6253
|
#
|
7920
|
-
# @note When making an API call, you may pass SupportedProductConfig
|
7921
|
-
# data as a hash:
|
7922
|
-
#
|
7923
|
-
# {
|
7924
|
-
# name: "XmlStringMaxLen256",
|
7925
|
-
# args: ["XmlString"],
|
7926
|
-
# }
|
7927
|
-
#
|
7928
6254
|
# @!attribute [rw] name
|
7929
6255
|
# The name of the product configuration.
|
7930
6256
|
# @return [String]
|
@@ -7952,14 +6278,6 @@ module Aws::EMR
|
|
7952
6278
|
#
|
7953
6279
|
# [1]: https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-plan-tags.html
|
7954
6280
|
#
|
7955
|
-
# @note When making an API call, you may pass Tag
|
7956
|
-
# data as a hash:
|
7957
|
-
#
|
7958
|
-
# {
|
7959
|
-
# key: "String",
|
7960
|
-
# value: "String",
|
7961
|
-
# }
|
7962
|
-
#
|
7963
6281
|
# @!attribute [rw] key
|
7964
6282
|
# A user-defined key, which is the minimum required information for a
|
7965
6283
|
# valid tag. For more information, see [Tag][1].
|
@@ -7989,13 +6307,6 @@ module Aws::EMR
|
|
7989
6307
|
|
7990
6308
|
# Input to the TerminateJobFlows operation.
|
7991
6309
|
#
|
7992
|
-
# @note When making an API call, you may pass TerminateJobFlowsInput
|
7993
|
-
# data as a hash:
|
7994
|
-
#
|
7995
|
-
# {
|
7996
|
-
# job_flow_ids: ["XmlString"], # required
|
7997
|
-
# }
|
7998
|
-
#
|
7999
6310
|
# @!attribute [rw] job_flow_ids
|
8000
6311
|
# A list of job flows to be shut down.
|
8001
6312
|
# @return [Array<String>]
|
@@ -8008,17 +6319,6 @@ module Aws::EMR
|
|
8008
6319
|
include Aws::Structure
|
8009
6320
|
end
|
8010
6321
|
|
8011
|
-
# @note When making an API call, you may pass UpdateStudioInput
|
8012
|
-
# data as a hash:
|
8013
|
-
#
|
8014
|
-
# {
|
8015
|
-
# studio_id: "XmlStringMaxLen256", # required
|
8016
|
-
# name: "XmlStringMaxLen256",
|
8017
|
-
# description: "XmlStringMaxLen256",
|
8018
|
-
# subnet_ids: ["String"],
|
8019
|
-
# default_s3_location: "XmlString",
|
8020
|
-
# }
|
8021
|
-
#
|
8022
6322
|
# @!attribute [rw] studio_id
|
8023
6323
|
# The ID of the Amazon EMR Studio to update.
|
8024
6324
|
# @return [String]
|
@@ -8056,25 +6356,14 @@ module Aws::EMR
|
|
8056
6356
|
include Aws::Structure
|
8057
6357
|
end
|
8058
6358
|
|
8059
|
-
# @note When making an API call, you may pass UpdateStudioSessionMappingInput
|
8060
|
-
# data as a hash:
|
8061
|
-
#
|
8062
|
-
# {
|
8063
|
-
# studio_id: "XmlStringMaxLen256", # required
|
8064
|
-
# identity_id: "XmlStringMaxLen256",
|
8065
|
-
# identity_name: "XmlStringMaxLen256",
|
8066
|
-
# identity_type: "USER", # required, accepts USER, GROUP
|
8067
|
-
# session_policy_arn: "XmlStringMaxLen256", # required
|
8068
|
-
# }
|
8069
|
-
#
|
8070
6359
|
# @!attribute [rw] studio_id
|
8071
6360
|
# The ID of the Amazon EMR Studio.
|
8072
6361
|
# @return [String]
|
8073
6362
|
#
|
8074
6363
|
# @!attribute [rw] identity_id
|
8075
6364
|
# The globally unique identifier (GUID) of the user or group. For more
|
8076
|
-
# information, see [UserId][1] and [GroupId][2] in the *
|
8077
|
-
#
|
6365
|
+
# information, see [UserId][1] and [GroupId][2] in the *IAM Identity
|
6366
|
+
# Center Identity Store API Reference*. Either `IdentityName` or
|
8078
6367
|
# `IdentityId` must be specified.
|
8079
6368
|
#
|
8080
6369
|
#
|
@@ -8085,7 +6374,7 @@ module Aws::EMR
|
|
8085
6374
|
#
|
8086
6375
|
# @!attribute [rw] identity_name
|
8087
6376
|
# The name of the user or group to update. For more information, see
|
8088
|
-
# [UserName][1] and [DisplayName][2] in the *
|
6377
|
+
# [UserName][1] and [DisplayName][2] in the *IAM Identity Center
|
8089
6378
|
# Identity Store API Reference*. Either `IdentityName` or `IdentityId`
|
8090
6379
|
# must be specified.
|
8091
6380
|
#
|
@@ -8116,22 +6405,35 @@ module Aws::EMR
|
|
8116
6405
|
include Aws::Structure
|
8117
6406
|
end
|
8118
6407
|
|
6408
|
+
# The username and password that you use to connect to cluster
|
6409
|
+
# endpoints.
|
6410
|
+
#
|
6411
|
+
# @!attribute [rw] username
|
6412
|
+
# The username associated with the temporary credentials that you use
|
6413
|
+
# to connect to cluster endpoints.
|
6414
|
+
# @return [String]
|
6415
|
+
#
|
6416
|
+
# @!attribute [rw] password
|
6417
|
+
# The password associated with the temporary credentials that you use
|
6418
|
+
# to connect to cluster endpoints.
|
6419
|
+
# @return [String]
|
6420
|
+
#
|
6421
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/UsernamePassword AWS API Documentation
|
6422
|
+
#
|
6423
|
+
class UsernamePassword < Struct.new(
|
6424
|
+
:username,
|
6425
|
+
:password)
|
6426
|
+
SENSITIVE = []
|
6427
|
+
include Aws::Structure
|
6428
|
+
end
|
6429
|
+
|
8119
6430
|
# EBS volume specifications such as volume type, IOPS, size (GiB) and
|
8120
6431
|
# throughput (MiB/s) that are requested for the EBS volume attached to
|
8121
6432
|
# an EC2 instance in the cluster.
|
8122
6433
|
#
|
8123
|
-
# @note When making an API call, you may pass VolumeSpecification
|
8124
|
-
# data as a hash:
|
8125
|
-
#
|
8126
|
-
# {
|
8127
|
-
# volume_type: "String", # required
|
8128
|
-
# iops: 1,
|
8129
|
-
# size_in_gb: 1, # required
|
8130
|
-
# throughput: 1,
|
8131
|
-
# }
|
8132
|
-
#
|
8133
6434
|
# @!attribute [rw] volume_type
|
8134
|
-
# The volume type. Volume types supported are gp2, io1,
|
6435
|
+
# The volume type. Volume types supported are gp3, gp2, io1, st1, sc1,
|
6436
|
+
# and standard.
|
8135
6437
|
# @return [String]
|
8136
6438
|
#
|
8137
6439
|
# @!attribute [rw] iops
|