aws-sdk-emr 1.45.0 → 1.49.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: d818ada73c838b790942fe2c7f537fdb6e5d9314dbfe905e8360bfd81a430ad9
4
- data.tar.gz: 64081ea344b4de5fe4b9a19c480388eb73dc6bee523e3d0892e74f92dc38862d
3
+ metadata.gz: 58b6202840db551ffbc2db426ad53cd5c0d8ea37c7b4ee5b9eddf2d9e80a0236
4
+ data.tar.gz: 40a513db905c24dba538f0a6e9b0076a70ca811329b89a229f7024fc8fcfc3a5
5
5
  SHA512:
6
- metadata.gz: d5c2a990da58782c4c012e0def03c064a391dd5af4edf8a00ce2f56f0fa69a40590fab08c2ae9308d666123b23e31ba0a0d7827d0c10bfec43d3491a049af6a3
7
- data.tar.gz: 0b95c690576e61f2be0e3ecbbc5c185e9b276c7728454dd7ad9dfa5aaa960c94215079c515be07516751bfb68a2468c4da1069dd1ad88e9af06b64d93cfb4ff6
6
+ metadata.gz: e70a536f9c709ae750bc90bca00b827830ca9d8e871b090bfb336075cf32c8d09afaaab926bc809e660887aaabf07e0078303a0bc7502838a92c059ab27b1d1f
7
+ data.tar.gz: 7a3068ebf859c8eeff32579680a61855fcc97752489fb52588f348523909b799ddfdf45cbc6083294868042b582ce02b5734c0cbb4a9f2d8b35b6bc87d3e47d1
data/CHANGELOG.md CHANGED
@@ -1,6 +1,26 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.49.0 (2021-08-13)
5
+ ------------------
6
+
7
+ * Feature - Amazon EMR customers can now specify custom AMIs at the instance level in their clusters. This allows using custom AMIs in clusters that have instances with different instruction set architectures, e.g. m5.xlarge (x86) and m6g.xlarge (ARM).
8
+
9
+ 1.48.0 (2021-07-30)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ 1.47.0 (2021-07-28)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
19
+ 1.46.0 (2021-07-21)
20
+ ------------------
21
+
22
+ * 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.
23
+
4
24
  1.45.0 (2021-03-15)
5
25
  ------------------
6
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.45.0
1
+ 1.49.0
data/lib/aws-sdk-emr.rb CHANGED
@@ -19,7 +19,7 @@ require_relative 'aws-sdk-emr/waiters'
19
19
  require_relative 'aws-sdk-emr/resource'
20
20
  require_relative 'aws-sdk-emr/customizations'
21
21
 
22
- # This module provides support for Amazon Elastic MapReduce. This module is available in the
22
+ # This module provides support for Amazon EMR. This module is available in the
23
23
  # `aws-sdk-emr` gem.
24
24
  #
25
25
  # # Client
@@ -35,13 +35,13 @@ require_relative 'aws-sdk-emr/customizations'
35
35
  #
36
36
  # # Errors
37
37
  #
38
- # Errors returned from Amazon Elastic MapReduce are defined in the
38
+ # Errors returned from Amazon EMR are defined in the
39
39
  # {Errors} module and all extend {Errors::ServiceError}.
40
40
  #
41
41
  # begin
42
42
  # # do stuff
43
43
  # rescue Aws::EMR::Errors::ServiceError
44
- # # rescues all Amazon Elastic MapReduce API errors
44
+ # # rescues all Amazon EMR API errors
45
45
  # end
46
46
  #
47
47
  # See {Errors} for more information.
@@ -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.45.0'
52
+ GEM_VERSION = '1.49.0'
53
53
 
54
54
  end
@@ -395,6 +395,7 @@ module Aws::EMR
395
395
  # },
396
396
  # },
397
397
  # ],
398
+ # custom_ami_id: "XmlStringMaxLen256",
398
399
  # },
399
400
  # ],
400
401
  # launch_specifications: {
@@ -518,6 +519,7 @@ module Aws::EMR
518
519
  # },
519
520
  # ],
520
521
  # },
522
+ # custom_ami_id: "XmlStringMaxLen256",
521
523
  # },
522
524
  # ],
523
525
  # job_flow_id: "XmlStringMaxLen256", # required
@@ -663,7 +665,10 @@ module Aws::EMR
663
665
  # maximum of 256 steps are allowed in each CancelSteps request.
664
666
  # CancelSteps is idempotent but asynchronous; it does not guarantee that
665
667
  # a step will be canceled, even if the request is successfully
666
- # submitted. You can only cancel steps that are in a `PENDING` state.
668
+ # submitted. When you use Amazon EMR versions 5.28.0 and later, you can
669
+ # cancel steps that are in a `PENDING` or `RUNNING` state. In earlier
670
+ # versions of Amazon EMR, you can only cancel steps that are in a
671
+ # `PENDING` state.
667
672
  #
668
673
  # @option params [required, String] :cluster_id
669
674
  # The `ClusterID` for the specified steps that will be canceled. Use
@@ -772,7 +777,7 @@ module Aws::EMR
772
777
  # @option params [required, String] :service_role
773
778
  # The IAM role that will be assumed by the Amazon EMR Studio. The
774
779
  # service role provides a way for Amazon EMR Studio to interoperate with
775
- # other AWS services.
780
+ # other Amazon Web Services services.
776
781
  #
777
782
  # @option params [required, String] :user_role
778
783
  # The IAM user role that will be assumed by users and groups logged in
@@ -850,9 +855,10 @@ module Aws::EMR
850
855
  #
851
856
  # @option params [String] :identity_id
852
857
  # The globally unique identifier (GUID) of the user or group from the
853
- # AWS SSO Identity Store. For more information, see [UserId][1] and
854
- # [GroupId][2] in the *AWS SSO Identity Store API Reference*. Either
855
- # `IdentityName` or `IdentityId` must be specified.
858
+ # Amazon Web Services SSO Identity Store. For more information, see
859
+ # [UserId][1] and [GroupId][2] in the *Amazon Web Services SSO Identity
860
+ # Store API Reference*. Either `IdentityName` or `IdentityId` must be
861
+ # specified, but not both.
856
862
  #
857
863
  #
858
864
  #
@@ -861,8 +867,9 @@ module Aws::EMR
861
867
  #
862
868
  # @option params [String] :identity_name
863
869
  # The name of the user or group. For more information, see [UserName][1]
864
- # and [DisplayName][2] in the *AWS SSO Identity Store API Reference*.
865
- # Either `IdentityName` or `IdentityId` must be specified.
870
+ # and [DisplayName][2] in the *Amazon Web Services SSO Identity Store
871
+ # API Reference*. Either `IdentityName` or `IdentityId` must be
872
+ # specified, but not both.
866
873
  #
867
874
  #
868
875
  #
@@ -875,8 +882,14 @@ module Aws::EMR
875
882
  #
876
883
  # @option params [required, String] :session_policy_arn
877
884
  # The Amazon Resource Name (ARN) for the session policy that will be
878
- # applied to the user or group. Session policies refine Studio user
879
- # permissions without the need to use multiple IAM user roles.
885
+ # applied to the user or group. You should specify the ARN for the
886
+ # session policy that you want to apply, not the ARN of your user role.
887
+ # For more information, see [Create an EMR Studio User Role with Session
888
+ # Policies][1].
889
+ #
890
+ #
891
+ #
892
+ # [1]: https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-studio-user-role.html
880
893
  #
881
894
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
882
895
  #
@@ -951,8 +964,8 @@ module Aws::EMR
951
964
  # @option params [String] :identity_id
952
965
  # The globally unique identifier (GUID) of the user or group to remove
953
966
  # from the Amazon EMR Studio. For more information, see [UserId][1] and
954
- # [GroupId][2] in the *AWS SSO Identity Store API Reference*. Either
955
- # `IdentityName` or `IdentityId` must be specified.
967
+ # [GroupId][2] in the *Amazon Web Services SSO Identity Store API
968
+ # Reference*. Either `IdentityName` or `IdentityId` must be specified.
956
969
  #
957
970
  #
958
971
  #
@@ -962,8 +975,8 @@ module Aws::EMR
962
975
  # @option params [String] :identity_name
963
976
  # The name of the user name or group to remove from the Amazon EMR
964
977
  # Studio. For more information, see [UserName][1] and [DisplayName][2]
965
- # in the *AWS SSO Identity Store API Reference*. Either `IdentityName`
966
- # or `IdentityId` must be specified.
978
+ # in the *Amazon Web Services SSO Store API Reference*. Either
979
+ # `IdentityName` or `IdentityId` must be specified.
967
980
  #
968
981
  #
969
982
  #
@@ -1176,6 +1189,7 @@ module Aws::EMR
1176
1189
  # resp.job_flows[0].instances.instance_groups[0].start_date_time #=> Time
1177
1190
  # resp.job_flows[0].instances.instance_groups[0].ready_date_time #=> Time
1178
1191
  # resp.job_flows[0].instances.instance_groups[0].end_date_time #=> Time
1192
+ # resp.job_flows[0].instances.instance_groups[0].custom_ami_id #=> String
1179
1193
  # resp.job_flows[0].instances.normalized_instance_hours #=> Integer
1180
1194
  # resp.job_flows[0].instances.ec2_key_name #=> String
1181
1195
  # resp.job_flows[0].instances.ec2_subnet_id #=> String
@@ -1266,6 +1280,51 @@ module Aws::EMR
1266
1280
  req.send_request(options)
1267
1281
  end
1268
1282
 
1283
+ # Provides EMR release label details, such as releases available the
1284
+ # region where the API request is run, and the available applications
1285
+ # for a specific EMR release label. Can also list EMR release versions
1286
+ # that support a specified version of Spark.
1287
+ #
1288
+ # @option params [String] :release_label
1289
+ # The target release label to be described.
1290
+ #
1291
+ # @option params [String] :next_token
1292
+ # The pagination token. Reserved for future use. Currently set to null.
1293
+ #
1294
+ # @option params [Integer] :max_results
1295
+ # Reserved for future use. Currently set to null.
1296
+ #
1297
+ # @return [Types::DescribeReleaseLabelOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1298
+ #
1299
+ # * {Types::DescribeReleaseLabelOutput#release_label #release_label} => String
1300
+ # * {Types::DescribeReleaseLabelOutput#applications #applications} => Array<Types::SimplifiedApplication>
1301
+ # * {Types::DescribeReleaseLabelOutput#next_token #next_token} => String
1302
+ #
1303
+ # @example Request syntax with placeholder values
1304
+ #
1305
+ # resp = client.describe_release_label({
1306
+ # release_label: "String",
1307
+ # next_token: "String",
1308
+ # max_results: 1,
1309
+ # })
1310
+ #
1311
+ # @example Response structure
1312
+ #
1313
+ # resp.release_label #=> String
1314
+ # resp.applications #=> Array
1315
+ # resp.applications[0].name #=> String
1316
+ # resp.applications[0].version #=> String
1317
+ # resp.next_token #=> String
1318
+ #
1319
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DescribeReleaseLabel AWS API Documentation
1320
+ #
1321
+ # @overload describe_release_label(params = {})
1322
+ # @param [Hash] params ({})
1323
+ def describe_release_label(params = {}, options = {})
1324
+ req = build_request(:describe_release_label, params)
1325
+ req.send_request(options)
1326
+ end
1327
+
1269
1328
  # Provides the details of a security configuration by returning the
1270
1329
  # configuration JSON.
1271
1330
  #
@@ -1399,7 +1458,7 @@ module Aws::EMR
1399
1458
  req.send_request(options)
1400
1459
  end
1401
1460
 
1402
- # Returns the Amazon EMR block public access configuration for your AWS
1461
+ # Returns the Amazon EMR block public access configuration for your
1403
1462
  # account in the current Region. For more information see [Configure
1404
1463
  # Block Public Access for Amazon EMR][1] in the *Amazon EMR Management
1405
1464
  # Guide*.
@@ -1472,9 +1531,9 @@ module Aws::EMR
1472
1531
  #
1473
1532
  # @option params [String] :identity_id
1474
1533
  # The globally unique identifier (GUID) of the user or group. For more
1475
- # information, see [UserId][1] and [GroupId][2] in the *AWS SSO Identity
1476
- # Store API Reference*. Either `IdentityName` or `IdentityId` must be
1477
- # specified.
1534
+ # information, see [UserId][1] and [GroupId][2] in the *Amazon Web
1535
+ # Services SSO Identity Store API Reference*. Either `IdentityName` or
1536
+ # `IdentityId` must be specified.
1478
1537
  #
1479
1538
  #
1480
1539
  #
@@ -1483,8 +1542,9 @@ module Aws::EMR
1483
1542
  #
1484
1543
  # @option params [String] :identity_name
1485
1544
  # The name of the user or group to fetch. For more information, see
1486
- # [UserName][1] and [DisplayName][2] in the *AWS SSO Identity Store API
1487
- # Reference*. Either `IdentityName` or `IdentityId` must be specified.
1545
+ # [UserName][1] and [DisplayName][2] in the *Amazon Web Services SSO
1546
+ # Identity Store API Reference*. Either `IdentityName` or `IdentityId`
1547
+ # must be specified.
1488
1548
  #
1489
1549
  #
1490
1550
  #
@@ -1568,12 +1628,12 @@ module Aws::EMR
1568
1628
  req.send_request(options)
1569
1629
  end
1570
1630
 
1571
- # Provides the status of all clusters visible to this AWS account.
1572
- # Allows you to filter the list of clusters based on certain criteria;
1573
- # for example, filtering by cluster creation date and time or by status.
1574
- # This call returns a maximum of 50 clusters per call, but returns a
1575
- # marker to track the paging of the cluster list across multiple
1576
- # ListClusters calls.
1631
+ # Provides the status of all clusters visible to this account. Allows
1632
+ # you to filter the list of clusters based on certain criteria; for
1633
+ # example, filtering by cluster creation date and time or by status.
1634
+ # This call returns a maximum of 50 clusters in unsorted order per call,
1635
+ # but returns a marker to track the paging of the cluster list across
1636
+ # multiple ListClusters calls.
1577
1637
  #
1578
1638
  # @option params [Time,DateTime,Date,Integer,String] :created_after
1579
1639
  # The creation date and time beginning value filter for listing
@@ -1583,7 +1643,9 @@ module Aws::EMR
1583
1643
  # The creation date and time end value filter for listing clusters.
1584
1644
  #
1585
1645
  # @option params [Array<String>] :cluster_states
1586
- # The cluster state filters to apply when listing clusters.
1646
+ # The cluster state filters to apply when listing clusters. Clusters
1647
+ # that change state while this action runs may be not be returned as
1648
+ # expected in the list of clusters.
1587
1649
  #
1588
1650
  # @option params [String] :marker
1589
1651
  # The pagination token that indicates the next set of results to
@@ -1690,6 +1752,7 @@ module Aws::EMR
1690
1752
  # resp.instance_fleets[0].instance_type_specifications[0].ebs_block_devices[0].volume_specification.size_in_gb #=> Integer
1691
1753
  # resp.instance_fleets[0].instance_type_specifications[0].ebs_block_devices[0].device #=> String
1692
1754
  # resp.instance_fleets[0].instance_type_specifications[0].ebs_optimized #=> Boolean
1755
+ # resp.instance_fleets[0].instance_type_specifications[0].custom_ami_id #=> String
1693
1756
  # resp.instance_fleets[0].launch_specifications.spot_specification.timeout_duration_minutes #=> Integer
1694
1757
  # resp.instance_fleets[0].launch_specifications.spot_specification.timeout_action #=> String, one of "SWITCH_TO_ON_DEMAND", "TERMINATE_CLUSTER"
1695
1758
  # resp.instance_fleets[0].launch_specifications.spot_specification.block_duration_minutes #=> Integer
@@ -1796,6 +1859,7 @@ module Aws::EMR
1796
1859
  # resp.instance_groups[0].auto_scaling_policy.rules[0].trigger.cloud_watch_alarm_definition.dimensions #=> Array
1797
1860
  # resp.instance_groups[0].auto_scaling_policy.rules[0].trigger.cloud_watch_alarm_definition.dimensions[0].key #=> String
1798
1861
  # resp.instance_groups[0].auto_scaling_policy.rules[0].trigger.cloud_watch_alarm_definition.dimensions[0].value #=> String
1862
+ # resp.instance_groups[0].custom_ami_id #=> String
1799
1863
  # resp.marker #=> String
1800
1864
  #
1801
1865
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListInstanceGroups AWS API Documentation
@@ -1977,6 +2041,60 @@ module Aws::EMR
1977
2041
  req.send_request(options)
1978
2042
  end
1979
2043
 
2044
+ # Retrieves release labels of EMR services in the region where the API
2045
+ # is called.
2046
+ #
2047
+ # @option params [Types::ReleaseLabelFilter] :filters
2048
+ # Filters the results of the request. `Prefix` specifies the prefix of
2049
+ # release labels to return. `Application` specifies the application
2050
+ # (with/without version) of release labels to return.
2051
+ #
2052
+ # @option params [String] :next_token
2053
+ # Specifies the next page of results. If `NextToken` is not specified,
2054
+ # which is usually the case for the first request of ListReleaseLabels,
2055
+ # the first page of results are determined by other filtering parameters
2056
+ # or by the latest version. The `ListReleaseLabels` request fails if the
2057
+ # identity (account ID) and all filtering parameters are different from
2058
+ # the original request, or if the `NextToken` is expired or tampered
2059
+ # with.
2060
+ #
2061
+ # @option params [Integer] :max_results
2062
+ # Defines the maximum number of release labels to return in a single
2063
+ # response. The default is `100`.
2064
+ #
2065
+ # @return [Types::ListReleaseLabelsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2066
+ #
2067
+ # * {Types::ListReleaseLabelsOutput#release_labels #release_labels} => Array&lt;String&gt;
2068
+ # * {Types::ListReleaseLabelsOutput#next_token #next_token} => String
2069
+ #
2070
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2071
+ #
2072
+ # @example Request syntax with placeholder values
2073
+ #
2074
+ # resp = client.list_release_labels({
2075
+ # filters: {
2076
+ # prefix: "String",
2077
+ # application: "String",
2078
+ # },
2079
+ # next_token: "String",
2080
+ # max_results: 1,
2081
+ # })
2082
+ #
2083
+ # @example Response structure
2084
+ #
2085
+ # resp.release_labels #=> Array
2086
+ # resp.release_labels[0] #=> String
2087
+ # resp.next_token #=> String
2088
+ #
2089
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListReleaseLabels AWS API Documentation
2090
+ #
2091
+ # @overload list_release_labels(params = {})
2092
+ # @param [Hash] params ({})
2093
+ def list_release_labels(params = {}, options = {})
2094
+ req = build_request(:list_release_labels, params)
2095
+ req.send_request(options)
2096
+ end
2097
+
1980
2098
  # Lists all the security configurations visible to this account,
1981
2099
  # providing their creation dates and times, and their names. This call
1982
2100
  # returns a maximum of 50 clusters per call, but returns a marker to
@@ -2016,8 +2134,11 @@ module Aws::EMR
2016
2134
  end
2017
2135
 
2018
2136
  # Provides a list of steps for the cluster in reverse order unless you
2019
- # specify `stepIds` with the request of filter by `StepStates`. You can
2020
- # specify a maximum of 10 `stepIDs`.
2137
+ # specify `stepIds` with the request or filter by `StepStates`. You can
2138
+ # specify a maximum of 10 `stepIDs`. The CLI automatically paginates
2139
+ # results to return a list greater than 50 steps. To return more than 50
2140
+ # steps using the CLI, specify a `Marker`, which is a pagination token
2141
+ # that indicates the next set of steps to retrieve.
2021
2142
  #
2022
2143
  # @option params [required, String] :cluster_id
2023
2144
  # The identifier of the cluster for which to list the steps.
@@ -2031,8 +2152,10 @@ module Aws::EMR
2031
2152
  # constraint applies to the overall length of the array.
2032
2153
  #
2033
2154
  # @option params [String] :marker
2034
- # The pagination token that indicates the next set of results to
2035
- # retrieve.
2155
+ # The maximum number of steps that a single `ListSteps` action returns
2156
+ # is 50. To return a longer list of steps, use multiple `ListSteps`
2157
+ # actions along with the `Marker` parameter, which is a pagination token
2158
+ # that indicates the next set of results to retrieve.
2036
2159
  #
2037
2160
  # @return [Types::ListStepsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2038
2161
  #
@@ -2131,9 +2254,9 @@ module Aws::EMR
2131
2254
  req.send_request(options)
2132
2255
  end
2133
2256
 
2134
- # Returns a list of all Amazon EMR Studios associated with the AWS
2135
- # account. The list includes details such as ID, Studio Access URL, and
2136
- # creation time for each Studio.
2257
+ # Returns a list of all Amazon EMR Studios associated with the account.
2258
+ # The list includes details such as ID, Studio Access URL, and creation
2259
+ # time for each Studio.
2137
2260
  #
2138
2261
  # @option params [String] :marker
2139
2262
  # The pagination token that indicates the set of results to retrieve.
@@ -2179,7 +2302,10 @@ module Aws::EMR
2179
2302
  #
2180
2303
  # @option params [Integer] :step_concurrency_level
2181
2304
  # The number of steps that can be executed concurrently. You can specify
2182
- # a minimum of 1 step and a maximum of 256 steps.
2305
+ # a minimum of 1 step and a maximum of 256 steps. We recommend that you
2306
+ # do not change this parameter while steps are running or the
2307
+ # `ActionOnFailure` setting may not behave as expected. For more
2308
+ # information see Step$ActionOnFailure.
2183
2309
  #
2184
2310
  # @return [Types::ModifyClusterOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2185
2311
  #
@@ -2219,7 +2345,7 @@ module Aws::EMR
2219
2345
  # The unique identifier of the cluster.
2220
2346
  #
2221
2347
  # @option params [required, Types::InstanceFleetModifyConfig] :instance_fleet
2222
- # The unique identifier of the instance fleet.
2348
+ # The configuration parameters of the instance fleet.
2223
2349
  #
2224
2350
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2225
2351
  #
@@ -2405,7 +2531,7 @@ module Aws::EMR
2405
2531
  end
2406
2532
 
2407
2533
  # Creates or updates an Amazon EMR block public access configuration for
2408
- # your AWS account in the current Region. For more information see
2534
+ # your account in the current Region. For more information see
2409
2535
  # [Configure Block Public Access for Amazon EMR][1] in the *Amazon EMR
2410
2536
  # Management Guide*.
2411
2537
  #
@@ -2632,10 +2758,9 @@ module Aws::EMR
2632
2758
  # value is not provided, logs are not created.
2633
2759
  #
2634
2760
  # @option params [String] :log_encryption_kms_key_id
2635
- # The AWS KMS customer master key (CMK) used for encrypting log files.
2636
- # If a value is not provided, the logs remain encrypted by AES-256. This
2637
- # attribute is only available with Amazon EMR version 5.30.0 and later,
2638
- # excluding Amazon EMR 6.0.0.
2761
+ # The KMS key used for encrypting log files. If a value is not provided,
2762
+ # the logs remain encrypted by AES-256. This attribute is only available
2763
+ # with Amazon EMR version 5.30.0 and later, excluding Amazon EMR 6.0.0.
2639
2764
  #
2640
2765
  # @option params [String] :additional_info
2641
2766
  # A JSON string for selecting additional features.
@@ -2740,10 +2865,22 @@ module Aws::EMR
2740
2865
  # supplied for the EMR cluster you are creating.
2741
2866
  #
2742
2867
  # @option params [Boolean] :visible_to_all_users
2743
- # A value of `true` indicates that all IAM users in the AWS account can
2744
- # perform cluster actions if they have the proper IAM policy
2745
- # permissions. This is the default. A value of `false` indicates that
2746
- # only the IAM user who created the cluster can perform actions.
2868
+ # Set this value to `true` so that IAM principals in the account
2869
+ # associated with the cluster can perform EMR actions on the cluster
2870
+ # that their IAM policies allow. This value defaults to `true` for
2871
+ # clusters created using the EMR API or the CLI [create-cluster][1]
2872
+ # command.
2873
+ #
2874
+ # When set to `false`, only the IAM principal that created the cluster
2875
+ # and the account root user can perform EMR actions for the cluster,
2876
+ # regardless of the IAM permissions policies attached to other IAM
2877
+ # principals. For more information, see [Understanding the EMR Cluster
2878
+ # VisibleToAllUsers Setting][2] in the *Amazon EMRManagement Guide*.
2879
+ #
2880
+ #
2881
+ #
2882
+ # [1]: https://docs.aws.amazon.com/cli/latest/reference/emr/create-cluster.html
2883
+ # [2]: https://docs.aws.amazon.com/emr/latest/ManagementGuide/security_iam_emr-with-iam.html#security_set_visible_to_all_users
2747
2884
  #
2748
2885
  # @option params [String] :job_flow_role
2749
2886
  # Also called instance profile and EC2 role. An IAM role for an EMR
@@ -2753,7 +2890,7 @@ module Aws::EMR
2753
2890
  #
2754
2891
  # @option params [String] :service_role
2755
2892
  # The IAM role that will be assumed by the Amazon EMR service to access
2756
- # AWS resources on your behalf.
2893
+ # Amazon Web Services resources on your behalf.
2757
2894
  #
2758
2895
  # @option params [Array<Types::Tag>] :tags
2759
2896
  # A list of tags to associate with a cluster and propagate to Amazon EC2
@@ -2924,6 +3061,7 @@ module Aws::EMR
2924
3061
  # },
2925
3062
  # ],
2926
3063
  # },
3064
+ # custom_ami_id: "XmlStringMaxLen256",
2927
3065
  # },
2928
3066
  # ],
2929
3067
  # instance_fleets: [
@@ -2962,6 +3100,7 @@ module Aws::EMR
2962
3100
  # },
2963
3101
  # },
2964
3102
  # ],
3103
+ # custom_ami_id: "XmlStringMaxLen256",
2965
3104
  # },
2966
3105
  # ],
2967
3106
  # launch_specifications: {
@@ -3159,25 +3298,32 @@ module Aws::EMR
3159
3298
  req.send_request(options)
3160
3299
  end
3161
3300
 
3162
- # Sets the Cluster$VisibleToAllUsers value, which determines whether the
3163
- # cluster is visible to all IAM users of the AWS account associated with
3164
- # the cluster. Only the IAM user who created the cluster or the AWS
3165
- # account root user can call this action. The default value, `true`,
3166
- # indicates that all IAM users in the AWS account can perform cluster
3167
- # actions if they have the proper IAM policy permissions. If set to
3168
- # `false`, only the IAM user that created the cluster can perform
3169
- # actions. This action works on running clusters. You can override the
3170
- # default `true` setting when you create a cluster by using the
3171
- # `VisibleToAllUsers` parameter with `RunJobFlow`.
3301
+ # Sets the Cluster$VisibleToAllUsers value for an EMR cluster. When
3302
+ # `true`, IAM principals in the account can perform EMR cluster actions
3303
+ # that their IAM policies allow. When `false`, only the IAM principal
3304
+ # that created the cluster and the account root user can perform EMR
3305
+ # actions on the cluster, regardless of IAM permissions policies
3306
+ # attached to other IAM principals.
3307
+ #
3308
+ # This action works on running clusters. When you create a cluster, use
3309
+ # the RunJobFlowInput$VisibleToAllUsers parameter.
3310
+ #
3311
+ # For more information, see [Understanding the EMR Cluster
3312
+ # VisibleToAllUsers Setting][1] in the *Amazon EMRManagement Guide*.
3313
+ #
3314
+ #
3315
+ #
3316
+ # [1]: https://docs.aws.amazon.com/emr/latest/ManagementGuide/security_iam_emr-with-iam.html#security_set_visible_to_all_users
3172
3317
  #
3173
3318
  # @option params [required, Array<String>] :job_flow_ids
3174
3319
  # The unique identifier of the job flow (cluster).
3175
3320
  #
3176
3321
  # @option params [required, Boolean] :visible_to_all_users
3177
- # A value of `true` indicates that all IAM users in the AWS account can
3178
- # perform cluster actions if they have the proper IAM policy
3179
- # permissions. This is the default. A value of `false` indicates that
3180
- # only the IAM user who created the cluster can perform actions.
3322
+ # A value of `true` indicates that an IAM principal in the account can
3323
+ # perform EMR actions on the cluster that the IAM policies attached to
3324
+ # the principal allow. A value of `false` indicates that only the IAM
3325
+ # principal that created the cluster and the Amazon Web Services root
3326
+ # user can perform EMR actions on the cluster.
3181
3327
  #
3182
3328
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3183
3329
  #
@@ -3384,9 +3530,9 @@ module Aws::EMR
3384
3530
  #
3385
3531
  # @option params [String] :identity_id
3386
3532
  # The globally unique identifier (GUID) of the user or group. For more
3387
- # information, see [UserId][1] and [GroupId][2] in the *AWS SSO Identity
3388
- # Store API Reference*. Either `IdentityName` or `IdentityId` must be
3389
- # specified.
3533
+ # information, see [UserId][1] and [GroupId][2] in the *Amazon Web
3534
+ # Services SSO Identity Store API Reference*. Either `IdentityName` or
3535
+ # `IdentityId` must be specified.
3390
3536
  #
3391
3537
  #
3392
3538
  #
@@ -3395,8 +3541,9 @@ module Aws::EMR
3395
3541
  #
3396
3542
  # @option params [String] :identity_name
3397
3543
  # The name of the user or group to update. For more information, see
3398
- # [UserName][1] and [DisplayName][2] in the *AWS SSO Identity Store API
3399
- # Reference*. Either `IdentityName` or `IdentityId` must be specified.
3544
+ # [UserName][1] and [DisplayName][2] in the *Amazon Web Services SSO
3545
+ # Identity Store API Reference*. Either `IdentityName` or `IdentityId`
3546
+ # must be specified.
3400
3547
  #
3401
3548
  #
3402
3549
  #
@@ -3444,7 +3591,7 @@ module Aws::EMR
3444
3591
  params: params,
3445
3592
  config: config)
3446
3593
  context[:gem_name] = 'aws-sdk-emr'
3447
- context[:gem_version] = '1.45.0'
3594
+ context[:gem_version] = '1.49.0'
3448
3595
  Seahorse::Client::Request.new(handlers, context)
3449
3596
  end
3450
3597