aws-sdk-athena 1.112.0 → 1.113.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-athena/client.rb +258 -4
- data/lib/aws-sdk-athena/client_api.rb +99 -1
- data/lib/aws-sdk-athena/types.rb +273 -10
- data/lib/aws-sdk-athena.rb +1 -1
- data/sig/client.rbs +130 -3
- data/sig/types.rbs +69 -0
- metadata +3 -3
data/lib/aws-sdk-athena/types.rb
CHANGED
|
@@ -484,6 +484,56 @@ module Aws::Athena
|
|
|
484
484
|
include Aws::Structure
|
|
485
485
|
end
|
|
486
486
|
|
|
487
|
+
# A classification refers to a set of specific configurations.
|
|
488
|
+
#
|
|
489
|
+
# @!attribute [rw] name
|
|
490
|
+
# The name of the configuration classification.
|
|
491
|
+
# @return [String]
|
|
492
|
+
#
|
|
493
|
+
# @!attribute [rw] properties
|
|
494
|
+
# A set of properties specified within a configuration classification.
|
|
495
|
+
# @return [Hash<String,String>]
|
|
496
|
+
#
|
|
497
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/Classification AWS API Documentation
|
|
498
|
+
#
|
|
499
|
+
class Classification < Struct.new(
|
|
500
|
+
:name,
|
|
501
|
+
:properties)
|
|
502
|
+
SENSITIVE = []
|
|
503
|
+
include Aws::Structure
|
|
504
|
+
end
|
|
505
|
+
|
|
506
|
+
# Configuration settings for delivering logs to Amazon CloudWatch log
|
|
507
|
+
# groups.
|
|
508
|
+
#
|
|
509
|
+
# @!attribute [rw] enabled
|
|
510
|
+
# Enables CloudWatch logging.
|
|
511
|
+
# @return [Boolean]
|
|
512
|
+
#
|
|
513
|
+
# @!attribute [rw] log_group
|
|
514
|
+
# The name of the log group in Amazon CloudWatch Logs where you want
|
|
515
|
+
# to publish your logs.
|
|
516
|
+
# @return [String]
|
|
517
|
+
#
|
|
518
|
+
# @!attribute [rw] log_stream_name_prefix
|
|
519
|
+
# Prefix for the CloudWatch log stream name.
|
|
520
|
+
# @return [String]
|
|
521
|
+
#
|
|
522
|
+
# @!attribute [rw] log_types
|
|
523
|
+
# The types of logs that you want to publish to CloudWatch.
|
|
524
|
+
# @return [Hash<String,Array<String>>]
|
|
525
|
+
#
|
|
526
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/CloudWatchLoggingConfiguration AWS API Documentation
|
|
527
|
+
#
|
|
528
|
+
class CloudWatchLoggingConfiguration < Struct.new(
|
|
529
|
+
:enabled,
|
|
530
|
+
:log_group,
|
|
531
|
+
:log_stream_name_prefix,
|
|
532
|
+
:log_types)
|
|
533
|
+
SENSITIVE = []
|
|
534
|
+
include Aws::Structure
|
|
535
|
+
end
|
|
536
|
+
|
|
487
537
|
# Contains metadata for a column in a table.
|
|
488
538
|
#
|
|
489
539
|
# @!attribute [rw] name
|
|
@@ -1411,6 +1461,11 @@ module Aws::Athena
|
|
|
1411
1461
|
# cluster encryption, table formats, and general Spark tuning.
|
|
1412
1462
|
# @return [Hash<String,String>]
|
|
1413
1463
|
#
|
|
1464
|
+
# @!attribute [rw] classifications
|
|
1465
|
+
# The configuration classifications that can be specified for the
|
|
1466
|
+
# engine.
|
|
1467
|
+
# @return [Array<Types::Classification>]
|
|
1468
|
+
#
|
|
1414
1469
|
# @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/EngineConfiguration AWS API Documentation
|
|
1415
1470
|
#
|
|
1416
1471
|
class EngineConfiguration < Struct.new(
|
|
@@ -1418,7 +1473,8 @@ module Aws::Athena
|
|
|
1418
1473
|
:max_concurrent_dpus,
|
|
1419
1474
|
:default_executor_dpu_size,
|
|
1420
1475
|
:additional_configs,
|
|
1421
|
-
:spark_properties
|
|
1476
|
+
:spark_properties,
|
|
1477
|
+
:classifications)
|
|
1422
1478
|
SENSITIVE = []
|
|
1423
1479
|
include Aws::Structure
|
|
1424
1480
|
end
|
|
@@ -1962,6 +2018,64 @@ module Aws::Athena
|
|
|
1962
2018
|
include Aws::Structure
|
|
1963
2019
|
end
|
|
1964
2020
|
|
|
2021
|
+
# @!attribute [rw] resource_arn
|
|
2022
|
+
# The The Amazon Resource Name (ARN) for a session.
|
|
2023
|
+
# @return [String]
|
|
2024
|
+
#
|
|
2025
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/GetResourceDashboardRequest AWS API Documentation
|
|
2026
|
+
#
|
|
2027
|
+
class GetResourceDashboardRequest < Struct.new(
|
|
2028
|
+
:resource_arn)
|
|
2029
|
+
SENSITIVE = []
|
|
2030
|
+
include Aws::Structure
|
|
2031
|
+
end
|
|
2032
|
+
|
|
2033
|
+
# @!attribute [rw] url
|
|
2034
|
+
# The Live UI/Persistence UI url for a session.
|
|
2035
|
+
# @return [String]
|
|
2036
|
+
#
|
|
2037
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/GetResourceDashboardResponse AWS API Documentation
|
|
2038
|
+
#
|
|
2039
|
+
class GetResourceDashboardResponse < Struct.new(
|
|
2040
|
+
:url)
|
|
2041
|
+
SENSITIVE = []
|
|
2042
|
+
include Aws::Structure
|
|
2043
|
+
end
|
|
2044
|
+
|
|
2045
|
+
# @!attribute [rw] session_id
|
|
2046
|
+
# The session ID.
|
|
2047
|
+
# @return [String]
|
|
2048
|
+
#
|
|
2049
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/GetSessionEndpointRequest AWS API Documentation
|
|
2050
|
+
#
|
|
2051
|
+
class GetSessionEndpointRequest < Struct.new(
|
|
2052
|
+
:session_id)
|
|
2053
|
+
SENSITIVE = []
|
|
2054
|
+
include Aws::Structure
|
|
2055
|
+
end
|
|
2056
|
+
|
|
2057
|
+
# @!attribute [rw] endpoint_url
|
|
2058
|
+
# The endpoint for connecting to the session.
|
|
2059
|
+
# @return [String]
|
|
2060
|
+
#
|
|
2061
|
+
# @!attribute [rw] auth_token
|
|
2062
|
+
# Authentication token for the connection
|
|
2063
|
+
# @return [String]
|
|
2064
|
+
#
|
|
2065
|
+
# @!attribute [rw] auth_token_expiration_time
|
|
2066
|
+
# Expiration time of the auth token.
|
|
2067
|
+
# @return [Time]
|
|
2068
|
+
#
|
|
2069
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/GetSessionEndpointResponse AWS API Documentation
|
|
2070
|
+
#
|
|
2071
|
+
class GetSessionEndpointResponse < Struct.new(
|
|
2072
|
+
:endpoint_url,
|
|
2073
|
+
:auth_token,
|
|
2074
|
+
:auth_token_expiration_time)
|
|
2075
|
+
SENSITIVE = []
|
|
2076
|
+
include Aws::Structure
|
|
2077
|
+
end
|
|
2078
|
+
|
|
1965
2079
|
# @!attribute [rw] session_id
|
|
1966
2080
|
# The session ID.
|
|
1967
2081
|
# @return [String]
|
|
@@ -2000,6 +2114,12 @@ module Aws::Athena
|
|
|
2000
2114
|
# The notebook version.
|
|
2001
2115
|
# @return [String]
|
|
2002
2116
|
#
|
|
2117
|
+
# @!attribute [rw] monitoring_configuration
|
|
2118
|
+
# Contains the configuration settings for managed log persistence,
|
|
2119
|
+
# delivering logs to Amazon S3 buckets, Amazon CloudWatch log groups
|
|
2120
|
+
# etc.
|
|
2121
|
+
# @return [Types::MonitoringConfiguration]
|
|
2122
|
+
#
|
|
2003
2123
|
# @!attribute [rw] session_configuration
|
|
2004
2124
|
# Contains the workgroup configuration information used by the
|
|
2005
2125
|
# session.
|
|
@@ -2022,6 +2142,7 @@ module Aws::Athena
|
|
|
2022
2142
|
:engine_version,
|
|
2023
2143
|
:engine_configuration,
|
|
2024
2144
|
:notebook_version,
|
|
2145
|
+
:monitoring_configuration,
|
|
2025
2146
|
:session_configuration,
|
|
2026
2147
|
:status,
|
|
2027
2148
|
:statistics)
|
|
@@ -3038,6 +3159,26 @@ module Aws::Athena
|
|
|
3038
3159
|
include Aws::Structure
|
|
3039
3160
|
end
|
|
3040
3161
|
|
|
3162
|
+
# Configuration settings for delivering logs to Amazon S3 buckets.
|
|
3163
|
+
#
|
|
3164
|
+
# @!attribute [rw] enabled
|
|
3165
|
+
# Enables mamanged log persistence.
|
|
3166
|
+
# @return [Boolean]
|
|
3167
|
+
#
|
|
3168
|
+
# @!attribute [rw] kms_key
|
|
3169
|
+
# The KMS key ARN to encrypt the logs stored in managed log
|
|
3170
|
+
# persistence.
|
|
3171
|
+
# @return [String]
|
|
3172
|
+
#
|
|
3173
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/ManagedLoggingConfiguration AWS API Documentation
|
|
3174
|
+
#
|
|
3175
|
+
class ManagedLoggingConfiguration < Struct.new(
|
|
3176
|
+
:enabled,
|
|
3177
|
+
:kms_key)
|
|
3178
|
+
SENSITIVE = []
|
|
3179
|
+
include Aws::Structure
|
|
3180
|
+
end
|
|
3181
|
+
|
|
3041
3182
|
# The configuration for storing results in Athena owned storage, which
|
|
3042
3183
|
# includes whether this feature is enabled; whether encryption
|
|
3043
3184
|
# configuration, if any, is used for encrypting query results.
|
|
@@ -3130,6 +3271,33 @@ module Aws::Athena
|
|
|
3130
3271
|
include Aws::Structure
|
|
3131
3272
|
end
|
|
3132
3273
|
|
|
3274
|
+
# Contains the configuration settings for managed log persistence,
|
|
3275
|
+
# delivering logs to Amazon S3 buckets, Amazon CloudWatch log groups
|
|
3276
|
+
# etc.
|
|
3277
|
+
#
|
|
3278
|
+
# @!attribute [rw] cloud_watch_logging_configuration
|
|
3279
|
+
# Configuration settings for delivering logs to Amazon CloudWatch log
|
|
3280
|
+
# groups.
|
|
3281
|
+
# @return [Types::CloudWatchLoggingConfiguration]
|
|
3282
|
+
#
|
|
3283
|
+
# @!attribute [rw] managed_logging_configuration
|
|
3284
|
+
# Configuration settings for managed log persistence.
|
|
3285
|
+
# @return [Types::ManagedLoggingConfiguration]
|
|
3286
|
+
#
|
|
3287
|
+
# @!attribute [rw] s3_logging_configuration
|
|
3288
|
+
# Configuration settings for delivering logs to Amazon S3 buckets.
|
|
3289
|
+
# @return [Types::S3LoggingConfiguration]
|
|
3290
|
+
#
|
|
3291
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/MonitoringConfiguration AWS API Documentation
|
|
3292
|
+
#
|
|
3293
|
+
class MonitoringConfiguration < Struct.new(
|
|
3294
|
+
:cloud_watch_logging_configuration,
|
|
3295
|
+
:managed_logging_configuration,
|
|
3296
|
+
:s3_logging_configuration)
|
|
3297
|
+
SENSITIVE = []
|
|
3298
|
+
include Aws::Structure
|
|
3299
|
+
end
|
|
3300
|
+
|
|
3133
3301
|
# A query, where `QueryString` contains the SQL statements that make up
|
|
3134
3302
|
# the query.
|
|
3135
3303
|
#
|
|
@@ -3320,7 +3488,7 @@ module Aws::Athena
|
|
|
3320
3488
|
# statements. `DML` indicates DML (Data Manipulation Language) query
|
|
3321
3489
|
# statements, such as `CREATE TABLE AS SELECT`. `UTILITY` indicates
|
|
3322
3490
|
# query statements other than DDL and DML, such as `SHOW CREATE
|
|
3323
|
-
# TABLE`,
|
|
3491
|
+
# TABLE`, `EXPLAIN`, `DESCRIBE`, or `SHOW TABLES`.
|
|
3324
3492
|
# @return [String]
|
|
3325
3493
|
#
|
|
3326
3494
|
# @!attribute [rw] managed_query_results_configuration
|
|
@@ -3484,6 +3652,11 @@ module Aws::Athena
|
|
|
3484
3652
|
# reused for the query.
|
|
3485
3653
|
# @return [Types::ResultReuseInformation]
|
|
3486
3654
|
#
|
|
3655
|
+
# @!attribute [rw] dpu_count
|
|
3656
|
+
# The number of Data Processing Units (DPUs) that Athena used to run
|
|
3657
|
+
# the query.
|
|
3658
|
+
# @return [Float]
|
|
3659
|
+
#
|
|
3487
3660
|
# @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/QueryExecutionStatistics AWS API Documentation
|
|
3488
3661
|
#
|
|
3489
3662
|
class QueryExecutionStatistics < Struct.new(
|
|
@@ -3495,7 +3668,8 @@ module Aws::Athena
|
|
|
3495
3668
|
:service_pre_processing_time_in_millis,
|
|
3496
3669
|
:query_planning_time_in_millis,
|
|
3497
3670
|
:service_processing_time_in_millis,
|
|
3498
|
-
:result_reuse_information
|
|
3671
|
+
:result_reuse_information,
|
|
3672
|
+
:dpu_count)
|
|
3499
3673
|
SENSITIVE = []
|
|
3500
3674
|
include Aws::Structure
|
|
3501
3675
|
end
|
|
@@ -3512,9 +3686,9 @@ module Aws::Athena
|
|
|
3512
3686
|
# experienced an error and did not complete processing. `CANCELLED`
|
|
3513
3687
|
# indicates that a user input interrupted query execution.
|
|
3514
3688
|
#
|
|
3515
|
-
# <note markdown="1">
|
|
3516
|
-
#
|
|
3517
|
-
#
|
|
3689
|
+
# <note markdown="1"> For queries that experience certain transient errors, the state
|
|
3690
|
+
# transitions from `RUNNING` back to `QUEUED`. The `FAILED` state is
|
|
3691
|
+
# always terminal with no automatic retry.
|
|
3518
3692
|
#
|
|
3519
3693
|
# </note>
|
|
3520
3694
|
# @return [String]
|
|
@@ -4098,6 +4272,31 @@ module Aws::Athena
|
|
|
4098
4272
|
include Aws::Structure
|
|
4099
4273
|
end
|
|
4100
4274
|
|
|
4275
|
+
# Configuration settings for delivering logs to Amazon S3 buckets.
|
|
4276
|
+
#
|
|
4277
|
+
# @!attribute [rw] enabled
|
|
4278
|
+
# Enables S3 log delivery.
|
|
4279
|
+
# @return [Boolean]
|
|
4280
|
+
#
|
|
4281
|
+
# @!attribute [rw] kms_key
|
|
4282
|
+
# The KMS key ARN to encrypt the logs published to the given Amazon S3
|
|
4283
|
+
# destination.
|
|
4284
|
+
# @return [String]
|
|
4285
|
+
#
|
|
4286
|
+
# @!attribute [rw] log_location
|
|
4287
|
+
# The Amazon S3 destination URI for log publishing.
|
|
4288
|
+
# @return [String]
|
|
4289
|
+
#
|
|
4290
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/S3LoggingConfiguration AWS API Documentation
|
|
4291
|
+
#
|
|
4292
|
+
class S3LoggingConfiguration < Struct.new(
|
|
4293
|
+
:enabled,
|
|
4294
|
+
:kms_key,
|
|
4295
|
+
:log_location)
|
|
4296
|
+
SENSITIVE = []
|
|
4297
|
+
include Aws::Structure
|
|
4298
|
+
end
|
|
4299
|
+
|
|
4101
4300
|
# The specified session already exists.
|
|
4102
4301
|
#
|
|
4103
4302
|
# @!attribute [rw] message
|
|
@@ -4128,6 +4327,10 @@ module Aws::Athena
|
|
|
4128
4327
|
# The idle timeout in seconds for the session.
|
|
4129
4328
|
# @return [Integer]
|
|
4130
4329
|
#
|
|
4330
|
+
# @!attribute [rw] session_idle_timeout_in_minutes
|
|
4331
|
+
# The idle timeout in seconds for the session.
|
|
4332
|
+
# @return [Integer]
|
|
4333
|
+
#
|
|
4131
4334
|
# @!attribute [rw] encryption_configuration
|
|
4132
4335
|
# If query and calculation results are encrypted in Amazon S3,
|
|
4133
4336
|
# indicates the encryption option used (for example, `SSE_KMS` or
|
|
@@ -4140,6 +4343,7 @@ module Aws::Athena
|
|
|
4140
4343
|
:execution_role,
|
|
4141
4344
|
:working_directory,
|
|
4142
4345
|
:idle_timeout_seconds,
|
|
4346
|
+
:session_idle_timeout_in_minutes,
|
|
4143
4347
|
:encryption_configuration)
|
|
4144
4348
|
SENSITIVE = []
|
|
4145
4349
|
include Aws::Structure
|
|
@@ -4384,6 +4588,11 @@ module Aws::Athena
|
|
|
4384
4588
|
# Specifies the query result reuse behavior for the query.
|
|
4385
4589
|
# @return [Types::ResultReuseConfiguration]
|
|
4386
4590
|
#
|
|
4591
|
+
# @!attribute [rw] engine_configuration
|
|
4592
|
+
# Contains data processing unit (DPU) configuration settings and
|
|
4593
|
+
# parameter mappings for a notebook engine.
|
|
4594
|
+
# @return [Types::EngineConfiguration]
|
|
4595
|
+
#
|
|
4387
4596
|
# @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/StartQueryExecutionInput AWS API Documentation
|
|
4388
4597
|
#
|
|
4389
4598
|
class StartQueryExecutionInput < Struct.new(
|
|
@@ -4393,7 +4602,8 @@ module Aws::Athena
|
|
|
4393
4602
|
:result_configuration,
|
|
4394
4603
|
:work_group,
|
|
4395
4604
|
:execution_parameters,
|
|
4396
|
-
:result_reuse_configuration
|
|
4605
|
+
:result_reuse_configuration,
|
|
4606
|
+
:engine_configuration)
|
|
4397
4607
|
SENSITIVE = []
|
|
4398
4608
|
include Aws::Structure
|
|
4399
4609
|
end
|
|
@@ -4423,6 +4633,19 @@ module Aws::Athena
|
|
|
4423
4633
|
# and parameter mappings.
|
|
4424
4634
|
# @return [Types::EngineConfiguration]
|
|
4425
4635
|
#
|
|
4636
|
+
# @!attribute [rw] execution_role
|
|
4637
|
+
# The ARN of the execution role used to access user resources for
|
|
4638
|
+
# Spark sessions and Identity Center enabled workgroups. This property
|
|
4639
|
+
# applies only to Spark enabled workgroups and Identity Center enabled
|
|
4640
|
+
# workgroups.
|
|
4641
|
+
# @return [String]
|
|
4642
|
+
#
|
|
4643
|
+
# @!attribute [rw] monitoring_configuration
|
|
4644
|
+
# Contains the configuration settings for managed log persistence,
|
|
4645
|
+
# delivering logs to Amazon S3 buckets, Amazon CloudWatch log groups
|
|
4646
|
+
# etc.
|
|
4647
|
+
# @return [Types::MonitoringConfiguration]
|
|
4648
|
+
#
|
|
4426
4649
|
# @!attribute [rw] notebook_version
|
|
4427
4650
|
# The notebook version. This value is supplied automatically for
|
|
4428
4651
|
# notebook sessions in the Athena console and is not required for
|
|
@@ -4450,15 +4673,28 @@ module Aws::Athena
|
|
|
4450
4673
|
# this token or the action will fail.
|
|
4451
4674
|
# @return [String]
|
|
4452
4675
|
#
|
|
4676
|
+
# @!attribute [rw] tags
|
|
4677
|
+
# A list of comma separated tags to add to the session that is
|
|
4678
|
+
# created.
|
|
4679
|
+
# @return [Array<Types::Tag>]
|
|
4680
|
+
#
|
|
4681
|
+
# @!attribute [rw] copy_work_group_tags
|
|
4682
|
+
# Copies the tags from the Workgroup to the Session when.
|
|
4683
|
+
# @return [Boolean]
|
|
4684
|
+
#
|
|
4453
4685
|
# @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/StartSessionRequest AWS API Documentation
|
|
4454
4686
|
#
|
|
4455
4687
|
class StartSessionRequest < Struct.new(
|
|
4456
4688
|
:description,
|
|
4457
4689
|
:work_group,
|
|
4458
4690
|
:engine_configuration,
|
|
4691
|
+
:execution_role,
|
|
4692
|
+
:monitoring_configuration,
|
|
4459
4693
|
:notebook_version,
|
|
4460
4694
|
:session_idle_timeout_in_minutes,
|
|
4461
|
-
:client_request_token
|
|
4695
|
+
:client_request_token,
|
|
4696
|
+
:tags,
|
|
4697
|
+
:copy_work_group_tags)
|
|
4462
4698
|
SENSITIVE = []
|
|
4463
4699
|
include Aws::Structure
|
|
4464
4700
|
end
|
|
@@ -5180,7 +5416,8 @@ module Aws::Athena
|
|
|
5180
5416
|
# @!attribute [rw] enforce_work_group_configuration
|
|
5181
5417
|
# If set to "true", the settings for the workgroup override
|
|
5182
5418
|
# client-side settings. If set to "false", client-side settings are
|
|
5183
|
-
# used.
|
|
5419
|
+
# used. This property is not required for Apache Spark enabled
|
|
5420
|
+
# workgroups. For more information, see [Workgroup Settings Override
|
|
5184
5421
|
# Client-Side Settings][1].
|
|
5185
5422
|
#
|
|
5186
5423
|
#
|
|
@@ -5231,6 +5468,17 @@ module Aws::Athena
|
|
|
5231
5468
|
# Center enabled workgroups.
|
|
5232
5469
|
# @return [String]
|
|
5233
5470
|
#
|
|
5471
|
+
# @!attribute [rw] monitoring_configuration
|
|
5472
|
+
# Contains the configuration settings for managed log persistence,
|
|
5473
|
+
# delivering logs to Amazon S3 buckets, Amazon CloudWatch log groups
|
|
5474
|
+
# etc.
|
|
5475
|
+
# @return [Types::MonitoringConfiguration]
|
|
5476
|
+
#
|
|
5477
|
+
# @!attribute [rw] engine_configuration
|
|
5478
|
+
# Contains data processing unit (DPU) configuration settings and
|
|
5479
|
+
# parameter mappings for a notebook engine.
|
|
5480
|
+
# @return [Types::EngineConfiguration]
|
|
5481
|
+
#
|
|
5234
5482
|
# @!attribute [rw] customer_content_encryption_configuration
|
|
5235
5483
|
# Specifies the KMS key that is used to encrypt the user's data
|
|
5236
5484
|
# stores in Athena. This setting does not apply to Athena SQL
|
|
@@ -5271,6 +5519,8 @@ module Aws::Athena
|
|
|
5271
5519
|
:engine_version,
|
|
5272
5520
|
:additional_configuration,
|
|
5273
5521
|
:execution_role,
|
|
5522
|
+
:monitoring_configuration,
|
|
5523
|
+
:engine_configuration,
|
|
5274
5524
|
:customer_content_encryption_configuration,
|
|
5275
5525
|
:enable_minimum_encryption_configuration,
|
|
5276
5526
|
:identity_center_configuration,
|
|
@@ -5389,6 +5639,17 @@ module Aws::Athena
|
|
|
5389
5639
|
# results.
|
|
5390
5640
|
# @return [Types::QueryResultsS3AccessGrantsConfiguration]
|
|
5391
5641
|
#
|
|
5642
|
+
# @!attribute [rw] monitoring_configuration
|
|
5643
|
+
# Contains the configuration settings for managed log persistence,
|
|
5644
|
+
# delivering logs to Amazon S3 buckets, Amazon CloudWatch log groups
|
|
5645
|
+
# etc.
|
|
5646
|
+
# @return [Types::MonitoringConfiguration]
|
|
5647
|
+
#
|
|
5648
|
+
# @!attribute [rw] engine_configuration
|
|
5649
|
+
# Contains data processing unit (DPU) configuration settings and
|
|
5650
|
+
# parameter mappings for a notebook engine.
|
|
5651
|
+
# @return [Types::EngineConfiguration]
|
|
5652
|
+
#
|
|
5392
5653
|
# @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/WorkGroupConfigurationUpdates AWS API Documentation
|
|
5393
5654
|
#
|
|
5394
5655
|
class WorkGroupConfigurationUpdates < Struct.new(
|
|
@@ -5405,7 +5666,9 @@ module Aws::Athena
|
|
|
5405
5666
|
:execution_role,
|
|
5406
5667
|
:customer_content_encryption_configuration,
|
|
5407
5668
|
:enable_minimum_encryption_configuration,
|
|
5408
|
-
:query_results_s3_access_grants_configuration
|
|
5669
|
+
:query_results_s3_access_grants_configuration,
|
|
5670
|
+
:monitoring_configuration,
|
|
5671
|
+
:engine_configuration)
|
|
5409
5672
|
SENSITIVE = []
|
|
5410
5673
|
include Aws::Structure
|
|
5411
5674
|
end
|
data/lib/aws-sdk-athena.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -242,6 +242,36 @@ module Aws
|
|
|
242
242
|
}?,
|
|
243
243
|
additional_configuration: ::String?,
|
|
244
244
|
execution_role: ::String?,
|
|
245
|
+
monitoring_configuration: {
|
|
246
|
+
cloud_watch_logging_configuration: {
|
|
247
|
+
enabled: bool,
|
|
248
|
+
log_group: ::String?,
|
|
249
|
+
log_stream_name_prefix: ::String?,
|
|
250
|
+
log_types: Hash[::String, Array[::String]]?
|
|
251
|
+
}?,
|
|
252
|
+
managed_logging_configuration: {
|
|
253
|
+
enabled: bool,
|
|
254
|
+
kms_key: ::String?
|
|
255
|
+
}?,
|
|
256
|
+
s3_logging_configuration: {
|
|
257
|
+
enabled: bool,
|
|
258
|
+
kms_key: ::String?,
|
|
259
|
+
log_location: ::String?
|
|
260
|
+
}?
|
|
261
|
+
}?,
|
|
262
|
+
engine_configuration: {
|
|
263
|
+
coordinator_dpu_size: ::Integer?,
|
|
264
|
+
max_concurrent_dpus: ::Integer?,
|
|
265
|
+
default_executor_dpu_size: ::Integer?,
|
|
266
|
+
additional_configs: Hash[::String, ::String]?,
|
|
267
|
+
spark_properties: Hash[::String, ::String]?,
|
|
268
|
+
classifications: Array[
|
|
269
|
+
{
|
|
270
|
+
name: ::String?,
|
|
271
|
+
properties: Hash[::String, ::String]?
|
|
272
|
+
},
|
|
273
|
+
]?
|
|
274
|
+
}?,
|
|
245
275
|
customer_content_encryption_configuration: {
|
|
246
276
|
kms_key: ::String
|
|
247
277
|
}?,
|
|
@@ -481,6 +511,16 @@ module Aws
|
|
|
481
511
|
) -> _GetQueryRuntimeStatisticsResponseSuccess
|
|
482
512
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetQueryRuntimeStatisticsResponseSuccess
|
|
483
513
|
|
|
514
|
+
interface _GetResourceDashboardResponseSuccess
|
|
515
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetResourceDashboardResponse]
|
|
516
|
+
def url: () -> ::String
|
|
517
|
+
end
|
|
518
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Athena/Client.html#get_resource_dashboard-instance_method
|
|
519
|
+
def get_resource_dashboard: (
|
|
520
|
+
resource_arn: ::String
|
|
521
|
+
) -> _GetResourceDashboardResponseSuccess
|
|
522
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetResourceDashboardResponseSuccess
|
|
523
|
+
|
|
484
524
|
interface _GetSessionResponseSuccess
|
|
485
525
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetSessionResponse]
|
|
486
526
|
def session_id: () -> ::String
|
|
@@ -489,6 +529,7 @@ module Aws
|
|
|
489
529
|
def engine_version: () -> ::String
|
|
490
530
|
def engine_configuration: () -> Types::EngineConfiguration
|
|
491
531
|
def notebook_version: () -> ::String
|
|
532
|
+
def monitoring_configuration: () -> Types::MonitoringConfiguration
|
|
492
533
|
def session_configuration: () -> Types::SessionConfiguration
|
|
493
534
|
def status: () -> Types::SessionStatus
|
|
494
535
|
def statistics: () -> Types::SessionStatistics
|
|
@@ -499,6 +540,18 @@ module Aws
|
|
|
499
540
|
) -> _GetSessionResponseSuccess
|
|
500
541
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSessionResponseSuccess
|
|
501
542
|
|
|
543
|
+
interface _GetSessionEndpointResponseSuccess
|
|
544
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetSessionEndpointResponse]
|
|
545
|
+
def endpoint_url: () -> ::String
|
|
546
|
+
def auth_token: () -> ::String
|
|
547
|
+
def auth_token_expiration_time: () -> ::Time
|
|
548
|
+
end
|
|
549
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Athena/Client.html#get_session_endpoint-instance_method
|
|
550
|
+
def get_session_endpoint: (
|
|
551
|
+
session_id: ::String
|
|
552
|
+
) -> _GetSessionEndpointResponseSuccess
|
|
553
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSessionEndpointResponseSuccess
|
|
554
|
+
|
|
502
555
|
interface _GetSessionStatusResponseSuccess
|
|
503
556
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetSessionStatusResponse]
|
|
504
557
|
def session_id: () -> ::String
|
|
@@ -824,6 +877,19 @@ module Aws
|
|
|
824
877
|
enabled: bool,
|
|
825
878
|
max_age_in_minutes: ::Integer?
|
|
826
879
|
}?
|
|
880
|
+
},
|
|
881
|
+
?engine_configuration: {
|
|
882
|
+
coordinator_dpu_size: ::Integer?,
|
|
883
|
+
max_concurrent_dpus: ::Integer?,
|
|
884
|
+
default_executor_dpu_size: ::Integer?,
|
|
885
|
+
additional_configs: Hash[::String, ::String]?,
|
|
886
|
+
spark_properties: Hash[::String, ::String]?,
|
|
887
|
+
classifications: Array[
|
|
888
|
+
{
|
|
889
|
+
name: ::String?,
|
|
890
|
+
properties: Hash[::String, ::String]?
|
|
891
|
+
},
|
|
892
|
+
]?
|
|
827
893
|
}
|
|
828
894
|
) -> _StartQueryExecutionResponseSuccess
|
|
829
895
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartQueryExecutionResponseSuccess
|
|
@@ -839,14 +905,45 @@ module Aws
|
|
|
839
905
|
work_group: ::String,
|
|
840
906
|
engine_configuration: {
|
|
841
907
|
coordinator_dpu_size: ::Integer?,
|
|
842
|
-
max_concurrent_dpus: ::Integer
|
|
908
|
+
max_concurrent_dpus: ::Integer?,
|
|
843
909
|
default_executor_dpu_size: ::Integer?,
|
|
844
910
|
additional_configs: Hash[::String, ::String]?,
|
|
845
|
-
spark_properties: Hash[::String, ::String]
|
|
911
|
+
spark_properties: Hash[::String, ::String]?,
|
|
912
|
+
classifications: Array[
|
|
913
|
+
{
|
|
914
|
+
name: ::String?,
|
|
915
|
+
properties: Hash[::String, ::String]?
|
|
916
|
+
},
|
|
917
|
+
]?
|
|
918
|
+
},
|
|
919
|
+
?execution_role: ::String,
|
|
920
|
+
?monitoring_configuration: {
|
|
921
|
+
cloud_watch_logging_configuration: {
|
|
922
|
+
enabled: bool,
|
|
923
|
+
log_group: ::String?,
|
|
924
|
+
log_stream_name_prefix: ::String?,
|
|
925
|
+
log_types: Hash[::String, Array[::String]]?
|
|
926
|
+
}?,
|
|
927
|
+
managed_logging_configuration: {
|
|
928
|
+
enabled: bool,
|
|
929
|
+
kms_key: ::String?
|
|
930
|
+
}?,
|
|
931
|
+
s3_logging_configuration: {
|
|
932
|
+
enabled: bool,
|
|
933
|
+
kms_key: ::String?,
|
|
934
|
+
log_location: ::String?
|
|
935
|
+
}?
|
|
846
936
|
},
|
|
847
937
|
?notebook_version: ::String,
|
|
848
938
|
?session_idle_timeout_in_minutes: ::Integer,
|
|
849
|
-
?client_request_token: ::String
|
|
939
|
+
?client_request_token: ::String,
|
|
940
|
+
?tags: Array[
|
|
941
|
+
{
|
|
942
|
+
key: ::String?,
|
|
943
|
+
value: ::String?
|
|
944
|
+
},
|
|
945
|
+
],
|
|
946
|
+
?copy_work_group_tags: bool
|
|
850
947
|
) -> _StartSessionResponseSuccess
|
|
851
948
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartSessionResponseSuccess
|
|
852
949
|
|
|
@@ -1024,6 +1121,36 @@ module Aws
|
|
|
1024
1121
|
enable_s3_access_grants: bool,
|
|
1025
1122
|
create_user_level_prefix: bool?,
|
|
1026
1123
|
authentication_type: ("DIRECTORY_IDENTITY")
|
|
1124
|
+
}?,
|
|
1125
|
+
monitoring_configuration: {
|
|
1126
|
+
cloud_watch_logging_configuration: {
|
|
1127
|
+
enabled: bool,
|
|
1128
|
+
log_group: ::String?,
|
|
1129
|
+
log_stream_name_prefix: ::String?,
|
|
1130
|
+
log_types: Hash[::String, Array[::String]]?
|
|
1131
|
+
}?,
|
|
1132
|
+
managed_logging_configuration: {
|
|
1133
|
+
enabled: bool,
|
|
1134
|
+
kms_key: ::String?
|
|
1135
|
+
}?,
|
|
1136
|
+
s3_logging_configuration: {
|
|
1137
|
+
enabled: bool,
|
|
1138
|
+
kms_key: ::String?,
|
|
1139
|
+
log_location: ::String?
|
|
1140
|
+
}?
|
|
1141
|
+
}?,
|
|
1142
|
+
engine_configuration: {
|
|
1143
|
+
coordinator_dpu_size: ::Integer?,
|
|
1144
|
+
max_concurrent_dpus: ::Integer?,
|
|
1145
|
+
default_executor_dpu_size: ::Integer?,
|
|
1146
|
+
additional_configs: Hash[::String, ::String]?,
|
|
1147
|
+
spark_properties: Hash[::String, ::String]?,
|
|
1148
|
+
classifications: Array[
|
|
1149
|
+
{
|
|
1150
|
+
name: ::String?,
|
|
1151
|
+
properties: Hash[::String, ::String]?
|
|
1152
|
+
},
|
|
1153
|
+
]?
|
|
1027
1154
|
}?
|
|
1028
1155
|
},
|
|
1029
1156
|
?state: ("ENABLED" | "DISABLED")
|