aws-sdk-athena 1.104.0 → 1.105.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-athena/client.rb +28 -1
- 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 +15 -1
- 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: c0e038af20c678c3b80f63413cc808785919b7af25d8e677f7918f519bb53ee0
|
4
|
+
data.tar.gz: d26b9dcba21f0a234331b700e4fff076a5d16089728d17568d5458cd7430f317
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1c380df9a325239d0cda01dd30b03db3dea912d7415f0cf75f7f03f4bcc7e42b6adf6f1dd54e7c162597c3187d00d06de6b5cfe02fa838daddf7aebaf8c26505
|
7
|
+
data.tar.gz: b9573d305405fa18dbc141ad2e98773f940d085a6daed115148ed72e11dee614305def78b6cf395fa6aa1d661f597725d055e47bd22b485dbc8022b05552a8db
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.105.0 (2025-06-02)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* 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.
|
8
|
+
|
4
9
|
1.104.0 (2025-05-12)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.105.0
|
@@ -599,6 +599,8 @@ module Aws::Athena
|
|
599
599
|
# resp.query_executions[0].query_execution_id #=> String
|
600
600
|
# resp.query_executions[0].query #=> String
|
601
601
|
# resp.query_executions[0].statement_type #=> String, one of "DDL", "DML", "UTILITY"
|
602
|
+
# resp.query_executions[0].managed_query_results_configuration.enabled #=> Boolean
|
603
|
+
# resp.query_executions[0].managed_query_results_configuration.encryption_configuration.kms_key #=> String
|
602
604
|
# resp.query_executions[0].result_configuration.output_location #=> String
|
603
605
|
# resp.query_executions[0].result_configuration.encryption_configuration.encryption_option #=> String, one of "SSE_S3", "SSE_KMS", "CSE_KMS"
|
604
606
|
# resp.query_executions[0].result_configuration.encryption_configuration.kms_key #=> String
|
@@ -1091,6 +1093,12 @@ module Aws::Athena
|
|
1091
1093
|
# s3_acl_option: "BUCKET_OWNER_FULL_CONTROL", # required, accepts BUCKET_OWNER_FULL_CONTROL
|
1092
1094
|
# },
|
1093
1095
|
# },
|
1096
|
+
# managed_query_results_configuration: {
|
1097
|
+
# enabled: false, # required
|
1098
|
+
# encryption_configuration: {
|
1099
|
+
# kms_key: "KmsKey", # required
|
1100
|
+
# },
|
1101
|
+
# },
|
1094
1102
|
# enforce_work_group_configuration: false,
|
1095
1103
|
# publish_cloud_watch_metrics_enabled: false,
|
1096
1104
|
# bytes_scanned_cutoff_per_query: 1,
|
@@ -1728,6 +1736,8 @@ module Aws::Athena
|
|
1728
1736
|
# resp.query_execution.query_execution_id #=> String
|
1729
1737
|
# resp.query_execution.query #=> String
|
1730
1738
|
# resp.query_execution.statement_type #=> String, one of "DDL", "DML", "UTILITY"
|
1739
|
+
# resp.query_execution.managed_query_results_configuration.enabled #=> Boolean
|
1740
|
+
# resp.query_execution.managed_query_results_configuration.encryption_configuration.kms_key #=> String
|
1731
1741
|
# resp.query_execution.result_configuration.output_location #=> String
|
1732
1742
|
# resp.query_execution.result_configuration.encryption_configuration.encryption_option #=> String, one of "SSE_S3", "SSE_KMS", "CSE_KMS"
|
1733
1743
|
# resp.query_execution.result_configuration.encryption_configuration.kms_key #=> String
|
@@ -1806,6 +1816,13 @@ module Aws::Athena
|
|
1806
1816
|
# @option params [Integer] :max_results
|
1807
1817
|
# The maximum number of results (rows) to return in this request.
|
1808
1818
|
#
|
1819
|
+
# @option params [String] :query_result_type
|
1820
|
+
# When you set this to `DATA_ROWS` or empty, `GetQueryResults` returns
|
1821
|
+
# the query results in rows. If set to `DATA_MANIFEST`, it returns the
|
1822
|
+
# manifest file in rows. Only the query types `CREATE TABLE AS SELECT`,
|
1823
|
+
# `UNLOAD`, and `INSERT` can generate a manifest file. If you use
|
1824
|
+
# `DATA_MANIFEST` for other query types, the query will fail.
|
1825
|
+
#
|
1809
1826
|
# @return [Types::GetQueryResultsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1810
1827
|
#
|
1811
1828
|
# * {Types::GetQueryResultsOutput#update_count #update_count} => Integer
|
@@ -1820,6 +1837,7 @@ module Aws::Athena
|
|
1820
1837
|
# query_execution_id: "QueryExecutionId", # required
|
1821
1838
|
# next_token: "Token",
|
1822
1839
|
# max_results: 1,
|
1840
|
+
# query_result_type: "DATA_MANIFEST", # accepts DATA_MANIFEST, DATA_ROWS
|
1823
1841
|
# })
|
1824
1842
|
#
|
1825
1843
|
# @example Response structure
|
@@ -2085,6 +2103,8 @@ module Aws::Athena
|
|
2085
2103
|
# resp.work_group.configuration.result_configuration.encryption_configuration.kms_key #=> String
|
2086
2104
|
# resp.work_group.configuration.result_configuration.expected_bucket_owner #=> String
|
2087
2105
|
# resp.work_group.configuration.result_configuration.acl_configuration.s3_acl_option #=> String, one of "BUCKET_OWNER_FULL_CONTROL"
|
2106
|
+
# resp.work_group.configuration.managed_query_results_configuration.enabled #=> Boolean
|
2107
|
+
# resp.work_group.configuration.managed_query_results_configuration.encryption_configuration.kms_key #=> String
|
2088
2108
|
# resp.work_group.configuration.enforce_work_group_configuration #=> Boolean
|
2089
2109
|
# resp.work_group.configuration.publish_cloud_watch_metrics_enabled #=> Boolean
|
2090
2110
|
# resp.work_group.configuration.bytes_scanned_cutoff_per_query #=> Integer
|
@@ -3783,6 +3803,13 @@ module Aws::Athena
|
|
3783
3803
|
# },
|
3784
3804
|
# remove_acl_configuration: false,
|
3785
3805
|
# },
|
3806
|
+
# managed_query_results_configuration_updates: {
|
3807
|
+
# enabled: false,
|
3808
|
+
# encryption_configuration: {
|
3809
|
+
# kms_key: "KmsKey", # required
|
3810
|
+
# },
|
3811
|
+
# remove_encryption_configuration: false,
|
3812
|
+
# },
|
3786
3813
|
# publish_cloud_watch_metrics_enabled: false,
|
3787
3814
|
# bytes_scanned_cutoff_per_query: 1,
|
3788
3815
|
# remove_bytes_scanned_cutoff_per_query: false,
|
@@ -3834,7 +3861,7 @@ module Aws::Athena
|
|
3834
3861
|
tracer: tracer
|
3835
3862
|
)
|
3836
3863
|
context[:gem_name] = 'aws-sdk-athena'
|
3837
|
-
context[:gem_version] = '1.
|
3864
|
+
context[:gem_version] = '1.105.0'
|
3838
3865
|
Seahorse::Client::Request.new(handlers, context)
|
3839
3866
|
end
|
3840
3867
|
|
@@ -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
@@ -225,6 +225,12 @@ module Aws
|
|
225
225
|
s3_acl_option: ("BUCKET_OWNER_FULL_CONTROL")
|
226
226
|
}?
|
227
227
|
}?,
|
228
|
+
managed_query_results_configuration: {
|
229
|
+
enabled: bool,
|
230
|
+
encryption_configuration: {
|
231
|
+
kms_key: ::String
|
232
|
+
}?
|
233
|
+
}?,
|
228
234
|
enforce_work_group_configuration: bool?,
|
229
235
|
publish_cloud_watch_metrics_enabled: bool?,
|
230
236
|
bytes_scanned_cutoff_per_query: ::Integer?,
|
@@ -459,7 +465,8 @@ module Aws
|
|
459
465
|
def get_query_results: (
|
460
466
|
query_execution_id: ::String,
|
461
467
|
?next_token: ::String,
|
462
|
-
?max_results: ::Integer
|
468
|
+
?max_results: ::Integer,
|
469
|
+
?query_result_type: ("DATA_MANIFEST" | "DATA_ROWS")
|
463
470
|
) -> _GetQueryResultsResponseSuccess
|
464
471
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetQueryResultsResponseSuccess
|
465
472
|
|
@@ -990,6 +997,13 @@ module Aws
|
|
990
997
|
}?,
|
991
998
|
remove_acl_configuration: bool?
|
992
999
|
}?,
|
1000
|
+
managed_query_results_configuration_updates: {
|
1001
|
+
enabled: bool?,
|
1002
|
+
encryption_configuration: {
|
1003
|
+
kms_key: ::String
|
1004
|
+
}?,
|
1005
|
+
remove_encryption_configuration: bool?
|
1006
|
+
}?,
|
993
1007
|
publish_cloud_watch_metrics_enabled: bool?,
|
994
1008
|
bytes_scanned_cutoff_per_query: ::Integer?,
|
995
1009
|
remove_bytes_scanned_cutoff_per_query: bool?,
|
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.105.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.225.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.225.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
|
- - ">="
|