aws-sdk-emr 1.59.0 → 1.60.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 22fc9b34883dcb051197c34bd887ad857e199c1b32e26b7b3d9a83e2a154b7ee
4
- data.tar.gz: 1488a0f592d5cd90d6765eb0f22692ef9ea82e129d859a020d4396dd9e3d5785
3
+ metadata.gz: d97fd499ce869c43c43ff2bae3795044a20a273b6863739956ad8d1df2d9d808
4
+ data.tar.gz: 18a5accfdb83ba4f17288130f8b710d470972ebcffa6118903df6acac79daf9a
5
5
  SHA512:
6
- metadata.gz: 482e86c54e63acc0ac2bf25dd941fe8c12757689d7de509130cb4ea152314e5027c4528ea4b180bae892beeb0ac0f02393791e4c589466c13bc7877a6b8a9abf
7
- data.tar.gz: '0096b11659c46053b2998ac6b4f3598189fe7f1e7444d99eaa8f16fecf044b9d2ff4607b1ab884cfee73ffc6f8559e254628f52fcf1202891c32cd0ab1be1a1b'
6
+ metadata.gz: b56c188d402eac9efe4eb37d95acb6c5d5945a1b83f99dea206eb6a32e61fe6d577a4c5b702c5c86f6222dfda3de0de613568bc8442b2e6bb2b2889cff2feec7
7
+ data.tar.gz: 2ae3656c406d2519b21a11f974480546b88f795015a0fdb3b473974e081421c2a3093318158bfd1f00b1e17a6b4dbbb3e9594111465be8f350141733313bd98a
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.60.0 (2022-05-10)
5
+ ------------------
6
+
7
+ * 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.
8
+
4
9
  1.59.0 (2022-02-24)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.59.0
1
+ 1.60.0
@@ -1145,6 +1145,7 @@ module Aws::EMR
1145
1145
  # resp.cluster.placement_groups #=> Array
1146
1146
  # resp.cluster.placement_groups[0].instance_role #=> String, one of "MASTER", "CORE", "TASK"
1147
1147
  # resp.cluster.placement_groups[0].placement_strategy #=> String, one of "SPREAD", "PARTITION", "CLUSTER", "NONE"
1148
+ # resp.cluster.os_release_label #=> String
1148
1149
  #
1149
1150
  #
1150
1151
  # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
@@ -1352,6 +1353,7 @@ module Aws::EMR
1352
1353
  # * {Types::DescribeReleaseLabelOutput#release_label #release_label} => String
1353
1354
  # * {Types::DescribeReleaseLabelOutput#applications #applications} => Array<Types::SimplifiedApplication>
1354
1355
  # * {Types::DescribeReleaseLabelOutput#next_token #next_token} => String
1356
+ # * {Types::DescribeReleaseLabelOutput#available_os_releases #available_os_releases} => Array<Types::OSRelease>
1355
1357
  #
1356
1358
  # @example Request syntax with placeholder values
1357
1359
  #
@@ -1368,6 +1370,8 @@ module Aws::EMR
1368
1370
  # resp.applications[0].name #=> String
1369
1371
  # resp.applications[0].version #=> String
1370
1372
  # resp.next_token #=> String
1373
+ # resp.available_os_releases #=> Array
1374
+ # resp.available_os_releases[0].label #=> String
1371
1375
  #
1372
1376
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DescribeReleaseLabel AWS API Documentation
1373
1377
  #
@@ -2484,6 +2488,7 @@ module Aws::EMR
2484
2488
  # instance_termination_timeout: 1,
2485
2489
  # },
2486
2490
  # },
2491
+ # reconfiguration_type: "OVERWRITE", # accepts OVERWRITE, MERGE
2487
2492
  # configurations: [
2488
2493
  # {
2489
2494
  # classification: "String",
@@ -3139,6 +3144,11 @@ module Aws::EMR
3139
3144
  #
3140
3145
  # [1]: https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-plan-termination.html
3141
3146
  #
3147
+ # @option params [String] :os_release_label
3148
+ # Specifies a particular Amazon Linux release for all nodes in a cluster
3149
+ # launch RunJobFlow request. If a release is not specified, Amazon EMR
3150
+ # uses the latest validated Amazon Linux release for cluster launch.
3151
+ #
3142
3152
  # @return [Types::RunJobFlowOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3143
3153
  #
3144
3154
  # * {Types::RunJobFlowOutput#job_flow_id #job_flow_id} => String
@@ -3398,6 +3408,7 @@ module Aws::EMR
3398
3408
  # auto_termination_policy: {
3399
3409
  # idle_timeout: 1,
3400
3410
  # },
3411
+ # os_release_label: "XmlStringMaxLen256",
3401
3412
  # })
3402
3413
  #
3403
3414
  # @example Response structure
@@ -3766,7 +3777,7 @@ module Aws::EMR
3766
3777
  params: params,
3767
3778
  config: config)
3768
3779
  context[:gem_name] = 'aws-sdk-emr'
3769
- context[:gem_version] = '1.59.0'
3780
+ context[:gem_version] = '1.60.0'
3770
3781
  Seahorse::Client::Request.new(handlers, context)
3771
3782
  end
3772
3783
 
@@ -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')
@@ -449,6 +452,7 @@ module Aws::EMR
449
452
  Cluster.add_member(:outpost_arn, Shapes::ShapeRef.new(shape: OptionalArnType, location_name: "OutpostArn"))
450
453
  Cluster.add_member(:step_concurrency_level, Shapes::ShapeRef.new(shape: Integer, location_name: "StepConcurrencyLevel"))
451
454
  Cluster.add_member(:placement_groups, Shapes::ShapeRef.new(shape: PlacementGroupConfigList, location_name: "PlacementGroups"))
455
+ Cluster.add_member(:os_release_label, Shapes::ShapeRef.new(shape: String, location_name: "OSReleaseLabel"))
452
456
  Cluster.struct_class = Types::Cluster
453
457
 
454
458
  ClusterStateChangeReason.add_member(:code, Shapes::ShapeRef.new(shape: ClusterStateChangeReasonCode, location_name: "Code"))
@@ -575,6 +579,7 @@ module Aws::EMR
575
579
  DescribeReleaseLabelOutput.add_member(:release_label, Shapes::ShapeRef.new(shape: String, location_name: "ReleaseLabel"))
576
580
  DescribeReleaseLabelOutput.add_member(:applications, Shapes::ShapeRef.new(shape: SimplifiedApplicationList, location_name: "Applications"))
577
581
  DescribeReleaseLabelOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
582
+ DescribeReleaseLabelOutput.add_member(:available_os_releases, Shapes::ShapeRef.new(shape: OSReleaseList, location_name: "AvailableOSReleases"))
578
583
  DescribeReleaseLabelOutput.struct_class = Types::DescribeReleaseLabelOutput
579
584
 
580
585
  DescribeSecurityConfigurationInput.add_member(:name, Shapes::ShapeRef.new(shape: XmlString, required: true, location_name: "Name"))
@@ -808,6 +813,7 @@ module Aws::EMR
808
813
  InstanceGroupModifyConfig.add_member(:instance_count, Shapes::ShapeRef.new(shape: Integer, location_name: "InstanceCount"))
809
814
  InstanceGroupModifyConfig.add_member(:ec2_instance_ids_to_terminate, Shapes::ShapeRef.new(shape: EC2InstanceIdsToTerminateList, location_name: "EC2InstanceIdsToTerminate"))
810
815
  InstanceGroupModifyConfig.add_member(:shrink_policy, Shapes::ShapeRef.new(shape: ShrinkPolicy, location_name: "ShrinkPolicy"))
816
+ InstanceGroupModifyConfig.add_member(:reconfiguration_type, Shapes::ShapeRef.new(shape: ReconfigurationType, location_name: "ReconfigurationType"))
811
817
  InstanceGroupModifyConfig.add_member(:configurations, Shapes::ShapeRef.new(shape: ConfigurationList, location_name: "Configurations"))
812
818
  InstanceGroupModifyConfig.struct_class = Types::InstanceGroupModifyConfig
813
819
 
@@ -1111,6 +1117,11 @@ module Aws::EMR
1111
1117
 
1112
1118
  NotebookExecutionSummaryList.member = Shapes::ShapeRef.new(shape: NotebookExecutionSummary)
1113
1119
 
1120
+ OSRelease.add_member(:label, Shapes::ShapeRef.new(shape: String, location_name: "Label"))
1121
+ OSRelease.struct_class = Types::OSRelease
1122
+
1123
+ OSReleaseList.member = Shapes::ShapeRef.new(shape: OSRelease)
1124
+
1114
1125
  OnDemandCapacityReservationOptions.add_member(:usage_strategy, Shapes::ShapeRef.new(shape: OnDemandCapacityReservationUsageStrategy, location_name: "UsageStrategy"))
1115
1126
  OnDemandCapacityReservationOptions.add_member(:capacity_reservation_preference, Shapes::ShapeRef.new(shape: OnDemandCapacityReservationPreference, location_name: "CapacityReservationPreference"))
1116
1127
  OnDemandCapacityReservationOptions.add_member(:capacity_reservation_resource_group_arn, Shapes::ShapeRef.new(shape: XmlStringMaxLen256, location_name: "CapacityReservationResourceGroupArn"))
@@ -1218,6 +1229,7 @@ module Aws::EMR
1218
1229
  RunJobFlowInput.add_member(:managed_scaling_policy, Shapes::ShapeRef.new(shape: ManagedScalingPolicy, location_name: "ManagedScalingPolicy"))
1219
1230
  RunJobFlowInput.add_member(:placement_group_configs, Shapes::ShapeRef.new(shape: PlacementGroupConfigList, location_name: "PlacementGroupConfigs"))
1220
1231
  RunJobFlowInput.add_member(:auto_termination_policy, Shapes::ShapeRef.new(shape: AutoTerminationPolicy, location_name: "AutoTerminationPolicy"))
1232
+ RunJobFlowInput.add_member(:os_release_label, Shapes::ShapeRef.new(shape: XmlStringMaxLen256, location_name: "OSReleaseLabel"))
1221
1233
  RunJobFlowInput.struct_class = Types::RunJobFlowInput
1222
1234
 
1223
1235
  RunJobFlowOutput.add_member(:job_flow_id, Shapes::ShapeRef.new(shape: XmlStringMaxLen256, location_name: "JobFlowId"))
@@ -1050,6 +1050,12 @@ module Aws::EMR
1050
1050
  # Placement group configured for an Amazon EMR cluster.
1051
1051
  # @return [Array<Types::PlacementGroupConfig>]
1052
1052
  #
1053
+ # @!attribute [rw] os_release_label
1054
+ # The Amazon Linux release specified in a cluster launch RunJobFlow
1055
+ # request. If no Amazon Linux release was specified, the default
1056
+ # Amazon Linux release is shown in the response.
1057
+ # @return [String]
1058
+ #
1053
1059
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/Cluster AWS API Documentation
1054
1060
  #
1055
1061
  class Cluster < Struct.new(
@@ -1082,7 +1088,8 @@ module Aws::EMR
1082
1088
  :cluster_arn,
1083
1089
  :outpost_arn,
1084
1090
  :step_concurrency_level,
1085
- :placement_groups)
1091
+ :placement_groups,
1092
+ :os_release_label)
1086
1093
  SENSITIVE = []
1087
1094
  include Aws::Structure
1088
1095
  end
@@ -1870,12 +1877,25 @@ module Aws::EMR
1870
1877
  # null.
1871
1878
  # @return [String]
1872
1879
  #
1880
+ # @!attribute [rw] available_os_releases
1881
+ # The list of available Amazon Linux release versions for an Amazon
1882
+ # EMR release. Contains a Label field that is formatted as shown in [
1883
+ # *Amazon Linux 2 Release Notes* ][1]. For example,
1884
+ # [2.0.20220218.1][2].
1885
+ #
1886
+ #
1887
+ #
1888
+ # [1]: https://docs.aws.amazon.com/AL2/latest/relnotes/relnotes-al2.html
1889
+ # [2]: https://docs.aws.amazon.com/AL2/latest/relnotes/relnotes-20220218.html
1890
+ # @return [Array<Types::OSRelease>]
1891
+ #
1873
1892
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DescribeReleaseLabelOutput AWS API Documentation
1874
1893
  #
1875
1894
  class DescribeReleaseLabelOutput < Struct.new(
1876
1895
  :release_label,
1877
1896
  :applications,
1878
- :next_token)
1897
+ :next_token,
1898
+ :available_os_releases)
1879
1899
  SENSITIVE = []
1880
1900
  include Aws::Structure
1881
1901
  end
@@ -3452,6 +3472,7 @@ module Aws::EMR
3452
3472
  # instance_termination_timeout: 1,
3453
3473
  # },
3454
3474
  # },
3475
+ # reconfiguration_type: "OVERWRITE", # accepts OVERWRITE, MERGE
3455
3476
  # configurations: [
3456
3477
  # {
3457
3478
  # classification: "String",
@@ -3482,6 +3503,11 @@ module Aws::EMR
3482
3503
  # Policy for customizing shrink operations.
3483
3504
  # @return [Types::ShrinkPolicy]
3484
3505
  #
3506
+ # @!attribute [rw] reconfiguration_type
3507
+ # Type of reconfiguration requested. Valid values are MERGE and
3508
+ # OVERWRITE.
3509
+ # @return [String]
3510
+ #
3485
3511
  # @!attribute [rw] configurations
3486
3512
  # A list of new or modified configurations to apply for an instance
3487
3513
  # group.
@@ -3494,6 +3520,7 @@ module Aws::EMR
3494
3520
  :instance_count,
3495
3521
  :ec2_instance_ids_to_terminate,
3496
3522
  :shrink_policy,
3523
+ :reconfiguration_type,
3497
3524
  :configurations)
3498
3525
  SENSITIVE = []
3499
3526
  include Aws::Structure
@@ -5313,6 +5340,7 @@ module Aws::EMR
5313
5340
  # instance_termination_timeout: 1,
5314
5341
  # },
5315
5342
  # },
5343
+ # reconfiguration_type: "OVERWRITE", # accepts OVERWRITE, MERGE
5316
5344
  # configurations: [
5317
5345
  # {
5318
5346
  # classification: "String",
@@ -5533,6 +5561,27 @@ module Aws::EMR
5533
5561
  include Aws::Structure
5534
5562
  end
5535
5563
 
5564
+ # The Amazon Linux release specified for a cluster in the RunJobFlow
5565
+ # request.
5566
+ #
5567
+ # @!attribute [rw] label
5568
+ # The Amazon Linux release specified for a cluster in the RunJobFlow
5569
+ # request. The format is as shown in [ *Amazon Linux 2 Release Notes*
5570
+ # ][1]. For example, 2.0.20220218.1.
5571
+ #
5572
+ #
5573
+ #
5574
+ # [1]: https://docs.aws.amazon.com/AL2/latest/relnotes/relnotes-20220218.html
5575
+ # @return [String]
5576
+ #
5577
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/OSRelease AWS API Documentation
5578
+ #
5579
+ class OSRelease < Struct.new(
5580
+ :label)
5581
+ SENSITIVE = []
5582
+ include Aws::Structure
5583
+ end
5584
+
5536
5585
  # Describes the strategy for using unused Capacity Reservations for
5537
5586
  # fulfilling On-Demand capacity.
5538
5587
  #
@@ -6355,6 +6404,7 @@ module Aws::EMR
6355
6404
  # auto_termination_policy: {
6356
6405
  # idle_timeout: 1,
6357
6406
  # },
6407
+ # os_release_label: "XmlStringMaxLen256",
6358
6408
  # }
6359
6409
  #
6360
6410
  # @!attribute [rw] name
@@ -6626,6 +6676,13 @@ module Aws::EMR
6626
6676
  # [1]: https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-plan-termination.html
6627
6677
  # @return [Types::AutoTerminationPolicy]
6628
6678
  #
6679
+ # @!attribute [rw] os_release_label
6680
+ # Specifies a particular Amazon Linux release for all nodes in a
6681
+ # cluster launch RunJobFlow request. If a release is not specified,
6682
+ # Amazon EMR uses the latest validated Amazon Linux release for
6683
+ # cluster launch.
6684
+ # @return [String]
6685
+ #
6629
6686
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/RunJobFlowInput AWS API Documentation
6630
6687
  #
6631
6688
  class RunJobFlowInput < Struct.new(
@@ -6656,7 +6713,8 @@ module Aws::EMR
6656
6713
  :step_concurrency_level,
6657
6714
  :managed_scaling_policy,
6658
6715
  :placement_group_configs,
6659
- :auto_termination_policy)
6716
+ :auto_termination_policy,
6717
+ :os_release_label)
6660
6718
  SENSITIVE = []
6661
6719
  include Aws::Structure
6662
6720
  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.60.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.60.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-05-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core