aws-sdk-emr 1.132.0 → 1.133.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: 329ca83630aea22f44249e31876065167ef665e0e28dbd091bec2c3b6669fa0e
4
- data.tar.gz: 75d07aa34b24faf4d57371f5cb761c9a547066731c3074df8b31608e5c4fe4b3
3
+ metadata.gz: 83c0aa7052dd2a4b90e378cb5d4037b62faf42d065784acc0c789f98c0bb9baa
4
+ data.tar.gz: a41eee981cfd2dbc99c76424cb6e5b92f00f07f36f3c070fac6c5a14d12cedff
5
5
  SHA512:
6
- metadata.gz: 328887dad22c00b967023493b232bbfd619e82b28180af66ea6175634dc112b32212990a59b786464cb25c39633b1ecd79f9c50bae1cdfa6f1a4fae5efd22583
7
- data.tar.gz: cedcd7c6818a0e290e3275eefe6d33871874bf99f7354d46e45be29952da0b049a302dcd18bf08577b8f23effcefe2a33a96d75c4c191e132b59f6ba37b1a3ad
6
+ metadata.gz: 5b2fbe5d888549f108acdd07fe1a66b53ab7bdea9b578e4e5ffd55574a58ba908acbe83f17d31cd130a6cca91fc552a5564bdc41c404b6a4bfbdd695e90c6472
7
+ data.tar.gz: dbe3dd0aee16e774df32e3c7eb47f53e58600ca1c2bec4528022ff482ffa3cba8ff5b998738323719962f2d6191dab1d853bdafe8519c32f224def3236f389e0
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.133.0 (2026-06-04)
5
+ ------------------
6
+
7
+ * Feature - Added support for Spark Connect interactive sessions on Amazon EMR on EC2 with new APIs - StartSession, GetSession, GetSessionEndpoint, ListSessions, and TerminateSession. Added sessionEnabled field in RunJobFlow and DescribeCluster to enable Spark Connect endpoints on EMR clusters.
8
+
4
9
  1.132.0 (2026-06-01)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.132.0
1
+ 1.133.0
@@ -816,6 +816,10 @@ module Aws::EMR
816
816
  # of 128 characters, and an optional value string with a maximum of 256
817
817
  # characters.
818
818
  #
819
+ # @option params [String] :cluster_id
820
+ # The ID of the cluster that scopes the tag operation. Required when the
821
+ # resource being tagged is a session-scoped resource.
822
+ #
819
823
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
820
824
  #
821
825
  # @example Request syntax with placeholder values
@@ -828,6 +832,7 @@ module Aws::EMR
828
832
  # value: "String",
829
833
  # },
830
834
  # ],
835
+ # cluster_id: "ClusterId",
831
836
  # })
832
837
  #
833
838
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/AddTags AWS API Documentation
@@ -1388,6 +1393,7 @@ module Aws::EMR
1388
1393
  # resp.cluster.monitoring_configuration.cloud_watch_log_configuration.log_types["XmlString"][0] #=> String
1389
1394
  # resp.cluster.monitoring_configuration.s3_logging_configuration.log_type_upload_policy #=> Hash
1390
1395
  # resp.cluster.monitoring_configuration.s3_logging_configuration.log_type_upload_policy["LogType"] #=> String, one of "emr-managed", "on-customer-s3only", "disabled"
1396
+ # resp.cluster.session_enabled #=> Boolean
1391
1397
  #
1392
1398
  #
1393
1399
  # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
@@ -2054,6 +2060,120 @@ module Aws::EMR
2054
2060
  req.send_request(options)
2055
2061
  end
2056
2062
 
2063
+ # Returns detailed information about a session.
2064
+ #
2065
+ # @option params [required, String] :cluster_id
2066
+ # The ID of the cluster that the session belongs to.
2067
+ #
2068
+ # @option params [required, String] :session_id
2069
+ # The ID of the session.
2070
+ #
2071
+ # @return [Types::GetSessionOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2072
+ #
2073
+ # * {Types::GetSessionOutput#session #session} => Types::Session
2074
+ #
2075
+ # @example Request syntax with placeholder values
2076
+ #
2077
+ # resp = client.get_session({
2078
+ # cluster_id: "ClusterId", # required
2079
+ # session_id: "SessionId", # required
2080
+ # })
2081
+ #
2082
+ # @example Response structure
2083
+ #
2084
+ # resp.session.id #=> String
2085
+ # resp.session.cluster_id #=> String
2086
+ # resp.session.name #=> String
2087
+ # resp.session.arn #=> String
2088
+ # resp.session.state #=> String, one of "SUBMITTED", "STARTING", "STARTED", "IDLE", "BUSY", "TERMINATING", "TERMINATED", "FAILED"
2089
+ # resp.session.state_change_reason #=> String
2090
+ # resp.session.release_label #=> String
2091
+ # resp.session.execution_role_arn #=> String
2092
+ # resp.session.account_id #=> String
2093
+ # resp.session.created_at #=> Time
2094
+ # resp.session.updated_at #=> Time
2095
+ # resp.session.started_at #=> Time
2096
+ # resp.session.ended_at #=> Time
2097
+ # resp.session.idle_since #=> Time
2098
+ # resp.session.engine_configurations #=> Array
2099
+ # resp.session.engine_configurations[0].classification #=> String
2100
+ # resp.session.engine_configurations[0].configurations #=> Types::ConfigurationList
2101
+ # resp.session.engine_configurations[0].properties #=> Hash
2102
+ # resp.session.engine_configurations[0].properties["String"] #=> String
2103
+ # resp.session.monitoring_configuration.cloud_watch_logging_configuration.enabled #=> Boolean
2104
+ # resp.session.monitoring_configuration.cloud_watch_logging_configuration.log_group #=> String
2105
+ # resp.session.monitoring_configuration.cloud_watch_logging_configuration.log_stream_name_prefix #=> String
2106
+ # resp.session.monitoring_configuration.cloud_watch_logging_configuration.encryption_key_arn #=> String
2107
+ # resp.session.monitoring_configuration.cloud_watch_logging_configuration.log_types #=> Hash
2108
+ # resp.session.monitoring_configuration.cloud_watch_logging_configuration.log_types["XmlString"] #=> Array
2109
+ # resp.session.monitoring_configuration.cloud_watch_logging_configuration.log_types["XmlString"][0] #=> String
2110
+ # resp.session.monitoring_configuration.managed_logging_configuration.enabled #=> Boolean
2111
+ # resp.session.monitoring_configuration.managed_logging_configuration.encryption_key_arn #=> String
2112
+ # resp.session.monitoring_configuration.s3_logging_configuration.enabled #=> Boolean
2113
+ # resp.session.monitoring_configuration.s3_logging_configuration.log_uri #=> String
2114
+ # resp.session.monitoring_configuration.s3_logging_configuration.encryption_key_arn #=> String
2115
+ # resp.session.monitoring_configuration.s3_logging_configuration.log_types #=> Hash
2116
+ # resp.session.monitoring_configuration.s3_logging_configuration.log_types["XmlString"] #=> Array
2117
+ # resp.session.monitoring_configuration.s3_logging_configuration.log_types["XmlString"][0] #=> String
2118
+ # resp.session.session_idle_timeout_in_minutes #=> Integer
2119
+ # resp.session.certificate_authority.certificate_arn #=> String
2120
+ # resp.session.certificate_authority.certificate_data #=> String
2121
+ # resp.session.server_url #=> String
2122
+ # resp.session.tags #=> Array
2123
+ # resp.session.tags[0].key #=> String
2124
+ # resp.session.tags[0].value #=> String
2125
+ #
2126
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/GetSession AWS API Documentation
2127
+ #
2128
+ # @overload get_session(params = {})
2129
+ # @param [Hash] params ({})
2130
+ def get_session(params = {}, options = {})
2131
+ req = build_request(:get_session, params)
2132
+ req.send_request(options)
2133
+ end
2134
+
2135
+ # Returns the Spark Connect endpoint URL and a time-limited
2136
+ # authentication token for the specified session. Use the endpoint and
2137
+ # token to connect a PySpark client to the session. Call this operation
2138
+ # again when the token expires to obtain a new one.
2139
+ #
2140
+ # @option params [required, String] :cluster_id
2141
+ # The ID of the cluster that the session belongs to.
2142
+ #
2143
+ # @option params [required, String] :session_id
2144
+ # The ID of the session.
2145
+ #
2146
+ # @return [Types::GetSessionEndpointOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2147
+ #
2148
+ # * {Types::GetSessionEndpointOutput#endpoint #endpoint} => String
2149
+ # * {Types::GetSessionEndpointOutput#auth_token #auth_token} => String
2150
+ # * {Types::GetSessionEndpointOutput#auth_token_expiration_time #auth_token_expiration_time} => Time
2151
+ # * {Types::GetSessionEndpointOutput#credentials #credentials} => Types::Credentials
2152
+ #
2153
+ # @example Request syntax with placeholder values
2154
+ #
2155
+ # resp = client.get_session_endpoint({
2156
+ # cluster_id: "ClusterId", # required
2157
+ # session_id: "SessionId", # required
2158
+ # })
2159
+ #
2160
+ # @example Response structure
2161
+ #
2162
+ # resp.endpoint #=> String
2163
+ # resp.auth_token #=> String
2164
+ # resp.auth_token_expiration_time #=> Time
2165
+ # resp.credentials.username_password.username #=> String
2166
+ # resp.credentials.username_password.password #=> String
2167
+ #
2168
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/GetSessionEndpoint AWS API Documentation
2169
+ #
2170
+ # @overload get_session_endpoint(params = {})
2171
+ # @param [Hash] params ({})
2172
+ def get_session_endpoint(params = {}, options = {})
2173
+ req = build_request(:get_session_endpoint, params)
2174
+ req.send_request(options)
2175
+ end
2176
+
2057
2177
  # Fetches mapping details for the specified Amazon EMR Studio and
2058
2178
  # identity (user or group).
2059
2179
  #
@@ -2689,6 +2809,94 @@ module Aws::EMR
2689
2809
  req.send_request(options)
2690
2810
  end
2691
2811
 
2812
+ # Lists the sessions on a cluster. You can filter the results by session
2813
+ # state. Newer sessions are returned first.
2814
+ #
2815
+ # @option params [required, String] :cluster_id
2816
+ # The ID of the cluster to list sessions for.
2817
+ #
2818
+ # @option params [Array<String>] :session_states
2819
+ # An optional filter that limits the results to sessions in the
2820
+ # specified states.
2821
+ #
2822
+ # @option params [String] :next_token
2823
+ # The pagination token returned by a previous `ListSessions` call. Use
2824
+ # it to retrieve the next page of results.
2825
+ #
2826
+ # @option params [Integer] :max_results
2827
+ # The maximum number of sessions to return in each page of results.
2828
+ #
2829
+ # @return [Types::ListSessionsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2830
+ #
2831
+ # * {Types::ListSessionsOutput#sessions #sessions} => Array&lt;Types::Session&gt;
2832
+ # * {Types::ListSessionsOutput#next_token #next_token} => String
2833
+ #
2834
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2835
+ #
2836
+ # @example Request syntax with placeholder values
2837
+ #
2838
+ # resp = client.list_sessions({
2839
+ # cluster_id: "ClusterId", # required
2840
+ # session_states: ["SUBMITTED"], # accepts SUBMITTED, STARTING, STARTED, IDLE, BUSY, TERMINATING, TERMINATED, FAILED
2841
+ # next_token: "String",
2842
+ # max_results: 1,
2843
+ # })
2844
+ #
2845
+ # @example Response structure
2846
+ #
2847
+ # resp.sessions #=> Array
2848
+ # resp.sessions[0].id #=> String
2849
+ # resp.sessions[0].cluster_id #=> String
2850
+ # resp.sessions[0].name #=> String
2851
+ # resp.sessions[0].arn #=> String
2852
+ # resp.sessions[0].state #=> String, one of "SUBMITTED", "STARTING", "STARTED", "IDLE", "BUSY", "TERMINATING", "TERMINATED", "FAILED"
2853
+ # resp.sessions[0].state_change_reason #=> String
2854
+ # resp.sessions[0].release_label #=> String
2855
+ # resp.sessions[0].execution_role_arn #=> String
2856
+ # resp.sessions[0].account_id #=> String
2857
+ # resp.sessions[0].created_at #=> Time
2858
+ # resp.sessions[0].updated_at #=> Time
2859
+ # resp.sessions[0].started_at #=> Time
2860
+ # resp.sessions[0].ended_at #=> Time
2861
+ # resp.sessions[0].idle_since #=> Time
2862
+ # resp.sessions[0].engine_configurations #=> Array
2863
+ # resp.sessions[0].engine_configurations[0].classification #=> String
2864
+ # resp.sessions[0].engine_configurations[0].configurations #=> Types::ConfigurationList
2865
+ # resp.sessions[0].engine_configurations[0].properties #=> Hash
2866
+ # resp.sessions[0].engine_configurations[0].properties["String"] #=> String
2867
+ # resp.sessions[0].monitoring_configuration.cloud_watch_logging_configuration.enabled #=> Boolean
2868
+ # resp.sessions[0].monitoring_configuration.cloud_watch_logging_configuration.log_group #=> String
2869
+ # resp.sessions[0].monitoring_configuration.cloud_watch_logging_configuration.log_stream_name_prefix #=> String
2870
+ # resp.sessions[0].monitoring_configuration.cloud_watch_logging_configuration.encryption_key_arn #=> String
2871
+ # resp.sessions[0].monitoring_configuration.cloud_watch_logging_configuration.log_types #=> Hash
2872
+ # resp.sessions[0].monitoring_configuration.cloud_watch_logging_configuration.log_types["XmlString"] #=> Array
2873
+ # resp.sessions[0].monitoring_configuration.cloud_watch_logging_configuration.log_types["XmlString"][0] #=> String
2874
+ # resp.sessions[0].monitoring_configuration.managed_logging_configuration.enabled #=> Boolean
2875
+ # resp.sessions[0].monitoring_configuration.managed_logging_configuration.encryption_key_arn #=> String
2876
+ # resp.sessions[0].monitoring_configuration.s3_logging_configuration.enabled #=> Boolean
2877
+ # resp.sessions[0].monitoring_configuration.s3_logging_configuration.log_uri #=> String
2878
+ # resp.sessions[0].monitoring_configuration.s3_logging_configuration.encryption_key_arn #=> String
2879
+ # resp.sessions[0].monitoring_configuration.s3_logging_configuration.log_types #=> Hash
2880
+ # resp.sessions[0].monitoring_configuration.s3_logging_configuration.log_types["XmlString"] #=> Array
2881
+ # resp.sessions[0].monitoring_configuration.s3_logging_configuration.log_types["XmlString"][0] #=> String
2882
+ # resp.sessions[0].session_idle_timeout_in_minutes #=> Integer
2883
+ # resp.sessions[0].certificate_authority.certificate_arn #=> String
2884
+ # resp.sessions[0].certificate_authority.certificate_data #=> String
2885
+ # resp.sessions[0].server_url #=> String
2886
+ # resp.sessions[0].tags #=> Array
2887
+ # resp.sessions[0].tags[0].key #=> String
2888
+ # resp.sessions[0].tags[0].value #=> String
2889
+ # resp.next_token #=> String
2890
+ #
2891
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListSessions AWS API Documentation
2892
+ #
2893
+ # @overload list_sessions(params = {})
2894
+ # @param [Hash] params ({})
2895
+ def list_sessions(params = {}, options = {})
2896
+ req = build_request(:list_sessions, params)
2897
+ req.send_request(options)
2898
+ end
2899
+
2692
2900
  # Provides a list of steps for the cluster in reverse order unless you
2693
2901
  # specify `stepIds` with the request or filter by `StepStates`. You can
2694
2902
  # specify a maximum of 10 `stepIDs`. The CLI automatically paginates
@@ -3440,6 +3648,10 @@ module Aws::EMR
3440
3648
  # @option params [required, Array<String>] :tag_keys
3441
3649
  # A list of tag keys to remove from the resource.
3442
3650
  #
3651
+ # @option params [String] :cluster_id
3652
+ # The ID of the cluster that scopes the tag operation. Required when the
3653
+ # resource being untagged is a session-scoped resource.
3654
+ #
3443
3655
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3444
3656
  #
3445
3657
  # @example Request syntax with placeholder values
@@ -3447,6 +3659,7 @@ module Aws::EMR
3447
3659
  # resp = client.remove_tags({
3448
3660
  # resource_id: "ResourceId", # required
3449
3661
  # tag_keys: ["String"], # required
3662
+ # cluster_id: "ClusterId",
3450
3663
  # })
3451
3664
  #
3452
3665
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/RemoveTags AWS API Documentation
@@ -3765,6 +3978,11 @@ module Aws::EMR
3765
3978
  # @option params [Types::MonitoringConfiguration] :monitoring_configuration
3766
3979
  # Contains CloudWatch log configuration metadata and settings.
3767
3980
  #
3981
+ # @option params [Boolean] :session_enabled
3982
+ # Indicates whether Spark Connect sessions are enabled on the cluster.
3983
+ # When set to `true`, you can start Spark Connect sessions using the
3984
+ # `StartSession` operation.
3985
+ #
3768
3986
  # @return [Types::RunJobFlowOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3769
3987
  #
3770
3988
  # * {Types::RunJobFlowOutput#job_flow_id #job_flow_id} => String
@@ -4073,6 +4291,7 @@ module Aws::EMR
4073
4291
  # },
4074
4292
  # },
4075
4293
  # },
4294
+ # session_enabled: false,
4076
4295
  # })
4077
4296
  #
4078
4297
  # @example Response structure
@@ -4396,6 +4615,118 @@ module Aws::EMR
4396
4615
  req.send_request(options)
4397
4616
  end
4398
4617
 
4618
+ # Creates and starts a new Spark Connect session on the specified
4619
+ # cluster. The cluster must be in the `RUNNING` or `WAITING` state and
4620
+ # have sessions enabled. This operation is supported in Amazon EMR Spark
4621
+ # 8.0.0 and later.
4622
+ #
4623
+ # @option params [String] :name
4624
+ # An optional name for the session.
4625
+ #
4626
+ # @option params [required, String] :cluster_id
4627
+ # The ID of the cluster on which to start the session.
4628
+ #
4629
+ # @option params [String] :execution_role_arn
4630
+ # The execution role ARN for the session. Amazon EMR uses this role to
4631
+ # access Amazon Web Services resources on your behalf during session
4632
+ # execution.
4633
+ #
4634
+ # @option params [Array<Types::Configuration>] :engine_configurations
4635
+ # The configuration overrides for the session. Only runtime
4636
+ # configuration overrides are supported.
4637
+ #
4638
+ # @option params [Types::SessionMonitoringConfiguration] :monitoring_configuration
4639
+ # The monitoring configuration that controls where session logs are
4640
+ # published, such as Amazon S3, CloudWatch, or managed logging.
4641
+ #
4642
+ # @option params [Integer] :session_idle_timeout_in_minutes
4643
+ # The idle timeout, in minutes. If the session is idle for this
4644
+ # duration, Amazon EMR EC2 automatically terminates it.
4645
+ #
4646
+ # @option params [String] :client_request_token
4647
+ # A unique, case-sensitive identifier that you provide to ensure the
4648
+ # idempotency of the request. If you retry a request that completed
4649
+ # successfully using the same client request token, the service returns
4650
+ # the original response without performing the operation again.
4651
+ #
4652
+ # @option params [Array<Types::Tag>] :tags
4653
+ # The tags to assign to the session.
4654
+ #
4655
+ # @return [Types::StartSessionOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4656
+ #
4657
+ # * {Types::StartSessionOutput#id #id} => String
4658
+ # * {Types::StartSessionOutput#cluster_id #cluster_id} => String
4659
+ # * {Types::StartSessionOutput#arn #arn} => String
4660
+ # * {Types::StartSessionOutput#account_id #account_id} => String
4661
+ # * {Types::StartSessionOutput#state #state} => String
4662
+ #
4663
+ # @example Request syntax with placeholder values
4664
+ #
4665
+ # resp = client.start_session({
4666
+ # name: "XmlStringMaxLen256",
4667
+ # cluster_id: "ClusterId", # required
4668
+ # execution_role_arn: "IAMRoleArn",
4669
+ # engine_configurations: [
4670
+ # {
4671
+ # classification: "String",
4672
+ # configurations: {
4673
+ # # recursive ConfigurationList
4674
+ # },
4675
+ # properties: {
4676
+ # "String" => "String",
4677
+ # },
4678
+ # },
4679
+ # ],
4680
+ # monitoring_configuration: {
4681
+ # cloud_watch_logging_configuration: {
4682
+ # enabled: false,
4683
+ # log_group: "XmlString",
4684
+ # log_stream_name_prefix: "XmlString",
4685
+ # encryption_key_arn: "XmlString",
4686
+ # log_types: {
4687
+ # "XmlString" => ["XmlString"],
4688
+ # },
4689
+ # },
4690
+ # managed_logging_configuration: {
4691
+ # enabled: false,
4692
+ # encryption_key_arn: "XmlString",
4693
+ # },
4694
+ # s3_logging_configuration: {
4695
+ # enabled: false,
4696
+ # log_uri: "XmlString",
4697
+ # encryption_key_arn: "XmlString",
4698
+ # log_types: {
4699
+ # "XmlString" => ["XmlString"],
4700
+ # },
4701
+ # },
4702
+ # },
4703
+ # session_idle_timeout_in_minutes: 1,
4704
+ # client_request_token: "ClientRequestToken",
4705
+ # tags: [
4706
+ # {
4707
+ # key: "String",
4708
+ # value: "String",
4709
+ # },
4710
+ # ],
4711
+ # })
4712
+ #
4713
+ # @example Response structure
4714
+ #
4715
+ # resp.id #=> String
4716
+ # resp.cluster_id #=> String
4717
+ # resp.arn #=> String
4718
+ # resp.account_id #=> String
4719
+ # resp.state #=> String, one of "SUBMITTED", "STARTING", "STARTED", "IDLE", "BUSY", "TERMINATING", "TERMINATED", "FAILED"
4720
+ #
4721
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/StartSession AWS API Documentation
4722
+ #
4723
+ # @overload start_session(params = {})
4724
+ # @param [Hash] params ({})
4725
+ def start_session(params = {}, options = {})
4726
+ req = build_request(:start_session, params)
4727
+ req.send_request(options)
4728
+ end
4729
+
4399
4730
  # Stops a notebook execution.
4400
4731
  #
4401
4732
  # @option params [required, String] :notebook_execution_id
@@ -4450,6 +4781,44 @@ module Aws::EMR
4450
4781
  req.send_request(options)
4451
4782
  end
4452
4783
 
4784
+ # Terminates an active session. After you call this operation, the
4785
+ # session enters the `TERMINATING` state and then transitions to
4786
+ # `TERMINATED`.
4787
+ #
4788
+ # @option params [required, String] :cluster_id
4789
+ # The ID of the cluster that the session belongs to.
4790
+ #
4791
+ # @option params [required, String] :session_id
4792
+ # The ID of the session to terminate.
4793
+ #
4794
+ # @return [Types::TerminateSessionOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4795
+ #
4796
+ # * {Types::TerminateSessionOutput#cluster_id #cluster_id} => String
4797
+ # * {Types::TerminateSessionOutput#session_id #session_id} => String
4798
+ # * {Types::TerminateSessionOutput#state #state} => String
4799
+ #
4800
+ # @example Request syntax with placeholder values
4801
+ #
4802
+ # resp = client.terminate_session({
4803
+ # cluster_id: "ClusterId", # required
4804
+ # session_id: "SessionId", # required
4805
+ # })
4806
+ #
4807
+ # @example Response structure
4808
+ #
4809
+ # resp.cluster_id #=> String
4810
+ # resp.session_id #=> String
4811
+ # resp.state #=> String, one of "SUBMITTED", "STARTING", "STARTED", "IDLE", "BUSY", "TERMINATING", "TERMINATED", "FAILED"
4812
+ #
4813
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/TerminateSession AWS API Documentation
4814
+ #
4815
+ # @overload terminate_session(params = {})
4816
+ # @param [Hash] params ({})
4817
+ def terminate_session(params = {}, options = {})
4818
+ req = build_request(:terminate_session, params)
4819
+ req.send_request(options)
4820
+ end
4821
+
4453
4822
  # Updates an Amazon EMR Studio configuration, including attributes such
4454
4823
  # as name, description, and subnets.
4455
4824
  #
@@ -4573,7 +4942,7 @@ module Aws::EMR
4573
4942
  tracer: tracer
4574
4943
  )
4575
4944
  context[:gem_name] = 'aws-sdk-emr'
4576
- context[:gem_version] = '1.132.0'
4945
+ context[:gem_version] = '1.133.0'
4577
4946
  Seahorse::Client::Request.new(handlers, context)
4578
4947
  end
4579
4948