aws-sdk-emr 1.41.0 → 1.42.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bcc5720a1b8a6aedd778674bf3a82c4c896793f64cdbdd0a9727d6fcb0251c6e
4
- data.tar.gz: e814ee8fed77e1220d29bf720dd7bc18e8de37e86d0e3bcb3fd8f1a9aef6f287
3
+ metadata.gz: 68e96349d97188395ba3ea975ab3fd0589653ae531ca19807c46407d7639ec49
4
+ data.tar.gz: 037e4b2757e34ceb62d1dc5fe600861bab2a369a24cc3045accfa635a166ecfa
5
5
  SHA512:
6
- metadata.gz: cb3fde372cb659ddc6c4f90d2059dd472ea0f8ad8190638b8d7664bd12107e63700baea3fd17b46ba28ae3ac5c8cc85fd8869ab1acfa6cc08f782f37030acd4c
7
- data.tar.gz: fa8919e76396d66b97940e04274d9cd3d7251eb471e6e605b7d994d38d34fbe76682b125b532d32fd525c52795639d9e6fd908cd3e18102b42223d41f518347f
6
+ metadata.gz: 9ba35431f0d6354b274beef48ca39c4d7663f770c99a000e5df2181aaaf611a72f4699381e74995e88c3a26449ea8d743b69c89333efcd4414359585cd8a2c28
7
+ data.tar.gz: 9eb00ca6134c064dd22e0463d3907849cf873737d6f3dc15083de12770b85a518df74fd7bd21d2ef7253d60ea7bc4257991bf16c7557a0b10b63ac32e14983f7
data/lib/aws-sdk-emr.rb CHANGED
@@ -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.41.0'
52
+ GEM_VERSION = '1.42.0'
53
53
 
54
54
  end
@@ -741,18 +741,13 @@ module Aws::EMR
741
741
  req.send_request(options)
742
742
  end
743
743
 
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
744
  # Creates a new Amazon EMR Studio.
750
745
  #
751
746
  # @option params [required, String] :name
752
747
  # A descriptive name for the Amazon EMR Studio.
753
748
  #
754
749
  # @option params [String] :description
755
- # A detailed description of the Studio.
750
+ # A detailed description of the Amazon EMR Studio.
756
751
  #
757
752
  # @option params [required, String] :auth_mode
758
753
  # Specifies whether the Studio authenticates users using single sign-on
@@ -764,9 +759,10 @@ module Aws::EMR
764
759
  # with the Studio.
765
760
  #
766
761
  # @option params [required, Array<String>] :subnet_ids
767
- # A list of subnet IDs to associate with the Studio. The subnets must
768
- # belong to the VPC specified by `VpcId`. Studio users can create a
769
- # Workspace in any of the specified subnets.
762
+ # A list of subnet IDs to associate with the Amazon EMR Studio. A Studio
763
+ # can have a maximum of 5 subnets. The subnets must belong to the VPC
764
+ # specified by `VpcId`. Studio users can create a Workspace in any of
765
+ # the specified subnets.
770
766
  #
771
767
  # @option params [required, String] :service_role
772
768
  # The IAM role that will be assumed by the Amazon EMR Studio. The
@@ -775,8 +771,8 @@ module Aws::EMR
775
771
  #
776
772
  # @option params [required, String] :user_role
777
773
  # The IAM user role that will be assumed by users and groups logged in
778
- # to a Studio. The permissions attached to this IAM role can be scoped
779
- # down for each user or group using session policies.
774
+ # to an Amazon EMR Studio. The permissions attached to this IAM role can
775
+ # be scoped down for each user or group using session policies.
780
776
  #
781
777
  # @option params [required, String] :workspace_security_group_id
782
778
  # The ID of the Amazon EMR Studio Workspace security group. The
@@ -789,16 +785,16 @@ module Aws::EMR
789
785
  # security group allows inbound network traffic from the Workspace
790
786
  # security group, and it must be in the same VPC specified by `VpcId`.
791
787
  #
792
- # @option params [String] :default_s3_location
793
- # The default Amazon S3 location to back up EMR Studio Workspaces and
794
- # notebook files. A Studio user can select an alternative Amazon S3
788
+ # @option params [required, String] :default_s3_location
789
+ # The default Amazon S3 location to back up Amazon EMR Studio Workspaces
790
+ # and notebook files. A Studio user can select an alternative Amazon S3
795
791
  # location when creating a Workspace.
796
792
  #
797
793
  # @option params [Array<Types::Tag>] :tags
798
- # A list of tags to associate with the Studio. Tags are user-defined
799
- # key-value pairs that consist of a required key string with a maximum
800
- # of 128 characters, and an optional value string with a maximum of 256
801
- # characters.
794
+ # A list of tags to associate with the Amazon EMR Studio. Tags are
795
+ # user-defined key-value pairs that consist of a required key string
796
+ # with a maximum of 128 characters, and an optional value string with a
797
+ # maximum of 256 characters.
802
798
  #
803
799
  # @return [Types::CreateStudioOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
804
800
  #
@@ -817,7 +813,7 @@ module Aws::EMR
817
813
  # user_role: "XmlString", # required
818
814
  # workspace_security_group_id: "XmlStringMaxLen256", # required
819
815
  # engine_security_group_id: "XmlStringMaxLen256", # required
820
- # default_s3_location: "XmlString",
816
+ # default_s3_location: "XmlString", # required
821
817
  # tags: [
822
818
  # {
823
819
  # key: "String",
@@ -840,11 +836,6 @@ module Aws::EMR
840
836
  req.send_request(options)
841
837
  end
842
838
 
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
839
  # Maps a user or group to the Amazon EMR Studio specified by `StudioId`,
849
840
  # and applies a session policy to refine Studio permissions for that
850
841
  # user or group.
@@ -871,12 +862,12 @@ module Aws::EMR
871
862
  #
872
863
  #
873
864
  #
874
- # [1]: https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_User.html#singlesignon-Type-User-UserId
865
+ # [1]: https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_User.html#singlesignon-Type-User-UserName
875
866
  # [2]: https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_Group.html#singlesignon-Type-Group-DisplayName
876
867
  #
877
868
  # @option params [required, String] :identity_type
878
- # Specifies whether the identity to map to the Studio is a user or a
879
- # group.
869
+ # Specifies whether the identity to map to the Amazon EMR Studio is a
870
+ # user or a group.
880
871
  #
881
872
  # @option params [required, String] :session_policy_arn
882
873
  # The Amazon Resource Name (ARN) for the session policy that will be
@@ -926,11 +917,6 @@ module Aws::EMR
926
917
  req.send_request(options)
927
918
  end
928
919
 
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
920
  # Removes an Amazon EMR Studio from the Studio metadata store.
935
921
  #
936
922
  # @option params [required, String] :studio_id
@@ -953,11 +939,6 @@ module Aws::EMR
953
939
  req.send_request(options)
954
940
  end
955
941
 
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
942
  # Removes a user or group from an Amazon EMR Studio.
962
943
  #
963
944
  # @option params [required, String] :studio_id
@@ -975,19 +956,19 @@ module Aws::EMR
975
956
  # [2]: https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_Group.html#singlesignon-Type-Group-GroupId
976
957
  #
977
958
  # @option params [String] :identity_name
978
- # The name of the user name or group to remove from the Studio. For more
979
- # information, see [UserName][1] and [DisplayName][2] in the *AWS SSO
980
- # Identity Store API Reference*. Either `IdentityName` or `IdentityId`
981
- # must be specified.
959
+ # The name of the user name or group to remove from the Amazon EMR
960
+ # Studio. For more information, see [UserName][1] and [DisplayName][2]
961
+ # in the *AWS SSO Identity Store API Reference*. Either `IdentityName`
962
+ # or `IdentityId` must be specified.
982
963
  #
983
964
  #
984
965
  #
985
- # [1]: https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_User.html#singlesignon-Type-User-UserId
966
+ # [1]: https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_User.html#singlesignon-Type-User-UserName
986
967
  # [2]: https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_Group.html#singlesignon-Type-Group-DisplayName
987
968
  #
988
969
  # @option params [required, String] :identity_type
989
- # Specifies whether the identity to delete from the Studio is a user or
990
- # a group.
970
+ # Specifies whether the identity to delete from the Amazon EMR Studio is
971
+ # a user or a group.
991
972
  #
992
973
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
993
974
  #
@@ -1368,11 +1349,6 @@ module Aws::EMR
1368
1349
  req.send_request(options)
1369
1350
  end
1370
1351
 
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
1352
  # Returns details for the specified Amazon EMR Studio including ID,
1377
1353
  # Name, VPC, Studio access URL, and so on.
1378
1354
  #
@@ -1484,11 +1460,6 @@ module Aws::EMR
1484
1460
  req.send_request(options)
1485
1461
  end
1486
1462
 
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
1463
  # Fetches mapping details for the specified Amazon EMR Studio and
1493
1464
  # identity (user or group).
1494
1465
  #
@@ -1513,7 +1484,7 @@ module Aws::EMR
1513
1484
  #
1514
1485
  #
1515
1486
  #
1516
- # [1]: https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_User.html#singlesignon-Type-User-UserId
1487
+ # [1]: https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_User.html#singlesignon-Type-User-UserName
1517
1488
  # [2]: https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_Group.html#singlesignon-Type-Group-DisplayName
1518
1489
  #
1519
1490
  # @option params [required, String] :identity_type
@@ -2039,7 +2010,7 @@ module Aws::EMR
2039
2010
 
2040
2011
  # Provides a list of steps for the cluster in reverse order unless you
2041
2012
  # specify `stepIds` with the request of filter by `StepStates`. You can
2042
- # specify a maximum of ten `stepIDs`.
2013
+ # specify a maximum of 10 `stepIDs`.
2043
2014
  #
2044
2015
  # @option params [required, String] :cluster_id
2045
2016
  # The identifier of the cluster for which to list the steps.
@@ -2104,13 +2075,8 @@ module Aws::EMR
2104
2075
  req.send_request(options)
2105
2076
  end
2106
2077
 
2107
- # <note markdown="1"> The Amazon EMR Studio APIs are in preview release for Amazon EMR and
2108
- # are subject to change.
2109
- #
2110
- # </note>
2111
- #
2112
- # Returns a list of all user or group session mappings for the EMR
2113
- # Studio specified by `StudioId`.
2078
+ # Returns a list of all user or group session mappings for the Amazon
2079
+ # EMR Studio specified by `StudioId`.
2114
2080
  #
2115
2081
  # @option params [String] :studio_id
2116
2082
  # The ID of the Amazon EMR Studio.
@@ -2158,11 +2124,6 @@ module Aws::EMR
2158
2124
  req.send_request(options)
2159
2125
  end
2160
2126
 
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
2127
  # Returns a list of all Amazon EMR Studios associated with the AWS
2167
2128
  # account. The list includes details such as ID, Studio Access URL, and
2168
2129
  # creation time for each Studio.
@@ -2743,7 +2704,7 @@ module Aws::EMR
2743
2704
  #
2744
2705
  # * "mapr-m7" - launch the cluster using MapR M7 Edition.
2745
2706
  #
2746
- # * "hunk" - launch the cluster with the Hunk Big Data Analtics
2707
+ # * "hunk" - launch the cluster with the Hunk Big Data Analytics
2747
2708
  # Platform.
2748
2709
  #
2749
2710
  # * "hue"- launch the cluster with Hue installed.
@@ -3359,16 +3320,56 @@ module Aws::EMR
3359
3320
  req.send_request(options)
3360
3321
  end
3361
3322
 
3362
- # <note markdown="1"> The Amazon EMR Studio APIs are in preview release for Amazon EMR and
3363
- # are subject to change.
3323
+ # Updates an Amazon EMR Studio configuration, including attributes such
3324
+ # as name, description, and subnets.
3364
3325
  #
3365
- # </note>
3326
+ # @option params [required, String] :studio_id
3327
+ # The ID of the Amazon EMR Studio to update.
3328
+ #
3329
+ # @option params [String] :name
3330
+ # A descriptive name for the Amazon EMR Studio.
3331
+ #
3332
+ # @option params [String] :description
3333
+ # A detailed description to assign to the Amazon EMR Studio.
3334
+ #
3335
+ # @option params [Array<String>] :subnet_ids
3336
+ # A list of subnet IDs to associate with the Amazon EMR Studio. The list
3337
+ # can include new subnet IDs, but must also include all of the subnet
3338
+ # IDs previously associated with the Studio. The list order does not
3339
+ # matter. A Studio can have a maximum of 5 subnets. The subnets must
3340
+ # belong to the same VPC as the Studio.
3341
+ #
3342
+ # @option params [String] :default_s3_location
3343
+ # A default Amazon S3 location to back up Workspaces and notebook files
3344
+ # for the Amazon EMR Studio. A Studio user can select an alternative
3345
+ # Amazon S3 location when creating a Workspace.
3346
+ #
3347
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3366
3348
  #
3349
+ # @example Request syntax with placeholder values
3350
+ #
3351
+ # resp = client.update_studio({
3352
+ # studio_id: "XmlStringMaxLen256", # required
3353
+ # name: "XmlStringMaxLen256",
3354
+ # description: "XmlStringMaxLen256",
3355
+ # subnet_ids: ["String"],
3356
+ # default_s3_location: "XmlString",
3357
+ # })
3358
+ #
3359
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/UpdateStudio AWS API Documentation
3360
+ #
3361
+ # @overload update_studio(params = {})
3362
+ # @param [Hash] params ({})
3363
+ def update_studio(params = {}, options = {})
3364
+ req = build_request(:update_studio, params)
3365
+ req.send_request(options)
3366
+ end
3367
+
3367
3368
  # Updates the session policy attached to the user or group for the
3368
3369
  # specified Amazon EMR Studio.
3369
3370
  #
3370
3371
  # @option params [required, String] :studio_id
3371
- # The ID of the EMR Studio.
3372
+ # The ID of the Amazon EMR Studio.
3372
3373
  #
3373
3374
  # @option params [String] :identity_id
3374
3375
  # The globally unique identifier (GUID) of the user or group. For more
@@ -3388,7 +3389,7 @@ module Aws::EMR
3388
3389
  #
3389
3390
  #
3390
3391
  #
3391
- # [1]: https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_User.html#singlesignon-Type-User-UserId
3392
+ # [1]: https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_User.html#singlesignon-Type-User-UserName
3392
3393
  # [2]: https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_Group.html#singlesignon-Type-Group-DisplayName
3393
3394
  #
3394
3395
  # @option params [required, String] :identity_type
@@ -3432,7 +3433,7 @@ module Aws::EMR
3432
3433
  params: params,
3433
3434
  config: config)
3434
3435
  context[:gem_name] = 'aws-sdk-emr'
3435
- context[:gem_version] = '1.41.0'
3436
+ context[:gem_version] = '1.42.0'
3436
3437
  Seahorse::Client::Request.new(handlers, context)
3437
3438
  end
3438
3439
 
@@ -288,6 +288,7 @@ module Aws::EMR
288
288
  TagList = Shapes::ListShape.new(name: 'TagList')
289
289
  TerminateJobFlowsInput = Shapes::StructureShape.new(name: 'TerminateJobFlowsInput')
290
290
  Unit = Shapes::StringShape.new(name: 'Unit')
291
+ UpdateStudioInput = Shapes::StructureShape.new(name: 'UpdateStudioInput')
291
292
  UpdateStudioSessionMappingInput = Shapes::StructureShape.new(name: 'UpdateStudioSessionMappingInput')
292
293
  VolumeSpecification = Shapes::StructureShape.new(name: 'VolumeSpecification')
293
294
  WholeNumber = Shapes::IntegerShape.new(name: 'WholeNumber')
@@ -493,7 +494,7 @@ module Aws::EMR
493
494
  CreateStudioInput.add_member(:user_role, Shapes::ShapeRef.new(shape: XmlString, required: true, location_name: "UserRole"))
494
495
  CreateStudioInput.add_member(:workspace_security_group_id, Shapes::ShapeRef.new(shape: XmlStringMaxLen256, required: true, location_name: "WorkspaceSecurityGroupId"))
495
496
  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"))
497
+ CreateStudioInput.add_member(:default_s3_location, Shapes::ShapeRef.new(shape: XmlString, required: true, location_name: "DefaultS3Location"))
497
498
  CreateStudioInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
498
499
  CreateStudioInput.struct_class = Types::CreateStudioInput
499
500
 
@@ -1341,6 +1342,13 @@ module Aws::EMR
1341
1342
  TerminateJobFlowsInput.add_member(:job_flow_ids, Shapes::ShapeRef.new(shape: XmlStringList, required: true, location_name: "JobFlowIds"))
1342
1343
  TerminateJobFlowsInput.struct_class = Types::TerminateJobFlowsInput
1343
1344
 
1345
+ UpdateStudioInput.add_member(:studio_id, Shapes::ShapeRef.new(shape: XmlStringMaxLen256, required: true, location_name: "StudioId"))
1346
+ UpdateStudioInput.add_member(:name, Shapes::ShapeRef.new(shape: XmlStringMaxLen256, location_name: "Name"))
1347
+ UpdateStudioInput.add_member(:description, Shapes::ShapeRef.new(shape: XmlStringMaxLen256, location_name: "Description"))
1348
+ UpdateStudioInput.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: SubnetIdList, location_name: "SubnetIds"))
1349
+ UpdateStudioInput.add_member(:default_s3_location, Shapes::ShapeRef.new(shape: XmlString, location_name: "DefaultS3Location"))
1350
+ UpdateStudioInput.struct_class = Types::UpdateStudioInput
1351
+
1344
1352
  UpdateStudioSessionMappingInput.add_member(:studio_id, Shapes::ShapeRef.new(shape: XmlStringMaxLen256, required: true, location_name: "StudioId"))
1345
1353
  UpdateStudioSessionMappingInput.add_member(:identity_id, Shapes::ShapeRef.new(shape: XmlStringMaxLen256, location_name: "IdentityId"))
1346
1354
  UpdateStudioSessionMappingInput.add_member(:identity_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen256, location_name: "IdentityName"))
@@ -1859,6 +1867,16 @@ module Aws::EMR
1859
1867
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
1860
1868
  end)
1861
1869
 
1870
+ api.add_operation(:update_studio, Seahorse::Model::Operation.new.tap do |o|
1871
+ o.name = "UpdateStudio"
1872
+ o.http_method = "POST"
1873
+ o.http_request_uri = "/"
1874
+ o.input = Shapes::ShapeRef.new(shape: UpdateStudioInput)
1875
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1876
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1877
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1878
+ end)
1879
+
1862
1880
  api.add_operation(:update_studio_session_mapping, Seahorse::Model::Operation.new.tap do |o|
1863
1881
  o.name = "UpdateStudioSessionMapping"
1864
1882
  o.http_method = "POST"
@@ -1365,7 +1365,7 @@ module Aws::EMR
1365
1365
  # user_role: "XmlString", # required
1366
1366
  # workspace_security_group_id: "XmlStringMaxLen256", # required
1367
1367
  # engine_security_group_id: "XmlStringMaxLen256", # required
1368
- # default_s3_location: "XmlString",
1368
+ # default_s3_location: "XmlString", # required
1369
1369
  # tags: [
1370
1370
  # {
1371
1371
  # key: "String",
@@ -1379,7 +1379,7 @@ module Aws::EMR
1379
1379
  # @return [String]
1380
1380
  #
1381
1381
  # @!attribute [rw] description
1382
- # A detailed description of the Studio.
1382
+ # A detailed description of the Amazon EMR Studio.
1383
1383
  # @return [String]
1384
1384
  #
1385
1385
  # @!attribute [rw] auth_mode
@@ -1394,9 +1394,10 @@ module Aws::EMR
1394
1394
  # @return [String]
1395
1395
  #
1396
1396
  # @!attribute [rw] subnet_ids
1397
- # A list of subnet IDs to associate with the Studio. The subnets must
1398
- # belong to the VPC specified by `VpcId`. Studio users can create a
1399
- # Workspace in any of the specified subnets.
1397
+ # A list of subnet IDs to associate with the Amazon EMR Studio. A
1398
+ # Studio can have a maximum of 5 subnets. The subnets must belong to
1399
+ # the VPC specified by `VpcId`. Studio users can create a Workspace in
1400
+ # any of the specified subnets.
1400
1401
  # @return [Array<String>]
1401
1402
  #
1402
1403
  # @!attribute [rw] service_role
@@ -1407,8 +1408,8 @@ module Aws::EMR
1407
1408
  #
1408
1409
  # @!attribute [rw] user_role
1409
1410
  # The IAM user role that will be assumed by users and groups logged in
1410
- # to a Studio. The permissions attached to this IAM role can be scoped
1411
- # down for each user or group using session policies.
1411
+ # to an Amazon EMR Studio. The permissions attached to this IAM role
1412
+ # can be scoped down for each user or group using session policies.
1412
1413
  # @return [String]
1413
1414
  #
1414
1415
  # @!attribute [rw] workspace_security_group_id
@@ -1425,16 +1426,16 @@ module Aws::EMR
1425
1426
  # @return [String]
1426
1427
  #
1427
1428
  # @!attribute [rw] default_s3_location
1428
- # The default Amazon S3 location to back up EMR Studio Workspaces and
1429
- # notebook files. A Studio user can select an alternative Amazon S3
1430
- # location when creating a Workspace.
1429
+ # The default Amazon S3 location to back up Amazon EMR Studio
1430
+ # Workspaces and notebook files. A Studio user can select an
1431
+ # alternative Amazon S3 location when creating a Workspace.
1431
1432
  # @return [String]
1432
1433
  #
1433
1434
  # @!attribute [rw] tags
1434
- # A list of tags to associate with the Studio. Tags are user-defined
1435
- # key-value pairs that consist of a required key string with a maximum
1436
- # of 128 characters, and an optional value string with a maximum of
1437
- # 256 characters.
1435
+ # A list of tags to associate with the Amazon EMR Studio. Tags are
1436
+ # user-defined key-value pairs that consist of a required key string
1437
+ # with a maximum of 128 characters, and an optional value string with
1438
+ # a maximum of 256 characters.
1438
1439
  # @return [Array<Types::Tag>]
1439
1440
  #
1440
1441
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/CreateStudioInput AWS API Documentation
@@ -1508,13 +1509,13 @@ module Aws::EMR
1508
1509
  #
1509
1510
  #
1510
1511
  #
1511
- # [1]: https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_User.html#singlesignon-Type-User-UserId
1512
+ # [1]: https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_User.html#singlesignon-Type-User-UserName
1512
1513
  # [2]: https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_Group.html#singlesignon-Type-Group-DisplayName
1513
1514
  # @return [String]
1514
1515
  #
1515
1516
  # @!attribute [rw] identity_type
1516
- # Specifies whether the identity to map to the Studio is a user or a
1517
- # group.
1517
+ # Specifies whether the identity to map to the Amazon EMR Studio is a
1518
+ # user or a group.
1518
1519
  # @return [String]
1519
1520
  #
1520
1521
  # @!attribute [rw] session_policy_arn
@@ -1604,20 +1605,20 @@ module Aws::EMR
1604
1605
  # @return [String]
1605
1606
  #
1606
1607
  # @!attribute [rw] identity_name
1607
- # The name of the user name or group to remove from the Studio. For
1608
- # more information, see [UserName][1] and [DisplayName][2] in the *AWS
1609
- # SSO Identity Store API Reference*. Either `IdentityName` or
1610
- # `IdentityId` must be specified.
1608
+ # The name of the user name or group to remove from the Amazon EMR
1609
+ # Studio. For more information, see [UserName][1] and [DisplayName][2]
1610
+ # in the *AWS SSO Identity Store API Reference*. Either `IdentityName`
1611
+ # or `IdentityId` must be specified.
1611
1612
  #
1612
1613
  #
1613
1614
  #
1614
- # [1]: https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_User.html#singlesignon-Type-User-UserId
1615
+ # [1]: https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_User.html#singlesignon-Type-User-UserName
1615
1616
  # [2]: https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_Group.html#singlesignon-Type-Group-DisplayName
1616
1617
  # @return [String]
1617
1618
  #
1618
1619
  # @!attribute [rw] identity_type
1619
- # Specifies whether the identity to delete from the Studio is a user
1620
- # or a group.
1620
+ # Specifies whether the identity to delete from the Amazon EMR Studio
1621
+ # is a user or a group.
1621
1622
  # @return [String]
1622
1623
  #
1623
1624
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DeleteStudioSessionMappingInput AWS API Documentation
@@ -2258,7 +2259,7 @@ module Aws::EMR
2258
2259
  #
2259
2260
  #
2260
2261
  #
2261
- # [1]: https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_User.html#singlesignon-Type-User-UserId
2262
+ # [1]: https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_User.html#singlesignon-Type-User-UserName
2262
2263
  # [2]: https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_Group.html#singlesignon-Type-Group-DisplayName
2263
2264
  # @return [String]
2264
2265
  #
@@ -2311,7 +2312,7 @@ module Aws::EMR
2311
2312
  #
2312
2313
  # @!attribute [rw] properties
2313
2314
  # A list of Java properties that are set when the step runs. You can
2314
- # use these properties to pass key value pairs to your main function.
2315
+ # use these properties to pass key-value pairs to your main function.
2315
2316
  # @return [Array<Types::KeyValue>]
2316
2317
  #
2317
2318
  # @!attribute [rw] jar
@@ -2502,8 +2503,8 @@ module Aws::EMR
2502
2503
  #
2503
2504
  # @!attribute [rw] target_spot_capacity
2504
2505
  # The target capacity of Spot units for the instance fleet, which
2505
- # determines how many Spot instances to provision. When the instance
2506
- # fleet launches, Amazon EMR tries to provision Spot instances as
2506
+ # determines how many Spot Instances to provision. When the instance
2507
+ # fleet launches, Amazon EMR tries to provision Spot Instances as
2507
2508
  # specified by InstanceTypeConfig. Each instance configuration has a
2508
2509
  # specified `WeightedCapacity`. When a Spot instance is provisioned,
2509
2510
  # the `WeightedCapacity` units count toward the target capacity.
@@ -2516,7 +2517,7 @@ module Aws::EMR
2516
2517
  # determine the Spot capacity units that have been provisioned for the
2517
2518
  # instance fleet.
2518
2519
  #
2519
- # <note markdown="1"> If not specified or set to 0, only On-Demand instances are
2520
+ # <note markdown="1"> If not specified or set to 0, only On-Demand Instances are
2520
2521
  # provisioned for the instance fleet. At least one of
2521
2522
  # `TargetSpotCapacity` and `TargetOnDemandCapacity` should be greater
2522
2523
  # than 0. For a master instance fleet, only one of
@@ -2632,7 +2633,7 @@ module Aws::EMR
2632
2633
  #
2633
2634
  # @!attribute [rw] instance_fleet_type
2634
2635
  # The node type that the instance fleet hosts. Valid values are
2635
- # MASTER,CORE,and TASK.
2636
+ # MASTER, CORE, and TASK.
2636
2637
  # @return [String]
2637
2638
  #
2638
2639
  # @!attribute [rw] target_on_demand_capacity
@@ -3110,7 +3111,7 @@ module Aws::EMR
3110
3111
  # @return [String]
3111
3112
  #
3112
3113
  # @!attribute [rw] bid_price
3113
- # The bid price for each EC2 Spot Instance type as defined by
3114
+ # The bid price for each EC2 Spot Instance as defined by
3114
3115
  # `InstanceType`. Expressed in USD. If neither `BidPrice` nor
3115
3116
  # `BidPriceAsPercentageOfOnDemandPrice` is provided,
3116
3117
  # `BidPriceAsPercentageOfOnDemandPrice` defaults to 100%.
@@ -3182,7 +3183,7 @@ module Aws::EMR
3182
3183
  # @return [String]
3183
3184
  #
3184
3185
  # @!attribute [rw] bid_price
3185
- # The bid price for each EC2 Spot Instance type as defined by
3186
+ # The bid price for each EC2 Spot Instance as defined by
3186
3187
  # `InstanceType`. Expressed in USD. If neither `BidPrice` nor
3187
3188
  # `BidPriceAsPercentageOfOnDemandPrice` is provided,
3188
3189
  # `BidPriceAsPercentageOfOnDemandPrice` defaults to 100%.
@@ -3645,8 +3646,8 @@ module Aws::EMR
3645
3646
  #
3646
3647
  class InternalServerError < Aws::EmptyStructure; end
3647
3648
 
3648
- # This exception occurs when there is an internal failure in the EMR
3649
- # service.
3649
+ # This exception occurs when there is an internal failure in the Amazon
3650
+ # EMR service.
3650
3651
  #
3651
3652
  # @!attribute [rw] message
3652
3653
  # The message associated with the exception.
@@ -4806,7 +4807,7 @@ module Aws::EMR
4806
4807
  # @!attribute [rw] session_mappings
4807
4808
  # A list of session mapping summary objects. Each object includes
4808
4809
  # session mapping details such as creation time, identity type (user
4809
- # or group), and Studio ID.
4810
+ # or group), and Amazon EMR Studio ID.
4810
4811
  # @return [Array<Types::SessionMappingSummary>]
4811
4812
  #
4812
4813
  # @!attribute [rw] marker
@@ -5449,7 +5450,7 @@ module Aws::EMR
5449
5450
  # @return [Types::AutoScalingPolicyDescription]
5450
5451
  #
5451
5452
  # @!attribute [rw] cluster_arn
5452
- # The Amazon Resource Name of the cluster.
5453
+ # The Amazon Resource Name (ARN) of the cluster.
5453
5454
  # @return [String]
5454
5455
  #
5455
5456
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/PutAutoScalingPolicyOutput AWS API Documentation
@@ -5986,7 +5987,7 @@ module Aws::EMR
5986
5987
  #
5987
5988
  # * "mapr-m7" - launch the cluster using MapR M7 Edition.
5988
5989
  #
5989
- # * "hunk" - launch the cluster with the Hunk Big Data Analtics
5990
+ # * "hunk" - launch the cluster with the Hunk Big Data Analytics
5990
5991
  # Platform.
5991
5992
  #
5992
5993
  # * "hue"- launch the cluster with Hue installed.
@@ -6168,11 +6169,11 @@ module Aws::EMR
6168
6169
  # The result of the RunJobFlow operation.
6169
6170
  #
6170
6171
  # @!attribute [rw] job_flow_id
6171
- # An unique identifier for the job flow.
6172
+ # A unique identifier for the job flow.
6172
6173
  # @return [String]
6173
6174
  #
6174
6175
  # @!attribute [rw] cluster_arn
6175
- # The Amazon Resource Name of the cluster.
6176
+ # The Amazon Resource Name (ARN) of the cluster.
6176
6177
  # @return [String]
6177
6178
  #
6178
6179
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/RunJobFlowOutput AWS API Documentation
@@ -6425,13 +6426,13 @@ module Aws::EMR
6425
6426
  #
6426
6427
  #
6427
6428
  #
6428
- # [1]: https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_User.html#singlesignon-Type-User-UserId
6429
+ # [1]: https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_User.html#singlesignon-Type-User-UserName
6429
6430
  # [2]: https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_Group.html#singlesignon-Type-Group-DisplayName
6430
6431
  # @return [String]
6431
6432
  #
6432
6433
  # @!attribute [rw] identity_type
6433
- # Specifies whether the identity mapped to the Studio is a user or a
6434
- # group.
6434
+ # Specifies whether the identity mapped to the Amazon EMR Studio is a
6435
+ # user or a group.
6435
6436
  # @return [String]
6436
6437
  #
6437
6438
  # @!attribute [rw] session_policy_arn
@@ -6480,13 +6481,13 @@ module Aws::EMR
6480
6481
  #
6481
6482
  #
6482
6483
  #
6483
- # [1]: https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_User.html#singlesignon-Type-User-UserId
6484
+ # [1]: https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_User.html#singlesignon-Type-User-UserName
6484
6485
  # [2]: https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_Group.html#singlesignon-Type-Group-DisplayName
6485
6486
  # @return [String]
6486
6487
  #
6487
6488
  # @!attribute [rw] identity_type
6488
- # Specifies whether the identity mapped to the Studio is a user or a
6489
- # group.
6489
+ # Specifies whether the identity mapped to the Amazon EMR Studio is a
6490
+ # user or a group.
6490
6491
  # @return [String]
6491
6492
  #
6492
6493
  # @!attribute [rw] session_policy_arn
@@ -6706,7 +6707,7 @@ module Aws::EMR
6706
6707
  # The defined duration for Spot Instances (also known as Spot blocks)
6707
6708
  # in minutes. When specified, the Spot Instance does not terminate
6708
6709
  # before the defined duration expires, and defined duration pricing
6709
- # for Spot instances applies. Valid values are 60, 120, 180, 240, 300,
6710
+ # for Spot Instances applies. Valid values are 60, 120, 180, 240, 300,
6710
6711
  # or 360. The duration period starts as soon as a Spot Instance
6711
6712
  # receives its instance ID. At the end of the duration, Amazon EC2
6712
6713
  # marks the Spot Instance for termination and provides a Spot Instance
@@ -7101,28 +7102,28 @@ module Aws::EMR
7101
7102
  # and so on.
7102
7103
  #
7103
7104
  # @!attribute [rw] studio_id
7104
- # The ID of the EMR Studio.
7105
+ # The ID of the Amazon EMR Studio.
7105
7106
  # @return [String]
7106
7107
  #
7107
7108
  # @!attribute [rw] studio_arn
7108
- # The Amazon Resource Name (ARN) of the EMR Studio.
7109
+ # The Amazon Resource Name (ARN) of the Amazon EMR Studio.
7109
7110
  # @return [String]
7110
7111
  #
7111
7112
  # @!attribute [rw] name
7112
- # The name of the EMR Studio.
7113
+ # The name of the Amazon EMR Studio.
7113
7114
  # @return [String]
7114
7115
  #
7115
7116
  # @!attribute [rw] description
7116
- # The detailed description of the EMR Studio.
7117
+ # The detailed description of the Amazon EMR Studio.
7117
7118
  # @return [String]
7118
7119
  #
7119
7120
  # @!attribute [rw] auth_mode
7120
- # Specifies whether the Studio authenticates users using single
7121
- # sign-on (SSO) or IAM.
7121
+ # Specifies whether the Amazon EMR Studio authenticates users using
7122
+ # single sign-on (SSO) or IAM.
7122
7123
  # @return [String]
7123
7124
  #
7124
7125
  # @!attribute [rw] vpc_id
7125
- # The ID of the VPC associated with the EMR Studio.
7126
+ # The ID of the VPC associated with the Amazon EMR Studio.
7126
7127
  # @return [String]
7127
7128
  #
7128
7129
  # @!attribute [rw] subnet_ids
@@ -7209,7 +7210,7 @@ module Aws::EMR
7209
7210
  # @return [String]
7210
7211
  #
7211
7212
  # @!attribute [rw] description
7212
- # The detailed description of the EMR Studio.
7213
+ # The detailed description of the Amazon EMR Studio.
7213
7214
  # @return [String]
7214
7215
  #
7215
7216
  # @!attribute [rw] url
@@ -7233,7 +7234,7 @@ module Aws::EMR
7233
7234
  include Aws::Structure
7234
7235
  end
7235
7236
 
7236
- # The list of supported product configurations which allow user-supplied
7237
+ # The list of supported product configurations that allow user-supplied
7237
7238
  # arguments. EMR accepts these arguments and forwards them to the
7238
7239
  # corresponding installation script as bootstrap action arguments.
7239
7240
  #
@@ -7328,6 +7329,55 @@ module Aws::EMR
7328
7329
  include Aws::Structure
7329
7330
  end
7330
7331
 
7332
+ # @note When making an API call, you may pass UpdateStudioInput
7333
+ # data as a hash:
7334
+ #
7335
+ # {
7336
+ # studio_id: "XmlStringMaxLen256", # required
7337
+ # name: "XmlStringMaxLen256",
7338
+ # description: "XmlStringMaxLen256",
7339
+ # subnet_ids: ["String"],
7340
+ # default_s3_location: "XmlString",
7341
+ # }
7342
+ #
7343
+ # @!attribute [rw] studio_id
7344
+ # The ID of the Amazon EMR Studio to update.
7345
+ # @return [String]
7346
+ #
7347
+ # @!attribute [rw] name
7348
+ # A descriptive name for the Amazon EMR Studio.
7349
+ # @return [String]
7350
+ #
7351
+ # @!attribute [rw] description
7352
+ # A detailed description to assign to the Amazon EMR Studio.
7353
+ # @return [String]
7354
+ #
7355
+ # @!attribute [rw] subnet_ids
7356
+ # A list of subnet IDs to associate with the Amazon EMR Studio. The
7357
+ # list can include new subnet IDs, but must also include all of the
7358
+ # subnet IDs previously associated with the Studio. The list order
7359
+ # does not matter. A Studio can have a maximum of 5 subnets. The
7360
+ # subnets must belong to the same VPC as the Studio.
7361
+ # @return [Array<String>]
7362
+ #
7363
+ # @!attribute [rw] default_s3_location
7364
+ # A default Amazon S3 location to back up Workspaces and notebook
7365
+ # files for the Amazon EMR Studio. A Studio user can select an
7366
+ # alternative Amazon S3 location when creating a Workspace.
7367
+ # @return [String]
7368
+ #
7369
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/UpdateStudioInput AWS API Documentation
7370
+ #
7371
+ class UpdateStudioInput < Struct.new(
7372
+ :studio_id,
7373
+ :name,
7374
+ :description,
7375
+ :subnet_ids,
7376
+ :default_s3_location)
7377
+ SENSITIVE = []
7378
+ include Aws::Structure
7379
+ end
7380
+
7331
7381
  # @note When making an API call, you may pass UpdateStudioSessionMappingInput
7332
7382
  # data as a hash:
7333
7383
  #
@@ -7340,7 +7390,7 @@ module Aws::EMR
7340
7390
  # }
7341
7391
  #
7342
7392
  # @!attribute [rw] studio_id
7343
- # The ID of the EMR Studio.
7393
+ # The ID of the Amazon EMR Studio.
7344
7394
  # @return [String]
7345
7395
  #
7346
7396
  # @!attribute [rw] identity_id
@@ -7363,7 +7413,7 @@ module Aws::EMR
7363
7413
  #
7364
7414
  #
7365
7415
  #
7366
- # [1]: https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_User.html#singlesignon-Type-User-UserId
7416
+ # [1]: https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_User.html#singlesignon-Type-User-UserName
7367
7417
  # [2]: https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_Group.html#singlesignon-Type-Group-DisplayName
7368
7418
  # @return [String]
7369
7419
  #
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-emr
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.41.0
4
+ version: 1.42.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-02-02 00:00:00.000000000 Z
11
+ date: 2021-02-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core