aws-sdk-emr 1.40.0 → 1.45.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +298 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-emr.rb +2 -2
- data/lib/aws-sdk-emr/client.rb +90 -78
- data/lib/aws-sdk-emr/client_api.rb +29 -2
- data/lib/aws-sdk-emr/errors.rb +1 -1
- data/lib/aws-sdk-emr/resource.rb +1 -1
- data/lib/aws-sdk-emr/types.rb +215 -74
- data/lib/aws-sdk-emr/waiters.rb +1 -1
- metadata +8 -5
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
1.45.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/
|
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.
|
52
|
+
GEM_VERSION = '1.45.0'
|
53
53
|
|
54
54
|
end
|
data/lib/aws-sdk-emr/client.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/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -406,6 +406,11 @@ module Aws::EMR
|
|
406
406
|
# },
|
407
407
|
# on_demand_specification: {
|
408
408
|
# allocation_strategy: "lowest-price", # required, accepts lowest-price
|
409
|
+
# capacity_reservation_options: {
|
410
|
+
# usage_strategy: "use-capacity-reservations-first", # accepts use-capacity-reservations-first
|
411
|
+
# capacity_reservation_preference: "open", # accepts open, none
|
412
|
+
# capacity_reservation_resource_group_arn: "XmlStringMaxLen256",
|
413
|
+
# },
|
409
414
|
# },
|
410
415
|
# },
|
411
416
|
# },
|
@@ -741,18 +746,13 @@ module Aws::EMR
|
|
741
746
|
req.send_request(options)
|
742
747
|
end
|
743
748
|
|
744
|
-
# <note markdown="1"> The Amazon EMR Studio APIs are in preview release for Amazon EMR and
|
745
|
-
# are subject to change.
|
746
|
-
#
|
747
|
-
# </note>
|
748
|
-
#
|
749
749
|
# Creates a new Amazon EMR Studio.
|
750
750
|
#
|
751
751
|
# @option params [required, String] :name
|
752
752
|
# A descriptive name for the Amazon EMR Studio.
|
753
753
|
#
|
754
754
|
# @option params [String] :description
|
755
|
-
# A detailed description of the Studio.
|
755
|
+
# A detailed description of the Amazon EMR Studio.
|
756
756
|
#
|
757
757
|
# @option params [required, String] :auth_mode
|
758
758
|
# Specifies whether the Studio authenticates users using single sign-on
|
@@ -764,9 +764,10 @@ module Aws::EMR
|
|
764
764
|
# with the Studio.
|
765
765
|
#
|
766
766
|
# @option params [required, Array<String>] :subnet_ids
|
767
|
-
# A list of subnet IDs to associate with the Studio.
|
768
|
-
#
|
769
|
-
# Workspace in any of
|
767
|
+
# A list of subnet IDs to associate with the Amazon EMR Studio. A Studio
|
768
|
+
# can have a maximum of 5 subnets. The subnets must belong to the VPC
|
769
|
+
# specified by `VpcId`. Studio users can create a Workspace in any of
|
770
|
+
# the specified subnets.
|
770
771
|
#
|
771
772
|
# @option params [required, String] :service_role
|
772
773
|
# The IAM role that will be assumed by the Amazon EMR Studio. The
|
@@ -775,8 +776,8 @@ module Aws::EMR
|
|
775
776
|
#
|
776
777
|
# @option params [required, String] :user_role
|
777
778
|
# The IAM user role that will be assumed by users and groups logged in
|
778
|
-
# to
|
779
|
-
# down for each user or group using session policies.
|
779
|
+
# to an Amazon EMR Studio. The permissions attached to this IAM role can
|
780
|
+
# be scoped down for each user or group using session policies.
|
780
781
|
#
|
781
782
|
# @option params [required, String] :workspace_security_group_id
|
782
783
|
# The ID of the Amazon EMR Studio Workspace security group. The
|
@@ -789,16 +790,15 @@ module Aws::EMR
|
|
789
790
|
# security group allows inbound network traffic from the Workspace
|
790
791
|
# security group, and it must be in the same VPC specified by `VpcId`.
|
791
792
|
#
|
792
|
-
# @option params [String] :default_s3_location
|
793
|
-
# The
|
794
|
-
# notebook files.
|
795
|
-
# location when creating a Workspace.
|
793
|
+
# @option params [required, String] :default_s3_location
|
794
|
+
# The Amazon S3 location to back up Amazon EMR Studio Workspaces and
|
795
|
+
# notebook files.
|
796
796
|
#
|
797
797
|
# @option params [Array<Types::Tag>] :tags
|
798
|
-
# A list of tags to associate with the Studio. Tags are
|
799
|
-
# key-value pairs that consist of a required key string
|
800
|
-
# of 128 characters, and an optional value string with a
|
801
|
-
# characters.
|
798
|
+
# A list of tags to associate with the Amazon EMR Studio. Tags are
|
799
|
+
# user-defined key-value pairs that consist of a required key string
|
800
|
+
# with a maximum of 128 characters, and an optional value string with a
|
801
|
+
# maximum of 256 characters.
|
802
802
|
#
|
803
803
|
# @return [Types::CreateStudioOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
804
804
|
#
|
@@ -817,7 +817,7 @@ module Aws::EMR
|
|
817
817
|
# user_role: "XmlString", # required
|
818
818
|
# workspace_security_group_id: "XmlStringMaxLen256", # required
|
819
819
|
# engine_security_group_id: "XmlStringMaxLen256", # required
|
820
|
-
# default_s3_location: "XmlString",
|
820
|
+
# default_s3_location: "XmlString", # required
|
821
821
|
# tags: [
|
822
822
|
# {
|
823
823
|
# key: "String",
|
@@ -840,11 +840,6 @@ module Aws::EMR
|
|
840
840
|
req.send_request(options)
|
841
841
|
end
|
842
842
|
|
843
|
-
# <note markdown="1"> The Amazon EMR Studio APIs are in preview release for Amazon EMR and
|
844
|
-
# are subject to change.
|
845
|
-
#
|
846
|
-
# </note>
|
847
|
-
#
|
848
843
|
# Maps a user or group to the Amazon EMR Studio specified by `StudioId`,
|
849
844
|
# and applies a session policy to refine Studio permissions for that
|
850
845
|
# user or group.
|
@@ -871,12 +866,12 @@ module Aws::EMR
|
|
871
866
|
#
|
872
867
|
#
|
873
868
|
#
|
874
|
-
# [1]: https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_User.html#singlesignon-Type-User-
|
869
|
+
# [1]: https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_User.html#singlesignon-Type-User-UserName
|
875
870
|
# [2]: https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_Group.html#singlesignon-Type-Group-DisplayName
|
876
871
|
#
|
877
872
|
# @option params [required, String] :identity_type
|
878
|
-
# Specifies whether the identity to map to the Studio is a
|
879
|
-
# group.
|
873
|
+
# Specifies whether the identity to map to the Amazon EMR Studio is a
|
874
|
+
# user or a group.
|
880
875
|
#
|
881
876
|
# @option params [required, String] :session_policy_arn
|
882
877
|
# The Amazon Resource Name (ARN) for the session policy that will be
|
@@ -926,11 +921,6 @@ module Aws::EMR
|
|
926
921
|
req.send_request(options)
|
927
922
|
end
|
928
923
|
|
929
|
-
# <note markdown="1"> The Amazon EMR Studio APIs are in preview release for Amazon EMR and
|
930
|
-
# are subject to change.
|
931
|
-
#
|
932
|
-
# </note>
|
933
|
-
#
|
934
924
|
# Removes an Amazon EMR Studio from the Studio metadata store.
|
935
925
|
#
|
936
926
|
# @option params [required, String] :studio_id
|
@@ -953,11 +943,6 @@ module Aws::EMR
|
|
953
943
|
req.send_request(options)
|
954
944
|
end
|
955
945
|
|
956
|
-
# <note markdown="1"> The Amazon EMR Studio APIs are in preview release for Amazon EMR and
|
957
|
-
# are subject to change.
|
958
|
-
#
|
959
|
-
# </note>
|
960
|
-
#
|
961
946
|
# Removes a user or group from an Amazon EMR Studio.
|
962
947
|
#
|
963
948
|
# @option params [required, String] :studio_id
|
@@ -975,19 +960,19 @@ module Aws::EMR
|
|
975
960
|
# [2]: https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_Group.html#singlesignon-Type-Group-GroupId
|
976
961
|
#
|
977
962
|
# @option params [String] :identity_name
|
978
|
-
# The name of the user name or group to remove from the
|
979
|
-
# information, see [UserName][1] and [DisplayName][2]
|
980
|
-
# Identity Store API Reference*. Either `IdentityName`
|
981
|
-
# must be specified.
|
963
|
+
# The name of the user name or group to remove from the Amazon EMR
|
964
|
+
# 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.
|
982
967
|
#
|
983
968
|
#
|
984
969
|
#
|
985
|
-
# [1]: https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_User.html#singlesignon-Type-User-
|
970
|
+
# [1]: https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_User.html#singlesignon-Type-User-UserName
|
986
971
|
# [2]: https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_Group.html#singlesignon-Type-Group-DisplayName
|
987
972
|
#
|
988
973
|
# @option params [required, String] :identity_type
|
989
|
-
# Specifies whether the identity to delete from the Studio is
|
990
|
-
# a group.
|
974
|
+
# Specifies whether the identity to delete from the Amazon EMR Studio is
|
975
|
+
# a user or a group.
|
991
976
|
#
|
992
977
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
993
978
|
#
|
@@ -1368,11 +1353,6 @@ module Aws::EMR
|
|
1368
1353
|
req.send_request(options)
|
1369
1354
|
end
|
1370
1355
|
|
1371
|
-
# <note markdown="1"> The Amazon EMR Studio APIs are in preview release for Amazon EMR and
|
1372
|
-
# are subject to change.
|
1373
|
-
#
|
1374
|
-
# </note>
|
1375
|
-
#
|
1376
1356
|
# Returns details for the specified Amazon EMR Studio including ID,
|
1377
1357
|
# Name, VPC, Studio access URL, and so on.
|
1378
1358
|
#
|
@@ -1484,11 +1464,6 @@ module Aws::EMR
|
|
1484
1464
|
req.send_request(options)
|
1485
1465
|
end
|
1486
1466
|
|
1487
|
-
# <note markdown="1"> The Amazon EMR Studio APIs are in preview release for Amazon EMR and
|
1488
|
-
# are subject to change.
|
1489
|
-
#
|
1490
|
-
# </note>
|
1491
|
-
#
|
1492
1467
|
# Fetches mapping details for the specified Amazon EMR Studio and
|
1493
1468
|
# identity (user or group).
|
1494
1469
|
#
|
@@ -1513,7 +1488,7 @@ module Aws::EMR
|
|
1513
1488
|
#
|
1514
1489
|
#
|
1515
1490
|
#
|
1516
|
-
# [1]: https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_User.html#singlesignon-Type-User-
|
1491
|
+
# [1]: https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_User.html#singlesignon-Type-User-UserName
|
1517
1492
|
# [2]: https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_Group.html#singlesignon-Type-Group-DisplayName
|
1518
1493
|
#
|
1519
1494
|
# @option params [required, String] :identity_type
|
@@ -1720,6 +1695,9 @@ module Aws::EMR
|
|
1720
1695
|
# resp.instance_fleets[0].launch_specifications.spot_specification.block_duration_minutes #=> Integer
|
1721
1696
|
# resp.instance_fleets[0].launch_specifications.spot_specification.allocation_strategy #=> String, one of "capacity-optimized"
|
1722
1697
|
# resp.instance_fleets[0].launch_specifications.on_demand_specification.allocation_strategy #=> String, one of "lowest-price"
|
1698
|
+
# resp.instance_fleets[0].launch_specifications.on_demand_specification.capacity_reservation_options.usage_strategy #=> String, one of "use-capacity-reservations-first"
|
1699
|
+
# resp.instance_fleets[0].launch_specifications.on_demand_specification.capacity_reservation_options.capacity_reservation_preference #=> String, one of "open", "none"
|
1700
|
+
# resp.instance_fleets[0].launch_specifications.on_demand_specification.capacity_reservation_options.capacity_reservation_resource_group_arn #=> String
|
1723
1701
|
# resp.marker #=> String
|
1724
1702
|
#
|
1725
1703
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListInstanceFleets AWS API Documentation
|
@@ -2039,7 +2017,7 @@ module Aws::EMR
|
|
2039
2017
|
|
2040
2018
|
# Provides a list of steps for the cluster in reverse order unless you
|
2041
2019
|
# specify `stepIds` with the request of filter by `StepStates`. You can
|
2042
|
-
# specify a maximum of
|
2020
|
+
# specify a maximum of 10 `stepIDs`.
|
2043
2021
|
#
|
2044
2022
|
# @option params [required, String] :cluster_id
|
2045
2023
|
# The identifier of the cluster for which to list the steps.
|
@@ -2104,13 +2082,8 @@ module Aws::EMR
|
|
2104
2082
|
req.send_request(options)
|
2105
2083
|
end
|
2106
2084
|
|
2107
|
-
#
|
2108
|
-
#
|
2109
|
-
#
|
2110
|
-
# </note>
|
2111
|
-
#
|
2112
|
-
# Returns a list of all user or group session mappings for the EMR
|
2113
|
-
# Studio specified by `StudioId`.
|
2085
|
+
# Returns a list of all user or group session mappings for the Amazon
|
2086
|
+
# EMR Studio specified by `StudioId`.
|
2114
2087
|
#
|
2115
2088
|
# @option params [String] :studio_id
|
2116
2089
|
# The ID of the Amazon EMR Studio.
|
@@ -2158,11 +2131,6 @@ module Aws::EMR
|
|
2158
2131
|
req.send_request(options)
|
2159
2132
|
end
|
2160
2133
|
|
2161
|
-
# <note markdown="1"> The Amazon EMR Studio APIs are in preview release for Amazon EMR and
|
2162
|
-
# are subject to change.
|
2163
|
-
#
|
2164
|
-
# </note>
|
2165
|
-
#
|
2166
2134
|
# Returns a list of all Amazon EMR Studios associated with the AWS
|
2167
2135
|
# account. The list includes details such as ID, Studio Access URL, and
|
2168
2136
|
# creation time for each Studio.
|
@@ -2211,7 +2179,7 @@ module Aws::EMR
|
|
2211
2179
|
#
|
2212
2180
|
# @option params [Integer] :step_concurrency_level
|
2213
2181
|
# The number of steps that can be executed concurrently. You can specify
|
2214
|
-
# a maximum of 256 steps.
|
2182
|
+
# a minimum of 1 step and a maximum of 256 steps.
|
2215
2183
|
#
|
2216
2184
|
# @return [Types::ModifyClusterOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2217
2185
|
#
|
@@ -2743,7 +2711,7 @@ module Aws::EMR
|
|
2743
2711
|
#
|
2744
2712
|
# * "mapr-m7" - launch the cluster using MapR M7 Edition.
|
2745
2713
|
#
|
2746
|
-
# * "hunk" - launch the cluster with the Hunk Big Data
|
2714
|
+
# * "hunk" - launch the cluster with the Hunk Big Data Analytics
|
2747
2715
|
# Platform.
|
2748
2716
|
#
|
2749
2717
|
# * "hue"- launch the cluster with Hue installed.
|
@@ -3005,6 +2973,11 @@ module Aws::EMR
|
|
3005
2973
|
# },
|
3006
2974
|
# on_demand_specification: {
|
3007
2975
|
# allocation_strategy: "lowest-price", # required, accepts lowest-price
|
2976
|
+
# capacity_reservation_options: {
|
2977
|
+
# usage_strategy: "use-capacity-reservations-first", # accepts use-capacity-reservations-first
|
2978
|
+
# capacity_reservation_preference: "open", # accepts open, none
|
2979
|
+
# capacity_reservation_resource_group_arn: "XmlStringMaxLen256",
|
2980
|
+
# },
|
3008
2981
|
# },
|
3009
2982
|
# },
|
3010
2983
|
# },
|
@@ -3359,16 +3332,55 @@ module Aws::EMR
|
|
3359
3332
|
req.send_request(options)
|
3360
3333
|
end
|
3361
3334
|
|
3362
|
-
#
|
3363
|
-
#
|
3335
|
+
# Updates an Amazon EMR Studio configuration, including attributes such
|
3336
|
+
# as name, description, and subnets.
|
3364
3337
|
#
|
3365
|
-
#
|
3338
|
+
# @option params [required, String] :studio_id
|
3339
|
+
# The ID of the Amazon EMR Studio to update.
|
3340
|
+
#
|
3341
|
+
# @option params [String] :name
|
3342
|
+
# A descriptive name for the Amazon EMR Studio.
|
3343
|
+
#
|
3344
|
+
# @option params [String] :description
|
3345
|
+
# A detailed description to assign to the Amazon EMR Studio.
|
3346
|
+
#
|
3347
|
+
# @option params [Array<String>] :subnet_ids
|
3348
|
+
# A list of subnet IDs to associate with the Amazon EMR Studio. The list
|
3349
|
+
# can include new subnet IDs, but must also include all of the subnet
|
3350
|
+
# IDs previously associated with the Studio. The list order does not
|
3351
|
+
# matter. A Studio can have a maximum of 5 subnets. The subnets must
|
3352
|
+
# belong to the same VPC as the Studio.
|
3353
|
+
#
|
3354
|
+
# @option params [String] :default_s3_location
|
3355
|
+
# The Amazon S3 location to back up Workspaces and notebook files for
|
3356
|
+
# the Amazon EMR Studio.
|
3357
|
+
#
|
3358
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3366
3359
|
#
|
3360
|
+
# @example Request syntax with placeholder values
|
3361
|
+
#
|
3362
|
+
# resp = client.update_studio({
|
3363
|
+
# studio_id: "XmlStringMaxLen256", # required
|
3364
|
+
# name: "XmlStringMaxLen256",
|
3365
|
+
# description: "XmlStringMaxLen256",
|
3366
|
+
# subnet_ids: ["String"],
|
3367
|
+
# default_s3_location: "XmlString",
|
3368
|
+
# })
|
3369
|
+
#
|
3370
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/UpdateStudio AWS API Documentation
|
3371
|
+
#
|
3372
|
+
# @overload update_studio(params = {})
|
3373
|
+
# @param [Hash] params ({})
|
3374
|
+
def update_studio(params = {}, options = {})
|
3375
|
+
req = build_request(:update_studio, params)
|
3376
|
+
req.send_request(options)
|
3377
|
+
end
|
3378
|
+
|
3367
3379
|
# Updates the session policy attached to the user or group for the
|
3368
3380
|
# specified Amazon EMR Studio.
|
3369
3381
|
#
|
3370
3382
|
# @option params [required, String] :studio_id
|
3371
|
-
# The ID of the EMR Studio.
|
3383
|
+
# The ID of the Amazon EMR Studio.
|
3372
3384
|
#
|
3373
3385
|
# @option params [String] :identity_id
|
3374
3386
|
# The globally unique identifier (GUID) of the user or group. For more
|
@@ -3388,7 +3400,7 @@ module Aws::EMR
|
|
3388
3400
|
#
|
3389
3401
|
#
|
3390
3402
|
#
|
3391
|
-
# [1]: https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_User.html#singlesignon-Type-User-
|
3403
|
+
# [1]: https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_User.html#singlesignon-Type-User-UserName
|
3392
3404
|
# [2]: https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_Group.html#singlesignon-Type-Group-DisplayName
|
3393
3405
|
#
|
3394
3406
|
# @option params [required, String] :identity_type
|
@@ -3432,7 +3444,7 @@ module Aws::EMR
|
|
3432
3444
|
params: params,
|
3433
3445
|
config: config)
|
3434
3446
|
context[:gem_name] = 'aws-sdk-emr'
|
3435
|
-
context[:gem_version] = '1.
|
3447
|
+
context[:gem_version] = '1.45.0'
|
3436
3448
|
Seahorse::Client::Request.new(handlers, context)
|
3437
3449
|
end
|
3438
3450
|
|
@@ -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/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -207,6 +207,9 @@ module Aws::EMR
|
|
207
207
|
NotebookExecutionStatus = Shapes::StringShape.new(name: 'NotebookExecutionStatus')
|
208
208
|
NotebookExecutionSummary = Shapes::StructureShape.new(name: 'NotebookExecutionSummary')
|
209
209
|
NotebookExecutionSummaryList = Shapes::ListShape.new(name: 'NotebookExecutionSummaryList')
|
210
|
+
OnDemandCapacityReservationOptions = Shapes::StructureShape.new(name: 'OnDemandCapacityReservationOptions')
|
211
|
+
OnDemandCapacityReservationPreference = Shapes::StringShape.new(name: 'OnDemandCapacityReservationPreference')
|
212
|
+
OnDemandCapacityReservationUsageStrategy = Shapes::StringShape.new(name: 'OnDemandCapacityReservationUsageStrategy')
|
210
213
|
OnDemandProvisioningAllocationStrategy = Shapes::StringShape.new(name: 'OnDemandProvisioningAllocationStrategy')
|
211
214
|
OnDemandProvisioningSpecification = Shapes::StructureShape.new(name: 'OnDemandProvisioningSpecification')
|
212
215
|
OptionalArnType = Shapes::StringShape.new(name: 'OptionalArnType')
|
@@ -288,6 +291,7 @@ module Aws::EMR
|
|
288
291
|
TagList = Shapes::ListShape.new(name: 'TagList')
|
289
292
|
TerminateJobFlowsInput = Shapes::StructureShape.new(name: 'TerminateJobFlowsInput')
|
290
293
|
Unit = Shapes::StringShape.new(name: 'Unit')
|
294
|
+
UpdateStudioInput = Shapes::StructureShape.new(name: 'UpdateStudioInput')
|
291
295
|
UpdateStudioSessionMappingInput = Shapes::StructureShape.new(name: 'UpdateStudioSessionMappingInput')
|
292
296
|
VolumeSpecification = Shapes::StructureShape.new(name: 'VolumeSpecification')
|
293
297
|
WholeNumber = Shapes::IntegerShape.new(name: 'WholeNumber')
|
@@ -493,7 +497,7 @@ module Aws::EMR
|
|
493
497
|
CreateStudioInput.add_member(:user_role, Shapes::ShapeRef.new(shape: XmlString, required: true, location_name: "UserRole"))
|
494
498
|
CreateStudioInput.add_member(:workspace_security_group_id, Shapes::ShapeRef.new(shape: XmlStringMaxLen256, required: true, location_name: "WorkspaceSecurityGroupId"))
|
495
499
|
CreateStudioInput.add_member(:engine_security_group_id, Shapes::ShapeRef.new(shape: XmlStringMaxLen256, required: true, location_name: "EngineSecurityGroupId"))
|
496
|
-
CreateStudioInput.add_member(:default_s3_location, Shapes::ShapeRef.new(shape: XmlString, location_name: "DefaultS3Location"))
|
500
|
+
CreateStudioInput.add_member(:default_s3_location, Shapes::ShapeRef.new(shape: XmlString, required: true, location_name: "DefaultS3Location"))
|
497
501
|
CreateStudioInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
498
502
|
CreateStudioInput.struct_class = Types::CreateStudioInput
|
499
503
|
|
@@ -1057,7 +1061,13 @@ module Aws::EMR
|
|
1057
1061
|
|
1058
1062
|
NotebookExecutionSummaryList.member = Shapes::ShapeRef.new(shape: NotebookExecutionSummary)
|
1059
1063
|
|
1064
|
+
OnDemandCapacityReservationOptions.add_member(:usage_strategy, Shapes::ShapeRef.new(shape: OnDemandCapacityReservationUsageStrategy, location_name: "UsageStrategy"))
|
1065
|
+
OnDemandCapacityReservationOptions.add_member(:capacity_reservation_preference, Shapes::ShapeRef.new(shape: OnDemandCapacityReservationPreference, location_name: "CapacityReservationPreference"))
|
1066
|
+
OnDemandCapacityReservationOptions.add_member(:capacity_reservation_resource_group_arn, Shapes::ShapeRef.new(shape: XmlStringMaxLen256, location_name: "CapacityReservationResourceGroupArn"))
|
1067
|
+
OnDemandCapacityReservationOptions.struct_class = Types::OnDemandCapacityReservationOptions
|
1068
|
+
|
1060
1069
|
OnDemandProvisioningSpecification.add_member(:allocation_strategy, Shapes::ShapeRef.new(shape: OnDemandProvisioningAllocationStrategy, required: true, location_name: "AllocationStrategy"))
|
1070
|
+
OnDemandProvisioningSpecification.add_member(:capacity_reservation_options, Shapes::ShapeRef.new(shape: OnDemandCapacityReservationOptions, location_name: "CapacityReservationOptions"))
|
1061
1071
|
OnDemandProvisioningSpecification.struct_class = Types::OnDemandProvisioningSpecification
|
1062
1072
|
|
1063
1073
|
PlacementGroupConfig.add_member(:instance_role, Shapes::ShapeRef.new(shape: InstanceRoleType, required: true, location_name: "InstanceRole"))
|
@@ -1341,6 +1351,13 @@ module Aws::EMR
|
|
1341
1351
|
TerminateJobFlowsInput.add_member(:job_flow_ids, Shapes::ShapeRef.new(shape: XmlStringList, required: true, location_name: "JobFlowIds"))
|
1342
1352
|
TerminateJobFlowsInput.struct_class = Types::TerminateJobFlowsInput
|
1343
1353
|
|
1354
|
+
UpdateStudioInput.add_member(:studio_id, Shapes::ShapeRef.new(shape: XmlStringMaxLen256, required: true, location_name: "StudioId"))
|
1355
|
+
UpdateStudioInput.add_member(:name, Shapes::ShapeRef.new(shape: XmlStringMaxLen256, location_name: "Name"))
|
1356
|
+
UpdateStudioInput.add_member(:description, Shapes::ShapeRef.new(shape: XmlStringMaxLen256, location_name: "Description"))
|
1357
|
+
UpdateStudioInput.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: SubnetIdList, location_name: "SubnetIds"))
|
1358
|
+
UpdateStudioInput.add_member(:default_s3_location, Shapes::ShapeRef.new(shape: XmlString, location_name: "DefaultS3Location"))
|
1359
|
+
UpdateStudioInput.struct_class = Types::UpdateStudioInput
|
1360
|
+
|
1344
1361
|
UpdateStudioSessionMappingInput.add_member(:studio_id, Shapes::ShapeRef.new(shape: XmlStringMaxLen256, required: true, location_name: "StudioId"))
|
1345
1362
|
UpdateStudioSessionMappingInput.add_member(:identity_id, Shapes::ShapeRef.new(shape: XmlStringMaxLen256, location_name: "IdentityId"))
|
1346
1363
|
UpdateStudioSessionMappingInput.add_member(:identity_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen256, location_name: "IdentityName"))
|
@@ -1859,6 +1876,16 @@ module Aws::EMR
|
|
1859
1876
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
1860
1877
|
end)
|
1861
1878
|
|
1879
|
+
api.add_operation(:update_studio, Seahorse::Model::Operation.new.tap do |o|
|
1880
|
+
o.name = "UpdateStudio"
|
1881
|
+
o.http_method = "POST"
|
1882
|
+
o.http_request_uri = "/"
|
1883
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateStudioInput)
|
1884
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1885
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1886
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1887
|
+
end)
|
1888
|
+
|
1862
1889
|
api.add_operation(:update_studio_session_mapping, Seahorse::Model::Operation.new.tap do |o|
|
1863
1890
|
o.name = "UpdateStudioSessionMapping"
|
1864
1891
|
o.http_method = "POST"
|