aws-sdk-athena 1.130.0 → 1.132.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/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-athena/client.rb +229 -1
- data/lib/aws-sdk-athena/client_api.rb +130 -0
- data/lib/aws-sdk-athena/types.rb +246 -1
- data/lib/aws-sdk-athena.rb +1 -1
- data/sig/client.rbs +76 -1
- data/sig/types.rbs +70 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 24d63a27994bcfe542739ca0ca4e92ff0874a0d558d171426f11570979483fde
|
|
4
|
+
data.tar.gz: 567299c215a4e38666e056cd369efdf0e3a695ddca8f97ad98265f5607cacc48
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ab637f3696f195ff603d5c560cef4b45d143de326156fd4f9db6470072413a044043b1b0d14bc915cc65acf4884c454fdb40483882e4be30b85ecd7a177e2c4e
|
|
7
|
+
data.tar.gz: f620ade54cdd9a1b69e000b6428b2410a9cb9219867de050a8c486e805671df25683bc9240221e6b7b37def3a604c6d811bb206da5101113b173b8f7cb553afa
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.132.0 (2026-11-06)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Added support for Athena System Tables which writes Athena usage data to AWS S3 managed tables in Apache Iceberg format. Adds CreateSystemTableConfiguration, UpdateSystemTableConfiguration, DeleteSystemTableConfiguration, GetSystemTableConfiguration, and ListSystemTableStatuses.
|
|
8
|
+
|
|
9
|
+
1.131.0 (2026-11-04)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
13
|
+
|
|
4
14
|
1.130.0 (2026-10-29)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.132.0
|
|
@@ -1063,6 +1063,70 @@ module Aws::Athena
|
|
|
1063
1063
|
req.send_request(options)
|
|
1064
1064
|
end
|
|
1065
1065
|
|
|
1066
|
+
# Enables system tables for the current account. System tables are
|
|
1067
|
+
# enabled or disabled for the entire account: creating this
|
|
1068
|
+
# configuration enables them. If a configuration already exists, use
|
|
1069
|
+
# UpdateSystemTableConfiguration to update it.
|
|
1070
|
+
#
|
|
1071
|
+
# @option params [String] :client_request_token
|
|
1072
|
+
# A unique case-sensitive string used to ensure the request to create
|
|
1073
|
+
# the system table configuration is idempotent (executes only once). If
|
|
1074
|
+
# another `CreateSystemTableConfiguration` request is received with the
|
|
1075
|
+
# same client token but different parameters, the request fails with an
|
|
1076
|
+
# `InvalidRequestException`.
|
|
1077
|
+
#
|
|
1078
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
1079
|
+
# not need to pass this option.**
|
|
1080
|
+
#
|
|
1081
|
+
# @option params [required, String] :table_name
|
|
1082
|
+
# The system table configuration to create. The only accepted value is
|
|
1083
|
+
# `ALL`, the reserved keyword that enables all system tables for the
|
|
1084
|
+
# account.
|
|
1085
|
+
#
|
|
1086
|
+
# @option params [String] :kms_key_arn
|
|
1087
|
+
# The Amazon Resource Name (ARN) of the AWS Key Management Service (AWS
|
|
1088
|
+
# KMS) key to use for encrypting the system table data.
|
|
1089
|
+
#
|
|
1090
|
+
# @option params [Array<Types::Tag>] :tags
|
|
1091
|
+
# The tags to add to the system table configuration.
|
|
1092
|
+
#
|
|
1093
|
+
# @return [Types::CreateSystemTableConfigurationOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1094
|
+
#
|
|
1095
|
+
# * {Types::CreateSystemTableConfigurationOutput#table_name #table_name} => String
|
|
1096
|
+
# * {Types::CreateSystemTableConfigurationOutput#kms_key_arn #kms_key_arn} => String
|
|
1097
|
+
# * {Types::CreateSystemTableConfigurationOutput#created_at #created_at} => Time
|
|
1098
|
+
# * {Types::CreateSystemTableConfigurationOutput#last_modified_at #last_modified_at} => Time
|
|
1099
|
+
#
|
|
1100
|
+
# @example Request syntax with placeholder values
|
|
1101
|
+
#
|
|
1102
|
+
# resp = client.create_system_table_configuration({
|
|
1103
|
+
# client_request_token: "IdempotencyToken",
|
|
1104
|
+
# table_name: "ALL", # required, accepts ALL
|
|
1105
|
+
# kms_key_arn: "KmsKeyArn",
|
|
1106
|
+
# tags: [
|
|
1107
|
+
# {
|
|
1108
|
+
# key: "TagKey",
|
|
1109
|
+
# value: "TagValue",
|
|
1110
|
+
# },
|
|
1111
|
+
# ],
|
|
1112
|
+
# })
|
|
1113
|
+
#
|
|
1114
|
+
# @example Response structure
|
|
1115
|
+
#
|
|
1116
|
+
# resp.table_name #=> String, one of "ALL"
|
|
1117
|
+
# resp.kms_key_arn #=> String
|
|
1118
|
+
# resp.created_at #=> Time
|
|
1119
|
+
# resp.last_modified_at #=> Time
|
|
1120
|
+
#
|
|
1121
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/CreateSystemTableConfiguration AWS API Documentation
|
|
1122
|
+
#
|
|
1123
|
+
# @overload create_system_table_configuration(params = {})
|
|
1124
|
+
# @param [Hash] params ({})
|
|
1125
|
+
def create_system_table_configuration(params = {}, options = {})
|
|
1126
|
+
req = build_request(:create_system_table_configuration, params)
|
|
1127
|
+
req.send_request(options)
|
|
1128
|
+
end
|
|
1129
|
+
|
|
1066
1130
|
# Creates a workgroup with the specified name. A workgroup can be an
|
|
1067
1131
|
# Apache Spark enabled workgroup or an Athena SQL workgroup.
|
|
1068
1132
|
#
|
|
@@ -1173,6 +1237,12 @@ module Aws::Athena
|
|
|
1173
1237
|
# create_user_level_prefix: false,
|
|
1174
1238
|
# authentication_type: "DIRECTORY_IDENTITY", # required, accepts DIRECTORY_IDENTITY
|
|
1175
1239
|
# },
|
|
1240
|
+
# system_table_statuses: [
|
|
1241
|
+
# {
|
|
1242
|
+
# table_name: "QUERY_EXECUTIONS", # required, accepts QUERY_EXECUTIONS
|
|
1243
|
+
# enabled: false, # required
|
|
1244
|
+
# },
|
|
1245
|
+
# ],
|
|
1176
1246
|
# },
|
|
1177
1247
|
# description: "WorkGroupDescriptionString",
|
|
1178
1248
|
# tags: [
|
|
@@ -1336,6 +1406,32 @@ module Aws::Athena
|
|
|
1336
1406
|
req.send_request(options)
|
|
1337
1407
|
end
|
|
1338
1408
|
|
|
1409
|
+
# Disables system tables for the current account by deleting the
|
|
1410
|
+
# account-level configuration. If the configuration doesn't exist, the
|
|
1411
|
+
# operation succeeds without making any changes. The system table and
|
|
1412
|
+
# previously published data are left intact.
|
|
1413
|
+
#
|
|
1414
|
+
# @option params [required, String] :table_name
|
|
1415
|
+
# The system table configuration to delete. The only accepted value is
|
|
1416
|
+
# `ALL`.
|
|
1417
|
+
#
|
|
1418
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
1419
|
+
#
|
|
1420
|
+
# @example Request syntax with placeholder values
|
|
1421
|
+
#
|
|
1422
|
+
# resp = client.delete_system_table_configuration({
|
|
1423
|
+
# table_name: "ALL", # required, accepts ALL
|
|
1424
|
+
# })
|
|
1425
|
+
#
|
|
1426
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/DeleteSystemTableConfiguration AWS API Documentation
|
|
1427
|
+
#
|
|
1428
|
+
# @overload delete_system_table_configuration(params = {})
|
|
1429
|
+
# @param [Hash] params ({})
|
|
1430
|
+
def delete_system_table_configuration(params = {}, options = {})
|
|
1431
|
+
req = build_request(:delete_system_table_configuration, params)
|
|
1432
|
+
req.send_request(options)
|
|
1433
|
+
end
|
|
1434
|
+
|
|
1339
1435
|
# Deletes the workgroup with the specified name. The primary workgroup
|
|
1340
1436
|
# cannot be deleted.
|
|
1341
1437
|
#
|
|
@@ -2154,6 +2250,43 @@ module Aws::Athena
|
|
|
2154
2250
|
req.send_request(options)
|
|
2155
2251
|
end
|
|
2156
2252
|
|
|
2253
|
+
# Returns the account-level system tables configuration. Fails with a
|
|
2254
|
+
# `ResourceNotFoundException` if system tables are not enabled for the
|
|
2255
|
+
# account.
|
|
2256
|
+
#
|
|
2257
|
+
# @option params [required, String] :table_name
|
|
2258
|
+
# The system table configuration to retrieve. The only accepted value is
|
|
2259
|
+
# `ALL`.
|
|
2260
|
+
#
|
|
2261
|
+
# @return [Types::GetSystemTableConfigurationOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2262
|
+
#
|
|
2263
|
+
# * {Types::GetSystemTableConfigurationOutput#table_name #table_name} => String
|
|
2264
|
+
# * {Types::GetSystemTableConfigurationOutput#kms_key_arn #kms_key_arn} => String
|
|
2265
|
+
# * {Types::GetSystemTableConfigurationOutput#created_at #created_at} => Time
|
|
2266
|
+
# * {Types::GetSystemTableConfigurationOutput#last_modified_at #last_modified_at} => Time
|
|
2267
|
+
#
|
|
2268
|
+
# @example Request syntax with placeholder values
|
|
2269
|
+
#
|
|
2270
|
+
# resp = client.get_system_table_configuration({
|
|
2271
|
+
# table_name: "ALL", # required, accepts ALL
|
|
2272
|
+
# })
|
|
2273
|
+
#
|
|
2274
|
+
# @example Response structure
|
|
2275
|
+
#
|
|
2276
|
+
# resp.table_name #=> String, one of "ALL"
|
|
2277
|
+
# resp.kms_key_arn #=> String
|
|
2278
|
+
# resp.created_at #=> Time
|
|
2279
|
+
# resp.last_modified_at #=> Time
|
|
2280
|
+
#
|
|
2281
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/GetSystemTableConfiguration AWS API Documentation
|
|
2282
|
+
#
|
|
2283
|
+
# @overload get_system_table_configuration(params = {})
|
|
2284
|
+
# @param [Hash] params ({})
|
|
2285
|
+
def get_system_table_configuration(params = {}, options = {})
|
|
2286
|
+
req = build_request(:get_system_table_configuration, params)
|
|
2287
|
+
req.send_request(options)
|
|
2288
|
+
end
|
|
2289
|
+
|
|
2157
2290
|
# Returns table metadata for the specified catalog, database, and table.
|
|
2158
2291
|
#
|
|
2159
2292
|
# @option params [required, String] :catalog_name
|
|
@@ -2273,6 +2406,9 @@ module Aws::Athena
|
|
|
2273
2406
|
# resp.work_group.configuration.query_results_s3_access_grants_configuration.enable_s3_access_grants #=> Boolean
|
|
2274
2407
|
# resp.work_group.configuration.query_results_s3_access_grants_configuration.create_user_level_prefix #=> Boolean
|
|
2275
2408
|
# resp.work_group.configuration.query_results_s3_access_grants_configuration.authentication_type #=> String, one of "DIRECTORY_IDENTITY"
|
|
2409
|
+
# resp.work_group.configuration.system_table_statuses #=> Array
|
|
2410
|
+
# resp.work_group.configuration.system_table_statuses[0].table_name #=> String, one of "QUERY_EXECUTIONS"
|
|
2411
|
+
# resp.work_group.configuration.system_table_statuses[0].enabled #=> Boolean
|
|
2276
2412
|
# resp.work_group.description #=> String
|
|
2277
2413
|
# resp.work_group.creation_time #=> Time
|
|
2278
2414
|
# resp.work_group.identity_center_application_arn #=> String
|
|
@@ -3053,6 +3189,48 @@ module Aws::Athena
|
|
|
3053
3189
|
req.send_request(options)
|
|
3054
3190
|
end
|
|
3055
3191
|
|
|
3192
|
+
# Lists the system tables that the account-level configuration
|
|
3193
|
+
# activates, along with whether each is currently enabled. Because
|
|
3194
|
+
# system tables are enabled at the account level, every entry reflects
|
|
3195
|
+
# the same account-wide state.
|
|
3196
|
+
#
|
|
3197
|
+
# @option params [String] :next_token
|
|
3198
|
+
# A token generated by the Athena service that specifies where to
|
|
3199
|
+
# continue pagination if a previous request was truncated.
|
|
3200
|
+
#
|
|
3201
|
+
# @option params [Integer] :max_results
|
|
3202
|
+
# Specifies the maximum number of results to return.
|
|
3203
|
+
#
|
|
3204
|
+
# @return [Types::ListSystemTableStatusesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
3205
|
+
#
|
|
3206
|
+
# * {Types::ListSystemTableStatusesOutput#items #items} => Array<Types::SystemTableStatus>
|
|
3207
|
+
# * {Types::ListSystemTableStatusesOutput#next_token #next_token} => String
|
|
3208
|
+
#
|
|
3209
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
3210
|
+
#
|
|
3211
|
+
# @example Request syntax with placeholder values
|
|
3212
|
+
#
|
|
3213
|
+
# resp = client.list_system_table_statuses({
|
|
3214
|
+
# next_token: "Token",
|
|
3215
|
+
# max_results: 1,
|
|
3216
|
+
# })
|
|
3217
|
+
#
|
|
3218
|
+
# @example Response structure
|
|
3219
|
+
#
|
|
3220
|
+
# resp.items #=> Array
|
|
3221
|
+
# resp.items[0].table_name #=> String, one of "QUERY_EXECUTIONS"
|
|
3222
|
+
# resp.items[0].enabled #=> Boolean
|
|
3223
|
+
# resp.next_token #=> String
|
|
3224
|
+
#
|
|
3225
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/ListSystemTableStatuses AWS API Documentation
|
|
3226
|
+
#
|
|
3227
|
+
# @overload list_system_table_statuses(params = {})
|
|
3228
|
+
# @param [Hash] params ({})
|
|
3229
|
+
def list_system_table_statuses(params = {}, options = {})
|
|
3230
|
+
req = build_request(:list_system_table_statuses, params)
|
|
3231
|
+
req.send_request(options)
|
|
3232
|
+
end
|
|
3233
|
+
|
|
3056
3234
|
# Lists the metadata for the tables in the specified data catalog
|
|
3057
3235
|
# database.
|
|
3058
3236
|
#
|
|
@@ -3389,6 +3567,12 @@ module Aws::Athena
|
|
|
3389
3567
|
# `athena-query-engine-properties`, with the only allowed properties as
|
|
3390
3568
|
# `max-dpu-count` and `min-dpu-count`.
|
|
3391
3569
|
#
|
|
3570
|
+
# **Note:** When using StartQueryExecution, only the Classifications
|
|
3571
|
+
# field applies. Do not specify the other fields (AdditionalConfigs,
|
|
3572
|
+
# CoordinatorDpuSize, DefaultExecutorDpuSize, MaxConcurrentDpus, and
|
|
3573
|
+
# SparkProperties), as these are used only with StartSession to
|
|
3574
|
+
# configure Apache Spark-based sessions.
|
|
3575
|
+
#
|
|
3392
3576
|
# @return [Types::StartQueryExecutionOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
3393
3577
|
#
|
|
3394
3578
|
# * {Types::StartQueryExecutionOutput#query_execution_id #query_execution_id} => String
|
|
@@ -4001,6 +4185,50 @@ module Aws::Athena
|
|
|
4001
4185
|
req.send_request(options)
|
|
4002
4186
|
end
|
|
4003
4187
|
|
|
4188
|
+
# Updates the account-level system tables configuration. If no
|
|
4189
|
+
# configuration exists, use CreateSystemTableConfiguration to create
|
|
4190
|
+
# one. Fields that you omit retain their current values.
|
|
4191
|
+
#
|
|
4192
|
+
# @option params [required, String] :table_name
|
|
4193
|
+
# The system table configuration to update. The only accepted value is
|
|
4194
|
+
# `ALL`.
|
|
4195
|
+
#
|
|
4196
|
+
# @option params [String] :kms_key_arn
|
|
4197
|
+
# The Amazon Resource Name (ARN) of the AWS Key Management Service (AWS
|
|
4198
|
+
# KMS) key to use for encrypting the system table data. The encryption
|
|
4199
|
+
# key is immutable while the system table exists, so a change takes
|
|
4200
|
+
# effect only after the table has been deleted.
|
|
4201
|
+
#
|
|
4202
|
+
# @return [Types::UpdateSystemTableConfigurationOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
4203
|
+
#
|
|
4204
|
+
# * {Types::UpdateSystemTableConfigurationOutput#table_name #table_name} => String
|
|
4205
|
+
# * {Types::UpdateSystemTableConfigurationOutput#kms_key_arn #kms_key_arn} => String
|
|
4206
|
+
# * {Types::UpdateSystemTableConfigurationOutput#created_at #created_at} => Time
|
|
4207
|
+
# * {Types::UpdateSystemTableConfigurationOutput#last_modified_at #last_modified_at} => Time
|
|
4208
|
+
#
|
|
4209
|
+
# @example Request syntax with placeholder values
|
|
4210
|
+
#
|
|
4211
|
+
# resp = client.update_system_table_configuration({
|
|
4212
|
+
# table_name: "ALL", # required, accepts ALL
|
|
4213
|
+
# kms_key_arn: "KmsKeyArn",
|
|
4214
|
+
# })
|
|
4215
|
+
#
|
|
4216
|
+
# @example Response structure
|
|
4217
|
+
#
|
|
4218
|
+
# resp.table_name #=> String, one of "ALL"
|
|
4219
|
+
# resp.kms_key_arn #=> String
|
|
4220
|
+
# resp.created_at #=> Time
|
|
4221
|
+
# resp.last_modified_at #=> Time
|
|
4222
|
+
#
|
|
4223
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/UpdateSystemTableConfiguration AWS API Documentation
|
|
4224
|
+
#
|
|
4225
|
+
# @overload update_system_table_configuration(params = {})
|
|
4226
|
+
# @param [Hash] params ({})
|
|
4227
|
+
def update_system_table_configuration(params = {}, options = {})
|
|
4228
|
+
req = build_request(:update_system_table_configuration, params)
|
|
4229
|
+
req.send_request(options)
|
|
4230
|
+
end
|
|
4231
|
+
|
|
4004
4232
|
# Updates the workgroup with the specified name. The workgroup's name
|
|
4005
4233
|
# cannot be changed. Only `ConfigurationUpdates` can be specified.
|
|
4006
4234
|
#
|
|
@@ -4136,7 +4364,7 @@ module Aws::Athena
|
|
|
4136
4364
|
tracer: tracer
|
|
4137
4365
|
)
|
|
4138
4366
|
context[:gem_name] = 'aws-sdk-athena'
|
|
4139
|
-
context[:gem_version] = '1.
|
|
4367
|
+
context[:gem_version] = '1.132.0'
|
|
4140
4368
|
Seahorse::Client::Request.new(handlers, context)
|
|
4141
4369
|
end
|
|
4142
4370
|
|
|
@@ -79,6 +79,8 @@ module Aws::Athena
|
|
|
79
79
|
CreatePreparedStatementOutput = Shapes::StructureShape.new(name: 'CreatePreparedStatementOutput')
|
|
80
80
|
CreatePresignedNotebookUrlRequest = Shapes::StructureShape.new(name: 'CreatePresignedNotebookUrlRequest')
|
|
81
81
|
CreatePresignedNotebookUrlResponse = Shapes::StructureShape.new(name: 'CreatePresignedNotebookUrlResponse')
|
|
82
|
+
CreateSystemTableConfigurationInput = Shapes::StructureShape.new(name: 'CreateSystemTableConfigurationInput')
|
|
83
|
+
CreateSystemTableConfigurationOutput = Shapes::StructureShape.new(name: 'CreateSystemTableConfigurationOutput')
|
|
82
84
|
CreateWorkGroupInput = Shapes::StructureShape.new(name: 'CreateWorkGroupInput')
|
|
83
85
|
CreateWorkGroupOutput = Shapes::StructureShape.new(name: 'CreateWorkGroupOutput')
|
|
84
86
|
CustomerContentEncryptionConfiguration = Shapes::StructureShape.new(name: 'CustomerContentEncryptionConfiguration')
|
|
@@ -103,6 +105,8 @@ module Aws::Athena
|
|
|
103
105
|
DeleteNotebookOutput = Shapes::StructureShape.new(name: 'DeleteNotebookOutput')
|
|
104
106
|
DeletePreparedStatementInput = Shapes::StructureShape.new(name: 'DeletePreparedStatementInput')
|
|
105
107
|
DeletePreparedStatementOutput = Shapes::StructureShape.new(name: 'DeletePreparedStatementOutput')
|
|
108
|
+
DeleteSystemTableConfigurationInput = Shapes::StructureShape.new(name: 'DeleteSystemTableConfigurationInput')
|
|
109
|
+
DeleteSystemTableConfigurationOutput = Shapes::StructureShape.new(name: 'DeleteSystemTableConfigurationOutput')
|
|
106
110
|
DeleteWorkGroupInput = Shapes::StructureShape.new(name: 'DeleteWorkGroupInput')
|
|
107
111
|
DeleteWorkGroupOutput = Shapes::StructureShape.new(name: 'DeleteWorkGroupOutput')
|
|
108
112
|
DescriptionString = Shapes::StringShape.new(name: 'DescriptionString')
|
|
@@ -161,6 +165,8 @@ module Aws::Athena
|
|
|
161
165
|
GetSessionResponse = Shapes::StructureShape.new(name: 'GetSessionResponse')
|
|
162
166
|
GetSessionStatusRequest = Shapes::StructureShape.new(name: 'GetSessionStatusRequest')
|
|
163
167
|
GetSessionStatusResponse = Shapes::StructureShape.new(name: 'GetSessionStatusResponse')
|
|
168
|
+
GetSystemTableConfigurationInput = Shapes::StructureShape.new(name: 'GetSystemTableConfigurationInput')
|
|
169
|
+
GetSystemTableConfigurationOutput = Shapes::StructureShape.new(name: 'GetSystemTableConfigurationOutput')
|
|
164
170
|
GetTableMetadataInput = Shapes::StructureShape.new(name: 'GetTableMetadataInput')
|
|
165
171
|
GetTableMetadataOutput = Shapes::StructureShape.new(name: 'GetTableMetadataOutput')
|
|
166
172
|
GetWorkGroupInput = Shapes::StructureShape.new(name: 'GetWorkGroupInput')
|
|
@@ -176,6 +182,7 @@ module Aws::Athena
|
|
|
176
182
|
InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
|
|
177
183
|
KeyString = Shapes::StringShape.new(name: 'KeyString')
|
|
178
184
|
KmsKey = Shapes::StringShape.new(name: 'KmsKey')
|
|
185
|
+
KmsKeyArn = Shapes::StringShape.new(name: 'KmsKeyArn')
|
|
179
186
|
ListApplicationDPUSizesInput = Shapes::StructureShape.new(name: 'ListApplicationDPUSizesInput')
|
|
180
187
|
ListApplicationDPUSizesOutput = Shapes::StructureShape.new(name: 'ListApplicationDPUSizesOutput')
|
|
181
188
|
ListCalculationExecutionsRequest = Shapes::StructureShape.new(name: 'ListCalculationExecutionsRequest')
|
|
@@ -202,6 +209,8 @@ module Aws::Athena
|
|
|
202
209
|
ListQueryExecutionsOutput = Shapes::StructureShape.new(name: 'ListQueryExecutionsOutput')
|
|
203
210
|
ListSessionsRequest = Shapes::StructureShape.new(name: 'ListSessionsRequest')
|
|
204
211
|
ListSessionsResponse = Shapes::StructureShape.new(name: 'ListSessionsResponse')
|
|
212
|
+
ListSystemTableStatusesInput = Shapes::StructureShape.new(name: 'ListSystemTableStatusesInput')
|
|
213
|
+
ListSystemTableStatusesOutput = Shapes::StructureShape.new(name: 'ListSystemTableStatusesOutput')
|
|
205
214
|
ListTableMetadataInput = Shapes::StructureShape.new(name: 'ListTableMetadataInput')
|
|
206
215
|
ListTableMetadataOutput = Shapes::StructureShape.new(name: 'ListTableMetadataOutput')
|
|
207
216
|
ListTagsForResourceInput = Shapes::StructureShape.new(name: 'ListTagsForResourceInput')
|
|
@@ -233,6 +242,7 @@ module Aws::Athena
|
|
|
233
242
|
MaxQueryExecutionsCount = Shapes::IntegerShape.new(name: 'MaxQueryExecutionsCount')
|
|
234
243
|
MaxQueryResults = Shapes::IntegerShape.new(name: 'MaxQueryResults')
|
|
235
244
|
MaxSessionsCount = Shapes::IntegerShape.new(name: 'MaxSessionsCount')
|
|
245
|
+
MaxSystemTableStatusesCount = Shapes::IntegerShape.new(name: 'MaxSystemTableStatusesCount')
|
|
236
246
|
MaxTableMetadataCount = Shapes::IntegerShape.new(name: 'MaxTableMetadataCount')
|
|
237
247
|
MaxTagsCount = Shapes::IntegerShape.new(name: 'MaxTagsCount')
|
|
238
248
|
MaxWorkGroupsCount = Shapes::IntegerShape.new(name: 'MaxWorkGroupsCount')
|
|
@@ -320,6 +330,10 @@ module Aws::Athena
|
|
|
320
330
|
String = Shapes::StringShape.new(name: 'String')
|
|
321
331
|
StringList = Shapes::ListShape.new(name: 'StringList')
|
|
322
332
|
SupportedDPUSizeList = Shapes::ListShape.new(name: 'SupportedDPUSizeList')
|
|
333
|
+
SystemTableName = Shapes::StringShape.new(name: 'SystemTableName')
|
|
334
|
+
SystemTableStatus = Shapes::StructureShape.new(name: 'SystemTableStatus')
|
|
335
|
+
SystemTableStatusList = Shapes::ListShape.new(name: 'SystemTableStatusList')
|
|
336
|
+
SystemTableType = Shapes::StringShape.new(name: 'SystemTableType')
|
|
323
337
|
TableMetadata = Shapes::StructureShape.new(name: 'TableMetadata')
|
|
324
338
|
TableMetadataList = Shapes::ListShape.new(name: 'TableMetadataList')
|
|
325
339
|
TableTypeString = Shapes::StringShape.new(name: 'TableTypeString')
|
|
@@ -358,6 +372,8 @@ module Aws::Athena
|
|
|
358
372
|
UpdateNotebookOutput = Shapes::StructureShape.new(name: 'UpdateNotebookOutput')
|
|
359
373
|
UpdatePreparedStatementInput = Shapes::StructureShape.new(name: 'UpdatePreparedStatementInput')
|
|
360
374
|
UpdatePreparedStatementOutput = Shapes::StructureShape.new(name: 'UpdatePreparedStatementOutput')
|
|
375
|
+
UpdateSystemTableConfigurationInput = Shapes::StructureShape.new(name: 'UpdateSystemTableConfigurationInput')
|
|
376
|
+
UpdateSystemTableConfigurationOutput = Shapes::StructureShape.new(name: 'UpdateSystemTableConfigurationOutput')
|
|
361
377
|
UpdateWorkGroupInput = Shapes::StructureShape.new(name: 'UpdateWorkGroupInput')
|
|
362
378
|
UpdateWorkGroupOutput = Shapes::StructureShape.new(name: 'UpdateWorkGroupOutput')
|
|
363
379
|
WorkGroup = Shapes::StructureShape.new(name: 'WorkGroup')
|
|
@@ -551,6 +567,18 @@ module Aws::Athena
|
|
|
551
567
|
CreatePresignedNotebookUrlResponse.add_member(:auth_token_expiration_time, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "AuthTokenExpirationTime"))
|
|
552
568
|
CreatePresignedNotebookUrlResponse.struct_class = Types::CreatePresignedNotebookUrlResponse
|
|
553
569
|
|
|
570
|
+
CreateSystemTableConfigurationInput.add_member(:client_request_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "ClientRequestToken", metadata: {"idempotencyToken" => true}))
|
|
571
|
+
CreateSystemTableConfigurationInput.add_member(:table_name, Shapes::ShapeRef.new(shape: SystemTableName, required: true, location_name: "TableName"))
|
|
572
|
+
CreateSystemTableConfigurationInput.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "KmsKeyArn"))
|
|
573
|
+
CreateSystemTableConfigurationInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
|
574
|
+
CreateSystemTableConfigurationInput.struct_class = Types::CreateSystemTableConfigurationInput
|
|
575
|
+
|
|
576
|
+
CreateSystemTableConfigurationOutput.add_member(:table_name, Shapes::ShapeRef.new(shape: SystemTableName, location_name: "TableName"))
|
|
577
|
+
CreateSystemTableConfigurationOutput.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "KmsKeyArn"))
|
|
578
|
+
CreateSystemTableConfigurationOutput.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedAt"))
|
|
579
|
+
CreateSystemTableConfigurationOutput.add_member(:last_modified_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModifiedAt"))
|
|
580
|
+
CreateSystemTableConfigurationOutput.struct_class = Types::CreateSystemTableConfigurationOutput
|
|
581
|
+
|
|
554
582
|
CreateWorkGroupInput.add_member(:name, Shapes::ShapeRef.new(shape: WorkGroupName, required: true, location_name: "Name"))
|
|
555
583
|
CreateWorkGroupInput.add_member(:configuration, Shapes::ShapeRef.new(shape: WorkGroupConfiguration, location_name: "Configuration"))
|
|
556
584
|
CreateWorkGroupInput.add_member(:description, Shapes::ShapeRef.new(shape: WorkGroupDescriptionString, location_name: "Description"))
|
|
@@ -618,6 +646,11 @@ module Aws::Athena
|
|
|
618
646
|
|
|
619
647
|
DeletePreparedStatementOutput.struct_class = Types::DeletePreparedStatementOutput
|
|
620
648
|
|
|
649
|
+
DeleteSystemTableConfigurationInput.add_member(:table_name, Shapes::ShapeRef.new(shape: SystemTableName, required: true, location_name: "TableName"))
|
|
650
|
+
DeleteSystemTableConfigurationInput.struct_class = Types::DeleteSystemTableConfigurationInput
|
|
651
|
+
|
|
652
|
+
DeleteSystemTableConfigurationOutput.struct_class = Types::DeleteSystemTableConfigurationOutput
|
|
653
|
+
|
|
621
654
|
DeleteWorkGroupInput.add_member(:work_group, Shapes::ShapeRef.new(shape: WorkGroupName, required: true, location_name: "WorkGroup"))
|
|
622
655
|
DeleteWorkGroupInput.add_member(:recursive_delete_option, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "RecursiveDeleteOption"))
|
|
623
656
|
DeleteWorkGroupInput.struct_class = Types::DeleteWorkGroupInput
|
|
@@ -794,6 +827,15 @@ module Aws::Athena
|
|
|
794
827
|
GetSessionStatusResponse.add_member(:status, Shapes::ShapeRef.new(shape: SessionStatus, location_name: "Status"))
|
|
795
828
|
GetSessionStatusResponse.struct_class = Types::GetSessionStatusResponse
|
|
796
829
|
|
|
830
|
+
GetSystemTableConfigurationInput.add_member(:table_name, Shapes::ShapeRef.new(shape: SystemTableName, required: true, location_name: "TableName"))
|
|
831
|
+
GetSystemTableConfigurationInput.struct_class = Types::GetSystemTableConfigurationInput
|
|
832
|
+
|
|
833
|
+
GetSystemTableConfigurationOutput.add_member(:table_name, Shapes::ShapeRef.new(shape: SystemTableName, location_name: "TableName"))
|
|
834
|
+
GetSystemTableConfigurationOutput.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "KmsKeyArn"))
|
|
835
|
+
GetSystemTableConfigurationOutput.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedAt"))
|
|
836
|
+
GetSystemTableConfigurationOutput.add_member(:last_modified_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModifiedAt"))
|
|
837
|
+
GetSystemTableConfigurationOutput.struct_class = Types::GetSystemTableConfigurationOutput
|
|
838
|
+
|
|
797
839
|
GetTableMetadataInput.add_member(:catalog_name, Shapes::ShapeRef.new(shape: CatalogNameString, required: true, location_name: "CatalogName"))
|
|
798
840
|
GetTableMetadataInput.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "DatabaseName"))
|
|
799
841
|
GetTableMetadataInput.add_member(:table_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "TableName"))
|
|
@@ -951,6 +993,14 @@ module Aws::Athena
|
|
|
951
993
|
ListSessionsResponse.add_member(:sessions, Shapes::ShapeRef.new(shape: SessionsList, location_name: "Sessions"))
|
|
952
994
|
ListSessionsResponse.struct_class = Types::ListSessionsResponse
|
|
953
995
|
|
|
996
|
+
ListSystemTableStatusesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
|
|
997
|
+
ListSystemTableStatusesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxSystemTableStatusesCount, location_name: "MaxResults"))
|
|
998
|
+
ListSystemTableStatusesInput.struct_class = Types::ListSystemTableStatusesInput
|
|
999
|
+
|
|
1000
|
+
ListSystemTableStatusesOutput.add_member(:items, Shapes::ShapeRef.new(shape: SystemTableStatusList, required: true, location_name: "Items"))
|
|
1001
|
+
ListSystemTableStatusesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
|
|
1002
|
+
ListSystemTableStatusesOutput.struct_class = Types::ListSystemTableStatusesOutput
|
|
1003
|
+
|
|
954
1004
|
ListTableMetadataInput.add_member(:catalog_name, Shapes::ShapeRef.new(shape: CatalogNameString, required: true, location_name: "CatalogName"))
|
|
955
1005
|
ListTableMetadataInput.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "DatabaseName"))
|
|
956
1006
|
ListTableMetadataInput.add_member(:expression, Shapes::ShapeRef.new(shape: ExpressionString, location_name: "Expression"))
|
|
@@ -1283,6 +1333,12 @@ module Aws::Athena
|
|
|
1283
1333
|
|
|
1284
1334
|
SupportedDPUSizeList.member = Shapes::ShapeRef.new(shape: Integer)
|
|
1285
1335
|
|
|
1336
|
+
SystemTableStatus.add_member(:table_name, Shapes::ShapeRef.new(shape: SystemTableType, required: true, location_name: "TableName"))
|
|
1337
|
+
SystemTableStatus.add_member(:enabled, Shapes::ShapeRef.new(shape: BoxedBoolean, required: true, location_name: "Enabled"))
|
|
1338
|
+
SystemTableStatus.struct_class = Types::SystemTableStatus
|
|
1339
|
+
|
|
1340
|
+
SystemTableStatusList.member = Shapes::ShapeRef.new(shape: SystemTableStatus)
|
|
1341
|
+
|
|
1286
1342
|
TableMetadata.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Name"))
|
|
1287
1343
|
TableMetadata.add_member(:create_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreateTime"))
|
|
1288
1344
|
TableMetadata.add_member(:last_access_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastAccessTime"))
|
|
@@ -1391,6 +1447,16 @@ module Aws::Athena
|
|
|
1391
1447
|
|
|
1392
1448
|
UpdatePreparedStatementOutput.struct_class = Types::UpdatePreparedStatementOutput
|
|
1393
1449
|
|
|
1450
|
+
UpdateSystemTableConfigurationInput.add_member(:table_name, Shapes::ShapeRef.new(shape: SystemTableName, required: true, location_name: "TableName"))
|
|
1451
|
+
UpdateSystemTableConfigurationInput.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "KmsKeyArn"))
|
|
1452
|
+
UpdateSystemTableConfigurationInput.struct_class = Types::UpdateSystemTableConfigurationInput
|
|
1453
|
+
|
|
1454
|
+
UpdateSystemTableConfigurationOutput.add_member(:table_name, Shapes::ShapeRef.new(shape: SystemTableName, location_name: "TableName"))
|
|
1455
|
+
UpdateSystemTableConfigurationOutput.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "KmsKeyArn"))
|
|
1456
|
+
UpdateSystemTableConfigurationOutput.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedAt"))
|
|
1457
|
+
UpdateSystemTableConfigurationOutput.add_member(:last_modified_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModifiedAt"))
|
|
1458
|
+
UpdateSystemTableConfigurationOutput.struct_class = Types::UpdateSystemTableConfigurationOutput
|
|
1459
|
+
|
|
1394
1460
|
UpdateWorkGroupInput.add_member(:work_group, Shapes::ShapeRef.new(shape: WorkGroupName, required: true, location_name: "WorkGroup"))
|
|
1395
1461
|
UpdateWorkGroupInput.add_member(:description, Shapes::ShapeRef.new(shape: WorkGroupDescriptionString, location_name: "Description"))
|
|
1396
1462
|
UpdateWorkGroupInput.add_member(:configuration_updates, Shapes::ShapeRef.new(shape: WorkGroupConfigurationUpdates, location_name: "ConfigurationUpdates"))
|
|
@@ -1422,6 +1488,7 @@ module Aws::Athena
|
|
|
1422
1488
|
WorkGroupConfiguration.add_member(:enable_minimum_encryption_configuration, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "EnableMinimumEncryptionConfiguration"))
|
|
1423
1489
|
WorkGroupConfiguration.add_member(:identity_center_configuration, Shapes::ShapeRef.new(shape: IdentityCenterConfiguration, location_name: "IdentityCenterConfiguration"))
|
|
1424
1490
|
WorkGroupConfiguration.add_member(:query_results_s3_access_grants_configuration, Shapes::ShapeRef.new(shape: QueryResultsS3AccessGrantsConfiguration, location_name: "QueryResultsS3AccessGrantsConfiguration"))
|
|
1491
|
+
WorkGroupConfiguration.add_member(:system_table_statuses, Shapes::ShapeRef.new(shape: SystemTableStatusList, location_name: "SystemTableStatuses"))
|
|
1425
1492
|
WorkGroupConfiguration.struct_class = Types::WorkGroupConfiguration
|
|
1426
1493
|
|
|
1427
1494
|
WorkGroupConfigurationUpdates.add_member(:enforce_work_group_configuration, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "EnforceWorkGroupConfiguration"))
|
|
@@ -1578,6 +1645,17 @@ module Aws::Athena
|
|
|
1578
1645
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
1579
1646
|
end)
|
|
1580
1647
|
|
|
1648
|
+
api.add_operation(:create_system_table_configuration, Seahorse::Model::Operation.new.tap do |o|
|
|
1649
|
+
o.name = "CreateSystemTableConfiguration"
|
|
1650
|
+
o.http_method = "POST"
|
|
1651
|
+
o.http_request_uri = "/"
|
|
1652
|
+
o.input = Shapes::ShapeRef.new(shape: CreateSystemTableConfigurationInput)
|
|
1653
|
+
o.output = Shapes::ShapeRef.new(shape: CreateSystemTableConfigurationOutput)
|
|
1654
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
|
1655
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
|
1656
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
1657
|
+
end)
|
|
1658
|
+
|
|
1581
1659
|
api.add_operation(:create_work_group, Seahorse::Model::Operation.new.tap do |o|
|
|
1582
1660
|
o.name = "CreateWorkGroup"
|
|
1583
1661
|
o.http_method = "POST"
|
|
@@ -1640,6 +1718,17 @@ module Aws::Athena
|
|
|
1640
1718
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
1641
1719
|
end)
|
|
1642
1720
|
|
|
1721
|
+
api.add_operation(:delete_system_table_configuration, Seahorse::Model::Operation.new.tap do |o|
|
|
1722
|
+
o.name = "DeleteSystemTableConfiguration"
|
|
1723
|
+
o.http_method = "POST"
|
|
1724
|
+
o.http_request_uri = "/"
|
|
1725
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteSystemTableConfigurationInput)
|
|
1726
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteSystemTableConfigurationOutput)
|
|
1727
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
|
1728
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
|
1729
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
1730
|
+
end)
|
|
1731
|
+
|
|
1643
1732
|
api.add_operation(:delete_work_group, Seahorse::Model::Operation.new.tap do |o|
|
|
1644
1733
|
o.name = "DeleteWorkGroup"
|
|
1645
1734
|
o.http_method = "POST"
|
|
@@ -1848,6 +1937,18 @@ module Aws::Athena
|
|
|
1848
1937
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
1849
1938
|
end)
|
|
1850
1939
|
|
|
1940
|
+
api.add_operation(:get_system_table_configuration, Seahorse::Model::Operation.new.tap do |o|
|
|
1941
|
+
o.name = "GetSystemTableConfiguration"
|
|
1942
|
+
o.http_method = "POST"
|
|
1943
|
+
o.http_request_uri = "/"
|
|
1944
|
+
o.input = Shapes::ShapeRef.new(shape: GetSystemTableConfigurationInput)
|
|
1945
|
+
o.output = Shapes::ShapeRef.new(shape: GetSystemTableConfigurationOutput)
|
|
1946
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
|
1947
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
1948
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
|
1949
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
1950
|
+
end)
|
|
1951
|
+
|
|
1851
1952
|
api.add_operation(:get_table_metadata, Seahorse::Model::Operation.new.tap do |o|
|
|
1852
1953
|
o.name = "GetTableMetadata"
|
|
1853
1954
|
o.http_method = "POST"
|
|
@@ -2083,6 +2184,23 @@ module Aws::Athena
|
|
|
2083
2184
|
)
|
|
2084
2185
|
end)
|
|
2085
2186
|
|
|
2187
|
+
api.add_operation(:list_system_table_statuses, Seahorse::Model::Operation.new.tap do |o|
|
|
2188
|
+
o.name = "ListSystemTableStatuses"
|
|
2189
|
+
o.http_method = "POST"
|
|
2190
|
+
o.http_request_uri = "/"
|
|
2191
|
+
o.input = Shapes::ShapeRef.new(shape: ListSystemTableStatusesInput)
|
|
2192
|
+
o.output = Shapes::ShapeRef.new(shape: ListSystemTableStatusesOutput)
|
|
2193
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
|
2194
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
|
2195
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
2196
|
+
o[:pager] = Aws::Pager.new(
|
|
2197
|
+
limit_key: "max_results",
|
|
2198
|
+
tokens: {
|
|
2199
|
+
"next_token" => "next_token"
|
|
2200
|
+
}
|
|
2201
|
+
)
|
|
2202
|
+
end)
|
|
2203
|
+
|
|
2086
2204
|
api.add_operation(:list_table_metadata, Seahorse::Model::Operation.new.tap do |o|
|
|
2087
2205
|
o.name = "ListTableMetadata"
|
|
2088
2206
|
o.http_method = "POST"
|
|
@@ -2295,6 +2413,18 @@ module Aws::Athena
|
|
|
2295
2413
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
2296
2414
|
end)
|
|
2297
2415
|
|
|
2416
|
+
api.add_operation(:update_system_table_configuration, Seahorse::Model::Operation.new.tap do |o|
|
|
2417
|
+
o.name = "UpdateSystemTableConfiguration"
|
|
2418
|
+
o.http_method = "POST"
|
|
2419
|
+
o.http_request_uri = "/"
|
|
2420
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateSystemTableConfigurationInput)
|
|
2421
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateSystemTableConfigurationOutput)
|
|
2422
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
|
2423
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
2424
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
|
2425
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
2426
|
+
end)
|
|
2427
|
+
|
|
2298
2428
|
api.add_operation(:update_work_group, Seahorse::Model::Operation.new.tap do |o|
|
|
2299
2429
|
o.name = "UpdateWorkGroup"
|
|
2300
2430
|
o.http_method = "POST"
|
data/lib/aws-sdk-athena/types.rb
CHANGED
|
@@ -947,6 +947,71 @@ module Aws::Athena
|
|
|
947
947
|
include Aws::Structure
|
|
948
948
|
end
|
|
949
949
|
|
|
950
|
+
# @!attribute [rw] client_request_token
|
|
951
|
+
# A unique case-sensitive string used to ensure the request to create
|
|
952
|
+
# the system table configuration is idempotent (executes only once).
|
|
953
|
+
# If another `CreateSystemTableConfiguration` request is received with
|
|
954
|
+
# the same client token but different parameters, the request fails
|
|
955
|
+
# with an `InvalidRequestException`.
|
|
956
|
+
#
|
|
957
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
958
|
+
# not need to pass this option.
|
|
959
|
+
# @return [String]
|
|
960
|
+
#
|
|
961
|
+
# @!attribute [rw] table_name
|
|
962
|
+
# The system table configuration to create. The only accepted value is
|
|
963
|
+
# `ALL`, the reserved keyword that enables all system tables for the
|
|
964
|
+
# account.
|
|
965
|
+
# @return [String]
|
|
966
|
+
#
|
|
967
|
+
# @!attribute [rw] kms_key_arn
|
|
968
|
+
# The Amazon Resource Name (ARN) of the AWS Key Management Service
|
|
969
|
+
# (AWS KMS) key to use for encrypting the system table data.
|
|
970
|
+
# @return [String]
|
|
971
|
+
#
|
|
972
|
+
# @!attribute [rw] tags
|
|
973
|
+
# The tags to add to the system table configuration.
|
|
974
|
+
# @return [Array<Types::Tag>]
|
|
975
|
+
#
|
|
976
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/CreateSystemTableConfigurationInput AWS API Documentation
|
|
977
|
+
#
|
|
978
|
+
class CreateSystemTableConfigurationInput < Struct.new(
|
|
979
|
+
:client_request_token,
|
|
980
|
+
:table_name,
|
|
981
|
+
:kms_key_arn,
|
|
982
|
+
:tags)
|
|
983
|
+
SENSITIVE = []
|
|
984
|
+
include Aws::Structure
|
|
985
|
+
end
|
|
986
|
+
|
|
987
|
+
# @!attribute [rw] table_name
|
|
988
|
+
# The system table configuration that was created. Always `ALL`.
|
|
989
|
+
# @return [String]
|
|
990
|
+
#
|
|
991
|
+
# @!attribute [rw] kms_key_arn
|
|
992
|
+
# The Amazon Resource Name (ARN) of the AWS Key Management Service
|
|
993
|
+
# (AWS KMS) key used for encrypting the system table data.
|
|
994
|
+
# @return [String]
|
|
995
|
+
#
|
|
996
|
+
# @!attribute [rw] created_at
|
|
997
|
+
# The date and time the system table configuration was created.
|
|
998
|
+
# @return [Time]
|
|
999
|
+
#
|
|
1000
|
+
# @!attribute [rw] last_modified_at
|
|
1001
|
+
# The date and time the system table configuration was last modified.
|
|
1002
|
+
# @return [Time]
|
|
1003
|
+
#
|
|
1004
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/CreateSystemTableConfigurationOutput AWS API Documentation
|
|
1005
|
+
#
|
|
1006
|
+
class CreateSystemTableConfigurationOutput < Struct.new(
|
|
1007
|
+
:table_name,
|
|
1008
|
+
:kms_key_arn,
|
|
1009
|
+
:created_at,
|
|
1010
|
+
:last_modified_at)
|
|
1011
|
+
SENSITIVE = []
|
|
1012
|
+
include Aws::Structure
|
|
1013
|
+
end
|
|
1014
|
+
|
|
950
1015
|
# @!attribute [rw] name
|
|
951
1016
|
# The workgroup name.
|
|
952
1017
|
# @return [String]
|
|
@@ -1376,6 +1441,23 @@ module Aws::Athena
|
|
|
1376
1441
|
#
|
|
1377
1442
|
class DeletePreparedStatementOutput < Aws::EmptyStructure; end
|
|
1378
1443
|
|
|
1444
|
+
# @!attribute [rw] table_name
|
|
1445
|
+
# The system table configuration to delete. The only accepted value is
|
|
1446
|
+
# `ALL`.
|
|
1447
|
+
# @return [String]
|
|
1448
|
+
#
|
|
1449
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/DeleteSystemTableConfigurationInput AWS API Documentation
|
|
1450
|
+
#
|
|
1451
|
+
class DeleteSystemTableConfigurationInput < Struct.new(
|
|
1452
|
+
:table_name)
|
|
1453
|
+
SENSITIVE = []
|
|
1454
|
+
include Aws::Structure
|
|
1455
|
+
end
|
|
1456
|
+
|
|
1457
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/DeleteSystemTableConfigurationOutput AWS API Documentation
|
|
1458
|
+
#
|
|
1459
|
+
class DeleteSystemTableConfigurationOutput < Aws::EmptyStructure; end
|
|
1460
|
+
|
|
1379
1461
|
# @!attribute [rw] work_group
|
|
1380
1462
|
# The unique name of the workgroup to delete.
|
|
1381
1463
|
# @return [String]
|
|
@@ -2187,6 +2269,47 @@ module Aws::Athena
|
|
|
2187
2269
|
include Aws::Structure
|
|
2188
2270
|
end
|
|
2189
2271
|
|
|
2272
|
+
# @!attribute [rw] table_name
|
|
2273
|
+
# The system table configuration to retrieve. The only accepted value
|
|
2274
|
+
# is `ALL`.
|
|
2275
|
+
# @return [String]
|
|
2276
|
+
#
|
|
2277
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/GetSystemTableConfigurationInput AWS API Documentation
|
|
2278
|
+
#
|
|
2279
|
+
class GetSystemTableConfigurationInput < Struct.new(
|
|
2280
|
+
:table_name)
|
|
2281
|
+
SENSITIVE = []
|
|
2282
|
+
include Aws::Structure
|
|
2283
|
+
end
|
|
2284
|
+
|
|
2285
|
+
# @!attribute [rw] table_name
|
|
2286
|
+
# The system table configuration. Always `ALL`.
|
|
2287
|
+
# @return [String]
|
|
2288
|
+
#
|
|
2289
|
+
# @!attribute [rw] kms_key_arn
|
|
2290
|
+
# The Amazon Resource Name (ARN) of the AWS Key Management Service
|
|
2291
|
+
# (AWS KMS) key used for encrypting the system table data.
|
|
2292
|
+
# @return [String]
|
|
2293
|
+
#
|
|
2294
|
+
# @!attribute [rw] created_at
|
|
2295
|
+
# The date and time the system table configuration was created.
|
|
2296
|
+
# @return [Time]
|
|
2297
|
+
#
|
|
2298
|
+
# @!attribute [rw] last_modified_at
|
|
2299
|
+
# The date and time the system table configuration was last modified.
|
|
2300
|
+
# @return [Time]
|
|
2301
|
+
#
|
|
2302
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/GetSystemTableConfigurationOutput AWS API Documentation
|
|
2303
|
+
#
|
|
2304
|
+
class GetSystemTableConfigurationOutput < Struct.new(
|
|
2305
|
+
:table_name,
|
|
2306
|
+
:kms_key_arn,
|
|
2307
|
+
:created_at,
|
|
2308
|
+
:last_modified_at)
|
|
2309
|
+
SENSITIVE = []
|
|
2310
|
+
include Aws::Structure
|
|
2311
|
+
end
|
|
2312
|
+
|
|
2190
2313
|
# @!attribute [rw] catalog_name
|
|
2191
2314
|
# The name of the data catalog that contains the database and table
|
|
2192
2315
|
# metadata to return.
|
|
@@ -3019,6 +3142,45 @@ module Aws::Athena
|
|
|
3019
3142
|
include Aws::Structure
|
|
3020
3143
|
end
|
|
3021
3144
|
|
|
3145
|
+
# @!attribute [rw] next_token
|
|
3146
|
+
# A token generated by the Athena service that specifies where to
|
|
3147
|
+
# continue pagination if a previous request was truncated.
|
|
3148
|
+
# @return [String]
|
|
3149
|
+
#
|
|
3150
|
+
# @!attribute [rw] max_results
|
|
3151
|
+
# Specifies the maximum number of results to return.
|
|
3152
|
+
# @return [Integer]
|
|
3153
|
+
#
|
|
3154
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/ListSystemTableStatusesInput AWS API Documentation
|
|
3155
|
+
#
|
|
3156
|
+
class ListSystemTableStatusesInput < Struct.new(
|
|
3157
|
+
:next_token,
|
|
3158
|
+
:max_results)
|
|
3159
|
+
SENSITIVE = []
|
|
3160
|
+
include Aws::Structure
|
|
3161
|
+
end
|
|
3162
|
+
|
|
3163
|
+
# @!attribute [rw] items
|
|
3164
|
+
# The list of system tables and their enablement status for the
|
|
3165
|
+
# current account.
|
|
3166
|
+
# @return [Array<Types::SystemTableStatus>]
|
|
3167
|
+
#
|
|
3168
|
+
# @!attribute [rw] next_token
|
|
3169
|
+
# A token generated by the Athena service that specifies where to
|
|
3170
|
+
# continue pagination if a previous request was truncated. To obtain
|
|
3171
|
+
# the next set of pages, pass in the NextToken from the response
|
|
3172
|
+
# object of the previous page call.
|
|
3173
|
+
# @return [String]
|
|
3174
|
+
#
|
|
3175
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/ListSystemTableStatusesOutput AWS API Documentation
|
|
3176
|
+
#
|
|
3177
|
+
class ListSystemTableStatusesOutput < Struct.new(
|
|
3178
|
+
:items,
|
|
3179
|
+
:next_token)
|
|
3180
|
+
SENSITIVE = []
|
|
3181
|
+
include Aws::Structure
|
|
3182
|
+
end
|
|
3183
|
+
|
|
3022
3184
|
# @!attribute [rw] catalog_name
|
|
3023
3185
|
# The name of the data catalog for which table metadata should be
|
|
3024
3186
|
# returned.
|
|
@@ -4608,6 +4770,12 @@ module Aws::Athena
|
|
|
4608
4770
|
# the following values: The name of the `Classifications` should be
|
|
4609
4771
|
# `athena-query-engine-properties`, with the only allowed properties
|
|
4610
4772
|
# as `max-dpu-count` and `min-dpu-count`.
|
|
4773
|
+
#
|
|
4774
|
+
# **Note:** When using StartQueryExecution, only the Classifications
|
|
4775
|
+
# field applies. Do not specify the other fields (AdditionalConfigs,
|
|
4776
|
+
# CoordinatorDpuSize, DefaultExecutorDpuSize, MaxConcurrentDpus, and
|
|
4777
|
+
# SparkProperties), as these are used only with StartSession to
|
|
4778
|
+
# configure Apache Spark-based sessions.
|
|
4611
4779
|
# @return [Types::EngineConfiguration]
|
|
4612
4780
|
#
|
|
4613
4781
|
# @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/StartQueryExecutionInput AWS API Documentation
|
|
@@ -4811,6 +4979,27 @@ module Aws::Athena
|
|
|
4811
4979
|
#
|
|
4812
4980
|
class StopQueryExecutionOutput < Aws::EmptyStructure; end
|
|
4813
4981
|
|
|
4982
|
+
# The enablement status of a single system table. Because system tables
|
|
4983
|
+
# are enabled at the account level, every status reflects the same
|
|
4984
|
+
# account-wide state.
|
|
4985
|
+
#
|
|
4986
|
+
# @!attribute [rw] table_name
|
|
4987
|
+
# The name of the system table, such as `QUERY_EXECUTIONS`.
|
|
4988
|
+
# @return [String]
|
|
4989
|
+
#
|
|
4990
|
+
# @!attribute [rw] enabled
|
|
4991
|
+
# Indicates whether the system table is enabled for the account.
|
|
4992
|
+
# @return [Boolean]
|
|
4993
|
+
#
|
|
4994
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/SystemTableStatus AWS API Documentation
|
|
4995
|
+
#
|
|
4996
|
+
class SystemTableStatus < Struct.new(
|
|
4997
|
+
:table_name,
|
|
4998
|
+
:enabled)
|
|
4999
|
+
SENSITIVE = []
|
|
5000
|
+
include Aws::Structure
|
|
5001
|
+
end
|
|
5002
|
+
|
|
4814
5003
|
# Contains metadata for a table.
|
|
4815
5004
|
#
|
|
4816
5005
|
# @!attribute [rw] name
|
|
@@ -5312,6 +5501,55 @@ module Aws::Athena
|
|
|
5312
5501
|
#
|
|
5313
5502
|
class UpdatePreparedStatementOutput < Aws::EmptyStructure; end
|
|
5314
5503
|
|
|
5504
|
+
# @!attribute [rw] table_name
|
|
5505
|
+
# The system table configuration to update. The only accepted value is
|
|
5506
|
+
# `ALL`.
|
|
5507
|
+
# @return [String]
|
|
5508
|
+
#
|
|
5509
|
+
# @!attribute [rw] kms_key_arn
|
|
5510
|
+
# The Amazon Resource Name (ARN) of the AWS Key Management Service
|
|
5511
|
+
# (AWS KMS) key to use for encrypting the system table data. The
|
|
5512
|
+
# encryption key is immutable while the system table exists, so a
|
|
5513
|
+
# change takes effect only after the table has been deleted.
|
|
5514
|
+
# @return [String]
|
|
5515
|
+
#
|
|
5516
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/UpdateSystemTableConfigurationInput AWS API Documentation
|
|
5517
|
+
#
|
|
5518
|
+
class UpdateSystemTableConfigurationInput < Struct.new(
|
|
5519
|
+
:table_name,
|
|
5520
|
+
:kms_key_arn)
|
|
5521
|
+
SENSITIVE = []
|
|
5522
|
+
include Aws::Structure
|
|
5523
|
+
end
|
|
5524
|
+
|
|
5525
|
+
# @!attribute [rw] table_name
|
|
5526
|
+
# The system table configuration. Always `ALL`.
|
|
5527
|
+
# @return [String]
|
|
5528
|
+
#
|
|
5529
|
+
# @!attribute [rw] kms_key_arn
|
|
5530
|
+
# The Amazon Resource Name (ARN) of the AWS Key Management Service
|
|
5531
|
+
# (AWS KMS) key used for encrypting the system table data.
|
|
5532
|
+
# @return [String]
|
|
5533
|
+
#
|
|
5534
|
+
# @!attribute [rw] created_at
|
|
5535
|
+
# The date and time the system table configuration was created.
|
|
5536
|
+
# @return [Time]
|
|
5537
|
+
#
|
|
5538
|
+
# @!attribute [rw] last_modified_at
|
|
5539
|
+
# The date and time the system table configuration was last modified.
|
|
5540
|
+
# @return [Time]
|
|
5541
|
+
#
|
|
5542
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/UpdateSystemTableConfigurationOutput AWS API Documentation
|
|
5543
|
+
#
|
|
5544
|
+
class UpdateSystemTableConfigurationOutput < Struct.new(
|
|
5545
|
+
:table_name,
|
|
5546
|
+
:kms_key_arn,
|
|
5547
|
+
:created_at,
|
|
5548
|
+
:last_modified_at)
|
|
5549
|
+
SENSITIVE = []
|
|
5550
|
+
include Aws::Structure
|
|
5551
|
+
end
|
|
5552
|
+
|
|
5315
5553
|
# @!attribute [rw] work_group
|
|
5316
5554
|
# The specified workgroup that will be updated.
|
|
5317
5555
|
# @return [String]
|
|
@@ -5532,6 +5770,12 @@ module Aws::Athena
|
|
|
5532
5770
|
# results.
|
|
5533
5771
|
# @return [Types::QueryResultsS3AccessGrantsConfiguration]
|
|
5534
5772
|
#
|
|
5773
|
+
# @!attribute [rw] system_table_statuses
|
|
5774
|
+
# The read-only enablement status of each system table for the
|
|
5775
|
+
# account. This field is returned by GetWorkGroup and is ignored on
|
|
5776
|
+
# write.
|
|
5777
|
+
# @return [Array<Types::SystemTableStatus>]
|
|
5778
|
+
#
|
|
5535
5779
|
# @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/WorkGroupConfiguration AWS API Documentation
|
|
5536
5780
|
#
|
|
5537
5781
|
class WorkGroupConfiguration < Struct.new(
|
|
@@ -5549,7 +5793,8 @@ module Aws::Athena
|
|
|
5549
5793
|
:customer_content_encryption_configuration,
|
|
5550
5794
|
:enable_minimum_encryption_configuration,
|
|
5551
5795
|
:identity_center_configuration,
|
|
5552
|
-
:query_results_s3_access_grants_configuration
|
|
5796
|
+
:query_results_s3_access_grants_configuration,
|
|
5797
|
+
:system_table_statuses)
|
|
5553
5798
|
SENSITIVE = []
|
|
5554
5799
|
include Aws::Structure
|
|
5555
5800
|
end
|
data/lib/aws-sdk-athena.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -209,6 +209,27 @@ module Aws
|
|
|
209
209
|
) -> _CreatePresignedNotebookUrlResponseSuccess
|
|
210
210
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreatePresignedNotebookUrlResponseSuccess
|
|
211
211
|
|
|
212
|
+
interface _CreateSystemTableConfigurationResponseSuccess
|
|
213
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateSystemTableConfigurationOutput]
|
|
214
|
+
def table_name: () -> ("ALL")
|
|
215
|
+
def kms_key_arn: () -> ::String
|
|
216
|
+
def created_at: () -> ::Time
|
|
217
|
+
def last_modified_at: () -> ::Time
|
|
218
|
+
end
|
|
219
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Athena/Client.html#create_system_table_configuration-instance_method
|
|
220
|
+
def create_system_table_configuration: (
|
|
221
|
+
?client_request_token: ::String,
|
|
222
|
+
table_name: ("ALL"),
|
|
223
|
+
?kms_key_arn: ::String,
|
|
224
|
+
?tags: Array[
|
|
225
|
+
{
|
|
226
|
+
key: ::String?,
|
|
227
|
+
value: ::String?
|
|
228
|
+
}
|
|
229
|
+
]
|
|
230
|
+
) -> _CreateSystemTableConfigurationResponseSuccess
|
|
231
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateSystemTableConfigurationResponseSuccess
|
|
232
|
+
|
|
212
233
|
interface _CreateWorkGroupResponseSuccess
|
|
213
234
|
include ::Seahorse::Client::_ResponseSuccess[Types::CreateWorkGroupOutput]
|
|
214
235
|
end
|
|
@@ -247,7 +268,13 @@ module Aws
|
|
|
247
268
|
enable_s3_access_grants: bool,
|
|
248
269
|
create_user_level_prefix: bool?,
|
|
249
270
|
authentication_type: ("DIRECTORY_IDENTITY")
|
|
250
|
-
}
|
|
271
|
+
}?,
|
|
272
|
+
system_table_statuses: Array[
|
|
273
|
+
{
|
|
274
|
+
table_name: ("QUERY_EXECUTIONS"),
|
|
275
|
+
enabled: bool
|
|
276
|
+
}
|
|
277
|
+
]?
|
|
251
278
|
},
|
|
252
279
|
?description: ::String,
|
|
253
280
|
?tags: Array[
|
|
@@ -307,6 +334,15 @@ module Aws
|
|
|
307
334
|
) -> _DeletePreparedStatementResponseSuccess
|
|
308
335
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeletePreparedStatementResponseSuccess
|
|
309
336
|
|
|
337
|
+
interface _DeleteSystemTableConfigurationResponseSuccess
|
|
338
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteSystemTableConfigurationOutput]
|
|
339
|
+
end
|
|
340
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Athena/Client.html#delete_system_table_configuration-instance_method
|
|
341
|
+
def delete_system_table_configuration: (
|
|
342
|
+
table_name: ("ALL")
|
|
343
|
+
) -> _DeleteSystemTableConfigurationResponseSuccess
|
|
344
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteSystemTableConfigurationResponseSuccess
|
|
345
|
+
|
|
310
346
|
interface _DeleteWorkGroupResponseSuccess
|
|
311
347
|
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteWorkGroupOutput]
|
|
312
348
|
end
|
|
@@ -526,6 +562,19 @@ module Aws
|
|
|
526
562
|
) -> _GetSessionStatusResponseSuccess
|
|
527
563
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSessionStatusResponseSuccess
|
|
528
564
|
|
|
565
|
+
interface _GetSystemTableConfigurationResponseSuccess
|
|
566
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetSystemTableConfigurationOutput]
|
|
567
|
+
def table_name: () -> ("ALL")
|
|
568
|
+
def kms_key_arn: () -> ::String
|
|
569
|
+
def created_at: () -> ::Time
|
|
570
|
+
def last_modified_at: () -> ::Time
|
|
571
|
+
end
|
|
572
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Athena/Client.html#get_system_table_configuration-instance_method
|
|
573
|
+
def get_system_table_configuration: (
|
|
574
|
+
table_name: ("ALL")
|
|
575
|
+
) -> _GetSystemTableConfigurationResponseSuccess
|
|
576
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSystemTableConfigurationResponseSuccess
|
|
577
|
+
|
|
529
578
|
interface _GetTableMetadataResponseSuccess
|
|
530
579
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetTableMetadataOutput]
|
|
531
580
|
def table_metadata: () -> Types::TableMetadata
|
|
@@ -738,6 +787,18 @@ module Aws
|
|
|
738
787
|
) -> _ListSessionsResponseSuccess
|
|
739
788
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSessionsResponseSuccess
|
|
740
789
|
|
|
790
|
+
interface _ListSystemTableStatusesResponseSuccess
|
|
791
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListSystemTableStatusesOutput]
|
|
792
|
+
def items: () -> ::Array[Types::SystemTableStatus]
|
|
793
|
+
def next_token: () -> ::String
|
|
794
|
+
end
|
|
795
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Athena/Client.html#list_system_table_statuses-instance_method
|
|
796
|
+
def list_system_table_statuses: (
|
|
797
|
+
?next_token: ::String,
|
|
798
|
+
?max_results: ::Integer
|
|
799
|
+
) -> _ListSystemTableStatusesResponseSuccess
|
|
800
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSystemTableStatusesResponseSuccess
|
|
801
|
+
|
|
741
802
|
interface _ListTableMetadataResponseSuccess
|
|
742
803
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListTableMetadataOutput]
|
|
743
804
|
def table_metadata_list: () -> ::Array[Types::TableMetadata]
|
|
@@ -984,6 +1045,20 @@ module Aws
|
|
|
984
1045
|
) -> _UpdatePreparedStatementResponseSuccess
|
|
985
1046
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdatePreparedStatementResponseSuccess
|
|
986
1047
|
|
|
1048
|
+
interface _UpdateSystemTableConfigurationResponseSuccess
|
|
1049
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateSystemTableConfigurationOutput]
|
|
1050
|
+
def table_name: () -> ("ALL")
|
|
1051
|
+
def kms_key_arn: () -> ::String
|
|
1052
|
+
def created_at: () -> ::Time
|
|
1053
|
+
def last_modified_at: () -> ::Time
|
|
1054
|
+
end
|
|
1055
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Athena/Client.html#update_system_table_configuration-instance_method
|
|
1056
|
+
def update_system_table_configuration: (
|
|
1057
|
+
table_name: ("ALL"),
|
|
1058
|
+
?kms_key_arn: ::String
|
|
1059
|
+
) -> _UpdateSystemTableConfigurationResponseSuccess
|
|
1060
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateSystemTableConfigurationResponseSuccess
|
|
1061
|
+
|
|
987
1062
|
interface _UpdateWorkGroupResponseSuccess
|
|
988
1063
|
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateWorkGroupOutput]
|
|
989
1064
|
end
|
data/sig/types.rbs
CHANGED
|
@@ -242,6 +242,22 @@ module Aws::Athena
|
|
|
242
242
|
SENSITIVE: []
|
|
243
243
|
end
|
|
244
244
|
|
|
245
|
+
class CreateSystemTableConfigurationInput
|
|
246
|
+
attr_accessor client_request_token: ::String
|
|
247
|
+
attr_accessor table_name: ("ALL")
|
|
248
|
+
attr_accessor kms_key_arn: ::String
|
|
249
|
+
attr_accessor tags: ::Array[Types::Tag]
|
|
250
|
+
SENSITIVE: []
|
|
251
|
+
end
|
|
252
|
+
|
|
253
|
+
class CreateSystemTableConfigurationOutput
|
|
254
|
+
attr_accessor table_name: ("ALL")
|
|
255
|
+
attr_accessor kms_key_arn: ::String
|
|
256
|
+
attr_accessor created_at: ::Time
|
|
257
|
+
attr_accessor last_modified_at: ::Time
|
|
258
|
+
SENSITIVE: []
|
|
259
|
+
end
|
|
260
|
+
|
|
245
261
|
class CreateWorkGroupInput
|
|
246
262
|
attr_accessor name: ::String
|
|
247
263
|
attr_accessor configuration: Types::WorkGroupConfiguration
|
|
@@ -334,6 +350,14 @@ module Aws::Athena
|
|
|
334
350
|
class DeletePreparedStatementOutput < Aws::EmptyStructure
|
|
335
351
|
end
|
|
336
352
|
|
|
353
|
+
class DeleteSystemTableConfigurationInput
|
|
354
|
+
attr_accessor table_name: ("ALL")
|
|
355
|
+
SENSITIVE: []
|
|
356
|
+
end
|
|
357
|
+
|
|
358
|
+
class DeleteSystemTableConfigurationOutput < Aws::EmptyStructure
|
|
359
|
+
end
|
|
360
|
+
|
|
337
361
|
class DeleteWorkGroupInput
|
|
338
362
|
attr_accessor work_group: ::String
|
|
339
363
|
attr_accessor recursive_delete_option: bool
|
|
@@ -589,6 +613,19 @@ module Aws::Athena
|
|
|
589
613
|
SENSITIVE: []
|
|
590
614
|
end
|
|
591
615
|
|
|
616
|
+
class GetSystemTableConfigurationInput
|
|
617
|
+
attr_accessor table_name: ("ALL")
|
|
618
|
+
SENSITIVE: []
|
|
619
|
+
end
|
|
620
|
+
|
|
621
|
+
class GetSystemTableConfigurationOutput
|
|
622
|
+
attr_accessor table_name: ("ALL")
|
|
623
|
+
attr_accessor kms_key_arn: ::String
|
|
624
|
+
attr_accessor created_at: ::Time
|
|
625
|
+
attr_accessor last_modified_at: ::Time
|
|
626
|
+
SENSITIVE: []
|
|
627
|
+
end
|
|
628
|
+
|
|
592
629
|
class GetTableMetadataInput
|
|
593
630
|
attr_accessor catalog_name: ::String
|
|
594
631
|
attr_accessor database_name: ::String
|
|
@@ -816,6 +853,18 @@ module Aws::Athena
|
|
|
816
853
|
SENSITIVE: []
|
|
817
854
|
end
|
|
818
855
|
|
|
856
|
+
class ListSystemTableStatusesInput
|
|
857
|
+
attr_accessor next_token: ::String
|
|
858
|
+
attr_accessor max_results: ::Integer
|
|
859
|
+
SENSITIVE: []
|
|
860
|
+
end
|
|
861
|
+
|
|
862
|
+
class ListSystemTableStatusesOutput
|
|
863
|
+
attr_accessor items: ::Array[Types::SystemTableStatus]
|
|
864
|
+
attr_accessor next_token: ::String
|
|
865
|
+
SENSITIVE: []
|
|
866
|
+
end
|
|
867
|
+
|
|
819
868
|
class ListTableMetadataInput
|
|
820
869
|
attr_accessor catalog_name: ::String
|
|
821
870
|
attr_accessor database_name: ::String
|
|
@@ -1216,6 +1265,12 @@ module Aws::Athena
|
|
|
1216
1265
|
class StopQueryExecutionOutput < Aws::EmptyStructure
|
|
1217
1266
|
end
|
|
1218
1267
|
|
|
1268
|
+
class SystemTableStatus
|
|
1269
|
+
attr_accessor table_name: ("QUERY_EXECUTIONS")
|
|
1270
|
+
attr_accessor enabled: bool
|
|
1271
|
+
SENSITIVE: []
|
|
1272
|
+
end
|
|
1273
|
+
|
|
1219
1274
|
class TableMetadata
|
|
1220
1275
|
attr_accessor name: ::String
|
|
1221
1276
|
attr_accessor create_time: ::Time
|
|
@@ -1352,6 +1407,20 @@ module Aws::Athena
|
|
|
1352
1407
|
class UpdatePreparedStatementOutput < Aws::EmptyStructure
|
|
1353
1408
|
end
|
|
1354
1409
|
|
|
1410
|
+
class UpdateSystemTableConfigurationInput
|
|
1411
|
+
attr_accessor table_name: ("ALL")
|
|
1412
|
+
attr_accessor kms_key_arn: ::String
|
|
1413
|
+
SENSITIVE: []
|
|
1414
|
+
end
|
|
1415
|
+
|
|
1416
|
+
class UpdateSystemTableConfigurationOutput
|
|
1417
|
+
attr_accessor table_name: ("ALL")
|
|
1418
|
+
attr_accessor kms_key_arn: ::String
|
|
1419
|
+
attr_accessor created_at: ::Time
|
|
1420
|
+
attr_accessor last_modified_at: ::Time
|
|
1421
|
+
SENSITIVE: []
|
|
1422
|
+
end
|
|
1423
|
+
|
|
1355
1424
|
class UpdateWorkGroupInput
|
|
1356
1425
|
attr_accessor work_group: ::String
|
|
1357
1426
|
attr_accessor description: ::String
|
|
@@ -1389,6 +1458,7 @@ module Aws::Athena
|
|
|
1389
1458
|
attr_accessor enable_minimum_encryption_configuration: bool
|
|
1390
1459
|
attr_accessor identity_center_configuration: Types::IdentityCenterConfiguration
|
|
1391
1460
|
attr_accessor query_results_s3_access_grants_configuration: Types::QueryResultsS3AccessGrantsConfiguration
|
|
1461
|
+
attr_accessor system_table_statuses: ::Array[Types::SystemTableStatus]
|
|
1392
1462
|
SENSITIVE: []
|
|
1393
1463
|
end
|
|
1394
1464
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-sdk-athena
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.132.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
@@ -18,7 +18,7 @@ dependencies:
|
|
|
18
18
|
version: '3'
|
|
19
19
|
- - ">="
|
|
20
20
|
- !ruby/object:Gem::Version
|
|
21
|
-
version: 3.
|
|
21
|
+
version: 3.265.0
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -28,7 +28,7 @@ dependencies:
|
|
|
28
28
|
version: '3'
|
|
29
29
|
- - ">="
|
|
30
30
|
- !ruby/object:Gem::Version
|
|
31
|
-
version: 3.
|
|
31
|
+
version: 3.265.0
|
|
32
32
|
- !ruby/object:Gem::Dependency
|
|
33
33
|
name: aws-sigv4
|
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|