aws-sdk-emr 1.58.0 → 1.61.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-emr/client.rb +20 -1
- data/lib/aws-sdk-emr/client_api.rb +14 -0
- data/lib/aws-sdk-emr/types.rb +93 -16
- data/lib/aws-sdk-emr.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 831dc86f3be02234167dfc478b6ae8cac9124f50c28fb1b26554edf3ec20cedc
|
4
|
+
data.tar.gz: 46b024b03d2b4aedb523c859aed5ba888844776fa8924ec13e196dc79fb57e24
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c543307e6a33a904ec052f7057f9cb21de353ee59eac0c4cea720d4286f89843323913f28a6bcff9d9ab0ccd4302004c33ca7e4a8f50f72ec653ee3b90db79b1
|
7
|
+
data.tar.gz: d1d6cf085ddb93c17a77b5260161b4f598e477cdf96f0b1a6539fec57929e9e1e1a6d9d052e4d15b53ec631d15bcd8344fbe1dd0f4d9668691c2d596d180b47a
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,21 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.61.0 (2022-06-29)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release introduces additional optional parameter "Throughput" to VolumeSpecification to enable user to configure throughput for gp3 ebs volumes.
|
8
|
+
|
9
|
+
1.60.0 (2022-05-10)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release updates the Amazon EMR ModifyInstanceGroups API to support "MERGE" type cluster reconfiguration. Also, added the ability to specify a particular Amazon Linux release for all nodes in a cluster launch request.
|
13
|
+
|
14
|
+
1.59.0 (2022-02-24)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
4
19
|
1.58.0 (2022-02-03)
|
5
20
|
------------------
|
6
21
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.61.0
|
data/lib/aws-sdk-emr/client.rb
CHANGED
@@ -27,6 +27,7 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
|
27
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
28
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
29
|
require 'aws-sdk-core/plugins/http_checksum.rb'
|
30
|
+
require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
30
31
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
31
32
|
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
32
33
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
@@ -75,6 +76,7 @@ module Aws::EMR
|
|
75
76
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
76
77
|
add_plugin(Aws::Plugins::TransferEncoding)
|
77
78
|
add_plugin(Aws::Plugins::HttpChecksum)
|
79
|
+
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
78
80
|
add_plugin(Aws::Plugins::DefaultsMode)
|
79
81
|
add_plugin(Aws::Plugins::RecursionDetection)
|
80
82
|
add_plugin(Aws::Plugins::SignatureV4)
|
@@ -400,6 +402,7 @@ module Aws::EMR
|
|
400
402
|
# volume_type: "String", # required
|
401
403
|
# iops: 1,
|
402
404
|
# size_in_gb: 1, # required
|
405
|
+
# throughput: 1,
|
403
406
|
# },
|
404
407
|
# volumes_per_instance: 1,
|
405
408
|
# },
|
@@ -497,6 +500,7 @@ module Aws::EMR
|
|
497
500
|
# volume_type: "String", # required
|
498
501
|
# iops: 1,
|
499
502
|
# size_in_gb: 1, # required
|
503
|
+
# throughput: 1,
|
500
504
|
# },
|
501
505
|
# volumes_per_instance: 1,
|
502
506
|
# },
|
@@ -1143,6 +1147,7 @@ module Aws::EMR
|
|
1143
1147
|
# resp.cluster.placement_groups #=> Array
|
1144
1148
|
# resp.cluster.placement_groups[0].instance_role #=> String, one of "MASTER", "CORE", "TASK"
|
1145
1149
|
# resp.cluster.placement_groups[0].placement_strategy #=> String, one of "SPREAD", "PARTITION", "CLUSTER", "NONE"
|
1150
|
+
# resp.cluster.os_release_label #=> String
|
1146
1151
|
#
|
1147
1152
|
#
|
1148
1153
|
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
@@ -1350,6 +1355,7 @@ module Aws::EMR
|
|
1350
1355
|
# * {Types::DescribeReleaseLabelOutput#release_label #release_label} => String
|
1351
1356
|
# * {Types::DescribeReleaseLabelOutput#applications #applications} => Array<Types::SimplifiedApplication>
|
1352
1357
|
# * {Types::DescribeReleaseLabelOutput#next_token #next_token} => String
|
1358
|
+
# * {Types::DescribeReleaseLabelOutput#available_os_releases #available_os_releases} => Array<Types::OSRelease>
|
1353
1359
|
#
|
1354
1360
|
# @example Request syntax with placeholder values
|
1355
1361
|
#
|
@@ -1366,6 +1372,8 @@ module Aws::EMR
|
|
1366
1372
|
# resp.applications[0].name #=> String
|
1367
1373
|
# resp.applications[0].version #=> String
|
1368
1374
|
# resp.next_token #=> String
|
1375
|
+
# resp.available_os_releases #=> Array
|
1376
|
+
# resp.available_os_releases[0].label #=> String
|
1369
1377
|
#
|
1370
1378
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DescribeReleaseLabel AWS API Documentation
|
1371
1379
|
#
|
@@ -1832,6 +1840,7 @@ module Aws::EMR
|
|
1832
1840
|
# resp.instance_fleets[0].instance_type_specifications[0].ebs_block_devices[0].volume_specification.volume_type #=> String
|
1833
1841
|
# resp.instance_fleets[0].instance_type_specifications[0].ebs_block_devices[0].volume_specification.iops #=> Integer
|
1834
1842
|
# resp.instance_fleets[0].instance_type_specifications[0].ebs_block_devices[0].volume_specification.size_in_gb #=> Integer
|
1843
|
+
# resp.instance_fleets[0].instance_type_specifications[0].ebs_block_devices[0].volume_specification.throughput #=> Integer
|
1835
1844
|
# resp.instance_fleets[0].instance_type_specifications[0].ebs_block_devices[0].device #=> String
|
1836
1845
|
# resp.instance_fleets[0].instance_type_specifications[0].ebs_optimized #=> Boolean
|
1837
1846
|
# resp.instance_fleets[0].instance_type_specifications[0].custom_ami_id #=> String
|
@@ -1910,6 +1919,7 @@ module Aws::EMR
|
|
1910
1919
|
# resp.instance_groups[0].ebs_block_devices[0].volume_specification.volume_type #=> String
|
1911
1920
|
# resp.instance_groups[0].ebs_block_devices[0].volume_specification.iops #=> Integer
|
1912
1921
|
# resp.instance_groups[0].ebs_block_devices[0].volume_specification.size_in_gb #=> Integer
|
1922
|
+
# resp.instance_groups[0].ebs_block_devices[0].volume_specification.throughput #=> Integer
|
1913
1923
|
# resp.instance_groups[0].ebs_block_devices[0].device #=> String
|
1914
1924
|
# resp.instance_groups[0].ebs_optimized #=> Boolean
|
1915
1925
|
# resp.instance_groups[0].shrink_policy.decommission_timeout #=> Integer
|
@@ -2482,6 +2492,7 @@ module Aws::EMR
|
|
2482
2492
|
# instance_termination_timeout: 1,
|
2483
2493
|
# },
|
2484
2494
|
# },
|
2495
|
+
# reconfiguration_type: "OVERWRITE", # accepts OVERWRITE, MERGE
|
2485
2496
|
# configurations: [
|
2486
2497
|
# {
|
2487
2498
|
# classification: "String",
|
@@ -3137,6 +3148,11 @@ module Aws::EMR
|
|
3137
3148
|
#
|
3138
3149
|
# [1]: https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-plan-termination.html
|
3139
3150
|
#
|
3151
|
+
# @option params [String] :os_release_label
|
3152
|
+
# Specifies a particular Amazon Linux release for all nodes in a cluster
|
3153
|
+
# launch RunJobFlow request. If a release is not specified, Amazon EMR
|
3154
|
+
# uses the latest validated Amazon Linux release for cluster launch.
|
3155
|
+
#
|
3140
3156
|
# @return [Types::RunJobFlowOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3141
3157
|
#
|
3142
3158
|
# * {Types::RunJobFlowOutput#job_flow_id #job_flow_id} => String
|
@@ -3181,6 +3197,7 @@ module Aws::EMR
|
|
3181
3197
|
# volume_type: "String", # required
|
3182
3198
|
# iops: 1,
|
3183
3199
|
# size_in_gb: 1, # required
|
3200
|
+
# throughput: 1,
|
3184
3201
|
# },
|
3185
3202
|
# volumes_per_instance: 1,
|
3186
3203
|
# },
|
@@ -3247,6 +3264,7 @@ module Aws::EMR
|
|
3247
3264
|
# volume_type: "String", # required
|
3248
3265
|
# iops: 1,
|
3249
3266
|
# size_in_gb: 1, # required
|
3267
|
+
# throughput: 1,
|
3250
3268
|
# },
|
3251
3269
|
# volumes_per_instance: 1,
|
3252
3270
|
# },
|
@@ -3396,6 +3414,7 @@ module Aws::EMR
|
|
3396
3414
|
# auto_termination_policy: {
|
3397
3415
|
# idle_timeout: 1,
|
3398
3416
|
# },
|
3417
|
+
# os_release_label: "XmlStringMaxLen256",
|
3399
3418
|
# })
|
3400
3419
|
#
|
3401
3420
|
# @example Response structure
|
@@ -3764,7 +3783,7 @@ module Aws::EMR
|
|
3764
3783
|
params: params,
|
3765
3784
|
config: config)
|
3766
3785
|
context[:gem_name] = 'aws-sdk-emr'
|
3767
|
-
context[:gem_version] = '1.
|
3786
|
+
context[:gem_version] = '1.61.0'
|
3768
3787
|
Seahorse::Client::Request.new(handlers, context)
|
3769
3788
|
end
|
3770
3789
|
|
@@ -215,6 +215,8 @@ module Aws::EMR
|
|
215
215
|
NotebookExecutionStatus = Shapes::StringShape.new(name: 'NotebookExecutionStatus')
|
216
216
|
NotebookExecutionSummary = Shapes::StructureShape.new(name: 'NotebookExecutionSummary')
|
217
217
|
NotebookExecutionSummaryList = Shapes::ListShape.new(name: 'NotebookExecutionSummaryList')
|
218
|
+
OSRelease = Shapes::StructureShape.new(name: 'OSRelease')
|
219
|
+
OSReleaseList = Shapes::ListShape.new(name: 'OSReleaseList')
|
218
220
|
OnDemandCapacityReservationOptions = Shapes::StructureShape.new(name: 'OnDemandCapacityReservationOptions')
|
219
221
|
OnDemandCapacityReservationPreference = Shapes::StringShape.new(name: 'OnDemandCapacityReservationPreference')
|
220
222
|
OnDemandCapacityReservationUsageStrategy = Shapes::StringShape.new(name: 'OnDemandCapacityReservationUsageStrategy')
|
@@ -236,6 +238,7 @@ module Aws::EMR
|
|
236
238
|
PutBlockPublicAccessConfigurationOutput = Shapes::StructureShape.new(name: 'PutBlockPublicAccessConfigurationOutput')
|
237
239
|
PutManagedScalingPolicyInput = Shapes::StructureShape.new(name: 'PutManagedScalingPolicyInput')
|
238
240
|
PutManagedScalingPolicyOutput = Shapes::StructureShape.new(name: 'PutManagedScalingPolicyOutput')
|
241
|
+
ReconfigurationType = Shapes::StringShape.new(name: 'ReconfigurationType')
|
239
242
|
ReleaseLabelFilter = Shapes::StructureShape.new(name: 'ReleaseLabelFilter')
|
240
243
|
RemoveAutoScalingPolicyInput = Shapes::StructureShape.new(name: 'RemoveAutoScalingPolicyInput')
|
241
244
|
RemoveAutoScalingPolicyOutput = Shapes::StructureShape.new(name: 'RemoveAutoScalingPolicyOutput')
|
@@ -305,6 +308,7 @@ module Aws::EMR
|
|
305
308
|
Tag = Shapes::StructureShape.new(name: 'Tag')
|
306
309
|
TagList = Shapes::ListShape.new(name: 'TagList')
|
307
310
|
TerminateJobFlowsInput = Shapes::StructureShape.new(name: 'TerminateJobFlowsInput')
|
311
|
+
ThroughputVal = Shapes::IntegerShape.new(name: 'ThroughputVal')
|
308
312
|
Unit = Shapes::StringShape.new(name: 'Unit')
|
309
313
|
UpdateStudioInput = Shapes::StructureShape.new(name: 'UpdateStudioInput')
|
310
314
|
UpdateStudioSessionMappingInput = Shapes::StructureShape.new(name: 'UpdateStudioSessionMappingInput')
|
@@ -449,6 +453,7 @@ module Aws::EMR
|
|
449
453
|
Cluster.add_member(:outpost_arn, Shapes::ShapeRef.new(shape: OptionalArnType, location_name: "OutpostArn"))
|
450
454
|
Cluster.add_member(:step_concurrency_level, Shapes::ShapeRef.new(shape: Integer, location_name: "StepConcurrencyLevel"))
|
451
455
|
Cluster.add_member(:placement_groups, Shapes::ShapeRef.new(shape: PlacementGroupConfigList, location_name: "PlacementGroups"))
|
456
|
+
Cluster.add_member(:os_release_label, Shapes::ShapeRef.new(shape: String, location_name: "OSReleaseLabel"))
|
452
457
|
Cluster.struct_class = Types::Cluster
|
453
458
|
|
454
459
|
ClusterStateChangeReason.add_member(:code, Shapes::ShapeRef.new(shape: ClusterStateChangeReasonCode, location_name: "Code"))
|
@@ -575,6 +580,7 @@ module Aws::EMR
|
|
575
580
|
DescribeReleaseLabelOutput.add_member(:release_label, Shapes::ShapeRef.new(shape: String, location_name: "ReleaseLabel"))
|
576
581
|
DescribeReleaseLabelOutput.add_member(:applications, Shapes::ShapeRef.new(shape: SimplifiedApplicationList, location_name: "Applications"))
|
577
582
|
DescribeReleaseLabelOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
583
|
+
DescribeReleaseLabelOutput.add_member(:available_os_releases, Shapes::ShapeRef.new(shape: OSReleaseList, location_name: "AvailableOSReleases"))
|
578
584
|
DescribeReleaseLabelOutput.struct_class = Types::DescribeReleaseLabelOutput
|
579
585
|
|
580
586
|
DescribeSecurityConfigurationInput.add_member(:name, Shapes::ShapeRef.new(shape: XmlString, required: true, location_name: "Name"))
|
@@ -808,6 +814,7 @@ module Aws::EMR
|
|
808
814
|
InstanceGroupModifyConfig.add_member(:instance_count, Shapes::ShapeRef.new(shape: Integer, location_name: "InstanceCount"))
|
809
815
|
InstanceGroupModifyConfig.add_member(:ec2_instance_ids_to_terminate, Shapes::ShapeRef.new(shape: EC2InstanceIdsToTerminateList, location_name: "EC2InstanceIdsToTerminate"))
|
810
816
|
InstanceGroupModifyConfig.add_member(:shrink_policy, Shapes::ShapeRef.new(shape: ShrinkPolicy, location_name: "ShrinkPolicy"))
|
817
|
+
InstanceGroupModifyConfig.add_member(:reconfiguration_type, Shapes::ShapeRef.new(shape: ReconfigurationType, location_name: "ReconfigurationType"))
|
811
818
|
InstanceGroupModifyConfig.add_member(:configurations, Shapes::ShapeRef.new(shape: ConfigurationList, location_name: "Configurations"))
|
812
819
|
InstanceGroupModifyConfig.struct_class = Types::InstanceGroupModifyConfig
|
813
820
|
|
@@ -1111,6 +1118,11 @@ module Aws::EMR
|
|
1111
1118
|
|
1112
1119
|
NotebookExecutionSummaryList.member = Shapes::ShapeRef.new(shape: NotebookExecutionSummary)
|
1113
1120
|
|
1121
|
+
OSRelease.add_member(:label, Shapes::ShapeRef.new(shape: String, location_name: "Label"))
|
1122
|
+
OSRelease.struct_class = Types::OSRelease
|
1123
|
+
|
1124
|
+
OSReleaseList.member = Shapes::ShapeRef.new(shape: OSRelease)
|
1125
|
+
|
1114
1126
|
OnDemandCapacityReservationOptions.add_member(:usage_strategy, Shapes::ShapeRef.new(shape: OnDemandCapacityReservationUsageStrategy, location_name: "UsageStrategy"))
|
1115
1127
|
OnDemandCapacityReservationOptions.add_member(:capacity_reservation_preference, Shapes::ShapeRef.new(shape: OnDemandCapacityReservationPreference, location_name: "CapacityReservationPreference"))
|
1116
1128
|
OnDemandCapacityReservationOptions.add_member(:capacity_reservation_resource_group_arn, Shapes::ShapeRef.new(shape: XmlStringMaxLen256, location_name: "CapacityReservationResourceGroupArn"))
|
@@ -1218,6 +1230,7 @@ module Aws::EMR
|
|
1218
1230
|
RunJobFlowInput.add_member(:managed_scaling_policy, Shapes::ShapeRef.new(shape: ManagedScalingPolicy, location_name: "ManagedScalingPolicy"))
|
1219
1231
|
RunJobFlowInput.add_member(:placement_group_configs, Shapes::ShapeRef.new(shape: PlacementGroupConfigList, location_name: "PlacementGroupConfigs"))
|
1220
1232
|
RunJobFlowInput.add_member(:auto_termination_policy, Shapes::ShapeRef.new(shape: AutoTerminationPolicy, location_name: "AutoTerminationPolicy"))
|
1233
|
+
RunJobFlowInput.add_member(:os_release_label, Shapes::ShapeRef.new(shape: XmlStringMaxLen256, location_name: "OSReleaseLabel"))
|
1221
1234
|
RunJobFlowInput.struct_class = Types::RunJobFlowInput
|
1222
1235
|
|
1223
1236
|
RunJobFlowOutput.add_member(:job_flow_id, Shapes::ShapeRef.new(shape: XmlStringMaxLen256, location_name: "JobFlowId"))
|
@@ -1443,6 +1456,7 @@ module Aws::EMR
|
|
1443
1456
|
VolumeSpecification.add_member(:volume_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "VolumeType"))
|
1444
1457
|
VolumeSpecification.add_member(:iops, Shapes::ShapeRef.new(shape: Integer, location_name: "Iops"))
|
1445
1458
|
VolumeSpecification.add_member(:size_in_gb, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "SizeInGB"))
|
1459
|
+
VolumeSpecification.add_member(:throughput, Shapes::ShapeRef.new(shape: ThroughputVal, location_name: "Throughput"))
|
1446
1460
|
VolumeSpecification.struct_class = Types::VolumeSpecification
|
1447
1461
|
|
1448
1462
|
XmlStringList.member = Shapes::ShapeRef.new(shape: XmlString)
|
data/lib/aws-sdk-emr/types.rb
CHANGED
@@ -33,6 +33,7 @@ module Aws::EMR
|
|
33
33
|
# volume_type: "String", # required
|
34
34
|
# iops: 1,
|
35
35
|
# size_in_gb: 1, # required
|
36
|
+
# throughput: 1,
|
36
37
|
# },
|
37
38
|
# volumes_per_instance: 1,
|
38
39
|
# },
|
@@ -143,6 +144,7 @@ module Aws::EMR
|
|
143
144
|
# volume_type: "String", # required
|
144
145
|
# iops: 1,
|
145
146
|
# size_in_gb: 1, # required
|
147
|
+
# throughput: 1,
|
146
148
|
# },
|
147
149
|
# volumes_per_instance: 1,
|
148
150
|
# },
|
@@ -1050,6 +1052,12 @@ module Aws::EMR
|
|
1050
1052
|
# Placement group configured for an Amazon EMR cluster.
|
1051
1053
|
# @return [Array<Types::PlacementGroupConfig>]
|
1052
1054
|
#
|
1055
|
+
# @!attribute [rw] os_release_label
|
1056
|
+
# The Amazon Linux release specified in a cluster launch RunJobFlow
|
1057
|
+
# request. If no Amazon Linux release was specified, the default
|
1058
|
+
# Amazon Linux release is shown in the response.
|
1059
|
+
# @return [String]
|
1060
|
+
#
|
1053
1061
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/Cluster AWS API Documentation
|
1054
1062
|
#
|
1055
1063
|
class Cluster < Struct.new(
|
@@ -1082,7 +1090,8 @@ module Aws::EMR
|
|
1082
1090
|
:cluster_arn,
|
1083
1091
|
:outpost_arn,
|
1084
1092
|
:step_concurrency_level,
|
1085
|
-
:placement_groups
|
1093
|
+
:placement_groups,
|
1094
|
+
:os_release_label)
|
1086
1095
|
SENSITIVE = []
|
1087
1096
|
include Aws::Structure
|
1088
1097
|
end
|
@@ -1870,12 +1879,25 @@ module Aws::EMR
|
|
1870
1879
|
# null.
|
1871
1880
|
# @return [String]
|
1872
1881
|
#
|
1882
|
+
# @!attribute [rw] available_os_releases
|
1883
|
+
# The list of available Amazon Linux release versions for an Amazon
|
1884
|
+
# EMR release. Contains a Label field that is formatted as shown in [
|
1885
|
+
# *Amazon Linux 2 Release Notes* ][1]. For example,
|
1886
|
+
# [2.0.20220218.1][2].
|
1887
|
+
#
|
1888
|
+
#
|
1889
|
+
#
|
1890
|
+
# [1]: https://docs.aws.amazon.com/AL2/latest/relnotes/relnotes-al2.html
|
1891
|
+
# [2]: https://docs.aws.amazon.com/AL2/latest/relnotes/relnotes-20220218.html
|
1892
|
+
# @return [Array<Types::OSRelease>]
|
1893
|
+
#
|
1873
1894
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DescribeReleaseLabelOutput AWS API Documentation
|
1874
1895
|
#
|
1875
1896
|
class DescribeReleaseLabelOutput < Struct.new(
|
1876
1897
|
:release_label,
|
1877
1898
|
:applications,
|
1878
|
-
:next_token
|
1899
|
+
:next_token,
|
1900
|
+
:available_os_releases)
|
1879
1901
|
SENSITIVE = []
|
1880
1902
|
include Aws::Structure
|
1881
1903
|
end
|
@@ -1997,9 +2019,9 @@ module Aws::EMR
|
|
1997
2019
|
# instance group.
|
1998
2020
|
#
|
1999
2021
|
# @!attribute [rw] volume_specification
|
2000
|
-
# EBS volume specifications such as volume type, IOPS,
|
2001
|
-
# that
|
2002
|
-
# instance in the cluster.
|
2022
|
+
# EBS volume specifications such as volume type, IOPS, size (GiB) and
|
2023
|
+
# throughput (MiB/s) that are requested for the EBS volume attached to
|
2024
|
+
# an EC2 instance in the cluster.
|
2003
2025
|
# @return [Types::VolumeSpecification]
|
2004
2026
|
#
|
2005
2027
|
# @!attribute [rw] device
|
@@ -2016,7 +2038,7 @@ module Aws::EMR
|
|
2016
2038
|
end
|
2017
2039
|
|
2018
2040
|
# Configuration of requested EBS block device associated with the
|
2019
|
-
# instance group with count of volumes that
|
2041
|
+
# instance group with count of volumes that are associated to every
|
2020
2042
|
# instance.
|
2021
2043
|
#
|
2022
2044
|
# @note When making an API call, you may pass EbsBlockDeviceConfig
|
@@ -2027,19 +2049,20 @@ module Aws::EMR
|
|
2027
2049
|
# volume_type: "String", # required
|
2028
2050
|
# iops: 1,
|
2029
2051
|
# size_in_gb: 1, # required
|
2052
|
+
# throughput: 1,
|
2030
2053
|
# },
|
2031
2054
|
# volumes_per_instance: 1,
|
2032
2055
|
# }
|
2033
2056
|
#
|
2034
2057
|
# @!attribute [rw] volume_specification
|
2035
|
-
# EBS volume specifications such as volume type, IOPS,
|
2036
|
-
# that
|
2037
|
-
# instance in the cluster.
|
2058
|
+
# EBS volume specifications such as volume type, IOPS, size (GiB) and
|
2059
|
+
# throughput (MiB/s) that are requested for the EBS volume attached to
|
2060
|
+
# an EC2 instance in the cluster.
|
2038
2061
|
# @return [Types::VolumeSpecification]
|
2039
2062
|
#
|
2040
2063
|
# @!attribute [rw] volumes_per_instance
|
2041
|
-
# Number of EBS volumes with a specific volume configuration that
|
2042
|
-
#
|
2064
|
+
# Number of EBS volumes with a specific volume configuration that are
|
2065
|
+
# associated with every instance in the instance group
|
2043
2066
|
# @return [Integer]
|
2044
2067
|
#
|
2045
2068
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/EbsBlockDeviceConfig AWS API Documentation
|
@@ -2063,6 +2086,7 @@ module Aws::EMR
|
|
2063
2086
|
# volume_type: "String", # required
|
2064
2087
|
# iops: 1,
|
2065
2088
|
# size_in_gb: 1, # required
|
2089
|
+
# throughput: 1,
|
2066
2090
|
# },
|
2067
2091
|
# volumes_per_instance: 1,
|
2068
2092
|
# },
|
@@ -2756,6 +2780,7 @@ module Aws::EMR
|
|
2756
2780
|
# volume_type: "String", # required
|
2757
2781
|
# iops: 1,
|
2758
2782
|
# size_in_gb: 1, # required
|
2783
|
+
# throughput: 1,
|
2759
2784
|
# },
|
2760
2785
|
# volumes_per_instance: 1,
|
2761
2786
|
# },
|
@@ -3229,6 +3254,7 @@ module Aws::EMR
|
|
3229
3254
|
# volume_type: "String", # required
|
3230
3255
|
# iops: 1,
|
3231
3256
|
# size_in_gb: 1, # required
|
3257
|
+
# throughput: 1,
|
3232
3258
|
# },
|
3233
3259
|
# volumes_per_instance: 1,
|
3234
3260
|
# },
|
@@ -3452,6 +3478,7 @@ module Aws::EMR
|
|
3452
3478
|
# instance_termination_timeout: 1,
|
3453
3479
|
# },
|
3454
3480
|
# },
|
3481
|
+
# reconfiguration_type: "OVERWRITE", # accepts OVERWRITE, MERGE
|
3455
3482
|
# configurations: [
|
3456
3483
|
# {
|
3457
3484
|
# classification: "String",
|
@@ -3482,6 +3509,11 @@ module Aws::EMR
|
|
3482
3509
|
# Policy for customizing shrink operations.
|
3483
3510
|
# @return [Types::ShrinkPolicy]
|
3484
3511
|
#
|
3512
|
+
# @!attribute [rw] reconfiguration_type
|
3513
|
+
# Type of reconfiguration requested. Valid values are MERGE and
|
3514
|
+
# OVERWRITE.
|
3515
|
+
# @return [String]
|
3516
|
+
#
|
3485
3517
|
# @!attribute [rw] configurations
|
3486
3518
|
# A list of new or modified configurations to apply for an instance
|
3487
3519
|
# group.
|
@@ -3494,6 +3526,7 @@ module Aws::EMR
|
|
3494
3526
|
:instance_count,
|
3495
3527
|
:ec2_instance_ids_to_terminate,
|
3496
3528
|
:shrink_policy,
|
3529
|
+
:reconfiguration_type,
|
3497
3530
|
:configurations)
|
3498
3531
|
SENSITIVE = []
|
3499
3532
|
include Aws::Structure
|
@@ -3704,6 +3737,7 @@ module Aws::EMR
|
|
3704
3737
|
# volume_type: "String", # required
|
3705
3738
|
# iops: 1,
|
3706
3739
|
# size_in_gb: 1, # required
|
3740
|
+
# throughput: 1,
|
3707
3741
|
# },
|
3708
3742
|
# volumes_per_instance: 1,
|
3709
3743
|
# },
|
@@ -4090,6 +4124,7 @@ module Aws::EMR
|
|
4090
4124
|
# volume_type: "String", # required
|
4091
4125
|
# iops: 1,
|
4092
4126
|
# size_in_gb: 1, # required
|
4127
|
+
# throughput: 1,
|
4093
4128
|
# },
|
4094
4129
|
# volumes_per_instance: 1,
|
4095
4130
|
# },
|
@@ -4156,6 +4191,7 @@ module Aws::EMR
|
|
4156
4191
|
# volume_type: "String", # required
|
4157
4192
|
# iops: 1,
|
4158
4193
|
# size_in_gb: 1, # required
|
4194
|
+
# throughput: 1,
|
4159
4195
|
# },
|
4160
4196
|
# volumes_per_instance: 1,
|
4161
4197
|
# },
|
@@ -5313,6 +5349,7 @@ module Aws::EMR
|
|
5313
5349
|
# instance_termination_timeout: 1,
|
5314
5350
|
# },
|
5315
5351
|
# },
|
5352
|
+
# reconfiguration_type: "OVERWRITE", # accepts OVERWRITE, MERGE
|
5316
5353
|
# configurations: [
|
5317
5354
|
# {
|
5318
5355
|
# classification: "String",
|
@@ -5533,6 +5570,27 @@ module Aws::EMR
|
|
5533
5570
|
include Aws::Structure
|
5534
5571
|
end
|
5535
5572
|
|
5573
|
+
# The Amazon Linux release specified for a cluster in the RunJobFlow
|
5574
|
+
# request.
|
5575
|
+
#
|
5576
|
+
# @!attribute [rw] label
|
5577
|
+
# The Amazon Linux release specified for a cluster in the RunJobFlow
|
5578
|
+
# request. The format is as shown in [ *Amazon Linux 2 Release Notes*
|
5579
|
+
# ][1]. For example, 2.0.20220218.1.
|
5580
|
+
#
|
5581
|
+
#
|
5582
|
+
#
|
5583
|
+
# [1]: https://docs.aws.amazon.com/AL2/latest/relnotes/relnotes-20220218.html
|
5584
|
+
# @return [String]
|
5585
|
+
#
|
5586
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/OSRelease AWS API Documentation
|
5587
|
+
#
|
5588
|
+
class OSRelease < Struct.new(
|
5589
|
+
:label)
|
5590
|
+
SENSITIVE = []
|
5591
|
+
include Aws::Structure
|
5592
|
+
end
|
5593
|
+
|
5536
5594
|
# Describes the strategy for using unused Capacity Reservations for
|
5537
5595
|
# fulfilling On-Demand capacity.
|
5538
5596
|
#
|
@@ -6140,6 +6198,7 @@ module Aws::EMR
|
|
6140
6198
|
# volume_type: "String", # required
|
6141
6199
|
# iops: 1,
|
6142
6200
|
# size_in_gb: 1, # required
|
6201
|
+
# throughput: 1,
|
6143
6202
|
# },
|
6144
6203
|
# volumes_per_instance: 1,
|
6145
6204
|
# },
|
@@ -6206,6 +6265,7 @@ module Aws::EMR
|
|
6206
6265
|
# volume_type: "String", # required
|
6207
6266
|
# iops: 1,
|
6208
6267
|
# size_in_gb: 1, # required
|
6268
|
+
# throughput: 1,
|
6209
6269
|
# },
|
6210
6270
|
# volumes_per_instance: 1,
|
6211
6271
|
# },
|
@@ -6355,6 +6415,7 @@ module Aws::EMR
|
|
6355
6415
|
# auto_termination_policy: {
|
6356
6416
|
# idle_timeout: 1,
|
6357
6417
|
# },
|
6418
|
+
# os_release_label: "XmlStringMaxLen256",
|
6358
6419
|
# }
|
6359
6420
|
#
|
6360
6421
|
# @!attribute [rw] name
|
@@ -6626,6 +6687,13 @@ module Aws::EMR
|
|
6626
6687
|
# [1]: https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-plan-termination.html
|
6627
6688
|
# @return [Types::AutoTerminationPolicy]
|
6628
6689
|
#
|
6690
|
+
# @!attribute [rw] os_release_label
|
6691
|
+
# Specifies a particular Amazon Linux release for all nodes in a
|
6692
|
+
# cluster launch RunJobFlow request. If a release is not specified,
|
6693
|
+
# Amazon EMR uses the latest validated Amazon Linux release for
|
6694
|
+
# cluster launch.
|
6695
|
+
# @return [String]
|
6696
|
+
#
|
6629
6697
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/RunJobFlowInput AWS API Documentation
|
6630
6698
|
#
|
6631
6699
|
class RunJobFlowInput < Struct.new(
|
@@ -6656,7 +6724,8 @@ module Aws::EMR
|
|
6656
6724
|
:step_concurrency_level,
|
6657
6725
|
:managed_scaling_policy,
|
6658
6726
|
:placement_group_configs,
|
6659
|
-
:auto_termination_policy
|
6727
|
+
:auto_termination_policy,
|
6728
|
+
:os_release_label)
|
6660
6729
|
SENSITIVE = []
|
6661
6730
|
include Aws::Structure
|
6662
6731
|
end
|
@@ -8022,9 +8091,9 @@ module Aws::EMR
|
|
8022
8091
|
include Aws::Structure
|
8023
8092
|
end
|
8024
8093
|
|
8025
|
-
# EBS volume specifications such as volume type, IOPS,
|
8026
|
-
# that
|
8027
|
-
# in the cluster.
|
8094
|
+
# EBS volume specifications such as volume type, IOPS, size (GiB) and
|
8095
|
+
# throughput (MiB/s) that are requested for the EBS volume attached to
|
8096
|
+
# an EC2 instance in the cluster.
|
8028
8097
|
#
|
8029
8098
|
# @note When making an API call, you may pass VolumeSpecification
|
8030
8099
|
# data as a hash:
|
@@ -8033,6 +8102,7 @@ module Aws::EMR
|
|
8033
8102
|
# volume_type: "String", # required
|
8034
8103
|
# iops: 1,
|
8035
8104
|
# size_in_gb: 1, # required
|
8105
|
+
# throughput: 1,
|
8036
8106
|
# }
|
8037
8107
|
#
|
8038
8108
|
# @!attribute [rw] volume_type
|
@@ -8049,12 +8119,19 @@ module Aws::EMR
|
|
8049
8119
|
# 1024. If the volume type is EBS-optimized, the minimum value is 10.
|
8050
8120
|
# @return [Integer]
|
8051
8121
|
#
|
8122
|
+
# @!attribute [rw] throughput
|
8123
|
+
# The throughput, in mebibyte per second (MiB/s). This optional
|
8124
|
+
# parameter can be a number from 125 - 1000 and is valid only for gp3
|
8125
|
+
# volumes.
|
8126
|
+
# @return [Integer]
|
8127
|
+
#
|
8052
8128
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/VolumeSpecification AWS API Documentation
|
8053
8129
|
#
|
8054
8130
|
class VolumeSpecification < Struct.new(
|
8055
8131
|
:volume_type,
|
8056
8132
|
:iops,
|
8057
|
-
:size_in_gb
|
8133
|
+
:size_in_gb,
|
8134
|
+
:throughput)
|
8058
8135
|
SENSITIVE = []
|
8059
8136
|
include Aws::Structure
|
8060
8137
|
end
|
data/lib/aws-sdk-emr.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-emr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.61.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-06-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.127.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.127.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|