aws-sdk-emr 1.45.0 → 1.46.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-emr.rb +1 -1
- data/lib/aws-sdk-emr/client.rb +205 -65
- data/lib/aws-sdk-emr/client_api.rb +63 -0
- data/lib/aws-sdk-emr/customizations.rb +1 -1
- data/lib/aws-sdk-emr/types.rb +376 -107
- metadata +5 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7a7f938e024e4ef9f385b34e2a689f2107dab1b9f441e0a6cb93e75731b4383b
|
4
|
+
data.tar.gz: eafdf1db9edf4271a71344d146dfa47982ee5fa3f36aeb447ea4f41a31bda7a1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 06043a45c61148fba230c7b9d74966bf5dba19f8dc26941c3f93bcfc335de6aac108775d2067a95d1cd84fb9100500b4888b8693239b7b31cca4b3cbf6bfa046
|
7
|
+
data.tar.gz: 65bc29540669f84ae4d0e8e12d94780727b6d54121f5b21d51224fc843b7ef42e0b9d99ed71f4458c9f80576b05ee8f2f1ffb406ea12d47dd2df2d0dcd8014e5
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.46.0 (2021-07-21)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - EMR now supports new DescribeReleaseLabel and ListReleaseLabel APIs. They can provide Amazon EMR release label details. You can programmatically list available releases and applications for a specific Amazon EMR release label.
|
8
|
+
|
4
9
|
1.45.0 (2021-03-15)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.46.0
|
data/lib/aws-sdk-emr.rb
CHANGED
data/lib/aws-sdk-emr/client.rb
CHANGED
@@ -663,7 +663,10 @@ module Aws::EMR
|
|
663
663
|
# maximum of 256 steps are allowed in each CancelSteps request.
|
664
664
|
# CancelSteps is idempotent but asynchronous; it does not guarantee that
|
665
665
|
# a step will be canceled, even if the request is successfully
|
666
|
-
# submitted.
|
666
|
+
# submitted. When you use Amazon EMR versions 5.28.0 and later, you can
|
667
|
+
# cancel steps that are in a `PENDING` or `RUNNING` state. In earlier
|
668
|
+
# versions of Amazon EMR, you can only cancel steps that are in a
|
669
|
+
# `PENDING` state.
|
667
670
|
#
|
668
671
|
# @option params [required, String] :cluster_id
|
669
672
|
# The `ClusterID` for the specified steps that will be canceled. Use
|
@@ -772,7 +775,7 @@ module Aws::EMR
|
|
772
775
|
# @option params [required, String] :service_role
|
773
776
|
# The IAM role that will be assumed by the Amazon EMR Studio. The
|
774
777
|
# service role provides a way for Amazon EMR Studio to interoperate with
|
775
|
-
# other
|
778
|
+
# other Amazon Web Services services.
|
776
779
|
#
|
777
780
|
# @option params [required, String] :user_role
|
778
781
|
# The IAM user role that will be assumed by users and groups logged in
|
@@ -850,9 +853,10 @@ module Aws::EMR
|
|
850
853
|
#
|
851
854
|
# @option params [String] :identity_id
|
852
855
|
# The globally unique identifier (GUID) of the user or group from the
|
853
|
-
#
|
854
|
-
# [GroupId][2] in the *
|
855
|
-
# `IdentityName` or `IdentityId` must be
|
856
|
+
# Amazon Web Services SSO Identity Store. For more information, see
|
857
|
+
# [UserId][1] and [GroupId][2] in the *Amazon Web Services SSO Identity
|
858
|
+
# Store API Reference*. Either `IdentityName` or `IdentityId` must be
|
859
|
+
# specified.
|
856
860
|
#
|
857
861
|
#
|
858
862
|
#
|
@@ -861,8 +865,9 @@ module Aws::EMR
|
|
861
865
|
#
|
862
866
|
# @option params [String] :identity_name
|
863
867
|
# The name of the user or group. For more information, see [UserName][1]
|
864
|
-
# and [DisplayName][2] in the *
|
865
|
-
# Either `IdentityName` or `IdentityId` must be
|
868
|
+
# and [DisplayName][2] in the *Amazon Web Services SSO Identity Store
|
869
|
+
# API Reference*. Either `IdentityName` or `IdentityId` must be
|
870
|
+
# specified.
|
866
871
|
#
|
867
872
|
#
|
868
873
|
#
|
@@ -875,8 +880,14 @@ module Aws::EMR
|
|
875
880
|
#
|
876
881
|
# @option params [required, String] :session_policy_arn
|
877
882
|
# The Amazon Resource Name (ARN) for the session policy that will be
|
878
|
-
# applied to the user or group.
|
879
|
-
#
|
883
|
+
# applied to the user or group. You should specify the ARN for the
|
884
|
+
# session policy that you want to apply, not the ARN of your user role.
|
885
|
+
# For more information, see [Create an EMR Studio User Role with Session
|
886
|
+
# Policies][1].
|
887
|
+
#
|
888
|
+
#
|
889
|
+
#
|
890
|
+
# [1]: https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-studio-user-role.html
|
880
891
|
#
|
881
892
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
882
893
|
#
|
@@ -951,8 +962,8 @@ module Aws::EMR
|
|
951
962
|
# @option params [String] :identity_id
|
952
963
|
# The globally unique identifier (GUID) of the user or group to remove
|
953
964
|
# from the Amazon EMR Studio. For more information, see [UserId][1] and
|
954
|
-
# [GroupId][2] in the *
|
955
|
-
# `IdentityName` or `IdentityId` must be specified.
|
965
|
+
# [GroupId][2] in the *Amazon Web Services SSO Identity Store API
|
966
|
+
# Reference*. Either `IdentityName` or `IdentityId` must be specified.
|
956
967
|
#
|
957
968
|
#
|
958
969
|
#
|
@@ -962,8 +973,8 @@ module Aws::EMR
|
|
962
973
|
# @option params [String] :identity_name
|
963
974
|
# The name of the user name or group to remove from the Amazon EMR
|
964
975
|
# Studio. For more information, see [UserName][1] and [DisplayName][2]
|
965
|
-
# in the *
|
966
|
-
# or `IdentityId` must be specified.
|
976
|
+
# in the *Amazon Web Services SSO Store API Reference*. Either
|
977
|
+
# `IdentityName` or `IdentityId` must be specified.
|
967
978
|
#
|
968
979
|
#
|
969
980
|
#
|
@@ -1266,6 +1277,51 @@ module Aws::EMR
|
|
1266
1277
|
req.send_request(options)
|
1267
1278
|
end
|
1268
1279
|
|
1280
|
+
# Provides EMR release label details, such as releases available the
|
1281
|
+
# region where the API request is run, and the available applications
|
1282
|
+
# for a specific EMR release label. Can also list EMR release versions
|
1283
|
+
# that support a specified version of Spark.
|
1284
|
+
#
|
1285
|
+
# @option params [String] :release_label
|
1286
|
+
# The target release label to be described.
|
1287
|
+
#
|
1288
|
+
# @option params [String] :next_token
|
1289
|
+
# The pagination token. Reserved for future use. Currently set to null.
|
1290
|
+
#
|
1291
|
+
# @option params [Integer] :max_results
|
1292
|
+
# Reserved for future use. Currently set to null.
|
1293
|
+
#
|
1294
|
+
# @return [Types::DescribeReleaseLabelOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1295
|
+
#
|
1296
|
+
# * {Types::DescribeReleaseLabelOutput#release_label #release_label} => String
|
1297
|
+
# * {Types::DescribeReleaseLabelOutput#applications #applications} => Array<Types::SimplifiedApplication>
|
1298
|
+
# * {Types::DescribeReleaseLabelOutput#next_token #next_token} => String
|
1299
|
+
#
|
1300
|
+
# @example Request syntax with placeholder values
|
1301
|
+
#
|
1302
|
+
# resp = client.describe_release_label({
|
1303
|
+
# release_label: "String",
|
1304
|
+
# next_token: "String",
|
1305
|
+
# max_results: 1,
|
1306
|
+
# })
|
1307
|
+
#
|
1308
|
+
# @example Response structure
|
1309
|
+
#
|
1310
|
+
# resp.release_label #=> String
|
1311
|
+
# resp.applications #=> Array
|
1312
|
+
# resp.applications[0].name #=> String
|
1313
|
+
# resp.applications[0].version #=> String
|
1314
|
+
# resp.next_token #=> String
|
1315
|
+
#
|
1316
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DescribeReleaseLabel AWS API Documentation
|
1317
|
+
#
|
1318
|
+
# @overload describe_release_label(params = {})
|
1319
|
+
# @param [Hash] params ({})
|
1320
|
+
def describe_release_label(params = {}, options = {})
|
1321
|
+
req = build_request(:describe_release_label, params)
|
1322
|
+
req.send_request(options)
|
1323
|
+
end
|
1324
|
+
|
1269
1325
|
# Provides the details of a security configuration by returning the
|
1270
1326
|
# configuration JSON.
|
1271
1327
|
#
|
@@ -1399,7 +1455,7 @@ module Aws::EMR
|
|
1399
1455
|
req.send_request(options)
|
1400
1456
|
end
|
1401
1457
|
|
1402
|
-
# Returns the Amazon EMR block public access configuration for your
|
1458
|
+
# Returns the Amazon EMR block public access configuration for your
|
1403
1459
|
# account in the current Region. For more information see [Configure
|
1404
1460
|
# Block Public Access for Amazon EMR][1] in the *Amazon EMR Management
|
1405
1461
|
# Guide*.
|
@@ -1472,9 +1528,9 @@ module Aws::EMR
|
|
1472
1528
|
#
|
1473
1529
|
# @option params [String] :identity_id
|
1474
1530
|
# The globally unique identifier (GUID) of the user or group. For more
|
1475
|
-
# information, see [UserId][1] and [GroupId][2] in the *
|
1476
|
-
# Store API Reference*. Either `IdentityName` or
|
1477
|
-
# specified.
|
1531
|
+
# information, see [UserId][1] and [GroupId][2] in the *Amazon Web
|
1532
|
+
# Services SSO Identity Store API Reference*. Either `IdentityName` or
|
1533
|
+
# `IdentityId` must be specified.
|
1478
1534
|
#
|
1479
1535
|
#
|
1480
1536
|
#
|
@@ -1483,8 +1539,9 @@ module Aws::EMR
|
|
1483
1539
|
#
|
1484
1540
|
# @option params [String] :identity_name
|
1485
1541
|
# The name of the user or group to fetch. For more information, see
|
1486
|
-
# [UserName][1] and [DisplayName][2] in the *
|
1487
|
-
# Reference*. Either `IdentityName` or `IdentityId`
|
1542
|
+
# [UserName][1] and [DisplayName][2] in the *Amazon Web Services SSO
|
1543
|
+
# Identity Store API Reference*. Either `IdentityName` or `IdentityId`
|
1544
|
+
# must be specified.
|
1488
1545
|
#
|
1489
1546
|
#
|
1490
1547
|
#
|
@@ -1568,12 +1625,12 @@ module Aws::EMR
|
|
1568
1625
|
req.send_request(options)
|
1569
1626
|
end
|
1570
1627
|
|
1571
|
-
# Provides the status of all clusters visible to this
|
1572
|
-
#
|
1573
|
-
#
|
1574
|
-
# This call returns a maximum of 50 clusters per call,
|
1575
|
-
# marker to track the paging of the cluster list across
|
1576
|
-
# ListClusters calls.
|
1628
|
+
# Provides the status of all clusters visible to this account. Allows
|
1629
|
+
# you to filter the list of clusters based on certain criteria; for
|
1630
|
+
# example, filtering by cluster creation date and time or by status.
|
1631
|
+
# This call returns a maximum of 50 clusters in unsorted order per call,
|
1632
|
+
# but returns a marker to track the paging of the cluster list across
|
1633
|
+
# multiple ListClusters calls.
|
1577
1634
|
#
|
1578
1635
|
# @option params [Time,DateTime,Date,Integer,String] :created_after
|
1579
1636
|
# The creation date and time beginning value filter for listing
|
@@ -1583,7 +1640,9 @@ module Aws::EMR
|
|
1583
1640
|
# The creation date and time end value filter for listing clusters.
|
1584
1641
|
#
|
1585
1642
|
# @option params [Array<String>] :cluster_states
|
1586
|
-
# The cluster state filters to apply when listing clusters.
|
1643
|
+
# The cluster state filters to apply when listing clusters. Clusters
|
1644
|
+
# that change state while this action runs may be not be returned as
|
1645
|
+
# expected in the list of clusters.
|
1587
1646
|
#
|
1588
1647
|
# @option params [String] :marker
|
1589
1648
|
# The pagination token that indicates the next set of results to
|
@@ -1977,6 +2036,60 @@ module Aws::EMR
|
|
1977
2036
|
req.send_request(options)
|
1978
2037
|
end
|
1979
2038
|
|
2039
|
+
# Retrieves release labels of EMR services in the region where the API
|
2040
|
+
# is called.
|
2041
|
+
#
|
2042
|
+
# @option params [Types::ReleaseLabelFilter] :filters
|
2043
|
+
# Filters the results of the request. `Prefix` specifies the prefix of
|
2044
|
+
# release labels to return. `Application` specifies the application
|
2045
|
+
# (with/without version) of release labels to return.
|
2046
|
+
#
|
2047
|
+
# @option params [String] :next_token
|
2048
|
+
# Specifies the next page of results. If `NextToken` is not specified,
|
2049
|
+
# which is usually the case for the first request of ListReleaseLabels,
|
2050
|
+
# the first page of results are determined by other filtering parameters
|
2051
|
+
# or by the latest version. The `ListReleaseLabels` request fails if the
|
2052
|
+
# identity (AWS AccountID) and all filtering parameters are different
|
2053
|
+
# from the original request, or if the `NextToken` is expired or
|
2054
|
+
# tampered with.
|
2055
|
+
#
|
2056
|
+
# @option params [Integer] :max_results
|
2057
|
+
# Defines the maximum number of release labels to return in a single
|
2058
|
+
# response. The default is `100`.
|
2059
|
+
#
|
2060
|
+
# @return [Types::ListReleaseLabelsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2061
|
+
#
|
2062
|
+
# * {Types::ListReleaseLabelsOutput#release_labels #release_labels} => Array<String>
|
2063
|
+
# * {Types::ListReleaseLabelsOutput#next_token #next_token} => String
|
2064
|
+
#
|
2065
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2066
|
+
#
|
2067
|
+
# @example Request syntax with placeholder values
|
2068
|
+
#
|
2069
|
+
# resp = client.list_release_labels({
|
2070
|
+
# filters: {
|
2071
|
+
# prefix: "String",
|
2072
|
+
# application: "String",
|
2073
|
+
# },
|
2074
|
+
# next_token: "String",
|
2075
|
+
# max_results: 1,
|
2076
|
+
# })
|
2077
|
+
#
|
2078
|
+
# @example Response structure
|
2079
|
+
#
|
2080
|
+
# resp.release_labels #=> Array
|
2081
|
+
# resp.release_labels[0] #=> String
|
2082
|
+
# resp.next_token #=> String
|
2083
|
+
#
|
2084
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListReleaseLabels AWS API Documentation
|
2085
|
+
#
|
2086
|
+
# @overload list_release_labels(params = {})
|
2087
|
+
# @param [Hash] params ({})
|
2088
|
+
def list_release_labels(params = {}, options = {})
|
2089
|
+
req = build_request(:list_release_labels, params)
|
2090
|
+
req.send_request(options)
|
2091
|
+
end
|
2092
|
+
|
1980
2093
|
# Lists all the security configurations visible to this account,
|
1981
2094
|
# providing their creation dates and times, and their names. This call
|
1982
2095
|
# returns a maximum of 50 clusters per call, but returns a marker to
|
@@ -2016,8 +2129,11 @@ module Aws::EMR
|
|
2016
2129
|
end
|
2017
2130
|
|
2018
2131
|
# Provides a list of steps for the cluster in reverse order unless you
|
2019
|
-
# specify `stepIds` with the request
|
2020
|
-
# specify a maximum of 10 `stepIDs`.
|
2132
|
+
# specify `stepIds` with the request or filter by `StepStates`. You can
|
2133
|
+
# specify a maximum of 10 `stepIDs`. The CLI automatically paginates
|
2134
|
+
# results to return a list greater than 50 steps. To return more than 50
|
2135
|
+
# steps using the CLI, specify a `Marker`, which is a pagination token
|
2136
|
+
# that indicates the next set of steps to retrieve.
|
2021
2137
|
#
|
2022
2138
|
# @option params [required, String] :cluster_id
|
2023
2139
|
# The identifier of the cluster for which to list the steps.
|
@@ -2031,8 +2147,10 @@ module Aws::EMR
|
|
2031
2147
|
# constraint applies to the overall length of the array.
|
2032
2148
|
#
|
2033
2149
|
# @option params [String] :marker
|
2034
|
-
# The
|
2035
|
-
#
|
2150
|
+
# The maximum number of steps that a single `ListSteps` action returns
|
2151
|
+
# is 50. To return a longer list of steps, use multiple `ListSteps`
|
2152
|
+
# actions along with the `Marker` parameter, which is a pagination token
|
2153
|
+
# that indicates the next set of results to retrieve.
|
2036
2154
|
#
|
2037
2155
|
# @return [Types::ListStepsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2038
2156
|
#
|
@@ -2131,9 +2249,9 @@ module Aws::EMR
|
|
2131
2249
|
req.send_request(options)
|
2132
2250
|
end
|
2133
2251
|
|
2134
|
-
# Returns a list of all Amazon EMR Studios associated with the
|
2135
|
-
#
|
2136
|
-
#
|
2252
|
+
# Returns a list of all Amazon EMR Studios associated with the account.
|
2253
|
+
# The list includes details such as ID, Studio Access URL, and creation
|
2254
|
+
# time for each Studio.
|
2137
2255
|
#
|
2138
2256
|
# @option params [String] :marker
|
2139
2257
|
# The pagination token that indicates the set of results to retrieve.
|
@@ -2179,7 +2297,10 @@ module Aws::EMR
|
|
2179
2297
|
#
|
2180
2298
|
# @option params [Integer] :step_concurrency_level
|
2181
2299
|
# The number of steps that can be executed concurrently. You can specify
|
2182
|
-
# a minimum of 1 step and a maximum of 256 steps.
|
2300
|
+
# a minimum of 1 step and a maximum of 256 steps. We recommend that you
|
2301
|
+
# do not change this parameter while steps are running or the
|
2302
|
+
# `ActionOnFailure` setting may not behave as expected. For more
|
2303
|
+
# information see Step$ActionOnFailure.
|
2183
2304
|
#
|
2184
2305
|
# @return [Types::ModifyClusterOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2185
2306
|
#
|
@@ -2219,7 +2340,7 @@ module Aws::EMR
|
|
2219
2340
|
# The unique identifier of the cluster.
|
2220
2341
|
#
|
2221
2342
|
# @option params [required, Types::InstanceFleetModifyConfig] :instance_fleet
|
2222
|
-
# The
|
2343
|
+
# The configuration parameters of the instance fleet.
|
2223
2344
|
#
|
2224
2345
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2225
2346
|
#
|
@@ -2405,7 +2526,7 @@ module Aws::EMR
|
|
2405
2526
|
end
|
2406
2527
|
|
2407
2528
|
# Creates or updates an Amazon EMR block public access configuration for
|
2408
|
-
# your
|
2529
|
+
# your account in the current Region. For more information see
|
2409
2530
|
# [Configure Block Public Access for Amazon EMR][1] in the *Amazon EMR
|
2410
2531
|
# Management Guide*.
|
2411
2532
|
#
|
@@ -2632,10 +2753,9 @@ module Aws::EMR
|
|
2632
2753
|
# value is not provided, logs are not created.
|
2633
2754
|
#
|
2634
2755
|
# @option params [String] :log_encryption_kms_key_id
|
2635
|
-
# The
|
2636
|
-
#
|
2637
|
-
#
|
2638
|
-
# excluding Amazon EMR 6.0.0.
|
2756
|
+
# The KMS key used for encrypting log files. If a value is not provided,
|
2757
|
+
# the logs remain encrypted by AES-256. This attribute is only available
|
2758
|
+
# with Amazon EMR version 5.30.0 and later, excluding Amazon EMR 6.0.0.
|
2639
2759
|
#
|
2640
2760
|
# @option params [String] :additional_info
|
2641
2761
|
# A JSON string for selecting additional features.
|
@@ -2740,10 +2860,22 @@ module Aws::EMR
|
|
2740
2860
|
# supplied for the EMR cluster you are creating.
|
2741
2861
|
#
|
2742
2862
|
# @option params [Boolean] :visible_to_all_users
|
2743
|
-
#
|
2744
|
-
#
|
2745
|
-
#
|
2746
|
-
#
|
2863
|
+
# Set this value to `true` so that IAM principals in the account
|
2864
|
+
# associated with the cluster can perform EMR actions on the cluster
|
2865
|
+
# that their IAM policies allow. This value defaults to `false` for
|
2866
|
+
# clusters created using the EMR API or the CLI [create-cluster][1]
|
2867
|
+
# command.
|
2868
|
+
#
|
2869
|
+
# When set to `false`, only the IAM principal that created the cluster
|
2870
|
+
# and the account root user can perform EMR actions for the cluster,
|
2871
|
+
# regardless of the IAM permissions policies attached to other IAM
|
2872
|
+
# principals. For more information, see [Understanding the EMR Cluster
|
2873
|
+
# VisibleToAllUsers Setting][2] in the *Amazon EMR Management Guide*.
|
2874
|
+
#
|
2875
|
+
#
|
2876
|
+
#
|
2877
|
+
# [1]: https://docs.aws.amazon.com/cli/latest/reference/emr/create-cluster.html
|
2878
|
+
# [2]: https://docs.aws.amazon.com/emr/latest/ManagementGuide/security_iam_emr-with-iam.html#security_set_visible_to_all_users
|
2747
2879
|
#
|
2748
2880
|
# @option params [String] :job_flow_role
|
2749
2881
|
# Also called instance profile and EC2 role. An IAM role for an EMR
|
@@ -2753,7 +2885,7 @@ module Aws::EMR
|
|
2753
2885
|
#
|
2754
2886
|
# @option params [String] :service_role
|
2755
2887
|
# The IAM role that will be assumed by the Amazon EMR service to access
|
2756
|
-
#
|
2888
|
+
# Amazon Web Services resources on your behalf.
|
2757
2889
|
#
|
2758
2890
|
# @option params [Array<Types::Tag>] :tags
|
2759
2891
|
# A list of tags to associate with a cluster and propagate to Amazon EC2
|
@@ -3159,25 +3291,32 @@ module Aws::EMR
|
|
3159
3291
|
req.send_request(options)
|
3160
3292
|
end
|
3161
3293
|
|
3162
|
-
# Sets the Cluster$VisibleToAllUsers value
|
3163
|
-
#
|
3164
|
-
#
|
3165
|
-
#
|
3166
|
-
#
|
3167
|
-
#
|
3168
|
-
#
|
3169
|
-
#
|
3170
|
-
#
|
3171
|
-
#
|
3294
|
+
# Sets the Cluster$VisibleToAllUsers value for an EMR cluster. When
|
3295
|
+
# `true`, IAM principals in the account can perform EMR cluster actions
|
3296
|
+
# that their IAM policies allow. When `false`, only the IAM principal
|
3297
|
+
# that created the cluster and the account root user can perform EMR
|
3298
|
+
# actions on the cluster, regardless of IAM permissions policies
|
3299
|
+
# attached to other IAM principals.
|
3300
|
+
#
|
3301
|
+
# This action works on running clusters. When you create a cluster, use
|
3302
|
+
# the RunJobFlowInput$VisibleToAllUsers parameter.
|
3303
|
+
#
|
3304
|
+
# For more information, see [Understanding the EMR Cluster
|
3305
|
+
# VisibleToAllUsers Setting][1] in the *Amazon EMR Management Guide*.
|
3306
|
+
#
|
3307
|
+
#
|
3308
|
+
#
|
3309
|
+
# [1]: https://docs.aws.amazon.com/emr/latest/ManagementGuide/security_iam_emr-with-iam.html#security_set_visible_to_all_users
|
3172
3310
|
#
|
3173
3311
|
# @option params [required, Array<String>] :job_flow_ids
|
3174
3312
|
# The unique identifier of the job flow (cluster).
|
3175
3313
|
#
|
3176
3314
|
# @option params [required, Boolean] :visible_to_all_users
|
3177
|
-
# A value of `true` indicates that
|
3178
|
-
# perform
|
3179
|
-
#
|
3180
|
-
#
|
3315
|
+
# A value of `true` indicates that an IAM principal in the account can
|
3316
|
+
# perform EMR actions on the cluster that the IAM policies attached to
|
3317
|
+
# the principal allow. A value of `false` indicates that only the IAM
|
3318
|
+
# principal that created the cluster and the Amazon Web Services root
|
3319
|
+
# user can perform EMR actions on the cluster.
|
3181
3320
|
#
|
3182
3321
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3183
3322
|
#
|
@@ -3384,9 +3523,9 @@ module Aws::EMR
|
|
3384
3523
|
#
|
3385
3524
|
# @option params [String] :identity_id
|
3386
3525
|
# The globally unique identifier (GUID) of the user or group. For more
|
3387
|
-
# information, see [UserId][1] and [GroupId][2] in the *
|
3388
|
-
# Store API Reference*. Either `IdentityName` or
|
3389
|
-
# specified.
|
3526
|
+
# information, see [UserId][1] and [GroupId][2] in the *Amazon Web
|
3527
|
+
# Services SSO Identity Store API Reference*. Either `IdentityName` or
|
3528
|
+
# `IdentityId` must be specified.
|
3390
3529
|
#
|
3391
3530
|
#
|
3392
3531
|
#
|
@@ -3395,8 +3534,9 @@ module Aws::EMR
|
|
3395
3534
|
#
|
3396
3535
|
# @option params [String] :identity_name
|
3397
3536
|
# The name of the user or group to update. For more information, see
|
3398
|
-
# [UserName][1] and [DisplayName][2] in the *
|
3399
|
-
# Reference*. Either `IdentityName` or `IdentityId`
|
3537
|
+
# [UserName][1] and [DisplayName][2] in the *Amazon Web Services SSO
|
3538
|
+
# Identity Store API Reference*. Either `IdentityName` or `IdentityId`
|
3539
|
+
# must be specified.
|
3400
3540
|
#
|
3401
3541
|
#
|
3402
3542
|
#
|
@@ -3444,7 +3584,7 @@ module Aws::EMR
|
|
3444
3584
|
params: params,
|
3445
3585
|
config: config)
|
3446
3586
|
context[:gem_name] = 'aws-sdk-emr'
|
3447
|
-
context[:gem_version] = '1.
|
3587
|
+
context[:gem_version] = '1.46.0'
|
3448
3588
|
Seahorse::Client::Request.new(handlers, context)
|
3449
3589
|
end
|
3450
3590
|
|