aws-sdk-emr 1.20.0 → 1.21.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 +1 -1
- data/lib/aws-sdk-emr/client.rb +88 -3
- data/lib/aws-sdk-emr/client_api.rb +55 -0
- data/lib/aws-sdk-emr/types.rb +204 -25
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eb62eee6688595ef4d0c9da0102f4ea13b17912a
|
4
|
+
data.tar.gz: 2b575b748d609944099be0a37fd77ae9ffb57cbb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b5defed5c7b735037a239a48a547c92dd7de610f5646511a17cdef83c408f091e7ddc73bf99e0e1edf94d21438c2d03b335847e3cb7a9f601eab802a2fa187c7
|
7
|
+
data.tar.gz: 11797a340d5bb3a8d34c7714014e6b8a7a67c3ea0aa7e5ff2f204be7a3c951449de7341c1deb812b037a899e03f0e54a450c51b9ef0938c29b88f3301ac3d4ae
|
data/lib/aws-sdk-emr.rb
CHANGED
data/lib/aws-sdk-emr/client.rb
CHANGED
@@ -973,6 +973,38 @@ module Aws::EMR
|
|
973
973
|
req.send_request(options)
|
974
974
|
end
|
975
975
|
|
976
|
+
# Returns the Amazon EMR block public access configuration for your AWS
|
977
|
+
# account in the current Region. For more information see [Configure
|
978
|
+
# Block Public Access for Amazon EMR][1] in the *Amazon EMR Management
|
979
|
+
# Guide*.
|
980
|
+
#
|
981
|
+
#
|
982
|
+
#
|
983
|
+
# [1]: https://docs.aws.amazon.com/emr/latest/ManagementGuide/configure-block-public-access.html
|
984
|
+
#
|
985
|
+
# @return [Types::GetBlockPublicAccessConfigurationOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
986
|
+
#
|
987
|
+
# * {Types::GetBlockPublicAccessConfigurationOutput#block_public_access_configuration #block_public_access_configuration} => Types::BlockPublicAccessConfiguration
|
988
|
+
# * {Types::GetBlockPublicAccessConfigurationOutput#block_public_access_configuration_metadata #block_public_access_configuration_metadata} => Types::BlockPublicAccessConfigurationMetadata
|
989
|
+
#
|
990
|
+
# @example Response structure
|
991
|
+
#
|
992
|
+
# resp.block_public_access_configuration.block_public_security_group_rules #=> Boolean
|
993
|
+
# resp.block_public_access_configuration.permitted_public_security_group_rule_ranges #=> Array
|
994
|
+
# resp.block_public_access_configuration.permitted_public_security_group_rule_ranges[0].min_range #=> Integer
|
995
|
+
# resp.block_public_access_configuration.permitted_public_security_group_rule_ranges[0].max_range #=> Integer
|
996
|
+
# resp.block_public_access_configuration_metadata.creation_date_time #=> Time
|
997
|
+
# resp.block_public_access_configuration_metadata.created_by_arn #=> String
|
998
|
+
#
|
999
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/GetBlockPublicAccessConfiguration AWS API Documentation
|
1000
|
+
#
|
1001
|
+
# @overload get_block_public_access_configuration(params = {})
|
1002
|
+
# @param [Hash] params ({})
|
1003
|
+
def get_block_public_access_configuration(params = {}, options = {})
|
1004
|
+
req = build_request(:get_block_public_access_configuration, params)
|
1005
|
+
req.send_request(options)
|
1006
|
+
end
|
1007
|
+
|
976
1008
|
# Provides information about the bootstrap actions associated with a
|
977
1009
|
# cluster.
|
978
1010
|
#
|
@@ -1614,6 +1646,53 @@ module Aws::EMR
|
|
1614
1646
|
req.send_request(options)
|
1615
1647
|
end
|
1616
1648
|
|
1649
|
+
# Creates or updates an Amazon EMR block public access configuration for
|
1650
|
+
# your AWS account in the current Region. For more information see
|
1651
|
+
# [Configure Block Public Access for Amazon EMR][1] in the *Amazon EMR
|
1652
|
+
# Management Guide*.
|
1653
|
+
#
|
1654
|
+
#
|
1655
|
+
#
|
1656
|
+
# [1]: https://docs.aws.amazon.com/emr/latest/ManagementGuide/configure-block-public-access.html
|
1657
|
+
#
|
1658
|
+
# @option params [required, Types::BlockPublicAccessConfiguration] :block_public_access_configuration
|
1659
|
+
# A configuration for Amazon EMR block public access. The configuration
|
1660
|
+
# applies to all clusters created in your account for the current
|
1661
|
+
# Region. The configuration specifies whether block public access is
|
1662
|
+
# enabled. If block public access is enabled, security groups associated
|
1663
|
+
# with the cluster cannot have rules that allow inbound traffic from
|
1664
|
+
# 0.0.0.0/0 or ::/0 on a port, unless the port is specified as an
|
1665
|
+
# exception using `PermittedPublicSecurityGroupRuleRanges` in the
|
1666
|
+
# `BlockPublicAccessConfiguration`. By default, Port 22 (SSH) is an
|
1667
|
+
# exception, and public access is allowed on this port. You can change
|
1668
|
+
# this by updating `BlockPublicSecurityGroupRules` to remove the
|
1669
|
+
# exception.
|
1670
|
+
#
|
1671
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1672
|
+
#
|
1673
|
+
# @example Request syntax with placeholder values
|
1674
|
+
#
|
1675
|
+
# resp = client.put_block_public_access_configuration({
|
1676
|
+
# block_public_access_configuration: { # required
|
1677
|
+
# block_public_security_group_rules: false, # required
|
1678
|
+
# permitted_public_security_group_rule_ranges: [
|
1679
|
+
# {
|
1680
|
+
# min_range: 1, # required
|
1681
|
+
# max_range: 1,
|
1682
|
+
# },
|
1683
|
+
# ],
|
1684
|
+
# },
|
1685
|
+
# })
|
1686
|
+
#
|
1687
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/PutBlockPublicAccessConfiguration AWS API Documentation
|
1688
|
+
#
|
1689
|
+
# @overload put_block_public_access_configuration(params = {})
|
1690
|
+
# @param [Hash] params ({})
|
1691
|
+
def put_block_public_access_configuration(params = {}, options = {})
|
1692
|
+
req = build_request(:put_block_public_access_configuration, params)
|
1693
|
+
req.send_request(options)
|
1694
|
+
end
|
1695
|
+
|
1617
1696
|
# Removes an automatic scaling policy from a specified instance group
|
1618
1697
|
# within an EMR cluster.
|
1619
1698
|
#
|
@@ -1736,11 +1815,11 @@ module Aws::EMR
|
|
1736
1815
|
# The Amazon EMR release label, which determines the version of
|
1737
1816
|
# open-source application packages installed on the cluster. Release
|
1738
1817
|
# labels are in the form `emr-x.x.x`, where x.x.x is an Amazon EMR
|
1739
|
-
# release version
|
1818
|
+
# release version such as `emr-5.14.0`. For more information about
|
1740
1819
|
# Amazon EMR release versions and included application versions and
|
1741
1820
|
# features, see
|
1742
1821
|
# [https://docs.aws.amazon.com/emr/latest/ReleaseGuide/][1]. The release
|
1743
|
-
# label applies only to Amazon EMR releases
|
1822
|
+
# label applies only to Amazon EMR releases version 4.0 and later.
|
1744
1823
|
# Earlier versions use `AmiVersion`.
|
1745
1824
|
#
|
1746
1825
|
#
|
@@ -1827,6 +1906,8 @@ module Aws::EMR
|
|
1827
1906
|
# supplied for the EMR cluster you are creating.
|
1828
1907
|
#
|
1829
1908
|
# @option params [Boolean] :visible_to_all_users
|
1909
|
+
# *This member will be deprecated.*
|
1910
|
+
#
|
1830
1911
|
# Whether the cluster is visible to all IAM users of the AWS account
|
1831
1912
|
# associated with the cluster. If this value is set to `true`, all IAM
|
1832
1913
|
# users of that AWS account can view and (if they have the proper policy
|
@@ -2209,6 +2290,8 @@ module Aws::EMR
|
|
2209
2290
|
req.send_request(options)
|
2210
2291
|
end
|
2211
2292
|
|
2293
|
+
# *This member will be deprecated.*
|
2294
|
+
#
|
2212
2295
|
# Sets whether all AWS Identity and Access Management (IAM) users under
|
2213
2296
|
# your account can access the specified clusters (job flows). This
|
2214
2297
|
# action works on running clusters. You can also set the visibility of a
|
@@ -2221,6 +2304,8 @@ module Aws::EMR
|
|
2221
2304
|
# Identifiers of the job flows to receive the new visibility setting.
|
2222
2305
|
#
|
2223
2306
|
# @option params [required, Boolean] :visible_to_all_users
|
2307
|
+
# *This member will be deprecated.*
|
2308
|
+
#
|
2224
2309
|
# Whether the specified clusters are visible to all IAM users of the AWS
|
2225
2310
|
# account associated with the cluster. If this value is set to True, all
|
2226
2311
|
# IAM users of that AWS account can view and, if they have the proper
|
@@ -2291,7 +2376,7 @@ module Aws::EMR
|
|
2291
2376
|
params: params,
|
2292
2377
|
config: config)
|
2293
2378
|
context[:gem_name] = 'aws-sdk-emr'
|
2294
|
-
context[:gem_version] = '1.
|
2379
|
+
context[:gem_version] = '1.21.0'
|
2295
2380
|
Seahorse::Client::Request.new(handlers, context)
|
2296
2381
|
end
|
2297
2382
|
|
@@ -23,12 +23,15 @@ module Aws::EMR
|
|
23
23
|
AdjustmentType = Shapes::StringShape.new(name: 'AdjustmentType')
|
24
24
|
Application = Shapes::StructureShape.new(name: 'Application')
|
25
25
|
ApplicationList = Shapes::ListShape.new(name: 'ApplicationList')
|
26
|
+
ArnType = Shapes::StringShape.new(name: 'ArnType')
|
26
27
|
AutoScalingPolicy = Shapes::StructureShape.new(name: 'AutoScalingPolicy')
|
27
28
|
AutoScalingPolicyDescription = Shapes::StructureShape.new(name: 'AutoScalingPolicyDescription')
|
28
29
|
AutoScalingPolicyState = Shapes::StringShape.new(name: 'AutoScalingPolicyState')
|
29
30
|
AutoScalingPolicyStateChangeReason = Shapes::StructureShape.new(name: 'AutoScalingPolicyStateChangeReason')
|
30
31
|
AutoScalingPolicyStateChangeReasonCode = Shapes::StringShape.new(name: 'AutoScalingPolicyStateChangeReasonCode')
|
31
32
|
AutoScalingPolicyStatus = Shapes::StructureShape.new(name: 'AutoScalingPolicyStatus')
|
33
|
+
BlockPublicAccessConfiguration = Shapes::StructureShape.new(name: 'BlockPublicAccessConfiguration')
|
34
|
+
BlockPublicAccessConfigurationMetadata = Shapes::StructureShape.new(name: 'BlockPublicAccessConfigurationMetadata')
|
32
35
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
33
36
|
BooleanObject = Shapes::BooleanShape.new(name: 'BooleanObject')
|
34
37
|
BootstrapActionConfig = Shapes::StructureShape.new(name: 'BootstrapActionConfig')
|
@@ -82,6 +85,8 @@ module Aws::EMR
|
|
82
85
|
ErrorCode = Shapes::StringShape.new(name: 'ErrorCode')
|
83
86
|
ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
|
84
87
|
FailureDetails = Shapes::StructureShape.new(name: 'FailureDetails')
|
88
|
+
GetBlockPublicAccessConfigurationInput = Shapes::StructureShape.new(name: 'GetBlockPublicAccessConfigurationInput')
|
89
|
+
GetBlockPublicAccessConfigurationOutput = Shapes::StructureShape.new(name: 'GetBlockPublicAccessConfigurationOutput')
|
85
90
|
HadoopJarStepConfig = Shapes::StructureShape.new(name: 'HadoopJarStepConfig')
|
86
91
|
HadoopStepConfig = Shapes::StructureShape.new(name: 'HadoopStepConfig')
|
87
92
|
Instance = Shapes::StructureShape.new(name: 'Instance')
|
@@ -169,8 +174,13 @@ module Aws::EMR
|
|
169
174
|
NewSupportedProductsList = Shapes::ListShape.new(name: 'NewSupportedProductsList')
|
170
175
|
NonNegativeDouble = Shapes::FloatShape.new(name: 'NonNegativeDouble')
|
171
176
|
PlacementType = Shapes::StructureShape.new(name: 'PlacementType')
|
177
|
+
Port = Shapes::IntegerShape.new(name: 'Port')
|
178
|
+
PortRange = Shapes::StructureShape.new(name: 'PortRange')
|
179
|
+
PortRanges = Shapes::ListShape.new(name: 'PortRanges')
|
172
180
|
PutAutoScalingPolicyInput = Shapes::StructureShape.new(name: 'PutAutoScalingPolicyInput')
|
173
181
|
PutAutoScalingPolicyOutput = Shapes::StructureShape.new(name: 'PutAutoScalingPolicyOutput')
|
182
|
+
PutBlockPublicAccessConfigurationInput = Shapes::StructureShape.new(name: 'PutBlockPublicAccessConfigurationInput')
|
183
|
+
PutBlockPublicAccessConfigurationOutput = Shapes::StructureShape.new(name: 'PutBlockPublicAccessConfigurationOutput')
|
174
184
|
RemoveAutoScalingPolicyInput = Shapes::StructureShape.new(name: 'RemoveAutoScalingPolicyInput')
|
175
185
|
RemoveAutoScalingPolicyOutput = Shapes::StructureShape.new(name: 'RemoveAutoScalingPolicyOutput')
|
176
186
|
RemoveTagsInput = Shapes::StructureShape.new(name: 'RemoveTagsInput')
|
@@ -283,6 +293,14 @@ module Aws::EMR
|
|
283
293
|
AutoScalingPolicyStatus.add_member(:state_change_reason, Shapes::ShapeRef.new(shape: AutoScalingPolicyStateChangeReason, location_name: "StateChangeReason"))
|
284
294
|
AutoScalingPolicyStatus.struct_class = Types::AutoScalingPolicyStatus
|
285
295
|
|
296
|
+
BlockPublicAccessConfiguration.add_member(:block_public_security_group_rules, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "BlockPublicSecurityGroupRules"))
|
297
|
+
BlockPublicAccessConfiguration.add_member(:permitted_public_security_group_rule_ranges, Shapes::ShapeRef.new(shape: PortRanges, location_name: "PermittedPublicSecurityGroupRuleRanges"))
|
298
|
+
BlockPublicAccessConfiguration.struct_class = Types::BlockPublicAccessConfiguration
|
299
|
+
|
300
|
+
BlockPublicAccessConfigurationMetadata.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Date, required: true, location_name: "CreationDateTime"))
|
301
|
+
BlockPublicAccessConfigurationMetadata.add_member(:created_by_arn, Shapes::ShapeRef.new(shape: ArnType, required: true, location_name: "CreatedByArn"))
|
302
|
+
BlockPublicAccessConfigurationMetadata.struct_class = Types::BlockPublicAccessConfigurationMetadata
|
303
|
+
|
286
304
|
BootstrapActionConfig.add_member(:name, Shapes::ShapeRef.new(shape: XmlStringMaxLen256, required: true, location_name: "Name"))
|
287
305
|
BootstrapActionConfig.add_member(:script_bootstrap_action, Shapes::ShapeRef.new(shape: ScriptBootstrapActionConfig, required: true, location_name: "ScriptBootstrapAction"))
|
288
306
|
BootstrapActionConfig.struct_class = Types::BootstrapActionConfig
|
@@ -471,6 +489,12 @@ module Aws::EMR
|
|
471
489
|
FailureDetails.add_member(:log_file, Shapes::ShapeRef.new(shape: String, location_name: "LogFile"))
|
472
490
|
FailureDetails.struct_class = Types::FailureDetails
|
473
491
|
|
492
|
+
GetBlockPublicAccessConfigurationInput.struct_class = Types::GetBlockPublicAccessConfigurationInput
|
493
|
+
|
494
|
+
GetBlockPublicAccessConfigurationOutput.add_member(:block_public_access_configuration, Shapes::ShapeRef.new(shape: BlockPublicAccessConfiguration, required: true, location_name: "BlockPublicAccessConfiguration"))
|
495
|
+
GetBlockPublicAccessConfigurationOutput.add_member(:block_public_access_configuration_metadata, Shapes::ShapeRef.new(shape: BlockPublicAccessConfigurationMetadata, required: true, location_name: "BlockPublicAccessConfigurationMetadata"))
|
496
|
+
GetBlockPublicAccessConfigurationOutput.struct_class = Types::GetBlockPublicAccessConfigurationOutput
|
497
|
+
|
474
498
|
HadoopJarStepConfig.add_member(:properties, Shapes::ShapeRef.new(shape: KeyValueList, location_name: "Properties"))
|
475
499
|
HadoopJarStepConfig.add_member(:jar, Shapes::ShapeRef.new(shape: XmlString, required: true, location_name: "Jar"))
|
476
500
|
HadoopJarStepConfig.add_member(:main_class, Shapes::ShapeRef.new(shape: XmlString, location_name: "MainClass"))
|
@@ -832,6 +856,12 @@ module Aws::EMR
|
|
832
856
|
PlacementType.add_member(:availability_zones, Shapes::ShapeRef.new(shape: XmlStringMaxLen256List, location_name: "AvailabilityZones"))
|
833
857
|
PlacementType.struct_class = Types::PlacementType
|
834
858
|
|
859
|
+
PortRange.add_member(:min_range, Shapes::ShapeRef.new(shape: Port, required: true, location_name: "MinRange"))
|
860
|
+
PortRange.add_member(:max_range, Shapes::ShapeRef.new(shape: Port, location_name: "MaxRange"))
|
861
|
+
PortRange.struct_class = Types::PortRange
|
862
|
+
|
863
|
+
PortRanges.member = Shapes::ShapeRef.new(shape: PortRange)
|
864
|
+
|
835
865
|
PutAutoScalingPolicyInput.add_member(:cluster_id, Shapes::ShapeRef.new(shape: ClusterId, required: true, location_name: "ClusterId"))
|
836
866
|
PutAutoScalingPolicyInput.add_member(:instance_group_id, Shapes::ShapeRef.new(shape: InstanceGroupId, required: true, location_name: "InstanceGroupId"))
|
837
867
|
PutAutoScalingPolicyInput.add_member(:auto_scaling_policy, Shapes::ShapeRef.new(shape: AutoScalingPolicy, required: true, location_name: "AutoScalingPolicy"))
|
@@ -842,6 +872,11 @@ module Aws::EMR
|
|
842
872
|
PutAutoScalingPolicyOutput.add_member(:auto_scaling_policy, Shapes::ShapeRef.new(shape: AutoScalingPolicyDescription, location_name: "AutoScalingPolicy"))
|
843
873
|
PutAutoScalingPolicyOutput.struct_class = Types::PutAutoScalingPolicyOutput
|
844
874
|
|
875
|
+
PutBlockPublicAccessConfigurationInput.add_member(:block_public_access_configuration, Shapes::ShapeRef.new(shape: BlockPublicAccessConfiguration, required: true, location_name: "BlockPublicAccessConfiguration"))
|
876
|
+
PutBlockPublicAccessConfigurationInput.struct_class = Types::PutBlockPublicAccessConfigurationInput
|
877
|
+
|
878
|
+
PutBlockPublicAccessConfigurationOutput.struct_class = Types::PutBlockPublicAccessConfigurationOutput
|
879
|
+
|
845
880
|
RemoveAutoScalingPolicyInput.add_member(:cluster_id, Shapes::ShapeRef.new(shape: ClusterId, required: true, location_name: "ClusterId"))
|
846
881
|
RemoveAutoScalingPolicyInput.add_member(:instance_group_id, Shapes::ShapeRef.new(shape: InstanceGroupId, required: true, location_name: "InstanceGroupId"))
|
847
882
|
RemoveAutoScalingPolicyInput.struct_class = Types::RemoveAutoScalingPolicyInput
|
@@ -1146,6 +1181,16 @@ module Aws::EMR
|
|
1146
1181
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1147
1182
|
end)
|
1148
1183
|
|
1184
|
+
api.add_operation(:get_block_public_access_configuration, Seahorse::Model::Operation.new.tap do |o|
|
1185
|
+
o.name = "GetBlockPublicAccessConfiguration"
|
1186
|
+
o.http_method = "POST"
|
1187
|
+
o.http_request_uri = "/"
|
1188
|
+
o.input = Shapes::ShapeRef.new(shape: GetBlockPublicAccessConfigurationInput)
|
1189
|
+
o.output = Shapes::ShapeRef.new(shape: GetBlockPublicAccessConfigurationOutput)
|
1190
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1191
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1192
|
+
end)
|
1193
|
+
|
1149
1194
|
api.add_operation(:list_bootstrap_actions, Seahorse::Model::Operation.new.tap do |o|
|
1150
1195
|
o.name = "ListBootstrapActions"
|
1151
1196
|
o.http_method = "POST"
|
@@ -1278,6 +1323,16 @@ module Aws::EMR
|
|
1278
1323
|
o.output = Shapes::ShapeRef.new(shape: PutAutoScalingPolicyOutput)
|
1279
1324
|
end)
|
1280
1325
|
|
1326
|
+
api.add_operation(:put_block_public_access_configuration, Seahorse::Model::Operation.new.tap do |o|
|
1327
|
+
o.name = "PutBlockPublicAccessConfiguration"
|
1328
|
+
o.http_method = "POST"
|
1329
|
+
o.http_request_uri = "/"
|
1330
|
+
o.input = Shapes::ShapeRef.new(shape: PutBlockPublicAccessConfigurationInput)
|
1331
|
+
o.output = Shapes::ShapeRef.new(shape: PutBlockPublicAccessConfigurationOutput)
|
1332
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1333
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1334
|
+
end)
|
1335
|
+
|
1281
1336
|
api.add_operation(:remove_auto_scaling_policy, Seahorse::Model::Operation.new.tap do |o|
|
1282
1337
|
o.name = "RemoveAutoScalingPolicy"
|
1283
1338
|
o.http_method = "POST"
|
data/lib/aws-sdk-emr/types.rb
CHANGED
@@ -498,6 +498,78 @@ module Aws::EMR
|
|
498
498
|
include Aws::Structure
|
499
499
|
end
|
500
500
|
|
501
|
+
# A configuration for Amazon EMR block public access. When
|
502
|
+
# `BlockPublicSecurityGroupRules` is set to `true`, Amazon EMR prevents
|
503
|
+
# cluster creation if one of the cluster's security groups has a rule
|
504
|
+
# that allows inbound traffic from 0.0.0.0/0 or ::/0 on a port, unless
|
505
|
+
# the port is specified as an exception using
|
506
|
+
# `PermittedPublicSecurityGroupRuleRanges`.
|
507
|
+
#
|
508
|
+
# @note When making an API call, you may pass BlockPublicAccessConfiguration
|
509
|
+
# data as a hash:
|
510
|
+
#
|
511
|
+
# {
|
512
|
+
# block_public_security_group_rules: false, # required
|
513
|
+
# permitted_public_security_group_rule_ranges: [
|
514
|
+
# {
|
515
|
+
# min_range: 1, # required
|
516
|
+
# max_range: 1,
|
517
|
+
# },
|
518
|
+
# ],
|
519
|
+
# }
|
520
|
+
#
|
521
|
+
# @!attribute [rw] block_public_security_group_rules
|
522
|
+
# Indicates whether EMR block public access is enabled (`true`) or
|
523
|
+
# disabled (`false`). By default, the value is `false` for accounts
|
524
|
+
# that have created EMR clusters before July 2019. For accounts
|
525
|
+
# created after this, the default is `true`.
|
526
|
+
# @return [Boolean]
|
527
|
+
#
|
528
|
+
# @!attribute [rw] permitted_public_security_group_rule_ranges
|
529
|
+
# Specifies ports and port ranges that are permitted to have security
|
530
|
+
# group rules that allow inbound traffic from all public sources. For
|
531
|
+
# example, if Port 23 (Telnet) is specified for
|
532
|
+
# `PermittedPublicSecurityGroupRuleRanges`, Amazon EMR allows cluster
|
533
|
+
# creation if a security group associated with the cluster has a rule
|
534
|
+
# that allows inbound traffic on Port 23 from IPv4 0.0.0.0/0 or IPv6
|
535
|
+
# port ::/0 as the source.
|
536
|
+
#
|
537
|
+
# By default, Port 22, which is used for SSH access to the cluster EC2
|
538
|
+
# instances, is in the list of
|
539
|
+
# `PermittedPublicSecurityGroupRuleRanges`.
|
540
|
+
# @return [Array<Types::PortRange>]
|
541
|
+
#
|
542
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/BlockPublicAccessConfiguration AWS API Documentation
|
543
|
+
#
|
544
|
+
class BlockPublicAccessConfiguration < Struct.new(
|
545
|
+
:block_public_security_group_rules,
|
546
|
+
:permitted_public_security_group_rule_ranges)
|
547
|
+
include Aws::Structure
|
548
|
+
end
|
549
|
+
|
550
|
+
# Properties that describe the AWS principal that created the
|
551
|
+
# `BlockPublicAccessConfiguration` using the
|
552
|
+
# `PutBlockPublicAccessConfiguration` action as well as the date and
|
553
|
+
# time that the configuration was created. Each time a configuration for
|
554
|
+
# block public access is updated, Amazon EMR updates this metadata.
|
555
|
+
#
|
556
|
+
# @!attribute [rw] creation_date_time
|
557
|
+
# The date and time that the configuration was created.
|
558
|
+
# @return [Time]
|
559
|
+
#
|
560
|
+
# @!attribute [rw] created_by_arn
|
561
|
+
# The Amazon Resource Name that created or last modified the
|
562
|
+
# configuration.
|
563
|
+
# @return [String]
|
564
|
+
#
|
565
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/BlockPublicAccessConfigurationMetadata AWS API Documentation
|
566
|
+
#
|
567
|
+
class BlockPublicAccessConfigurationMetadata < Struct.new(
|
568
|
+
:creation_date_time,
|
569
|
+
:created_by_arn)
|
570
|
+
include Aws::Structure
|
571
|
+
end
|
572
|
+
|
501
573
|
# Configuration of a bootstrap action.
|
502
574
|
#
|
503
575
|
# @note When making an API call, you may pass BootstrapActionConfig
|
@@ -742,11 +814,11 @@ module Aws::EMR
|
|
742
814
|
# The Amazon EMR release label, which determines the version of
|
743
815
|
# open-source application packages installed on the cluster. Release
|
744
816
|
# labels are in the form `emr-x.x.x`, where x.x.x is an Amazon EMR
|
745
|
-
# release version
|
746
|
-
#
|
747
|
-
#
|
817
|
+
# release version such as `emr-5.14.0`. For more information about
|
818
|
+
# Amazon EMR release versions and included application versions and
|
819
|
+
# features, see
|
748
820
|
# [https://docs.aws.amazon.com/emr/latest/ReleaseGuide/][1]. The
|
749
|
-
# release label applies only to Amazon EMR releases
|
821
|
+
# release label applies only to Amazon EMR releases version 4.0 and
|
750
822
|
# later. Earlier versions use `AmiVersion`.
|
751
823
|
#
|
752
824
|
#
|
@@ -766,6 +838,8 @@ module Aws::EMR
|
|
766
838
|
# @return [Boolean]
|
767
839
|
#
|
768
840
|
# @!attribute [rw] visible_to_all_users
|
841
|
+
# *This member will be deprecated.*
|
842
|
+
#
|
769
843
|
# Indicates whether the cluster is visible to all IAM users of the AWS
|
770
844
|
# account associated with the cluster. If this value is set to `true`,
|
771
845
|
# all IAM users of that AWS account can view and manage the cluster if
|
@@ -1426,14 +1500,10 @@ module Aws::EMR
|
|
1426
1500
|
# @return [String]
|
1427
1501
|
#
|
1428
1502
|
# @!attribute [rw] ec2_subnet_id
|
1429
|
-
#
|
1430
|
-
#
|
1431
|
-
#
|
1432
|
-
#
|
1433
|
-
#
|
1434
|
-
# Amazon VPC currently does not support cluster compute quadruple
|
1435
|
-
# extra large (cc1.4xlarge) instances. Thus, you cannot specify the
|
1436
|
-
# cc1.4xlarge instance type for nodes of a cluster launched in a VPC.
|
1503
|
+
# Set this parameter to the identifier of the Amazon VPC subnet where
|
1504
|
+
# you want the cluster to launch. If you do not specify this value,
|
1505
|
+
# and your account supports EC2-Classic, the cluster launches in
|
1506
|
+
# EC2-Classic.
|
1437
1507
|
# @return [String]
|
1438
1508
|
#
|
1439
1509
|
# @!attribute [rw] requested_ec2_subnet_ids
|
@@ -1443,7 +1513,7 @@ module Aws::EMR
|
|
1443
1513
|
# same VPC. Amazon EMR chooses the EC2 subnet with the best fit from
|
1444
1514
|
# among the list of `RequestedEc2SubnetIds`, and then launches all
|
1445
1515
|
# cluster instances within that Subnet. If this value is not
|
1446
|
-
# specified, and the account and
|
1516
|
+
# specified, and the account and Region support EC2-Classic networks,
|
1447
1517
|
# the cluster launches instances in the EC2-Classic network and uses
|
1448
1518
|
# `RequestedEc2AvailabilityZones` instead of this setting. If
|
1449
1519
|
# EC2-Classic is not supported, and no Subnet is specified, Amazon EMR
|
@@ -1542,6 +1612,44 @@ module Aws::EMR
|
|
1542
1612
|
include Aws::Structure
|
1543
1613
|
end
|
1544
1614
|
|
1615
|
+
# @api private
|
1616
|
+
#
|
1617
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/GetBlockPublicAccessConfigurationInput AWS API Documentation
|
1618
|
+
#
|
1619
|
+
class GetBlockPublicAccessConfigurationInput < Aws::EmptyStructure; end
|
1620
|
+
|
1621
|
+
# @!attribute [rw] block_public_access_configuration
|
1622
|
+
# A configuration for Amazon EMR block public access. The
|
1623
|
+
# configuration applies to all clusters created in your account for
|
1624
|
+
# the current Region. The configuration specifies whether block public
|
1625
|
+
# access is enabled. If block public access is enabled, security
|
1626
|
+
# groups associated with the cluster cannot have rules that allow
|
1627
|
+
# inbound traffic from 0.0.0.0/0 or ::/0 on a port, unless the port is
|
1628
|
+
# specified as an exception using
|
1629
|
+
# `PermittedPublicSecurityGroupRuleRanges` in the
|
1630
|
+
# `BlockPublicAccessConfiguration`. By default, Port 22 (SSH) is an
|
1631
|
+
# exception, and public access is allowed on this port. You can change
|
1632
|
+
# this by updating the block public access configuration to remove the
|
1633
|
+
# exception.
|
1634
|
+
# @return [Types::BlockPublicAccessConfiguration]
|
1635
|
+
#
|
1636
|
+
# @!attribute [rw] block_public_access_configuration_metadata
|
1637
|
+
# Properties that describe the AWS principal that created the
|
1638
|
+
# `BlockPublicAccessConfiguration` using the
|
1639
|
+
# `PutBlockPublicAccessConfiguration` action as well as the date and
|
1640
|
+
# time that the configuration was created. Each time a configuration
|
1641
|
+
# for block public access is updated, Amazon EMR updates this
|
1642
|
+
# metadata.
|
1643
|
+
# @return [Types::BlockPublicAccessConfigurationMetadata]
|
1644
|
+
#
|
1645
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/GetBlockPublicAccessConfigurationOutput AWS API Documentation
|
1646
|
+
#
|
1647
|
+
class GetBlockPublicAccessConfigurationOutput < Struct.new(
|
1648
|
+
:block_public_access_configuration,
|
1649
|
+
:block_public_access_configuration_metadata)
|
1650
|
+
include Aws::Structure
|
1651
|
+
end
|
1652
|
+
|
1545
1653
|
# A job flow step consisting of a JAR file whose main function will be
|
1546
1654
|
# executed. The main function submits a job for Hadoop to execute and
|
1547
1655
|
# waits for the job to finish or fail.
|
@@ -2923,6 +3031,8 @@ module Aws::EMR
|
|
2923
3031
|
# @return [Array<String>]
|
2924
3032
|
#
|
2925
3033
|
# @!attribute [rw] visible_to_all_users
|
3034
|
+
# *This member will be deprecated.*
|
3035
|
+
#
|
2926
3036
|
# Specifies whether the cluster is visible to all IAM users of the AWS
|
2927
3037
|
# account associated with the cluster. If this value is set to `true`,
|
2928
3038
|
# all IAM users of that AWS account can view and (if they have the
|
@@ -3236,14 +3346,8 @@ module Aws::EMR
|
|
3236
3346
|
# configuration. To launch the cluster in Amazon Virtual Private Cloud
|
3237
3347
|
# (Amazon VPC), set this parameter to the identifier of the Amazon VPC
|
3238
3348
|
# subnet where you want the cluster to launch. If you do not specify
|
3239
|
-
# this value
|
3240
|
-
#
|
3241
|
-
# cluster supports EC2 Classic networks in the region where the
|
3242
|
-
# cluster launches.
|
3243
|
-
#
|
3244
|
-
# Amazon VPC currently does not support cluster compute quadruple
|
3245
|
-
# extra large (cc1.4xlarge) instances. Thus you cannot specify the
|
3246
|
-
# cc1.4xlarge instance type for clusters launched in an Amazon VPC.
|
3349
|
+
# this value and your account supports EC2-Classic, the cluster
|
3350
|
+
# launches in EC2-Classic.
|
3247
3351
|
# @return [String]
|
3248
3352
|
#
|
3249
3353
|
# @!attribute [rw] ec2_subnet_ids
|
@@ -3994,6 +4098,34 @@ module Aws::EMR
|
|
3994
4098
|
include Aws::Structure
|
3995
4099
|
end
|
3996
4100
|
|
4101
|
+
# A list of port ranges that are permitted to allow inbound traffic from
|
4102
|
+
# all public IP addresses. To specify a single port, use the same value
|
4103
|
+
# for `MinRange` and `MaxRange`.
|
4104
|
+
#
|
4105
|
+
# @note When making an API call, you may pass PortRange
|
4106
|
+
# data as a hash:
|
4107
|
+
#
|
4108
|
+
# {
|
4109
|
+
# min_range: 1, # required
|
4110
|
+
# max_range: 1,
|
4111
|
+
# }
|
4112
|
+
#
|
4113
|
+
# @!attribute [rw] min_range
|
4114
|
+
# The smallest port number in a specified range of port numbers.
|
4115
|
+
# @return [Integer]
|
4116
|
+
#
|
4117
|
+
# @!attribute [rw] max_range
|
4118
|
+
# The smallest port number in a specified range of port numbers.
|
4119
|
+
# @return [Integer]
|
4120
|
+
#
|
4121
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/PortRange AWS API Documentation
|
4122
|
+
#
|
4123
|
+
class PortRange < Struct.new(
|
4124
|
+
:min_range,
|
4125
|
+
:max_range)
|
4126
|
+
include Aws::Structure
|
4127
|
+
end
|
4128
|
+
|
3997
4129
|
# @note When making an API call, you may pass PutAutoScalingPolicyInput
|
3998
4130
|
# data as a hash:
|
3999
4131
|
#
|
@@ -4086,6 +4218,47 @@ module Aws::EMR
|
|
4086
4218
|
include Aws::Structure
|
4087
4219
|
end
|
4088
4220
|
|
4221
|
+
# @note When making an API call, you may pass PutBlockPublicAccessConfigurationInput
|
4222
|
+
# data as a hash:
|
4223
|
+
#
|
4224
|
+
# {
|
4225
|
+
# block_public_access_configuration: { # required
|
4226
|
+
# block_public_security_group_rules: false, # required
|
4227
|
+
# permitted_public_security_group_rule_ranges: [
|
4228
|
+
# {
|
4229
|
+
# min_range: 1, # required
|
4230
|
+
# max_range: 1,
|
4231
|
+
# },
|
4232
|
+
# ],
|
4233
|
+
# },
|
4234
|
+
# }
|
4235
|
+
#
|
4236
|
+
# @!attribute [rw] block_public_access_configuration
|
4237
|
+
# A configuration for Amazon EMR block public access. The
|
4238
|
+
# configuration applies to all clusters created in your account for
|
4239
|
+
# the current Region. The configuration specifies whether block public
|
4240
|
+
# access is enabled. If block public access is enabled, security
|
4241
|
+
# groups associated with the cluster cannot have rules that allow
|
4242
|
+
# inbound traffic from 0.0.0.0/0 or ::/0 on a port, unless the port is
|
4243
|
+
# specified as an exception using
|
4244
|
+
# `PermittedPublicSecurityGroupRuleRanges` in the
|
4245
|
+
# `BlockPublicAccessConfiguration`. By default, Port 22 (SSH) is an
|
4246
|
+
# exception, and public access is allowed on this port. You can change
|
4247
|
+
# this by updating `BlockPublicSecurityGroupRules` to remove the
|
4248
|
+
# exception.
|
4249
|
+
# @return [Types::BlockPublicAccessConfiguration]
|
4250
|
+
#
|
4251
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/PutBlockPublicAccessConfigurationInput AWS API Documentation
|
4252
|
+
#
|
4253
|
+
class PutBlockPublicAccessConfigurationInput < Struct.new(
|
4254
|
+
:block_public_access_configuration)
|
4255
|
+
include Aws::Structure
|
4256
|
+
end
|
4257
|
+
|
4258
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/PutBlockPublicAccessConfigurationOutput AWS API Documentation
|
4259
|
+
#
|
4260
|
+
class PutBlockPublicAccessConfigurationOutput < Aws::EmptyStructure; end
|
4261
|
+
|
4089
4262
|
# @note When making an API call, you may pass RemoveAutoScalingPolicyInput
|
4090
4263
|
# data as a hash:
|
4091
4264
|
#
|
@@ -4400,11 +4573,11 @@ module Aws::EMR
|
|
4400
4573
|
# The Amazon EMR release label, which determines the version of
|
4401
4574
|
# open-source application packages installed on the cluster. Release
|
4402
4575
|
# labels are in the form `emr-x.x.x`, where x.x.x is an Amazon EMR
|
4403
|
-
# release version
|
4404
|
-
#
|
4405
|
-
#
|
4576
|
+
# release version such as `emr-5.14.0`. For more information about
|
4577
|
+
# Amazon EMR release versions and included application versions and
|
4578
|
+
# features, see
|
4406
4579
|
# [https://docs.aws.amazon.com/emr/latest/ReleaseGuide/][1]. The
|
4407
|
-
# release label applies only to Amazon EMR releases
|
4580
|
+
# release label applies only to Amazon EMR releases version 4.0 and
|
4408
4581
|
# later. Earlier versions use `AmiVersion`.
|
4409
4582
|
#
|
4410
4583
|
#
|
@@ -4499,6 +4672,8 @@ module Aws::EMR
|
|
4499
4672
|
# @return [Array<Types::Configuration>]
|
4500
4673
|
#
|
4501
4674
|
# @!attribute [rw] visible_to_all_users
|
4675
|
+
# *This member will be deprecated.*
|
4676
|
+
#
|
4502
4677
|
# Whether the cluster is visible to all IAM users of the AWS account
|
4503
4678
|
# associated with the cluster. If this value is set to `true`, all IAM
|
4504
4679
|
# users of that AWS account can view and (if they have the proper
|
@@ -4887,6 +5062,8 @@ module Aws::EMR
|
|
4887
5062
|
include Aws::Structure
|
4888
5063
|
end
|
4889
5064
|
|
5065
|
+
# *This member will be deprecated.*
|
5066
|
+
#
|
4890
5067
|
# The input to the SetVisibleToAllUsers action.
|
4891
5068
|
#
|
4892
5069
|
# @note When making an API call, you may pass SetVisibleToAllUsersInput
|
@@ -4902,6 +5079,8 @@ module Aws::EMR
|
|
4902
5079
|
# @return [Array<String>]
|
4903
5080
|
#
|
4904
5081
|
# @!attribute [rw] visible_to_all_users
|
5082
|
+
# *This member will be deprecated.*
|
5083
|
+
#
|
4905
5084
|
# Whether the specified clusters are visible to all IAM users of the
|
4906
5085
|
# AWS account associated with the cluster. If this value is set to
|
4907
5086
|
# True, all IAM users of that AWS account can view and, if they have
|
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.21.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: 2019-
|
11
|
+
date: 2019-08-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|