aws-sdk-athena 1.112.0 → 1.113.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: 93237912b655b4bd4a2372d82ff75f6b3313cb66b3e7b0f5ce34ad49a9610ceb
4
- data.tar.gz: 02dffa93ba13be7d9a72473e6623c7f2360d19f43f3b605a271637b1a1aa5cc4
3
+ metadata.gz: ca688c6bdfb9ca90ad19ab39d0f861d7a93c36e19adb473590ade023131f9200
4
+ data.tar.gz: a323855833151da75f396ef701a2486102b8bd3a9d9765e4956baff7ddfb4898
5
5
  SHA512:
6
- metadata.gz: b4f08359c9be81268930aa56bb59d87509512c774d91d9344912564ff7b55232ecf79f30c5de83db2d2d0bfa061cd32d50f5bd4d325ab0c8c367c0ac5c96d00d
7
- data.tar.gz: 7f9808f284252fff9814040c44afd322589e01388c8af7cdeb0450ef3e2714658429c50ec22e85dab463a9f44404d92ca22cb90e9ff49beb54ddae100b1194e8
6
+ metadata.gz: 47fb7c686a1919ac83412f0f1f3379554c50a5db6d30f32d5ac51f7fd9bf938956ef75e2112fb8a9cc07f36877cc9729c30c4422494b9266e679dac2e00ce57f
7
+ data.tar.gz: 7d995620098b251418999c9e0d45a9a64211f96d650c028c804f4b3075194c3314d5ceb0066f23bc1aa6e8db958512a3c0624313f76e739844453d66f7b874b6
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.113.0 (2025-11-21)
5
+ ------------------
6
+
7
+ * Feature - Introduces Spark workgroup features including log persistence, S3/CloudWatch delivery, UI and History Server APIs, and SparkConnect 3.5.6 support. Adds DPU usage limits at workgroup and query levels as well as DPU usage tracking for Capacity Reservation queries to optimize performance and costs.
8
+
4
9
  1.112.0 (2025-10-27)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.112.0
1
+ 1.113.0
@@ -634,6 +634,7 @@ module Aws::Athena
634
634
  # resp.query_executions[0].statistics.query_planning_time_in_millis #=> Integer
635
635
  # resp.query_executions[0].statistics.service_processing_time_in_millis #=> Integer
636
636
  # resp.query_executions[0].statistics.result_reuse_information.reused_previous_result #=> Boolean
637
+ # resp.query_executions[0].statistics.dpu_count #=> Float
637
638
  # resp.query_executions[0].work_group #=> String
638
639
  # resp.query_executions[0].engine_version.selected_engine_version #=> String
639
640
  # resp.query_executions[0].engine_version.effective_engine_version #=> String
@@ -1116,6 +1117,44 @@ module Aws::Athena
1116
1117
  # },
1117
1118
  # additional_configuration: "NameString",
1118
1119
  # execution_role: "RoleArn",
1120
+ # monitoring_configuration: {
1121
+ # cloud_watch_logging_configuration: {
1122
+ # enabled: false, # required
1123
+ # log_group: "LogGroupName",
1124
+ # log_stream_name_prefix: "LogStreamNamePrefix",
1125
+ # log_types: {
1126
+ # "LogTypeKey" => ["LogTypeValue"],
1127
+ # },
1128
+ # },
1129
+ # managed_logging_configuration: {
1130
+ # enabled: false, # required
1131
+ # kms_key: "KmsKey",
1132
+ # },
1133
+ # s3_logging_configuration: {
1134
+ # enabled: false, # required
1135
+ # kms_key: "KmsKey",
1136
+ # log_location: "S3OutputLocation",
1137
+ # },
1138
+ # },
1139
+ # engine_configuration: {
1140
+ # coordinator_dpu_size: 1,
1141
+ # max_concurrent_dpus: 1,
1142
+ # default_executor_dpu_size: 1,
1143
+ # additional_configs: {
1144
+ # "KeyString" => "ParametersMapValue",
1145
+ # },
1146
+ # spark_properties: {
1147
+ # "KeyString" => "ParametersMapValue",
1148
+ # },
1149
+ # classifications: [
1150
+ # {
1151
+ # name: "NameString",
1152
+ # properties: {
1153
+ # "KeyString" => "ParametersMapValue",
1154
+ # },
1155
+ # },
1156
+ # ],
1157
+ # },
1119
1158
  # customer_content_encryption_configuration: {
1120
1159
  # kms_key: "KmsKey", # required
1121
1160
  # },
@@ -1771,6 +1810,7 @@ module Aws::Athena
1771
1810
  # resp.query_execution.statistics.query_planning_time_in_millis #=> Integer
1772
1811
  # resp.query_execution.statistics.service_processing_time_in_millis #=> Integer
1773
1812
  # resp.query_execution.statistics.result_reuse_information.reused_previous_result #=> Boolean
1813
+ # resp.query_execution.statistics.dpu_count #=> Float
1774
1814
  # resp.query_execution.work_group #=> String
1775
1815
  # resp.query_execution.engine_version.selected_engine_version #=> String
1776
1816
  # resp.query_execution.engine_version.effective_engine_version #=> String
@@ -1882,8 +1922,9 @@ module Aws::Athena
1882
1922
  # SUCCEEDED or FAILED state. The remaining non-timeline statistics in
1883
1923
  # the response (like stage-level input and output row count and data
1884
1924
  # size) are updated asynchronously and may not be available immediately
1885
- # after a query completes. The non-timeline statistics are also not
1886
- # included when a query has row-level filters defined in Lake Formation.
1925
+ # after a query completes or, in some cases, may not be returned. The
1926
+ # non-timeline statistics are also not included when a query has
1927
+ # row-level filters defined in Lake Formation.
1887
1928
  #
1888
1929
  # @option params [required, String] :query_execution_id
1889
1930
  # The unique ID of the query execution.
@@ -1935,6 +1976,34 @@ module Aws::Athena
1935
1976
  req.send_request(options)
1936
1977
  end
1937
1978
 
1979
+ # Gets the Live UI/Persistence UI for a session.
1980
+ #
1981
+ # @option params [required, String] :resource_arn
1982
+ # The The Amazon Resource Name (ARN) for a session.
1983
+ #
1984
+ # @return [Types::GetResourceDashboardResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1985
+ #
1986
+ # * {Types::GetResourceDashboardResponse#url #url} => String
1987
+ #
1988
+ # @example Request syntax with placeholder values
1989
+ #
1990
+ # resp = client.get_resource_dashboard({
1991
+ # resource_arn: "AmazonResourceName", # required
1992
+ # })
1993
+ #
1994
+ # @example Response structure
1995
+ #
1996
+ # resp.url #=> String
1997
+ #
1998
+ # @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/GetResourceDashboard AWS API Documentation
1999
+ #
2000
+ # @overload get_resource_dashboard(params = {})
2001
+ # @param [Hash] params ({})
2002
+ def get_resource_dashboard(params = {}, options = {})
2003
+ req = build_request(:get_resource_dashboard, params)
2004
+ req.send_request(options)
2005
+ end
2006
+
1938
2007
  # Gets the full details of a previously created session, including the
1939
2008
  # session status and configuration.
1940
2009
  #
@@ -1949,6 +2018,7 @@ module Aws::Athena
1949
2018
  # * {Types::GetSessionResponse#engine_version #engine_version} => String
1950
2019
  # * {Types::GetSessionResponse#engine_configuration #engine_configuration} => Types::EngineConfiguration
1951
2020
  # * {Types::GetSessionResponse#notebook_version #notebook_version} => String
2021
+ # * {Types::GetSessionResponse#monitoring_configuration #monitoring_configuration} => Types::MonitoringConfiguration
1952
2022
  # * {Types::GetSessionResponse#session_configuration #session_configuration} => Types::SessionConfiguration
1953
2023
  # * {Types::GetSessionResponse#status #status} => Types::SessionStatus
1954
2024
  # * {Types::GetSessionResponse#statistics #statistics} => Types::SessionStatistics
@@ -1972,10 +2042,26 @@ module Aws::Athena
1972
2042
  # resp.engine_configuration.additional_configs["KeyString"] #=> String
1973
2043
  # resp.engine_configuration.spark_properties #=> Hash
1974
2044
  # resp.engine_configuration.spark_properties["KeyString"] #=> String
2045
+ # resp.engine_configuration.classifications #=> Array
2046
+ # resp.engine_configuration.classifications[0].name #=> String
2047
+ # resp.engine_configuration.classifications[0].properties #=> Hash
2048
+ # resp.engine_configuration.classifications[0].properties["KeyString"] #=> String
1975
2049
  # resp.notebook_version #=> String
2050
+ # resp.monitoring_configuration.cloud_watch_logging_configuration.enabled #=> Boolean
2051
+ # resp.monitoring_configuration.cloud_watch_logging_configuration.log_group #=> String
2052
+ # resp.monitoring_configuration.cloud_watch_logging_configuration.log_stream_name_prefix #=> String
2053
+ # resp.monitoring_configuration.cloud_watch_logging_configuration.log_types #=> Hash
2054
+ # resp.monitoring_configuration.cloud_watch_logging_configuration.log_types["LogTypeKey"] #=> Array
2055
+ # resp.monitoring_configuration.cloud_watch_logging_configuration.log_types["LogTypeKey"][0] #=> String
2056
+ # resp.monitoring_configuration.managed_logging_configuration.enabled #=> Boolean
2057
+ # resp.monitoring_configuration.managed_logging_configuration.kms_key #=> String
2058
+ # resp.monitoring_configuration.s3_logging_configuration.enabled #=> Boolean
2059
+ # resp.monitoring_configuration.s3_logging_configuration.kms_key #=> String
2060
+ # resp.monitoring_configuration.s3_logging_configuration.log_location #=> String
1976
2061
  # resp.session_configuration.execution_role #=> String
1977
2062
  # resp.session_configuration.working_directory #=> String
1978
2063
  # resp.session_configuration.idle_timeout_seconds #=> Integer
2064
+ # resp.session_configuration.session_idle_timeout_in_minutes #=> Integer
1979
2065
  # resp.session_configuration.encryption_configuration.encryption_option #=> String, one of "SSE_S3", "SSE_KMS", "CSE_KMS"
1980
2066
  # resp.session_configuration.encryption_configuration.kms_key #=> String
1981
2067
  # resp.status.start_date_time #=> Time
@@ -1995,6 +2081,39 @@ module Aws::Athena
1995
2081
  req.send_request(options)
1996
2082
  end
1997
2083
 
2084
+ # Gets a connection endpoint and authentication token for a given
2085
+ # session Id.
2086
+ #
2087
+ # @option params [required, String] :session_id
2088
+ # The session ID.
2089
+ #
2090
+ # @return [Types::GetSessionEndpointResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2091
+ #
2092
+ # * {Types::GetSessionEndpointResponse#endpoint_url #endpoint_url} => String
2093
+ # * {Types::GetSessionEndpointResponse#auth_token #auth_token} => String
2094
+ # * {Types::GetSessionEndpointResponse#auth_token_expiration_time #auth_token_expiration_time} => Time
2095
+ #
2096
+ # @example Request syntax with placeholder values
2097
+ #
2098
+ # resp = client.get_session_endpoint({
2099
+ # session_id: "SessionId", # required
2100
+ # })
2101
+ #
2102
+ # @example Response structure
2103
+ #
2104
+ # resp.endpoint_url #=> String
2105
+ # resp.auth_token #=> String
2106
+ # resp.auth_token_expiration_time #=> Time
2107
+ #
2108
+ # @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/GetSessionEndpoint AWS API Documentation
2109
+ #
2110
+ # @overload get_session_endpoint(params = {})
2111
+ # @param [Hash] params ({})
2112
+ def get_session_endpoint(params = {}, options = {})
2113
+ req = build_request(:get_session_endpoint, params)
2114
+ req.send_request(options)
2115
+ end
2116
+
1998
2117
  # Gets the current status of a session.
1999
2118
  #
2000
2119
  # @option params [required, String] :session_id
@@ -2120,6 +2239,28 @@ module Aws::Athena
2120
2239
  # resp.work_group.configuration.engine_version.effective_engine_version #=> String
2121
2240
  # resp.work_group.configuration.additional_configuration #=> String
2122
2241
  # resp.work_group.configuration.execution_role #=> String
2242
+ # resp.work_group.configuration.monitoring_configuration.cloud_watch_logging_configuration.enabled #=> Boolean
2243
+ # resp.work_group.configuration.monitoring_configuration.cloud_watch_logging_configuration.log_group #=> String
2244
+ # resp.work_group.configuration.monitoring_configuration.cloud_watch_logging_configuration.log_stream_name_prefix #=> String
2245
+ # resp.work_group.configuration.monitoring_configuration.cloud_watch_logging_configuration.log_types #=> Hash
2246
+ # resp.work_group.configuration.monitoring_configuration.cloud_watch_logging_configuration.log_types["LogTypeKey"] #=> Array
2247
+ # resp.work_group.configuration.monitoring_configuration.cloud_watch_logging_configuration.log_types["LogTypeKey"][0] #=> String
2248
+ # resp.work_group.configuration.monitoring_configuration.managed_logging_configuration.enabled #=> Boolean
2249
+ # resp.work_group.configuration.monitoring_configuration.managed_logging_configuration.kms_key #=> String
2250
+ # resp.work_group.configuration.monitoring_configuration.s3_logging_configuration.enabled #=> Boolean
2251
+ # resp.work_group.configuration.monitoring_configuration.s3_logging_configuration.kms_key #=> String
2252
+ # resp.work_group.configuration.monitoring_configuration.s3_logging_configuration.log_location #=> String
2253
+ # resp.work_group.configuration.engine_configuration.coordinator_dpu_size #=> Integer
2254
+ # resp.work_group.configuration.engine_configuration.max_concurrent_dpus #=> Integer
2255
+ # resp.work_group.configuration.engine_configuration.default_executor_dpu_size #=> Integer
2256
+ # resp.work_group.configuration.engine_configuration.additional_configs #=> Hash
2257
+ # resp.work_group.configuration.engine_configuration.additional_configs["KeyString"] #=> String
2258
+ # resp.work_group.configuration.engine_configuration.spark_properties #=> Hash
2259
+ # resp.work_group.configuration.engine_configuration.spark_properties["KeyString"] #=> String
2260
+ # resp.work_group.configuration.engine_configuration.classifications #=> Array
2261
+ # resp.work_group.configuration.engine_configuration.classifications[0].name #=> String
2262
+ # resp.work_group.configuration.engine_configuration.classifications[0].properties #=> Hash
2263
+ # resp.work_group.configuration.engine_configuration.classifications[0].properties["KeyString"] #=> String
2123
2264
  # resp.work_group.configuration.customer_content_encryption_configuration.kms_key #=> String
2124
2265
  # resp.work_group.configuration.enable_minimum_encryption_configuration #=> Boolean
2125
2266
  # resp.work_group.configuration.identity_center_configuration.enable_identity_center #=> Boolean
@@ -3230,6 +3371,10 @@ module Aws::Athena
3230
3371
  # @option params [Types::ResultReuseConfiguration] :result_reuse_configuration
3231
3372
  # Specifies the query result reuse behavior for the query.
3232
3373
  #
3374
+ # @option params [Types::EngineConfiguration] :engine_configuration
3375
+ # Contains data processing unit (DPU) configuration settings and
3376
+ # parameter mappings for a notebook engine.
3377
+ #
3233
3378
  # @return [Types::StartQueryExecutionOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3234
3379
  #
3235
3380
  # * {Types::StartQueryExecutionOutput#query_execution_id #query_execution_id} => String
@@ -3262,6 +3407,25 @@ module Aws::Athena
3262
3407
  # max_age_in_minutes: 1,
3263
3408
  # },
3264
3409
  # },
3410
+ # engine_configuration: {
3411
+ # coordinator_dpu_size: 1,
3412
+ # max_concurrent_dpus: 1,
3413
+ # default_executor_dpu_size: 1,
3414
+ # additional_configs: {
3415
+ # "KeyString" => "ParametersMapValue",
3416
+ # },
3417
+ # spark_properties: {
3418
+ # "KeyString" => "ParametersMapValue",
3419
+ # },
3420
+ # classifications: [
3421
+ # {
3422
+ # name: "NameString",
3423
+ # properties: {
3424
+ # "KeyString" => "ParametersMapValue",
3425
+ # },
3426
+ # },
3427
+ # ],
3428
+ # },
3265
3429
  # })
3266
3430
  #
3267
3431
  # @example Response structure
@@ -3290,6 +3454,17 @@ module Aws::Athena
3290
3454
  # Contains engine data processing unit (DPU) configuration settings and
3291
3455
  # parameter mappings.
3292
3456
  #
3457
+ # @option params [String] :execution_role
3458
+ # The ARN of the execution role used to access user resources for Spark
3459
+ # sessions and Identity Center enabled workgroups. This property applies
3460
+ # only to Spark enabled workgroups and Identity Center enabled
3461
+ # workgroups.
3462
+ #
3463
+ # @option params [Types::MonitoringConfiguration] :monitoring_configuration
3464
+ # Contains the configuration settings for managed log persistence,
3465
+ # delivering logs to Amazon S3 buckets, Amazon CloudWatch log groups
3466
+ # etc.
3467
+ #
3293
3468
  # @option params [String] :notebook_version
3294
3469
  # The notebook version. This value is supplied automatically for
3295
3470
  # notebook sessions in the Athena console and is not required for
@@ -3314,6 +3489,12 @@ module Aws::Athena
3314
3489
  # the Amazon Web Services CLI, you must provide this token or the action
3315
3490
  # will fail.
3316
3491
  #
3492
+ # @option params [Array<Types::Tag>] :tags
3493
+ # A list of comma separated tags to add to the session that is created.
3494
+ #
3495
+ # @option params [Boolean] :copy_work_group_tags
3496
+ # Copies the tags from the Workgroup to the Session when.
3497
+ #
3317
3498
  # @return [Types::StartSessionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3318
3499
  #
3319
3500
  # * {Types::StartSessionResponse#session_id #session_id} => String
@@ -3326,7 +3507,7 @@ module Aws::Athena
3326
3507
  # work_group: "WorkGroupName", # required
3327
3508
  # engine_configuration: { # required
3328
3509
  # coordinator_dpu_size: 1,
3329
- # max_concurrent_dpus: 1, # required
3510
+ # max_concurrent_dpus: 1,
3330
3511
  # default_executor_dpu_size: 1,
3331
3512
  # additional_configs: {
3332
3513
  # "KeyString" => "ParametersMapValue",
@@ -3334,10 +3515,45 @@ module Aws::Athena
3334
3515
  # spark_properties: {
3335
3516
  # "KeyString" => "ParametersMapValue",
3336
3517
  # },
3518
+ # classifications: [
3519
+ # {
3520
+ # name: "NameString",
3521
+ # properties: {
3522
+ # "KeyString" => "ParametersMapValue",
3523
+ # },
3524
+ # },
3525
+ # ],
3526
+ # },
3527
+ # execution_role: "RoleArn",
3528
+ # monitoring_configuration: {
3529
+ # cloud_watch_logging_configuration: {
3530
+ # enabled: false, # required
3531
+ # log_group: "LogGroupName",
3532
+ # log_stream_name_prefix: "LogStreamNamePrefix",
3533
+ # log_types: {
3534
+ # "LogTypeKey" => ["LogTypeValue"],
3535
+ # },
3536
+ # },
3537
+ # managed_logging_configuration: {
3538
+ # enabled: false, # required
3539
+ # kms_key: "KmsKey",
3540
+ # },
3541
+ # s3_logging_configuration: {
3542
+ # enabled: false, # required
3543
+ # kms_key: "KmsKey",
3544
+ # log_location: "S3OutputLocation",
3545
+ # },
3337
3546
  # },
3338
3547
  # notebook_version: "NameString",
3339
3548
  # session_idle_timeout_in_minutes: 1,
3340
3549
  # client_request_token: "IdempotencyToken",
3550
+ # tags: [
3551
+ # {
3552
+ # key: "TagKey",
3553
+ # value: "TagValue",
3554
+ # },
3555
+ # ],
3556
+ # copy_work_group_tags: false,
3341
3557
  # })
3342
3558
  #
3343
3559
  # @example Response structure
@@ -3837,6 +4053,44 @@ module Aws::Athena
3837
4053
  # create_user_level_prefix: false,
3838
4054
  # authentication_type: "DIRECTORY_IDENTITY", # required, accepts DIRECTORY_IDENTITY
3839
4055
  # },
4056
+ # monitoring_configuration: {
4057
+ # cloud_watch_logging_configuration: {
4058
+ # enabled: false, # required
4059
+ # log_group: "LogGroupName",
4060
+ # log_stream_name_prefix: "LogStreamNamePrefix",
4061
+ # log_types: {
4062
+ # "LogTypeKey" => ["LogTypeValue"],
4063
+ # },
4064
+ # },
4065
+ # managed_logging_configuration: {
4066
+ # enabled: false, # required
4067
+ # kms_key: "KmsKey",
4068
+ # },
4069
+ # s3_logging_configuration: {
4070
+ # enabled: false, # required
4071
+ # kms_key: "KmsKey",
4072
+ # log_location: "S3OutputLocation",
4073
+ # },
4074
+ # },
4075
+ # engine_configuration: {
4076
+ # coordinator_dpu_size: 1,
4077
+ # max_concurrent_dpus: 1,
4078
+ # default_executor_dpu_size: 1,
4079
+ # additional_configs: {
4080
+ # "KeyString" => "ParametersMapValue",
4081
+ # },
4082
+ # spark_properties: {
4083
+ # "KeyString" => "ParametersMapValue",
4084
+ # },
4085
+ # classifications: [
4086
+ # {
4087
+ # name: "NameString",
4088
+ # properties: {
4089
+ # "KeyString" => "ParametersMapValue",
4090
+ # },
4091
+ # },
4092
+ # ],
4093
+ # },
3840
4094
  # },
3841
4095
  # state: "ENABLED", # accepts ENABLED, DISABLED
3842
4096
  # })
@@ -3868,7 +4122,7 @@ module Aws::Athena
3868
4122
  tracer: tracer
3869
4123
  )
3870
4124
  context[:gem_name] = 'aws-sdk-athena'
3871
- context[:gem_version] = '1.112.0'
4125
+ context[:gem_version] = '1.113.0'
3872
4126
  Seahorse::Client::Request.new(handlers, context)
3873
4127
  end
3874
4128