aws-sdk-emr 1.43.0 → 1.47.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: d1eb646ebc3d06d296e29ae21123a4633fdff007ef2a173f54c96dc5afe4da93
4
- data.tar.gz: 19c2487f152bfe70369f09c5f710028ece3094982dbad7dd6406331791c8079c
3
+ metadata.gz: ba908c3684463cb7e20e4765d7b72b93e52acb25614054a0fcb67df58054b2a6
4
+ data.tar.gz: bf3243c9b67bb2e1a1d801118181aea57be692580c5e29f32d4c54faf34eeb52
5
5
  SHA512:
6
- metadata.gz: 597c0459e540aff8cbbe26beb0ee6af4b66db85cebb7eecff4fdec608d69b1b0f4efafd822014a8c276ec9f4bfc203b61fbe6588d3e8ef589c7df81d316cceff
7
- data.tar.gz: 254023c27ee442518aee7f09c61c6fe23ccf8794fa8191925aecccc284b5a688bace2deee0f5e02dc57f9b60c162e9269eae3b91e1bde9fb6b0ea22b738c8066
6
+ metadata.gz: ab6bfd0b7aeaa9af35d01e3f7a631f3c56b52a924bfe842cf6ade8b75194c6d89d251436d2cad5d1ba5014b6f88bc1b85cb4fe5b732837ff240d7af252052c80
7
+ data.tar.gz: 04c9a3b14b5c5ac79f8454a726682367022a819d30efb03364bbf85591d747ff53884a5b502f246f884dae8484392353c3bbde9bea25e936ed072d4298a43c27
data/CHANGELOG.md CHANGED
@@ -1,6 +1,26 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.47.0 (2021-07-28)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.46.0 (2021-07-21)
10
+ ------------------
11
+
12
+ * 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.
13
+
14
+ 1.45.0 (2021-03-15)
15
+ ------------------
16
+
17
+ * Feature - Amazon EMR customers can now specify Resource Group to target Capacity Reservations in their EMR clusters with instance fleets using allocation strategy.
18
+
19
+ 1.44.0 (2021-03-10)
20
+ ------------------
21
+
22
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
23
+
4
24
  1.43.0 (2021-03-08)
5
25
  ------------------
6
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.43.0
1
+ 1.47.0
data/lib/aws-sdk-emr.rb CHANGED
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -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.43.0'
52
+ GEM_VERSION = '1.47.0'
53
53
 
54
54
  end
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -409,6 +409,7 @@ module Aws::EMR
409
409
  # capacity_reservation_options: {
410
410
  # usage_strategy: "use-capacity-reservations-first", # accepts use-capacity-reservations-first
411
411
  # capacity_reservation_preference: "open", # accepts open, none
412
+ # capacity_reservation_resource_group_arn: "XmlStringMaxLen256",
412
413
  # },
413
414
  # },
414
415
  # },
@@ -662,7 +663,10 @@ module Aws::EMR
662
663
  # maximum of 256 steps are allowed in each CancelSteps request.
663
664
  # CancelSteps is idempotent but asynchronous; it does not guarantee that
664
665
  # a step will be canceled, even if the request is successfully
665
- # submitted. You can only cancel steps that are in a `PENDING` state.
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.
666
670
  #
667
671
  # @option params [required, String] :cluster_id
668
672
  # The `ClusterID` for the specified steps that will be canceled. Use
@@ -771,7 +775,7 @@ module Aws::EMR
771
775
  # @option params [required, String] :service_role
772
776
  # The IAM role that will be assumed by the Amazon EMR Studio. The
773
777
  # service role provides a way for Amazon EMR Studio to interoperate with
774
- # other AWS services.
778
+ # other Amazon Web Services services.
775
779
  #
776
780
  # @option params [required, String] :user_role
777
781
  # The IAM user role that will be assumed by users and groups logged in
@@ -790,9 +794,8 @@ module Aws::EMR
790
794
  # security group, and it must be in the same VPC specified by `VpcId`.
791
795
  #
792
796
  # @option params [required, String] :default_s3_location
793
- # The default Amazon S3 location to back up Amazon EMR Studio Workspaces
794
- # and notebook files. A Studio user can select an alternative Amazon S3
795
- # location when creating a Workspace.
797
+ # The Amazon S3 location to back up Amazon EMR Studio Workspaces and
798
+ # notebook files.
796
799
  #
797
800
  # @option params [Array<Types::Tag>] :tags
798
801
  # A list of tags to associate with the Amazon EMR Studio. Tags are
@@ -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
- # 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.
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 *AWS SSO Identity Store API Reference*.
865
- # Either `IdentityName` or `IdentityId` must be specified.
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. Session policies refine Studio user
879
- # permissions without the need to use multiple IAM user roles.
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 *AWS SSO Identity Store API Reference*. Either
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 *AWS SSO Identity Store API Reference*. Either `IdentityName`
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&lt;Types::SimplifiedApplication&gt;
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 AWS
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 *AWS SSO Identity
1476
- # Store API Reference*. Either `IdentityName` or `IdentityId` must be
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 *AWS SSO Identity Store API
1487
- # Reference*. Either `IdentityName` or `IdentityId` must be specified.
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 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.
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
@@ -1697,6 +1756,7 @@ module Aws::EMR
1697
1756
  # resp.instance_fleets[0].launch_specifications.on_demand_specification.allocation_strategy #=> String, one of "lowest-price"
1698
1757
  # resp.instance_fleets[0].launch_specifications.on_demand_specification.capacity_reservation_options.usage_strategy #=> String, one of "use-capacity-reservations-first"
1699
1758
  # resp.instance_fleets[0].launch_specifications.on_demand_specification.capacity_reservation_options.capacity_reservation_preference #=> String, one of "open", "none"
1759
+ # resp.instance_fleets[0].launch_specifications.on_demand_specification.capacity_reservation_options.capacity_reservation_resource_group_arn #=> String
1700
1760
  # resp.marker #=> String
1701
1761
  #
1702
1762
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListInstanceFleets AWS API Documentation
@@ -1976,6 +2036,60 @@ module Aws::EMR
1976
2036
  req.send_request(options)
1977
2037
  end
1978
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&lt;String&gt;
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
+
1979
2093
  # Lists all the security configurations visible to this account,
1980
2094
  # providing their creation dates and times, and their names. This call
1981
2095
  # returns a maximum of 50 clusters per call, but returns a marker to
@@ -2015,8 +2129,11 @@ module Aws::EMR
2015
2129
  end
2016
2130
 
2017
2131
  # Provides a list of steps for the cluster in reverse order unless you
2018
- # specify `stepIds` with the request of filter by `StepStates`. You can
2019
- # 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.
2020
2137
  #
2021
2138
  # @option params [required, String] :cluster_id
2022
2139
  # The identifier of the cluster for which to list the steps.
@@ -2030,8 +2147,10 @@ module Aws::EMR
2030
2147
  # constraint applies to the overall length of the array.
2031
2148
  #
2032
2149
  # @option params [String] :marker
2033
- # The pagination token that indicates the next set of results to
2034
- # retrieve.
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.
2035
2154
  #
2036
2155
  # @return [Types::ListStepsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2037
2156
  #
@@ -2130,9 +2249,9 @@ module Aws::EMR
2130
2249
  req.send_request(options)
2131
2250
  end
2132
2251
 
2133
- # Returns a list of all Amazon EMR Studios associated with the AWS
2134
- # account. The list includes details such as ID, Studio Access URL, and
2135
- # creation time for each Studio.
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.
2136
2255
  #
2137
2256
  # @option params [String] :marker
2138
2257
  # The pagination token that indicates the set of results to retrieve.
@@ -2178,7 +2297,10 @@ module Aws::EMR
2178
2297
  #
2179
2298
  # @option params [Integer] :step_concurrency_level
2180
2299
  # The number of steps that can be executed concurrently. You can specify
2181
- # 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.
2182
2304
  #
2183
2305
  # @return [Types::ModifyClusterOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2184
2306
  #
@@ -2218,7 +2340,7 @@ module Aws::EMR
2218
2340
  # The unique identifier of the cluster.
2219
2341
  #
2220
2342
  # @option params [required, Types::InstanceFleetModifyConfig] :instance_fleet
2221
- # The unique identifier of the instance fleet.
2343
+ # The configuration parameters of the instance fleet.
2222
2344
  #
2223
2345
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2224
2346
  #
@@ -2404,7 +2526,7 @@ module Aws::EMR
2404
2526
  end
2405
2527
 
2406
2528
  # Creates or updates an Amazon EMR block public access configuration for
2407
- # your AWS account in the current Region. For more information see
2529
+ # your account in the current Region. For more information see
2408
2530
  # [Configure Block Public Access for Amazon EMR][1] in the *Amazon EMR
2409
2531
  # Management Guide*.
2410
2532
  #
@@ -2631,10 +2753,9 @@ module Aws::EMR
2631
2753
  # value is not provided, logs are not created.
2632
2754
  #
2633
2755
  # @option params [String] :log_encryption_kms_key_id
2634
- # The AWS KMS customer master key (CMK) used for encrypting log files.
2635
- # If a value is not provided, the logs remain encrypted by AES-256. This
2636
- # attribute is only available with Amazon EMR version 5.30.0 and later,
2637
- # 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.
2638
2759
  #
2639
2760
  # @option params [String] :additional_info
2640
2761
  # A JSON string for selecting additional features.
@@ -2739,10 +2860,22 @@ module Aws::EMR
2739
2860
  # supplied for the EMR cluster you are creating.
2740
2861
  #
2741
2862
  # @option params [Boolean] :visible_to_all_users
2742
- # A value of `true` indicates that all IAM users in the AWS account can
2743
- # perform cluster actions if they have the proper IAM policy
2744
- # permissions. This is the default. A value of `false` indicates that
2745
- # only the IAM user who created the cluster can perform actions.
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
2746
2879
  #
2747
2880
  # @option params [String] :job_flow_role
2748
2881
  # Also called instance profile and EC2 role. An IAM role for an EMR
@@ -2752,7 +2885,7 @@ module Aws::EMR
2752
2885
  #
2753
2886
  # @option params [String] :service_role
2754
2887
  # The IAM role that will be assumed by the Amazon EMR service to access
2755
- # AWS resources on your behalf.
2888
+ # Amazon Web Services resources on your behalf.
2756
2889
  #
2757
2890
  # @option params [Array<Types::Tag>] :tags
2758
2891
  # A list of tags to associate with a cluster and propagate to Amazon EC2
@@ -2975,6 +3108,7 @@ module Aws::EMR
2975
3108
  # capacity_reservation_options: {
2976
3109
  # usage_strategy: "use-capacity-reservations-first", # accepts use-capacity-reservations-first
2977
3110
  # capacity_reservation_preference: "open", # accepts open, none
3111
+ # capacity_reservation_resource_group_arn: "XmlStringMaxLen256",
2978
3112
  # },
2979
3113
  # },
2980
3114
  # },
@@ -3157,25 +3291,32 @@ module Aws::EMR
3157
3291
  req.send_request(options)
3158
3292
  end
3159
3293
 
3160
- # Sets the Cluster$VisibleToAllUsers value, which determines whether the
3161
- # cluster is visible to all IAM users of the AWS account associated with
3162
- # the cluster. Only the IAM user who created the cluster or the AWS
3163
- # account root user can call this action. The default value, `true`,
3164
- # indicates that all IAM users in the AWS account can perform cluster
3165
- # actions if they have the proper IAM policy permissions. If set to
3166
- # `false`, only the IAM user that created the cluster can perform
3167
- # actions. This action works on running clusters. You can override the
3168
- # default `true` setting when you create a cluster by using the
3169
- # `VisibleToAllUsers` parameter with `RunJobFlow`.
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
3170
3310
  #
3171
3311
  # @option params [required, Array<String>] :job_flow_ids
3172
3312
  # The unique identifier of the job flow (cluster).
3173
3313
  #
3174
3314
  # @option params [required, Boolean] :visible_to_all_users
3175
- # A value of `true` indicates that all IAM users in the AWS account can
3176
- # perform cluster actions if they have the proper IAM policy
3177
- # permissions. This is the default. A value of `false` indicates that
3178
- # only the IAM user who created the cluster can perform actions.
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.
3179
3320
  #
3180
3321
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3181
3322
  #
@@ -3350,9 +3491,8 @@ module Aws::EMR
3350
3491
  # belong to the same VPC as the Studio.
3351
3492
  #
3352
3493
  # @option params [String] :default_s3_location
3353
- # A default Amazon S3 location to back up Workspaces and notebook files
3354
- # for the Amazon EMR Studio. A Studio user can select an alternative
3355
- # Amazon S3 location when creating a Workspace.
3494
+ # The Amazon S3 location to back up Workspaces and notebook files for
3495
+ # the Amazon EMR Studio.
3356
3496
  #
3357
3497
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3358
3498
  #
@@ -3383,9 +3523,9 @@ module Aws::EMR
3383
3523
  #
3384
3524
  # @option params [String] :identity_id
3385
3525
  # The globally unique identifier (GUID) of the user or group. For more
3386
- # information, see [UserId][1] and [GroupId][2] in the *AWS SSO Identity
3387
- # Store API Reference*. Either `IdentityName` or `IdentityId` must be
3388
- # 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.
3389
3529
  #
3390
3530
  #
3391
3531
  #
@@ -3394,8 +3534,9 @@ module Aws::EMR
3394
3534
  #
3395
3535
  # @option params [String] :identity_name
3396
3536
  # The name of the user or group to update. For more information, see
3397
- # [UserName][1] and [DisplayName][2] in the *AWS SSO Identity Store API
3398
- # Reference*. Either `IdentityName` or `IdentityId` must be specified.
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.
3399
3540
  #
3400
3541
  #
3401
3542
  #
@@ -3443,7 +3584,7 @@ module Aws::EMR
3443
3584
  params: params,
3444
3585
  config: config)
3445
3586
  context[:gem_name] = 'aws-sdk-emr'
3446
- context[:gem_version] = '1.43.0'
3587
+ context[:gem_version] = '1.47.0'
3447
3588
  Seahorse::Client::Request.new(handlers, context)
3448
3589
  end
3449
3590