aws-sdk-emr 1.59.0 → 1.62.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 22fc9b34883dcb051197c34bd887ad857e199c1b32e26b7b3d9a83e2a154b7ee
4
- data.tar.gz: 1488a0f592d5cd90d6765eb0f22692ef9ea82e129d859a020d4396dd9e3d5785
3
+ metadata.gz: 4245e32c0b2ca5861d24917d4f1da2dcc6850bcc0a300239305dad34dcc4a915
4
+ data.tar.gz: 024c44e94b82313c1c46a21a84726169a1777bc642941585a295338f853fce98
5
5
  SHA512:
6
- metadata.gz: 482e86c54e63acc0ac2bf25dd941fe8c12757689d7de509130cb4ea152314e5027c4528ea4b180bae892beeb0ac0f02393791e4c589466c13bc7877a6b8a9abf
7
- data.tar.gz: '0096b11659c46053b2998ac6b4f3598189fe7f1e7444d99eaa8f16fecf044b9d2ff4607b1ab884cfee73ffc6f8559e254628f52fcf1202891c32cd0ab1be1a1b'
6
+ metadata.gz: 07b683666ec8cb1a7a930b45f68d7a1d5adbd5d34fb61b9651815265902a106a7ef5f0f32845863603b0ef97400e3bed856484d90d8eab8ba1572317d8094739
7
+ data.tar.gz: 6a54b7d3032ba850643da1078882da4ef77f6ebb40b96680d4949f13c77f2f405d233b482118a50d8688584655446f6b696b2f92eba6560dbff7246015060cdb
data/CHANGELOG.md CHANGED
@@ -1,6 +1,21 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.62.0 (2022-06-30)
5
+ ------------------
6
+
7
+ * Feature - This release adds support for the ExecutionRoleArn parameter in the AddJobFlowSteps and DescribeStep APIs. Customers can use ExecutionRoleArn to specify the IAM role used for each job they submit using the AddJobFlowSteps API.
8
+
9
+ 1.61.0 (2022-06-29)
10
+ ------------------
11
+
12
+ * Feature - This release introduces additional optional parameter "Throughput" to VolumeSpecification to enable user to configure throughput for gp3 ebs volumes.
13
+
14
+ 1.60.0 (2022-05-10)
15
+ ------------------
16
+
17
+ * 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.
18
+
4
19
  1.59.0 (2022-02-24)
5
20
  ------------------
6
21
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.59.0
1
+ 1.62.0
@@ -402,6 +402,7 @@ module Aws::EMR
402
402
  # volume_type: "String", # required
403
403
  # iops: 1,
404
404
  # size_in_gb: 1, # required
405
+ # throughput: 1,
405
406
  # },
406
407
  # volumes_per_instance: 1,
407
408
  # },
@@ -499,6 +500,7 @@ module Aws::EMR
499
500
  # volume_type: "String", # required
500
501
  # iops: 1,
501
502
  # size_in_gb: 1, # required
503
+ # throughput: 1,
502
504
  # },
503
505
  # volumes_per_instance: 1,
504
506
  # },
@@ -606,6 +608,16 @@ module Aws::EMR
606
608
  # @option params [required, Array<Types::StepConfig>] :steps
607
609
  # A list of StepConfig to be executed by the job flow.
608
610
  #
611
+ # @option params [String] :execution_role_arn
612
+ # The Amazon Resource Name (ARN) of the runtime role for a step on the
613
+ # cluster. The runtime role can be a cross-account IAM role. The runtime
614
+ # role ARN is a combination of account ID, role name, and role type
615
+ # using the following format:
616
+ # `arn:partition:service:region:account:resource`.
617
+ #
618
+ # For example, `arn:aws:iam::1234567890:role/ReadOnly` is a correctly
619
+ # formatted runtime role ARN.
620
+ #
609
621
  # @return [Types::AddJobFlowStepsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
610
622
  #
611
623
  # * {Types::AddJobFlowStepsOutput#step_ids #step_ids} => Array&lt;String&gt;
@@ -631,6 +643,7 @@ module Aws::EMR
631
643
  # },
632
644
  # },
633
645
  # ],
646
+ # execution_role_arn: "ArnType",
634
647
  # })
635
648
  #
636
649
  # @example Response structure
@@ -1145,6 +1158,7 @@ module Aws::EMR
1145
1158
  # resp.cluster.placement_groups #=> Array
1146
1159
  # resp.cluster.placement_groups[0].instance_role #=> String, one of "MASTER", "CORE", "TASK"
1147
1160
  # resp.cluster.placement_groups[0].placement_strategy #=> String, one of "SPREAD", "PARTITION", "CLUSTER", "NONE"
1161
+ # resp.cluster.os_release_label #=> String
1148
1162
  #
1149
1163
  #
1150
1164
  # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
@@ -1352,6 +1366,7 @@ module Aws::EMR
1352
1366
  # * {Types::DescribeReleaseLabelOutput#release_label #release_label} => String
1353
1367
  # * {Types::DescribeReleaseLabelOutput#applications #applications} => Array&lt;Types::SimplifiedApplication&gt;
1354
1368
  # * {Types::DescribeReleaseLabelOutput#next_token #next_token} => String
1369
+ # * {Types::DescribeReleaseLabelOutput#available_os_releases #available_os_releases} => Array&lt;Types::OSRelease&gt;
1355
1370
  #
1356
1371
  # @example Request syntax with placeholder values
1357
1372
  #
@@ -1368,6 +1383,8 @@ module Aws::EMR
1368
1383
  # resp.applications[0].name #=> String
1369
1384
  # resp.applications[0].version #=> String
1370
1385
  # resp.next_token #=> String
1386
+ # resp.available_os_releases #=> Array
1387
+ # resp.available_os_releases[0].label #=> String
1371
1388
  #
1372
1389
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DescribeReleaseLabel AWS API Documentation
1373
1390
  #
@@ -1450,6 +1467,7 @@ module Aws::EMR
1450
1467
  # resp.step.status.timeline.creation_date_time #=> Time
1451
1468
  # resp.step.status.timeline.start_date_time #=> Time
1452
1469
  # resp.step.status.timeline.end_date_time #=> Time
1470
+ # resp.step.execution_role_arn #=> String
1453
1471
  #
1454
1472
  #
1455
1473
  # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
@@ -1834,6 +1852,7 @@ module Aws::EMR
1834
1852
  # resp.instance_fleets[0].instance_type_specifications[0].ebs_block_devices[0].volume_specification.volume_type #=> String
1835
1853
  # resp.instance_fleets[0].instance_type_specifications[0].ebs_block_devices[0].volume_specification.iops #=> Integer
1836
1854
  # resp.instance_fleets[0].instance_type_specifications[0].ebs_block_devices[0].volume_specification.size_in_gb #=> Integer
1855
+ # resp.instance_fleets[0].instance_type_specifications[0].ebs_block_devices[0].volume_specification.throughput #=> Integer
1837
1856
  # resp.instance_fleets[0].instance_type_specifications[0].ebs_block_devices[0].device #=> String
1838
1857
  # resp.instance_fleets[0].instance_type_specifications[0].ebs_optimized #=> Boolean
1839
1858
  # resp.instance_fleets[0].instance_type_specifications[0].custom_ami_id #=> String
@@ -1912,6 +1931,7 @@ module Aws::EMR
1912
1931
  # resp.instance_groups[0].ebs_block_devices[0].volume_specification.volume_type #=> String
1913
1932
  # resp.instance_groups[0].ebs_block_devices[0].volume_specification.iops #=> Integer
1914
1933
  # resp.instance_groups[0].ebs_block_devices[0].volume_specification.size_in_gb #=> Integer
1934
+ # resp.instance_groups[0].ebs_block_devices[0].volume_specification.throughput #=> Integer
1915
1935
  # resp.instance_groups[0].ebs_block_devices[0].device #=> String
1916
1936
  # resp.instance_groups[0].ebs_optimized #=> Boolean
1917
1937
  # resp.instance_groups[0].shrink_policy.decommission_timeout #=> Integer
@@ -2484,6 +2504,7 @@ module Aws::EMR
2484
2504
  # instance_termination_timeout: 1,
2485
2505
  # },
2486
2506
  # },
2507
+ # reconfiguration_type: "OVERWRITE", # accepts OVERWRITE, MERGE
2487
2508
  # configurations: [
2488
2509
  # {
2489
2510
  # classification: "String",
@@ -3139,6 +3160,11 @@ module Aws::EMR
3139
3160
  #
3140
3161
  # [1]: https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-plan-termination.html
3141
3162
  #
3163
+ # @option params [String] :os_release_label
3164
+ # Specifies a particular Amazon Linux release for all nodes in a cluster
3165
+ # launch RunJobFlow request. If a release is not specified, Amazon EMR
3166
+ # uses the latest validated Amazon Linux release for cluster launch.
3167
+ #
3142
3168
  # @return [Types::RunJobFlowOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3143
3169
  #
3144
3170
  # * {Types::RunJobFlowOutput#job_flow_id #job_flow_id} => String
@@ -3183,6 +3209,7 @@ module Aws::EMR
3183
3209
  # volume_type: "String", # required
3184
3210
  # iops: 1,
3185
3211
  # size_in_gb: 1, # required
3212
+ # throughput: 1,
3186
3213
  # },
3187
3214
  # volumes_per_instance: 1,
3188
3215
  # },
@@ -3249,6 +3276,7 @@ module Aws::EMR
3249
3276
  # volume_type: "String", # required
3250
3277
  # iops: 1,
3251
3278
  # size_in_gb: 1, # required
3279
+ # throughput: 1,
3252
3280
  # },
3253
3281
  # volumes_per_instance: 1,
3254
3282
  # },
@@ -3398,6 +3426,7 @@ module Aws::EMR
3398
3426
  # auto_termination_policy: {
3399
3427
  # idle_timeout: 1,
3400
3428
  # },
3429
+ # os_release_label: "XmlStringMaxLen256",
3401
3430
  # })
3402
3431
  #
3403
3432
  # @example Response structure
@@ -3766,7 +3795,7 @@ module Aws::EMR
3766
3795
  params: params,
3767
3796
  config: config)
3768
3797
  context[:gem_name] = 'aws-sdk-emr'
3769
- context[:gem_version] = '1.59.0'
3798
+ context[:gem_version] = '1.62.0'
3770
3799
  Seahorse::Client::Request.new(handlers, context)
3771
3800
  end
3772
3801
 
@@ -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')
@@ -335,6 +339,7 @@ module Aws::EMR
335
339
 
336
340
  AddJobFlowStepsInput.add_member(:job_flow_id, Shapes::ShapeRef.new(shape: XmlStringMaxLen256, required: true, location_name: "JobFlowId"))
337
341
  AddJobFlowStepsInput.add_member(:steps, Shapes::ShapeRef.new(shape: StepConfigList, required: true, location_name: "Steps"))
342
+ AddJobFlowStepsInput.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: ArnType, location_name: "ExecutionRoleArn"))
338
343
  AddJobFlowStepsInput.struct_class = Types::AddJobFlowStepsInput
339
344
 
340
345
  AddJobFlowStepsOutput.add_member(:step_ids, Shapes::ShapeRef.new(shape: StepIdsList, location_name: "StepIds"))
@@ -449,6 +454,7 @@ module Aws::EMR
449
454
  Cluster.add_member(:outpost_arn, Shapes::ShapeRef.new(shape: OptionalArnType, location_name: "OutpostArn"))
450
455
  Cluster.add_member(:step_concurrency_level, Shapes::ShapeRef.new(shape: Integer, location_name: "StepConcurrencyLevel"))
451
456
  Cluster.add_member(:placement_groups, Shapes::ShapeRef.new(shape: PlacementGroupConfigList, location_name: "PlacementGroups"))
457
+ Cluster.add_member(:os_release_label, Shapes::ShapeRef.new(shape: String, location_name: "OSReleaseLabel"))
452
458
  Cluster.struct_class = Types::Cluster
453
459
 
454
460
  ClusterStateChangeReason.add_member(:code, Shapes::ShapeRef.new(shape: ClusterStateChangeReasonCode, location_name: "Code"))
@@ -575,6 +581,7 @@ module Aws::EMR
575
581
  DescribeReleaseLabelOutput.add_member(:release_label, Shapes::ShapeRef.new(shape: String, location_name: "ReleaseLabel"))
576
582
  DescribeReleaseLabelOutput.add_member(:applications, Shapes::ShapeRef.new(shape: SimplifiedApplicationList, location_name: "Applications"))
577
583
  DescribeReleaseLabelOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
584
+ DescribeReleaseLabelOutput.add_member(:available_os_releases, Shapes::ShapeRef.new(shape: OSReleaseList, location_name: "AvailableOSReleases"))
578
585
  DescribeReleaseLabelOutput.struct_class = Types::DescribeReleaseLabelOutput
579
586
 
580
587
  DescribeSecurityConfigurationInput.add_member(:name, Shapes::ShapeRef.new(shape: XmlString, required: true, location_name: "Name"))
@@ -808,6 +815,7 @@ module Aws::EMR
808
815
  InstanceGroupModifyConfig.add_member(:instance_count, Shapes::ShapeRef.new(shape: Integer, location_name: "InstanceCount"))
809
816
  InstanceGroupModifyConfig.add_member(:ec2_instance_ids_to_terminate, Shapes::ShapeRef.new(shape: EC2InstanceIdsToTerminateList, location_name: "EC2InstanceIdsToTerminate"))
810
817
  InstanceGroupModifyConfig.add_member(:shrink_policy, Shapes::ShapeRef.new(shape: ShrinkPolicy, location_name: "ShrinkPolicy"))
818
+ InstanceGroupModifyConfig.add_member(:reconfiguration_type, Shapes::ShapeRef.new(shape: ReconfigurationType, location_name: "ReconfigurationType"))
811
819
  InstanceGroupModifyConfig.add_member(:configurations, Shapes::ShapeRef.new(shape: ConfigurationList, location_name: "Configurations"))
812
820
  InstanceGroupModifyConfig.struct_class = Types::InstanceGroupModifyConfig
813
821
 
@@ -1111,6 +1119,11 @@ module Aws::EMR
1111
1119
 
1112
1120
  NotebookExecutionSummaryList.member = Shapes::ShapeRef.new(shape: NotebookExecutionSummary)
1113
1121
 
1122
+ OSRelease.add_member(:label, Shapes::ShapeRef.new(shape: String, location_name: "Label"))
1123
+ OSRelease.struct_class = Types::OSRelease
1124
+
1125
+ OSReleaseList.member = Shapes::ShapeRef.new(shape: OSRelease)
1126
+
1114
1127
  OnDemandCapacityReservationOptions.add_member(:usage_strategy, Shapes::ShapeRef.new(shape: OnDemandCapacityReservationUsageStrategy, location_name: "UsageStrategy"))
1115
1128
  OnDemandCapacityReservationOptions.add_member(:capacity_reservation_preference, Shapes::ShapeRef.new(shape: OnDemandCapacityReservationPreference, location_name: "CapacityReservationPreference"))
1116
1129
  OnDemandCapacityReservationOptions.add_member(:capacity_reservation_resource_group_arn, Shapes::ShapeRef.new(shape: XmlStringMaxLen256, location_name: "CapacityReservationResourceGroupArn"))
@@ -1218,6 +1231,7 @@ module Aws::EMR
1218
1231
  RunJobFlowInput.add_member(:managed_scaling_policy, Shapes::ShapeRef.new(shape: ManagedScalingPolicy, location_name: "ManagedScalingPolicy"))
1219
1232
  RunJobFlowInput.add_member(:placement_group_configs, Shapes::ShapeRef.new(shape: PlacementGroupConfigList, location_name: "PlacementGroupConfigs"))
1220
1233
  RunJobFlowInput.add_member(:auto_termination_policy, Shapes::ShapeRef.new(shape: AutoTerminationPolicy, location_name: "AutoTerminationPolicy"))
1234
+ RunJobFlowInput.add_member(:os_release_label, Shapes::ShapeRef.new(shape: XmlStringMaxLen256, location_name: "OSReleaseLabel"))
1221
1235
  RunJobFlowInput.struct_class = Types::RunJobFlowInput
1222
1236
 
1223
1237
  RunJobFlowOutput.add_member(:job_flow_id, Shapes::ShapeRef.new(shape: XmlStringMaxLen256, location_name: "JobFlowId"))
@@ -1321,6 +1335,7 @@ module Aws::EMR
1321
1335
  Step.add_member(:config, Shapes::ShapeRef.new(shape: HadoopStepConfig, location_name: "Config"))
1322
1336
  Step.add_member(:action_on_failure, Shapes::ShapeRef.new(shape: ActionOnFailure, location_name: "ActionOnFailure"))
1323
1337
  Step.add_member(:status, Shapes::ShapeRef.new(shape: StepStatus, location_name: "Status"))
1338
+ Step.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: OptionalArnType, location_name: "ExecutionRoleArn"))
1324
1339
  Step.struct_class = Types::Step
1325
1340
 
1326
1341
  StepConfig.add_member(:name, Shapes::ShapeRef.new(shape: XmlStringMaxLen256, required: true, location_name: "Name"))
@@ -1443,6 +1458,7 @@ module Aws::EMR
1443
1458
  VolumeSpecification.add_member(:volume_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "VolumeType"))
1444
1459
  VolumeSpecification.add_member(:iops, Shapes::ShapeRef.new(shape: Integer, location_name: "Iops"))
1445
1460
  VolumeSpecification.add_member(:size_in_gb, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "SizeInGB"))
1461
+ VolumeSpecification.add_member(:throughput, Shapes::ShapeRef.new(shape: ThroughputVal, location_name: "Throughput"))
1446
1462
  VolumeSpecification.struct_class = Types::VolumeSpecification
1447
1463
 
1448
1464
  XmlStringList.member = Shapes::ShapeRef.new(shape: XmlString)
@@ -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
  # },
@@ -258,6 +260,7 @@ module Aws::EMR
258
260
  # },
259
261
  # },
260
262
  # ],
263
+ # execution_role_arn: "ArnType",
261
264
  # }
262
265
  #
263
266
  # @!attribute [rw] job_flow_id
@@ -269,11 +272,23 @@ module Aws::EMR
269
272
  # A list of StepConfig to be executed by the job flow.
270
273
  # @return [Array<Types::StepConfig>]
271
274
  #
275
+ # @!attribute [rw] execution_role_arn
276
+ # The Amazon Resource Name (ARN) of the runtime role for a step on the
277
+ # cluster. The runtime role can be a cross-account IAM role. The
278
+ # runtime role ARN is a combination of account ID, role name, and role
279
+ # type using the following format:
280
+ # `arn:partition:service:region:account:resource`.
281
+ #
282
+ # For example, `arn:aws:iam::1234567890:role/ReadOnly` is a correctly
283
+ # formatted runtime role ARN.
284
+ # @return [String]
285
+ #
272
286
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/AddJobFlowStepsInput AWS API Documentation
273
287
  #
274
288
  class AddJobFlowStepsInput < Struct.new(
275
289
  :job_flow_id,
276
- :steps)
290
+ :steps,
291
+ :execution_role_arn)
277
292
  SENSITIVE = []
278
293
  include Aws::Structure
279
294
  end
@@ -1050,6 +1065,12 @@ module Aws::EMR
1050
1065
  # Placement group configured for an Amazon EMR cluster.
1051
1066
  # @return [Array<Types::PlacementGroupConfig>]
1052
1067
  #
1068
+ # @!attribute [rw] os_release_label
1069
+ # The Amazon Linux release specified in a cluster launch RunJobFlow
1070
+ # request. If no Amazon Linux release was specified, the default
1071
+ # Amazon Linux release is shown in the response.
1072
+ # @return [String]
1073
+ #
1053
1074
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/Cluster AWS API Documentation
1054
1075
  #
1055
1076
  class Cluster < Struct.new(
@@ -1082,7 +1103,8 @@ module Aws::EMR
1082
1103
  :cluster_arn,
1083
1104
  :outpost_arn,
1084
1105
  :step_concurrency_level,
1085
- :placement_groups)
1106
+ :placement_groups,
1107
+ :os_release_label)
1086
1108
  SENSITIVE = []
1087
1109
  include Aws::Structure
1088
1110
  end
@@ -1870,12 +1892,25 @@ module Aws::EMR
1870
1892
  # null.
1871
1893
  # @return [String]
1872
1894
  #
1895
+ # @!attribute [rw] available_os_releases
1896
+ # The list of available Amazon Linux release versions for an Amazon
1897
+ # EMR release. Contains a Label field that is formatted as shown in [
1898
+ # *Amazon Linux 2 Release Notes* ][1]. For example,
1899
+ # [2.0.20220218.1][2].
1900
+ #
1901
+ #
1902
+ #
1903
+ # [1]: https://docs.aws.amazon.com/AL2/latest/relnotes/relnotes-al2.html
1904
+ # [2]: https://docs.aws.amazon.com/AL2/latest/relnotes/relnotes-20220218.html
1905
+ # @return [Array<Types::OSRelease>]
1906
+ #
1873
1907
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DescribeReleaseLabelOutput AWS API Documentation
1874
1908
  #
1875
1909
  class DescribeReleaseLabelOutput < Struct.new(
1876
1910
  :release_label,
1877
1911
  :applications,
1878
- :next_token)
1912
+ :next_token,
1913
+ :available_os_releases)
1879
1914
  SENSITIVE = []
1880
1915
  include Aws::Structure
1881
1916
  end
@@ -1997,9 +2032,9 @@ module Aws::EMR
1997
2032
  # instance group.
1998
2033
  #
1999
2034
  # @!attribute [rw] volume_specification
2000
- # EBS volume specifications such as volume type, IOPS, and size (GiB)
2001
- # that will be requested for the EBS volume attached to an EC2
2002
- # instance in the cluster.
2035
+ # EBS volume specifications such as volume type, IOPS, size (GiB) and
2036
+ # throughput (MiB/s) that are requested for the EBS volume attached to
2037
+ # an EC2 instance in the cluster.
2003
2038
  # @return [Types::VolumeSpecification]
2004
2039
  #
2005
2040
  # @!attribute [rw] device
@@ -2016,7 +2051,7 @@ module Aws::EMR
2016
2051
  end
2017
2052
 
2018
2053
  # Configuration of requested EBS block device associated with the
2019
- # instance group with count of volumes that will be associated to every
2054
+ # instance group with count of volumes that are associated to every
2020
2055
  # instance.
2021
2056
  #
2022
2057
  # @note When making an API call, you may pass EbsBlockDeviceConfig
@@ -2027,19 +2062,20 @@ module Aws::EMR
2027
2062
  # volume_type: "String", # required
2028
2063
  # iops: 1,
2029
2064
  # size_in_gb: 1, # required
2065
+ # throughput: 1,
2030
2066
  # },
2031
2067
  # volumes_per_instance: 1,
2032
2068
  # }
2033
2069
  #
2034
2070
  # @!attribute [rw] volume_specification
2035
- # EBS volume specifications such as volume type, IOPS, and size (GiB)
2036
- # that will be requested for the EBS volume attached to an EC2
2037
- # instance in the cluster.
2071
+ # EBS volume specifications such as volume type, IOPS, size (GiB) and
2072
+ # throughput (MiB/s) that are requested for the EBS volume attached to
2073
+ # an EC2 instance in the cluster.
2038
2074
  # @return [Types::VolumeSpecification]
2039
2075
  #
2040
2076
  # @!attribute [rw] volumes_per_instance
2041
- # Number of EBS volumes with a specific volume configuration that will
2042
- # be associated with every instance in the instance group
2077
+ # Number of EBS volumes with a specific volume configuration that are
2078
+ # associated with every instance in the instance group
2043
2079
  # @return [Integer]
2044
2080
  #
2045
2081
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/EbsBlockDeviceConfig AWS API Documentation
@@ -2063,6 +2099,7 @@ module Aws::EMR
2063
2099
  # volume_type: "String", # required
2064
2100
  # iops: 1,
2065
2101
  # size_in_gb: 1, # required
2102
+ # throughput: 1,
2066
2103
  # },
2067
2104
  # volumes_per_instance: 1,
2068
2105
  # },
@@ -2756,6 +2793,7 @@ module Aws::EMR
2756
2793
  # volume_type: "String", # required
2757
2794
  # iops: 1,
2758
2795
  # size_in_gb: 1, # required
2796
+ # throughput: 1,
2759
2797
  # },
2760
2798
  # volumes_per_instance: 1,
2761
2799
  # },
@@ -3229,6 +3267,7 @@ module Aws::EMR
3229
3267
  # volume_type: "String", # required
3230
3268
  # iops: 1,
3231
3269
  # size_in_gb: 1, # required
3270
+ # throughput: 1,
3232
3271
  # },
3233
3272
  # volumes_per_instance: 1,
3234
3273
  # },
@@ -3452,6 +3491,7 @@ module Aws::EMR
3452
3491
  # instance_termination_timeout: 1,
3453
3492
  # },
3454
3493
  # },
3494
+ # reconfiguration_type: "OVERWRITE", # accepts OVERWRITE, MERGE
3455
3495
  # configurations: [
3456
3496
  # {
3457
3497
  # classification: "String",
@@ -3482,6 +3522,11 @@ module Aws::EMR
3482
3522
  # Policy for customizing shrink operations.
3483
3523
  # @return [Types::ShrinkPolicy]
3484
3524
  #
3525
+ # @!attribute [rw] reconfiguration_type
3526
+ # Type of reconfiguration requested. Valid values are MERGE and
3527
+ # OVERWRITE.
3528
+ # @return [String]
3529
+ #
3485
3530
  # @!attribute [rw] configurations
3486
3531
  # A list of new or modified configurations to apply for an instance
3487
3532
  # group.
@@ -3494,6 +3539,7 @@ module Aws::EMR
3494
3539
  :instance_count,
3495
3540
  :ec2_instance_ids_to_terminate,
3496
3541
  :shrink_policy,
3542
+ :reconfiguration_type,
3497
3543
  :configurations)
3498
3544
  SENSITIVE = []
3499
3545
  include Aws::Structure
@@ -3704,6 +3750,7 @@ module Aws::EMR
3704
3750
  # volume_type: "String", # required
3705
3751
  # iops: 1,
3706
3752
  # size_in_gb: 1, # required
3753
+ # throughput: 1,
3707
3754
  # },
3708
3755
  # volumes_per_instance: 1,
3709
3756
  # },
@@ -4090,6 +4137,7 @@ module Aws::EMR
4090
4137
  # volume_type: "String", # required
4091
4138
  # iops: 1,
4092
4139
  # size_in_gb: 1, # required
4140
+ # throughput: 1,
4093
4141
  # },
4094
4142
  # volumes_per_instance: 1,
4095
4143
  # },
@@ -4156,6 +4204,7 @@ module Aws::EMR
4156
4204
  # volume_type: "String", # required
4157
4205
  # iops: 1,
4158
4206
  # size_in_gb: 1, # required
4207
+ # throughput: 1,
4159
4208
  # },
4160
4209
  # volumes_per_instance: 1,
4161
4210
  # },
@@ -5313,6 +5362,7 @@ module Aws::EMR
5313
5362
  # instance_termination_timeout: 1,
5314
5363
  # },
5315
5364
  # },
5365
+ # reconfiguration_type: "OVERWRITE", # accepts OVERWRITE, MERGE
5316
5366
  # configurations: [
5317
5367
  # {
5318
5368
  # classification: "String",
@@ -5533,6 +5583,27 @@ module Aws::EMR
5533
5583
  include Aws::Structure
5534
5584
  end
5535
5585
 
5586
+ # The Amazon Linux release specified for a cluster in the RunJobFlow
5587
+ # request.
5588
+ #
5589
+ # @!attribute [rw] label
5590
+ # The Amazon Linux release specified for a cluster in the RunJobFlow
5591
+ # request. The format is as shown in [ *Amazon Linux 2 Release Notes*
5592
+ # ][1]. For example, 2.0.20220218.1.
5593
+ #
5594
+ #
5595
+ #
5596
+ # [1]: https://docs.aws.amazon.com/AL2/latest/relnotes/relnotes-20220218.html
5597
+ # @return [String]
5598
+ #
5599
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/OSRelease AWS API Documentation
5600
+ #
5601
+ class OSRelease < Struct.new(
5602
+ :label)
5603
+ SENSITIVE = []
5604
+ include Aws::Structure
5605
+ end
5606
+
5536
5607
  # Describes the strategy for using unused Capacity Reservations for
5537
5608
  # fulfilling On-Demand capacity.
5538
5609
  #
@@ -6140,6 +6211,7 @@ module Aws::EMR
6140
6211
  # volume_type: "String", # required
6141
6212
  # iops: 1,
6142
6213
  # size_in_gb: 1, # required
6214
+ # throughput: 1,
6143
6215
  # },
6144
6216
  # volumes_per_instance: 1,
6145
6217
  # },
@@ -6206,6 +6278,7 @@ module Aws::EMR
6206
6278
  # volume_type: "String", # required
6207
6279
  # iops: 1,
6208
6280
  # size_in_gb: 1, # required
6281
+ # throughput: 1,
6209
6282
  # },
6210
6283
  # volumes_per_instance: 1,
6211
6284
  # },
@@ -6355,6 +6428,7 @@ module Aws::EMR
6355
6428
  # auto_termination_policy: {
6356
6429
  # idle_timeout: 1,
6357
6430
  # },
6431
+ # os_release_label: "XmlStringMaxLen256",
6358
6432
  # }
6359
6433
  #
6360
6434
  # @!attribute [rw] name
@@ -6626,6 +6700,13 @@ module Aws::EMR
6626
6700
  # [1]: https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-plan-termination.html
6627
6701
  # @return [Types::AutoTerminationPolicy]
6628
6702
  #
6703
+ # @!attribute [rw] os_release_label
6704
+ # Specifies a particular Amazon Linux release for all nodes in a
6705
+ # cluster launch RunJobFlow request. If a release is not specified,
6706
+ # Amazon EMR uses the latest validated Amazon Linux release for
6707
+ # cluster launch.
6708
+ # @return [String]
6709
+ #
6629
6710
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/RunJobFlowInput AWS API Documentation
6630
6711
  #
6631
6712
  class RunJobFlowInput < Struct.new(
@@ -6656,7 +6737,8 @@ module Aws::EMR
6656
6737
  :step_concurrency_level,
6657
6738
  :managed_scaling_policy,
6658
6739
  :placement_group_configs,
6659
- :auto_termination_policy)
6740
+ :auto_termination_policy,
6741
+ :os_release_label)
6660
6742
  SENSITIVE = []
6661
6743
  include Aws::Structure
6662
6744
  end
@@ -7401,6 +7483,17 @@ module Aws::EMR
7401
7483
  # The current execution status details of the cluster step.
7402
7484
  # @return [Types::StepStatus]
7403
7485
  #
7486
+ # @!attribute [rw] execution_role_arn
7487
+ # The Amazon Resource Name (ARN) of the runtime role for a step on the
7488
+ # cluster. The runtime role can be a cross-account IAM role. The
7489
+ # runtime role ARN is a combination of account ID, role name, and role
7490
+ # type using the following format:
7491
+ # `arn:partition:service:region:account:resource`.
7492
+ #
7493
+ # For example, `arn:aws:iam::1234567890:role/ReadOnly` is a correctly
7494
+ # formatted runtime role ARN.
7495
+ # @return [String]
7496
+ #
7404
7497
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/Step AWS API Documentation
7405
7498
  #
7406
7499
  class Step < Struct.new(
@@ -7408,7 +7501,8 @@ module Aws::EMR
7408
7501
  :name,
7409
7502
  :config,
7410
7503
  :action_on_failure,
7411
- :status)
7504
+ :status,
7505
+ :execution_role_arn)
7412
7506
  SENSITIVE = []
7413
7507
  include Aws::Structure
7414
7508
  end
@@ -8022,9 +8116,9 @@ module Aws::EMR
8022
8116
  include Aws::Structure
8023
8117
  end
8024
8118
 
8025
- # EBS volume specifications such as volume type, IOPS, and size (GiB)
8026
- # that will be requested for the EBS volume attached to an EC2 instance
8027
- # in the cluster.
8119
+ # EBS volume specifications such as volume type, IOPS, size (GiB) and
8120
+ # throughput (MiB/s) that are requested for the EBS volume attached to
8121
+ # an EC2 instance in the cluster.
8028
8122
  #
8029
8123
  # @note When making an API call, you may pass VolumeSpecification
8030
8124
  # data as a hash:
@@ -8033,6 +8127,7 @@ module Aws::EMR
8033
8127
  # volume_type: "String", # required
8034
8128
  # iops: 1,
8035
8129
  # size_in_gb: 1, # required
8130
+ # throughput: 1,
8036
8131
  # }
8037
8132
  #
8038
8133
  # @!attribute [rw] volume_type
@@ -8049,12 +8144,19 @@ module Aws::EMR
8049
8144
  # 1024. If the volume type is EBS-optimized, the minimum value is 10.
8050
8145
  # @return [Integer]
8051
8146
  #
8147
+ # @!attribute [rw] throughput
8148
+ # The throughput, in mebibyte per second (MiB/s). This optional
8149
+ # parameter can be a number from 125 - 1000 and is valid only for gp3
8150
+ # volumes.
8151
+ # @return [Integer]
8152
+ #
8052
8153
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/VolumeSpecification AWS API Documentation
8053
8154
  #
8054
8155
  class VolumeSpecification < Struct.new(
8055
8156
  :volume_type,
8056
8157
  :iops,
8057
- :size_in_gb)
8158
+ :size_in_gb,
8159
+ :throughput)
8058
8160
  SENSITIVE = []
8059
8161
  include Aws::Structure
8060
8162
  end
data/lib/aws-sdk-emr.rb CHANGED
@@ -49,6 +49,6 @@ require_relative 'aws-sdk-emr/customizations'
49
49
  # @!group service
50
50
  module Aws::EMR
51
51
 
52
- GEM_VERSION = '1.59.0'
52
+ GEM_VERSION = '1.62.0'
53
53
 
54
54
  end
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.59.0
4
+ version: 1.62.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-02-24 00:00:00.000000000 Z
11
+ date: 2022-06-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core