aws-sdk-emr 1.82.0 → 1.84.0

Sign up to get free protection for your applications and to get access to all the features.
data/sig/types.rbs ADDED
@@ -0,0 +1,1564 @@
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::EMR
9
+ module Types
10
+
11
+ class AddInstanceFleetInput
12
+ attr_accessor cluster_id: ::String
13
+ attr_accessor instance_fleet: Types::InstanceFleetConfig
14
+ SENSITIVE: []
15
+ end
16
+
17
+ class AddInstanceFleetOutput
18
+ attr_accessor cluster_id: ::String
19
+ attr_accessor instance_fleet_id: ::String
20
+ attr_accessor cluster_arn: ::String
21
+ SENSITIVE: []
22
+ end
23
+
24
+ class AddInstanceGroupsInput
25
+ attr_accessor instance_groups: ::Array[Types::InstanceGroupConfig]
26
+ attr_accessor job_flow_id: ::String
27
+ SENSITIVE: []
28
+ end
29
+
30
+ class AddInstanceGroupsOutput
31
+ attr_accessor job_flow_id: ::String
32
+ attr_accessor instance_group_ids: ::Array[::String]
33
+ attr_accessor cluster_arn: ::String
34
+ SENSITIVE: []
35
+ end
36
+
37
+ class AddJobFlowStepsInput
38
+ attr_accessor job_flow_id: ::String
39
+ attr_accessor steps: ::Array[Types::StepConfig]
40
+ attr_accessor execution_role_arn: ::String
41
+ SENSITIVE: []
42
+ end
43
+
44
+ class AddJobFlowStepsOutput
45
+ attr_accessor step_ids: ::Array[::String]
46
+ SENSITIVE: []
47
+ end
48
+
49
+ class AddTagsInput
50
+ attr_accessor resource_id: ::String
51
+ attr_accessor tags: ::Array[Types::Tag]
52
+ SENSITIVE: []
53
+ end
54
+
55
+ class AddTagsOutput < Aws::EmptyStructure
56
+ end
57
+
58
+ class Application
59
+ attr_accessor name: ::String
60
+ attr_accessor version: ::String
61
+ attr_accessor args: ::Array[::String]
62
+ attr_accessor additional_info: ::Hash[::String, ::String]
63
+ SENSITIVE: []
64
+ end
65
+
66
+ class AutoScalingPolicy
67
+ attr_accessor constraints: Types::ScalingConstraints
68
+ attr_accessor rules: ::Array[Types::ScalingRule]
69
+ SENSITIVE: []
70
+ end
71
+
72
+ class AutoScalingPolicyDescription
73
+ attr_accessor status: Types::AutoScalingPolicyStatus
74
+ attr_accessor constraints: Types::ScalingConstraints
75
+ attr_accessor rules: ::Array[Types::ScalingRule]
76
+ SENSITIVE: []
77
+ end
78
+
79
+ class AutoScalingPolicyStateChangeReason
80
+ attr_accessor code: ("USER_REQUEST" | "PROVISION_FAILURE" | "CLEANUP_FAILURE")
81
+ attr_accessor message: ::String
82
+ SENSITIVE: []
83
+ end
84
+
85
+ class AutoScalingPolicyStatus
86
+ attr_accessor state: ("PENDING" | "ATTACHING" | "ATTACHED" | "DETACHING" | "DETACHED" | "FAILED")
87
+ attr_accessor state_change_reason: Types::AutoScalingPolicyStateChangeReason
88
+ SENSITIVE: []
89
+ end
90
+
91
+ class AutoTerminationPolicy
92
+ attr_accessor idle_timeout: ::Integer
93
+ SENSITIVE: []
94
+ end
95
+
96
+ class BlockPublicAccessConfiguration
97
+ attr_accessor block_public_security_group_rules: bool
98
+ attr_accessor permitted_public_security_group_rule_ranges: ::Array[Types::PortRange]
99
+ SENSITIVE: []
100
+ end
101
+
102
+ class BlockPublicAccessConfigurationMetadata
103
+ attr_accessor creation_date_time: ::Time
104
+ attr_accessor created_by_arn: ::String
105
+ SENSITIVE: []
106
+ end
107
+
108
+ class BootstrapActionConfig
109
+ attr_accessor name: ::String
110
+ attr_accessor script_bootstrap_action: Types::ScriptBootstrapActionConfig
111
+ SENSITIVE: []
112
+ end
113
+
114
+ class BootstrapActionDetail
115
+ attr_accessor bootstrap_action_config: Types::BootstrapActionConfig
116
+ SENSITIVE: []
117
+ end
118
+
119
+ class CancelStepsInfo
120
+ attr_accessor step_id: ::String
121
+ attr_accessor status: ("SUBMITTED" | "FAILED")
122
+ attr_accessor reason: ::String
123
+ SENSITIVE: []
124
+ end
125
+
126
+ class CancelStepsInput
127
+ attr_accessor cluster_id: ::String
128
+ attr_accessor step_ids: ::Array[::String]
129
+ attr_accessor step_cancellation_option: ("SEND_INTERRUPT" | "TERMINATE_PROCESS")
130
+ SENSITIVE: []
131
+ end
132
+
133
+ class CancelStepsOutput
134
+ attr_accessor cancel_steps_info_list: ::Array[Types::CancelStepsInfo]
135
+ SENSITIVE: []
136
+ end
137
+
138
+ class CloudWatchAlarmDefinition
139
+ attr_accessor comparison_operator: ("GREATER_THAN_OR_EQUAL" | "GREATER_THAN" | "LESS_THAN" | "LESS_THAN_OR_EQUAL")
140
+ attr_accessor evaluation_periods: ::Integer
141
+ attr_accessor metric_name: ::String
142
+ attr_accessor namespace: ::String
143
+ attr_accessor period: ::Integer
144
+ attr_accessor statistic: ("SAMPLE_COUNT" | "AVERAGE" | "SUM" | "MINIMUM" | "MAXIMUM")
145
+ attr_accessor threshold: ::Float
146
+ attr_accessor 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")
147
+ attr_accessor dimensions: ::Array[Types::MetricDimension]
148
+ SENSITIVE: []
149
+ end
150
+
151
+ class Cluster
152
+ attr_accessor id: ::String
153
+ attr_accessor name: ::String
154
+ attr_accessor status: Types::ClusterStatus
155
+ attr_accessor ec2_instance_attributes: Types::Ec2InstanceAttributes
156
+ attr_accessor instance_collection_type: ("INSTANCE_FLEET" | "INSTANCE_GROUP")
157
+ attr_accessor log_uri: ::String
158
+ attr_accessor log_encryption_kms_key_id: ::String
159
+ attr_accessor requested_ami_version: ::String
160
+ attr_accessor running_ami_version: ::String
161
+ attr_accessor release_label: ::String
162
+ attr_accessor auto_terminate: bool
163
+ attr_accessor termination_protected: bool
164
+ attr_accessor unhealthy_node_replacement: bool
165
+ attr_accessor visible_to_all_users: bool
166
+ attr_accessor applications: ::Array[Types::Application]
167
+ attr_accessor tags: ::Array[Types::Tag]
168
+ attr_accessor service_role: ::String
169
+ attr_accessor normalized_instance_hours: ::Integer
170
+ attr_accessor master_public_dns_name: ::String
171
+ attr_accessor configurations: ::Array[Types::Configuration]
172
+ attr_accessor security_configuration: ::String
173
+ attr_accessor auto_scaling_role: ::String
174
+ attr_accessor scale_down_behavior: ("TERMINATE_AT_INSTANCE_HOUR" | "TERMINATE_AT_TASK_COMPLETION")
175
+ attr_accessor custom_ami_id: ::String
176
+ attr_accessor ebs_root_volume_size: ::Integer
177
+ attr_accessor repo_upgrade_on_boot: ("SECURITY" | "NONE")
178
+ attr_accessor kerberos_attributes: Types::KerberosAttributes
179
+ attr_accessor cluster_arn: ::String
180
+ attr_accessor outpost_arn: ::String
181
+ attr_accessor step_concurrency_level: ::Integer
182
+ attr_accessor placement_groups: ::Array[Types::PlacementGroupConfig]
183
+ attr_accessor os_release_label: ::String
184
+ attr_accessor ebs_root_volume_iops: ::Integer
185
+ attr_accessor ebs_root_volume_throughput: ::Integer
186
+ SENSITIVE: []
187
+ end
188
+
189
+ class ClusterStateChangeReason
190
+ attr_accessor code: ("INTERNAL_ERROR" | "VALIDATION_ERROR" | "INSTANCE_FAILURE" | "INSTANCE_FLEET_TIMEOUT" | "BOOTSTRAP_FAILURE" | "USER_REQUEST" | "STEP_FAILURE" | "ALL_STEPS_COMPLETED")
191
+ attr_accessor message: ::String
192
+ SENSITIVE: []
193
+ end
194
+
195
+ class ClusterStatus
196
+ attr_accessor state: ("STARTING" | "BOOTSTRAPPING" | "RUNNING" | "WAITING" | "TERMINATING" | "TERMINATED" | "TERMINATED_WITH_ERRORS")
197
+ attr_accessor state_change_reason: Types::ClusterStateChangeReason
198
+ attr_accessor timeline: Types::ClusterTimeline
199
+ attr_accessor error_details: ::Array[Types::ErrorDetail]
200
+ SENSITIVE: []
201
+ end
202
+
203
+ class ClusterSummary
204
+ attr_accessor id: ::String
205
+ attr_accessor name: ::String
206
+ attr_accessor status: Types::ClusterStatus
207
+ attr_accessor normalized_instance_hours: ::Integer
208
+ attr_accessor cluster_arn: ::String
209
+ attr_accessor outpost_arn: ::String
210
+ SENSITIVE: []
211
+ end
212
+
213
+ class ClusterTimeline
214
+ attr_accessor creation_date_time: ::Time
215
+ attr_accessor ready_date_time: ::Time
216
+ attr_accessor end_date_time: ::Time
217
+ SENSITIVE: []
218
+ end
219
+
220
+ class Command
221
+ attr_accessor name: ::String
222
+ attr_accessor script_path: ::String
223
+ attr_accessor args: ::Array[::String]
224
+ SENSITIVE: []
225
+ end
226
+
227
+ class ComputeLimits
228
+ attr_accessor unit_type: ("InstanceFleetUnits" | "Instances" | "VCPU")
229
+ attr_accessor minimum_capacity_units: ::Integer
230
+ attr_accessor maximum_capacity_units: ::Integer
231
+ attr_accessor maximum_on_demand_capacity_units: ::Integer
232
+ attr_accessor maximum_core_capacity_units: ::Integer
233
+ SENSITIVE: []
234
+ end
235
+
236
+ class Configuration
237
+ attr_accessor classification: ::String
238
+ attr_accessor configurations: ::Array[Types::Configuration]
239
+ attr_accessor properties: ::Hash[::String, ::String]
240
+ SENSITIVE: []
241
+ end
242
+
243
+ class CreateSecurityConfigurationInput
244
+ attr_accessor name: ::String
245
+ attr_accessor security_configuration: ::String
246
+ SENSITIVE: []
247
+ end
248
+
249
+ class CreateSecurityConfigurationOutput
250
+ attr_accessor name: ::String
251
+ attr_accessor creation_date_time: ::Time
252
+ SENSITIVE: []
253
+ end
254
+
255
+ class CreateStudioInput
256
+ attr_accessor name: ::String
257
+ attr_accessor description: ::String
258
+ attr_accessor auth_mode: ("SSO" | "IAM")
259
+ attr_accessor vpc_id: ::String
260
+ attr_accessor subnet_ids: ::Array[::String]
261
+ attr_accessor service_role: ::String
262
+ attr_accessor user_role: ::String
263
+ attr_accessor workspace_security_group_id: ::String
264
+ attr_accessor engine_security_group_id: ::String
265
+ attr_accessor default_s3_location: ::String
266
+ attr_accessor idp_auth_url: ::String
267
+ attr_accessor idp_relay_state_parameter_name: ::String
268
+ attr_accessor tags: ::Array[Types::Tag]
269
+ attr_accessor trusted_identity_propagation_enabled: bool
270
+ attr_accessor idc_user_assignment: ("REQUIRED" | "OPTIONAL")
271
+ attr_accessor idc_instance_arn: ::String
272
+ attr_accessor encryption_key_arn: ::String
273
+ SENSITIVE: []
274
+ end
275
+
276
+ class CreateStudioOutput
277
+ attr_accessor studio_id: ::String
278
+ attr_accessor url: ::String
279
+ SENSITIVE: []
280
+ end
281
+
282
+ class CreateStudioSessionMappingInput
283
+ attr_accessor studio_id: ::String
284
+ attr_accessor identity_id: ::String
285
+ attr_accessor identity_name: ::String
286
+ attr_accessor identity_type: ("USER" | "GROUP")
287
+ attr_accessor session_policy_arn: ::String
288
+ SENSITIVE: []
289
+ end
290
+
291
+ class Credentials
292
+ attr_accessor username_password: Types::UsernamePassword
293
+ attr_accessor unknown: untyped
294
+ SENSITIVE: [:username_password]
295
+
296
+ class UsernamePassword < Credentials
297
+ end
298
+ class Unknown < Credentials
299
+ end
300
+ end
301
+
302
+ class DeleteSecurityConfigurationInput
303
+ attr_accessor name: ::String
304
+ SENSITIVE: []
305
+ end
306
+
307
+ class DeleteSecurityConfigurationOutput < Aws::EmptyStructure
308
+ end
309
+
310
+ class DeleteStudioInput
311
+ attr_accessor studio_id: ::String
312
+ SENSITIVE: []
313
+ end
314
+
315
+ class DeleteStudioSessionMappingInput
316
+ attr_accessor studio_id: ::String
317
+ attr_accessor identity_id: ::String
318
+ attr_accessor identity_name: ::String
319
+ attr_accessor identity_type: ("USER" | "GROUP")
320
+ SENSITIVE: []
321
+ end
322
+
323
+ class DescribeClusterInput
324
+ attr_accessor cluster_id: ::String
325
+ SENSITIVE: []
326
+ end
327
+
328
+ class DescribeClusterOutput
329
+ attr_accessor cluster: Types::Cluster
330
+ SENSITIVE: []
331
+ end
332
+
333
+ class DescribeJobFlowsInput
334
+ attr_accessor created_after: ::Time
335
+ attr_accessor created_before: ::Time
336
+ attr_accessor job_flow_ids: ::Array[::String]
337
+ attr_accessor job_flow_states: ::Array[("STARTING" | "BOOTSTRAPPING" | "RUNNING" | "WAITING" | "SHUTTING_DOWN" | "TERMINATED" | "COMPLETED" | "FAILED")]
338
+ SENSITIVE: []
339
+ end
340
+
341
+ class DescribeJobFlowsOutput
342
+ attr_accessor job_flows: ::Array[Types::JobFlowDetail]
343
+ SENSITIVE: []
344
+ end
345
+
346
+ class DescribeNotebookExecutionInput
347
+ attr_accessor notebook_execution_id: ::String
348
+ SENSITIVE: []
349
+ end
350
+
351
+ class DescribeNotebookExecutionOutput
352
+ attr_accessor notebook_execution: Types::NotebookExecution
353
+ SENSITIVE: []
354
+ end
355
+
356
+ class DescribeReleaseLabelInput
357
+ attr_accessor release_label: ::String
358
+ attr_accessor next_token: ::String
359
+ attr_accessor max_results: ::Integer
360
+ SENSITIVE: []
361
+ end
362
+
363
+ class DescribeReleaseLabelOutput
364
+ attr_accessor release_label: ::String
365
+ attr_accessor applications: ::Array[Types::SimplifiedApplication]
366
+ attr_accessor next_token: ::String
367
+ attr_accessor available_os_releases: ::Array[Types::OSRelease]
368
+ SENSITIVE: []
369
+ end
370
+
371
+ class DescribeSecurityConfigurationInput
372
+ attr_accessor name: ::String
373
+ SENSITIVE: []
374
+ end
375
+
376
+ class DescribeSecurityConfigurationOutput
377
+ attr_accessor name: ::String
378
+ attr_accessor security_configuration: ::String
379
+ attr_accessor creation_date_time: ::Time
380
+ SENSITIVE: []
381
+ end
382
+
383
+ class DescribeStepInput
384
+ attr_accessor cluster_id: ::String
385
+ attr_accessor step_id: ::String
386
+ SENSITIVE: []
387
+ end
388
+
389
+ class DescribeStepOutput
390
+ attr_accessor step: Types::Step
391
+ SENSITIVE: []
392
+ end
393
+
394
+ class DescribeStudioInput
395
+ attr_accessor studio_id: ::String
396
+ SENSITIVE: []
397
+ end
398
+
399
+ class DescribeStudioOutput
400
+ attr_accessor studio: Types::Studio
401
+ SENSITIVE: []
402
+ end
403
+
404
+ class EbsBlockDevice
405
+ attr_accessor volume_specification: Types::VolumeSpecification
406
+ attr_accessor device: ::String
407
+ SENSITIVE: []
408
+ end
409
+
410
+ class EbsBlockDeviceConfig
411
+ attr_accessor volume_specification: Types::VolumeSpecification
412
+ attr_accessor volumes_per_instance: ::Integer
413
+ SENSITIVE: []
414
+ end
415
+
416
+ class EbsConfiguration
417
+ attr_accessor ebs_block_device_configs: ::Array[Types::EbsBlockDeviceConfig]
418
+ attr_accessor ebs_optimized: bool
419
+ SENSITIVE: []
420
+ end
421
+
422
+ class EbsVolume
423
+ attr_accessor device: ::String
424
+ attr_accessor volume_id: ::String
425
+ SENSITIVE: []
426
+ end
427
+
428
+ class Ec2InstanceAttributes
429
+ attr_accessor ec2_key_name: ::String
430
+ attr_accessor ec2_subnet_id: ::String
431
+ attr_accessor requested_ec2_subnet_ids: ::Array[::String]
432
+ attr_accessor ec2_availability_zone: ::String
433
+ attr_accessor requested_ec2_availability_zones: ::Array[::String]
434
+ attr_accessor iam_instance_profile: ::String
435
+ attr_accessor emr_managed_master_security_group: ::String
436
+ attr_accessor emr_managed_slave_security_group: ::String
437
+ attr_accessor service_access_security_group: ::String
438
+ attr_accessor additional_master_security_groups: ::Array[::String]
439
+ attr_accessor additional_slave_security_groups: ::Array[::String]
440
+ SENSITIVE: []
441
+ end
442
+
443
+ class ErrorDetail
444
+ attr_accessor error_code: ::String
445
+ attr_accessor error_data: ::Array[::Hash[::String, ::String]]
446
+ attr_accessor error_message: ::String
447
+ SENSITIVE: []
448
+ end
449
+
450
+ class ExecutionEngineConfig
451
+ attr_accessor id: ::String
452
+ attr_accessor type: ("EMR")
453
+ attr_accessor master_instance_security_group_id: ::String
454
+ attr_accessor execution_role_arn: ::String
455
+ SENSITIVE: []
456
+ end
457
+
458
+ class FailureDetails
459
+ attr_accessor reason: ::String
460
+ attr_accessor message: ::String
461
+ attr_accessor log_file: ::String
462
+ SENSITIVE: []
463
+ end
464
+
465
+ class GetAutoTerminationPolicyInput
466
+ attr_accessor cluster_id: ::String
467
+ SENSITIVE: []
468
+ end
469
+
470
+ class GetAutoTerminationPolicyOutput
471
+ attr_accessor auto_termination_policy: Types::AutoTerminationPolicy
472
+ SENSITIVE: []
473
+ end
474
+
475
+ class GetBlockPublicAccessConfigurationInput < Aws::EmptyStructure
476
+ end
477
+
478
+ class GetBlockPublicAccessConfigurationOutput
479
+ attr_accessor block_public_access_configuration: Types::BlockPublicAccessConfiguration
480
+ attr_accessor block_public_access_configuration_metadata: Types::BlockPublicAccessConfigurationMetadata
481
+ SENSITIVE: []
482
+ end
483
+
484
+ class GetClusterSessionCredentialsInput
485
+ attr_accessor cluster_id: ::String
486
+ attr_accessor execution_role_arn: ::String
487
+ SENSITIVE: []
488
+ end
489
+
490
+ class GetClusterSessionCredentialsOutput
491
+ attr_accessor credentials: Types::Credentials
492
+ attr_accessor expires_at: ::Time
493
+ SENSITIVE: []
494
+ end
495
+
496
+ class GetManagedScalingPolicyInput
497
+ attr_accessor cluster_id: ::String
498
+ SENSITIVE: []
499
+ end
500
+
501
+ class GetManagedScalingPolicyOutput
502
+ attr_accessor managed_scaling_policy: Types::ManagedScalingPolicy
503
+ SENSITIVE: []
504
+ end
505
+
506
+ class GetStudioSessionMappingInput
507
+ attr_accessor studio_id: ::String
508
+ attr_accessor identity_id: ::String
509
+ attr_accessor identity_name: ::String
510
+ attr_accessor identity_type: ("USER" | "GROUP")
511
+ SENSITIVE: []
512
+ end
513
+
514
+ class GetStudioSessionMappingOutput
515
+ attr_accessor session_mapping: Types::SessionMappingDetail
516
+ SENSITIVE: []
517
+ end
518
+
519
+ class HadoopJarStepConfig
520
+ attr_accessor properties: ::Array[Types::KeyValue]
521
+ attr_accessor jar: ::String
522
+ attr_accessor main_class: ::String
523
+ attr_accessor args: ::Array[::String]
524
+ SENSITIVE: []
525
+ end
526
+
527
+ class HadoopStepConfig
528
+ attr_accessor jar: ::String
529
+ attr_accessor properties: ::Hash[::String, ::String]
530
+ attr_accessor main_class: ::String
531
+ attr_accessor args: ::Array[::String]
532
+ SENSITIVE: []
533
+ end
534
+
535
+ class Instance
536
+ attr_accessor id: ::String
537
+ attr_accessor ec2_instance_id: ::String
538
+ attr_accessor public_dns_name: ::String
539
+ attr_accessor public_ip_address: ::String
540
+ attr_accessor private_dns_name: ::String
541
+ attr_accessor private_ip_address: ::String
542
+ attr_accessor status: Types::InstanceStatus
543
+ attr_accessor instance_group_id: ::String
544
+ attr_accessor instance_fleet_id: ::String
545
+ attr_accessor market: ("ON_DEMAND" | "SPOT")
546
+ attr_accessor instance_type: ::String
547
+ attr_accessor ebs_volumes: ::Array[Types::EbsVolume]
548
+ SENSITIVE: []
549
+ end
550
+
551
+ class InstanceFleet
552
+ attr_accessor id: ::String
553
+ attr_accessor name: ::String
554
+ attr_accessor status: Types::InstanceFleetStatus
555
+ attr_accessor instance_fleet_type: ("MASTER" | "CORE" | "TASK")
556
+ attr_accessor target_on_demand_capacity: ::Integer
557
+ attr_accessor target_spot_capacity: ::Integer
558
+ attr_accessor provisioned_on_demand_capacity: ::Integer
559
+ attr_accessor provisioned_spot_capacity: ::Integer
560
+ attr_accessor instance_type_specifications: ::Array[Types::InstanceTypeSpecification]
561
+ attr_accessor launch_specifications: Types::InstanceFleetProvisioningSpecifications
562
+ attr_accessor resize_specifications: Types::InstanceFleetResizingSpecifications
563
+ SENSITIVE: []
564
+ end
565
+
566
+ class InstanceFleetConfig
567
+ attr_accessor name: ::String
568
+ attr_accessor instance_fleet_type: ("MASTER" | "CORE" | "TASK")
569
+ attr_accessor target_on_demand_capacity: ::Integer
570
+ attr_accessor target_spot_capacity: ::Integer
571
+ attr_accessor instance_type_configs: ::Array[Types::InstanceTypeConfig]
572
+ attr_accessor launch_specifications: Types::InstanceFleetProvisioningSpecifications
573
+ attr_accessor resize_specifications: Types::InstanceFleetResizingSpecifications
574
+ SENSITIVE: []
575
+ end
576
+
577
+ class InstanceFleetModifyConfig
578
+ attr_accessor instance_fleet_id: ::String
579
+ attr_accessor target_on_demand_capacity: ::Integer
580
+ attr_accessor target_spot_capacity: ::Integer
581
+ attr_accessor resize_specifications: Types::InstanceFleetResizingSpecifications
582
+ SENSITIVE: []
583
+ end
584
+
585
+ class InstanceFleetProvisioningSpecifications
586
+ attr_accessor spot_specification: Types::SpotProvisioningSpecification
587
+ attr_accessor on_demand_specification: Types::OnDemandProvisioningSpecification
588
+ SENSITIVE: []
589
+ end
590
+
591
+ class InstanceFleetResizingSpecifications
592
+ attr_accessor spot_resize_specification: Types::SpotResizingSpecification
593
+ attr_accessor on_demand_resize_specification: Types::OnDemandResizingSpecification
594
+ SENSITIVE: []
595
+ end
596
+
597
+ class InstanceFleetStateChangeReason
598
+ attr_accessor code: ("INTERNAL_ERROR" | "VALIDATION_ERROR" | "INSTANCE_FAILURE" | "CLUSTER_TERMINATED")
599
+ attr_accessor message: ::String
600
+ SENSITIVE: []
601
+ end
602
+
603
+ class InstanceFleetStatus
604
+ attr_accessor state: ("PROVISIONING" | "BOOTSTRAPPING" | "RUNNING" | "RESIZING" | "SUSPENDED" | "TERMINATING" | "TERMINATED")
605
+ attr_accessor state_change_reason: Types::InstanceFleetStateChangeReason
606
+ attr_accessor timeline: Types::InstanceFleetTimeline
607
+ SENSITIVE: []
608
+ end
609
+
610
+ class InstanceFleetTimeline
611
+ attr_accessor creation_date_time: ::Time
612
+ attr_accessor ready_date_time: ::Time
613
+ attr_accessor end_date_time: ::Time
614
+ SENSITIVE: []
615
+ end
616
+
617
+ class InstanceGroup
618
+ attr_accessor id: ::String
619
+ attr_accessor name: ::String
620
+ attr_accessor market: ("ON_DEMAND" | "SPOT")
621
+ attr_accessor instance_group_type: ("MASTER" | "CORE" | "TASK")
622
+ attr_accessor bid_price: ::String
623
+ attr_accessor instance_type: ::String
624
+ attr_accessor requested_instance_count: ::Integer
625
+ attr_accessor running_instance_count: ::Integer
626
+ attr_accessor status: Types::InstanceGroupStatus
627
+ attr_accessor configurations: ::Array[Types::Configuration]
628
+ attr_accessor configurations_version: ::Integer
629
+ attr_accessor last_successfully_applied_configurations: ::Array[Types::Configuration]
630
+ attr_accessor last_successfully_applied_configurations_version: ::Integer
631
+ attr_accessor ebs_block_devices: ::Array[Types::EbsBlockDevice]
632
+ attr_accessor ebs_optimized: bool
633
+ attr_accessor shrink_policy: Types::ShrinkPolicy
634
+ attr_accessor auto_scaling_policy: Types::AutoScalingPolicyDescription
635
+ attr_accessor custom_ami_id: ::String
636
+ SENSITIVE: []
637
+ end
638
+
639
+ class InstanceGroupConfig
640
+ attr_accessor name: ::String
641
+ attr_accessor market: ("ON_DEMAND" | "SPOT")
642
+ attr_accessor instance_role: ("MASTER" | "CORE" | "TASK")
643
+ attr_accessor bid_price: ::String
644
+ attr_accessor instance_type: ::String
645
+ attr_accessor instance_count: ::Integer
646
+ attr_accessor configurations: ::Array[Types::Configuration]
647
+ attr_accessor ebs_configuration: Types::EbsConfiguration
648
+ attr_accessor auto_scaling_policy: Types::AutoScalingPolicy
649
+ attr_accessor custom_ami_id: ::String
650
+ SENSITIVE: []
651
+ end
652
+
653
+ class InstanceGroupDetail
654
+ attr_accessor instance_group_id: ::String
655
+ attr_accessor name: ::String
656
+ attr_accessor market: ("ON_DEMAND" | "SPOT")
657
+ attr_accessor instance_role: ("MASTER" | "CORE" | "TASK")
658
+ attr_accessor bid_price: ::String
659
+ attr_accessor instance_type: ::String
660
+ attr_accessor instance_request_count: ::Integer
661
+ attr_accessor instance_running_count: ::Integer
662
+ attr_accessor state: ("PROVISIONING" | "BOOTSTRAPPING" | "RUNNING" | "RECONFIGURING" | "RESIZING" | "SUSPENDED" | "TERMINATING" | "TERMINATED" | "ARRESTED" | "SHUTTING_DOWN" | "ENDED")
663
+ attr_accessor last_state_change_reason: ::String
664
+ attr_accessor creation_date_time: ::Time
665
+ attr_accessor start_date_time: ::Time
666
+ attr_accessor ready_date_time: ::Time
667
+ attr_accessor end_date_time: ::Time
668
+ attr_accessor custom_ami_id: ::String
669
+ SENSITIVE: []
670
+ end
671
+
672
+ class InstanceGroupModifyConfig
673
+ attr_accessor instance_group_id: ::String
674
+ attr_accessor instance_count: ::Integer
675
+ attr_accessor ec2_instance_ids_to_terminate: ::Array[::String]
676
+ attr_accessor shrink_policy: Types::ShrinkPolicy
677
+ attr_accessor reconfiguration_type: ("OVERWRITE" | "MERGE")
678
+ attr_accessor configurations: ::Array[Types::Configuration]
679
+ SENSITIVE: []
680
+ end
681
+
682
+ class InstanceGroupStateChangeReason
683
+ attr_accessor code: ("INTERNAL_ERROR" | "VALIDATION_ERROR" | "INSTANCE_FAILURE" | "CLUSTER_TERMINATED")
684
+ attr_accessor message: ::String
685
+ SENSITIVE: []
686
+ end
687
+
688
+ class InstanceGroupStatus
689
+ attr_accessor state: ("PROVISIONING" | "BOOTSTRAPPING" | "RUNNING" | "RECONFIGURING" | "RESIZING" | "SUSPENDED" | "TERMINATING" | "TERMINATED" | "ARRESTED" | "SHUTTING_DOWN" | "ENDED")
690
+ attr_accessor state_change_reason: Types::InstanceGroupStateChangeReason
691
+ attr_accessor timeline: Types::InstanceGroupTimeline
692
+ SENSITIVE: []
693
+ end
694
+
695
+ class InstanceGroupTimeline
696
+ attr_accessor creation_date_time: ::Time
697
+ attr_accessor ready_date_time: ::Time
698
+ attr_accessor end_date_time: ::Time
699
+ SENSITIVE: []
700
+ end
701
+
702
+ class InstanceResizePolicy
703
+ attr_accessor instances_to_terminate: ::Array[::String]
704
+ attr_accessor instances_to_protect: ::Array[::String]
705
+ attr_accessor instance_termination_timeout: ::Integer
706
+ SENSITIVE: []
707
+ end
708
+
709
+ class InstanceStateChangeReason
710
+ attr_accessor code: ("INTERNAL_ERROR" | "VALIDATION_ERROR" | "INSTANCE_FAILURE" | "BOOTSTRAP_FAILURE" | "CLUSTER_TERMINATED")
711
+ attr_accessor message: ::String
712
+ SENSITIVE: []
713
+ end
714
+
715
+ class InstanceStatus
716
+ attr_accessor state: ("AWAITING_FULFILLMENT" | "PROVISIONING" | "BOOTSTRAPPING" | "RUNNING" | "TERMINATED")
717
+ attr_accessor state_change_reason: Types::InstanceStateChangeReason
718
+ attr_accessor timeline: Types::InstanceTimeline
719
+ SENSITIVE: []
720
+ end
721
+
722
+ class InstanceTimeline
723
+ attr_accessor creation_date_time: ::Time
724
+ attr_accessor ready_date_time: ::Time
725
+ attr_accessor end_date_time: ::Time
726
+ SENSITIVE: []
727
+ end
728
+
729
+ class InstanceTypeConfig
730
+ attr_accessor instance_type: ::String
731
+ attr_accessor weighted_capacity: ::Integer
732
+ attr_accessor bid_price: ::String
733
+ attr_accessor bid_price_as_percentage_of_on_demand_price: ::Float
734
+ attr_accessor ebs_configuration: Types::EbsConfiguration
735
+ attr_accessor configurations: ::Array[Types::Configuration]
736
+ attr_accessor custom_ami_id: ::String
737
+ SENSITIVE: []
738
+ end
739
+
740
+ class InstanceTypeSpecification
741
+ attr_accessor instance_type: ::String
742
+ attr_accessor weighted_capacity: ::Integer
743
+ attr_accessor bid_price: ::String
744
+ attr_accessor bid_price_as_percentage_of_on_demand_price: ::Float
745
+ attr_accessor configurations: ::Array[Types::Configuration]
746
+ attr_accessor ebs_block_devices: ::Array[Types::EbsBlockDevice]
747
+ attr_accessor ebs_optimized: bool
748
+ attr_accessor custom_ami_id: ::String
749
+ SENSITIVE: []
750
+ end
751
+
752
+ class InternalServerError < Aws::EmptyStructure
753
+ end
754
+
755
+ class InternalServerException
756
+ attr_accessor message: ::String
757
+ SENSITIVE: []
758
+ end
759
+
760
+ class InvalidRequestException
761
+ attr_accessor error_code: ::String
762
+ attr_accessor message: ::String
763
+ SENSITIVE: []
764
+ end
765
+
766
+ class JobFlowDetail
767
+ attr_accessor job_flow_id: ::String
768
+ attr_accessor name: ::String
769
+ attr_accessor log_uri: ::String
770
+ attr_accessor log_encryption_kms_key_id: ::String
771
+ attr_accessor ami_version: ::String
772
+ attr_accessor execution_status_detail: Types::JobFlowExecutionStatusDetail
773
+ attr_accessor instances: Types::JobFlowInstancesDetail
774
+ attr_accessor steps: ::Array[Types::StepDetail]
775
+ attr_accessor bootstrap_actions: ::Array[Types::BootstrapActionDetail]
776
+ attr_accessor supported_products: ::Array[::String]
777
+ attr_accessor visible_to_all_users: bool
778
+ attr_accessor job_flow_role: ::String
779
+ attr_accessor service_role: ::String
780
+ attr_accessor auto_scaling_role: ::String
781
+ attr_accessor scale_down_behavior: ("TERMINATE_AT_INSTANCE_HOUR" | "TERMINATE_AT_TASK_COMPLETION")
782
+ SENSITIVE: []
783
+ end
784
+
785
+ class JobFlowExecutionStatusDetail
786
+ attr_accessor state: ("STARTING" | "BOOTSTRAPPING" | "RUNNING" | "WAITING" | "SHUTTING_DOWN" | "TERMINATED" | "COMPLETED" | "FAILED")
787
+ attr_accessor creation_date_time: ::Time
788
+ attr_accessor start_date_time: ::Time
789
+ attr_accessor ready_date_time: ::Time
790
+ attr_accessor end_date_time: ::Time
791
+ attr_accessor last_state_change_reason: ::String
792
+ SENSITIVE: []
793
+ end
794
+
795
+ class JobFlowInstancesConfig
796
+ attr_accessor master_instance_type: ::String
797
+ attr_accessor slave_instance_type: ::String
798
+ attr_accessor instance_count: ::Integer
799
+ attr_accessor instance_groups: ::Array[Types::InstanceGroupConfig]
800
+ attr_accessor instance_fleets: ::Array[Types::InstanceFleetConfig]
801
+ attr_accessor ec2_key_name: ::String
802
+ attr_accessor placement: Types::PlacementType
803
+ attr_accessor keep_job_flow_alive_when_no_steps: bool
804
+ attr_accessor termination_protected: bool
805
+ attr_accessor unhealthy_node_replacement: bool
806
+ attr_accessor hadoop_version: ::String
807
+ attr_accessor ec2_subnet_id: ::String
808
+ attr_accessor ec2_subnet_ids: ::Array[::String]
809
+ attr_accessor emr_managed_master_security_group: ::String
810
+ attr_accessor emr_managed_slave_security_group: ::String
811
+ attr_accessor service_access_security_group: ::String
812
+ attr_accessor additional_master_security_groups: ::Array[::String]
813
+ attr_accessor additional_slave_security_groups: ::Array[::String]
814
+ SENSITIVE: []
815
+ end
816
+
817
+ class JobFlowInstancesDetail
818
+ attr_accessor master_instance_type: ::String
819
+ attr_accessor master_public_dns_name: ::String
820
+ attr_accessor master_instance_id: ::String
821
+ attr_accessor slave_instance_type: ::String
822
+ attr_accessor instance_count: ::Integer
823
+ attr_accessor instance_groups: ::Array[Types::InstanceGroupDetail]
824
+ attr_accessor normalized_instance_hours: ::Integer
825
+ attr_accessor ec2_key_name: ::String
826
+ attr_accessor ec2_subnet_id: ::String
827
+ attr_accessor placement: Types::PlacementType
828
+ attr_accessor keep_job_flow_alive_when_no_steps: bool
829
+ attr_accessor termination_protected: bool
830
+ attr_accessor unhealthy_node_replacement: bool
831
+ attr_accessor hadoop_version: ::String
832
+ SENSITIVE: []
833
+ end
834
+
835
+ class KerberosAttributes
836
+ attr_accessor realm: ::String
837
+ attr_accessor kdc_admin_password: ::String
838
+ attr_accessor cross_realm_trust_principal_password: ::String
839
+ attr_accessor ad_domain_join_user: ::String
840
+ attr_accessor ad_domain_join_password: ::String
841
+ SENSITIVE: []
842
+ end
843
+
844
+ class KeyValue
845
+ attr_accessor key: ::String
846
+ attr_accessor value: ::String
847
+ SENSITIVE: []
848
+ end
849
+
850
+ class ListBootstrapActionsInput
851
+ attr_accessor cluster_id: ::String
852
+ attr_accessor marker: ::String
853
+ SENSITIVE: []
854
+ end
855
+
856
+ class ListBootstrapActionsOutput
857
+ attr_accessor bootstrap_actions: ::Array[Types::Command]
858
+ attr_accessor marker: ::String
859
+ SENSITIVE: []
860
+ end
861
+
862
+ class ListClustersInput
863
+ attr_accessor created_after: ::Time
864
+ attr_accessor created_before: ::Time
865
+ attr_accessor cluster_states: ::Array[("STARTING" | "BOOTSTRAPPING" | "RUNNING" | "WAITING" | "TERMINATING" | "TERMINATED" | "TERMINATED_WITH_ERRORS")]
866
+ attr_accessor marker: ::String
867
+ SENSITIVE: []
868
+ end
869
+
870
+ class ListClustersOutput
871
+ attr_accessor clusters: ::Array[Types::ClusterSummary]
872
+ attr_accessor marker: ::String
873
+ SENSITIVE: []
874
+ end
875
+
876
+ class ListInstanceFleetsInput
877
+ attr_accessor cluster_id: ::String
878
+ attr_accessor marker: ::String
879
+ SENSITIVE: []
880
+ end
881
+
882
+ class ListInstanceFleetsOutput
883
+ attr_accessor instance_fleets: ::Array[Types::InstanceFleet]
884
+ attr_accessor marker: ::String
885
+ SENSITIVE: []
886
+ end
887
+
888
+ class ListInstanceGroupsInput
889
+ attr_accessor cluster_id: ::String
890
+ attr_accessor marker: ::String
891
+ SENSITIVE: []
892
+ end
893
+
894
+ class ListInstanceGroupsOutput
895
+ attr_accessor instance_groups: ::Array[Types::InstanceGroup]
896
+ attr_accessor marker: ::String
897
+ SENSITIVE: []
898
+ end
899
+
900
+ class ListInstancesInput
901
+ attr_accessor cluster_id: ::String
902
+ attr_accessor instance_group_id: ::String
903
+ attr_accessor instance_group_types: ::Array[("MASTER" | "CORE" | "TASK")]
904
+ attr_accessor instance_fleet_id: ::String
905
+ attr_accessor instance_fleet_type: ("MASTER" | "CORE" | "TASK")
906
+ attr_accessor instance_states: ::Array[("AWAITING_FULFILLMENT" | "PROVISIONING" | "BOOTSTRAPPING" | "RUNNING" | "TERMINATED")]
907
+ attr_accessor marker: ::String
908
+ SENSITIVE: []
909
+ end
910
+
911
+ class ListInstancesOutput
912
+ attr_accessor instances: ::Array[Types::Instance]
913
+ attr_accessor marker: ::String
914
+ SENSITIVE: []
915
+ end
916
+
917
+ class ListNotebookExecutionsInput
918
+ attr_accessor editor_id: ::String
919
+ attr_accessor status: ("START_PENDING" | "STARTING" | "RUNNING" | "FINISHING" | "FINISHED" | "FAILING" | "FAILED" | "STOP_PENDING" | "STOPPING" | "STOPPED")
920
+ attr_accessor from: ::Time
921
+ attr_accessor to: ::Time
922
+ attr_accessor marker: ::String
923
+ attr_accessor execution_engine_id: ::String
924
+ SENSITIVE: []
925
+ end
926
+
927
+ class ListNotebookExecutionsOutput
928
+ attr_accessor notebook_executions: ::Array[Types::NotebookExecutionSummary]
929
+ attr_accessor marker: ::String
930
+ SENSITIVE: []
931
+ end
932
+
933
+ class ListReleaseLabelsInput
934
+ attr_accessor filters: Types::ReleaseLabelFilter
935
+ attr_accessor next_token: ::String
936
+ attr_accessor max_results: ::Integer
937
+ SENSITIVE: []
938
+ end
939
+
940
+ class ListReleaseLabelsOutput
941
+ attr_accessor release_labels: ::Array[::String]
942
+ attr_accessor next_token: ::String
943
+ SENSITIVE: []
944
+ end
945
+
946
+ class ListSecurityConfigurationsInput
947
+ attr_accessor marker: ::String
948
+ SENSITIVE: []
949
+ end
950
+
951
+ class ListSecurityConfigurationsOutput
952
+ attr_accessor security_configurations: ::Array[Types::SecurityConfigurationSummary]
953
+ attr_accessor marker: ::String
954
+ SENSITIVE: []
955
+ end
956
+
957
+ class ListStepsInput
958
+ attr_accessor cluster_id: ::String
959
+ attr_accessor step_states: ::Array[("PENDING" | "CANCEL_PENDING" | "RUNNING" | "COMPLETED" | "CANCELLED" | "FAILED" | "INTERRUPTED")]
960
+ attr_accessor step_ids: ::Array[::String]
961
+ attr_accessor marker: ::String
962
+ SENSITIVE: []
963
+ end
964
+
965
+ class ListStepsOutput
966
+ attr_accessor steps: ::Array[Types::StepSummary]
967
+ attr_accessor marker: ::String
968
+ SENSITIVE: []
969
+ end
970
+
971
+ class ListStudioSessionMappingsInput
972
+ attr_accessor studio_id: ::String
973
+ attr_accessor identity_type: ("USER" | "GROUP")
974
+ attr_accessor marker: ::String
975
+ SENSITIVE: []
976
+ end
977
+
978
+ class ListStudioSessionMappingsOutput
979
+ attr_accessor session_mappings: ::Array[Types::SessionMappingSummary]
980
+ attr_accessor marker: ::String
981
+ SENSITIVE: []
982
+ end
983
+
984
+ class ListStudiosInput
985
+ attr_accessor marker: ::String
986
+ SENSITIVE: []
987
+ end
988
+
989
+ class ListStudiosOutput
990
+ attr_accessor studios: ::Array[Types::StudioSummary]
991
+ attr_accessor marker: ::String
992
+ SENSITIVE: []
993
+ end
994
+
995
+ class ListSupportedInstanceTypesInput
996
+ attr_accessor release_label: ::String
997
+ attr_accessor marker: ::String
998
+ SENSITIVE: []
999
+ end
1000
+
1001
+ class ListSupportedInstanceTypesOutput
1002
+ attr_accessor supported_instance_types: ::Array[Types::SupportedInstanceType]
1003
+ attr_accessor marker: ::String
1004
+ SENSITIVE: []
1005
+ end
1006
+
1007
+ class ManagedScalingPolicy
1008
+ attr_accessor compute_limits: Types::ComputeLimits
1009
+ SENSITIVE: []
1010
+ end
1011
+
1012
+ class MetricDimension
1013
+ attr_accessor key: ::String
1014
+ attr_accessor value: ::String
1015
+ SENSITIVE: []
1016
+ end
1017
+
1018
+ class ModifyClusterInput
1019
+ attr_accessor cluster_id: ::String
1020
+ attr_accessor step_concurrency_level: ::Integer
1021
+ SENSITIVE: []
1022
+ end
1023
+
1024
+ class ModifyClusterOutput
1025
+ attr_accessor step_concurrency_level: ::Integer
1026
+ SENSITIVE: []
1027
+ end
1028
+
1029
+ class ModifyInstanceFleetInput
1030
+ attr_accessor cluster_id: ::String
1031
+ attr_accessor instance_fleet: Types::InstanceFleetModifyConfig
1032
+ SENSITIVE: []
1033
+ end
1034
+
1035
+ class ModifyInstanceGroupsInput
1036
+ attr_accessor cluster_id: ::String
1037
+ attr_accessor instance_groups: ::Array[Types::InstanceGroupModifyConfig]
1038
+ SENSITIVE: []
1039
+ end
1040
+
1041
+ class NotebookExecution
1042
+ attr_accessor notebook_execution_id: ::String
1043
+ attr_accessor editor_id: ::String
1044
+ attr_accessor execution_engine: Types::ExecutionEngineConfig
1045
+ attr_accessor notebook_execution_name: ::String
1046
+ attr_accessor notebook_params: ::String
1047
+ attr_accessor status: ("START_PENDING" | "STARTING" | "RUNNING" | "FINISHING" | "FINISHED" | "FAILING" | "FAILED" | "STOP_PENDING" | "STOPPING" | "STOPPED")
1048
+ attr_accessor start_time: ::Time
1049
+ attr_accessor end_time: ::Time
1050
+ attr_accessor arn: ::String
1051
+ attr_accessor output_notebook_uri: ::String
1052
+ attr_accessor last_state_change_reason: ::String
1053
+ attr_accessor notebook_instance_security_group_id: ::String
1054
+ attr_accessor tags: ::Array[Types::Tag]
1055
+ attr_accessor notebook_s3_location: Types::NotebookS3LocationForOutput
1056
+ attr_accessor output_notebook_s3_location: Types::OutputNotebookS3LocationForOutput
1057
+ attr_accessor output_notebook_format: ("HTML")
1058
+ attr_accessor environment_variables: ::Hash[::String, ::String]
1059
+ SENSITIVE: []
1060
+ end
1061
+
1062
+ class NotebookExecutionSummary
1063
+ attr_accessor notebook_execution_id: ::String
1064
+ attr_accessor editor_id: ::String
1065
+ attr_accessor notebook_execution_name: ::String
1066
+ attr_accessor status: ("START_PENDING" | "STARTING" | "RUNNING" | "FINISHING" | "FINISHED" | "FAILING" | "FAILED" | "STOP_PENDING" | "STOPPING" | "STOPPED")
1067
+ attr_accessor start_time: ::Time
1068
+ attr_accessor end_time: ::Time
1069
+ attr_accessor notebook_s3_location: Types::NotebookS3LocationForOutput
1070
+ attr_accessor execution_engine_id: ::String
1071
+ SENSITIVE: []
1072
+ end
1073
+
1074
+ class NotebookS3LocationForOutput
1075
+ attr_accessor bucket: ::String
1076
+ attr_accessor key: ::String
1077
+ SENSITIVE: []
1078
+ end
1079
+
1080
+ class NotebookS3LocationFromInput
1081
+ attr_accessor bucket: ::String
1082
+ attr_accessor key: ::String
1083
+ SENSITIVE: []
1084
+ end
1085
+
1086
+ class OSRelease
1087
+ attr_accessor label: ::String
1088
+ SENSITIVE: []
1089
+ end
1090
+
1091
+ class OnDemandCapacityReservationOptions
1092
+ attr_accessor usage_strategy: ("use-capacity-reservations-first")
1093
+ attr_accessor capacity_reservation_preference: ("open" | "none")
1094
+ attr_accessor capacity_reservation_resource_group_arn: ::String
1095
+ SENSITIVE: []
1096
+ end
1097
+
1098
+ class OnDemandProvisioningSpecification
1099
+ attr_accessor allocation_strategy: ("lowest-price")
1100
+ attr_accessor capacity_reservation_options: Types::OnDemandCapacityReservationOptions
1101
+ SENSITIVE: []
1102
+ end
1103
+
1104
+ class OnDemandResizingSpecification
1105
+ attr_accessor timeout_duration_minutes: ::Integer
1106
+ SENSITIVE: []
1107
+ end
1108
+
1109
+ class OutputNotebookS3LocationForOutput
1110
+ attr_accessor bucket: ::String
1111
+ attr_accessor key: ::String
1112
+ SENSITIVE: []
1113
+ end
1114
+
1115
+ class OutputNotebookS3LocationFromInput
1116
+ attr_accessor bucket: ::String
1117
+ attr_accessor key: ::String
1118
+ SENSITIVE: []
1119
+ end
1120
+
1121
+ class PlacementGroupConfig
1122
+ attr_accessor instance_role: ("MASTER" | "CORE" | "TASK")
1123
+ attr_accessor placement_strategy: ("SPREAD" | "PARTITION" | "CLUSTER" | "NONE")
1124
+ SENSITIVE: []
1125
+ end
1126
+
1127
+ class PlacementType
1128
+ attr_accessor availability_zone: ::String
1129
+ attr_accessor availability_zones: ::Array[::String]
1130
+ SENSITIVE: []
1131
+ end
1132
+
1133
+ class PortRange
1134
+ attr_accessor min_range: ::Integer
1135
+ attr_accessor max_range: ::Integer
1136
+ SENSITIVE: []
1137
+ end
1138
+
1139
+ class PutAutoScalingPolicyInput
1140
+ attr_accessor cluster_id: ::String
1141
+ attr_accessor instance_group_id: ::String
1142
+ attr_accessor auto_scaling_policy: Types::AutoScalingPolicy
1143
+ SENSITIVE: []
1144
+ end
1145
+
1146
+ class PutAutoScalingPolicyOutput
1147
+ attr_accessor cluster_id: ::String
1148
+ attr_accessor instance_group_id: ::String
1149
+ attr_accessor auto_scaling_policy: Types::AutoScalingPolicyDescription
1150
+ attr_accessor cluster_arn: ::String
1151
+ SENSITIVE: []
1152
+ end
1153
+
1154
+ class PutAutoTerminationPolicyInput
1155
+ attr_accessor cluster_id: ::String
1156
+ attr_accessor auto_termination_policy: Types::AutoTerminationPolicy
1157
+ SENSITIVE: []
1158
+ end
1159
+
1160
+ class PutAutoTerminationPolicyOutput < Aws::EmptyStructure
1161
+ end
1162
+
1163
+ class PutBlockPublicAccessConfigurationInput
1164
+ attr_accessor block_public_access_configuration: Types::BlockPublicAccessConfiguration
1165
+ SENSITIVE: []
1166
+ end
1167
+
1168
+ class PutBlockPublicAccessConfigurationOutput < Aws::EmptyStructure
1169
+ end
1170
+
1171
+ class PutManagedScalingPolicyInput
1172
+ attr_accessor cluster_id: ::String
1173
+ attr_accessor managed_scaling_policy: Types::ManagedScalingPolicy
1174
+ SENSITIVE: []
1175
+ end
1176
+
1177
+ class PutManagedScalingPolicyOutput < Aws::EmptyStructure
1178
+ end
1179
+
1180
+ class ReleaseLabelFilter
1181
+ attr_accessor prefix: ::String
1182
+ attr_accessor application: ::String
1183
+ SENSITIVE: []
1184
+ end
1185
+
1186
+ class RemoveAutoScalingPolicyInput
1187
+ attr_accessor cluster_id: ::String
1188
+ attr_accessor instance_group_id: ::String
1189
+ SENSITIVE: []
1190
+ end
1191
+
1192
+ class RemoveAutoScalingPolicyOutput < Aws::EmptyStructure
1193
+ end
1194
+
1195
+ class RemoveAutoTerminationPolicyInput
1196
+ attr_accessor cluster_id: ::String
1197
+ SENSITIVE: []
1198
+ end
1199
+
1200
+ class RemoveAutoTerminationPolicyOutput < Aws::EmptyStructure
1201
+ end
1202
+
1203
+ class RemoveManagedScalingPolicyInput
1204
+ attr_accessor cluster_id: ::String
1205
+ SENSITIVE: []
1206
+ end
1207
+
1208
+ class RemoveManagedScalingPolicyOutput < Aws::EmptyStructure
1209
+ end
1210
+
1211
+ class RemoveTagsInput
1212
+ attr_accessor resource_id: ::String
1213
+ attr_accessor tag_keys: ::Array[::String]
1214
+ SENSITIVE: []
1215
+ end
1216
+
1217
+ class RemoveTagsOutput < Aws::EmptyStructure
1218
+ end
1219
+
1220
+ class RunJobFlowInput
1221
+ attr_accessor name: ::String
1222
+ attr_accessor log_uri: ::String
1223
+ attr_accessor log_encryption_kms_key_id: ::String
1224
+ attr_accessor additional_info: ::String
1225
+ attr_accessor ami_version: ::String
1226
+ attr_accessor release_label: ::String
1227
+ attr_accessor instances: Types::JobFlowInstancesConfig
1228
+ attr_accessor steps: ::Array[Types::StepConfig]
1229
+ attr_accessor bootstrap_actions: ::Array[Types::BootstrapActionConfig]
1230
+ attr_accessor supported_products: ::Array[::String]
1231
+ attr_accessor new_supported_products: ::Array[Types::SupportedProductConfig]
1232
+ attr_accessor applications: ::Array[Types::Application]
1233
+ attr_accessor configurations: ::Array[Types::Configuration]
1234
+ attr_accessor visible_to_all_users: bool
1235
+ attr_accessor job_flow_role: ::String
1236
+ attr_accessor service_role: ::String
1237
+ attr_accessor tags: ::Array[Types::Tag]
1238
+ attr_accessor security_configuration: ::String
1239
+ attr_accessor auto_scaling_role: ::String
1240
+ attr_accessor scale_down_behavior: ("TERMINATE_AT_INSTANCE_HOUR" | "TERMINATE_AT_TASK_COMPLETION")
1241
+ attr_accessor custom_ami_id: ::String
1242
+ attr_accessor ebs_root_volume_size: ::Integer
1243
+ attr_accessor repo_upgrade_on_boot: ("SECURITY" | "NONE")
1244
+ attr_accessor kerberos_attributes: Types::KerberosAttributes
1245
+ attr_accessor step_concurrency_level: ::Integer
1246
+ attr_accessor managed_scaling_policy: Types::ManagedScalingPolicy
1247
+ attr_accessor placement_group_configs: ::Array[Types::PlacementGroupConfig]
1248
+ attr_accessor auto_termination_policy: Types::AutoTerminationPolicy
1249
+ attr_accessor os_release_label: ::String
1250
+ attr_accessor ebs_root_volume_iops: ::Integer
1251
+ attr_accessor ebs_root_volume_throughput: ::Integer
1252
+ SENSITIVE: []
1253
+ end
1254
+
1255
+ class RunJobFlowOutput
1256
+ attr_accessor job_flow_id: ::String
1257
+ attr_accessor cluster_arn: ::String
1258
+ SENSITIVE: []
1259
+ end
1260
+
1261
+ class ScalingAction
1262
+ attr_accessor market: ("ON_DEMAND" | "SPOT")
1263
+ attr_accessor simple_scaling_policy_configuration: Types::SimpleScalingPolicyConfiguration
1264
+ SENSITIVE: []
1265
+ end
1266
+
1267
+ class ScalingConstraints
1268
+ attr_accessor min_capacity: ::Integer
1269
+ attr_accessor max_capacity: ::Integer
1270
+ SENSITIVE: []
1271
+ end
1272
+
1273
+ class ScalingRule
1274
+ attr_accessor name: ::String
1275
+ attr_accessor description: ::String
1276
+ attr_accessor action: Types::ScalingAction
1277
+ attr_accessor trigger: Types::ScalingTrigger
1278
+ SENSITIVE: []
1279
+ end
1280
+
1281
+ class ScalingTrigger
1282
+ attr_accessor cloud_watch_alarm_definition: Types::CloudWatchAlarmDefinition
1283
+ SENSITIVE: []
1284
+ end
1285
+
1286
+ class ScriptBootstrapActionConfig
1287
+ attr_accessor path: ::String
1288
+ attr_accessor args: ::Array[::String]
1289
+ SENSITIVE: []
1290
+ end
1291
+
1292
+ class SecurityConfigurationSummary
1293
+ attr_accessor name: ::String
1294
+ attr_accessor creation_date_time: ::Time
1295
+ SENSITIVE: []
1296
+ end
1297
+
1298
+ class SessionMappingDetail
1299
+ attr_accessor studio_id: ::String
1300
+ attr_accessor identity_id: ::String
1301
+ attr_accessor identity_name: ::String
1302
+ attr_accessor identity_type: ("USER" | "GROUP")
1303
+ attr_accessor session_policy_arn: ::String
1304
+ attr_accessor creation_time: ::Time
1305
+ attr_accessor last_modified_time: ::Time
1306
+ SENSITIVE: []
1307
+ end
1308
+
1309
+ class SessionMappingSummary
1310
+ attr_accessor studio_id: ::String
1311
+ attr_accessor identity_id: ::String
1312
+ attr_accessor identity_name: ::String
1313
+ attr_accessor identity_type: ("USER" | "GROUP")
1314
+ attr_accessor session_policy_arn: ::String
1315
+ attr_accessor creation_time: ::Time
1316
+ SENSITIVE: []
1317
+ end
1318
+
1319
+ class SetKeepJobFlowAliveWhenNoStepsInput
1320
+ attr_accessor job_flow_ids: ::Array[::String]
1321
+ attr_accessor keep_job_flow_alive_when_no_steps: bool
1322
+ SENSITIVE: []
1323
+ end
1324
+
1325
+ class SetTerminationProtectionInput
1326
+ attr_accessor job_flow_ids: ::Array[::String]
1327
+ attr_accessor termination_protected: bool
1328
+ SENSITIVE: []
1329
+ end
1330
+
1331
+ class SetUnhealthyNodeReplacementInput
1332
+ attr_accessor job_flow_ids: ::Array[::String]
1333
+ attr_accessor unhealthy_node_replacement: bool
1334
+ SENSITIVE: []
1335
+ end
1336
+
1337
+ class SetVisibleToAllUsersInput
1338
+ attr_accessor job_flow_ids: ::Array[::String]
1339
+ attr_accessor visible_to_all_users: bool
1340
+ SENSITIVE: []
1341
+ end
1342
+
1343
+ class ShrinkPolicy
1344
+ attr_accessor decommission_timeout: ::Integer
1345
+ attr_accessor instance_resize_policy: Types::InstanceResizePolicy
1346
+ SENSITIVE: []
1347
+ end
1348
+
1349
+ class SimpleScalingPolicyConfiguration
1350
+ attr_accessor adjustment_type: ("CHANGE_IN_CAPACITY" | "PERCENT_CHANGE_IN_CAPACITY" | "EXACT_CAPACITY")
1351
+ attr_accessor scaling_adjustment: ::Integer
1352
+ attr_accessor cool_down: ::Integer
1353
+ SENSITIVE: []
1354
+ end
1355
+
1356
+ class SimplifiedApplication
1357
+ attr_accessor name: ::String
1358
+ attr_accessor version: ::String
1359
+ SENSITIVE: []
1360
+ end
1361
+
1362
+ class SpotProvisioningSpecification
1363
+ attr_accessor timeout_duration_minutes: ::Integer
1364
+ attr_accessor timeout_action: ("SWITCH_TO_ON_DEMAND" | "TERMINATE_CLUSTER")
1365
+ attr_accessor block_duration_minutes: ::Integer
1366
+ attr_accessor allocation_strategy: ("capacity-optimized" | "price-capacity-optimized" | "lowest-price" | "diversified")
1367
+ SENSITIVE: []
1368
+ end
1369
+
1370
+ class SpotResizingSpecification
1371
+ attr_accessor timeout_duration_minutes: ::Integer
1372
+ SENSITIVE: []
1373
+ end
1374
+
1375
+ class StartNotebookExecutionInput
1376
+ attr_accessor editor_id: ::String
1377
+ attr_accessor relative_path: ::String
1378
+ attr_accessor notebook_execution_name: ::String
1379
+ attr_accessor notebook_params: ::String
1380
+ attr_accessor execution_engine: Types::ExecutionEngineConfig
1381
+ attr_accessor service_role: ::String
1382
+ attr_accessor notebook_instance_security_group_id: ::String
1383
+ attr_accessor tags: ::Array[Types::Tag]
1384
+ attr_accessor notebook_s3_location: Types::NotebookS3LocationFromInput
1385
+ attr_accessor output_notebook_s3_location: Types::OutputNotebookS3LocationFromInput
1386
+ attr_accessor output_notebook_format: ("HTML")
1387
+ attr_accessor environment_variables: ::Hash[::String, ::String]
1388
+ SENSITIVE: []
1389
+ end
1390
+
1391
+ class StartNotebookExecutionOutput
1392
+ attr_accessor notebook_execution_id: ::String
1393
+ SENSITIVE: []
1394
+ end
1395
+
1396
+ class Step
1397
+ attr_accessor id: ::String
1398
+ attr_accessor name: ::String
1399
+ attr_accessor config: Types::HadoopStepConfig
1400
+ attr_accessor action_on_failure: ("TERMINATE_JOB_FLOW" | "TERMINATE_CLUSTER" | "CANCEL_AND_WAIT" | "CONTINUE")
1401
+ attr_accessor status: Types::StepStatus
1402
+ attr_accessor execution_role_arn: ::String
1403
+ SENSITIVE: []
1404
+ end
1405
+
1406
+ class StepConfig
1407
+ attr_accessor name: ::String
1408
+ attr_accessor action_on_failure: ("TERMINATE_JOB_FLOW" | "TERMINATE_CLUSTER" | "CANCEL_AND_WAIT" | "CONTINUE")
1409
+ attr_accessor hadoop_jar_step: Types::HadoopJarStepConfig
1410
+ SENSITIVE: []
1411
+ end
1412
+
1413
+ class StepDetail
1414
+ attr_accessor step_config: Types::StepConfig
1415
+ attr_accessor execution_status_detail: Types::StepExecutionStatusDetail
1416
+ SENSITIVE: []
1417
+ end
1418
+
1419
+ class StepExecutionStatusDetail
1420
+ attr_accessor state: ("PENDING" | "RUNNING" | "CONTINUE" | "COMPLETED" | "CANCELLED" | "FAILED" | "INTERRUPTED")
1421
+ attr_accessor creation_date_time: ::Time
1422
+ attr_accessor start_date_time: ::Time
1423
+ attr_accessor end_date_time: ::Time
1424
+ attr_accessor last_state_change_reason: ::String
1425
+ SENSITIVE: []
1426
+ end
1427
+
1428
+ class StepStateChangeReason
1429
+ attr_accessor code: ("NONE")
1430
+ attr_accessor message: ::String
1431
+ SENSITIVE: []
1432
+ end
1433
+
1434
+ class StepStatus
1435
+ attr_accessor state: ("PENDING" | "CANCEL_PENDING" | "RUNNING" | "COMPLETED" | "CANCELLED" | "FAILED" | "INTERRUPTED")
1436
+ attr_accessor state_change_reason: Types::StepStateChangeReason
1437
+ attr_accessor failure_details: Types::FailureDetails
1438
+ attr_accessor timeline: Types::StepTimeline
1439
+ SENSITIVE: []
1440
+ end
1441
+
1442
+ class StepSummary
1443
+ attr_accessor id: ::String
1444
+ attr_accessor name: ::String
1445
+ attr_accessor config: Types::HadoopStepConfig
1446
+ attr_accessor action_on_failure: ("TERMINATE_JOB_FLOW" | "TERMINATE_CLUSTER" | "CANCEL_AND_WAIT" | "CONTINUE")
1447
+ attr_accessor status: Types::StepStatus
1448
+ SENSITIVE: []
1449
+ end
1450
+
1451
+ class StepTimeline
1452
+ attr_accessor creation_date_time: ::Time
1453
+ attr_accessor start_date_time: ::Time
1454
+ attr_accessor end_date_time: ::Time
1455
+ SENSITIVE: []
1456
+ end
1457
+
1458
+ class StopNotebookExecutionInput
1459
+ attr_accessor notebook_execution_id: ::String
1460
+ SENSITIVE: []
1461
+ end
1462
+
1463
+ class Studio
1464
+ attr_accessor studio_id: ::String
1465
+ attr_accessor studio_arn: ::String
1466
+ attr_accessor name: ::String
1467
+ attr_accessor description: ::String
1468
+ attr_accessor auth_mode: ("SSO" | "IAM")
1469
+ attr_accessor vpc_id: ::String
1470
+ attr_accessor subnet_ids: ::Array[::String]
1471
+ attr_accessor service_role: ::String
1472
+ attr_accessor user_role: ::String
1473
+ attr_accessor workspace_security_group_id: ::String
1474
+ attr_accessor engine_security_group_id: ::String
1475
+ attr_accessor url: ::String
1476
+ attr_accessor creation_time: ::Time
1477
+ attr_accessor default_s3_location: ::String
1478
+ attr_accessor idp_auth_url: ::String
1479
+ attr_accessor idp_relay_state_parameter_name: ::String
1480
+ attr_accessor tags: ::Array[Types::Tag]
1481
+ attr_accessor idc_instance_arn: ::String
1482
+ attr_accessor trusted_identity_propagation_enabled: bool
1483
+ attr_accessor idc_user_assignment: ("REQUIRED" | "OPTIONAL")
1484
+ attr_accessor encryption_key_arn: ::String
1485
+ SENSITIVE: []
1486
+ end
1487
+
1488
+ class StudioSummary
1489
+ attr_accessor studio_id: ::String
1490
+ attr_accessor name: ::String
1491
+ attr_accessor vpc_id: ::String
1492
+ attr_accessor description: ::String
1493
+ attr_accessor url: ::String
1494
+ attr_accessor auth_mode: ("SSO" | "IAM")
1495
+ attr_accessor creation_time: ::Time
1496
+ SENSITIVE: []
1497
+ end
1498
+
1499
+ class SupportedInstanceType
1500
+ attr_accessor type: ::String
1501
+ attr_accessor memory_gb: ::Float
1502
+ attr_accessor storage_gb: ::Integer
1503
+ attr_accessor vcpu: ::Integer
1504
+ attr_accessor is_64_bits_only: bool
1505
+ attr_accessor instance_family_id: ::String
1506
+ attr_accessor ebs_optimized_available: bool
1507
+ attr_accessor ebs_optimized_by_default: bool
1508
+ attr_accessor number_of_disks: ::Integer
1509
+ attr_accessor ebs_storage_only: bool
1510
+ attr_accessor architecture: ::String
1511
+ SENSITIVE: []
1512
+ end
1513
+
1514
+ class SupportedProductConfig
1515
+ attr_accessor name: ::String
1516
+ attr_accessor args: ::Array[::String]
1517
+ SENSITIVE: []
1518
+ end
1519
+
1520
+ class Tag
1521
+ attr_accessor key: ::String
1522
+ attr_accessor value: ::String
1523
+ SENSITIVE: []
1524
+ end
1525
+
1526
+ class TerminateJobFlowsInput
1527
+ attr_accessor job_flow_ids: ::Array[::String]
1528
+ SENSITIVE: []
1529
+ end
1530
+
1531
+ class UpdateStudioInput
1532
+ attr_accessor studio_id: ::String
1533
+ attr_accessor name: ::String
1534
+ attr_accessor description: ::String
1535
+ attr_accessor subnet_ids: ::Array[::String]
1536
+ attr_accessor default_s3_location: ::String
1537
+ attr_accessor encryption_key_arn: ::String
1538
+ SENSITIVE: []
1539
+ end
1540
+
1541
+ class UpdateStudioSessionMappingInput
1542
+ attr_accessor studio_id: ::String
1543
+ attr_accessor identity_id: ::String
1544
+ attr_accessor identity_name: ::String
1545
+ attr_accessor identity_type: ("USER" | "GROUP")
1546
+ attr_accessor session_policy_arn: ::String
1547
+ SENSITIVE: []
1548
+ end
1549
+
1550
+ class UsernamePassword
1551
+ attr_accessor username: ::String
1552
+ attr_accessor password: ::String
1553
+ SENSITIVE: []
1554
+ end
1555
+
1556
+ class VolumeSpecification
1557
+ attr_accessor volume_type: ::String
1558
+ attr_accessor iops: ::Integer
1559
+ attr_accessor size_in_gb: ::Integer
1560
+ attr_accessor throughput: ::Integer
1561
+ SENSITIVE: []
1562
+ end
1563
+ end
1564
+ end