aws-sdk-emr 1.81.0 → 1.83.0

Sign up to get free protection for your applications and to get access to all the features.
data/sig/client.rbs ADDED
@@ -0,0 +1,1223 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module EMR
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMR/Client.html#initialize-instance_method
14
+ def self.new: (
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?active_endpoint_cache: bool,
19
+ ?adaptive_retry_wait_to_fill: bool,
20
+ ?client_side_monitoring: bool,
21
+ ?client_side_monitoring_client_id: String,
22
+ ?client_side_monitoring_host: String,
23
+ ?client_side_monitoring_port: Integer,
24
+ ?client_side_monitoring_publisher: untyped,
25
+ ?convert_params: bool,
26
+ ?correct_clock_skew: bool,
27
+ ?defaults_mode: String,
28
+ ?disable_host_prefix_injection: bool,
29
+ ?disable_request_compression: bool,
30
+ ?endpoint: String,
31
+ ?endpoint_cache_max_entries: Integer,
32
+ ?endpoint_cache_max_threads: Integer,
33
+ ?endpoint_cache_poll_interval: Integer,
34
+ ?endpoint_discovery: bool,
35
+ ?ignore_configured_endpoint_urls: bool,
36
+ ?log_formatter: untyped,
37
+ ?log_level: Symbol,
38
+ ?logger: untyped,
39
+ ?max_attempts: Integer,
40
+ ?profile: String,
41
+ ?request_min_compression_size_bytes: Integer,
42
+ ?retry_backoff: Proc,
43
+ ?retry_base_delay: Float,
44
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
45
+ ?retry_limit: Integer,
46
+ ?retry_max_delay: Integer,
47
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
48
+ ?sdk_ua_app_id: String,
49
+ ?secret_access_key: String,
50
+ ?session_token: String,
51
+ ?simple_json: bool,
52
+ ?stub_responses: untyped,
53
+ ?token_provider: untyped,
54
+ ?use_dualstack_endpoint: bool,
55
+ ?use_fips_endpoint: bool,
56
+ ?validate_params: bool,
57
+ ?endpoint_provider: untyped,
58
+ ?http_proxy: String,
59
+ ?http_open_timeout: (Float | Integer),
60
+ ?http_read_timeout: (Float | Integer),
61
+ ?http_idle_timeout: (Float | Integer),
62
+ ?http_continue_timeout: (Float | Integer),
63
+ ?ssl_timeout: (Float | Integer | nil),
64
+ ?http_wire_trace: bool,
65
+ ?ssl_verify_peer: bool,
66
+ ?ssl_ca_bundle: String,
67
+ ?ssl_ca_directory: String,
68
+ ?ssl_ca_store: String,
69
+ ?on_chunk_received: Proc,
70
+ ?on_chunk_sent: Proc,
71
+ ?raise_response_errors: bool
72
+ ) -> instance
73
+ | (?Hash[Symbol, untyped]) -> instance
74
+
75
+
76
+ interface _AddInstanceFleetResponseSuccess
77
+ include ::Seahorse::Client::_ResponseSuccess[Types::AddInstanceFleetOutput]
78
+ def cluster_id: () -> ::String
79
+ def instance_fleet_id: () -> ::String
80
+ def cluster_arn: () -> ::String
81
+ end
82
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMR/Client.html#add_instance_fleet-instance_method
83
+ def add_instance_fleet: (
84
+ cluster_id: ::String,
85
+ instance_fleet: {
86
+ name: ::String?,
87
+ instance_fleet_type: ("MASTER" | "CORE" | "TASK"),
88
+ target_on_demand_capacity: ::Integer?,
89
+ target_spot_capacity: ::Integer?,
90
+ instance_type_configs: Array[
91
+ {
92
+ instance_type: ::String,
93
+ weighted_capacity: ::Integer?,
94
+ bid_price: ::String?,
95
+ bid_price_as_percentage_of_on_demand_price: ::Float?,
96
+ ebs_configuration: {
97
+ ebs_block_device_configs: Array[
98
+ {
99
+ volume_specification: {
100
+ volume_type: ::String,
101
+ iops: ::Integer?,
102
+ size_in_gb: ::Integer,
103
+ throughput: ::Integer?
104
+ },
105
+ volumes_per_instance: ::Integer?
106
+ },
107
+ ]?,
108
+ ebs_optimized: bool?
109
+ }?,
110
+ configurations: Array[
111
+ {
112
+ classification: ::String?,
113
+ configurations: untyped?,
114
+ properties: Hash[::String, ::String]?
115
+ },
116
+ ]?,
117
+ custom_ami_id: ::String?
118
+ },
119
+ ]?,
120
+ launch_specifications: {
121
+ spot_specification: {
122
+ timeout_duration_minutes: ::Integer,
123
+ timeout_action: ("SWITCH_TO_ON_DEMAND" | "TERMINATE_CLUSTER"),
124
+ block_duration_minutes: ::Integer?,
125
+ allocation_strategy: ("capacity-optimized" | "price-capacity-optimized" | "lowest-price" | "diversified")?
126
+ }?,
127
+ on_demand_specification: {
128
+ allocation_strategy: ("lowest-price"),
129
+ capacity_reservation_options: {
130
+ usage_strategy: ("use-capacity-reservations-first")?,
131
+ capacity_reservation_preference: ("open" | "none")?,
132
+ capacity_reservation_resource_group_arn: ::String?
133
+ }?
134
+ }?
135
+ }?,
136
+ resize_specifications: {
137
+ spot_resize_specification: {
138
+ timeout_duration_minutes: ::Integer
139
+ }?,
140
+ on_demand_resize_specification: {
141
+ timeout_duration_minutes: ::Integer
142
+ }?
143
+ }?
144
+ }
145
+ ) -> _AddInstanceFleetResponseSuccess
146
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AddInstanceFleetResponseSuccess
147
+
148
+ interface _AddInstanceGroupsResponseSuccess
149
+ include ::Seahorse::Client::_ResponseSuccess[Types::AddInstanceGroupsOutput]
150
+ def job_flow_id: () -> ::String
151
+ def instance_group_ids: () -> ::Array[::String]
152
+ def cluster_arn: () -> ::String
153
+ end
154
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMR/Client.html#add_instance_groups-instance_method
155
+ def add_instance_groups: (
156
+ instance_groups: Array[
157
+ {
158
+ name: ::String?,
159
+ market: ("ON_DEMAND" | "SPOT")?,
160
+ instance_role: ("MASTER" | "CORE" | "TASK"),
161
+ bid_price: ::String?,
162
+ instance_type: ::String,
163
+ instance_count: ::Integer,
164
+ configurations: Array[
165
+ {
166
+ classification: ::String?,
167
+ configurations: untyped?,
168
+ properties: Hash[::String, ::String]?
169
+ },
170
+ ]?,
171
+ ebs_configuration: {
172
+ ebs_block_device_configs: Array[
173
+ {
174
+ volume_specification: {
175
+ volume_type: ::String,
176
+ iops: ::Integer?,
177
+ size_in_gb: ::Integer,
178
+ throughput: ::Integer?
179
+ },
180
+ volumes_per_instance: ::Integer?
181
+ },
182
+ ]?,
183
+ ebs_optimized: bool?
184
+ }?,
185
+ auto_scaling_policy: {
186
+ constraints: {
187
+ min_capacity: ::Integer,
188
+ max_capacity: ::Integer
189
+ },
190
+ rules: Array[
191
+ {
192
+ name: ::String,
193
+ description: ::String?,
194
+ action: {
195
+ market: ("ON_DEMAND" | "SPOT")?,
196
+ simple_scaling_policy_configuration: {
197
+ adjustment_type: ("CHANGE_IN_CAPACITY" | "PERCENT_CHANGE_IN_CAPACITY" | "EXACT_CAPACITY")?,
198
+ scaling_adjustment: ::Integer,
199
+ cool_down: ::Integer?
200
+ }
201
+ },
202
+ trigger: {
203
+ cloud_watch_alarm_definition: {
204
+ comparison_operator: ("GREATER_THAN_OR_EQUAL" | "GREATER_THAN" | "LESS_THAN" | "LESS_THAN_OR_EQUAL"),
205
+ evaluation_periods: ::Integer?,
206
+ metric_name: ::String,
207
+ namespace: ::String?,
208
+ period: ::Integer,
209
+ statistic: ("SAMPLE_COUNT" | "AVERAGE" | "SUM" | "MINIMUM" | "MAXIMUM")?,
210
+ threshold: ::Float,
211
+ unit: ("NONE" | "SECONDS" | "MICRO_SECONDS" | "MILLI_SECONDS" | "BYTES" | "KILO_BYTES" | "MEGA_BYTES" | "GIGA_BYTES" | "TERA_BYTES" | "BITS" | "KILO_BITS" | "MEGA_BITS" | "GIGA_BITS" | "TERA_BITS" | "PERCENT" | "COUNT" | "BYTES_PER_SECOND" | "KILO_BYTES_PER_SECOND" | "MEGA_BYTES_PER_SECOND" | "GIGA_BYTES_PER_SECOND" | "TERA_BYTES_PER_SECOND" | "BITS_PER_SECOND" | "KILO_BITS_PER_SECOND" | "MEGA_BITS_PER_SECOND" | "GIGA_BITS_PER_SECOND" | "TERA_BITS_PER_SECOND" | "COUNT_PER_SECOND")?,
212
+ dimensions: Array[
213
+ {
214
+ key: ::String?,
215
+ value: ::String?
216
+ },
217
+ ]?
218
+ }
219
+ }
220
+ },
221
+ ]
222
+ }?,
223
+ custom_ami_id: ::String?
224
+ },
225
+ ],
226
+ job_flow_id: ::String
227
+ ) -> _AddInstanceGroupsResponseSuccess
228
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AddInstanceGroupsResponseSuccess
229
+
230
+ interface _AddJobFlowStepsResponseSuccess
231
+ include ::Seahorse::Client::_ResponseSuccess[Types::AddJobFlowStepsOutput]
232
+ def step_ids: () -> ::Array[::String]
233
+ end
234
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMR/Client.html#add_job_flow_steps-instance_method
235
+ def add_job_flow_steps: (
236
+ job_flow_id: ::String,
237
+ steps: Array[
238
+ {
239
+ name: ::String,
240
+ action_on_failure: ("TERMINATE_JOB_FLOW" | "TERMINATE_CLUSTER" | "CANCEL_AND_WAIT" | "CONTINUE")?,
241
+ hadoop_jar_step: {
242
+ properties: Array[
243
+ {
244
+ key: ::String?,
245
+ value: ::String?
246
+ },
247
+ ]?,
248
+ jar: ::String,
249
+ main_class: ::String?,
250
+ args: Array[::String]?
251
+ }
252
+ },
253
+ ],
254
+ ?execution_role_arn: ::String
255
+ ) -> _AddJobFlowStepsResponseSuccess
256
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AddJobFlowStepsResponseSuccess
257
+
258
+ interface _AddTagsResponseSuccess
259
+ include ::Seahorse::Client::_ResponseSuccess[Types::AddTagsOutput]
260
+ end
261
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMR/Client.html#add_tags-instance_method
262
+ def add_tags: (
263
+ resource_id: ::String,
264
+ tags: Array[
265
+ {
266
+ key: ::String?,
267
+ value: ::String?
268
+ },
269
+ ]
270
+ ) -> _AddTagsResponseSuccess
271
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AddTagsResponseSuccess
272
+
273
+ interface _CancelStepsResponseSuccess
274
+ include ::Seahorse::Client::_ResponseSuccess[Types::CancelStepsOutput]
275
+ def cancel_steps_info_list: () -> ::Array[Types::CancelStepsInfo]
276
+ end
277
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMR/Client.html#cancel_steps-instance_method
278
+ def cancel_steps: (
279
+ cluster_id: ::String,
280
+ step_ids: Array[::String],
281
+ ?step_cancellation_option: ("SEND_INTERRUPT" | "TERMINATE_PROCESS")
282
+ ) -> _CancelStepsResponseSuccess
283
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CancelStepsResponseSuccess
284
+
285
+ interface _CreateSecurityConfigurationResponseSuccess
286
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateSecurityConfigurationOutput]
287
+ def name: () -> ::String
288
+ def creation_date_time: () -> ::Time
289
+ end
290
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMR/Client.html#create_security_configuration-instance_method
291
+ def create_security_configuration: (
292
+ name: ::String,
293
+ security_configuration: ::String
294
+ ) -> _CreateSecurityConfigurationResponseSuccess
295
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateSecurityConfigurationResponseSuccess
296
+
297
+ interface _CreateStudioResponseSuccess
298
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateStudioOutput]
299
+ def studio_id: () -> ::String
300
+ def url: () -> ::String
301
+ end
302
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMR/Client.html#create_studio-instance_method
303
+ def create_studio: (
304
+ name: ::String,
305
+ ?description: ::String,
306
+ auth_mode: ("SSO" | "IAM"),
307
+ vpc_id: ::String,
308
+ subnet_ids: Array[::String],
309
+ service_role: ::String,
310
+ ?user_role: ::String,
311
+ workspace_security_group_id: ::String,
312
+ engine_security_group_id: ::String,
313
+ default_s3_location: ::String,
314
+ ?idp_auth_url: ::String,
315
+ ?idp_relay_state_parameter_name: ::String,
316
+ ?tags: Array[
317
+ {
318
+ key: ::String?,
319
+ value: ::String?
320
+ },
321
+ ],
322
+ ?trusted_identity_propagation_enabled: bool,
323
+ ?idc_user_assignment: ("REQUIRED" | "OPTIONAL"),
324
+ ?idc_instance_arn: ::String,
325
+ ?encryption_key_arn: ::String
326
+ ) -> _CreateStudioResponseSuccess
327
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateStudioResponseSuccess
328
+
329
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMR/Client.html#create_studio_session_mapping-instance_method
330
+ def create_studio_session_mapping: (
331
+ studio_id: ::String,
332
+ ?identity_id: ::String,
333
+ ?identity_name: ::String,
334
+ identity_type: ("USER" | "GROUP"),
335
+ session_policy_arn: ::String
336
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
337
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
338
+
339
+ interface _DeleteSecurityConfigurationResponseSuccess
340
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteSecurityConfigurationOutput]
341
+ end
342
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMR/Client.html#delete_security_configuration-instance_method
343
+ def delete_security_configuration: (
344
+ name: ::String
345
+ ) -> _DeleteSecurityConfigurationResponseSuccess
346
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteSecurityConfigurationResponseSuccess
347
+
348
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMR/Client.html#delete_studio-instance_method
349
+ def delete_studio: (
350
+ studio_id: ::String
351
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
352
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
353
+
354
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMR/Client.html#delete_studio_session_mapping-instance_method
355
+ def delete_studio_session_mapping: (
356
+ studio_id: ::String,
357
+ ?identity_id: ::String,
358
+ ?identity_name: ::String,
359
+ identity_type: ("USER" | "GROUP")
360
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
361
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
362
+
363
+ interface _DescribeClusterResponseSuccess
364
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeClusterOutput]
365
+ def cluster: () -> Types::Cluster
366
+ end
367
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMR/Client.html#describe_cluster-instance_method
368
+ def describe_cluster: (
369
+ cluster_id: ::String
370
+ ) -> _DescribeClusterResponseSuccess
371
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeClusterResponseSuccess
372
+
373
+ interface _DescribeJobFlowsResponseSuccess
374
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeJobFlowsOutput]
375
+ def job_flows: () -> ::Array[Types::JobFlowDetail]
376
+ end
377
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMR/Client.html#describe_job_flows-instance_method
378
+ def describe_job_flows: (
379
+ ?created_after: ::Time,
380
+ ?created_before: ::Time,
381
+ ?job_flow_ids: Array[::String],
382
+ ?job_flow_states: Array[("STARTING" | "BOOTSTRAPPING" | "RUNNING" | "WAITING" | "SHUTTING_DOWN" | "TERMINATED" | "COMPLETED" | "FAILED")]
383
+ ) -> _DescribeJobFlowsResponseSuccess
384
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeJobFlowsResponseSuccess
385
+
386
+ interface _DescribeNotebookExecutionResponseSuccess
387
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeNotebookExecutionOutput]
388
+ def notebook_execution: () -> Types::NotebookExecution
389
+ end
390
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMR/Client.html#describe_notebook_execution-instance_method
391
+ def describe_notebook_execution: (
392
+ notebook_execution_id: ::String
393
+ ) -> _DescribeNotebookExecutionResponseSuccess
394
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeNotebookExecutionResponseSuccess
395
+
396
+ interface _DescribeReleaseLabelResponseSuccess
397
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeReleaseLabelOutput]
398
+ def release_label: () -> ::String
399
+ def applications: () -> ::Array[Types::SimplifiedApplication]
400
+ def next_token: () -> ::String
401
+ def available_os_releases: () -> ::Array[Types::OSRelease]
402
+ end
403
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMR/Client.html#describe_release_label-instance_method
404
+ def describe_release_label: (
405
+ ?release_label: ::String,
406
+ ?next_token: ::String,
407
+ ?max_results: ::Integer
408
+ ) -> _DescribeReleaseLabelResponseSuccess
409
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeReleaseLabelResponseSuccess
410
+
411
+ interface _DescribeSecurityConfigurationResponseSuccess
412
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeSecurityConfigurationOutput]
413
+ def name: () -> ::String
414
+ def security_configuration: () -> ::String
415
+ def creation_date_time: () -> ::Time
416
+ end
417
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMR/Client.html#describe_security_configuration-instance_method
418
+ def describe_security_configuration: (
419
+ name: ::String
420
+ ) -> _DescribeSecurityConfigurationResponseSuccess
421
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeSecurityConfigurationResponseSuccess
422
+
423
+ interface _DescribeStepResponseSuccess
424
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeStepOutput]
425
+ def step: () -> Types::Step
426
+ end
427
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMR/Client.html#describe_step-instance_method
428
+ def describe_step: (
429
+ cluster_id: ::String,
430
+ step_id: ::String
431
+ ) -> _DescribeStepResponseSuccess
432
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeStepResponseSuccess
433
+
434
+ interface _DescribeStudioResponseSuccess
435
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeStudioOutput]
436
+ def studio: () -> Types::Studio
437
+ end
438
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMR/Client.html#describe_studio-instance_method
439
+ def describe_studio: (
440
+ studio_id: ::String
441
+ ) -> _DescribeStudioResponseSuccess
442
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeStudioResponseSuccess
443
+
444
+ interface _GetAutoTerminationPolicyResponseSuccess
445
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetAutoTerminationPolicyOutput]
446
+ def auto_termination_policy: () -> Types::AutoTerminationPolicy
447
+ end
448
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMR/Client.html#get_auto_termination_policy-instance_method
449
+ def get_auto_termination_policy: (
450
+ cluster_id: ::String
451
+ ) -> _GetAutoTerminationPolicyResponseSuccess
452
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAutoTerminationPolicyResponseSuccess
453
+
454
+ interface _GetBlockPublicAccessConfigurationResponseSuccess
455
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetBlockPublicAccessConfigurationOutput]
456
+ def block_public_access_configuration: () -> Types::BlockPublicAccessConfiguration
457
+ def block_public_access_configuration_metadata: () -> Types::BlockPublicAccessConfigurationMetadata
458
+ end
459
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMR/Client.html#get_block_public_access_configuration-instance_method
460
+ def get_block_public_access_configuration: (
461
+ ) -> _GetBlockPublicAccessConfigurationResponseSuccess
462
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBlockPublicAccessConfigurationResponseSuccess
463
+
464
+ interface _GetClusterSessionCredentialsResponseSuccess
465
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetClusterSessionCredentialsOutput]
466
+ def credentials: () -> Types::Credentials
467
+ def expires_at: () -> ::Time
468
+ end
469
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMR/Client.html#get_cluster_session_credentials-instance_method
470
+ def get_cluster_session_credentials: (
471
+ cluster_id: ::String,
472
+ ?execution_role_arn: ::String
473
+ ) -> _GetClusterSessionCredentialsResponseSuccess
474
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetClusterSessionCredentialsResponseSuccess
475
+
476
+ interface _GetManagedScalingPolicyResponseSuccess
477
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetManagedScalingPolicyOutput]
478
+ def managed_scaling_policy: () -> Types::ManagedScalingPolicy
479
+ end
480
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMR/Client.html#get_managed_scaling_policy-instance_method
481
+ def get_managed_scaling_policy: (
482
+ cluster_id: ::String
483
+ ) -> _GetManagedScalingPolicyResponseSuccess
484
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetManagedScalingPolicyResponseSuccess
485
+
486
+ interface _GetStudioSessionMappingResponseSuccess
487
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetStudioSessionMappingOutput]
488
+ def session_mapping: () -> Types::SessionMappingDetail
489
+ end
490
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMR/Client.html#get_studio_session_mapping-instance_method
491
+ def get_studio_session_mapping: (
492
+ studio_id: ::String,
493
+ ?identity_id: ::String,
494
+ ?identity_name: ::String,
495
+ identity_type: ("USER" | "GROUP")
496
+ ) -> _GetStudioSessionMappingResponseSuccess
497
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetStudioSessionMappingResponseSuccess
498
+
499
+ interface _ListBootstrapActionsResponseSuccess
500
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListBootstrapActionsOutput]
501
+ def bootstrap_actions: () -> ::Array[Types::Command]
502
+ def marker: () -> ::String
503
+ end
504
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMR/Client.html#list_bootstrap_actions-instance_method
505
+ def list_bootstrap_actions: (
506
+ cluster_id: ::String,
507
+ ?marker: ::String
508
+ ) -> _ListBootstrapActionsResponseSuccess
509
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListBootstrapActionsResponseSuccess
510
+
511
+ interface _ListClustersResponseSuccess
512
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListClustersOutput]
513
+ def clusters: () -> ::Array[Types::ClusterSummary]
514
+ def marker: () -> ::String
515
+ end
516
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMR/Client.html#list_clusters-instance_method
517
+ def list_clusters: (
518
+ ?created_after: ::Time,
519
+ ?created_before: ::Time,
520
+ ?cluster_states: Array[("STARTING" | "BOOTSTRAPPING" | "RUNNING" | "WAITING" | "TERMINATING" | "TERMINATED" | "TERMINATED_WITH_ERRORS")],
521
+ ?marker: ::String
522
+ ) -> _ListClustersResponseSuccess
523
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListClustersResponseSuccess
524
+
525
+ interface _ListInstanceFleetsResponseSuccess
526
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListInstanceFleetsOutput]
527
+ def instance_fleets: () -> ::Array[Types::InstanceFleet]
528
+ def marker: () -> ::String
529
+ end
530
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMR/Client.html#list_instance_fleets-instance_method
531
+ def list_instance_fleets: (
532
+ cluster_id: ::String,
533
+ ?marker: ::String
534
+ ) -> _ListInstanceFleetsResponseSuccess
535
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListInstanceFleetsResponseSuccess
536
+
537
+ interface _ListInstanceGroupsResponseSuccess
538
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListInstanceGroupsOutput]
539
+ def instance_groups: () -> ::Array[Types::InstanceGroup]
540
+ def marker: () -> ::String
541
+ end
542
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMR/Client.html#list_instance_groups-instance_method
543
+ def list_instance_groups: (
544
+ cluster_id: ::String,
545
+ ?marker: ::String
546
+ ) -> _ListInstanceGroupsResponseSuccess
547
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListInstanceGroupsResponseSuccess
548
+
549
+ interface _ListInstancesResponseSuccess
550
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListInstancesOutput]
551
+ def instances: () -> ::Array[Types::Instance]
552
+ def marker: () -> ::String
553
+ end
554
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMR/Client.html#list_instances-instance_method
555
+ def list_instances: (
556
+ cluster_id: ::String,
557
+ ?instance_group_id: ::String,
558
+ ?instance_group_types: Array[("MASTER" | "CORE" | "TASK")],
559
+ ?instance_fleet_id: ::String,
560
+ ?instance_fleet_type: ("MASTER" | "CORE" | "TASK"),
561
+ ?instance_states: Array[("AWAITING_FULFILLMENT" | "PROVISIONING" | "BOOTSTRAPPING" | "RUNNING" | "TERMINATED")],
562
+ ?marker: ::String
563
+ ) -> _ListInstancesResponseSuccess
564
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListInstancesResponseSuccess
565
+
566
+ interface _ListNotebookExecutionsResponseSuccess
567
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListNotebookExecutionsOutput]
568
+ def notebook_executions: () -> ::Array[Types::NotebookExecutionSummary]
569
+ def marker: () -> ::String
570
+ end
571
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMR/Client.html#list_notebook_executions-instance_method
572
+ def list_notebook_executions: (
573
+ ?editor_id: ::String,
574
+ ?status: ("START_PENDING" | "STARTING" | "RUNNING" | "FINISHING" | "FINISHED" | "FAILING" | "FAILED" | "STOP_PENDING" | "STOPPING" | "STOPPED"),
575
+ ?from: ::Time,
576
+ ?to: ::Time,
577
+ ?marker: ::String,
578
+ ?execution_engine_id: ::String
579
+ ) -> _ListNotebookExecutionsResponseSuccess
580
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListNotebookExecutionsResponseSuccess
581
+
582
+ interface _ListReleaseLabelsResponseSuccess
583
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListReleaseLabelsOutput]
584
+ def release_labels: () -> ::Array[::String]
585
+ def next_token: () -> ::String
586
+ end
587
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMR/Client.html#list_release_labels-instance_method
588
+ def list_release_labels: (
589
+ ?filters: {
590
+ prefix: ::String?,
591
+ application: ::String?
592
+ },
593
+ ?next_token: ::String,
594
+ ?max_results: ::Integer
595
+ ) -> _ListReleaseLabelsResponseSuccess
596
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListReleaseLabelsResponseSuccess
597
+
598
+ interface _ListSecurityConfigurationsResponseSuccess
599
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListSecurityConfigurationsOutput]
600
+ def security_configurations: () -> ::Array[Types::SecurityConfigurationSummary]
601
+ def marker: () -> ::String
602
+ end
603
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMR/Client.html#list_security_configurations-instance_method
604
+ def list_security_configurations: (
605
+ ?marker: ::String
606
+ ) -> _ListSecurityConfigurationsResponseSuccess
607
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSecurityConfigurationsResponseSuccess
608
+
609
+ interface _ListStepsResponseSuccess
610
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListStepsOutput]
611
+ def steps: () -> ::Array[Types::StepSummary]
612
+ def marker: () -> ::String
613
+ end
614
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMR/Client.html#list_steps-instance_method
615
+ def list_steps: (
616
+ cluster_id: ::String,
617
+ ?step_states: Array[("PENDING" | "CANCEL_PENDING" | "RUNNING" | "COMPLETED" | "CANCELLED" | "FAILED" | "INTERRUPTED")],
618
+ ?step_ids: Array[::String],
619
+ ?marker: ::String
620
+ ) -> _ListStepsResponseSuccess
621
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListStepsResponseSuccess
622
+
623
+ interface _ListStudioSessionMappingsResponseSuccess
624
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListStudioSessionMappingsOutput]
625
+ def session_mappings: () -> ::Array[Types::SessionMappingSummary]
626
+ def marker: () -> ::String
627
+ end
628
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMR/Client.html#list_studio_session_mappings-instance_method
629
+ def list_studio_session_mappings: (
630
+ ?studio_id: ::String,
631
+ ?identity_type: ("USER" | "GROUP"),
632
+ ?marker: ::String
633
+ ) -> _ListStudioSessionMappingsResponseSuccess
634
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListStudioSessionMappingsResponseSuccess
635
+
636
+ interface _ListStudiosResponseSuccess
637
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListStudiosOutput]
638
+ def studios: () -> ::Array[Types::StudioSummary]
639
+ def marker: () -> ::String
640
+ end
641
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMR/Client.html#list_studios-instance_method
642
+ def list_studios: (
643
+ ?marker: ::String
644
+ ) -> _ListStudiosResponseSuccess
645
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListStudiosResponseSuccess
646
+
647
+ interface _ListSupportedInstanceTypesResponseSuccess
648
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListSupportedInstanceTypesOutput]
649
+ def supported_instance_types: () -> ::Array[Types::SupportedInstanceType]
650
+ def marker: () -> ::String
651
+ end
652
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMR/Client.html#list_supported_instance_types-instance_method
653
+ def list_supported_instance_types: (
654
+ release_label: ::String,
655
+ ?marker: ::String
656
+ ) -> _ListSupportedInstanceTypesResponseSuccess
657
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSupportedInstanceTypesResponseSuccess
658
+
659
+ interface _ModifyClusterResponseSuccess
660
+ include ::Seahorse::Client::_ResponseSuccess[Types::ModifyClusterOutput]
661
+ def step_concurrency_level: () -> ::Integer
662
+ end
663
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMR/Client.html#modify_cluster-instance_method
664
+ def modify_cluster: (
665
+ cluster_id: ::String,
666
+ ?step_concurrency_level: ::Integer
667
+ ) -> _ModifyClusterResponseSuccess
668
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ModifyClusterResponseSuccess
669
+
670
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMR/Client.html#modify_instance_fleet-instance_method
671
+ def modify_instance_fleet: (
672
+ cluster_id: ::String,
673
+ instance_fleet: {
674
+ instance_fleet_id: ::String,
675
+ target_on_demand_capacity: ::Integer?,
676
+ target_spot_capacity: ::Integer?,
677
+ resize_specifications: {
678
+ spot_resize_specification: {
679
+ timeout_duration_minutes: ::Integer
680
+ }?,
681
+ on_demand_resize_specification: {
682
+ timeout_duration_minutes: ::Integer
683
+ }?
684
+ }?
685
+ }
686
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
687
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
688
+
689
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMR/Client.html#modify_instance_groups-instance_method
690
+ def modify_instance_groups: (
691
+ ?cluster_id: ::String,
692
+ ?instance_groups: Array[
693
+ {
694
+ instance_group_id: ::String,
695
+ instance_count: ::Integer?,
696
+ ec2_instance_ids_to_terminate: Array[::String]?,
697
+ shrink_policy: {
698
+ decommission_timeout: ::Integer?,
699
+ instance_resize_policy: {
700
+ instances_to_terminate: Array[::String]?,
701
+ instances_to_protect: Array[::String]?,
702
+ instance_termination_timeout: ::Integer?
703
+ }?
704
+ }?,
705
+ reconfiguration_type: ("OVERWRITE" | "MERGE")?,
706
+ configurations: Array[
707
+ {
708
+ classification: ::String?,
709
+ configurations: untyped?,
710
+ properties: Hash[::String, ::String]?
711
+ },
712
+ ]?
713
+ },
714
+ ]
715
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
716
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
717
+
718
+ interface _PutAutoScalingPolicyResponseSuccess
719
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutAutoScalingPolicyOutput]
720
+ def cluster_id: () -> ::String
721
+ def instance_group_id: () -> ::String
722
+ def auto_scaling_policy: () -> Types::AutoScalingPolicyDescription
723
+ def cluster_arn: () -> ::String
724
+ end
725
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMR/Client.html#put_auto_scaling_policy-instance_method
726
+ def put_auto_scaling_policy: (
727
+ cluster_id: ::String,
728
+ instance_group_id: ::String,
729
+ auto_scaling_policy: {
730
+ constraints: {
731
+ min_capacity: ::Integer,
732
+ max_capacity: ::Integer
733
+ },
734
+ rules: Array[
735
+ {
736
+ name: ::String,
737
+ description: ::String?,
738
+ action: {
739
+ market: ("ON_DEMAND" | "SPOT")?,
740
+ simple_scaling_policy_configuration: {
741
+ adjustment_type: ("CHANGE_IN_CAPACITY" | "PERCENT_CHANGE_IN_CAPACITY" | "EXACT_CAPACITY")?,
742
+ scaling_adjustment: ::Integer,
743
+ cool_down: ::Integer?
744
+ }
745
+ },
746
+ trigger: {
747
+ cloud_watch_alarm_definition: {
748
+ comparison_operator: ("GREATER_THAN_OR_EQUAL" | "GREATER_THAN" | "LESS_THAN" | "LESS_THAN_OR_EQUAL"),
749
+ evaluation_periods: ::Integer?,
750
+ metric_name: ::String,
751
+ namespace: ::String?,
752
+ period: ::Integer,
753
+ statistic: ("SAMPLE_COUNT" | "AVERAGE" | "SUM" | "MINIMUM" | "MAXIMUM")?,
754
+ threshold: ::Float,
755
+ unit: ("NONE" | "SECONDS" | "MICRO_SECONDS" | "MILLI_SECONDS" | "BYTES" | "KILO_BYTES" | "MEGA_BYTES" | "GIGA_BYTES" | "TERA_BYTES" | "BITS" | "KILO_BITS" | "MEGA_BITS" | "GIGA_BITS" | "TERA_BITS" | "PERCENT" | "COUNT" | "BYTES_PER_SECOND" | "KILO_BYTES_PER_SECOND" | "MEGA_BYTES_PER_SECOND" | "GIGA_BYTES_PER_SECOND" | "TERA_BYTES_PER_SECOND" | "BITS_PER_SECOND" | "KILO_BITS_PER_SECOND" | "MEGA_BITS_PER_SECOND" | "GIGA_BITS_PER_SECOND" | "TERA_BITS_PER_SECOND" | "COUNT_PER_SECOND")?,
756
+ dimensions: Array[
757
+ {
758
+ key: ::String?,
759
+ value: ::String?
760
+ },
761
+ ]?
762
+ }
763
+ }
764
+ },
765
+ ]
766
+ }
767
+ ) -> _PutAutoScalingPolicyResponseSuccess
768
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutAutoScalingPolicyResponseSuccess
769
+
770
+ interface _PutAutoTerminationPolicyResponseSuccess
771
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutAutoTerminationPolicyOutput]
772
+ end
773
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMR/Client.html#put_auto_termination_policy-instance_method
774
+ def put_auto_termination_policy: (
775
+ cluster_id: ::String,
776
+ ?auto_termination_policy: {
777
+ idle_timeout: ::Integer?
778
+ }
779
+ ) -> _PutAutoTerminationPolicyResponseSuccess
780
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutAutoTerminationPolicyResponseSuccess
781
+
782
+ interface _PutBlockPublicAccessConfigurationResponseSuccess
783
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutBlockPublicAccessConfigurationOutput]
784
+ end
785
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMR/Client.html#put_block_public_access_configuration-instance_method
786
+ def put_block_public_access_configuration: (
787
+ block_public_access_configuration: {
788
+ block_public_security_group_rules: bool,
789
+ permitted_public_security_group_rule_ranges: Array[
790
+ {
791
+ min_range: ::Integer,
792
+ max_range: ::Integer?
793
+ },
794
+ ]?
795
+ }
796
+ ) -> _PutBlockPublicAccessConfigurationResponseSuccess
797
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutBlockPublicAccessConfigurationResponseSuccess
798
+
799
+ interface _PutManagedScalingPolicyResponseSuccess
800
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutManagedScalingPolicyOutput]
801
+ end
802
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMR/Client.html#put_managed_scaling_policy-instance_method
803
+ def put_managed_scaling_policy: (
804
+ cluster_id: ::String,
805
+ managed_scaling_policy: {
806
+ compute_limits: {
807
+ unit_type: ("InstanceFleetUnits" | "Instances" | "VCPU"),
808
+ minimum_capacity_units: ::Integer,
809
+ maximum_capacity_units: ::Integer,
810
+ maximum_on_demand_capacity_units: ::Integer?,
811
+ maximum_core_capacity_units: ::Integer?
812
+ }?
813
+ }
814
+ ) -> _PutManagedScalingPolicyResponseSuccess
815
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutManagedScalingPolicyResponseSuccess
816
+
817
+ interface _RemoveAutoScalingPolicyResponseSuccess
818
+ include ::Seahorse::Client::_ResponseSuccess[Types::RemoveAutoScalingPolicyOutput]
819
+ end
820
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMR/Client.html#remove_auto_scaling_policy-instance_method
821
+ def remove_auto_scaling_policy: (
822
+ cluster_id: ::String,
823
+ instance_group_id: ::String
824
+ ) -> _RemoveAutoScalingPolicyResponseSuccess
825
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RemoveAutoScalingPolicyResponseSuccess
826
+
827
+ interface _RemoveAutoTerminationPolicyResponseSuccess
828
+ include ::Seahorse::Client::_ResponseSuccess[Types::RemoveAutoTerminationPolicyOutput]
829
+ end
830
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMR/Client.html#remove_auto_termination_policy-instance_method
831
+ def remove_auto_termination_policy: (
832
+ cluster_id: ::String
833
+ ) -> _RemoveAutoTerminationPolicyResponseSuccess
834
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RemoveAutoTerminationPolicyResponseSuccess
835
+
836
+ interface _RemoveManagedScalingPolicyResponseSuccess
837
+ include ::Seahorse::Client::_ResponseSuccess[Types::RemoveManagedScalingPolicyOutput]
838
+ end
839
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMR/Client.html#remove_managed_scaling_policy-instance_method
840
+ def remove_managed_scaling_policy: (
841
+ cluster_id: ::String
842
+ ) -> _RemoveManagedScalingPolicyResponseSuccess
843
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RemoveManagedScalingPolicyResponseSuccess
844
+
845
+ interface _RemoveTagsResponseSuccess
846
+ include ::Seahorse::Client::_ResponseSuccess[Types::RemoveTagsOutput]
847
+ end
848
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMR/Client.html#remove_tags-instance_method
849
+ def remove_tags: (
850
+ resource_id: ::String,
851
+ tag_keys: Array[::String]
852
+ ) -> _RemoveTagsResponseSuccess
853
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RemoveTagsResponseSuccess
854
+
855
+ interface _RunJobFlowResponseSuccess
856
+ include ::Seahorse::Client::_ResponseSuccess[Types::RunJobFlowOutput]
857
+ def job_flow_id: () -> ::String
858
+ def cluster_arn: () -> ::String
859
+ end
860
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMR/Client.html#run_job_flow-instance_method
861
+ def run_job_flow: (
862
+ name: ::String,
863
+ ?log_uri: ::String,
864
+ ?log_encryption_kms_key_id: ::String,
865
+ ?additional_info: ::String,
866
+ ?ami_version: ::String,
867
+ ?release_label: ::String,
868
+ instances: {
869
+ master_instance_type: ::String?,
870
+ slave_instance_type: ::String?,
871
+ instance_count: ::Integer?,
872
+ instance_groups: Array[
873
+ {
874
+ name: ::String?,
875
+ market: ("ON_DEMAND" | "SPOT")?,
876
+ instance_role: ("MASTER" | "CORE" | "TASK"),
877
+ bid_price: ::String?,
878
+ instance_type: ::String,
879
+ instance_count: ::Integer,
880
+ configurations: Array[
881
+ {
882
+ classification: ::String?,
883
+ configurations: untyped?,
884
+ properties: Hash[::String, ::String]?
885
+ },
886
+ ]?,
887
+ ebs_configuration: {
888
+ ebs_block_device_configs: Array[
889
+ {
890
+ volume_specification: {
891
+ volume_type: ::String,
892
+ iops: ::Integer?,
893
+ size_in_gb: ::Integer,
894
+ throughput: ::Integer?
895
+ },
896
+ volumes_per_instance: ::Integer?
897
+ },
898
+ ]?,
899
+ ebs_optimized: bool?
900
+ }?,
901
+ auto_scaling_policy: {
902
+ constraints: {
903
+ min_capacity: ::Integer,
904
+ max_capacity: ::Integer
905
+ },
906
+ rules: Array[
907
+ {
908
+ name: ::String,
909
+ description: ::String?,
910
+ action: {
911
+ market: ("ON_DEMAND" | "SPOT")?,
912
+ simple_scaling_policy_configuration: {
913
+ adjustment_type: ("CHANGE_IN_CAPACITY" | "PERCENT_CHANGE_IN_CAPACITY" | "EXACT_CAPACITY")?,
914
+ scaling_adjustment: ::Integer,
915
+ cool_down: ::Integer?
916
+ }
917
+ },
918
+ trigger: {
919
+ cloud_watch_alarm_definition: {
920
+ comparison_operator: ("GREATER_THAN_OR_EQUAL" | "GREATER_THAN" | "LESS_THAN" | "LESS_THAN_OR_EQUAL"),
921
+ evaluation_periods: ::Integer?,
922
+ metric_name: ::String,
923
+ namespace: ::String?,
924
+ period: ::Integer,
925
+ statistic: ("SAMPLE_COUNT" | "AVERAGE" | "SUM" | "MINIMUM" | "MAXIMUM")?,
926
+ threshold: ::Float,
927
+ unit: ("NONE" | "SECONDS" | "MICRO_SECONDS" | "MILLI_SECONDS" | "BYTES" | "KILO_BYTES" | "MEGA_BYTES" | "GIGA_BYTES" | "TERA_BYTES" | "BITS" | "KILO_BITS" | "MEGA_BITS" | "GIGA_BITS" | "TERA_BITS" | "PERCENT" | "COUNT" | "BYTES_PER_SECOND" | "KILO_BYTES_PER_SECOND" | "MEGA_BYTES_PER_SECOND" | "GIGA_BYTES_PER_SECOND" | "TERA_BYTES_PER_SECOND" | "BITS_PER_SECOND" | "KILO_BITS_PER_SECOND" | "MEGA_BITS_PER_SECOND" | "GIGA_BITS_PER_SECOND" | "TERA_BITS_PER_SECOND" | "COUNT_PER_SECOND")?,
928
+ dimensions: Array[
929
+ {
930
+ key: ::String?,
931
+ value: ::String?
932
+ },
933
+ ]?
934
+ }
935
+ }
936
+ },
937
+ ]
938
+ }?,
939
+ custom_ami_id: ::String?
940
+ },
941
+ ]?,
942
+ instance_fleets: Array[
943
+ {
944
+ name: ::String?,
945
+ instance_fleet_type: ("MASTER" | "CORE" | "TASK"),
946
+ target_on_demand_capacity: ::Integer?,
947
+ target_spot_capacity: ::Integer?,
948
+ instance_type_configs: Array[
949
+ {
950
+ instance_type: ::String,
951
+ weighted_capacity: ::Integer?,
952
+ bid_price: ::String?,
953
+ bid_price_as_percentage_of_on_demand_price: ::Float?,
954
+ ebs_configuration: {
955
+ ebs_block_device_configs: Array[
956
+ {
957
+ volume_specification: {
958
+ volume_type: ::String,
959
+ iops: ::Integer?,
960
+ size_in_gb: ::Integer,
961
+ throughput: ::Integer?
962
+ },
963
+ volumes_per_instance: ::Integer?
964
+ },
965
+ ]?,
966
+ ebs_optimized: bool?
967
+ }?,
968
+ configurations: Array[
969
+ {
970
+ classification: ::String?,
971
+ configurations: untyped?,
972
+ properties: Hash[::String, ::String]?
973
+ },
974
+ ]?,
975
+ custom_ami_id: ::String?
976
+ },
977
+ ]?,
978
+ launch_specifications: {
979
+ spot_specification: {
980
+ timeout_duration_minutes: ::Integer,
981
+ timeout_action: ("SWITCH_TO_ON_DEMAND" | "TERMINATE_CLUSTER"),
982
+ block_duration_minutes: ::Integer?,
983
+ allocation_strategy: ("capacity-optimized" | "price-capacity-optimized" | "lowest-price" | "diversified")?
984
+ }?,
985
+ on_demand_specification: {
986
+ allocation_strategy: ("lowest-price"),
987
+ capacity_reservation_options: {
988
+ usage_strategy: ("use-capacity-reservations-first")?,
989
+ capacity_reservation_preference: ("open" | "none")?,
990
+ capacity_reservation_resource_group_arn: ::String?
991
+ }?
992
+ }?
993
+ }?,
994
+ resize_specifications: {
995
+ spot_resize_specification: {
996
+ timeout_duration_minutes: ::Integer
997
+ }?,
998
+ on_demand_resize_specification: {
999
+ timeout_duration_minutes: ::Integer
1000
+ }?
1001
+ }?
1002
+ },
1003
+ ]?,
1004
+ ec2_key_name: ::String?,
1005
+ placement: {
1006
+ availability_zone: ::String?,
1007
+ availability_zones: Array[::String]?
1008
+ }?,
1009
+ keep_job_flow_alive_when_no_steps: bool?,
1010
+ termination_protected: bool?,
1011
+ hadoop_version: ::String?,
1012
+ ec2_subnet_id: ::String?,
1013
+ ec2_subnet_ids: Array[::String]?,
1014
+ emr_managed_master_security_group: ::String?,
1015
+ emr_managed_slave_security_group: ::String?,
1016
+ service_access_security_group: ::String?,
1017
+ additional_master_security_groups: Array[::String]?,
1018
+ additional_slave_security_groups: Array[::String]?
1019
+ },
1020
+ ?steps: Array[
1021
+ {
1022
+ name: ::String,
1023
+ action_on_failure: ("TERMINATE_JOB_FLOW" | "TERMINATE_CLUSTER" | "CANCEL_AND_WAIT" | "CONTINUE")?,
1024
+ hadoop_jar_step: {
1025
+ properties: Array[
1026
+ {
1027
+ key: ::String?,
1028
+ value: ::String?
1029
+ },
1030
+ ]?,
1031
+ jar: ::String,
1032
+ main_class: ::String?,
1033
+ args: Array[::String]?
1034
+ }
1035
+ },
1036
+ ],
1037
+ ?bootstrap_actions: Array[
1038
+ {
1039
+ name: ::String,
1040
+ script_bootstrap_action: {
1041
+ path: ::String,
1042
+ args: Array[::String]?
1043
+ }
1044
+ },
1045
+ ],
1046
+ ?supported_products: Array[::String],
1047
+ ?new_supported_products: Array[
1048
+ {
1049
+ name: ::String?,
1050
+ args: Array[::String]?
1051
+ },
1052
+ ],
1053
+ ?applications: Array[
1054
+ {
1055
+ name: ::String?,
1056
+ version: ::String?,
1057
+ args: Array[::String]?,
1058
+ additional_info: Hash[::String, ::String]?
1059
+ },
1060
+ ],
1061
+ ?configurations: Array[
1062
+ {
1063
+ classification: ::String?,
1064
+ configurations: untyped?,
1065
+ properties: Hash[::String, ::String]?
1066
+ },
1067
+ ],
1068
+ ?visible_to_all_users: bool,
1069
+ ?job_flow_role: ::String,
1070
+ ?service_role: ::String,
1071
+ ?tags: Array[
1072
+ {
1073
+ key: ::String?,
1074
+ value: ::String?
1075
+ },
1076
+ ],
1077
+ ?security_configuration: ::String,
1078
+ ?auto_scaling_role: ::String,
1079
+ ?scale_down_behavior: ("TERMINATE_AT_INSTANCE_HOUR" | "TERMINATE_AT_TASK_COMPLETION"),
1080
+ ?custom_ami_id: ::String,
1081
+ ?ebs_root_volume_size: ::Integer,
1082
+ ?repo_upgrade_on_boot: ("SECURITY" | "NONE"),
1083
+ ?kerberos_attributes: {
1084
+ realm: ::String,
1085
+ kdc_admin_password: ::String,
1086
+ cross_realm_trust_principal_password: ::String?,
1087
+ ad_domain_join_user: ::String?,
1088
+ ad_domain_join_password: ::String?
1089
+ },
1090
+ ?step_concurrency_level: ::Integer,
1091
+ ?managed_scaling_policy: {
1092
+ compute_limits: {
1093
+ unit_type: ("InstanceFleetUnits" | "Instances" | "VCPU"),
1094
+ minimum_capacity_units: ::Integer,
1095
+ maximum_capacity_units: ::Integer,
1096
+ maximum_on_demand_capacity_units: ::Integer?,
1097
+ maximum_core_capacity_units: ::Integer?
1098
+ }?
1099
+ },
1100
+ ?placement_group_configs: Array[
1101
+ {
1102
+ instance_role: ("MASTER" | "CORE" | "TASK"),
1103
+ placement_strategy: ("SPREAD" | "PARTITION" | "CLUSTER" | "NONE")?
1104
+ },
1105
+ ],
1106
+ ?auto_termination_policy: {
1107
+ idle_timeout: ::Integer?
1108
+ },
1109
+ ?os_release_label: ::String,
1110
+ ?ebs_root_volume_iops: ::Integer,
1111
+ ?ebs_root_volume_throughput: ::Integer
1112
+ ) -> _RunJobFlowResponseSuccess
1113
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RunJobFlowResponseSuccess
1114
+
1115
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMR/Client.html#set_keep_job_flow_alive_when_no_steps-instance_method
1116
+ def set_keep_job_flow_alive_when_no_steps: (
1117
+ job_flow_ids: Array[::String],
1118
+ keep_job_flow_alive_when_no_steps: bool
1119
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1120
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1121
+
1122
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMR/Client.html#set_termination_protection-instance_method
1123
+ def set_termination_protection: (
1124
+ job_flow_ids: Array[::String],
1125
+ termination_protected: bool
1126
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1127
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1128
+
1129
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMR/Client.html#set_visible_to_all_users-instance_method
1130
+ def set_visible_to_all_users: (
1131
+ job_flow_ids: Array[::String],
1132
+ visible_to_all_users: bool
1133
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1134
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1135
+
1136
+ interface _StartNotebookExecutionResponseSuccess
1137
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartNotebookExecutionOutput]
1138
+ def notebook_execution_id: () -> ::String
1139
+ end
1140
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMR/Client.html#start_notebook_execution-instance_method
1141
+ def start_notebook_execution: (
1142
+ ?editor_id: ::String,
1143
+ ?relative_path: ::String,
1144
+ ?notebook_execution_name: ::String,
1145
+ ?notebook_params: ::String,
1146
+ execution_engine: {
1147
+ id: ::String,
1148
+ type: ("EMR")?,
1149
+ master_instance_security_group_id: ::String?,
1150
+ execution_role_arn: ::String?
1151
+ },
1152
+ service_role: ::String,
1153
+ ?notebook_instance_security_group_id: ::String,
1154
+ ?tags: Array[
1155
+ {
1156
+ key: ::String?,
1157
+ value: ::String?
1158
+ },
1159
+ ],
1160
+ ?notebook_s3_location: {
1161
+ bucket: ::String?,
1162
+ key: ::String?
1163
+ },
1164
+ ?output_notebook_s3_location: {
1165
+ bucket: ::String?,
1166
+ key: ::String?
1167
+ },
1168
+ ?output_notebook_format: ("HTML"),
1169
+ ?environment_variables: Hash[::String, ::String]
1170
+ ) -> _StartNotebookExecutionResponseSuccess
1171
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartNotebookExecutionResponseSuccess
1172
+
1173
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMR/Client.html#stop_notebook_execution-instance_method
1174
+ def stop_notebook_execution: (
1175
+ notebook_execution_id: ::String
1176
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1177
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1178
+
1179
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMR/Client.html#terminate_job_flows-instance_method
1180
+ def terminate_job_flows: (
1181
+ job_flow_ids: Array[::String]
1182
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1183
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1184
+
1185
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMR/Client.html#update_studio-instance_method
1186
+ def update_studio: (
1187
+ studio_id: ::String,
1188
+ ?name: ::String,
1189
+ ?description: ::String,
1190
+ ?subnet_ids: Array[::String],
1191
+ ?default_s3_location: ::String,
1192
+ ?encryption_key_arn: ::String
1193
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1194
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1195
+
1196
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMR/Client.html#update_studio_session_mapping-instance_method
1197
+ def update_studio_session_mapping: (
1198
+ studio_id: ::String,
1199
+ ?identity_id: ::String,
1200
+ ?identity_name: ::String,
1201
+ identity_type: ("USER" | "GROUP"),
1202
+ session_policy_arn: ::String
1203
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1204
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1205
+
1206
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMR/Client.html#wait_until-instance_method
1207
+ def wait_until: (:cluster_running waiter_name,
1208
+ cluster_id: ::String
1209
+ ) -> Client::_DescribeClusterResponseSuccess
1210
+ | (:cluster_running waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_DescribeClusterResponseSuccess
1211
+ | (:cluster_terminated waiter_name,
1212
+ cluster_id: ::String
1213
+ ) -> Client::_DescribeClusterResponseSuccess
1214
+ | (:cluster_terminated waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_DescribeClusterResponseSuccess
1215
+ | (:step_complete waiter_name,
1216
+ cluster_id: ::String,
1217
+ step_id: ::String
1218
+ ) -> Client::_DescribeStepResponseSuccess
1219
+ | (:step_complete waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_DescribeStepResponseSuccess
1220
+ end
1221
+ end
1222
+ end
1223
+