aws-sdk-athena 1.104.0 → 1.107.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 +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-athena/client.rb +46 -9
- data/lib/aws-sdk-athena/client_api.rb +20 -0
- data/lib/aws-sdk-athena/types.rb +105 -2
- data/lib/aws-sdk-athena.rb +1 -1
- data/sig/client.rbs +16 -1
- data/sig/resource.rbs +1 -0
- data/sig/types.rbs +22 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2151c1803740dcdaba278212f182447bd80ff62731c40dc4ff649fd5b11f2671
|
4
|
+
data.tar.gz: 70459a85a59185fce32b05fb3c143b715d9db6328e0d6f3d3559d78e60c7ed1d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 396fcae119f243b44f67c875c33cddf63febd92ee50098a2a9920b67115d3f8f90a0f1716f11247c8751150daae12313cbc07bacc86b9e595229404cbb8f1d4c
|
7
|
+
data.tar.gz: b609a6c47a78b0ed33e42ce3b07230097e2b7edf92c9edb19306f7a6110f586761858528f1f5dfa28cc25404160f023aed9fc6422bbaf4688cf0ccdb53357baa
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,21 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.107.0 (2025-07-31)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.106.0 (2025-07-21)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.105.0 (2025-06-02)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Add support for the managed query result in the workgroup APIs. The managed query result configuration enables users to store query results to Athena owned storage.
|
18
|
+
|
4
19
|
1.104.0 (2025-05-12)
|
5
20
|
------------------
|
6
21
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.107.0
|
@@ -95,7 +95,7 @@ module Aws::Athena
|
|
95
95
|
# class name or an instance of a plugin class.
|
96
96
|
#
|
97
97
|
# @option options [required, Aws::CredentialProvider] :credentials
|
98
|
-
# Your AWS credentials. This can be an instance of any one of the
|
98
|
+
# Your AWS credentials used for authentication. This can be an instance of any one of the
|
99
99
|
# following classes:
|
100
100
|
#
|
101
101
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
@@ -128,18 +128,23 @@ module Aws::Athena
|
|
128
128
|
# locations will be searched for credentials:
|
129
129
|
#
|
130
130
|
# * `Aws.config[:credentials]`
|
131
|
+
#
|
131
132
|
# * The `:access_key_id`, `:secret_access_key`, `:session_token`, and
|
132
133
|
# `:account_id` options.
|
133
|
-
#
|
134
|
-
#
|
134
|
+
#
|
135
|
+
# * `ENV['AWS_ACCESS_KEY_ID']`, `ENV['AWS_SECRET_ACCESS_KEY']`,
|
136
|
+
# `ENV['AWS_SESSION_TOKEN']`, and `ENV['AWS_ACCOUNT_ID']`.
|
137
|
+
#
|
135
138
|
# * `~/.aws/credentials`
|
139
|
+
#
|
136
140
|
# * `~/.aws/config`
|
141
|
+
#
|
137
142
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
138
143
|
# are very aggressive. Construct and pass an instance of
|
139
144
|
# `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
|
140
145
|
# enable retries and extended timeouts. Instance profile credential
|
141
|
-
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
142
|
-
# to true
|
146
|
+
# fetching can be disabled by setting `ENV['AWS_EC2_METADATA_DISABLED']`
|
147
|
+
# to `true`.
|
143
148
|
#
|
144
149
|
# @option options [required, String] :region
|
145
150
|
# The AWS region to connect to. The configured `:region` is
|
@@ -167,6 +172,11 @@ module Aws::Athena
|
|
167
172
|
# When false, the request will raise a `RetryCapacityNotAvailableError` and will
|
168
173
|
# not retry instead of sleeping.
|
169
174
|
#
|
175
|
+
# @option options [Array<String>] :auth_scheme_preference
|
176
|
+
# A list of preferred authentication schemes to use when making a request. Supported values are:
|
177
|
+
# `sigv4`, `sigv4a`, `httpBearerAuth`, and `noAuth`. When set using `ENV['AWS_AUTH_SCHEME_PREFERENCE']` or in
|
178
|
+
# shared config as `auth_scheme_preference`, the value should be a comma-separated list.
|
179
|
+
#
|
170
180
|
# @option options [Boolean] :client_side_monitoring (false)
|
171
181
|
# When `true`, client-side metrics will be collected for all API requests from
|
172
182
|
# this client.
|
@@ -253,8 +263,8 @@ module Aws::Athena
|
|
253
263
|
# 4 times. Used in `standard` and `adaptive` retry modes.
|
254
264
|
#
|
255
265
|
# @option options [String] :profile ("default")
|
256
|
-
# Used when loading credentials from the shared credentials file
|
257
|
-
#
|
266
|
+
# Used when loading credentials from the shared credentials file at `HOME/.aws/credentials`.
|
267
|
+
# When not specified, 'default' is used.
|
258
268
|
#
|
259
269
|
# @option options [String] :request_checksum_calculation ("when_supported")
|
260
270
|
# Determines when a checksum will be calculated for request payloads. Values are:
|
@@ -374,7 +384,7 @@ module Aws::Athena
|
|
374
384
|
# `Aws::Telemetry::OTelProvider` for telemetry provider.
|
375
385
|
#
|
376
386
|
# @option options [Aws::TokenProvider] :token_provider
|
377
|
-
#
|
387
|
+
# Your Bearer token used for authentication. This can be an instance of any one of the
|
378
388
|
# following classes:
|
379
389
|
#
|
380
390
|
# * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
|
@@ -599,6 +609,8 @@ module Aws::Athena
|
|
599
609
|
# resp.query_executions[0].query_execution_id #=> String
|
600
610
|
# resp.query_executions[0].query #=> String
|
601
611
|
# resp.query_executions[0].statement_type #=> String, one of "DDL", "DML", "UTILITY"
|
612
|
+
# resp.query_executions[0].managed_query_results_configuration.enabled #=> Boolean
|
613
|
+
# resp.query_executions[0].managed_query_results_configuration.encryption_configuration.kms_key #=> String
|
602
614
|
# resp.query_executions[0].result_configuration.output_location #=> String
|
603
615
|
# resp.query_executions[0].result_configuration.encryption_configuration.encryption_option #=> String, one of "SSE_S3", "SSE_KMS", "CSE_KMS"
|
604
616
|
# resp.query_executions[0].result_configuration.encryption_configuration.kms_key #=> String
|
@@ -1091,6 +1103,12 @@ module Aws::Athena
|
|
1091
1103
|
# s3_acl_option: "BUCKET_OWNER_FULL_CONTROL", # required, accepts BUCKET_OWNER_FULL_CONTROL
|
1092
1104
|
# },
|
1093
1105
|
# },
|
1106
|
+
# managed_query_results_configuration: {
|
1107
|
+
# enabled: false, # required
|
1108
|
+
# encryption_configuration: {
|
1109
|
+
# kms_key: "KmsKey", # required
|
1110
|
+
# },
|
1111
|
+
# },
|
1094
1112
|
# enforce_work_group_configuration: false,
|
1095
1113
|
# publish_cloud_watch_metrics_enabled: false,
|
1096
1114
|
# bytes_scanned_cutoff_per_query: 1,
|
@@ -1728,6 +1746,8 @@ module Aws::Athena
|
|
1728
1746
|
# resp.query_execution.query_execution_id #=> String
|
1729
1747
|
# resp.query_execution.query #=> String
|
1730
1748
|
# resp.query_execution.statement_type #=> String, one of "DDL", "DML", "UTILITY"
|
1749
|
+
# resp.query_execution.managed_query_results_configuration.enabled #=> Boolean
|
1750
|
+
# resp.query_execution.managed_query_results_configuration.encryption_configuration.kms_key #=> String
|
1731
1751
|
# resp.query_execution.result_configuration.output_location #=> String
|
1732
1752
|
# resp.query_execution.result_configuration.encryption_configuration.encryption_option #=> String, one of "SSE_S3", "SSE_KMS", "CSE_KMS"
|
1733
1753
|
# resp.query_execution.result_configuration.encryption_configuration.kms_key #=> String
|
@@ -1806,6 +1826,13 @@ module Aws::Athena
|
|
1806
1826
|
# @option params [Integer] :max_results
|
1807
1827
|
# The maximum number of results (rows) to return in this request.
|
1808
1828
|
#
|
1829
|
+
# @option params [String] :query_result_type
|
1830
|
+
# When you set this to `DATA_ROWS` or empty, `GetQueryResults` returns
|
1831
|
+
# the query results in rows. If set to `DATA_MANIFEST`, it returns the
|
1832
|
+
# manifest file in rows. Only the query types `CREATE TABLE AS SELECT`,
|
1833
|
+
# `UNLOAD`, and `INSERT` can generate a manifest file. If you use
|
1834
|
+
# `DATA_MANIFEST` for other query types, the query will fail.
|
1835
|
+
#
|
1809
1836
|
# @return [Types::GetQueryResultsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1810
1837
|
#
|
1811
1838
|
# * {Types::GetQueryResultsOutput#update_count #update_count} => Integer
|
@@ -1820,6 +1847,7 @@ module Aws::Athena
|
|
1820
1847
|
# query_execution_id: "QueryExecutionId", # required
|
1821
1848
|
# next_token: "Token",
|
1822
1849
|
# max_results: 1,
|
1850
|
+
# query_result_type: "DATA_MANIFEST", # accepts DATA_MANIFEST, DATA_ROWS
|
1823
1851
|
# })
|
1824
1852
|
#
|
1825
1853
|
# @example Response structure
|
@@ -2085,6 +2113,8 @@ module Aws::Athena
|
|
2085
2113
|
# resp.work_group.configuration.result_configuration.encryption_configuration.kms_key #=> String
|
2086
2114
|
# resp.work_group.configuration.result_configuration.expected_bucket_owner #=> String
|
2087
2115
|
# resp.work_group.configuration.result_configuration.acl_configuration.s3_acl_option #=> String, one of "BUCKET_OWNER_FULL_CONTROL"
|
2116
|
+
# resp.work_group.configuration.managed_query_results_configuration.enabled #=> Boolean
|
2117
|
+
# resp.work_group.configuration.managed_query_results_configuration.encryption_configuration.kms_key #=> String
|
2088
2118
|
# resp.work_group.configuration.enforce_work_group_configuration #=> Boolean
|
2089
2119
|
# resp.work_group.configuration.publish_cloud_watch_metrics_enabled #=> Boolean
|
2090
2120
|
# resp.work_group.configuration.bytes_scanned_cutoff_per_query #=> Integer
|
@@ -3783,6 +3813,13 @@ module Aws::Athena
|
|
3783
3813
|
# },
|
3784
3814
|
# remove_acl_configuration: false,
|
3785
3815
|
# },
|
3816
|
+
# managed_query_results_configuration_updates: {
|
3817
|
+
# enabled: false,
|
3818
|
+
# encryption_configuration: {
|
3819
|
+
# kms_key: "KmsKey", # required
|
3820
|
+
# },
|
3821
|
+
# remove_encryption_configuration: false,
|
3822
|
+
# },
|
3786
3823
|
# publish_cloud_watch_metrics_enabled: false,
|
3787
3824
|
# bytes_scanned_cutoff_per_query: 1,
|
3788
3825
|
# remove_bytes_scanned_cutoff_per_query: false,
|
@@ -3834,7 +3871,7 @@ module Aws::Athena
|
|
3834
3871
|
tracer: tracer
|
3835
3872
|
)
|
3836
3873
|
context[:gem_name] = 'aws-sdk-athena'
|
3837
|
-
context[:gem_version] = '1.
|
3874
|
+
context[:gem_version] = '1.107.0'
|
3838
3875
|
Seahorse::Client::Request.new(handlers, context)
|
3839
3876
|
end
|
3840
3877
|
|
@@ -201,6 +201,9 @@ module Aws::Athena
|
|
201
201
|
ListWorkGroupsInput = Shapes::StructureShape.new(name: 'ListWorkGroupsInput')
|
202
202
|
ListWorkGroupsOutput = Shapes::StructureShape.new(name: 'ListWorkGroupsOutput')
|
203
203
|
Long = Shapes::IntegerShape.new(name: 'Long')
|
204
|
+
ManagedQueryResultsConfiguration = Shapes::StructureShape.new(name: 'ManagedQueryResultsConfiguration')
|
205
|
+
ManagedQueryResultsConfigurationUpdates = Shapes::StructureShape.new(name: 'ManagedQueryResultsConfigurationUpdates')
|
206
|
+
ManagedQueryResultsEncryptionConfiguration = Shapes::StructureShape.new(name: 'ManagedQueryResultsEncryptionConfiguration')
|
204
207
|
MaxApplicationDPUSizesCount = Shapes::IntegerShape.new(name: 'MaxApplicationDPUSizesCount')
|
205
208
|
MaxCalculationsCount = Shapes::IntegerShape.new(name: 'MaxCalculationsCount')
|
206
209
|
MaxCapacityReservationsCount = Shapes::IntegerShape.new(name: 'MaxCapacityReservationsCount')
|
@@ -250,6 +253,7 @@ module Aws::Athena
|
|
250
253
|
QueryExecutionState = Shapes::StringShape.new(name: 'QueryExecutionState')
|
251
254
|
QueryExecutionStatistics = Shapes::StructureShape.new(name: 'QueryExecutionStatistics')
|
252
255
|
QueryExecutionStatus = Shapes::StructureShape.new(name: 'QueryExecutionStatus')
|
256
|
+
QueryResultType = Shapes::StringShape.new(name: 'QueryResultType')
|
253
257
|
QueryResultsS3AccessGrantsConfiguration = Shapes::StructureShape.new(name: 'QueryResultsS3AccessGrantsConfiguration')
|
254
258
|
QueryRuntimeStatistics = Shapes::StructureShape.new(name: 'QueryRuntimeStatistics')
|
255
259
|
QueryRuntimeStatisticsRows = Shapes::StructureShape.new(name: 'QueryRuntimeStatisticsRows')
|
@@ -709,6 +713,7 @@ module Aws::Athena
|
|
709
713
|
GetQueryResultsInput.add_member(:query_execution_id, Shapes::ShapeRef.new(shape: QueryExecutionId, required: true, location_name: "QueryExecutionId"))
|
710
714
|
GetQueryResultsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
|
711
715
|
GetQueryResultsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxQueryResults, location_name: "MaxResults"))
|
716
|
+
GetQueryResultsInput.add_member(:query_result_type, Shapes::ShapeRef.new(shape: QueryResultType, location_name: "QueryResultType"))
|
712
717
|
GetQueryResultsInput.struct_class = Types::GetQueryResultsInput
|
713
718
|
|
714
719
|
GetQueryResultsOutput.add_member(:update_count, Shapes::ShapeRef.new(shape: Long, location_name: "UpdateCount"))
|
@@ -929,6 +934,18 @@ module Aws::Athena
|
|
929
934
|
ListWorkGroupsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
|
930
935
|
ListWorkGroupsOutput.struct_class = Types::ListWorkGroupsOutput
|
931
936
|
|
937
|
+
ManagedQueryResultsConfiguration.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "Enabled"))
|
938
|
+
ManagedQueryResultsConfiguration.add_member(:encryption_configuration, Shapes::ShapeRef.new(shape: ManagedQueryResultsEncryptionConfiguration, location_name: "EncryptionConfiguration"))
|
939
|
+
ManagedQueryResultsConfiguration.struct_class = Types::ManagedQueryResultsConfiguration
|
940
|
+
|
941
|
+
ManagedQueryResultsConfigurationUpdates.add_member(:enabled, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "Enabled"))
|
942
|
+
ManagedQueryResultsConfigurationUpdates.add_member(:encryption_configuration, Shapes::ShapeRef.new(shape: ManagedQueryResultsEncryptionConfiguration, location_name: "EncryptionConfiguration"))
|
943
|
+
ManagedQueryResultsConfigurationUpdates.add_member(:remove_encryption_configuration, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "RemoveEncryptionConfiguration"))
|
944
|
+
ManagedQueryResultsConfigurationUpdates.struct_class = Types::ManagedQueryResultsConfigurationUpdates
|
945
|
+
|
946
|
+
ManagedQueryResultsEncryptionConfiguration.add_member(:kms_key, Shapes::ShapeRef.new(shape: KmsKey, required: true, location_name: "KmsKey"))
|
947
|
+
ManagedQueryResultsEncryptionConfiguration.struct_class = Types::ManagedQueryResultsEncryptionConfiguration
|
948
|
+
|
932
949
|
MetadataException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
933
950
|
MetadataException.struct_class = Types::MetadataException
|
934
951
|
|
@@ -989,6 +1006,7 @@ module Aws::Athena
|
|
989
1006
|
QueryExecution.add_member(:query_execution_id, Shapes::ShapeRef.new(shape: QueryExecutionId, location_name: "QueryExecutionId"))
|
990
1007
|
QueryExecution.add_member(:query, Shapes::ShapeRef.new(shape: QueryString, location_name: "Query"))
|
991
1008
|
QueryExecution.add_member(:statement_type, Shapes::ShapeRef.new(shape: StatementType, location_name: "StatementType"))
|
1009
|
+
QueryExecution.add_member(:managed_query_results_configuration, Shapes::ShapeRef.new(shape: ManagedQueryResultsConfiguration, location_name: "ManagedQueryResultsConfiguration"))
|
992
1010
|
QueryExecution.add_member(:result_configuration, Shapes::ShapeRef.new(shape: ResultConfiguration, location_name: "ResultConfiguration"))
|
993
1011
|
QueryExecution.add_member(:result_reuse_configuration, Shapes::ShapeRef.new(shape: ResultReuseConfiguration, location_name: "ResultReuseConfiguration"))
|
994
1012
|
QueryExecution.add_member(:query_execution_context, Shapes::ShapeRef.new(shape: QueryExecutionContext, location_name: "QueryExecutionContext"))
|
@@ -1318,6 +1336,7 @@ module Aws::Athena
|
|
1318
1336
|
WorkGroup.struct_class = Types::WorkGroup
|
1319
1337
|
|
1320
1338
|
WorkGroupConfiguration.add_member(:result_configuration, Shapes::ShapeRef.new(shape: ResultConfiguration, location_name: "ResultConfiguration"))
|
1339
|
+
WorkGroupConfiguration.add_member(:managed_query_results_configuration, Shapes::ShapeRef.new(shape: ManagedQueryResultsConfiguration, location_name: "ManagedQueryResultsConfiguration"))
|
1321
1340
|
WorkGroupConfiguration.add_member(:enforce_work_group_configuration, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "EnforceWorkGroupConfiguration"))
|
1322
1341
|
WorkGroupConfiguration.add_member(:publish_cloud_watch_metrics_enabled, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "PublishCloudWatchMetricsEnabled"))
|
1323
1342
|
WorkGroupConfiguration.add_member(:bytes_scanned_cutoff_per_query, Shapes::ShapeRef.new(shape: BytesScannedCutoffValue, location_name: "BytesScannedCutoffPerQuery"))
|
@@ -1333,6 +1352,7 @@ module Aws::Athena
|
|
1333
1352
|
|
1334
1353
|
WorkGroupConfigurationUpdates.add_member(:enforce_work_group_configuration, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "EnforceWorkGroupConfiguration"))
|
1335
1354
|
WorkGroupConfigurationUpdates.add_member(:result_configuration_updates, Shapes::ShapeRef.new(shape: ResultConfigurationUpdates, location_name: "ResultConfigurationUpdates"))
|
1355
|
+
WorkGroupConfigurationUpdates.add_member(:managed_query_results_configuration_updates, Shapes::ShapeRef.new(shape: ManagedQueryResultsConfigurationUpdates, location_name: "ManagedQueryResultsConfigurationUpdates"))
|
1336
1356
|
WorkGroupConfigurationUpdates.add_member(:publish_cloud_watch_metrics_enabled, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "PublishCloudWatchMetricsEnabled"))
|
1337
1357
|
WorkGroupConfigurationUpdates.add_member(:bytes_scanned_cutoff_per_query, Shapes::ShapeRef.new(shape: BytesScannedCutoffValue, location_name: "BytesScannedCutoffPerQuery"))
|
1338
1358
|
WorkGroupConfigurationUpdates.add_member(:remove_bytes_scanned_cutoff_per_query, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "RemoveBytesScannedCutoffPerQuery"))
|
data/lib/aws-sdk-athena/types.rb
CHANGED
@@ -1893,12 +1893,21 @@ module Aws::Athena
|
|
1893
1893
|
# The maximum number of results (rows) to return in this request.
|
1894
1894
|
# @return [Integer]
|
1895
1895
|
#
|
1896
|
+
# @!attribute [rw] query_result_type
|
1897
|
+
# When you set this to `DATA_ROWS` or empty, `GetQueryResults` returns
|
1898
|
+
# the query results in rows. If set to `DATA_MANIFEST`, it returns the
|
1899
|
+
# manifest file in rows. Only the query types `CREATE TABLE AS
|
1900
|
+
# SELECT`, `UNLOAD`, and `INSERT` can generate a manifest file. If you
|
1901
|
+
# use `DATA_MANIFEST` for other query types, the query will fail.
|
1902
|
+
# @return [String]
|
1903
|
+
#
|
1896
1904
|
# @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/GetQueryResultsInput AWS API Documentation
|
1897
1905
|
#
|
1898
1906
|
class GetQueryResultsInput < Struct.new(
|
1899
1907
|
:query_execution_id,
|
1900
1908
|
:next_token,
|
1901
|
-
:max_results
|
1909
|
+
:max_results,
|
1910
|
+
:query_result_type)
|
1902
1911
|
SENSITIVE = []
|
1903
1912
|
include Aws::Structure
|
1904
1913
|
end
|
@@ -3029,6 +3038,80 @@ module Aws::Athena
|
|
3029
3038
|
include Aws::Structure
|
3030
3039
|
end
|
3031
3040
|
|
3041
|
+
# The configuration for storing results in Athena owned storage, which
|
3042
|
+
# includes whether this feature is enabled; whether encryption
|
3043
|
+
# configuration, if any, is used for encrypting query results.
|
3044
|
+
#
|
3045
|
+
# @!attribute [rw] enabled
|
3046
|
+
# If set to true, allows you to store query results in Athena owned
|
3047
|
+
# storage. If set to false, workgroup member stores query results in
|
3048
|
+
# location specified under `ResultConfiguration$OutputLocation`. The
|
3049
|
+
# default is false. A workgroup cannot have the
|
3050
|
+
# `ResultConfiguration$OutputLocation` parameter when you set this
|
3051
|
+
# field to true.
|
3052
|
+
# @return [Boolean]
|
3053
|
+
#
|
3054
|
+
# @!attribute [rw] encryption_configuration
|
3055
|
+
# If you encrypt query and calculation results in Athena owned
|
3056
|
+
# storage, this field indicates the encryption option (for example,
|
3057
|
+
# SSE\_KMS or CSE\_KMS) and key information.
|
3058
|
+
# @return [Types::ManagedQueryResultsEncryptionConfiguration]
|
3059
|
+
#
|
3060
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/ManagedQueryResultsConfiguration AWS API Documentation
|
3061
|
+
#
|
3062
|
+
class ManagedQueryResultsConfiguration < Struct.new(
|
3063
|
+
:enabled,
|
3064
|
+
:encryption_configuration)
|
3065
|
+
SENSITIVE = []
|
3066
|
+
include Aws::Structure
|
3067
|
+
end
|
3068
|
+
|
3069
|
+
# Updates the configuration for managed query results.
|
3070
|
+
#
|
3071
|
+
# @!attribute [rw] enabled
|
3072
|
+
# If set to true, specifies that Athena manages query results in
|
3073
|
+
# Athena owned storage.
|
3074
|
+
# @return [Boolean]
|
3075
|
+
#
|
3076
|
+
# @!attribute [rw] encryption_configuration
|
3077
|
+
# If you encrypt query and calculation results in Athena owned
|
3078
|
+
# storage, this field indicates the encryption option (for example,
|
3079
|
+
# SSE\_KMS or CSE\_KMS) and key information.
|
3080
|
+
# @return [Types::ManagedQueryResultsEncryptionConfiguration]
|
3081
|
+
#
|
3082
|
+
# @!attribute [rw] remove_encryption_configuration
|
3083
|
+
# If set to true, it removes workgroup from Athena owned storage. The
|
3084
|
+
# existing query results are cleaned up after 24hrs. You must provide
|
3085
|
+
# query results in location specified under
|
3086
|
+
# `ResultConfiguration$OutputLocation`.
|
3087
|
+
# @return [Boolean]
|
3088
|
+
#
|
3089
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/ManagedQueryResultsConfigurationUpdates AWS API Documentation
|
3090
|
+
#
|
3091
|
+
class ManagedQueryResultsConfigurationUpdates < Struct.new(
|
3092
|
+
:enabled,
|
3093
|
+
:encryption_configuration,
|
3094
|
+
:remove_encryption_configuration)
|
3095
|
+
SENSITIVE = []
|
3096
|
+
include Aws::Structure
|
3097
|
+
end
|
3098
|
+
|
3099
|
+
# If you encrypt query and calculation results in Athena owned storage,
|
3100
|
+
# this field indicates the encryption option (for example, SSE\_KMS or
|
3101
|
+
# CSE\_KMS) and key information.
|
3102
|
+
#
|
3103
|
+
# @!attribute [rw] kms_key
|
3104
|
+
# The ARN of an KMS key for encrypting managed query results.
|
3105
|
+
# @return [String]
|
3106
|
+
#
|
3107
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/ManagedQueryResultsEncryptionConfiguration AWS API Documentation
|
3108
|
+
#
|
3109
|
+
class ManagedQueryResultsEncryptionConfiguration < Struct.new(
|
3110
|
+
:kms_key)
|
3111
|
+
SENSITIVE = []
|
3112
|
+
include Aws::Structure
|
3113
|
+
end
|
3114
|
+
|
3032
3115
|
# An exception that Athena received when it called a custom metastore.
|
3033
3116
|
# Occurs if the error is not caused by user input
|
3034
3117
|
# (`InvalidRequestException`) or from the Athena platform
|
@@ -3237,9 +3320,15 @@ module Aws::Athena
|
|
3237
3320
|
# statements. `DML` indicates DML (Data Manipulation Language) query
|
3238
3321
|
# statements, such as `CREATE TABLE AS SELECT`. `UTILITY` indicates
|
3239
3322
|
# query statements other than DDL and DML, such as `SHOW CREATE
|
3240
|
-
# TABLE`,
|
3323
|
+
# TABLE`, or `DESCRIBE TABLE`.
|
3241
3324
|
# @return [String]
|
3242
3325
|
#
|
3326
|
+
# @!attribute [rw] managed_query_results_configuration
|
3327
|
+
# The configuration for storing results in Athena owned storage, which
|
3328
|
+
# includes whether this feature is enabled; whether encryption
|
3329
|
+
# configuration, if any, is used for encrypting query results.
|
3330
|
+
# @return [Types::ManagedQueryResultsConfiguration]
|
3331
|
+
#
|
3243
3332
|
# @!attribute [rw] result_configuration
|
3244
3333
|
# The location in Amazon S3 where query and calculation results are
|
3245
3334
|
# stored and the encryption option, if any, used for query results.
|
@@ -3299,6 +3388,7 @@ module Aws::Athena
|
|
3299
3388
|
:query_execution_id,
|
3300
3389
|
:query,
|
3301
3390
|
:statement_type,
|
3391
|
+
:managed_query_results_configuration,
|
3302
3392
|
:result_configuration,
|
3303
3393
|
:result_reuse_configuration,
|
3304
3394
|
:query_execution_context,
|
@@ -5081,6 +5171,12 @@ module Aws::Athena
|
|
5081
5171
|
# issues an error that no output location is provided.
|
5082
5172
|
# @return [Types::ResultConfiguration]
|
5083
5173
|
#
|
5174
|
+
# @!attribute [rw] managed_query_results_configuration
|
5175
|
+
# The configuration for storing results in Athena owned storage, which
|
5176
|
+
# includes whether this feature is enabled; whether encryption
|
5177
|
+
# configuration, if any, is used for encrypting query results.
|
5178
|
+
# @return [Types::ManagedQueryResultsConfiguration]
|
5179
|
+
#
|
5084
5180
|
# @!attribute [rw] enforce_work_group_configuration
|
5085
5181
|
# If set to "true", the settings for the workgroup override
|
5086
5182
|
# client-side settings. If set to "false", client-side settings are
|
@@ -5167,6 +5263,7 @@ module Aws::Athena
|
|
5167
5263
|
#
|
5168
5264
|
class WorkGroupConfiguration < Struct.new(
|
5169
5265
|
:result_configuration,
|
5266
|
+
:managed_query_results_configuration,
|
5170
5267
|
:enforce_work_group_configuration,
|
5171
5268
|
:publish_cloud_watch_metrics_enabled,
|
5172
5269
|
:bytes_scanned_cutoff_per_query,
|
@@ -5207,6 +5304,11 @@ module Aws::Athena
|
|
5207
5304
|
# location and an updated option for encrypting query results.
|
5208
5305
|
# @return [Types::ResultConfigurationUpdates]
|
5209
5306
|
#
|
5307
|
+
# @!attribute [rw] managed_query_results_configuration_updates
|
5308
|
+
# Updates configuration information for managed query results in the
|
5309
|
+
# workgroup.
|
5310
|
+
# @return [Types::ManagedQueryResultsConfigurationUpdates]
|
5311
|
+
#
|
5210
5312
|
# @!attribute [rw] publish_cloud_watch_metrics_enabled
|
5211
5313
|
# Indicates whether this workgroup enables publishing metrics to
|
5212
5314
|
# Amazon CloudWatch.
|
@@ -5292,6 +5394,7 @@ module Aws::Athena
|
|
5292
5394
|
class WorkGroupConfigurationUpdates < Struct.new(
|
5293
5395
|
:enforce_work_group_configuration,
|
5294
5396
|
:result_configuration_updates,
|
5397
|
+
:managed_query_results_configuration_updates,
|
5295
5398
|
:publish_cloud_watch_metrics_enabled,
|
5296
5399
|
:bytes_scanned_cutoff_per_query,
|
5297
5400
|
:remove_bytes_scanned_cutoff_per_query,
|
data/lib/aws-sdk-athena.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -18,6 +18,7 @@ module Aws
|
|
18
18
|
?account_id: String,
|
19
19
|
?active_endpoint_cache: bool,
|
20
20
|
?adaptive_retry_wait_to_fill: bool,
|
21
|
+
?auth_scheme_preference: Array[String],
|
21
22
|
?client_side_monitoring: bool,
|
22
23
|
?client_side_monitoring_client_id: String,
|
23
24
|
?client_side_monitoring_host: String,
|
@@ -225,6 +226,12 @@ module Aws
|
|
225
226
|
s3_acl_option: ("BUCKET_OWNER_FULL_CONTROL")
|
226
227
|
}?
|
227
228
|
}?,
|
229
|
+
managed_query_results_configuration: {
|
230
|
+
enabled: bool,
|
231
|
+
encryption_configuration: {
|
232
|
+
kms_key: ::String
|
233
|
+
}?
|
234
|
+
}?,
|
228
235
|
enforce_work_group_configuration: bool?,
|
229
236
|
publish_cloud_watch_metrics_enabled: bool?,
|
230
237
|
bytes_scanned_cutoff_per_query: ::Integer?,
|
@@ -459,7 +466,8 @@ module Aws
|
|
459
466
|
def get_query_results: (
|
460
467
|
query_execution_id: ::String,
|
461
468
|
?next_token: ::String,
|
462
|
-
?max_results: ::Integer
|
469
|
+
?max_results: ::Integer,
|
470
|
+
?query_result_type: ("DATA_MANIFEST" | "DATA_ROWS")
|
463
471
|
) -> _GetQueryResultsResponseSuccess
|
464
472
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetQueryResultsResponseSuccess
|
465
473
|
|
@@ -990,6 +998,13 @@ module Aws
|
|
990
998
|
}?,
|
991
999
|
remove_acl_configuration: bool?
|
992
1000
|
}?,
|
1001
|
+
managed_query_results_configuration_updates: {
|
1002
|
+
enabled: bool?,
|
1003
|
+
encryption_configuration: {
|
1004
|
+
kms_key: ::String
|
1005
|
+
}?,
|
1006
|
+
remove_encryption_configuration: bool?
|
1007
|
+
}?,
|
993
1008
|
publish_cloud_watch_metrics_enabled: bool?,
|
994
1009
|
bytes_scanned_cutoff_per_query: ::Integer?,
|
995
1010
|
remove_bytes_scanned_cutoff_per_query: bool?,
|
data/sig/resource.rbs
CHANGED
@@ -18,6 +18,7 @@ module Aws
|
|
18
18
|
?account_id: String,
|
19
19
|
?active_endpoint_cache: bool,
|
20
20
|
?adaptive_retry_wait_to_fill: bool,
|
21
|
+
?auth_scheme_preference: Array[String],
|
21
22
|
?client_side_monitoring: bool,
|
22
23
|
?client_side_monitoring_client_id: String,
|
23
24
|
?client_side_monitoring_host: String,
|
data/sig/types.rbs
CHANGED
@@ -501,6 +501,7 @@ module Aws::Athena
|
|
501
501
|
attr_accessor query_execution_id: ::String
|
502
502
|
attr_accessor next_token: ::String
|
503
503
|
attr_accessor max_results: ::Integer
|
504
|
+
attr_accessor query_result_type: ("DATA_MANIFEST" | "DATA_ROWS")
|
504
505
|
SENSITIVE: []
|
505
506
|
end
|
506
507
|
|
@@ -818,6 +819,24 @@ module Aws::Athena
|
|
818
819
|
SENSITIVE: []
|
819
820
|
end
|
820
821
|
|
822
|
+
class ManagedQueryResultsConfiguration
|
823
|
+
attr_accessor enabled: bool
|
824
|
+
attr_accessor encryption_configuration: Types::ManagedQueryResultsEncryptionConfiguration
|
825
|
+
SENSITIVE: []
|
826
|
+
end
|
827
|
+
|
828
|
+
class ManagedQueryResultsConfigurationUpdates
|
829
|
+
attr_accessor enabled: bool
|
830
|
+
attr_accessor encryption_configuration: Types::ManagedQueryResultsEncryptionConfiguration
|
831
|
+
attr_accessor remove_encryption_configuration: bool
|
832
|
+
SENSITIVE: []
|
833
|
+
end
|
834
|
+
|
835
|
+
class ManagedQueryResultsEncryptionConfiguration
|
836
|
+
attr_accessor kms_key: ::String
|
837
|
+
SENSITIVE: []
|
838
|
+
end
|
839
|
+
|
821
840
|
class MetadataException
|
822
841
|
attr_accessor message: ::String
|
823
842
|
SENSITIVE: []
|
@@ -877,6 +896,7 @@ module Aws::Athena
|
|
877
896
|
attr_accessor query_execution_id: ::String
|
878
897
|
attr_accessor query: ::String
|
879
898
|
attr_accessor statement_type: ("DDL" | "DML" | "UTILITY")
|
899
|
+
attr_accessor managed_query_results_configuration: Types::ManagedQueryResultsConfiguration
|
880
900
|
attr_accessor result_configuration: Types::ResultConfiguration
|
881
901
|
attr_accessor result_reuse_configuration: Types::ResultReuseConfiguration
|
882
902
|
attr_accessor query_execution_context: Types::QueryExecutionContext
|
@@ -1290,6 +1310,7 @@ module Aws::Athena
|
|
1290
1310
|
|
1291
1311
|
class WorkGroupConfiguration
|
1292
1312
|
attr_accessor result_configuration: Types::ResultConfiguration
|
1313
|
+
attr_accessor managed_query_results_configuration: Types::ManagedQueryResultsConfiguration
|
1293
1314
|
attr_accessor enforce_work_group_configuration: bool
|
1294
1315
|
attr_accessor publish_cloud_watch_metrics_enabled: bool
|
1295
1316
|
attr_accessor bytes_scanned_cutoff_per_query: ::Integer
|
@@ -1307,6 +1328,7 @@ module Aws::Athena
|
|
1307
1328
|
class WorkGroupConfigurationUpdates
|
1308
1329
|
attr_accessor enforce_work_group_configuration: bool
|
1309
1330
|
attr_accessor result_configuration_updates: Types::ResultConfigurationUpdates
|
1331
|
+
attr_accessor managed_query_results_configuration_updates: Types::ManagedQueryResultsConfigurationUpdates
|
1310
1332
|
attr_accessor publish_cloud_watch_metrics_enabled: bool
|
1311
1333
|
attr_accessor bytes_scanned_cutoff_per_query: ::Integer
|
1312
1334
|
attr_accessor remove_bytes_scanned_cutoff_per_query: bool
|
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.107.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.228.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.228.0
|
32
32
|
- !ruby/object:Gem::Dependency
|
33
33
|
name: aws-sigv4
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|
@@ -83,7 +83,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
83
83
|
requirements:
|
84
84
|
- - ">="
|
85
85
|
- !ruby/object:Gem::Version
|
86
|
-
version: '2.
|
86
|
+
version: '2.7'
|
87
87
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
88
88
|
requirements:
|
89
89
|
- - ">="
|