aws-sdk-emr 1.31.0 → 1.36.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-emr.rb +2 -2
- data/lib/aws-sdk-emr/client.rb +271 -10
- data/lib/aws-sdk-emr/client_api.rb +130 -1
- data/lib/aws-sdk-emr/types.rb +696 -13
- metadata +2 -2
data/lib/aws-sdk-emr/types.rb
CHANGED
@@ -53,10 +53,14 @@ module Aws::EMR
|
|
53
53
|
# },
|
54
54
|
# ],
|
55
55
|
# launch_specifications: {
|
56
|
-
# spot_specification: {
|
56
|
+
# spot_specification: {
|
57
57
|
# timeout_duration_minutes: 1, # required
|
58
58
|
# timeout_action: "SWITCH_TO_ON_DEMAND", # required, accepts SWITCH_TO_ON_DEMAND, TERMINATE_CLUSTER
|
59
59
|
# block_duration_minutes: 1,
|
60
|
+
# allocation_strategy: "capacity-optimized", # accepts capacity-optimized
|
61
|
+
# },
|
62
|
+
# on_demand_specification: {
|
63
|
+
# allocation_strategy: "lowest-price", # required, accepts lowest-price
|
60
64
|
# },
|
61
65
|
# },
|
62
66
|
# },
|
@@ -75,6 +79,7 @@ module Aws::EMR
|
|
75
79
|
class AddInstanceFleetInput < Struct.new(
|
76
80
|
:cluster_id,
|
77
81
|
:instance_fleet)
|
82
|
+
SENSITIVE = []
|
78
83
|
include Aws::Structure
|
79
84
|
end
|
80
85
|
|
@@ -96,6 +101,7 @@ module Aws::EMR
|
|
96
101
|
:cluster_id,
|
97
102
|
:instance_fleet_id,
|
98
103
|
:cluster_arn)
|
104
|
+
SENSITIVE = []
|
99
105
|
include Aws::Structure
|
100
106
|
end
|
101
107
|
|
@@ -193,6 +199,7 @@ module Aws::EMR
|
|
193
199
|
class AddInstanceGroupsInput < Struct.new(
|
194
200
|
:instance_groups,
|
195
201
|
:job_flow_id)
|
202
|
+
SENSITIVE = []
|
196
203
|
include Aws::Structure
|
197
204
|
end
|
198
205
|
|
@@ -216,6 +223,7 @@ module Aws::EMR
|
|
216
223
|
:job_flow_id,
|
217
224
|
:instance_group_ids,
|
218
225
|
:cluster_arn)
|
226
|
+
SENSITIVE = []
|
219
227
|
include Aws::Structure
|
220
228
|
end
|
221
229
|
|
@@ -259,6 +267,7 @@ module Aws::EMR
|
|
259
267
|
class AddJobFlowStepsInput < Struct.new(
|
260
268
|
:job_flow_id,
|
261
269
|
:steps)
|
270
|
+
SENSITIVE = []
|
262
271
|
include Aws::Structure
|
263
272
|
end
|
264
273
|
|
@@ -272,6 +281,7 @@ module Aws::EMR
|
|
272
281
|
#
|
273
282
|
class AddJobFlowStepsOutput < Struct.new(
|
274
283
|
:step_ids)
|
284
|
+
SENSITIVE = []
|
275
285
|
include Aws::Structure
|
276
286
|
end
|
277
287
|
|
@@ -307,6 +317,7 @@ module Aws::EMR
|
|
307
317
|
class AddTagsInput < Struct.new(
|
308
318
|
:resource_id,
|
309
319
|
:tags)
|
320
|
+
SENSITIVE = []
|
310
321
|
include Aws::Structure
|
311
322
|
end
|
312
323
|
|
@@ -369,6 +380,7 @@ module Aws::EMR
|
|
369
380
|
:version,
|
370
381
|
:args,
|
371
382
|
:additional_info)
|
383
|
+
SENSITIVE = []
|
372
384
|
include Aws::Structure
|
373
385
|
end
|
374
386
|
|
@@ -436,6 +448,7 @@ module Aws::EMR
|
|
436
448
|
class AutoScalingPolicy < Struct.new(
|
437
449
|
:constraints,
|
438
450
|
:rules)
|
451
|
+
SENSITIVE = []
|
439
452
|
include Aws::Structure
|
440
453
|
end
|
441
454
|
|
@@ -466,6 +479,7 @@ module Aws::EMR
|
|
466
479
|
:status,
|
467
480
|
:constraints,
|
468
481
|
:rules)
|
482
|
+
SENSITIVE = []
|
469
483
|
include Aws::Structure
|
470
484
|
end
|
471
485
|
|
@@ -489,6 +503,7 @@ module Aws::EMR
|
|
489
503
|
class AutoScalingPolicyStateChangeReason < Struct.new(
|
490
504
|
:code,
|
491
505
|
:message)
|
506
|
+
SENSITIVE = []
|
492
507
|
include Aws::Structure
|
493
508
|
end
|
494
509
|
|
@@ -507,6 +522,7 @@ module Aws::EMR
|
|
507
522
|
class AutoScalingPolicyStatus < Struct.new(
|
508
523
|
:state,
|
509
524
|
:state_change_reason)
|
525
|
+
SENSITIVE = []
|
510
526
|
include Aws::Structure
|
511
527
|
end
|
512
528
|
|
@@ -556,6 +572,7 @@ module Aws::EMR
|
|
556
572
|
class BlockPublicAccessConfiguration < Struct.new(
|
557
573
|
:block_public_security_group_rules,
|
558
574
|
:permitted_public_security_group_rule_ranges)
|
575
|
+
SENSITIVE = []
|
559
576
|
include Aws::Structure
|
560
577
|
end
|
561
578
|
|
@@ -579,6 +596,7 @@ module Aws::EMR
|
|
579
596
|
class BlockPublicAccessConfigurationMetadata < Struct.new(
|
580
597
|
:creation_date_time,
|
581
598
|
:created_by_arn)
|
599
|
+
SENSITIVE = []
|
582
600
|
include Aws::Structure
|
583
601
|
end
|
584
602
|
|
@@ -608,6 +626,7 @@ module Aws::EMR
|
|
608
626
|
class BootstrapActionConfig < Struct.new(
|
609
627
|
:name,
|
610
628
|
:script_bootstrap_action)
|
629
|
+
SENSITIVE = []
|
611
630
|
include Aws::Structure
|
612
631
|
end
|
613
632
|
|
@@ -622,6 +641,7 @@ module Aws::EMR
|
|
622
641
|
#
|
623
642
|
class BootstrapActionDetail < Struct.new(
|
624
643
|
:bootstrap_action_config)
|
644
|
+
SENSITIVE = []
|
625
645
|
include Aws::Structure
|
626
646
|
end
|
627
647
|
|
@@ -647,6 +667,7 @@ module Aws::EMR
|
|
647
667
|
:step_id,
|
648
668
|
:status,
|
649
669
|
:reason)
|
670
|
+
SENSITIVE = []
|
650
671
|
include Aws::Structure
|
651
672
|
end
|
652
673
|
|
@@ -682,6 +703,7 @@ module Aws::EMR
|
|
682
703
|
:cluster_id,
|
683
704
|
:step_ids,
|
684
705
|
:step_cancellation_option)
|
706
|
+
SENSITIVE = []
|
685
707
|
include Aws::Structure
|
686
708
|
end
|
687
709
|
|
@@ -696,6 +718,7 @@ module Aws::EMR
|
|
696
718
|
#
|
697
719
|
class CancelStepsOutput < Struct.new(
|
698
720
|
:cancel_steps_info_list)
|
721
|
+
SENSITIVE = []
|
699
722
|
include Aws::Structure
|
700
723
|
end
|
701
724
|
|
@@ -781,6 +804,7 @@ module Aws::EMR
|
|
781
804
|
:threshold,
|
782
805
|
:unit,
|
783
806
|
:dimensions)
|
807
|
+
SENSITIVE = []
|
784
808
|
include Aws::Structure
|
785
809
|
end
|
786
810
|
|
@@ -1008,6 +1032,7 @@ module Aws::EMR
|
|
1008
1032
|
:cluster_arn,
|
1009
1033
|
:outpost_arn,
|
1010
1034
|
:step_concurrency_level)
|
1035
|
+
SENSITIVE = []
|
1011
1036
|
include Aws::Structure
|
1012
1037
|
end
|
1013
1038
|
|
@@ -1026,6 +1051,7 @@ module Aws::EMR
|
|
1026
1051
|
class ClusterStateChangeReason < Struct.new(
|
1027
1052
|
:code,
|
1028
1053
|
:message)
|
1054
|
+
SENSITIVE = []
|
1029
1055
|
include Aws::Structure
|
1030
1056
|
end
|
1031
1057
|
|
@@ -1050,6 +1076,7 @@ module Aws::EMR
|
|
1050
1076
|
:state,
|
1051
1077
|
:state_change_reason,
|
1052
1078
|
:timeline)
|
1079
|
+
SENSITIVE = []
|
1053
1080
|
include Aws::Structure
|
1054
1081
|
end
|
1055
1082
|
|
@@ -1095,6 +1122,7 @@ module Aws::EMR
|
|
1095
1122
|
:normalized_instance_hours,
|
1096
1123
|
:cluster_arn,
|
1097
1124
|
:outpost_arn)
|
1125
|
+
SENSITIVE = []
|
1098
1126
|
include Aws::Structure
|
1099
1127
|
end
|
1100
1128
|
|
@@ -1118,6 +1146,7 @@ module Aws::EMR
|
|
1118
1146
|
:creation_date_time,
|
1119
1147
|
:ready_date_time,
|
1120
1148
|
:end_date_time)
|
1149
|
+
SENSITIVE = []
|
1121
1150
|
include Aws::Structure
|
1122
1151
|
end
|
1123
1152
|
|
@@ -1141,6 +1170,7 @@ module Aws::EMR
|
|
1141
1170
|
:name,
|
1142
1171
|
:script_path,
|
1143
1172
|
:args)
|
1173
|
+
SENSITIVE = []
|
1144
1174
|
include Aws::Structure
|
1145
1175
|
end
|
1146
1176
|
|
@@ -1204,6 +1234,7 @@ module Aws::EMR
|
|
1204
1234
|
:maximum_capacity_units,
|
1205
1235
|
:maximum_on_demand_capacity_units,
|
1206
1236
|
:maximum_core_capacity_units)
|
1237
|
+
SENSITIVE = []
|
1207
1238
|
include Aws::Structure
|
1208
1239
|
end
|
1209
1240
|
|
@@ -1263,6 +1294,7 @@ module Aws::EMR
|
|
1263
1294
|
:classification,
|
1264
1295
|
:configurations,
|
1265
1296
|
:properties)
|
1297
|
+
SENSITIVE = []
|
1266
1298
|
include Aws::Structure
|
1267
1299
|
end
|
1268
1300
|
|
@@ -1293,6 +1325,7 @@ module Aws::EMR
|
|
1293
1325
|
class CreateSecurityConfigurationInput < Struct.new(
|
1294
1326
|
:name,
|
1295
1327
|
:security_configuration)
|
1328
|
+
SENSITIVE = []
|
1296
1329
|
include Aws::Structure
|
1297
1330
|
end
|
1298
1331
|
|
@@ -1309,6 +1342,7 @@ module Aws::EMR
|
|
1309
1342
|
class CreateSecurityConfigurationOutput < Struct.new(
|
1310
1343
|
:name,
|
1311
1344
|
:creation_date_time)
|
1345
|
+
SENSITIVE = []
|
1312
1346
|
include Aws::Structure
|
1313
1347
|
end
|
1314
1348
|
|
@@ -1327,6 +1361,7 @@ module Aws::EMR
|
|
1327
1361
|
#
|
1328
1362
|
class DeleteSecurityConfigurationInput < Struct.new(
|
1329
1363
|
:name)
|
1364
|
+
SENSITIVE = []
|
1330
1365
|
include Aws::Structure
|
1331
1366
|
end
|
1332
1367
|
|
@@ -1351,6 +1386,7 @@ module Aws::EMR
|
|
1351
1386
|
#
|
1352
1387
|
class DescribeClusterInput < Struct.new(
|
1353
1388
|
:cluster_id)
|
1389
|
+
SENSITIVE = []
|
1354
1390
|
include Aws::Structure
|
1355
1391
|
end
|
1356
1392
|
|
@@ -1364,6 +1400,7 @@ module Aws::EMR
|
|
1364
1400
|
#
|
1365
1401
|
class DescribeClusterOutput < Struct.new(
|
1366
1402
|
:cluster)
|
1403
|
+
SENSITIVE = []
|
1367
1404
|
include Aws::Structure
|
1368
1405
|
end
|
1369
1406
|
|
@@ -1402,6 +1439,7 @@ module Aws::EMR
|
|
1402
1439
|
:created_before,
|
1403
1440
|
:job_flow_ids,
|
1404
1441
|
:job_flow_states)
|
1442
|
+
SENSITIVE = []
|
1405
1443
|
include Aws::Structure
|
1406
1444
|
end
|
1407
1445
|
|
@@ -1415,6 +1453,38 @@ module Aws::EMR
|
|
1415
1453
|
#
|
1416
1454
|
class DescribeJobFlowsOutput < Struct.new(
|
1417
1455
|
:job_flows)
|
1456
|
+
SENSITIVE = []
|
1457
|
+
include Aws::Structure
|
1458
|
+
end
|
1459
|
+
|
1460
|
+
# @note When making an API call, you may pass DescribeNotebookExecutionInput
|
1461
|
+
# data as a hash:
|
1462
|
+
#
|
1463
|
+
# {
|
1464
|
+
# notebook_execution_id: "XmlStringMaxLen256", # required
|
1465
|
+
# }
|
1466
|
+
#
|
1467
|
+
# @!attribute [rw] notebook_execution_id
|
1468
|
+
# The unique identifier of the notebook execution.
|
1469
|
+
# @return [String]
|
1470
|
+
#
|
1471
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DescribeNotebookExecutionInput AWS API Documentation
|
1472
|
+
#
|
1473
|
+
class DescribeNotebookExecutionInput < Struct.new(
|
1474
|
+
:notebook_execution_id)
|
1475
|
+
SENSITIVE = []
|
1476
|
+
include Aws::Structure
|
1477
|
+
end
|
1478
|
+
|
1479
|
+
# @!attribute [rw] notebook_execution
|
1480
|
+
# Properties of the notebook execution.
|
1481
|
+
# @return [Types::NotebookExecution]
|
1482
|
+
#
|
1483
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DescribeNotebookExecutionOutput AWS API Documentation
|
1484
|
+
#
|
1485
|
+
class DescribeNotebookExecutionOutput < Struct.new(
|
1486
|
+
:notebook_execution)
|
1487
|
+
SENSITIVE = []
|
1418
1488
|
include Aws::Structure
|
1419
1489
|
end
|
1420
1490
|
|
@@ -1433,6 +1503,7 @@ module Aws::EMR
|
|
1433
1503
|
#
|
1434
1504
|
class DescribeSecurityConfigurationInput < Struct.new(
|
1435
1505
|
:name)
|
1506
|
+
SENSITIVE = []
|
1436
1507
|
include Aws::Structure
|
1437
1508
|
end
|
1438
1509
|
|
@@ -1454,6 +1525,7 @@ module Aws::EMR
|
|
1454
1525
|
:name,
|
1455
1526
|
:security_configuration,
|
1456
1527
|
:creation_date_time)
|
1528
|
+
SENSITIVE = []
|
1457
1529
|
include Aws::Structure
|
1458
1530
|
end
|
1459
1531
|
|
@@ -1480,6 +1552,7 @@ module Aws::EMR
|
|
1480
1552
|
class DescribeStepInput < Struct.new(
|
1481
1553
|
:cluster_id,
|
1482
1554
|
:step_id)
|
1555
|
+
SENSITIVE = []
|
1483
1556
|
include Aws::Structure
|
1484
1557
|
end
|
1485
1558
|
|
@@ -1493,6 +1566,7 @@ module Aws::EMR
|
|
1493
1566
|
#
|
1494
1567
|
class DescribeStepOutput < Struct.new(
|
1495
1568
|
:step)
|
1569
|
+
SENSITIVE = []
|
1496
1570
|
include Aws::Structure
|
1497
1571
|
end
|
1498
1572
|
|
@@ -1514,6 +1588,7 @@ module Aws::EMR
|
|
1514
1588
|
class EbsBlockDevice < Struct.new(
|
1515
1589
|
:volume_specification,
|
1516
1590
|
:device)
|
1591
|
+
SENSITIVE = []
|
1517
1592
|
include Aws::Structure
|
1518
1593
|
end
|
1519
1594
|
|
@@ -1549,6 +1624,7 @@ module Aws::EMR
|
|
1549
1624
|
class EbsBlockDeviceConfig < Struct.new(
|
1550
1625
|
:volume_specification,
|
1551
1626
|
:volumes_per_instance)
|
1627
|
+
SENSITIVE = []
|
1552
1628
|
include Aws::Structure
|
1553
1629
|
end
|
1554
1630
|
|
@@ -1585,6 +1661,7 @@ module Aws::EMR
|
|
1585
1661
|
class EbsConfiguration < Struct.new(
|
1586
1662
|
:ebs_block_device_configs,
|
1587
1663
|
:ebs_optimized)
|
1664
|
+
SENSITIVE = []
|
1588
1665
|
include Aws::Structure
|
1589
1666
|
end
|
1590
1667
|
|
@@ -1603,6 +1680,7 @@ module Aws::EMR
|
|
1603
1680
|
class EbsVolume < Struct.new(
|
1604
1681
|
:device,
|
1605
1682
|
:volume_id)
|
1683
|
+
SENSITIVE = []
|
1606
1684
|
include Aws::Structure
|
1607
1685
|
end
|
1608
1686
|
|
@@ -1696,6 +1774,50 @@ module Aws::EMR
|
|
1696
1774
|
:service_access_security_group,
|
1697
1775
|
:additional_master_security_groups,
|
1698
1776
|
:additional_slave_security_groups)
|
1777
|
+
SENSITIVE = []
|
1778
|
+
include Aws::Structure
|
1779
|
+
end
|
1780
|
+
|
1781
|
+
# Specifies the execution engine (cluster) to run the notebook and
|
1782
|
+
# perform the notebook execution, for example, an EMR cluster.
|
1783
|
+
#
|
1784
|
+
# @note When making an API call, you may pass ExecutionEngineConfig
|
1785
|
+
# data as a hash:
|
1786
|
+
#
|
1787
|
+
# {
|
1788
|
+
# id: "XmlStringMaxLen256", # required
|
1789
|
+
# type: "EMR", # accepts EMR
|
1790
|
+
# master_instance_security_group_id: "XmlStringMaxLen256",
|
1791
|
+
# }
|
1792
|
+
#
|
1793
|
+
# @!attribute [rw] id
|
1794
|
+
# The unique identifier of the execution engine. For an EMR cluster,
|
1795
|
+
# this is the cluster ID.
|
1796
|
+
# @return [String]
|
1797
|
+
#
|
1798
|
+
# @!attribute [rw] type
|
1799
|
+
# The type of execution engine. A value of `EMR` specifies an EMR
|
1800
|
+
# cluster.
|
1801
|
+
# @return [String]
|
1802
|
+
#
|
1803
|
+
# @!attribute [rw] master_instance_security_group_id
|
1804
|
+
# An optional unique ID of an EC2 security group to associate with the
|
1805
|
+
# master instance of the EMR cluster for this notebook execution. For
|
1806
|
+
# more information see [Specifying EC2 Security Groups for EMR
|
1807
|
+
# Notebooks][1] in the *EMR Management Guide*.
|
1808
|
+
#
|
1809
|
+
#
|
1810
|
+
#
|
1811
|
+
# [1]: https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-managed-notebooks-security-groups.html
|
1812
|
+
# @return [String]
|
1813
|
+
#
|
1814
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ExecutionEngineConfig AWS API Documentation
|
1815
|
+
#
|
1816
|
+
class ExecutionEngineConfig < Struct.new(
|
1817
|
+
:id,
|
1818
|
+
:type,
|
1819
|
+
:master_instance_security_group_id)
|
1820
|
+
SENSITIVE = []
|
1699
1821
|
include Aws::Structure
|
1700
1822
|
end
|
1701
1823
|
|
@@ -1725,6 +1847,7 @@ module Aws::EMR
|
|
1725
1847
|
:reason,
|
1726
1848
|
:message,
|
1727
1849
|
:log_file)
|
1850
|
+
SENSITIVE = []
|
1728
1851
|
include Aws::Structure
|
1729
1852
|
end
|
1730
1853
|
|
@@ -1771,6 +1894,7 @@ module Aws::EMR
|
|
1771
1894
|
class GetBlockPublicAccessConfigurationOutput < Struct.new(
|
1772
1895
|
:block_public_access_configuration,
|
1773
1896
|
:block_public_access_configuration_metadata)
|
1897
|
+
SENSITIVE = []
|
1774
1898
|
include Aws::Structure
|
1775
1899
|
end
|
1776
1900
|
|
@@ -1790,6 +1914,7 @@ module Aws::EMR
|
|
1790
1914
|
#
|
1791
1915
|
class GetManagedScalingPolicyInput < Struct.new(
|
1792
1916
|
:cluster_id)
|
1917
|
+
SENSITIVE = []
|
1793
1918
|
include Aws::Structure
|
1794
1919
|
end
|
1795
1920
|
|
@@ -1802,6 +1927,7 @@ module Aws::EMR
|
|
1802
1927
|
#
|
1803
1928
|
class GetManagedScalingPolicyOutput < Struct.new(
|
1804
1929
|
:managed_scaling_policy)
|
1930
|
+
SENSITIVE = []
|
1805
1931
|
include Aws::Structure
|
1806
1932
|
end
|
1807
1933
|
|
@@ -1851,6 +1977,7 @@ module Aws::EMR
|
|
1851
1977
|
:jar,
|
1852
1978
|
:main_class,
|
1853
1979
|
:args)
|
1980
|
+
SENSITIVE = []
|
1854
1981
|
include Aws::Structure
|
1855
1982
|
end
|
1856
1983
|
|
@@ -1885,6 +2012,7 @@ module Aws::EMR
|
|
1885
2012
|
:properties,
|
1886
2013
|
:main_class,
|
1887
2014
|
:args)
|
2015
|
+
SENSITIVE = []
|
1888
2016
|
include Aws::Structure
|
1889
2017
|
end
|
1890
2018
|
|
@@ -1955,6 +2083,7 @@ module Aws::EMR
|
|
1955
2083
|
:market,
|
1956
2084
|
:instance_type,
|
1957
2085
|
:ebs_volumes)
|
2086
|
+
SENSITIVE = []
|
1958
2087
|
include Aws::Structure
|
1959
2088
|
end
|
1960
2089
|
|
@@ -2074,6 +2203,7 @@ module Aws::EMR
|
|
2074
2203
|
:provisioned_spot_capacity,
|
2075
2204
|
:instance_type_specifications,
|
2076
2205
|
:launch_specifications)
|
2206
|
+
SENSITIVE = []
|
2077
2207
|
include Aws::Structure
|
2078
2208
|
end
|
2079
2209
|
|
@@ -2125,10 +2255,14 @@ module Aws::EMR
|
|
2125
2255
|
# },
|
2126
2256
|
# ],
|
2127
2257
|
# launch_specifications: {
|
2128
|
-
# spot_specification: {
|
2258
|
+
# spot_specification: {
|
2129
2259
|
# timeout_duration_minutes: 1, # required
|
2130
2260
|
# timeout_action: "SWITCH_TO_ON_DEMAND", # required, accepts SWITCH_TO_ON_DEMAND, TERMINATE_CLUSTER
|
2131
2261
|
# block_duration_minutes: 1,
|
2262
|
+
# allocation_strategy: "capacity-optimized", # accepts capacity-optimized
|
2263
|
+
# },
|
2264
|
+
# on_demand_specification: {
|
2265
|
+
# allocation_strategy: "lowest-price", # required, accepts lowest-price
|
2132
2266
|
# },
|
2133
2267
|
# },
|
2134
2268
|
# }
|
@@ -2208,6 +2342,7 @@ module Aws::EMR
|
|
2208
2342
|
:target_spot_capacity,
|
2209
2343
|
:instance_type_configs,
|
2210
2344
|
:launch_specifications)
|
2345
|
+
SENSITIVE = []
|
2211
2346
|
include Aws::Structure
|
2212
2347
|
end
|
2213
2348
|
|
@@ -2247,14 +2382,18 @@ module Aws::EMR
|
|
2247
2382
|
:instance_fleet_id,
|
2248
2383
|
:target_on_demand_capacity,
|
2249
2384
|
:target_spot_capacity)
|
2385
|
+
SENSITIVE = []
|
2250
2386
|
include Aws::Structure
|
2251
2387
|
end
|
2252
2388
|
|
2253
2389
|
# The launch specification for Spot instances in the fleet, which
|
2254
|
-
# determines the defined duration
|
2390
|
+
# determines the defined duration, provisioning timeout behavior, and
|
2391
|
+
# allocation strategy.
|
2255
2392
|
#
|
2256
2393
|
# <note markdown="1"> The instance fleet configuration is available only in Amazon EMR
|
2257
|
-
# versions 4.8.0 and later, excluding 5.0.x versions.
|
2394
|
+
# versions 4.8.0 and later, excluding 5.0.x versions. On-Demand and Spot
|
2395
|
+
# instance allocation strategies are available in Amazon EMR version
|
2396
|
+
# 5.12.1 and later.
|
2258
2397
|
#
|
2259
2398
|
# </note>
|
2260
2399
|
#
|
@@ -2262,22 +2401,41 @@ module Aws::EMR
|
|
2262
2401
|
# data as a hash:
|
2263
2402
|
#
|
2264
2403
|
# {
|
2265
|
-
# spot_specification: {
|
2404
|
+
# spot_specification: {
|
2266
2405
|
# timeout_duration_minutes: 1, # required
|
2267
2406
|
# timeout_action: "SWITCH_TO_ON_DEMAND", # required, accepts SWITCH_TO_ON_DEMAND, TERMINATE_CLUSTER
|
2268
2407
|
# block_duration_minutes: 1,
|
2408
|
+
# allocation_strategy: "capacity-optimized", # accepts capacity-optimized
|
2409
|
+
# },
|
2410
|
+
# on_demand_specification: {
|
2411
|
+
# allocation_strategy: "lowest-price", # required, accepts lowest-price
|
2269
2412
|
# },
|
2270
2413
|
# }
|
2271
2414
|
#
|
2272
2415
|
# @!attribute [rw] spot_specification
|
2273
2416
|
# The launch specification for Spot instances in the fleet, which
|
2274
|
-
# determines the defined duration
|
2417
|
+
# determines the defined duration, provisioning timeout behavior, and
|
2418
|
+
# allocation strategy.
|
2275
2419
|
# @return [Types::SpotProvisioningSpecification]
|
2276
2420
|
#
|
2421
|
+
# @!attribute [rw] on_demand_specification
|
2422
|
+
# The launch specification for On-Demand instances in the instance
|
2423
|
+
# fleet, which determines the allocation strategy.
|
2424
|
+
#
|
2425
|
+
# <note markdown="1"> The instance fleet configuration is available only in Amazon EMR
|
2426
|
+
# versions 4.8.0 and later, excluding 5.0.x versions. On-Demand
|
2427
|
+
# instances allocation strategy is available in Amazon EMR version
|
2428
|
+
# 5.12.1 and later.
|
2429
|
+
#
|
2430
|
+
# </note>
|
2431
|
+
# @return [Types::OnDemandProvisioningSpecification]
|
2432
|
+
#
|
2277
2433
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/InstanceFleetProvisioningSpecifications AWS API Documentation
|
2278
2434
|
#
|
2279
2435
|
class InstanceFleetProvisioningSpecifications < Struct.new(
|
2280
|
-
:spot_specification
|
2436
|
+
:spot_specification,
|
2437
|
+
:on_demand_specification)
|
2438
|
+
SENSITIVE = []
|
2281
2439
|
include Aws::Structure
|
2282
2440
|
end
|
2283
2441
|
|
@@ -2301,6 +2459,7 @@ module Aws::EMR
|
|
2301
2459
|
class InstanceFleetStateChangeReason < Struct.new(
|
2302
2460
|
:code,
|
2303
2461
|
:message)
|
2462
|
+
SENSITIVE = []
|
2304
2463
|
include Aws::Structure
|
2305
2464
|
end
|
2306
2465
|
|
@@ -2352,6 +2511,7 @@ module Aws::EMR
|
|
2352
2511
|
:state,
|
2353
2512
|
:state_change_reason,
|
2354
2513
|
:timeline)
|
2514
|
+
SENSITIVE = []
|
2355
2515
|
include Aws::Structure
|
2356
2516
|
end
|
2357
2517
|
|
@@ -2382,6 +2542,7 @@ module Aws::EMR
|
|
2382
2542
|
:creation_date_time,
|
2383
2543
|
:ready_date_time,
|
2384
2544
|
:end_date_time)
|
2545
|
+
SENSITIVE = []
|
2385
2546
|
include Aws::Structure
|
2386
2547
|
end
|
2387
2548
|
|
@@ -2497,6 +2658,7 @@ module Aws::EMR
|
|
2497
2658
|
:ebs_optimized,
|
2498
2659
|
:shrink_policy,
|
2499
2660
|
:auto_scaling_policy)
|
2661
|
+
SENSITIVE = []
|
2500
2662
|
include Aws::Structure
|
2501
2663
|
end
|
2502
2664
|
|
@@ -2638,6 +2800,7 @@ module Aws::EMR
|
|
2638
2800
|
:configurations,
|
2639
2801
|
:ebs_configuration,
|
2640
2802
|
:auto_scaling_policy)
|
2803
|
+
SENSITIVE = []
|
2641
2804
|
include Aws::Structure
|
2642
2805
|
end
|
2643
2806
|
|
@@ -2720,6 +2883,7 @@ module Aws::EMR
|
|
2720
2883
|
:start_date_time,
|
2721
2884
|
:ready_date_time,
|
2722
2885
|
:end_date_time)
|
2886
|
+
SENSITIVE = []
|
2723
2887
|
include Aws::Structure
|
2724
2888
|
end
|
2725
2889
|
|
@@ -2783,6 +2947,7 @@ module Aws::EMR
|
|
2783
2947
|
:ec2_instance_ids_to_terminate,
|
2784
2948
|
:shrink_policy,
|
2785
2949
|
:configurations)
|
2950
|
+
SENSITIVE = []
|
2786
2951
|
include Aws::Structure
|
2787
2952
|
end
|
2788
2953
|
|
@@ -2801,6 +2966,7 @@ module Aws::EMR
|
|
2801
2966
|
class InstanceGroupStateChangeReason < Struct.new(
|
2802
2967
|
:code,
|
2803
2968
|
:message)
|
2969
|
+
SENSITIVE = []
|
2804
2970
|
include Aws::Structure
|
2805
2971
|
end
|
2806
2972
|
|
@@ -2824,6 +2990,7 @@ module Aws::EMR
|
|
2824
2990
|
:state,
|
2825
2991
|
:state_change_reason,
|
2826
2992
|
:timeline)
|
2993
|
+
SENSITIVE = []
|
2827
2994
|
include Aws::Structure
|
2828
2995
|
end
|
2829
2996
|
|
@@ -2848,6 +3015,7 @@ module Aws::EMR
|
|
2848
3015
|
:creation_date_time,
|
2849
3016
|
:ready_date_time,
|
2850
3017
|
:end_date_time)
|
3018
|
+
SENSITIVE = []
|
2851
3019
|
include Aws::Structure
|
2852
3020
|
end
|
2853
3021
|
|
@@ -2884,6 +3052,7 @@ module Aws::EMR
|
|
2884
3052
|
:instances_to_terminate,
|
2885
3053
|
:instances_to_protect,
|
2886
3054
|
:instance_termination_timeout)
|
3055
|
+
SENSITIVE = []
|
2887
3056
|
include Aws::Structure
|
2888
3057
|
end
|
2889
3058
|
|
@@ -2902,6 +3071,7 @@ module Aws::EMR
|
|
2902
3071
|
class InstanceStateChangeReason < Struct.new(
|
2903
3072
|
:code,
|
2904
3073
|
:message)
|
3074
|
+
SENSITIVE = []
|
2905
3075
|
include Aws::Structure
|
2906
3076
|
end
|
2907
3077
|
|
@@ -2925,6 +3095,7 @@ module Aws::EMR
|
|
2925
3095
|
:state,
|
2926
3096
|
:state_change_reason,
|
2927
3097
|
:timeline)
|
3098
|
+
SENSITIVE = []
|
2928
3099
|
include Aws::Structure
|
2929
3100
|
end
|
2930
3101
|
|
@@ -2948,6 +3119,7 @@ module Aws::EMR
|
|
2948
3119
|
:creation_date_time,
|
2949
3120
|
:ready_date_time,
|
2950
3121
|
:end_date_time)
|
3122
|
+
SENSITIVE = []
|
2951
3123
|
include Aws::Structure
|
2952
3124
|
end
|
2953
3125
|
|
@@ -3042,6 +3214,7 @@ module Aws::EMR
|
|
3042
3214
|
:bid_price_as_percentage_of_on_demand_price,
|
3043
3215
|
:ebs_configuration,
|
3044
3216
|
:configurations)
|
3217
|
+
SENSITIVE = []
|
3045
3218
|
include Aws::Structure
|
3046
3219
|
end
|
3047
3220
|
|
@@ -3102,6 +3275,7 @@ module Aws::EMR
|
|
3102
3275
|
:configurations,
|
3103
3276
|
:ebs_block_devices,
|
3104
3277
|
:ebs_optimized)
|
3278
|
+
SENSITIVE = []
|
3105
3279
|
include Aws::Structure
|
3106
3280
|
end
|
3107
3281
|
|
@@ -3123,6 +3297,7 @@ module Aws::EMR
|
|
3123
3297
|
#
|
3124
3298
|
class InternalServerException < Struct.new(
|
3125
3299
|
:message)
|
3300
|
+
SENSITIVE = []
|
3126
3301
|
include Aws::Structure
|
3127
3302
|
end
|
3128
3303
|
|
@@ -3141,6 +3316,7 @@ module Aws::EMR
|
|
3141
3316
|
class InvalidRequestException < Struct.new(
|
3142
3317
|
:error_code,
|
3143
3318
|
:message)
|
3319
|
+
SENSITIVE = []
|
3144
3320
|
include Aws::Structure
|
3145
3321
|
end
|
3146
3322
|
|
@@ -3256,6 +3432,7 @@ module Aws::EMR
|
|
3256
3432
|
:service_role,
|
3257
3433
|
:auto_scaling_role,
|
3258
3434
|
:scale_down_behavior)
|
3435
|
+
SENSITIVE = []
|
3259
3436
|
include Aws::Structure
|
3260
3437
|
end
|
3261
3438
|
|
@@ -3295,6 +3472,7 @@ module Aws::EMR
|
|
3295
3472
|
:ready_date_time,
|
3296
3473
|
:end_date_time,
|
3297
3474
|
:last_state_change_reason)
|
3475
|
+
SENSITIVE = []
|
3298
3476
|
include Aws::Structure
|
3299
3477
|
end
|
3300
3478
|
|
@@ -3423,10 +3601,14 @@ module Aws::EMR
|
|
3423
3601
|
# },
|
3424
3602
|
# ],
|
3425
3603
|
# launch_specifications: {
|
3426
|
-
# spot_specification: {
|
3604
|
+
# spot_specification: {
|
3427
3605
|
# timeout_duration_minutes: 1, # required
|
3428
3606
|
# timeout_action: "SWITCH_TO_ON_DEMAND", # required, accepts SWITCH_TO_ON_DEMAND, TERMINATE_CLUSTER
|
3429
3607
|
# block_duration_minutes: 1,
|
3608
|
+
# allocation_strategy: "capacity-optimized", # accepts capacity-optimized
|
3609
|
+
# },
|
3610
|
+
# on_demand_specification: {
|
3611
|
+
# allocation_strategy: "lowest-price", # required, accepts lowest-price
|
3430
3612
|
# },
|
3431
3613
|
# },
|
3432
3614
|
# },
|
@@ -3568,6 +3750,7 @@ module Aws::EMR
|
|
3568
3750
|
:service_access_security_group,
|
3569
3751
|
:additional_master_security_groups,
|
3570
3752
|
:additional_slave_security_groups)
|
3753
|
+
SENSITIVE = []
|
3571
3754
|
include Aws::Structure
|
3572
3755
|
end
|
3573
3756
|
|
@@ -3658,6 +3841,7 @@ module Aws::EMR
|
|
3658
3841
|
:keep_job_flow_alive_when_no_steps,
|
3659
3842
|
:termination_protected,
|
3660
3843
|
:hadoop_version)
|
3844
|
+
SENSITIVE = []
|
3661
3845
|
include Aws::Structure
|
3662
3846
|
end
|
3663
3847
|
|
@@ -3715,6 +3899,7 @@ module Aws::EMR
|
|
3715
3899
|
:cross_realm_trust_principal_password,
|
3716
3900
|
:ad_domain_join_user,
|
3717
3901
|
:ad_domain_join_password)
|
3902
|
+
SENSITIVE = []
|
3718
3903
|
include Aws::Structure
|
3719
3904
|
end
|
3720
3905
|
|
@@ -3741,6 +3926,7 @@ module Aws::EMR
|
|
3741
3926
|
class KeyValue < Struct.new(
|
3742
3927
|
:key,
|
3743
3928
|
:value)
|
3929
|
+
SENSITIVE = []
|
3744
3930
|
include Aws::Structure
|
3745
3931
|
end
|
3746
3932
|
|
@@ -3768,6 +3954,7 @@ module Aws::EMR
|
|
3768
3954
|
class ListBootstrapActionsInput < Struct.new(
|
3769
3955
|
:cluster_id,
|
3770
3956
|
:marker)
|
3957
|
+
SENSITIVE = []
|
3771
3958
|
include Aws::Structure
|
3772
3959
|
end
|
3773
3960
|
|
@@ -3787,6 +3974,7 @@ module Aws::EMR
|
|
3787
3974
|
class ListBootstrapActionsOutput < Struct.new(
|
3788
3975
|
:bootstrap_actions,
|
3789
3976
|
:marker)
|
3977
|
+
SENSITIVE = []
|
3790
3978
|
include Aws::Structure
|
3791
3979
|
end
|
3792
3980
|
|
@@ -3828,6 +4016,7 @@ module Aws::EMR
|
|
3828
4016
|
:created_before,
|
3829
4017
|
:cluster_states,
|
3830
4018
|
:marker)
|
4019
|
+
SENSITIVE = []
|
3831
4020
|
include Aws::Structure
|
3832
4021
|
end
|
3833
4022
|
|
@@ -3848,6 +4037,7 @@ module Aws::EMR
|
|
3848
4037
|
class ListClustersOutput < Struct.new(
|
3849
4038
|
:clusters,
|
3850
4039
|
:marker)
|
4040
|
+
SENSITIVE = []
|
3851
4041
|
include Aws::Structure
|
3852
4042
|
end
|
3853
4043
|
|
@@ -3873,6 +4063,7 @@ module Aws::EMR
|
|
3873
4063
|
class ListInstanceFleetsInput < Struct.new(
|
3874
4064
|
:cluster_id,
|
3875
4065
|
:marker)
|
4066
|
+
SENSITIVE = []
|
3876
4067
|
include Aws::Structure
|
3877
4068
|
end
|
3878
4069
|
|
@@ -3890,6 +4081,7 @@ module Aws::EMR
|
|
3890
4081
|
class ListInstanceFleetsOutput < Struct.new(
|
3891
4082
|
:instance_fleets,
|
3892
4083
|
:marker)
|
4084
|
+
SENSITIVE = []
|
3893
4085
|
include Aws::Structure
|
3894
4086
|
end
|
3895
4087
|
|
@@ -3917,6 +4109,7 @@ module Aws::EMR
|
|
3917
4109
|
class ListInstanceGroupsInput < Struct.new(
|
3918
4110
|
:cluster_id,
|
3919
4111
|
:marker)
|
4112
|
+
SENSITIVE = []
|
3920
4113
|
include Aws::Structure
|
3921
4114
|
end
|
3922
4115
|
|
@@ -3936,6 +4129,7 @@ module Aws::EMR
|
|
3936
4129
|
class ListInstanceGroupsOutput < Struct.new(
|
3937
4130
|
:instance_groups,
|
3938
4131
|
:marker)
|
4132
|
+
SENSITIVE = []
|
3939
4133
|
include Aws::Structure
|
3940
4134
|
end
|
3941
4135
|
|
@@ -3996,6 +4190,7 @@ module Aws::EMR
|
|
3996
4190
|
:instance_fleet_type,
|
3997
4191
|
:instance_states,
|
3998
4192
|
:marker)
|
4193
|
+
SENSITIVE = []
|
3999
4194
|
include Aws::Structure
|
4000
4195
|
end
|
4001
4196
|
|
@@ -4015,6 +4210,102 @@ module Aws::EMR
|
|
4015
4210
|
class ListInstancesOutput < Struct.new(
|
4016
4211
|
:instances,
|
4017
4212
|
:marker)
|
4213
|
+
SENSITIVE = []
|
4214
|
+
include Aws::Structure
|
4215
|
+
end
|
4216
|
+
|
4217
|
+
# @note When making an API call, you may pass ListNotebookExecutionsInput
|
4218
|
+
# data as a hash:
|
4219
|
+
#
|
4220
|
+
# {
|
4221
|
+
# editor_id: "XmlStringMaxLen256",
|
4222
|
+
# status: "START_PENDING", # accepts START_PENDING, STARTING, RUNNING, FINISHING, FINISHED, FAILING, FAILED, STOP_PENDING, STOPPING, STOPPED
|
4223
|
+
# from: Time.now,
|
4224
|
+
# to: Time.now,
|
4225
|
+
# marker: "Marker",
|
4226
|
+
# }
|
4227
|
+
#
|
4228
|
+
# @!attribute [rw] editor_id
|
4229
|
+
# The unique ID of the editor associated with the notebook execution.
|
4230
|
+
# @return [String]
|
4231
|
+
#
|
4232
|
+
# @!attribute [rw] status
|
4233
|
+
# The status filter for listing notebook executions.
|
4234
|
+
#
|
4235
|
+
# * `START_PENDING` indicates that the cluster has received the
|
4236
|
+
# execution request but execution has not begun.
|
4237
|
+
#
|
4238
|
+
# * `STARTING` indicates that the execution is starting on the
|
4239
|
+
# cluster.
|
4240
|
+
#
|
4241
|
+
# * `RUNNING` indicates that the execution is being processed by the
|
4242
|
+
# cluster.
|
4243
|
+
#
|
4244
|
+
# * `FINISHING` indicates that execution processing is in the final
|
4245
|
+
# stages.
|
4246
|
+
#
|
4247
|
+
# * `FINISHED` indicates that the execution has completed without
|
4248
|
+
# error.
|
4249
|
+
#
|
4250
|
+
# * `FAILING` indicates that the execution is failing and will not
|
4251
|
+
# finish successfully.
|
4252
|
+
#
|
4253
|
+
# * `FAILED` indicates that the execution failed.
|
4254
|
+
#
|
4255
|
+
# * `STOP_PENDING` indicates that the cluster has received a
|
4256
|
+
# `StopNotebookExecution` request and the stop is pending.
|
4257
|
+
#
|
4258
|
+
# * `STOPPING` indicates that the cluster is in the process of
|
4259
|
+
# stopping the execution as a result of a `StopNotebookExecution`
|
4260
|
+
# request.
|
4261
|
+
#
|
4262
|
+
# * `STOPPED` indicates that the execution stopped because of a
|
4263
|
+
# `StopNotebookExecution` request.
|
4264
|
+
# @return [String]
|
4265
|
+
#
|
4266
|
+
# @!attribute [rw] from
|
4267
|
+
# The beginning of time range filter for listing notebook executions.
|
4268
|
+
# The default is the timestamp of 30 days ago.
|
4269
|
+
# @return [Time]
|
4270
|
+
#
|
4271
|
+
# @!attribute [rw] to
|
4272
|
+
# The end of time range filter for listing notebook executions. The
|
4273
|
+
# default is the current timestamp.
|
4274
|
+
# @return [Time]
|
4275
|
+
#
|
4276
|
+
# @!attribute [rw] marker
|
4277
|
+
# The pagination token, returned by a previous
|
4278
|
+
# `ListNotebookExecutions` call, that indicates the start of the list
|
4279
|
+
# for this `ListNotebookExecutions` call.
|
4280
|
+
# @return [String]
|
4281
|
+
#
|
4282
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListNotebookExecutionsInput AWS API Documentation
|
4283
|
+
#
|
4284
|
+
class ListNotebookExecutionsInput < Struct.new(
|
4285
|
+
:editor_id,
|
4286
|
+
:status,
|
4287
|
+
:from,
|
4288
|
+
:to,
|
4289
|
+
:marker)
|
4290
|
+
SENSITIVE = []
|
4291
|
+
include Aws::Structure
|
4292
|
+
end
|
4293
|
+
|
4294
|
+
# @!attribute [rw] notebook_executions
|
4295
|
+
# A list of notebook executions.
|
4296
|
+
# @return [Array<Types::NotebookExecutionSummary>]
|
4297
|
+
#
|
4298
|
+
# @!attribute [rw] marker
|
4299
|
+
# A pagination token that a subsequent `ListNotebookExecutions` can
|
4300
|
+
# use to determine the next set of results to retrieve.
|
4301
|
+
# @return [String]
|
4302
|
+
#
|
4303
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListNotebookExecutionsOutput AWS API Documentation
|
4304
|
+
#
|
4305
|
+
class ListNotebookExecutionsOutput < Struct.new(
|
4306
|
+
:notebook_executions,
|
4307
|
+
:marker)
|
4308
|
+
SENSITIVE = []
|
4018
4309
|
include Aws::Structure
|
4019
4310
|
end
|
4020
4311
|
|
@@ -4033,6 +4324,7 @@ module Aws::EMR
|
|
4033
4324
|
#
|
4034
4325
|
class ListSecurityConfigurationsInput < Struct.new(
|
4035
4326
|
:marker)
|
4327
|
+
SENSITIVE = []
|
4036
4328
|
include Aws::Structure
|
4037
4329
|
end
|
4038
4330
|
|
@@ -4052,6 +4344,7 @@ module Aws::EMR
|
|
4052
4344
|
class ListSecurityConfigurationsOutput < Struct.new(
|
4053
4345
|
:security_configurations,
|
4054
4346
|
:marker)
|
4347
|
+
SENSITIVE = []
|
4055
4348
|
include Aws::Structure
|
4056
4349
|
end
|
4057
4350
|
|
@@ -4093,6 +4386,7 @@ module Aws::EMR
|
|
4093
4386
|
:step_states,
|
4094
4387
|
:step_ids,
|
4095
4388
|
:marker)
|
4389
|
+
SENSITIVE = []
|
4096
4390
|
include Aws::Structure
|
4097
4391
|
end
|
4098
4392
|
|
@@ -4113,6 +4407,7 @@ module Aws::EMR
|
|
4113
4407
|
class ListStepsOutput < Struct.new(
|
4114
4408
|
:steps,
|
4115
4409
|
:marker)
|
4410
|
+
SENSITIVE = []
|
4116
4411
|
include Aws::Structure
|
4117
4412
|
end
|
4118
4413
|
|
@@ -4145,6 +4440,7 @@ module Aws::EMR
|
|
4145
4440
|
#
|
4146
4441
|
class ManagedScalingPolicy < Struct.new(
|
4147
4442
|
:compute_limits)
|
4443
|
+
SENSITIVE = []
|
4148
4444
|
include Aws::Structure
|
4149
4445
|
end
|
4150
4446
|
|
@@ -4175,6 +4471,7 @@ module Aws::EMR
|
|
4175
4471
|
class MetricDimension < Struct.new(
|
4176
4472
|
:key,
|
4177
4473
|
:value)
|
4474
|
+
SENSITIVE = []
|
4178
4475
|
include Aws::Structure
|
4179
4476
|
end
|
4180
4477
|
|
@@ -4200,6 +4497,7 @@ module Aws::EMR
|
|
4200
4497
|
class ModifyClusterInput < Struct.new(
|
4201
4498
|
:cluster_id,
|
4202
4499
|
:step_concurrency_level)
|
4500
|
+
SENSITIVE = []
|
4203
4501
|
include Aws::Structure
|
4204
4502
|
end
|
4205
4503
|
|
@@ -4211,6 +4509,7 @@ module Aws::EMR
|
|
4211
4509
|
#
|
4212
4510
|
class ModifyClusterOutput < Struct.new(
|
4213
4511
|
:step_concurrency_level)
|
4512
|
+
SENSITIVE = []
|
4214
4513
|
include Aws::Structure
|
4215
4514
|
end
|
4216
4515
|
|
@@ -4239,6 +4538,7 @@ module Aws::EMR
|
|
4239
4538
|
class ModifyInstanceFleetInput < Struct.new(
|
4240
4539
|
:cluster_id,
|
4241
4540
|
:instance_fleet)
|
4541
|
+
SENSITIVE = []
|
4242
4542
|
include Aws::Structure
|
4243
4543
|
end
|
4244
4544
|
|
@@ -4290,6 +4590,223 @@ module Aws::EMR
|
|
4290
4590
|
class ModifyInstanceGroupsInput < Struct.new(
|
4291
4591
|
:cluster_id,
|
4292
4592
|
:instance_groups)
|
4593
|
+
SENSITIVE = []
|
4594
|
+
include Aws::Structure
|
4595
|
+
end
|
4596
|
+
|
4597
|
+
# A notebook execution. An execution is a specific instance that an EMR
|
4598
|
+
# Notebook is run using the `StartNotebookExecution` action.
|
4599
|
+
#
|
4600
|
+
# @!attribute [rw] notebook_execution_id
|
4601
|
+
# The unique identifier of a notebook execution.
|
4602
|
+
# @return [String]
|
4603
|
+
#
|
4604
|
+
# @!attribute [rw] editor_id
|
4605
|
+
# The unique identifier of the EMR Notebook that is used for the
|
4606
|
+
# notebook execution.
|
4607
|
+
# @return [String]
|
4608
|
+
#
|
4609
|
+
# @!attribute [rw] execution_engine
|
4610
|
+
# The execution engine, such as an EMR cluster, used to run the EMR
|
4611
|
+
# notebook and perform the notebook execution.
|
4612
|
+
# @return [Types::ExecutionEngineConfig]
|
4613
|
+
#
|
4614
|
+
# @!attribute [rw] notebook_execution_name
|
4615
|
+
# A name for the notebook execution.
|
4616
|
+
# @return [String]
|
4617
|
+
#
|
4618
|
+
# @!attribute [rw] notebook_params
|
4619
|
+
# Input parameters in JSON format passed to the EMR Notebook at
|
4620
|
+
# runtime for execution.
|
4621
|
+
# @return [String]
|
4622
|
+
#
|
4623
|
+
# @!attribute [rw] status
|
4624
|
+
# The status of the notebook execution.
|
4625
|
+
#
|
4626
|
+
# * `START_PENDING` indicates that the cluster has received the
|
4627
|
+
# execution request but execution has not begun.
|
4628
|
+
#
|
4629
|
+
# * `STARTING` indicates that the execution is starting on the
|
4630
|
+
# cluster.
|
4631
|
+
#
|
4632
|
+
# * `RUNNING` indicates that the execution is being processed by the
|
4633
|
+
# cluster.
|
4634
|
+
#
|
4635
|
+
# * `FINISHING` indicates that execution processing is in the final
|
4636
|
+
# stages.
|
4637
|
+
#
|
4638
|
+
# * `FINISHED` indicates that the execution has completed without
|
4639
|
+
# error.
|
4640
|
+
#
|
4641
|
+
# * `FAILING` indicates that the execution is failing and will not
|
4642
|
+
# finish successfully.
|
4643
|
+
#
|
4644
|
+
# * `FAILED` indicates that the execution failed.
|
4645
|
+
#
|
4646
|
+
# * `STOP_PENDING` indicates that the cluster has received a
|
4647
|
+
# `StopNotebookExecution` request and the stop is pending.
|
4648
|
+
#
|
4649
|
+
# * `STOPPING` indicates that the cluster is in the process of
|
4650
|
+
# stopping the execution as a result of a `StopNotebookExecution`
|
4651
|
+
# request.
|
4652
|
+
#
|
4653
|
+
# * `STOPPED` indicates that the execution stopped because of a
|
4654
|
+
# `StopNotebookExecution` request.
|
4655
|
+
# @return [String]
|
4656
|
+
#
|
4657
|
+
# @!attribute [rw] start_time
|
4658
|
+
# The timestamp when notebook execution started.
|
4659
|
+
# @return [Time]
|
4660
|
+
#
|
4661
|
+
# @!attribute [rw] end_time
|
4662
|
+
# The timestamp when notebook execution ended.
|
4663
|
+
# @return [Time]
|
4664
|
+
#
|
4665
|
+
# @!attribute [rw] arn
|
4666
|
+
# The Amazon Resource Name (ARN) of the notebook execution.
|
4667
|
+
# @return [String]
|
4668
|
+
#
|
4669
|
+
# @!attribute [rw] output_notebook_uri
|
4670
|
+
# The location of the notebook execution's output file in Amazon S3.
|
4671
|
+
# @return [String]
|
4672
|
+
#
|
4673
|
+
# @!attribute [rw] last_state_change_reason
|
4674
|
+
# The reason for the latest status change of the notebook execution.
|
4675
|
+
# @return [String]
|
4676
|
+
#
|
4677
|
+
# @!attribute [rw] notebook_instance_security_group_id
|
4678
|
+
# The unique identifier of the EC2 security group associated with the
|
4679
|
+
# EMR Notebook instance. For more information see [Specifying EC2
|
4680
|
+
# Security Groups for EMR Notebooks][1] in the *EMR Management Guide*.
|
4681
|
+
#
|
4682
|
+
#
|
4683
|
+
#
|
4684
|
+
# [1]: https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-managed-notebooks-security-groups.html
|
4685
|
+
# @return [String]
|
4686
|
+
#
|
4687
|
+
# @!attribute [rw] tags
|
4688
|
+
# A list of tags associated with a notebook execution. Tags are
|
4689
|
+
# user-defined key value pairs that consist of a required key string
|
4690
|
+
# with a maximum of 128 characters and an optional value string with a
|
4691
|
+
# maximum of 256 characters.
|
4692
|
+
# @return [Array<Types::Tag>]
|
4693
|
+
#
|
4694
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/NotebookExecution AWS API Documentation
|
4695
|
+
#
|
4696
|
+
class NotebookExecution < Struct.new(
|
4697
|
+
:notebook_execution_id,
|
4698
|
+
:editor_id,
|
4699
|
+
:execution_engine,
|
4700
|
+
:notebook_execution_name,
|
4701
|
+
:notebook_params,
|
4702
|
+
:status,
|
4703
|
+
:start_time,
|
4704
|
+
:end_time,
|
4705
|
+
:arn,
|
4706
|
+
:output_notebook_uri,
|
4707
|
+
:last_state_change_reason,
|
4708
|
+
:notebook_instance_security_group_id,
|
4709
|
+
:tags)
|
4710
|
+
SENSITIVE = []
|
4711
|
+
include Aws::Structure
|
4712
|
+
end
|
4713
|
+
|
4714
|
+
# @!attribute [rw] notebook_execution_id
|
4715
|
+
# The unique identifier of the notebook execution.
|
4716
|
+
# @return [String]
|
4717
|
+
#
|
4718
|
+
# @!attribute [rw] editor_id
|
4719
|
+
# The unique identifier of the editor associated with the notebook
|
4720
|
+
# execution.
|
4721
|
+
# @return [String]
|
4722
|
+
#
|
4723
|
+
# @!attribute [rw] notebook_execution_name
|
4724
|
+
# The name of the notebook execution.
|
4725
|
+
# @return [String]
|
4726
|
+
#
|
4727
|
+
# @!attribute [rw] status
|
4728
|
+
# The status of the notebook execution.
|
4729
|
+
#
|
4730
|
+
# * `START_PENDING` indicates that the cluster has received the
|
4731
|
+
# execution request but execution has not begun.
|
4732
|
+
#
|
4733
|
+
# * `STARTING` indicates that the execution is starting on the
|
4734
|
+
# cluster.
|
4735
|
+
#
|
4736
|
+
# * `RUNNING` indicates that the execution is being processed by the
|
4737
|
+
# cluster.
|
4738
|
+
#
|
4739
|
+
# * `FINISHING` indicates that execution processing is in the final
|
4740
|
+
# stages.
|
4741
|
+
#
|
4742
|
+
# * `FINISHED` indicates that the execution has completed without
|
4743
|
+
# error.
|
4744
|
+
#
|
4745
|
+
# * `FAILING` indicates that the execution is failing and will not
|
4746
|
+
# finish successfully.
|
4747
|
+
#
|
4748
|
+
# * `FAILED` indicates that the execution failed.
|
4749
|
+
#
|
4750
|
+
# * `STOP_PENDING` indicates that the cluster has received a
|
4751
|
+
# `StopNotebookExecution` request and the stop is pending.
|
4752
|
+
#
|
4753
|
+
# * `STOPPING` indicates that the cluster is in the process of
|
4754
|
+
# stopping the execution as a result of a `StopNotebookExecution`
|
4755
|
+
# request.
|
4756
|
+
#
|
4757
|
+
# * `STOPPED` indicates that the execution stopped because of a
|
4758
|
+
# `StopNotebookExecution` request.
|
4759
|
+
# @return [String]
|
4760
|
+
#
|
4761
|
+
# @!attribute [rw] start_time
|
4762
|
+
# The timestamp when notebook execution started.
|
4763
|
+
# @return [Time]
|
4764
|
+
#
|
4765
|
+
# @!attribute [rw] end_time
|
4766
|
+
# The timestamp when notebook execution started.
|
4767
|
+
# @return [Time]
|
4768
|
+
#
|
4769
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/NotebookExecutionSummary AWS API Documentation
|
4770
|
+
#
|
4771
|
+
class NotebookExecutionSummary < Struct.new(
|
4772
|
+
:notebook_execution_id,
|
4773
|
+
:editor_id,
|
4774
|
+
:notebook_execution_name,
|
4775
|
+
:status,
|
4776
|
+
:start_time,
|
4777
|
+
:end_time)
|
4778
|
+
SENSITIVE = []
|
4779
|
+
include Aws::Structure
|
4780
|
+
end
|
4781
|
+
|
4782
|
+
# The launch specification for On-Demand instances in the instance
|
4783
|
+
# fleet, which determines the allocation strategy.
|
4784
|
+
#
|
4785
|
+
# <note markdown="1"> The instance fleet configuration is available only in Amazon EMR
|
4786
|
+
# versions 4.8.0 and later, excluding 5.0.x versions. On-Demand
|
4787
|
+
# instances allocation strategy is available in Amazon EMR version
|
4788
|
+
# 5.12.1 and later.
|
4789
|
+
#
|
4790
|
+
# </note>
|
4791
|
+
#
|
4792
|
+
# @note When making an API call, you may pass OnDemandProvisioningSpecification
|
4793
|
+
# data as a hash:
|
4794
|
+
#
|
4795
|
+
# {
|
4796
|
+
# allocation_strategy: "lowest-price", # required, accepts lowest-price
|
4797
|
+
# }
|
4798
|
+
#
|
4799
|
+
# @!attribute [rw] allocation_strategy
|
4800
|
+
# Specifies the strategy to use in launching On-Demand instance
|
4801
|
+
# fleets. Currently, the only option is lowest-price (the default),
|
4802
|
+
# which launches the lowest price first.
|
4803
|
+
# @return [String]
|
4804
|
+
#
|
4805
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/OnDemandProvisioningSpecification AWS API Documentation
|
4806
|
+
#
|
4807
|
+
class OnDemandProvisioningSpecification < Struct.new(
|
4808
|
+
:allocation_strategy)
|
4809
|
+
SENSITIVE = []
|
4293
4810
|
include Aws::Structure
|
4294
4811
|
end
|
4295
4812
|
|
@@ -4327,6 +4844,7 @@ module Aws::EMR
|
|
4327
4844
|
class PlacementType < Struct.new(
|
4328
4845
|
:availability_zone,
|
4329
4846
|
:availability_zones)
|
4847
|
+
SENSITIVE = []
|
4330
4848
|
include Aws::Structure
|
4331
4849
|
end
|
4332
4850
|
|
@@ -4355,6 +4873,7 @@ module Aws::EMR
|
|
4355
4873
|
class PortRange < Struct.new(
|
4356
4874
|
:min_range,
|
4357
4875
|
:max_range)
|
4876
|
+
SENSITIVE = []
|
4358
4877
|
include Aws::Structure
|
4359
4878
|
end
|
4360
4879
|
|
@@ -4424,6 +4943,7 @@ module Aws::EMR
|
|
4424
4943
|
:cluster_id,
|
4425
4944
|
:instance_group_id,
|
4426
4945
|
:auto_scaling_policy)
|
4946
|
+
SENSITIVE = []
|
4427
4947
|
include Aws::Structure
|
4428
4948
|
end
|
4429
4949
|
|
@@ -4452,6 +4972,7 @@ module Aws::EMR
|
|
4452
4972
|
:instance_group_id,
|
4453
4973
|
:auto_scaling_policy,
|
4454
4974
|
:cluster_arn)
|
4975
|
+
SENSITIVE = []
|
4455
4976
|
include Aws::Structure
|
4456
4977
|
end
|
4457
4978
|
|
@@ -4497,6 +5018,7 @@ module Aws::EMR
|
|
4497
5018
|
#
|
4498
5019
|
class PutBlockPublicAccessConfigurationInput < Struct.new(
|
4499
5020
|
:block_public_access_configuration)
|
5021
|
+
SENSITIVE = []
|
4500
5022
|
include Aws::Structure
|
4501
5023
|
end
|
4502
5024
|
|
@@ -4534,6 +5056,7 @@ module Aws::EMR
|
|
4534
5056
|
class PutManagedScalingPolicyInput < Struct.new(
|
4535
5057
|
:cluster_id,
|
4536
5058
|
:managed_scaling_policy)
|
5059
|
+
SENSITIVE = []
|
4537
5060
|
include Aws::Structure
|
4538
5061
|
end
|
4539
5062
|
|
@@ -4564,6 +5087,7 @@ module Aws::EMR
|
|
4564
5087
|
class RemoveAutoScalingPolicyInput < Struct.new(
|
4565
5088
|
:cluster_id,
|
4566
5089
|
:instance_group_id)
|
5090
|
+
SENSITIVE = []
|
4567
5091
|
include Aws::Structure
|
4568
5092
|
end
|
4569
5093
|
|
@@ -4587,6 +5111,7 @@ module Aws::EMR
|
|
4587
5111
|
#
|
4588
5112
|
class RemoveManagedScalingPolicyInput < Struct.new(
|
4589
5113
|
:cluster_id)
|
5114
|
+
SENSITIVE = []
|
4590
5115
|
include Aws::Structure
|
4591
5116
|
end
|
4592
5117
|
|
@@ -4618,6 +5143,7 @@ module Aws::EMR
|
|
4618
5143
|
class RemoveTagsInput < Struct.new(
|
4619
5144
|
:resource_id,
|
4620
5145
|
:tag_keys)
|
5146
|
+
SENSITIVE = []
|
4621
5147
|
include Aws::Structure
|
4622
5148
|
end
|
4623
5149
|
|
@@ -4754,10 +5280,14 @@ module Aws::EMR
|
|
4754
5280
|
# },
|
4755
5281
|
# ],
|
4756
5282
|
# launch_specifications: {
|
4757
|
-
# spot_specification: {
|
5283
|
+
# spot_specification: {
|
4758
5284
|
# timeout_duration_minutes: 1, # required
|
4759
5285
|
# timeout_action: "SWITCH_TO_ON_DEMAND", # required, accepts SWITCH_TO_ON_DEMAND, TERMINATE_CLUSTER
|
4760
5286
|
# block_duration_minutes: 1,
|
5287
|
+
# allocation_strategy: "capacity-optimized", # accepts capacity-optimized
|
5288
|
+
# },
|
5289
|
+
# on_demand_specification: {
|
5290
|
+
# allocation_strategy: "lowest-price", # required, accepts lowest-price
|
4761
5291
|
# },
|
4762
5292
|
# },
|
4763
5293
|
# },
|
@@ -5131,6 +5661,7 @@ module Aws::EMR
|
|
5131
5661
|
:kerberos_attributes,
|
5132
5662
|
:step_concurrency_level,
|
5133
5663
|
:managed_scaling_policy)
|
5664
|
+
SENSITIVE = []
|
5134
5665
|
include Aws::Structure
|
5135
5666
|
end
|
5136
5667
|
|
@@ -5149,6 +5680,7 @@ module Aws::EMR
|
|
5149
5680
|
class RunJobFlowOutput < Struct.new(
|
5150
5681
|
:job_flow_id,
|
5151
5682
|
:cluster_arn)
|
5683
|
+
SENSITIVE = []
|
5152
5684
|
include Aws::Structure
|
5153
5685
|
end
|
5154
5686
|
|
@@ -5182,6 +5714,7 @@ module Aws::EMR
|
|
5182
5714
|
class ScalingAction < Struct.new(
|
5183
5715
|
:market,
|
5184
5716
|
:simple_scaling_policy_configuration)
|
5717
|
+
SENSITIVE = []
|
5185
5718
|
include Aws::Structure
|
5186
5719
|
end
|
5187
5720
|
|
@@ -5215,6 +5748,7 @@ module Aws::EMR
|
|
5215
5748
|
class ScalingConstraints < Struct.new(
|
5216
5749
|
:min_capacity,
|
5217
5750
|
:max_capacity)
|
5751
|
+
SENSITIVE = []
|
5218
5752
|
include Aws::Structure
|
5219
5753
|
end
|
5220
5754
|
|
@@ -5283,6 +5817,7 @@ module Aws::EMR
|
|
5283
5817
|
:description,
|
5284
5818
|
:action,
|
5285
5819
|
:trigger)
|
5820
|
+
SENSITIVE = []
|
5286
5821
|
include Aws::Structure
|
5287
5822
|
end
|
5288
5823
|
|
@@ -5320,6 +5855,7 @@ module Aws::EMR
|
|
5320
5855
|
#
|
5321
5856
|
class ScalingTrigger < Struct.new(
|
5322
5857
|
:cloud_watch_alarm_definition)
|
5858
|
+
SENSITIVE = []
|
5323
5859
|
include Aws::Structure
|
5324
5860
|
end
|
5325
5861
|
|
@@ -5348,6 +5884,7 @@ module Aws::EMR
|
|
5348
5884
|
class ScriptBootstrapActionConfig < Struct.new(
|
5349
5885
|
:path,
|
5350
5886
|
:args)
|
5887
|
+
SENSITIVE = []
|
5351
5888
|
include Aws::Structure
|
5352
5889
|
end
|
5353
5890
|
|
@@ -5366,6 +5903,7 @@ module Aws::EMR
|
|
5366
5903
|
class SecurityConfigurationSummary < Struct.new(
|
5367
5904
|
:name,
|
5368
5905
|
:creation_date_time)
|
5906
|
+
SENSITIVE = []
|
5369
5907
|
include Aws::Structure
|
5370
5908
|
end
|
5371
5909
|
|
@@ -5396,6 +5934,7 @@ module Aws::EMR
|
|
5396
5934
|
class SetTerminationProtectionInput < Struct.new(
|
5397
5935
|
:job_flow_ids,
|
5398
5936
|
:termination_protected)
|
5937
|
+
SENSITIVE = []
|
5399
5938
|
include Aws::Structure
|
5400
5939
|
end
|
5401
5940
|
|
@@ -5425,6 +5964,7 @@ module Aws::EMR
|
|
5425
5964
|
class SetVisibleToAllUsersInput < Struct.new(
|
5426
5965
|
:job_flow_ids,
|
5427
5966
|
:visible_to_all_users)
|
5967
|
+
SENSITIVE = []
|
5428
5968
|
include Aws::Structure
|
5429
5969
|
end
|
5430
5970
|
|
@@ -5458,6 +5998,7 @@ module Aws::EMR
|
|
5458
5998
|
class ShrinkPolicy < Struct.new(
|
5459
5999
|
:decommission_timeout,
|
5460
6000
|
:instance_resize_policy)
|
6001
|
+
SENSITIVE = []
|
5461
6002
|
include Aws::Structure
|
5462
6003
|
end
|
5463
6004
|
|
@@ -5514,15 +6055,18 @@ module Aws::EMR
|
|
5514
6055
|
:adjustment_type,
|
5515
6056
|
:scaling_adjustment,
|
5516
6057
|
:cool_down)
|
6058
|
+
SENSITIVE = []
|
5517
6059
|
include Aws::Structure
|
5518
6060
|
end
|
5519
6061
|
|
5520
6062
|
# The launch specification for Spot instances in the instance fleet,
|
5521
|
-
# which determines the defined duration
|
5522
|
-
#
|
6063
|
+
# which determines the defined duration, provisioning timeout behavior,
|
6064
|
+
# and allocation strategy.
|
5523
6065
|
#
|
5524
6066
|
# <note markdown="1"> The instance fleet configuration is available only in Amazon EMR
|
5525
|
-
# versions 4.8.0 and later, excluding 5.0.x versions.
|
6067
|
+
# versions 4.8.0 and later, excluding 5.0.x versions. Spot instance
|
6068
|
+
# allocation strategy is available in Amazon EMR version 5.12.1 and
|
6069
|
+
# later.
|
5526
6070
|
#
|
5527
6071
|
# </note>
|
5528
6072
|
#
|
@@ -5533,6 +6077,7 @@ module Aws::EMR
|
|
5533
6077
|
# timeout_duration_minutes: 1, # required
|
5534
6078
|
# timeout_action: "SWITCH_TO_ON_DEMAND", # required, accepts SWITCH_TO_ON_DEMAND, TERMINATE_CLUSTER
|
5535
6079
|
# block_duration_minutes: 1,
|
6080
|
+
# allocation_strategy: "capacity-optimized", # accepts capacity-optimized
|
5536
6081
|
# }
|
5537
6082
|
#
|
5538
6083
|
# @!attribute [rw] timeout_duration_minutes
|
@@ -5565,12 +6110,119 @@ module Aws::EMR
|
|
5565
6110
|
# before it terminates.
|
5566
6111
|
# @return [Integer]
|
5567
6112
|
#
|
6113
|
+
# @!attribute [rw] allocation_strategy
|
6114
|
+
# Specifies the strategy to use in launching Spot instance fleets.
|
6115
|
+
# Currently, the only option is capacity-optimized (the default),
|
6116
|
+
# which launches instances from Spot instance pools with optimal
|
6117
|
+
# capacity for the number of instances that are launching.
|
6118
|
+
# @return [String]
|
6119
|
+
#
|
5568
6120
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/SpotProvisioningSpecification AWS API Documentation
|
5569
6121
|
#
|
5570
6122
|
class SpotProvisioningSpecification < Struct.new(
|
5571
6123
|
:timeout_duration_minutes,
|
5572
6124
|
:timeout_action,
|
5573
|
-
:block_duration_minutes
|
6125
|
+
:block_duration_minutes,
|
6126
|
+
:allocation_strategy)
|
6127
|
+
SENSITIVE = []
|
6128
|
+
include Aws::Structure
|
6129
|
+
end
|
6130
|
+
|
6131
|
+
# @note When making an API call, you may pass StartNotebookExecutionInput
|
6132
|
+
# data as a hash:
|
6133
|
+
#
|
6134
|
+
# {
|
6135
|
+
# editor_id: "XmlStringMaxLen256", # required
|
6136
|
+
# relative_path: "XmlString", # required
|
6137
|
+
# notebook_execution_name: "XmlStringMaxLen256",
|
6138
|
+
# notebook_params: "XmlString",
|
6139
|
+
# execution_engine: { # required
|
6140
|
+
# id: "XmlStringMaxLen256", # required
|
6141
|
+
# type: "EMR", # accepts EMR
|
6142
|
+
# master_instance_security_group_id: "XmlStringMaxLen256",
|
6143
|
+
# },
|
6144
|
+
# service_role: "XmlString", # required
|
6145
|
+
# notebook_instance_security_group_id: "XmlStringMaxLen256",
|
6146
|
+
# tags: [
|
6147
|
+
# {
|
6148
|
+
# key: "String",
|
6149
|
+
# value: "String",
|
6150
|
+
# },
|
6151
|
+
# ],
|
6152
|
+
# }
|
6153
|
+
#
|
6154
|
+
# @!attribute [rw] editor_id
|
6155
|
+
# The unique identifier of the EMR Notebook to use for notebook
|
6156
|
+
# execution.
|
6157
|
+
# @return [String]
|
6158
|
+
#
|
6159
|
+
# @!attribute [rw] relative_path
|
6160
|
+
# The path and file name of the notebook file for this execution,
|
6161
|
+
# relative to the path specified for the EMR Notebook. For example, if
|
6162
|
+
# you specify a path of `s3://MyBucket/MyNotebooks` when you create an
|
6163
|
+
# EMR Notebook for a notebook with an ID of
|
6164
|
+
# `e-ABCDEFGHIJK1234567890ABCD` (the `EditorID` of this request), and
|
6165
|
+
# you specify a `RelativePath` of
|
6166
|
+
# `my_notebook_executions/notebook_execution.ipynb`, the location of
|
6167
|
+
# the file for the notebook execution is
|
6168
|
+
# `s3://MyBucket/MyNotebooks/e-ABCDEFGHIJK1234567890ABCD/my_notebook_executions/notebook_execution.ipynb`.
|
6169
|
+
# @return [String]
|
6170
|
+
#
|
6171
|
+
# @!attribute [rw] notebook_execution_name
|
6172
|
+
# An optional name for the notebook execution.
|
6173
|
+
# @return [String]
|
6174
|
+
#
|
6175
|
+
# @!attribute [rw] notebook_params
|
6176
|
+
# Input parameters in JSON format passed to the EMR Notebook at
|
6177
|
+
# runtime for execution.
|
6178
|
+
# @return [String]
|
6179
|
+
#
|
6180
|
+
# @!attribute [rw] execution_engine
|
6181
|
+
# Specifies the execution engine (cluster) that runs the notebook
|
6182
|
+
# execution.
|
6183
|
+
# @return [Types::ExecutionEngineConfig]
|
6184
|
+
#
|
6185
|
+
# @!attribute [rw] service_role
|
6186
|
+
# The name or ARN of the IAM role that is used as the service role for
|
6187
|
+
# Amazon EMR (the EMR role) for the notebook execution.
|
6188
|
+
# @return [String]
|
6189
|
+
#
|
6190
|
+
# @!attribute [rw] notebook_instance_security_group_id
|
6191
|
+
# The unique identifier of the Amazon EC2 security group to associate
|
6192
|
+
# with the EMR Notebook for this notebook execution.
|
6193
|
+
# @return [String]
|
6194
|
+
#
|
6195
|
+
# @!attribute [rw] tags
|
6196
|
+
# A list of tags associated with a notebook execution. Tags are
|
6197
|
+
# user-defined key value pairs that consist of a required key string
|
6198
|
+
# with a maximum of 128 characters and an optional value string with a
|
6199
|
+
# maximum of 256 characters.
|
6200
|
+
# @return [Array<Types::Tag>]
|
6201
|
+
#
|
6202
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/StartNotebookExecutionInput AWS API Documentation
|
6203
|
+
#
|
6204
|
+
class StartNotebookExecutionInput < Struct.new(
|
6205
|
+
:editor_id,
|
6206
|
+
:relative_path,
|
6207
|
+
:notebook_execution_name,
|
6208
|
+
:notebook_params,
|
6209
|
+
:execution_engine,
|
6210
|
+
:service_role,
|
6211
|
+
:notebook_instance_security_group_id,
|
6212
|
+
:tags)
|
6213
|
+
SENSITIVE = []
|
6214
|
+
include Aws::Structure
|
6215
|
+
end
|
6216
|
+
|
6217
|
+
# @!attribute [rw] notebook_execution_id
|
6218
|
+
# The unique identifier of the notebook execution.
|
6219
|
+
# @return [String]
|
6220
|
+
#
|
6221
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/StartNotebookExecutionOutput AWS API Documentation
|
6222
|
+
#
|
6223
|
+
class StartNotebookExecutionOutput < Struct.new(
|
6224
|
+
:notebook_execution_id)
|
6225
|
+
SENSITIVE = []
|
5574
6226
|
include Aws::Structure
|
5575
6227
|
end
|
5576
6228
|
|
@@ -5607,6 +6259,7 @@ module Aws::EMR
|
|
5607
6259
|
:config,
|
5608
6260
|
:action_on_failure,
|
5609
6261
|
:status)
|
6262
|
+
SENSITIVE = []
|
5610
6263
|
include Aws::Structure
|
5611
6264
|
end
|
5612
6265
|
|
@@ -5652,6 +6305,7 @@ module Aws::EMR
|
|
5652
6305
|
:name,
|
5653
6306
|
:action_on_failure,
|
5654
6307
|
:hadoop_jar_step)
|
6308
|
+
SENSITIVE = []
|
5655
6309
|
include Aws::Structure
|
5656
6310
|
end
|
5657
6311
|
|
@@ -5670,6 +6324,7 @@ module Aws::EMR
|
|
5670
6324
|
class StepDetail < Struct.new(
|
5671
6325
|
:step_config,
|
5672
6326
|
:execution_status_detail)
|
6327
|
+
SENSITIVE = []
|
5673
6328
|
include Aws::Structure
|
5674
6329
|
end
|
5675
6330
|
|
@@ -5703,6 +6358,7 @@ module Aws::EMR
|
|
5703
6358
|
:start_date_time,
|
5704
6359
|
:end_date_time,
|
5705
6360
|
:last_state_change_reason)
|
6361
|
+
SENSITIVE = []
|
5706
6362
|
include Aws::Structure
|
5707
6363
|
end
|
5708
6364
|
|
@@ -5722,6 +6378,7 @@ module Aws::EMR
|
|
5722
6378
|
class StepStateChangeReason < Struct.new(
|
5723
6379
|
:code,
|
5724
6380
|
:message)
|
6381
|
+
SENSITIVE = []
|
5725
6382
|
include Aws::Structure
|
5726
6383
|
end
|
5727
6384
|
|
@@ -5751,6 +6408,7 @@ module Aws::EMR
|
|
5751
6408
|
:state_change_reason,
|
5752
6409
|
:failure_details,
|
5753
6410
|
:timeline)
|
6411
|
+
SENSITIVE = []
|
5754
6412
|
include Aws::Structure
|
5755
6413
|
end
|
5756
6414
|
|
@@ -5787,6 +6445,7 @@ module Aws::EMR
|
|
5787
6445
|
:config,
|
5788
6446
|
:action_on_failure,
|
5789
6447
|
:status)
|
6448
|
+
SENSITIVE = []
|
5790
6449
|
include Aws::Structure
|
5791
6450
|
end
|
5792
6451
|
|
@@ -5811,6 +6470,26 @@ module Aws::EMR
|
|
5811
6470
|
:creation_date_time,
|
5812
6471
|
:start_date_time,
|
5813
6472
|
:end_date_time)
|
6473
|
+
SENSITIVE = []
|
6474
|
+
include Aws::Structure
|
6475
|
+
end
|
6476
|
+
|
6477
|
+
# @note When making an API call, you may pass StopNotebookExecutionInput
|
6478
|
+
# data as a hash:
|
6479
|
+
#
|
6480
|
+
# {
|
6481
|
+
# notebook_execution_id: "XmlStringMaxLen256", # required
|
6482
|
+
# }
|
6483
|
+
#
|
6484
|
+
# @!attribute [rw] notebook_execution_id
|
6485
|
+
# The unique identifier of the notebook execution.
|
6486
|
+
# @return [String]
|
6487
|
+
#
|
6488
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/StopNotebookExecutionInput AWS API Documentation
|
6489
|
+
#
|
6490
|
+
class StopNotebookExecutionInput < Struct.new(
|
6491
|
+
:notebook_execution_id)
|
6492
|
+
SENSITIVE = []
|
5814
6493
|
include Aws::Structure
|
5815
6494
|
end
|
5816
6495
|
|
@@ -5839,6 +6518,7 @@ module Aws::EMR
|
|
5839
6518
|
class SupportedProductConfig < Struct.new(
|
5840
6519
|
:name,
|
5841
6520
|
:args)
|
6521
|
+
SENSITIVE = []
|
5842
6522
|
include Aws::Structure
|
5843
6523
|
end
|
5844
6524
|
|
@@ -5883,6 +6563,7 @@ module Aws::EMR
|
|
5883
6563
|
class Tag < Struct.new(
|
5884
6564
|
:key,
|
5885
6565
|
:value)
|
6566
|
+
SENSITIVE = []
|
5886
6567
|
include Aws::Structure
|
5887
6568
|
end
|
5888
6569
|
|
@@ -5903,6 +6584,7 @@ module Aws::EMR
|
|
5903
6584
|
#
|
5904
6585
|
class TerminateJobFlowsInput < Struct.new(
|
5905
6586
|
:job_flow_ids)
|
6587
|
+
SENSITIVE = []
|
5906
6588
|
include Aws::Structure
|
5907
6589
|
end
|
5908
6590
|
|
@@ -5939,6 +6621,7 @@ module Aws::EMR
|
|
5939
6621
|
:volume_type,
|
5940
6622
|
:iops,
|
5941
6623
|
:size_in_gb)
|
6624
|
+
SENSITIVE = []
|
5942
6625
|
include Aws::Structure
|
5943
6626
|
end
|
5944
6627
|
|