aws-sdk-emr 1.39.0 → 1.40.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/lib/aws-sdk-emr.rb +1 -1
- data/lib/aws-sdk-emr/client.rb +550 -27
- data/lib/aws-sdk-emr/client_api.rb +242 -0
- data/lib/aws-sdk-emr/types.rb +867 -122
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ae130b06093280369788d2657115ae767fe186688afacff491a7a3fab7277b4f
|
4
|
+
data.tar.gz: 5dfe7c2fa8337f3f7dea81c3444d443c5a46a7d4807e60b0327de2094b70b3b8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dea2fa9b0b91ed4f1fb4ea5cd17c412afa39b548235ad538e265fe076e76870542763ec47238200257237f349062e7234d2a03b120d339a8fd1f54d6e7660d4b
|
7
|
+
data.tar.gz: 8586a11aebc960bc3f4f79531f3f838fc54d07554ae38ad8abae96dcf882a172a9eb919b42cbed5cb1b917c3b4ccbde702cb9de3b3d24f81622a900539e581e1
|
data/lib/aws-sdk-emr.rb
CHANGED
data/lib/aws-sdk-emr/client.rb
CHANGED
@@ -626,7 +626,7 @@ module Aws::EMR
|
|
626
626
|
#
|
627
627
|
# @option params [required, Array<Types::Tag>] :tags
|
628
628
|
# A list of tags to associate with a cluster and propagate to EC2
|
629
|
-
# instances. Tags are user-defined key
|
629
|
+
# instances. Tags are user-defined key-value pairs that consist of a
|
630
630
|
# required key string with a maximum of 128 characters, and an optional
|
631
631
|
# value string with a maximum of 256 characters.
|
632
632
|
#
|
@@ -656,12 +656,12 @@ module Aws::EMR
|
|
656
656
|
# Cancels a pending step or steps in a running cluster. Available only
|
657
657
|
# in Amazon EMR versions 4.8.0 and later, excluding version 5.0.0. A
|
658
658
|
# maximum of 256 steps are allowed in each CancelSteps request.
|
659
|
-
# CancelSteps is idempotent but asynchronous; it does not guarantee
|
660
|
-
# step will be canceled, even if the request is successfully
|
661
|
-
# You can only cancel steps that are in a `PENDING` state.
|
659
|
+
# CancelSteps is idempotent but asynchronous; it does not guarantee that
|
660
|
+
# a step will be canceled, even if the request is successfully
|
661
|
+
# submitted. You can only cancel steps that are in a `PENDING` state.
|
662
662
|
#
|
663
663
|
# @option params [required, String] :cluster_id
|
664
|
-
# The `ClusterID` for
|
664
|
+
# The `ClusterID` for the specified steps that will be canceled. Use
|
665
665
|
# RunJobFlow and ListClusters to get ClusterIDs.
|
666
666
|
#
|
667
667
|
# @option params [required, Array<String>] :step_ids
|
@@ -669,8 +669,8 @@ module Aws::EMR
|
|
669
669
|
# states for the specified cluster.
|
670
670
|
#
|
671
671
|
# @option params [String] :step_cancellation_option
|
672
|
-
# The option to choose
|
673
|
-
#
|
672
|
+
# The option to choose to cancel `RUNNING` steps. By default, the value
|
673
|
+
# is `SEND_INTERRUPT`.
|
674
674
|
#
|
675
675
|
# @return [Types::CancelStepsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
676
676
|
#
|
@@ -741,6 +741,169 @@ 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
|
+
# Creates a new Amazon EMR Studio.
|
750
|
+
#
|
751
|
+
# @option params [required, String] :name
|
752
|
+
# A descriptive name for the Amazon EMR Studio.
|
753
|
+
#
|
754
|
+
# @option params [String] :description
|
755
|
+
# A detailed description of the Studio.
|
756
|
+
#
|
757
|
+
# @option params [required, String] :auth_mode
|
758
|
+
# Specifies whether the Studio authenticates users using single sign-on
|
759
|
+
# (SSO) or IAM. Amazon EMR Studio currently only supports SSO
|
760
|
+
# authentication.
|
761
|
+
#
|
762
|
+
# @option params [required, String] :vpc_id
|
763
|
+
# The ID of the Amazon Virtual Private Cloud (Amazon VPC) to associate
|
764
|
+
# with the Studio.
|
765
|
+
#
|
766
|
+
# @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.
|
770
|
+
#
|
771
|
+
# @option params [required, String] :service_role
|
772
|
+
# The IAM role that will be assumed by the Amazon EMR Studio. The
|
773
|
+
# service role provides a way for Amazon EMR Studio to interoperate with
|
774
|
+
# other AWS services.
|
775
|
+
#
|
776
|
+
# @option params [required, String] :user_role
|
777
|
+
# 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.
|
780
|
+
#
|
781
|
+
# @option params [required, String] :workspace_security_group_id
|
782
|
+
# The ID of the Amazon EMR Studio Workspace security group. The
|
783
|
+
# Workspace security group allows outbound network traffic to resources
|
784
|
+
# in the Engine security group, and it must be in the same VPC specified
|
785
|
+
# by `VpcId`.
|
786
|
+
#
|
787
|
+
# @option params [required, String] :engine_security_group_id
|
788
|
+
# The ID of the Amazon EMR Studio Engine security group. The Engine
|
789
|
+
# security group allows inbound network traffic from the Workspace
|
790
|
+
# security group, and it must be in the same VPC specified by `VpcId`.
|
791
|
+
#
|
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
|
795
|
+
# location when creating a Workspace.
|
796
|
+
#
|
797
|
+
# @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.
|
802
|
+
#
|
803
|
+
# @return [Types::CreateStudioOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
804
|
+
#
|
805
|
+
# * {Types::CreateStudioOutput#studio_id #studio_id} => String
|
806
|
+
# * {Types::CreateStudioOutput#url #url} => String
|
807
|
+
#
|
808
|
+
# @example Request syntax with placeholder values
|
809
|
+
#
|
810
|
+
# resp = client.create_studio({
|
811
|
+
# name: "XmlStringMaxLen256", # required
|
812
|
+
# description: "XmlStringMaxLen256",
|
813
|
+
# auth_mode: "SSO", # required, accepts SSO, IAM
|
814
|
+
# vpc_id: "XmlStringMaxLen256", # required
|
815
|
+
# subnet_ids: ["String"], # required
|
816
|
+
# service_role: "XmlString", # required
|
817
|
+
# user_role: "XmlString", # required
|
818
|
+
# workspace_security_group_id: "XmlStringMaxLen256", # required
|
819
|
+
# engine_security_group_id: "XmlStringMaxLen256", # required
|
820
|
+
# default_s3_location: "XmlString",
|
821
|
+
# tags: [
|
822
|
+
# {
|
823
|
+
# key: "String",
|
824
|
+
# value: "String",
|
825
|
+
# },
|
826
|
+
# ],
|
827
|
+
# })
|
828
|
+
#
|
829
|
+
# @example Response structure
|
830
|
+
#
|
831
|
+
# resp.studio_id #=> String
|
832
|
+
# resp.url #=> String
|
833
|
+
#
|
834
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/CreateStudio AWS API Documentation
|
835
|
+
#
|
836
|
+
# @overload create_studio(params = {})
|
837
|
+
# @param [Hash] params ({})
|
838
|
+
def create_studio(params = {}, options = {})
|
839
|
+
req = build_request(:create_studio, params)
|
840
|
+
req.send_request(options)
|
841
|
+
end
|
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
|
+
# Maps a user or group to the Amazon EMR Studio specified by `StudioId`,
|
849
|
+
# and applies a session policy to refine Studio permissions for that
|
850
|
+
# user or group.
|
851
|
+
#
|
852
|
+
# @option params [required, String] :studio_id
|
853
|
+
# The ID of the Amazon EMR Studio to which the user or group will be
|
854
|
+
# mapped.
|
855
|
+
#
|
856
|
+
# @option params [String] :identity_id
|
857
|
+
# The globally unique identifier (GUID) of the user or group from the
|
858
|
+
# AWS SSO Identity Store. For more information, see [UserId][1] and
|
859
|
+
# [GroupId][2] in the *AWS SSO Identity Store API Reference*. Either
|
860
|
+
# `IdentityName` or `IdentityId` must be specified.
|
861
|
+
#
|
862
|
+
#
|
863
|
+
#
|
864
|
+
# [1]: https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_User.html#singlesignon-Type-User-UserId
|
865
|
+
# [2]: https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_Group.html#singlesignon-Type-Group-GroupId
|
866
|
+
#
|
867
|
+
# @option params [String] :identity_name
|
868
|
+
# The name of the user or group. For more information, see [UserName][1]
|
869
|
+
# and [DisplayName][2] in the *AWS SSO Identity Store API Reference*.
|
870
|
+
# Either `IdentityName` or `IdentityId` must be specified.
|
871
|
+
#
|
872
|
+
#
|
873
|
+
#
|
874
|
+
# [1]: https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_User.html#singlesignon-Type-User-UserId
|
875
|
+
# [2]: https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_Group.html#singlesignon-Type-Group-DisplayName
|
876
|
+
#
|
877
|
+
# @option params [required, String] :identity_type
|
878
|
+
# Specifies whether the identity to map to the Studio is a user or a
|
879
|
+
# group.
|
880
|
+
#
|
881
|
+
# @option params [required, String] :session_policy_arn
|
882
|
+
# The Amazon Resource Name (ARN) for the session policy that will be
|
883
|
+
# applied to the user or group. Session policies refine Studio user
|
884
|
+
# permissions without the need to use multiple IAM user roles.
|
885
|
+
#
|
886
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
887
|
+
#
|
888
|
+
# @example Request syntax with placeholder values
|
889
|
+
#
|
890
|
+
# resp = client.create_studio_session_mapping({
|
891
|
+
# studio_id: "XmlStringMaxLen256", # required
|
892
|
+
# identity_id: "XmlStringMaxLen256",
|
893
|
+
# identity_name: "XmlStringMaxLen256",
|
894
|
+
# identity_type: "USER", # required, accepts USER, GROUP
|
895
|
+
# session_policy_arn: "XmlStringMaxLen256", # required
|
896
|
+
# })
|
897
|
+
#
|
898
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/CreateStudioSessionMapping AWS API Documentation
|
899
|
+
#
|
900
|
+
# @overload create_studio_session_mapping(params = {})
|
901
|
+
# @param [Hash] params ({})
|
902
|
+
def create_studio_session_mapping(params = {}, options = {})
|
903
|
+
req = build_request(:create_studio_session_mapping, params)
|
904
|
+
req.send_request(options)
|
905
|
+
end
|
906
|
+
|
744
907
|
# Deletes a security configuration.
|
745
908
|
#
|
746
909
|
# @option params [required, String] :name
|
@@ -763,6 +926,89 @@ module Aws::EMR
|
|
763
926
|
req.send_request(options)
|
764
927
|
end
|
765
928
|
|
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
|
+
# Removes an Amazon EMR Studio from the Studio metadata store.
|
935
|
+
#
|
936
|
+
# @option params [required, String] :studio_id
|
937
|
+
# The ID of the Amazon EMR Studio.
|
938
|
+
#
|
939
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
940
|
+
#
|
941
|
+
# @example Request syntax with placeholder values
|
942
|
+
#
|
943
|
+
# resp = client.delete_studio({
|
944
|
+
# studio_id: "XmlStringMaxLen256", # required
|
945
|
+
# })
|
946
|
+
#
|
947
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DeleteStudio AWS API Documentation
|
948
|
+
#
|
949
|
+
# @overload delete_studio(params = {})
|
950
|
+
# @param [Hash] params ({})
|
951
|
+
def delete_studio(params = {}, options = {})
|
952
|
+
req = build_request(:delete_studio, params)
|
953
|
+
req.send_request(options)
|
954
|
+
end
|
955
|
+
|
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
|
+
# Removes a user or group from an Amazon EMR Studio.
|
962
|
+
#
|
963
|
+
# @option params [required, String] :studio_id
|
964
|
+
# The ID of the Amazon EMR Studio.
|
965
|
+
#
|
966
|
+
# @option params [String] :identity_id
|
967
|
+
# The globally unique identifier (GUID) of the user or group to remove
|
968
|
+
# from the Amazon EMR Studio. For more information, see [UserId][1] and
|
969
|
+
# [GroupId][2] in the *AWS SSO Identity Store API Reference*. Either
|
970
|
+
# `IdentityName` or `IdentityId` must be specified.
|
971
|
+
#
|
972
|
+
#
|
973
|
+
#
|
974
|
+
# [1]: https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_User.html#singlesignon-Type-User-UserId
|
975
|
+
# [2]: https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_Group.html#singlesignon-Type-Group-GroupId
|
976
|
+
#
|
977
|
+
# @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.
|
982
|
+
#
|
983
|
+
#
|
984
|
+
#
|
985
|
+
# [1]: https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_User.html#singlesignon-Type-User-UserId
|
986
|
+
# [2]: https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_Group.html#singlesignon-Type-Group-DisplayName
|
987
|
+
#
|
988
|
+
# @option params [required, String] :identity_type
|
989
|
+
# Specifies whether the identity to delete from the Studio is a user or
|
990
|
+
# a group.
|
991
|
+
#
|
992
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
993
|
+
#
|
994
|
+
# @example Request syntax with placeholder values
|
995
|
+
#
|
996
|
+
# resp = client.delete_studio_session_mapping({
|
997
|
+
# studio_id: "XmlStringMaxLen256", # required
|
998
|
+
# identity_id: "XmlStringMaxLen256",
|
999
|
+
# identity_name: "XmlStringMaxLen256",
|
1000
|
+
# identity_type: "USER", # required, accepts USER, GROUP
|
1001
|
+
# })
|
1002
|
+
#
|
1003
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DeleteStudioSessionMapping AWS API Documentation
|
1004
|
+
#
|
1005
|
+
# @overload delete_studio_session_mapping(params = {})
|
1006
|
+
# @param [Hash] params ({})
|
1007
|
+
def delete_studio_session_mapping(params = {}, options = {})
|
1008
|
+
req = build_request(:delete_studio_session_mapping, params)
|
1009
|
+
req.send_request(options)
|
1010
|
+
end
|
1011
|
+
|
766
1012
|
# Provides cluster-level details including status, hardware and software
|
767
1013
|
# configuration, VPC settings, and so on.
|
768
1014
|
#
|
@@ -864,9 +1110,9 @@ module Aws::EMR
|
|
864
1110
|
req.send_request(options)
|
865
1111
|
end
|
866
1112
|
|
867
|
-
# This API is
|
868
|
-
# you use ListClusters, DescribeCluster, ListSteps,
|
869
|
-
# and ListBootstrapActions instead.
|
1113
|
+
# This API is no longer supported and will eventually be removed. We
|
1114
|
+
# recommend you use ListClusters, DescribeCluster, ListSteps,
|
1115
|
+
# ListInstanceGroups and ListBootstrapActions instead.
|
870
1116
|
#
|
871
1117
|
# DescribeJobFlows returns a list of job flows that match all of the
|
872
1118
|
# supplied parameters. The parameters can include a list of job flow
|
@@ -1122,6 +1368,57 @@ module Aws::EMR
|
|
1122
1368
|
req.send_request(options)
|
1123
1369
|
end
|
1124
1370
|
|
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
|
+
# Returns details for the specified Amazon EMR Studio including ID,
|
1377
|
+
# Name, VPC, Studio access URL, and so on.
|
1378
|
+
#
|
1379
|
+
# @option params [required, String] :studio_id
|
1380
|
+
# The Amazon EMR Studio ID.
|
1381
|
+
#
|
1382
|
+
# @return [Types::DescribeStudioOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1383
|
+
#
|
1384
|
+
# * {Types::DescribeStudioOutput#studio #studio} => Types::Studio
|
1385
|
+
#
|
1386
|
+
# @example Request syntax with placeholder values
|
1387
|
+
#
|
1388
|
+
# resp = client.describe_studio({
|
1389
|
+
# studio_id: "XmlStringMaxLen256", # required
|
1390
|
+
# })
|
1391
|
+
#
|
1392
|
+
# @example Response structure
|
1393
|
+
#
|
1394
|
+
# resp.studio.studio_id #=> String
|
1395
|
+
# resp.studio.studio_arn #=> String
|
1396
|
+
# resp.studio.name #=> String
|
1397
|
+
# resp.studio.description #=> String
|
1398
|
+
# resp.studio.auth_mode #=> String, one of "SSO", "IAM"
|
1399
|
+
# resp.studio.vpc_id #=> String
|
1400
|
+
# resp.studio.subnet_ids #=> Array
|
1401
|
+
# resp.studio.subnet_ids[0] #=> String
|
1402
|
+
# resp.studio.service_role #=> String
|
1403
|
+
# resp.studio.user_role #=> String
|
1404
|
+
# resp.studio.workspace_security_group_id #=> String
|
1405
|
+
# resp.studio.engine_security_group_id #=> String
|
1406
|
+
# resp.studio.url #=> String
|
1407
|
+
# resp.studio.creation_time #=> Time
|
1408
|
+
# resp.studio.default_s3_location #=> String
|
1409
|
+
# resp.studio.tags #=> Array
|
1410
|
+
# resp.studio.tags[0].key #=> String
|
1411
|
+
# resp.studio.tags[0].value #=> String
|
1412
|
+
#
|
1413
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DescribeStudio AWS API Documentation
|
1414
|
+
#
|
1415
|
+
# @overload describe_studio(params = {})
|
1416
|
+
# @param [Hash] params ({})
|
1417
|
+
def describe_studio(params = {}, options = {})
|
1418
|
+
req = build_request(:describe_studio, params)
|
1419
|
+
req.send_request(options)
|
1420
|
+
end
|
1421
|
+
|
1125
1422
|
# Returns the Amazon EMR block public access configuration for your AWS
|
1126
1423
|
# account in the current Region. For more information see [Configure
|
1127
1424
|
# Block Public Access for Amazon EMR][1] in the *Amazon EMR Management
|
@@ -1187,6 +1484,73 @@ module Aws::EMR
|
|
1187
1484
|
req.send_request(options)
|
1188
1485
|
end
|
1189
1486
|
|
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
|
+
# Fetches mapping details for the specified Amazon EMR Studio and
|
1493
|
+
# identity (user or group).
|
1494
|
+
#
|
1495
|
+
# @option params [required, String] :studio_id
|
1496
|
+
# The ID of the Amazon EMR Studio.
|
1497
|
+
#
|
1498
|
+
# @option params [String] :identity_id
|
1499
|
+
# The globally unique identifier (GUID) of the user or group. For more
|
1500
|
+
# information, see [UserId][1] and [GroupId][2] in the *AWS SSO Identity
|
1501
|
+
# Store API Reference*. Either `IdentityName` or `IdentityId` must be
|
1502
|
+
# specified.
|
1503
|
+
#
|
1504
|
+
#
|
1505
|
+
#
|
1506
|
+
# [1]: https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_User.html#singlesignon-Type-User-UserId
|
1507
|
+
# [2]: https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_Group.html#singlesignon-Type-Group-GroupId
|
1508
|
+
#
|
1509
|
+
# @option params [String] :identity_name
|
1510
|
+
# The name of the user or group to fetch. For more information, see
|
1511
|
+
# [UserName][1] and [DisplayName][2] in the *AWS SSO Identity Store API
|
1512
|
+
# Reference*. Either `IdentityName` or `IdentityId` must be specified.
|
1513
|
+
#
|
1514
|
+
#
|
1515
|
+
#
|
1516
|
+
# [1]: https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_User.html#singlesignon-Type-User-UserId
|
1517
|
+
# [2]: https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_Group.html#singlesignon-Type-Group-DisplayName
|
1518
|
+
#
|
1519
|
+
# @option params [required, String] :identity_type
|
1520
|
+
# Specifies whether the identity to fetch is a user or a group.
|
1521
|
+
#
|
1522
|
+
# @return [Types::GetStudioSessionMappingOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1523
|
+
#
|
1524
|
+
# * {Types::GetStudioSessionMappingOutput#session_mapping #session_mapping} => Types::SessionMappingDetail
|
1525
|
+
#
|
1526
|
+
# @example Request syntax with placeholder values
|
1527
|
+
#
|
1528
|
+
# resp = client.get_studio_session_mapping({
|
1529
|
+
# studio_id: "XmlStringMaxLen256", # required
|
1530
|
+
# identity_id: "XmlStringMaxLen256",
|
1531
|
+
# identity_name: "XmlStringMaxLen256",
|
1532
|
+
# identity_type: "USER", # required, accepts USER, GROUP
|
1533
|
+
# })
|
1534
|
+
#
|
1535
|
+
# @example Response structure
|
1536
|
+
#
|
1537
|
+
# resp.session_mapping.studio_id #=> String
|
1538
|
+
# resp.session_mapping.identity_id #=> String
|
1539
|
+
# resp.session_mapping.identity_name #=> String
|
1540
|
+
# resp.session_mapping.identity_type #=> String, one of "USER", "GROUP"
|
1541
|
+
# resp.session_mapping.session_policy_arn #=> String
|
1542
|
+
# resp.session_mapping.creation_time #=> Time
|
1543
|
+
# resp.session_mapping.last_modified_time #=> Time
|
1544
|
+
#
|
1545
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/GetStudioSessionMapping AWS API Documentation
|
1546
|
+
#
|
1547
|
+
# @overload get_studio_session_mapping(params = {})
|
1548
|
+
# @param [Hash] params ({})
|
1549
|
+
def get_studio_session_mapping(params = {}, options = {})
|
1550
|
+
req = build_request(:get_studio_session_mapping, params)
|
1551
|
+
req.send_request(options)
|
1552
|
+
end
|
1553
|
+
|
1190
1554
|
# Provides information about the bootstrap actions associated with a
|
1191
1555
|
# cluster.
|
1192
1556
|
#
|
@@ -1740,6 +2104,105 @@ module Aws::EMR
|
|
1740
2104
|
req.send_request(options)
|
1741
2105
|
end
|
1742
2106
|
|
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`.
|
2114
|
+
#
|
2115
|
+
# @option params [String] :studio_id
|
2116
|
+
# The ID of the Amazon EMR Studio.
|
2117
|
+
#
|
2118
|
+
# @option params [String] :identity_type
|
2119
|
+
# Specifies whether to return session mappings for users or groups. If
|
2120
|
+
# not specified, the results include session mapping details for both
|
2121
|
+
# users and groups.
|
2122
|
+
#
|
2123
|
+
# @option params [String] :marker
|
2124
|
+
# The pagination token that indicates the set of results to retrieve.
|
2125
|
+
#
|
2126
|
+
# @return [Types::ListStudioSessionMappingsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2127
|
+
#
|
2128
|
+
# * {Types::ListStudioSessionMappingsOutput#session_mappings #session_mappings} => Array<Types::SessionMappingSummary>
|
2129
|
+
# * {Types::ListStudioSessionMappingsOutput#marker #marker} => String
|
2130
|
+
#
|
2131
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2132
|
+
#
|
2133
|
+
# @example Request syntax with placeholder values
|
2134
|
+
#
|
2135
|
+
# resp = client.list_studio_session_mappings({
|
2136
|
+
# studio_id: "XmlStringMaxLen256",
|
2137
|
+
# identity_type: "USER", # accepts USER, GROUP
|
2138
|
+
# marker: "Marker",
|
2139
|
+
# })
|
2140
|
+
#
|
2141
|
+
# @example Response structure
|
2142
|
+
#
|
2143
|
+
# resp.session_mappings #=> Array
|
2144
|
+
# resp.session_mappings[0].studio_id #=> String
|
2145
|
+
# resp.session_mappings[0].identity_id #=> String
|
2146
|
+
# resp.session_mappings[0].identity_name #=> String
|
2147
|
+
# resp.session_mappings[0].identity_type #=> String, one of "USER", "GROUP"
|
2148
|
+
# resp.session_mappings[0].session_policy_arn #=> String
|
2149
|
+
# resp.session_mappings[0].creation_time #=> Time
|
2150
|
+
# resp.marker #=> String
|
2151
|
+
#
|
2152
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListStudioSessionMappings AWS API Documentation
|
2153
|
+
#
|
2154
|
+
# @overload list_studio_session_mappings(params = {})
|
2155
|
+
# @param [Hash] params ({})
|
2156
|
+
def list_studio_session_mappings(params = {}, options = {})
|
2157
|
+
req = build_request(:list_studio_session_mappings, params)
|
2158
|
+
req.send_request(options)
|
2159
|
+
end
|
2160
|
+
|
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
|
+
# Returns a list of all Amazon EMR Studios associated with the AWS
|
2167
|
+
# account. The list includes details such as ID, Studio Access URL, and
|
2168
|
+
# creation time for each Studio.
|
2169
|
+
#
|
2170
|
+
# @option params [String] :marker
|
2171
|
+
# The pagination token that indicates the set of results to retrieve.
|
2172
|
+
#
|
2173
|
+
# @return [Types::ListStudiosOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2174
|
+
#
|
2175
|
+
# * {Types::ListStudiosOutput#studios #studios} => Array<Types::StudioSummary>
|
2176
|
+
# * {Types::ListStudiosOutput#marker #marker} => String
|
2177
|
+
#
|
2178
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2179
|
+
#
|
2180
|
+
# @example Request syntax with placeholder values
|
2181
|
+
#
|
2182
|
+
# resp = client.list_studios({
|
2183
|
+
# marker: "Marker",
|
2184
|
+
# })
|
2185
|
+
#
|
2186
|
+
# @example Response structure
|
2187
|
+
#
|
2188
|
+
# resp.studios #=> Array
|
2189
|
+
# resp.studios[0].studio_id #=> String
|
2190
|
+
# resp.studios[0].name #=> String
|
2191
|
+
# resp.studios[0].vpc_id #=> String
|
2192
|
+
# resp.studios[0].description #=> String
|
2193
|
+
# resp.studios[0].url #=> String
|
2194
|
+
# resp.studios[0].creation_time #=> Time
|
2195
|
+
# resp.marker #=> String
|
2196
|
+
#
|
2197
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListStudios AWS API Documentation
|
2198
|
+
#
|
2199
|
+
# @overload list_studios(params = {})
|
2200
|
+
# @param [Hash] params ({})
|
2201
|
+
def list_studios(params = {}, options = {})
|
2202
|
+
req = build_request(:list_studios, params)
|
2203
|
+
req.send_request(options)
|
2204
|
+
end
|
2205
|
+
|
1743
2206
|
# Modifies the number of steps that can be executed concurrently for the
|
1744
2207
|
# cluster specified using ClusterID.
|
1745
2208
|
#
|
@@ -2202,9 +2665,9 @@ module Aws::EMR
|
|
2202
2665
|
#
|
2203
2666
|
# @option params [String] :log_encryption_kms_key_id
|
2204
2667
|
# The AWS KMS customer master key (CMK) used for encrypting log files.
|
2205
|
-
# If a value is not provided, the logs
|
2206
|
-
#
|
2207
|
-
# excluding EMR 6.0.0.
|
2668
|
+
# If a value is not provided, the logs remain encrypted by AES-256. This
|
2669
|
+
# attribute is only available with Amazon EMR version 5.30.0 and later,
|
2670
|
+
# excluding Amazon EMR 6.0.0.
|
2208
2671
|
#
|
2209
2672
|
# @option params [String] :additional_info
|
2210
2673
|
# A JSON string for selecting additional features.
|
@@ -2345,13 +2808,13 @@ module Aws::EMR
|
|
2345
2808
|
# terminate the instance was submitted. This option is only available
|
2346
2809
|
# with Amazon EMR 5.1.0 and later and is the default for clusters
|
2347
2810
|
# created using that version. `TERMINATE_AT_TASK_COMPLETION` indicates
|
2348
|
-
# that Amazon EMR
|
2349
|
-
# terminating the Amazon EC2 instances, regardless of the
|
2350
|
-
# boundary. With either behavior, Amazon EMR removes the
|
2351
|
-
# nodes first and blocks instance termination if it could
|
2352
|
-
# corruption. `TERMINATE_AT_TASK_COMPLETION` available only
|
2353
|
-
# EMR version 4.1.0 and later, and is the default for versions
|
2354
|
-
# EMR earlier than 5.1.0.
|
2811
|
+
# that Amazon EMR adds nodes to a deny list and drains tasks from nodes
|
2812
|
+
# before terminating the Amazon EC2 instances, regardless of the
|
2813
|
+
# instance-hour boundary. With either behavior, Amazon EMR removes the
|
2814
|
+
# least active nodes first and blocks instance termination if it could
|
2815
|
+
# lead to HDFS corruption. `TERMINATE_AT_TASK_COMPLETION` available only
|
2816
|
+
# in Amazon EMR version 4.1.0 and later, and is the default for versions
|
2817
|
+
# of Amazon EMR earlier than 5.1.0.
|
2355
2818
|
#
|
2356
2819
|
# @option params [String] :custom_ami_id
|
2357
2820
|
# Available only in Amazon EMR version 5.7.0 and later. The ID of a
|
@@ -2374,9 +2837,9 @@ module Aws::EMR
|
|
2374
2837
|
# [3]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/finding-an-ami.html
|
2375
2838
|
#
|
2376
2839
|
# @option params [Integer] :ebs_root_volume_size
|
2377
|
-
# The size, in GiB, of the EBS root device volume of the Linux
|
2378
|
-
# is used for each EC2 instance. Available in Amazon EMR
|
2379
|
-
# later.
|
2840
|
+
# The size, in GiB, of the Amazon EBS root device volume of the Linux
|
2841
|
+
# AMI that is used for each EC2 instance. Available in Amazon EMR
|
2842
|
+
# version 4.x and later.
|
2380
2843
|
#
|
2381
2844
|
# @option params [String] :repo_upgrade_on_boot
|
2382
2845
|
# Applies only when `CustomAmiID` is used. Specifies which updates from
|
@@ -2389,7 +2852,7 @@ module Aws::EMR
|
|
2389
2852
|
# @option params [Types::KerberosAttributes] :kerberos_attributes
|
2390
2853
|
# Attributes for Kerberos configuration when Kerberos authentication is
|
2391
2854
|
# enabled using a security configuration. For more information see [Use
|
2392
|
-
# Kerberos Authentication][1] in the *EMR Management Guide*.
|
2855
|
+
# Kerberos Authentication][1] in the *Amazon EMR Management Guide*.
|
2393
2856
|
#
|
2394
2857
|
#
|
2395
2858
|
#
|
@@ -2799,7 +3262,7 @@ module Aws::EMR
|
|
2799
3262
|
#
|
2800
3263
|
# @option params [Array<Types::Tag>] :tags
|
2801
3264
|
# A list of tags associated with a notebook execution. Tags are
|
2802
|
-
# user-defined key
|
3265
|
+
# user-defined key-value pairs that consist of a required key string
|
2803
3266
|
# with a maximum of 128 characters and an optional value string with a
|
2804
3267
|
# maximum of 256 characters.
|
2805
3268
|
#
|
@@ -2877,7 +3340,7 @@ module Aws::EMR
|
|
2877
3340
|
# EC2 instances.
|
2878
3341
|
#
|
2879
3342
|
# @option params [required, Array<String>] :job_flow_ids
|
2880
|
-
# A list of job flows to be
|
3343
|
+
# A list of job flows to be shut down.
|
2881
3344
|
#
|
2882
3345
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2883
3346
|
#
|
@@ -2896,6 +3359,66 @@ module Aws::EMR
|
|
2896
3359
|
req.send_request(options)
|
2897
3360
|
end
|
2898
3361
|
|
3362
|
+
# <note markdown="1"> The Amazon EMR Studio APIs are in preview release for Amazon EMR and
|
3363
|
+
# are subject to change.
|
3364
|
+
#
|
3365
|
+
# </note>
|
3366
|
+
#
|
3367
|
+
# Updates the session policy attached to the user or group for the
|
3368
|
+
# specified Amazon EMR Studio.
|
3369
|
+
#
|
3370
|
+
# @option params [required, String] :studio_id
|
3371
|
+
# The ID of the EMR Studio.
|
3372
|
+
#
|
3373
|
+
# @option params [String] :identity_id
|
3374
|
+
# The globally unique identifier (GUID) of the user or group. For more
|
3375
|
+
# information, see [UserId][1] and [GroupId][2] in the *AWS SSO Identity
|
3376
|
+
# Store API Reference*. Either `IdentityName` or `IdentityId` must be
|
3377
|
+
# specified.
|
3378
|
+
#
|
3379
|
+
#
|
3380
|
+
#
|
3381
|
+
# [1]: https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_User.html#singlesignon-Type-User-UserId
|
3382
|
+
# [2]: https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_Group.html#singlesignon-Type-Group-GroupId
|
3383
|
+
#
|
3384
|
+
# @option params [String] :identity_name
|
3385
|
+
# The name of the user or group to update. For more information, see
|
3386
|
+
# [UserName][1] and [DisplayName][2] in the *AWS SSO Identity Store API
|
3387
|
+
# Reference*. Either `IdentityName` or `IdentityId` must be specified.
|
3388
|
+
#
|
3389
|
+
#
|
3390
|
+
#
|
3391
|
+
# [1]: https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_User.html#singlesignon-Type-User-UserId
|
3392
|
+
# [2]: https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_Group.html#singlesignon-Type-Group-DisplayName
|
3393
|
+
#
|
3394
|
+
# @option params [required, String] :identity_type
|
3395
|
+
# Specifies whether the identity to update is a user or a group.
|
3396
|
+
#
|
3397
|
+
# @option params [required, String] :session_policy_arn
|
3398
|
+
# The Amazon Resource Name (ARN) of the session policy to associate with
|
3399
|
+
# the specified user or group.
|
3400
|
+
#
|
3401
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3402
|
+
#
|
3403
|
+
# @example Request syntax with placeholder values
|
3404
|
+
#
|
3405
|
+
# resp = client.update_studio_session_mapping({
|
3406
|
+
# studio_id: "XmlStringMaxLen256", # required
|
3407
|
+
# identity_id: "XmlStringMaxLen256",
|
3408
|
+
# identity_name: "XmlStringMaxLen256",
|
3409
|
+
# identity_type: "USER", # required, accepts USER, GROUP
|
3410
|
+
# session_policy_arn: "XmlStringMaxLen256", # required
|
3411
|
+
# })
|
3412
|
+
#
|
3413
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/UpdateStudioSessionMapping AWS API Documentation
|
3414
|
+
#
|
3415
|
+
# @overload update_studio_session_mapping(params = {})
|
3416
|
+
# @param [Hash] params ({})
|
3417
|
+
def update_studio_session_mapping(params = {}, options = {})
|
3418
|
+
req = build_request(:update_studio_session_mapping, params)
|
3419
|
+
req.send_request(options)
|
3420
|
+
end
|
3421
|
+
|
2899
3422
|
# @!endgroup
|
2900
3423
|
|
2901
3424
|
# @param params ({})
|
@@ -2909,7 +3432,7 @@ module Aws::EMR
|
|
2909
3432
|
params: params,
|
2910
3433
|
config: config)
|
2911
3434
|
context[:gem_name] = 'aws-sdk-emr'
|
2912
|
-
context[:gem_version] = '1.
|
3435
|
+
context[:gem_version] = '1.40.0'
|
2913
3436
|
Seahorse::Client::Request.new(handlers, context)
|
2914
3437
|
end
|
2915
3438
|
|