aws-sdk-glue 1.259.0 → 1.260.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: d504c8e84f759e4f8391914b08349746675195164e9edb2ebc2c078838a01dc7
4
- data.tar.gz: 9204ab18bc52356f6356822e156d1093b4dc6a9ffc8b3d2a4238224519fc96dc
3
+ metadata.gz: f51319e65aa8498da5d5a38498f33bc6ed3ce00f8a0a5fb88c9ce9ab6d4ea8c9
4
+ data.tar.gz: 02caf5ee8d8844da55aa284b312a61206c09dc5a6cd818c3d94367bdc8ae7f75
5
5
  SHA512:
6
- metadata.gz: 886bd3cedd11abd6fcc312534fd7b7c414f7ad7c7e1237c5c43228141a949f6a3efe432f36fe1a089a7ff5356e88a97369f1a99388aecd79a3e7c6e497da5c80
7
- data.tar.gz: 5cdc98a8fb8faeeaf52c49f48aac99cb4019967e07daefc141e5327f00e854fcd07325e37281300a71ba06f501a2bb8a519b507fb9efbb46273404abd8d33391
6
+ metadata.gz: f7d0816b43971a9a46a3bb9a9955b359d6eb15c5ccfbfe0ecef4fe7f550e4ccca8fd2e666640242ea1eba94cf7b8d76319c0e6a12611309c117492f07cd91282
7
+ data.tar.gz: 2756fad9decc28092f61b628b877df29d84de54782deb566effe7662126c35bdf9d708a01c7ed72bd69432ce2d15db98faa300e77c2ab23b0f76f0a8ad3be5ed
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.260.0 (2026-06-04)
5
+ ------------------
6
+
7
+ * Feature - AWS Glue Interactive Sessions now supports Apache Spark Connect, enabling remote Spark execution over gRPC with minimal client-side dependencies. Adds GetSessionEndpoint and GetDashboardUrl APIs. Modifies CreateSession now accepts SPARK CONNECT session type.
8
+
4
9
  1.259.0 (2026-05-21)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.259.0
1
+ 1.260.0
@@ -4236,6 +4236,9 @@ module Aws::Glue
4236
4236
  # @option params [String] :request_origin
4237
4237
  # The origin of the request.
4238
4238
  #
4239
+ # @option params [String] :session_type
4240
+ # The type of session to create.
4241
+ #
4239
4242
  # @return [Types::CreateSessionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4240
4243
  #
4241
4244
  # * {Types::CreateSessionResponse#session #session} => Types::Session
@@ -4267,6 +4270,7 @@ module Aws::Glue
4267
4270
  # "TagKey" => "TagValue",
4268
4271
  # },
4269
4272
  # request_origin: "OrchestrationNameString",
4273
+ # session_type: "LIVY", # accepts LIVY, SPARK_CONNECT
4270
4274
  # })
4271
4275
  #
4272
4276
  # @example Response structure
@@ -4294,6 +4298,7 @@ module Aws::Glue
4294
4298
  # resp.session.dpu_seconds #=> Float
4295
4299
  # resp.session.idle_timeout #=> Integer
4296
4300
  # resp.session.profile_name #=> String
4301
+ # resp.session.session_type #=> String, one of "LIVY", "SPARK_CONNECT"
4297
4302
  #
4298
4303
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateSession AWS API Documentation
4299
4304
  #
@@ -7772,6 +7777,44 @@ module Aws::Glue
7772
7777
  req.send_request(options)
7773
7778
  end
7774
7779
 
7780
+ # Retrieves the URL for the Spark monitoring dashboard for a Glue
7781
+ # resource.
7782
+ #
7783
+ # @option params [required, String] :resource_id
7784
+ # The unique identifier of the resource for which to retrieve the
7785
+ # dashboard URL.
7786
+ #
7787
+ # @option params [required, String] :resource_type
7788
+ # The type of the resource. Valid values are `SESSION` and `JOB`.
7789
+ #
7790
+ # @option params [String] :request_origin
7791
+ # The origin of the request.
7792
+ #
7793
+ # @return [Types::GetDashboardUrlResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7794
+ #
7795
+ # * {Types::GetDashboardUrlResponse#url #url} => String
7796
+ #
7797
+ # @example Request syntax with placeholder values
7798
+ #
7799
+ # resp = client.get_dashboard_url({
7800
+ # resource_id: "NameString", # required
7801
+ # resource_type: "JOB", # required, accepts JOB, SESSION
7802
+ # request_origin: "OrchestrationNameString",
7803
+ # })
7804
+ #
7805
+ # @example Response structure
7806
+ #
7807
+ # resp.url #=> String
7808
+ #
7809
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDashboardUrl AWS API Documentation
7810
+ #
7811
+ # @overload get_dashboard_url(params = {})
7812
+ # @param [Hash] params ({})
7813
+ def get_dashboard_url(params = {}, options = {})
7814
+ req = build_request(:get_dashboard_url, params)
7815
+ req.send_request(options)
7816
+ end
7817
+
7775
7818
  # Retrieves the security configuration for a specified catalog.
7776
7819
  #
7777
7820
  # @option params [String] :catalog_id
@@ -10386,6 +10429,7 @@ module Aws::Glue
10386
10429
  # resp.session.dpu_seconds #=> Float
10387
10430
  # resp.session.idle_timeout #=> Integer
10388
10431
  # resp.session.profile_name #=> String
10432
+ # resp.session.session_type #=> String, one of "LIVY", "SPARK_CONNECT"
10389
10433
  #
10390
10434
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSession AWS API Documentation
10391
10435
  #
@@ -10396,6 +10440,37 @@ module Aws::Glue
10396
10440
  req.send_request(options)
10397
10441
  end
10398
10442
 
10443
+ # Returns the Spark Connect endpoint URL and authentication token for an
10444
+ # interactive session.
10445
+ #
10446
+ # @option params [required, String] :session_id
10447
+ # The unique identifier of the interactive session.
10448
+ #
10449
+ # @return [Types::GetSessionEndpointResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
10450
+ #
10451
+ # * {Types::GetSessionEndpointResponse#spark_connect #spark_connect} => Types::SessionEndpoint
10452
+ #
10453
+ # @example Request syntax with placeholder values
10454
+ #
10455
+ # resp = client.get_session_endpoint({
10456
+ # session_id: "NameString", # required
10457
+ # })
10458
+ #
10459
+ # @example Response structure
10460
+ #
10461
+ # resp.spark_connect.url #=> String
10462
+ # resp.spark_connect.auth_token #=> String
10463
+ # resp.spark_connect.auth_token_expiration_time #=> Time
10464
+ #
10465
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSessionEndpoint AWS API Documentation
10466
+ #
10467
+ # @overload get_session_endpoint(params = {})
10468
+ # @param [Hash] params ({})
10469
+ def get_session_endpoint(params = {}, options = {})
10470
+ req = build_request(:get_session_endpoint, params)
10471
+ req.send_request(options)
10472
+ end
10473
+
10399
10474
  # Retrieves the statement.
10400
10475
  #
10401
10476
  # @option params [required, String] :session_id
@@ -13992,6 +14067,7 @@ module Aws::Glue
13992
14067
  # resp.sessions[0].dpu_seconds #=> Float
13993
14068
  # resp.sessions[0].idle_timeout #=> Integer
13994
14069
  # resp.sessions[0].profile_name #=> String
14070
+ # resp.sessions[0].session_type #=> String, one of "LIVY", "SPARK_CONNECT"
13995
14071
  # resp.next_token #=> String
13996
14072
  #
13997
14073
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListSessions AWS API Documentation
@@ -19061,7 +19137,7 @@ module Aws::Glue
19061
19137
  tracer: tracer
19062
19138
  )
19063
19139
  context[:gem_name] = 'aws-sdk-glue'
19064
- context[:gem_version] = '1.259.0'
19140
+ context[:gem_version] = '1.260.0'
19065
19141
  Seahorse::Client::Request.new(handlers, context)
19066
19142
  end
19067
19143
 
@@ -700,6 +700,8 @@ module Aws::Glue
700
700
  GetCrawlersResponse = Shapes::StructureShape.new(name: 'GetCrawlersResponse')
701
701
  GetCustomEntityTypeRequest = Shapes::StructureShape.new(name: 'GetCustomEntityTypeRequest')
702
702
  GetCustomEntityTypeResponse = Shapes::StructureShape.new(name: 'GetCustomEntityTypeResponse')
703
+ GetDashboardUrlRequest = Shapes::StructureShape.new(name: 'GetDashboardUrlRequest')
704
+ GetDashboardUrlResponse = Shapes::StructureShape.new(name: 'GetDashboardUrlResponse')
703
705
  GetDataCatalogEncryptionSettingsRequest = Shapes::StructureShape.new(name: 'GetDataCatalogEncryptionSettingsRequest')
704
706
  GetDataCatalogEncryptionSettingsResponse = Shapes::StructureShape.new(name: 'GetDataCatalogEncryptionSettingsResponse')
705
707
  GetDataQualityModelRequest = Shapes::StructureShape.new(name: 'GetDataQualityModelRequest')
@@ -781,6 +783,8 @@ module Aws::Glue
781
783
  GetSecurityConfigurationResponse = Shapes::StructureShape.new(name: 'GetSecurityConfigurationResponse')
782
784
  GetSecurityConfigurationsRequest = Shapes::StructureShape.new(name: 'GetSecurityConfigurationsRequest')
783
785
  GetSecurityConfigurationsResponse = Shapes::StructureShape.new(name: 'GetSecurityConfigurationsResponse')
786
+ GetSessionEndpointRequest = Shapes::StructureShape.new(name: 'GetSessionEndpointRequest')
787
+ GetSessionEndpointResponse = Shapes::StructureShape.new(name: 'GetSessionEndpointResponse')
784
788
  GetSessionRequest = Shapes::StructureShape.new(name: 'GetSessionRequest')
785
789
  GetSessionResponse = Shapes::StructureShape.new(name: 'GetSessionResponse')
786
790
  GetStatementRequest = Shapes::StructureShape.new(name: 'GetStatementRequest')
@@ -826,6 +830,7 @@ module Aws::Glue
826
830
  GluePolicy = Shapes::StructureShape.new(name: 'GluePolicy')
827
831
  GlueRecordType = Shapes::StringShape.new(name: 'GlueRecordType')
828
832
  GlueResourceArn = Shapes::StringShape.new(name: 'GlueResourceArn')
833
+ GlueResourceType = Shapes::StringShape.new(name: 'GlueResourceType')
829
834
  GlueSchema = Shapes::StructureShape.new(name: 'GlueSchema')
830
835
  GlueSchemas = Shapes::ListShape.new(name: 'GlueSchemas')
831
836
  GlueStudioColumnNameString = Shapes::StringShape.new(name: 'GlueStudioColumnNameString')
@@ -1377,13 +1382,18 @@ module Aws::Glue
1377
1382
  SelectFields = Shapes::StructureShape.new(name: 'SelectFields')
1378
1383
  SelectFromCollection = Shapes::StructureShape.new(name: 'SelectFromCollection')
1379
1384
  SelectedFields = Shapes::ListShape.new(name: 'SelectedFields')
1385
+ SensitiveString = Shapes::StringShape.new(name: 'SensitiveString')
1386
+ SensitiveUrl = Shapes::StringShape.new(name: 'SensitiveUrl')
1380
1387
  Separator = Shapes::StringShape.new(name: 'Separator')
1381
1388
  SerDeInfo = Shapes::StructureShape.new(name: 'SerDeInfo')
1382
1389
  Session = Shapes::StructureShape.new(name: 'Session')
1390
+ SessionBusyException = Shapes::StructureShape.new(name: 'SessionBusyException')
1383
1391
  SessionCommand = Shapes::StructureShape.new(name: 'SessionCommand')
1392
+ SessionEndpoint = Shapes::StructureShape.new(name: 'SessionEndpoint')
1384
1393
  SessionIdList = Shapes::ListShape.new(name: 'SessionIdList')
1385
1394
  SessionList = Shapes::ListShape.new(name: 'SessionList')
1386
1395
  SessionStatus = Shapes::StringShape.new(name: 'SessionStatus')
1396
+ SessionType = Shapes::StringShape.new(name: 'SessionType')
1387
1397
  SettingSource = Shapes::StringShape.new(name: 'SettingSource')
1388
1398
  SkewedInfo = Shapes::StructureShape.new(name: 'SkewedInfo')
1389
1399
  SnowflakeNodeData = Shapes::StructureShape.new(name: 'SnowflakeNodeData')
@@ -1400,6 +1410,7 @@ module Aws::Glue
1400
1410
  SourceProcessingProperties = Shapes::StructureShape.new(name: 'SourceProcessingProperties')
1401
1411
  SourceTableConfig = Shapes::StructureShape.new(name: 'SourceTableConfig')
1402
1412
  SourceTableFieldsList = Shapes::ListShape.new(name: 'SourceTableFieldsList')
1413
+ SparkConnectEndpointUrl = Shapes::StringShape.new(name: 'SparkConnectEndpointUrl')
1403
1414
  SparkConnectorSource = Shapes::StructureShape.new(name: 'SparkConnectorSource')
1404
1415
  SparkConnectorTarget = Shapes::StructureShape.new(name: 'SparkConnectorTarget')
1405
1416
  SparkSQL = Shapes::StructureShape.new(name: 'SparkSQL')
@@ -3127,6 +3138,7 @@ module Aws::Glue
3127
3138
  CreateSessionRequest.add_member(:glue_version, Shapes::ShapeRef.new(shape: GlueVersionString, location_name: "GlueVersion"))
3128
3139
  CreateSessionRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "Tags"))
3129
3140
  CreateSessionRequest.add_member(:request_origin, Shapes::ShapeRef.new(shape: OrchestrationNameString, location_name: "RequestOrigin"))
3141
+ CreateSessionRequest.add_member(:session_type, Shapes::ShapeRef.new(shape: SessionType, location_name: "SessionType"))
3130
3142
  CreateSessionRequest.struct_class = Types::CreateSessionRequest
3131
3143
 
3132
3144
  CreateSessionResponse.add_member(:session, Shapes::ShapeRef.new(shape: Session, location_name: "Session"))
@@ -4284,6 +4296,14 @@ module Aws::Glue
4284
4296
  GetCustomEntityTypeResponse.add_member(:context_words, Shapes::ShapeRef.new(shape: ContextWords, location_name: "ContextWords"))
4285
4297
  GetCustomEntityTypeResponse.struct_class = Types::GetCustomEntityTypeResponse
4286
4298
 
4299
+ GetDashboardUrlRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "ResourceId"))
4300
+ GetDashboardUrlRequest.add_member(:resource_type, Shapes::ShapeRef.new(shape: GlueResourceType, required: true, location_name: "ResourceType"))
4301
+ GetDashboardUrlRequest.add_member(:request_origin, Shapes::ShapeRef.new(shape: OrchestrationNameString, location_name: "RequestOrigin"))
4302
+ GetDashboardUrlRequest.struct_class = Types::GetDashboardUrlRequest
4303
+
4304
+ GetDashboardUrlResponse.add_member(:url, Shapes::ShapeRef.new(shape: SensitiveUrl, required: true, location_name: "Url"))
4305
+ GetDashboardUrlResponse.struct_class = Types::GetDashboardUrlResponse
4306
+
4287
4307
  GetDataCatalogEncryptionSettingsRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
4288
4308
  GetDataCatalogEncryptionSettingsRequest.struct_class = Types::GetDataCatalogEncryptionSettingsRequest
4289
4309
 
@@ -4721,6 +4741,12 @@ module Aws::Glue
4721
4741
  GetSecurityConfigurationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: GenericString, location_name: "NextToken"))
4722
4742
  GetSecurityConfigurationsResponse.struct_class = Types::GetSecurityConfigurationsResponse
4723
4743
 
4744
+ GetSessionEndpointRequest.add_member(:session_id, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "SessionId"))
4745
+ GetSessionEndpointRequest.struct_class = Types::GetSessionEndpointRequest
4746
+
4747
+ GetSessionEndpointResponse.add_member(:spark_connect, Shapes::ShapeRef.new(shape: SessionEndpoint, required: true, location_name: "SparkConnect"))
4748
+ GetSessionEndpointResponse.struct_class = Types::GetSessionEndpointResponse
4749
+
4724
4750
  GetSessionRequest.add_member(:id, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Id"))
4725
4751
  GetSessionRequest.add_member(:request_origin, Shapes::ShapeRef.new(shape: OrchestrationNameString, location_name: "RequestOrigin"))
4726
4752
  GetSessionRequest.struct_class = Types::GetSessionRequest
@@ -6852,12 +6878,21 @@ module Aws::Glue
6852
6878
  Session.add_member(:dpu_seconds, Shapes::ShapeRef.new(shape: NullableDouble, location_name: "DPUSeconds"))
6853
6879
  Session.add_member(:idle_timeout, Shapes::ShapeRef.new(shape: IdleTimeout, location_name: "IdleTimeout"))
6854
6880
  Session.add_member(:profile_name, Shapes::ShapeRef.new(shape: NameString, location_name: "ProfileName"))
6881
+ Session.add_member(:session_type, Shapes::ShapeRef.new(shape: SessionType, location_name: "SessionType"))
6855
6882
  Session.struct_class = Types::Session
6856
6883
 
6884
+ SessionBusyException.add_member(:message, Shapes::ShapeRef.new(shape: OrchestrationMessageString, location_name: "Message"))
6885
+ SessionBusyException.struct_class = Types::SessionBusyException
6886
+
6857
6887
  SessionCommand.add_member(:name, Shapes::ShapeRef.new(shape: NameString, location_name: "Name"))
6858
6888
  SessionCommand.add_member(:python_version, Shapes::ShapeRef.new(shape: PythonVersionString, location_name: "PythonVersion"))
6859
6889
  SessionCommand.struct_class = Types::SessionCommand
6860
6890
 
6891
+ SessionEndpoint.add_member(:url, Shapes::ShapeRef.new(shape: SparkConnectEndpointUrl, required: true, location_name: "Url"))
6892
+ SessionEndpoint.add_member(:auth_token, Shapes::ShapeRef.new(shape: SensitiveString, required: true, location_name: "AuthToken"))
6893
+ SessionEndpoint.add_member(:auth_token_expiration_time, Shapes::ShapeRef.new(shape: TimestampValue, required: true, location_name: "AuthTokenExpirationTime"))
6894
+ SessionEndpoint.struct_class = Types::SessionEndpoint
6895
+
6861
6896
  SessionIdList.member = Shapes::ShapeRef.new(shape: NameString)
6862
6897
 
6863
6898
  SessionList.member = Shapes::ShapeRef.new(shape: Session)
@@ -8637,6 +8672,7 @@ module Aws::Glue
8637
8672
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
8638
8673
  o.errors << Shapes::ShapeRef.new(shape: AlreadyExistsException)
8639
8674
  o.errors << Shapes::ShapeRef.new(shape: ResourceNumberLimitExceededException)
8675
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotSupportedException)
8640
8676
  end)
8641
8677
 
8642
8678
  api.add_operation(:create_table, Seahorse::Model::Operation.new.tap do |o|
@@ -9489,6 +9525,19 @@ module Aws::Glue
9489
9525
  o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
9490
9526
  end)
9491
9527
 
9528
+ api.add_operation(:get_dashboard_url, Seahorse::Model::Operation.new.tap do |o|
9529
+ o.name = "GetDashboardUrl"
9530
+ o.http_method = "POST"
9531
+ o.http_request_uri = "/"
9532
+ o.input = Shapes::ShapeRef.new(shape: GetDashboardUrlRequest)
9533
+ o.output = Shapes::ShapeRef.new(shape: GetDashboardUrlResponse)
9534
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
9535
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
9536
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
9537
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotSupportedException)
9538
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
9539
+ end)
9540
+
9492
9541
  api.add_operation(:get_data_catalog_encryption_settings, Seahorse::Model::Operation.new.tap do |o|
9493
9542
  o.name = "GetDataCatalogEncryptionSettings"
9494
9543
  o.http_method = "POST"
@@ -10065,6 +10114,21 @@ module Aws::Glue
10065
10114
  o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
10066
10115
  end)
10067
10116
 
10117
+ api.add_operation(:get_session_endpoint, Seahorse::Model::Operation.new.tap do |o|
10118
+ o.name = "GetSessionEndpoint"
10119
+ o.http_method = "POST"
10120
+ o.http_request_uri = "/"
10121
+ o.input = Shapes::ShapeRef.new(shape: GetSessionEndpointRequest)
10122
+ o.output = Shapes::ShapeRef.new(shape: GetSessionEndpointResponse)
10123
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
10124
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
10125
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
10126
+ o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
10127
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
10128
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotSupportedException)
10129
+ o.errors << Shapes::ShapeRef.new(shape: IllegalSessionStateException)
10130
+ end)
10131
+
10068
10132
  api.add_operation(:get_statement, Seahorse::Model::Operation.new.tap do |o|
10069
10133
  o.name = "GetStatement"
10070
10134
  o.http_method = "POST"
@@ -10982,6 +11046,8 @@ module Aws::Glue
10982
11046
  o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
10983
11047
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
10984
11048
  o.errors << Shapes::ShapeRef.new(shape: ResourceNumberLimitExceededException)
11049
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotSupportedException)
11050
+ o.errors << Shapes::ShapeRef.new(shape: SessionBusyException)
10985
11051
  o.errors << Shapes::ShapeRef.new(shape: IllegalSessionStateException)
10986
11052
  end)
10987
11053
 
@@ -71,6 +71,7 @@ module Aws::Glue
71
71
  # * {SchedulerNotRunningException}
72
72
  # * {SchedulerRunningException}
73
73
  # * {SchedulerTransitioningException}
74
+ # * {SessionBusyException}
74
75
  # * {TargetResourceNotFound}
75
76
  # * {ThrottlingException}
76
77
  # * {ValidationException}
@@ -762,6 +763,21 @@ module Aws::Glue
762
763
  end
763
764
  end
764
765
 
766
+ class SessionBusyException < ServiceError
767
+
768
+ # @param [Seahorse::Client::RequestContext] context
769
+ # @param [String] message
770
+ # @param [Aws::Glue::Types::SessionBusyException] data
771
+ def initialize(context, message, data = Aws::EmptyStructure.new)
772
+ super(context, message, data)
773
+ end
774
+
775
+ # @return [String]
776
+ def message
777
+ @message || @data[:message]
778
+ end
779
+ end
780
+
765
781
  class TargetResourceNotFound < ServiceError
766
782
 
767
783
  # @param [Seahorse::Client::RequestContext] context
@@ -7448,6 +7448,10 @@ module Aws::Glue
7448
7448
  # The origin of the request.
7449
7449
  # @return [String]
7450
7450
  #
7451
+ # @!attribute [rw] session_type
7452
+ # The type of session to create.
7453
+ # @return [String]
7454
+ #
7451
7455
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateSessionRequest AWS API Documentation
7452
7456
  #
7453
7457
  class CreateSessionRequest < Struct.new(
@@ -7465,7 +7469,8 @@ module Aws::Glue
7465
7469
  :security_configuration,
7466
7470
  :glue_version,
7467
7471
  :tags,
7468
- :request_origin)
7472
+ :request_origin,
7473
+ :session_type)
7469
7474
  SENSITIVE = []
7470
7475
  include Aws::Structure
7471
7476
  end
@@ -12784,6 +12789,41 @@ module Aws::Glue
12784
12789
  include Aws::Structure
12785
12790
  end
12786
12791
 
12792
+ # @!attribute [rw] resource_id
12793
+ # The unique identifier of the resource for which to retrieve the
12794
+ # dashboard URL.
12795
+ # @return [String]
12796
+ #
12797
+ # @!attribute [rw] resource_type
12798
+ # The type of the resource. Valid values are `SESSION` and `JOB`.
12799
+ # @return [String]
12800
+ #
12801
+ # @!attribute [rw] request_origin
12802
+ # The origin of the request.
12803
+ # @return [String]
12804
+ #
12805
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDashboardUrlRequest AWS API Documentation
12806
+ #
12807
+ class GetDashboardUrlRequest < Struct.new(
12808
+ :resource_id,
12809
+ :resource_type,
12810
+ :request_origin)
12811
+ SENSITIVE = []
12812
+ include Aws::Structure
12813
+ end
12814
+
12815
+ # @!attribute [rw] url
12816
+ # The URL for the Spark monitoring dashboard.
12817
+ # @return [String]
12818
+ #
12819
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDashboardUrlResponse AWS API Documentation
12820
+ #
12821
+ class GetDashboardUrlResponse < Struct.new(
12822
+ :url)
12823
+ SENSITIVE = [:url]
12824
+ include Aws::Structure
12825
+ end
12826
+
12787
12827
  # @!attribute [rw] catalog_id
12788
12828
  # The ID of the Data Catalog to retrieve the security configuration
12789
12829
  # for. If none is provided, the Amazon Web Services account ID is used
@@ -15016,6 +15056,30 @@ module Aws::Glue
15016
15056
  include Aws::Structure
15017
15057
  end
15018
15058
 
15059
+ # @!attribute [rw] session_id
15060
+ # The unique identifier of the interactive session.
15061
+ # @return [String]
15062
+ #
15063
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSessionEndpointRequest AWS API Documentation
15064
+ #
15065
+ class GetSessionEndpointRequest < Struct.new(
15066
+ :session_id)
15067
+ SENSITIVE = []
15068
+ include Aws::Structure
15069
+ end
15070
+
15071
+ # @!attribute [rw] spark_connect
15072
+ # The Spark Connect endpoint details for the session.
15073
+ # @return [Types::SessionEndpoint]
15074
+ #
15075
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSessionEndpointResponse AWS API Documentation
15076
+ #
15077
+ class GetSessionEndpointResponse < Struct.new(
15078
+ :spark_connect)
15079
+ SENSITIVE = []
15080
+ include Aws::Structure
15081
+ end
15082
+
15019
15083
  # @!attribute [rw] id
15020
15084
  # The ID of the session.
15021
15085
  # @return [String]
@@ -25838,6 +25902,10 @@ module Aws::Glue
25838
25902
  # The name of an Glue usage profile associated with the session.
25839
25903
  # @return [String]
25840
25904
  #
25905
+ # @!attribute [rw] session_type
25906
+ # The type of the session.
25907
+ # @return [String]
25908
+ #
25841
25909
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/Session AWS API Documentation
25842
25910
  #
25843
25911
  class Session < Struct.new(
@@ -25860,7 +25928,23 @@ module Aws::Glue
25860
25928
  :execution_time,
25861
25929
  :dpu_seconds,
25862
25930
  :idle_timeout,
25863
- :profile_name)
25931
+ :profile_name,
25932
+ :session_type)
25933
+ SENSITIVE = []
25934
+ include Aws::Structure
25935
+ end
25936
+
25937
+ # The session is currently busy processing another request and cannot
25938
+ # accept new operations.
25939
+ #
25940
+ # @!attribute [rw] message
25941
+ # A message describing the problem.
25942
+ # @return [String]
25943
+ #
25944
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/SessionBusyException AWS API Documentation
25945
+ #
25946
+ class SessionBusyException < Struct.new(
25947
+ :message)
25864
25948
  SENSITIVE = []
25865
25949
  include Aws::Structure
25866
25950
  end
@@ -25886,6 +25970,32 @@ module Aws::Glue
25886
25970
  include Aws::Structure
25887
25971
  end
25888
25972
 
25973
+ # Contains the Spark Connect endpoint details for an interactive
25974
+ # session, including the URL and authentication credentials.
25975
+ #
25976
+ # @!attribute [rw] url
25977
+ # The Spark Connect endpoint URL for the session.
25978
+ # @return [String]
25979
+ #
25980
+ # @!attribute [rw] auth_token
25981
+ # The authentication token to include in requests to the Spark Connect
25982
+ # endpoint.
25983
+ # @return [String]
25984
+ #
25985
+ # @!attribute [rw] auth_token_expiration_time
25986
+ # The time at which the authentication token expires.
25987
+ # @return [Time]
25988
+ #
25989
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/SessionEndpoint AWS API Documentation
25990
+ #
25991
+ class SessionEndpoint < Struct.new(
25992
+ :url,
25993
+ :auth_token,
25994
+ :auth_token_expiration_time)
25995
+ SENSITIVE = [:auth_token]
25996
+ include Aws::Structure
25997
+ end
25998
+
25889
25999
  # Specifies skewed values in a table. Skewed values are those that occur
25890
26000
  # with very high frequency.
25891
26001
  #
data/lib/aws-sdk-glue.rb CHANGED
@@ -54,7 +54,7 @@ module Aws::Glue
54
54
  autoload :EndpointProvider, 'aws-sdk-glue/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-glue/endpoints'
56
56
 
57
- GEM_VERSION = '1.259.0'
57
+ GEM_VERSION = '1.260.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -934,7 +934,8 @@ module Aws
934
934
  ?security_configuration: ::String,
935
935
  ?glue_version: ::String,
936
936
  ?tags: Hash[::String, ::String],
937
- ?request_origin: ::String
937
+ ?request_origin: ::String,
938
+ ?session_type: ("LIVY" | "SPARK_CONNECT")
938
939
  ) -> _CreateSessionResponseSuccess
939
940
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateSessionResponseSuccess
940
941
 
@@ -1724,6 +1725,18 @@ module Aws
1724
1725
  ) -> _GetCustomEntityTypeResponseSuccess
1725
1726
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCustomEntityTypeResponseSuccess
1726
1727
 
1728
+ interface _GetDashboardUrlResponseSuccess
1729
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetDashboardUrlResponse]
1730
+ def url: () -> ::String
1731
+ end
1732
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glue/Client.html#get_dashboard_url-instance_method
1733
+ def get_dashboard_url: (
1734
+ resource_id: ::String,
1735
+ resource_type: ("JOB" | "SESSION"),
1736
+ ?request_origin: ::String
1737
+ ) -> _GetDashboardUrlResponseSuccess
1738
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDashboardUrlResponseSuccess
1739
+
1727
1740
  interface _GetDataCatalogEncryptionSettingsResponseSuccess
1728
1741
  include ::Seahorse::Client::_ResponseSuccess[Types::GetDataCatalogEncryptionSettingsResponse]
1729
1742
  def data_catalog_encryption_settings: () -> Types::DataCatalogEncryptionSettings
@@ -2405,6 +2418,16 @@ module Aws
2405
2418
  ) -> _GetSessionResponseSuccess
2406
2419
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSessionResponseSuccess
2407
2420
 
2421
+ interface _GetSessionEndpointResponseSuccess
2422
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetSessionEndpointResponse]
2423
+ def spark_connect: () -> Types::SessionEndpoint
2424
+ end
2425
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glue/Client.html#get_session_endpoint-instance_method
2426
+ def get_session_endpoint: (
2427
+ session_id: ::String
2428
+ ) -> _GetSessionEndpointResponseSuccess
2429
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSessionEndpointResponseSuccess
2430
+
2408
2431
  interface _GetStatementResponseSuccess
2409
2432
  include ::Seahorse::Client::_ResponseSuccess[Types::GetStatementResponse]
2410
2433
  def statement: () -> Types::Statement
data/sig/errors.rbs CHANGED
@@ -147,6 +147,9 @@ module Aws
147
147
  class SchedulerTransitioningException < ::Aws::Errors::ServiceError
148
148
  def message: () -> ::String
149
149
  end
150
+ class SessionBusyException < ::Aws::Errors::ServiceError
151
+ def message: () -> ::String
152
+ end
150
153
  class TargetResourceNotFound < ::Aws::Errors::ServiceError
151
154
  def message: () -> ::String
152
155
  end
data/sig/types.rbs CHANGED
@@ -1675,6 +1675,7 @@ module Aws::Glue
1675
1675
  attr_accessor glue_version: ::String
1676
1676
  attr_accessor tags: ::Hash[::String, ::String]
1677
1677
  attr_accessor request_origin: ::String
1678
+ attr_accessor session_type: ("LIVY" | "SPARK_CONNECT")
1678
1679
  SENSITIVE: []
1679
1680
  end
1680
1681
 
@@ -3136,6 +3137,18 @@ module Aws::Glue
3136
3137
  SENSITIVE: []
3137
3138
  end
3138
3139
 
3140
+ class GetDashboardUrlRequest
3141
+ attr_accessor resource_id: ::String
3142
+ attr_accessor resource_type: ("JOB" | "SESSION")
3143
+ attr_accessor request_origin: ::String
3144
+ SENSITIVE: []
3145
+ end
3146
+
3147
+ class GetDashboardUrlResponse
3148
+ attr_accessor url: ::String
3149
+ SENSITIVE: [:url]
3150
+ end
3151
+
3139
3152
  class GetDataCatalogEncryptionSettingsRequest
3140
3153
  attr_accessor catalog_id: ::String
3141
3154
  SENSITIVE: []
@@ -3730,6 +3743,16 @@ module Aws::Glue
3730
3743
  SENSITIVE: []
3731
3744
  end
3732
3745
 
3746
+ class GetSessionEndpointRequest
3747
+ attr_accessor session_id: ::String
3748
+ SENSITIVE: []
3749
+ end
3750
+
3751
+ class GetSessionEndpointResponse
3752
+ attr_accessor spark_connect: Types::SessionEndpoint
3753
+ SENSITIVE: []
3754
+ end
3755
+
3733
3756
  class GetSessionRequest
3734
3757
  attr_accessor id: ::String
3735
3758
  attr_accessor request_origin: ::String
@@ -6291,6 +6314,12 @@ module Aws::Glue
6291
6314
  attr_accessor dpu_seconds: ::Float
6292
6315
  attr_accessor idle_timeout: ::Integer
6293
6316
  attr_accessor profile_name: ::String
6317
+ attr_accessor session_type: ("LIVY" | "SPARK_CONNECT")
6318
+ SENSITIVE: []
6319
+ end
6320
+
6321
+ class SessionBusyException
6322
+ attr_accessor message: ::String
6294
6323
  SENSITIVE: []
6295
6324
  end
6296
6325
 
@@ -6300,6 +6329,13 @@ module Aws::Glue
6300
6329
  SENSITIVE: []
6301
6330
  end
6302
6331
 
6332
+ class SessionEndpoint
6333
+ attr_accessor url: ::String
6334
+ attr_accessor auth_token: ::String
6335
+ attr_accessor auth_token_expiration_time: ::Time
6336
+ SENSITIVE: [:auth_token]
6337
+ end
6338
+
6303
6339
  class SkewedInfo
6304
6340
  attr_accessor skewed_column_names: ::Array[::String]
6305
6341
  attr_accessor skewed_column_values: ::Array[::String]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-glue
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.259.0
4
+ version: 1.260.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services