aws-sdk-athena 1.74.0 → 1.83.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 +45 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-athena/client.rb +172 -102
- data/lib/aws-sdk-athena/client_api.rb +30 -1
- data/lib/aws-sdk-athena/endpoint_provider.rb +1 -1
- data/lib/aws-sdk-athena/plugins/endpoints.rb +4 -2
- data/lib/aws-sdk-athena/types.rb +188 -34
- data/lib/aws-sdk-athena.rb +1 -1
- data/sig/client.rbs +1012 -0
- data/sig/errors.rbs +37 -0
- data/sig/resource.rbs +80 -0
- data/sig/types.rbs +1323 -0
- data/sig/waiters.rbs +13 -0
- metadata +14 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 55a9433849483813f0ecb22400c8266a3ba014cfac8e150b217e4af094c2e441
|
4
|
+
data.tar.gz: 7de6ae8bfdfadfb208e6cfe837e94afabe9960fad43555999bf13780b5389916
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8423da16b3e5dabea193846b995d8d3a5d4813ccd533f0e666165fbf8d4a4b3914a0d39f371d78d56c8b097d45b22905d73abbaca6daf55d62c0e79e6ee93985
|
7
|
+
data.tar.gz: 900dcbad73a85ddf0fef0ba85f253ddb71c9a9da854bfe5b07759ffebf15f339f34ecc6b3869e74a4bf431f827c038d56b1ba874e6e117d2941b705cddb6c1de
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,51 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.83.0 (2024-05-13)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.82.0 (2024-04-25)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.81.0 (2024-01-26)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.80.0 (2024-01-19)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Introducing new NotebookS3LocationUri parameter to Athena ImportNotebook API. Payload is no longer required and either Payload or NotebookS3LocationUri needs to be provided (not both) for a successful ImportNotebook API call. If both are provided, an InvalidRequestException will be thrown.
|
23
|
+
|
24
|
+
1.79.0 (2023-12-05)
|
25
|
+
------------------
|
26
|
+
|
27
|
+
* Feature - Adding IdentityCenter enabled request for interactive query
|
28
|
+
|
29
|
+
1.78.0 (2023-11-28)
|
30
|
+
------------------
|
31
|
+
|
32
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
33
|
+
|
34
|
+
1.77.0 (2023-11-22)
|
35
|
+
------------------
|
36
|
+
|
37
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
38
|
+
|
39
|
+
1.76.0 (2023-11-17)
|
40
|
+
------------------
|
41
|
+
|
42
|
+
* Feature - Adding SerivicePreProcessing time metric
|
43
|
+
|
44
|
+
1.75.0 (2023-09-27)
|
45
|
+
------------------
|
46
|
+
|
47
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
48
|
+
|
4
49
|
1.74.0 (2023-07-11)
|
5
50
|
------------------
|
6
51
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.83.0
|
@@ -22,6 +22,7 @@ require 'aws-sdk-core/plugins/endpoint_pattern.rb'
|
|
22
22
|
require 'aws-sdk-core/plugins/response_paging.rb'
|
23
23
|
require 'aws-sdk-core/plugins/stub_responses.rb'
|
24
24
|
require 'aws-sdk-core/plugins/idempotency_token.rb'
|
25
|
+
require 'aws-sdk-core/plugins/invocation_id.rb'
|
25
26
|
require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
26
27
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
27
28
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
@@ -72,6 +73,7 @@ module Aws::Athena
|
|
72
73
|
add_plugin(Aws::Plugins::ResponsePaging)
|
73
74
|
add_plugin(Aws::Plugins::StubResponses)
|
74
75
|
add_plugin(Aws::Plugins::IdempotencyToken)
|
76
|
+
add_plugin(Aws::Plugins::InvocationId)
|
75
77
|
add_plugin(Aws::Plugins::JsonvalueConverter)
|
76
78
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
77
79
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
@@ -196,10 +198,17 @@ module Aws::Athena
|
|
196
198
|
# When set to 'true' the request body will not be compressed
|
197
199
|
# for supported operations.
|
198
200
|
#
|
199
|
-
# @option options [String] :endpoint
|
200
|
-
#
|
201
|
-
#
|
202
|
-
#
|
201
|
+
# @option options [String, URI::HTTPS, URI::HTTP] :endpoint
|
202
|
+
# Normally you should not configure the `:endpoint` option
|
203
|
+
# directly. This is normally constructed from the `:region`
|
204
|
+
# option. Configuring `:endpoint` is normally reserved for
|
205
|
+
# connecting to test or custom endpoints. The endpoint should
|
206
|
+
# be a URI formatted like:
|
207
|
+
#
|
208
|
+
# 'http://example.com'
|
209
|
+
# 'https://example.com'
|
210
|
+
# 'http://example.com:123'
|
211
|
+
#
|
203
212
|
#
|
204
213
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
205
214
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -292,8 +301,9 @@ module Aws::Athena
|
|
292
301
|
#
|
293
302
|
# @option options [String] :sdk_ua_app_id
|
294
303
|
# A unique and opaque application ID that is appended to the
|
295
|
-
# User-Agent header as app
|
296
|
-
# maximum length of 50.
|
304
|
+
# User-Agent header as app/sdk_ua_app_id. It should have a
|
305
|
+
# maximum length of 50. This variable is sourced from environment
|
306
|
+
# variable AWS_SDK_UA_APP_ID or the shared config profile attribute sdk_ua_app_id.
|
297
307
|
#
|
298
308
|
# @option options [String] :secret_access_key
|
299
309
|
#
|
@@ -347,50 +357,65 @@ module Aws::Athena
|
|
347
357
|
# @option options [Aws::Athena::EndpointProvider] :endpoint_provider
|
348
358
|
# The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::Athena::EndpointParameters`
|
349
359
|
#
|
350
|
-
# @option options [
|
351
|
-
#
|
352
|
-
#
|
353
|
-
#
|
354
|
-
#
|
355
|
-
#
|
356
|
-
#
|
357
|
-
#
|
358
|
-
#
|
359
|
-
#
|
360
|
-
#
|
361
|
-
# @option options [Float] :
|
362
|
-
#
|
363
|
-
#
|
364
|
-
#
|
365
|
-
#
|
366
|
-
#
|
367
|
-
#
|
368
|
-
#
|
369
|
-
#
|
370
|
-
#
|
371
|
-
#
|
372
|
-
#
|
373
|
-
#
|
374
|
-
#
|
360
|
+
# @option options [Float] :http_continue_timeout (1)
|
361
|
+
# The number of seconds to wait for a 100-continue response before sending the
|
362
|
+
# request body. This option has no effect unless the request has "Expect"
|
363
|
+
# header set to "100-continue". Defaults to `nil` which disables this
|
364
|
+
# behaviour. This value can safely be set per request on the session.
|
365
|
+
#
|
366
|
+
# @option options [Float] :http_idle_timeout (5)
|
367
|
+
# The number of seconds a connection is allowed to sit idle before it
|
368
|
+
# is considered stale. Stale connections are closed and removed from the
|
369
|
+
# pool before making a request.
|
370
|
+
#
|
371
|
+
# @option options [Float] :http_open_timeout (15)
|
372
|
+
# The default number of seconds to wait for response data.
|
373
|
+
# This value can safely be set per-request on the session.
|
374
|
+
#
|
375
|
+
# @option options [URI::HTTP,String] :http_proxy
|
376
|
+
# A proxy to send requests through. Formatted like 'http://proxy.com:123'.
|
377
|
+
#
|
378
|
+
# @option options [Float] :http_read_timeout (60)
|
379
|
+
# The default number of seconds to wait for response data.
|
380
|
+
# This value can safely be set per-request on the session.
|
381
|
+
#
|
382
|
+
# @option options [Boolean] :http_wire_trace (false)
|
383
|
+
# When `true`, HTTP debug output will be sent to the `:logger`.
|
384
|
+
#
|
385
|
+
# @option options [Proc] :on_chunk_received
|
386
|
+
# When a Proc object is provided, it will be used as callback when each chunk
|
387
|
+
# of the response body is received. It provides three arguments: the chunk,
|
388
|
+
# the number of bytes received, and the total number of
|
389
|
+
# bytes in the response (or nil if the server did not send a `content-length`).
|
390
|
+
#
|
391
|
+
# @option options [Proc] :on_chunk_sent
|
392
|
+
# When a Proc object is provided, it will be used as callback when each chunk
|
393
|
+
# of the request body is sent. It provides three arguments: the chunk,
|
394
|
+
# the number of bytes read from the body, and the total number of
|
395
|
+
# bytes in the body.
|
396
|
+
#
|
397
|
+
# @option options [Boolean] :raise_response_errors (true)
|
398
|
+
# When `true`, response errors are raised.
|
399
|
+
#
|
400
|
+
# @option options [String] :ssl_ca_bundle
|
401
|
+
# Full path to the SSL certificate authority bundle file that should be used when
|
402
|
+
# verifying peer certificates. If you do not pass `:ssl_ca_bundle` or
|
403
|
+
# `:ssl_ca_directory` the the system default will be used if available.
|
404
|
+
#
|
405
|
+
# @option options [String] :ssl_ca_directory
|
406
|
+
# Full path of the directory that contains the unbundled SSL certificate
|
407
|
+
# authority files for verifying peer certificates. If you do
|
408
|
+
# not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the system
|
409
|
+
# default will be used if available.
|
375
410
|
#
|
376
|
-
# @option options [
|
377
|
-
#
|
411
|
+
# @option options [String] :ssl_ca_store
|
412
|
+
# Sets the X509::Store to verify peer certificate.
|
378
413
|
#
|
379
|
-
# @option options [
|
380
|
-
#
|
381
|
-
# connection.
|
414
|
+
# @option options [Float] :ssl_timeout
|
415
|
+
# Sets the SSL timeout in seconds
|
382
416
|
#
|
383
|
-
# @option options [
|
384
|
-
#
|
385
|
-
# verifying peer certificates. If you do not pass
|
386
|
-
# `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default
|
387
|
-
# will be used if available.
|
388
|
-
#
|
389
|
-
# @option options [String] :ssl_ca_directory Full path of the
|
390
|
-
# directory that contains the unbundled SSL certificate
|
391
|
-
# authority files for verifying peer certificates. If you do
|
392
|
-
# not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
|
393
|
-
# system default will be used if available.
|
417
|
+
# @option options [Boolean] :ssl_verify_peer (true)
|
418
|
+
# When `true`, SSL peer certificates are verified when establishing a connection.
|
394
419
|
#
|
395
420
|
def initialize(*args)
|
396
421
|
super
|
@@ -543,6 +568,7 @@ module Aws::Athena
|
|
543
568
|
# resp.query_executions[0].statistics.data_manifest_location #=> String
|
544
569
|
# resp.query_executions[0].statistics.total_execution_time_in_millis #=> Integer
|
545
570
|
# resp.query_executions[0].statistics.query_queue_time_in_millis #=> Integer
|
571
|
+
# resp.query_executions[0].statistics.service_pre_processing_time_in_millis #=> Integer
|
546
572
|
# resp.query_executions[0].statistics.query_planning_time_in_millis #=> Integer
|
547
573
|
# resp.query_executions[0].statistics.service_processing_time_in_millis #=> Integer
|
548
574
|
# resp.query_executions[0].statistics.result_reuse_information.reused_previous_result #=> Boolean
|
@@ -552,6 +578,9 @@ module Aws::Athena
|
|
552
578
|
# resp.query_executions[0].execution_parameters #=> Array
|
553
579
|
# resp.query_executions[0].execution_parameters[0] #=> String
|
554
580
|
# resp.query_executions[0].substatement_type #=> String
|
581
|
+
# resp.query_executions[0].query_results_s3_access_grants_configuration.enable_s3_access_grants #=> Boolean
|
582
|
+
# resp.query_executions[0].query_results_s3_access_grants_configuration.create_user_level_prefix #=> Boolean
|
583
|
+
# resp.query_executions[0].query_results_s3_access_grants_configuration.authentication_type #=> String, one of "DIRECTORY_IDENTITY"
|
555
584
|
# resp.unprocessed_query_execution_ids #=> Array
|
556
585
|
# resp.unprocessed_query_execution_ids[0].query_execution_id #=> String
|
557
586
|
# resp.unprocessed_query_execution_ids[0].error_code #=> String
|
@@ -684,12 +713,7 @@ module Aws::Athena
|
|
684
713
|
# `AwsDataCatalog` that already exists in your account, of which you
|
685
714
|
# can have only one and cannot modify.
|
686
715
|
#
|
687
|
-
#
|
688
|
-
# `AwsDataCatalog` must be run on Athena engine version 2.
|
689
|
-
#
|
690
|
-
# * In Regions where Athena engine version 2 is not available,
|
691
|
-
# creating new Glue data catalogs results in an `INVALID_INPUT`
|
692
|
-
# error.
|
716
|
+
# ^
|
693
717
|
#
|
694
718
|
# @option params [Array<Types::Tag>] :tags
|
695
719
|
# A list of comma separated tags to add to the data catalog that is
|
@@ -726,13 +750,6 @@ module Aws::Athena
|
|
726
750
|
# Creates a named query in the specified workgroup. Requires that you
|
727
751
|
# have access to the workgroup.
|
728
752
|
#
|
729
|
-
# For code samples using the Amazon Web Services SDK for Java, see
|
730
|
-
# [Examples and Code Samples][1] in the *Amazon Athena User Guide*.
|
731
|
-
#
|
732
|
-
#
|
733
|
-
#
|
734
|
-
# [1]: http://docs.aws.amazon.com/athena/latest/ug/code-samples.html
|
735
|
-
#
|
736
753
|
# @option params [required, String] :name
|
737
754
|
# The query name.
|
738
755
|
#
|
@@ -970,6 +987,15 @@ module Aws::Athena
|
|
970
987
|
# kms_key: "KmsKey", # required
|
971
988
|
# },
|
972
989
|
# enable_minimum_encryption_configuration: false,
|
990
|
+
# identity_center_configuration: {
|
991
|
+
# enable_identity_center: false,
|
992
|
+
# identity_center_instance_arn: "IdentityCenterInstanceArn",
|
993
|
+
# },
|
994
|
+
# query_results_s3_access_grants_configuration: {
|
995
|
+
# enable_s3_access_grants: false, # required
|
996
|
+
# create_user_level_prefix: false,
|
997
|
+
# authentication_type: "DIRECTORY_IDENTITY", # required, accepts DIRECTORY_IDENTITY
|
998
|
+
# },
|
973
999
|
# },
|
974
1000
|
# description: "WorkGroupDescriptionString",
|
975
1001
|
# tags: [
|
@@ -1041,13 +1067,6 @@ module Aws::Athena
|
|
1041
1067
|
# Deletes the named query if you have access to the workgroup in which
|
1042
1068
|
# the query was saved.
|
1043
1069
|
#
|
1044
|
-
# For code samples using the Amazon Web Services SDK for Java, see
|
1045
|
-
# [Examples and Code Samples][1] in the *Amazon Athena User Guide*.
|
1046
|
-
#
|
1047
|
-
#
|
1048
|
-
#
|
1049
|
-
# [1]: http://docs.aws.amazon.com/athena/latest/ug/code-samples.html
|
1050
|
-
#
|
1051
1070
|
# @option params [required, String] :named_query_id
|
1052
1071
|
# The unique ID of the query to delete.
|
1053
1072
|
#
|
@@ -1368,6 +1387,10 @@ module Aws::Athena
|
|
1368
1387
|
# @option params [required, String] :name
|
1369
1388
|
# The name of the data catalog to return.
|
1370
1389
|
#
|
1390
|
+
# @option params [String] :work_group
|
1391
|
+
# The name of the workgroup. Required if making an IAM Identity Center
|
1392
|
+
# request.
|
1393
|
+
#
|
1371
1394
|
# @return [Types::GetDataCatalogOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1372
1395
|
#
|
1373
1396
|
# * {Types::GetDataCatalogOutput#data_catalog #data_catalog} => Types::DataCatalog
|
@@ -1376,6 +1399,7 @@ module Aws::Athena
|
|
1376
1399
|
#
|
1377
1400
|
# resp = client.get_data_catalog({
|
1378
1401
|
# name: "CatalogNameString", # required
|
1402
|
+
# work_group: "WorkGroupName",
|
1379
1403
|
# })
|
1380
1404
|
#
|
1381
1405
|
# @example Response structure
|
@@ -1403,6 +1427,11 @@ module Aws::Athena
|
|
1403
1427
|
# @option params [required, String] :database_name
|
1404
1428
|
# The name of the database to return.
|
1405
1429
|
#
|
1430
|
+
# @option params [String] :work_group
|
1431
|
+
# The name of the workgroup for which the metadata is being fetched.
|
1432
|
+
# Required if requesting an IAM Identity Center enabled Glue Data
|
1433
|
+
# Catalog.
|
1434
|
+
#
|
1406
1435
|
# @return [Types::GetDatabaseOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1407
1436
|
#
|
1408
1437
|
# * {Types::GetDatabaseOutput#database #database} => Types::Database
|
@@ -1412,6 +1441,7 @@ module Aws::Athena
|
|
1412
1441
|
# resp = client.get_database({
|
1413
1442
|
# catalog_name: "CatalogNameString", # required
|
1414
1443
|
# database_name: "NameString", # required
|
1444
|
+
# work_group: "WorkGroupName",
|
1415
1445
|
# })
|
1416
1446
|
#
|
1417
1447
|
# @example Response structure
|
@@ -1579,6 +1609,7 @@ module Aws::Athena
|
|
1579
1609
|
# resp.query_execution.statistics.data_manifest_location #=> String
|
1580
1610
|
# resp.query_execution.statistics.total_execution_time_in_millis #=> Integer
|
1581
1611
|
# resp.query_execution.statistics.query_queue_time_in_millis #=> Integer
|
1612
|
+
# resp.query_execution.statistics.service_pre_processing_time_in_millis #=> Integer
|
1582
1613
|
# resp.query_execution.statistics.query_planning_time_in_millis #=> Integer
|
1583
1614
|
# resp.query_execution.statistics.service_processing_time_in_millis #=> Integer
|
1584
1615
|
# resp.query_execution.statistics.result_reuse_information.reused_previous_result #=> Boolean
|
@@ -1588,6 +1619,9 @@ module Aws::Athena
|
|
1588
1619
|
# resp.query_execution.execution_parameters #=> Array
|
1589
1620
|
# resp.query_execution.execution_parameters[0] #=> String
|
1590
1621
|
# resp.query_execution.substatement_type #=> String
|
1622
|
+
# resp.query_execution.query_results_s3_access_grants_configuration.enable_s3_access_grants #=> Boolean
|
1623
|
+
# resp.query_execution.query_results_s3_access_grants_configuration.create_user_level_prefix #=> Boolean
|
1624
|
+
# resp.query_execution.query_results_s3_access_grants_configuration.authentication_type #=> String, one of "DIRECTORY_IDENTITY"
|
1591
1625
|
#
|
1592
1626
|
# @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/GetQueryExecution AWS API Documentation
|
1593
1627
|
#
|
@@ -1699,6 +1733,7 @@ module Aws::Athena
|
|
1699
1733
|
# @example Response structure
|
1700
1734
|
#
|
1701
1735
|
# resp.query_runtime_statistics.timeline.query_queue_time_in_millis #=> Integer
|
1736
|
+
# resp.query_runtime_statistics.timeline.service_pre_processing_time_in_millis #=> Integer
|
1702
1737
|
# resp.query_runtime_statistics.timeline.query_planning_time_in_millis #=> Integer
|
1703
1738
|
# resp.query_runtime_statistics.timeline.engine_execution_time_in_millis #=> Integer
|
1704
1739
|
# resp.query_runtime_statistics.timeline.service_processing_time_in_millis #=> Integer
|
@@ -1839,6 +1874,11 @@ module Aws::Athena
|
|
1839
1874
|
# @option params [required, String] :table_name
|
1840
1875
|
# The name of the table for which metadata is returned.
|
1841
1876
|
#
|
1877
|
+
# @option params [String] :work_group
|
1878
|
+
# The name of the workgroup for which the metadata is being fetched.
|
1879
|
+
# Required if requesting an IAM Identity Center enabled Glue Data
|
1880
|
+
# Catalog.
|
1881
|
+
#
|
1842
1882
|
# @return [Types::GetTableMetadataOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1843
1883
|
#
|
1844
1884
|
# * {Types::GetTableMetadataOutput#table_metadata #table_metadata} => Types::TableMetadata
|
@@ -1849,6 +1889,7 @@ module Aws::Athena
|
|
1849
1889
|
# catalog_name: "CatalogNameString", # required
|
1850
1890
|
# database_name: "NameString", # required
|
1851
1891
|
# table_name: "NameString", # required
|
1892
|
+
# work_group: "WorkGroupName",
|
1852
1893
|
# })
|
1853
1894
|
#
|
1854
1895
|
# @example Response structure
|
@@ -1911,8 +1952,14 @@ module Aws::Athena
|
|
1911
1952
|
# resp.work_group.configuration.execution_role #=> String
|
1912
1953
|
# resp.work_group.configuration.customer_content_encryption_configuration.kms_key #=> String
|
1913
1954
|
# resp.work_group.configuration.enable_minimum_encryption_configuration #=> Boolean
|
1955
|
+
# resp.work_group.configuration.identity_center_configuration.enable_identity_center #=> Boolean
|
1956
|
+
# resp.work_group.configuration.identity_center_configuration.identity_center_instance_arn #=> String
|
1957
|
+
# resp.work_group.configuration.query_results_s3_access_grants_configuration.enable_s3_access_grants #=> Boolean
|
1958
|
+
# resp.work_group.configuration.query_results_s3_access_grants_configuration.create_user_level_prefix #=> Boolean
|
1959
|
+
# resp.work_group.configuration.query_results_s3_access_grants_configuration.authentication_type #=> String, one of "DIRECTORY_IDENTITY"
|
1914
1960
|
# resp.work_group.description #=> String
|
1915
1961
|
# resp.work_group.creation_time #=> Time
|
1962
|
+
# resp.work_group.identity_center_application_arn #=> String
|
1916
1963
|
#
|
1917
1964
|
# @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/GetWorkGroup AWS API Documentation
|
1918
1965
|
#
|
@@ -1923,10 +1970,12 @@ module Aws::Athena
|
|
1923
1970
|
req.send_request(options)
|
1924
1971
|
end
|
1925
1972
|
|
1926
|
-
# Imports a single `ipynb` file to a Spark enabled workgroup.
|
1927
|
-
#
|
1928
|
-
#
|
1929
|
-
#
|
1973
|
+
# Imports a single `ipynb` file to a Spark enabled workgroup. To import
|
1974
|
+
# the notebook, the request must specify a value for either `Payload` or
|
1975
|
+
# `NoteBookS3LocationUri`. If neither is specified or both are
|
1976
|
+
# specified, an `InvalidRequestException` occurs. The maximum file size
|
1977
|
+
# that can be imported is 10 megabytes. If an `ipynb` file with the same
|
1978
|
+
# name already exists in the workgroup, throws an error.
|
1930
1979
|
#
|
1931
1980
|
# @option params [required, String] :work_group
|
1932
1981
|
# The name of the Spark enabled workgroup to import the notebook to.
|
@@ -1934,12 +1983,17 @@ module Aws::Athena
|
|
1934
1983
|
# @option params [required, String] :name
|
1935
1984
|
# The name of the notebook to import.
|
1936
1985
|
#
|
1937
|
-
# @option params [
|
1938
|
-
# The notebook content to be imported.
|
1986
|
+
# @option params [String] :payload
|
1987
|
+
# The notebook content to be imported. The payload must be in `ipynb`
|
1988
|
+
# format.
|
1939
1989
|
#
|
1940
1990
|
# @option params [required, String] :type
|
1941
1991
|
# The notebook content type. Currently, the only valid type is `IPYNB`.
|
1942
1992
|
#
|
1993
|
+
# @option params [String] :notebook_s3_location_uri
|
1994
|
+
# A URI that specifies the Amazon S3 location of a notebook file in
|
1995
|
+
# `ipynb` format.
|
1996
|
+
#
|
1943
1997
|
# @option params [String] :client_request_token
|
1944
1998
|
# A unique case-sensitive string used to ensure the request to import
|
1945
1999
|
# the notebook is idempotent (executes only once).
|
@@ -1959,8 +2013,9 @@ module Aws::Athena
|
|
1959
2013
|
# resp = client.import_notebook({
|
1960
2014
|
# work_group: "WorkGroupName", # required
|
1961
2015
|
# name: "NotebookName", # required
|
1962
|
-
# payload: "Payload",
|
2016
|
+
# payload: "Payload",
|
1963
2017
|
# type: "IPYNB", # required, accepts IPYNB
|
2018
|
+
# notebook_s3_location_uri: "S3Uri",
|
1964
2019
|
# client_request_token: "ClientRequestToken",
|
1965
2020
|
# })
|
1966
2021
|
#
|
@@ -2155,6 +2210,10 @@ module Aws::Athena
|
|
2155
2210
|
# @option params [Integer] :max_results
|
2156
2211
|
# Specifies the maximum number of data catalogs to return.
|
2157
2212
|
#
|
2213
|
+
# @option params [String] :work_group
|
2214
|
+
# The name of the workgroup. Required if making an IAM Identity Center
|
2215
|
+
# request.
|
2216
|
+
#
|
2158
2217
|
# @return [Types::ListDataCatalogsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2159
2218
|
#
|
2160
2219
|
# * {Types::ListDataCatalogsOutput#data_catalogs_summary #data_catalogs_summary} => Array<Types::DataCatalogSummary>
|
@@ -2167,6 +2226,7 @@ module Aws::Athena
|
|
2167
2226
|
# resp = client.list_data_catalogs({
|
2168
2227
|
# next_token: "Token",
|
2169
2228
|
# max_results: 1,
|
2229
|
+
# work_group: "WorkGroupName",
|
2170
2230
|
# })
|
2171
2231
|
#
|
2172
2232
|
# @example Response structure
|
@@ -2199,6 +2259,11 @@ module Aws::Athena
|
|
2199
2259
|
# @option params [Integer] :max_results
|
2200
2260
|
# Specifies the maximum number of results to return.
|
2201
2261
|
#
|
2262
|
+
# @option params [String] :work_group
|
2263
|
+
# The name of the workgroup for which the metadata is being fetched.
|
2264
|
+
# Required if requesting an IAM Identity Center enabled Glue Data
|
2265
|
+
# Catalog.
|
2266
|
+
#
|
2202
2267
|
# @return [Types::ListDatabasesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2203
2268
|
#
|
2204
2269
|
# * {Types::ListDatabasesOutput#database_list #database_list} => Array<Types::Database>
|
@@ -2212,6 +2277,7 @@ module Aws::Athena
|
|
2212
2277
|
# catalog_name: "CatalogNameString", # required
|
2213
2278
|
# next_token: "Token",
|
2214
2279
|
# max_results: 1,
|
2280
|
+
# work_group: "WorkGroupName",
|
2215
2281
|
# })
|
2216
2282
|
#
|
2217
2283
|
# @example Response structure
|
@@ -2350,13 +2416,6 @@ module Aws::Athena
|
|
2350
2416
|
# workgroup. If a workgroup is not specified, lists the saved queries
|
2351
2417
|
# for the primary workgroup.
|
2352
2418
|
#
|
2353
|
-
# For code samples using the Amazon Web Services SDK for Java, see
|
2354
|
-
# [Examples and Code Samples][1] in the *Amazon Athena User Guide*.
|
2355
|
-
#
|
2356
|
-
#
|
2357
|
-
#
|
2358
|
-
# [1]: http://docs.aws.amazon.com/athena/latest/ug/code-samples.html
|
2359
|
-
#
|
2360
2419
|
# @option params [String] :next_token
|
2361
2420
|
# A token generated by the Athena service that specifies where to
|
2362
2421
|
# continue pagination if a previous request was truncated. To obtain the
|
@@ -2546,16 +2605,10 @@ module Aws::Athena
|
|
2546
2605
|
end
|
2547
2606
|
|
2548
2607
|
# Provides a list of available query execution IDs for the queries in
|
2549
|
-
# the specified workgroup.
|
2550
|
-
#
|
2551
|
-
#
|
2552
|
-
#
|
2553
|
-
# For code samples using the Amazon Web Services SDK for Java, see
|
2554
|
-
# [Examples and Code Samples][1] in the *Amazon Athena User Guide*.
|
2555
|
-
#
|
2556
|
-
#
|
2557
|
-
#
|
2558
|
-
# [1]: http://docs.aws.amazon.com/athena/latest/ug/code-samples.html
|
2608
|
+
# the specified workgroup. Athena keeps a query history for 45 days. If
|
2609
|
+
# a workgroup is not specified, returns a list of query execution IDs
|
2610
|
+
# for the primary workgroup. Requires you to have access to the
|
2611
|
+
# workgroup in which the queries ran.
|
2559
2612
|
#
|
2560
2613
|
# @option params [String] :next_token
|
2561
2614
|
# A token generated by the Athena service that specifies where to
|
@@ -2704,6 +2757,11 @@ module Aws::Athena
|
|
2704
2757
|
# @option params [Integer] :max_results
|
2705
2758
|
# Specifies the maximum number of results to return.
|
2706
2759
|
#
|
2760
|
+
# @option params [String] :work_group
|
2761
|
+
# The name of the workgroup for which the metadata is being fetched.
|
2762
|
+
# Required if requesting an IAM Identity Center enabled Glue Data
|
2763
|
+
# Catalog.
|
2764
|
+
#
|
2707
2765
|
# @return [Types::ListTableMetadataOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2708
2766
|
#
|
2709
2767
|
# * {Types::ListTableMetadataOutput#table_metadata_list #table_metadata_list} => Array<Types::TableMetadata>
|
@@ -2719,6 +2777,7 @@ module Aws::Athena
|
|
2719
2777
|
# expression: "ExpressionString",
|
2720
2778
|
# next_token: "Token",
|
2721
2779
|
# max_results: 1,
|
2780
|
+
# work_group: "WorkGroupName",
|
2722
2781
|
# })
|
2723
2782
|
#
|
2724
2783
|
# @example Response structure
|
@@ -2828,6 +2887,7 @@ module Aws::Athena
|
|
2828
2887
|
# resp.work_groups[0].creation_time #=> Time
|
2829
2888
|
# resp.work_groups[0].engine_version.selected_engine_version #=> String
|
2830
2889
|
# resp.work_groups[0].engine_version.effective_engine_version #=> String
|
2890
|
+
# resp.work_groups[0].identity_center_application_arn #=> String
|
2831
2891
|
# resp.next_token #=> String
|
2832
2892
|
#
|
2833
2893
|
# @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/ListWorkGroups AWS API Documentation
|
@@ -2876,6 +2936,14 @@ module Aws::Athena
|
|
2876
2936
|
# Submits calculations for execution within a session. You can supply
|
2877
2937
|
# the code to run as an inline code block within the request.
|
2878
2938
|
#
|
2939
|
+
# <note markdown="1"> The request syntax requires the
|
2940
|
+
# StartCalculationExecutionRequest$CodeBlock parameter or the
|
2941
|
+
# CalculationConfiguration$CodeBlock parameter, but not both. Because
|
2942
|
+
# CalculationConfiguration$CodeBlock is deprecated, use the
|
2943
|
+
# StartCalculationExecutionRequest$CodeBlock parameter instead.
|
2944
|
+
#
|
2945
|
+
# </note>
|
2946
|
+
#
|
2879
2947
|
# @option params [required, String] :session_id
|
2880
2948
|
# The session ID.
|
2881
2949
|
#
|
@@ -2886,7 +2954,8 @@ module Aws::Athena
|
|
2886
2954
|
# Contains configuration information for the calculation.
|
2887
2955
|
#
|
2888
2956
|
# @option params [String] :code_block
|
2889
|
-
# A string that contains the code of the calculation.
|
2957
|
+
# A string that contains the code of the calculation. Use this parameter
|
2958
|
+
# instead of CalculationConfiguration$CodeBlock, which is deprecated.
|
2890
2959
|
#
|
2891
2960
|
# @option params [String] :client_request_token
|
2892
2961
|
# A unique case-sensitive string used to ensure the request to create
|
@@ -2950,8 +3019,11 @@ module Aws::Athena
|
|
2950
3019
|
# A unique case-sensitive string used to ensure the request to create
|
2951
3020
|
# the query is idempotent (executes only once). If another
|
2952
3021
|
# `StartQueryExecution` request is received, the same response is
|
2953
|
-
# returned and another query is not created.
|
2954
|
-
#
|
3022
|
+
# returned and another query is not created. An error is returned if a
|
3023
|
+
# parameter, such as `QueryString`, has changed. A call to
|
3024
|
+
# `StartQueryExecution` that uses a previous client request token
|
3025
|
+
# returns the same `QueryExecutionId` even if the requester doesn't
|
3026
|
+
# have permission on the tables specified in `QueryString`.
|
2955
3027
|
#
|
2956
3028
|
# This token is listed as not required because Amazon Web Services SDKs
|
2957
3029
|
# (for example the Amazon Web Services SDK for Java) auto-generate the
|
@@ -3151,13 +3223,6 @@ module Aws::Athena
|
|
3151
3223
|
# Stops a query execution. Requires you to have access to the workgroup
|
3152
3224
|
# in which the query ran.
|
3153
3225
|
#
|
3154
|
-
# For code samples using the Amazon Web Services SDK for Java, see
|
3155
|
-
# [Examples and Code Samples][1] in the *Amazon Athena User Guide*.
|
3156
|
-
#
|
3157
|
-
#
|
3158
|
-
#
|
3159
|
-
# [1]: http://docs.aws.amazon.com/athena/latest/ug/code-samples.html
|
3160
|
-
#
|
3161
3226
|
# @option params [required, String] :query_execution_id
|
3162
3227
|
# The unique ID of the query execution to stop.
|
3163
3228
|
#
|
@@ -3587,6 +3652,11 @@ module Aws::Athena
|
|
3587
3652
|
# kms_key: "KmsKey", # required
|
3588
3653
|
# },
|
3589
3654
|
# enable_minimum_encryption_configuration: false,
|
3655
|
+
# query_results_s3_access_grants_configuration: {
|
3656
|
+
# enable_s3_access_grants: false, # required
|
3657
|
+
# create_user_level_prefix: false,
|
3658
|
+
# authentication_type: "DIRECTORY_IDENTITY", # required, accepts DIRECTORY_IDENTITY
|
3659
|
+
# },
|
3590
3660
|
# },
|
3591
3661
|
# state: "ENABLED", # accepts ENABLED, DISABLED
|
3592
3662
|
# })
|
@@ -3613,7 +3683,7 @@ module Aws::Athena
|
|
3613
3683
|
params: params,
|
3614
3684
|
config: config)
|
3615
3685
|
context[:gem_name] = 'aws-sdk-athena'
|
3616
|
-
context[:gem_version] = '1.
|
3686
|
+
context[:gem_version] = '1.83.0'
|
3617
3687
|
Seahorse::Client::Request.new(handlers, context)
|
3618
3688
|
end
|
3619
3689
|
|