aws-sdk-athena 1.80.0 → 1.81.0

Sign up to get free protection for your applications and to get access to all the features.
data/sig/client.rbs ADDED
@@ -0,0 +1,1012 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module Athena
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Athena/Client.html#initialize-instance_method
14
+ def self.new: (
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?active_endpoint_cache: bool,
19
+ ?adaptive_retry_wait_to_fill: bool,
20
+ ?client_side_monitoring: bool,
21
+ ?client_side_monitoring_client_id: String,
22
+ ?client_side_monitoring_host: String,
23
+ ?client_side_monitoring_port: Integer,
24
+ ?client_side_monitoring_publisher: untyped,
25
+ ?convert_params: bool,
26
+ ?correct_clock_skew: bool,
27
+ ?defaults_mode: String,
28
+ ?disable_host_prefix_injection: bool,
29
+ ?disable_request_compression: bool,
30
+ ?endpoint: String,
31
+ ?endpoint_cache_max_entries: Integer,
32
+ ?endpoint_cache_max_threads: Integer,
33
+ ?endpoint_cache_poll_interval: Integer,
34
+ ?endpoint_discovery: bool,
35
+ ?ignore_configured_endpoint_urls: bool,
36
+ ?log_formatter: untyped,
37
+ ?log_level: Symbol,
38
+ ?logger: untyped,
39
+ ?max_attempts: Integer,
40
+ ?profile: String,
41
+ ?request_min_compression_size_bytes: Integer,
42
+ ?retry_backoff: Proc,
43
+ ?retry_base_delay: Float,
44
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
45
+ ?retry_limit: Integer,
46
+ ?retry_max_delay: Integer,
47
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
48
+ ?sdk_ua_app_id: String,
49
+ ?secret_access_key: String,
50
+ ?session_token: String,
51
+ ?simple_json: bool,
52
+ ?stub_responses: untyped,
53
+ ?token_provider: untyped,
54
+ ?use_dualstack_endpoint: bool,
55
+ ?use_fips_endpoint: bool,
56
+ ?validate_params: bool,
57
+ ?endpoint_provider: untyped,
58
+ ?http_proxy: String,
59
+ ?http_open_timeout: (Float | Integer),
60
+ ?http_read_timeout: (Float | Integer),
61
+ ?http_idle_timeout: (Float | Integer),
62
+ ?http_continue_timeout: (Float | Integer),
63
+ ?ssl_timeout: (Float | Integer | nil),
64
+ ?http_wire_trace: bool,
65
+ ?ssl_verify_peer: bool,
66
+ ?ssl_ca_bundle: String,
67
+ ?ssl_ca_directory: String,
68
+ ?ssl_ca_store: String,
69
+ ?on_chunk_received: Proc,
70
+ ?on_chunk_sent: Proc,
71
+ ?raise_response_errors: bool
72
+ ) -> instance
73
+ | (?Hash[Symbol, untyped]) -> instance
74
+
75
+
76
+ interface _BatchGetNamedQueryResponseSuccess
77
+ include ::Seahorse::Client::_ResponseSuccess[Types::BatchGetNamedQueryOutput]
78
+ def named_queries: () -> ::Array[Types::NamedQuery]
79
+ def unprocessed_named_query_ids: () -> ::Array[Types::UnprocessedNamedQueryId]
80
+ end
81
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Athena/Client.html#batch_get_named_query-instance_method
82
+ def batch_get_named_query: (
83
+ named_query_ids: Array[::String]
84
+ ) -> _BatchGetNamedQueryResponseSuccess
85
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchGetNamedQueryResponseSuccess
86
+
87
+ interface _BatchGetPreparedStatementResponseSuccess
88
+ include ::Seahorse::Client::_ResponseSuccess[Types::BatchGetPreparedStatementOutput]
89
+ def prepared_statements: () -> ::Array[Types::PreparedStatement]
90
+ def unprocessed_prepared_statement_names: () -> ::Array[Types::UnprocessedPreparedStatementName]
91
+ end
92
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Athena/Client.html#batch_get_prepared_statement-instance_method
93
+ def batch_get_prepared_statement: (
94
+ prepared_statement_names: Array[::String],
95
+ work_group: ::String
96
+ ) -> _BatchGetPreparedStatementResponseSuccess
97
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchGetPreparedStatementResponseSuccess
98
+
99
+ interface _BatchGetQueryExecutionResponseSuccess
100
+ include ::Seahorse::Client::_ResponseSuccess[Types::BatchGetQueryExecutionOutput]
101
+ def query_executions: () -> ::Array[Types::QueryExecution]
102
+ def unprocessed_query_execution_ids: () -> ::Array[Types::UnprocessedQueryExecutionId]
103
+ end
104
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Athena/Client.html#batch_get_query_execution-instance_method
105
+ def batch_get_query_execution: (
106
+ query_execution_ids: Array[::String]
107
+ ) -> _BatchGetQueryExecutionResponseSuccess
108
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchGetQueryExecutionResponseSuccess
109
+
110
+ interface _CancelCapacityReservationResponseSuccess
111
+ include ::Seahorse::Client::_ResponseSuccess[Types::CancelCapacityReservationOutput]
112
+ end
113
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Athena/Client.html#cancel_capacity_reservation-instance_method
114
+ def cancel_capacity_reservation: (
115
+ name: ::String
116
+ ) -> _CancelCapacityReservationResponseSuccess
117
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CancelCapacityReservationResponseSuccess
118
+
119
+ interface _CreateCapacityReservationResponseSuccess
120
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateCapacityReservationOutput]
121
+ end
122
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Athena/Client.html#create_capacity_reservation-instance_method
123
+ def create_capacity_reservation: (
124
+ target_dpus: ::Integer,
125
+ name: ::String,
126
+ ?tags: Array[
127
+ {
128
+ key: ::String?,
129
+ value: ::String?
130
+ },
131
+ ]
132
+ ) -> _CreateCapacityReservationResponseSuccess
133
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateCapacityReservationResponseSuccess
134
+
135
+ interface _CreateDataCatalogResponseSuccess
136
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateDataCatalogOutput]
137
+ end
138
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Athena/Client.html#create_data_catalog-instance_method
139
+ def create_data_catalog: (
140
+ name: ::String,
141
+ type: ("LAMBDA" | "GLUE" | "HIVE"),
142
+ ?description: ::String,
143
+ ?parameters: Hash[::String, ::String],
144
+ ?tags: Array[
145
+ {
146
+ key: ::String?,
147
+ value: ::String?
148
+ },
149
+ ]
150
+ ) -> _CreateDataCatalogResponseSuccess
151
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDataCatalogResponseSuccess
152
+
153
+ interface _CreateNamedQueryResponseSuccess
154
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateNamedQueryOutput]
155
+ def named_query_id: () -> ::String
156
+ end
157
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Athena/Client.html#create_named_query-instance_method
158
+ def create_named_query: (
159
+ name: ::String,
160
+ ?description: ::String,
161
+ database: ::String,
162
+ query_string: ::String,
163
+ ?client_request_token: ::String,
164
+ ?work_group: ::String
165
+ ) -> _CreateNamedQueryResponseSuccess
166
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateNamedQueryResponseSuccess
167
+
168
+ interface _CreateNotebookResponseSuccess
169
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateNotebookOutput]
170
+ def notebook_id: () -> ::String
171
+ end
172
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Athena/Client.html#create_notebook-instance_method
173
+ def create_notebook: (
174
+ work_group: ::String,
175
+ name: ::String,
176
+ ?client_request_token: ::String
177
+ ) -> _CreateNotebookResponseSuccess
178
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateNotebookResponseSuccess
179
+
180
+ interface _CreatePreparedStatementResponseSuccess
181
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreatePreparedStatementOutput]
182
+ end
183
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Athena/Client.html#create_prepared_statement-instance_method
184
+ def create_prepared_statement: (
185
+ statement_name: ::String,
186
+ work_group: ::String,
187
+ query_statement: ::String,
188
+ ?description: ::String
189
+ ) -> _CreatePreparedStatementResponseSuccess
190
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreatePreparedStatementResponseSuccess
191
+
192
+ interface _CreatePresignedNotebookUrlResponseSuccess
193
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreatePresignedNotebookUrlResponse]
194
+ def notebook_url: () -> ::String
195
+ def auth_token: () -> ::String
196
+ def auth_token_expiration_time: () -> ::Integer
197
+ end
198
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Athena/Client.html#create_presigned_notebook_url-instance_method
199
+ def create_presigned_notebook_url: (
200
+ session_id: ::String
201
+ ) -> _CreatePresignedNotebookUrlResponseSuccess
202
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreatePresignedNotebookUrlResponseSuccess
203
+
204
+ interface _CreateWorkGroupResponseSuccess
205
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateWorkGroupOutput]
206
+ end
207
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Athena/Client.html#create_work_group-instance_method
208
+ def create_work_group: (
209
+ name: ::String,
210
+ ?configuration: {
211
+ result_configuration: {
212
+ output_location: ::String?,
213
+ encryption_configuration: {
214
+ encryption_option: ("SSE_S3" | "SSE_KMS" | "CSE_KMS"),
215
+ kms_key: ::String?
216
+ }?,
217
+ expected_bucket_owner: ::String?,
218
+ acl_configuration: {
219
+ s3_acl_option: ("BUCKET_OWNER_FULL_CONTROL")
220
+ }?
221
+ }?,
222
+ enforce_work_group_configuration: bool?,
223
+ publish_cloud_watch_metrics_enabled: bool?,
224
+ bytes_scanned_cutoff_per_query: ::Integer?,
225
+ requester_pays_enabled: bool?,
226
+ engine_version: {
227
+ selected_engine_version: ::String?,
228
+ effective_engine_version: ::String?
229
+ }?,
230
+ additional_configuration: ::String?,
231
+ execution_role: ::String?,
232
+ customer_content_encryption_configuration: {
233
+ kms_key: ::String
234
+ }?,
235
+ enable_minimum_encryption_configuration: bool?,
236
+ identity_center_configuration: {
237
+ enable_identity_center: bool?,
238
+ identity_center_instance_arn: ::String?
239
+ }?,
240
+ query_results_s3_access_grants_configuration: {
241
+ enable_s3_access_grants: bool,
242
+ create_user_level_prefix: bool?,
243
+ authentication_type: ("DIRECTORY_IDENTITY")
244
+ }?
245
+ },
246
+ ?description: ::String,
247
+ ?tags: Array[
248
+ {
249
+ key: ::String?,
250
+ value: ::String?
251
+ },
252
+ ]
253
+ ) -> _CreateWorkGroupResponseSuccess
254
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateWorkGroupResponseSuccess
255
+
256
+ interface _DeleteCapacityReservationResponseSuccess
257
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteCapacityReservationOutput]
258
+ end
259
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Athena/Client.html#delete_capacity_reservation-instance_method
260
+ def delete_capacity_reservation: (
261
+ name: ::String
262
+ ) -> _DeleteCapacityReservationResponseSuccess
263
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteCapacityReservationResponseSuccess
264
+
265
+ interface _DeleteDataCatalogResponseSuccess
266
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteDataCatalogOutput]
267
+ end
268
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Athena/Client.html#delete_data_catalog-instance_method
269
+ def delete_data_catalog: (
270
+ name: ::String
271
+ ) -> _DeleteDataCatalogResponseSuccess
272
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteDataCatalogResponseSuccess
273
+
274
+ interface _DeleteNamedQueryResponseSuccess
275
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteNamedQueryOutput]
276
+ end
277
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Athena/Client.html#delete_named_query-instance_method
278
+ def delete_named_query: (
279
+ named_query_id: ::String
280
+ ) -> _DeleteNamedQueryResponseSuccess
281
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteNamedQueryResponseSuccess
282
+
283
+ interface _DeleteNotebookResponseSuccess
284
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteNotebookOutput]
285
+ end
286
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Athena/Client.html#delete_notebook-instance_method
287
+ def delete_notebook: (
288
+ notebook_id: ::String
289
+ ) -> _DeleteNotebookResponseSuccess
290
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteNotebookResponseSuccess
291
+
292
+ interface _DeletePreparedStatementResponseSuccess
293
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeletePreparedStatementOutput]
294
+ end
295
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Athena/Client.html#delete_prepared_statement-instance_method
296
+ def delete_prepared_statement: (
297
+ statement_name: ::String,
298
+ work_group: ::String
299
+ ) -> _DeletePreparedStatementResponseSuccess
300
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeletePreparedStatementResponseSuccess
301
+
302
+ interface _DeleteWorkGroupResponseSuccess
303
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteWorkGroupOutput]
304
+ end
305
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Athena/Client.html#delete_work_group-instance_method
306
+ def delete_work_group: (
307
+ work_group: ::String,
308
+ ?recursive_delete_option: bool
309
+ ) -> _DeleteWorkGroupResponseSuccess
310
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteWorkGroupResponseSuccess
311
+
312
+ interface _ExportNotebookResponseSuccess
313
+ include ::Seahorse::Client::_ResponseSuccess[Types::ExportNotebookOutput]
314
+ def notebook_metadata: () -> Types::NotebookMetadata
315
+ def payload: () -> ::String
316
+ end
317
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Athena/Client.html#export_notebook-instance_method
318
+ def export_notebook: (
319
+ notebook_id: ::String
320
+ ) -> _ExportNotebookResponseSuccess
321
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ExportNotebookResponseSuccess
322
+
323
+ interface _GetCalculationExecutionResponseSuccess
324
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetCalculationExecutionResponse]
325
+ def calculation_execution_id: () -> ::String
326
+ def session_id: () -> ::String
327
+ def description: () -> ::String
328
+ def working_directory: () -> ::String
329
+ def status: () -> Types::CalculationStatus
330
+ def statistics: () -> Types::CalculationStatistics
331
+ def result: () -> Types::CalculationResult
332
+ end
333
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Athena/Client.html#get_calculation_execution-instance_method
334
+ def get_calculation_execution: (
335
+ calculation_execution_id: ::String
336
+ ) -> _GetCalculationExecutionResponseSuccess
337
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCalculationExecutionResponseSuccess
338
+
339
+ interface _GetCalculationExecutionCodeResponseSuccess
340
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetCalculationExecutionCodeResponse]
341
+ def code_block: () -> ::String
342
+ end
343
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Athena/Client.html#get_calculation_execution_code-instance_method
344
+ def get_calculation_execution_code: (
345
+ calculation_execution_id: ::String
346
+ ) -> _GetCalculationExecutionCodeResponseSuccess
347
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCalculationExecutionCodeResponseSuccess
348
+
349
+ interface _GetCalculationExecutionStatusResponseSuccess
350
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetCalculationExecutionStatusResponse]
351
+ def status: () -> Types::CalculationStatus
352
+ def statistics: () -> Types::CalculationStatistics
353
+ end
354
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Athena/Client.html#get_calculation_execution_status-instance_method
355
+ def get_calculation_execution_status: (
356
+ calculation_execution_id: ::String
357
+ ) -> _GetCalculationExecutionStatusResponseSuccess
358
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCalculationExecutionStatusResponseSuccess
359
+
360
+ interface _GetCapacityAssignmentConfigurationResponseSuccess
361
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetCapacityAssignmentConfigurationOutput]
362
+ def capacity_assignment_configuration: () -> Types::CapacityAssignmentConfiguration
363
+ end
364
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Athena/Client.html#get_capacity_assignment_configuration-instance_method
365
+ def get_capacity_assignment_configuration: (
366
+ capacity_reservation_name: ::String
367
+ ) -> _GetCapacityAssignmentConfigurationResponseSuccess
368
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCapacityAssignmentConfigurationResponseSuccess
369
+
370
+ interface _GetCapacityReservationResponseSuccess
371
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetCapacityReservationOutput]
372
+ def capacity_reservation: () -> Types::CapacityReservation
373
+ end
374
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Athena/Client.html#get_capacity_reservation-instance_method
375
+ def get_capacity_reservation: (
376
+ name: ::String
377
+ ) -> _GetCapacityReservationResponseSuccess
378
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCapacityReservationResponseSuccess
379
+
380
+ interface _GetDataCatalogResponseSuccess
381
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetDataCatalogOutput]
382
+ def data_catalog: () -> Types::DataCatalog
383
+ end
384
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Athena/Client.html#get_data_catalog-instance_method
385
+ def get_data_catalog: (
386
+ name: ::String,
387
+ ?work_group: ::String
388
+ ) -> _GetDataCatalogResponseSuccess
389
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDataCatalogResponseSuccess
390
+
391
+ interface _GetDatabaseResponseSuccess
392
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetDatabaseOutput]
393
+ def database: () -> Types::Database
394
+ end
395
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Athena/Client.html#get_database-instance_method
396
+ def get_database: (
397
+ catalog_name: ::String,
398
+ database_name: ::String,
399
+ ?work_group: ::String
400
+ ) -> _GetDatabaseResponseSuccess
401
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDatabaseResponseSuccess
402
+
403
+ interface _GetNamedQueryResponseSuccess
404
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetNamedQueryOutput]
405
+ def named_query: () -> Types::NamedQuery
406
+ end
407
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Athena/Client.html#get_named_query-instance_method
408
+ def get_named_query: (
409
+ named_query_id: ::String
410
+ ) -> _GetNamedQueryResponseSuccess
411
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetNamedQueryResponseSuccess
412
+
413
+ interface _GetNotebookMetadataResponseSuccess
414
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetNotebookMetadataOutput]
415
+ def notebook_metadata: () -> Types::NotebookMetadata
416
+ end
417
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Athena/Client.html#get_notebook_metadata-instance_method
418
+ def get_notebook_metadata: (
419
+ notebook_id: ::String
420
+ ) -> _GetNotebookMetadataResponseSuccess
421
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetNotebookMetadataResponseSuccess
422
+
423
+ interface _GetPreparedStatementResponseSuccess
424
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetPreparedStatementOutput]
425
+ def prepared_statement: () -> Types::PreparedStatement
426
+ end
427
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Athena/Client.html#get_prepared_statement-instance_method
428
+ def get_prepared_statement: (
429
+ statement_name: ::String,
430
+ work_group: ::String
431
+ ) -> _GetPreparedStatementResponseSuccess
432
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetPreparedStatementResponseSuccess
433
+
434
+ interface _GetQueryExecutionResponseSuccess
435
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetQueryExecutionOutput]
436
+ def query_execution: () -> Types::QueryExecution
437
+ end
438
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Athena/Client.html#get_query_execution-instance_method
439
+ def get_query_execution: (
440
+ query_execution_id: ::String
441
+ ) -> _GetQueryExecutionResponseSuccess
442
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetQueryExecutionResponseSuccess
443
+
444
+ interface _GetQueryResultsResponseSuccess
445
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetQueryResultsOutput]
446
+ def update_count: () -> ::Integer
447
+ def result_set: () -> Types::ResultSet
448
+ def next_token: () -> ::String
449
+ end
450
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Athena/Client.html#get_query_results-instance_method
451
+ def get_query_results: (
452
+ query_execution_id: ::String,
453
+ ?next_token: ::String,
454
+ ?max_results: ::Integer
455
+ ) -> _GetQueryResultsResponseSuccess
456
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetQueryResultsResponseSuccess
457
+
458
+ interface _GetQueryRuntimeStatisticsResponseSuccess
459
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetQueryRuntimeStatisticsOutput]
460
+ def query_runtime_statistics: () -> Types::QueryRuntimeStatistics
461
+ end
462
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Athena/Client.html#get_query_runtime_statistics-instance_method
463
+ def get_query_runtime_statistics: (
464
+ query_execution_id: ::String
465
+ ) -> _GetQueryRuntimeStatisticsResponseSuccess
466
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetQueryRuntimeStatisticsResponseSuccess
467
+
468
+ interface _GetSessionResponseSuccess
469
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetSessionResponse]
470
+ def session_id: () -> ::String
471
+ def description: () -> ::String
472
+ def work_group: () -> ::String
473
+ def engine_version: () -> ::String
474
+ def engine_configuration: () -> Types::EngineConfiguration
475
+ def notebook_version: () -> ::String
476
+ def session_configuration: () -> Types::SessionConfiguration
477
+ def status: () -> Types::SessionStatus
478
+ def statistics: () -> Types::SessionStatistics
479
+ end
480
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Athena/Client.html#get_session-instance_method
481
+ def get_session: (
482
+ session_id: ::String
483
+ ) -> _GetSessionResponseSuccess
484
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSessionResponseSuccess
485
+
486
+ interface _GetSessionStatusResponseSuccess
487
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetSessionStatusResponse]
488
+ def session_id: () -> ::String
489
+ def status: () -> Types::SessionStatus
490
+ end
491
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Athena/Client.html#get_session_status-instance_method
492
+ def get_session_status: (
493
+ session_id: ::String
494
+ ) -> _GetSessionStatusResponseSuccess
495
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSessionStatusResponseSuccess
496
+
497
+ interface _GetTableMetadataResponseSuccess
498
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetTableMetadataOutput]
499
+ def table_metadata: () -> Types::TableMetadata
500
+ end
501
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Athena/Client.html#get_table_metadata-instance_method
502
+ def get_table_metadata: (
503
+ catalog_name: ::String,
504
+ database_name: ::String,
505
+ table_name: ::String,
506
+ ?work_group: ::String
507
+ ) -> _GetTableMetadataResponseSuccess
508
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTableMetadataResponseSuccess
509
+
510
+ interface _GetWorkGroupResponseSuccess
511
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetWorkGroupOutput]
512
+ def work_group: () -> Types::WorkGroup
513
+ end
514
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Athena/Client.html#get_work_group-instance_method
515
+ def get_work_group: (
516
+ work_group: ::String
517
+ ) -> _GetWorkGroupResponseSuccess
518
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetWorkGroupResponseSuccess
519
+
520
+ interface _ImportNotebookResponseSuccess
521
+ include ::Seahorse::Client::_ResponseSuccess[Types::ImportNotebookOutput]
522
+ def notebook_id: () -> ::String
523
+ end
524
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Athena/Client.html#import_notebook-instance_method
525
+ def import_notebook: (
526
+ work_group: ::String,
527
+ name: ::String,
528
+ ?payload: ::String,
529
+ type: ("IPYNB"),
530
+ ?notebook_s3_location_uri: ::String,
531
+ ?client_request_token: ::String
532
+ ) -> _ImportNotebookResponseSuccess
533
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ImportNotebookResponseSuccess
534
+
535
+ interface _ListApplicationDPUSizesResponseSuccess
536
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListApplicationDPUSizesOutput]
537
+ def application_dpu_sizes: () -> ::Array[Types::ApplicationDPUSizes]
538
+ def next_token: () -> ::String
539
+ end
540
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Athena/Client.html#list_application_dpu_sizes-instance_method
541
+ def list_application_dpu_sizes: (
542
+ ?max_results: ::Integer,
543
+ ?next_token: ::String
544
+ ) -> _ListApplicationDPUSizesResponseSuccess
545
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListApplicationDPUSizesResponseSuccess
546
+
547
+ interface _ListCalculationExecutionsResponseSuccess
548
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListCalculationExecutionsResponse]
549
+ def next_token: () -> ::String
550
+ def calculations: () -> ::Array[Types::CalculationSummary]
551
+ end
552
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Athena/Client.html#list_calculation_executions-instance_method
553
+ def list_calculation_executions: (
554
+ session_id: ::String,
555
+ ?state_filter: ("CREATING" | "CREATED" | "QUEUED" | "RUNNING" | "CANCELING" | "CANCELED" | "COMPLETED" | "FAILED"),
556
+ ?max_results: ::Integer,
557
+ ?next_token: ::String
558
+ ) -> _ListCalculationExecutionsResponseSuccess
559
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCalculationExecutionsResponseSuccess
560
+
561
+ interface _ListCapacityReservationsResponseSuccess
562
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListCapacityReservationsOutput]
563
+ def next_token: () -> ::String
564
+ def capacity_reservations: () -> ::Array[Types::CapacityReservation]
565
+ end
566
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Athena/Client.html#list_capacity_reservations-instance_method
567
+ def list_capacity_reservations: (
568
+ ?next_token: ::String,
569
+ ?max_results: ::Integer
570
+ ) -> _ListCapacityReservationsResponseSuccess
571
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCapacityReservationsResponseSuccess
572
+
573
+ interface _ListDataCatalogsResponseSuccess
574
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListDataCatalogsOutput]
575
+ def data_catalogs_summary: () -> ::Array[Types::DataCatalogSummary]
576
+ def next_token: () -> ::String
577
+ end
578
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Athena/Client.html#list_data_catalogs-instance_method
579
+ def list_data_catalogs: (
580
+ ?next_token: ::String,
581
+ ?max_results: ::Integer,
582
+ ?work_group: ::String
583
+ ) -> _ListDataCatalogsResponseSuccess
584
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDataCatalogsResponseSuccess
585
+
586
+ interface _ListDatabasesResponseSuccess
587
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListDatabasesOutput]
588
+ def database_list: () -> ::Array[Types::Database]
589
+ def next_token: () -> ::String
590
+ end
591
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Athena/Client.html#list_databases-instance_method
592
+ def list_databases: (
593
+ catalog_name: ::String,
594
+ ?next_token: ::String,
595
+ ?max_results: ::Integer,
596
+ ?work_group: ::String
597
+ ) -> _ListDatabasesResponseSuccess
598
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDatabasesResponseSuccess
599
+
600
+ interface _ListEngineVersionsResponseSuccess
601
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListEngineVersionsOutput]
602
+ def engine_versions: () -> ::Array[Types::EngineVersion]
603
+ def next_token: () -> ::String
604
+ end
605
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Athena/Client.html#list_engine_versions-instance_method
606
+ def list_engine_versions: (
607
+ ?next_token: ::String,
608
+ ?max_results: ::Integer
609
+ ) -> _ListEngineVersionsResponseSuccess
610
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListEngineVersionsResponseSuccess
611
+
612
+ interface _ListExecutorsResponseSuccess
613
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListExecutorsResponse]
614
+ def session_id: () -> ::String
615
+ def next_token: () -> ::String
616
+ def executors_summary: () -> ::Array[Types::ExecutorsSummary]
617
+ end
618
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Athena/Client.html#list_executors-instance_method
619
+ def list_executors: (
620
+ session_id: ::String,
621
+ ?executor_state_filter: ("CREATING" | "CREATED" | "REGISTERED" | "TERMINATING" | "TERMINATED" | "FAILED"),
622
+ ?max_results: ::Integer,
623
+ ?next_token: ::String
624
+ ) -> _ListExecutorsResponseSuccess
625
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListExecutorsResponseSuccess
626
+
627
+ interface _ListNamedQueriesResponseSuccess
628
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListNamedQueriesOutput]
629
+ def named_query_ids: () -> ::Array[::String]
630
+ def next_token: () -> ::String
631
+ end
632
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Athena/Client.html#list_named_queries-instance_method
633
+ def list_named_queries: (
634
+ ?next_token: ::String,
635
+ ?max_results: ::Integer,
636
+ ?work_group: ::String
637
+ ) -> _ListNamedQueriesResponseSuccess
638
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListNamedQueriesResponseSuccess
639
+
640
+ interface _ListNotebookMetadataResponseSuccess
641
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListNotebookMetadataOutput]
642
+ def next_token: () -> ::String
643
+ def notebook_metadata_list: () -> ::Array[Types::NotebookMetadata]
644
+ end
645
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Athena/Client.html#list_notebook_metadata-instance_method
646
+ def list_notebook_metadata: (
647
+ ?filters: {
648
+ name: ::String?
649
+ },
650
+ ?next_token: ::String,
651
+ ?max_results: ::Integer,
652
+ work_group: ::String
653
+ ) -> _ListNotebookMetadataResponseSuccess
654
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListNotebookMetadataResponseSuccess
655
+
656
+ interface _ListNotebookSessionsResponseSuccess
657
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListNotebookSessionsResponse]
658
+ def notebook_sessions_list: () -> ::Array[Types::NotebookSessionSummary]
659
+ def next_token: () -> ::String
660
+ end
661
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Athena/Client.html#list_notebook_sessions-instance_method
662
+ def list_notebook_sessions: (
663
+ notebook_id: ::String,
664
+ ?max_results: ::Integer,
665
+ ?next_token: ::String
666
+ ) -> _ListNotebookSessionsResponseSuccess
667
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListNotebookSessionsResponseSuccess
668
+
669
+ interface _ListPreparedStatementsResponseSuccess
670
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListPreparedStatementsOutput]
671
+ def prepared_statements: () -> ::Array[Types::PreparedStatementSummary]
672
+ def next_token: () -> ::String
673
+ end
674
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Athena/Client.html#list_prepared_statements-instance_method
675
+ def list_prepared_statements: (
676
+ work_group: ::String,
677
+ ?next_token: ::String,
678
+ ?max_results: ::Integer
679
+ ) -> _ListPreparedStatementsResponseSuccess
680
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPreparedStatementsResponseSuccess
681
+
682
+ interface _ListQueryExecutionsResponseSuccess
683
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListQueryExecutionsOutput]
684
+ def query_execution_ids: () -> ::Array[::String]
685
+ def next_token: () -> ::String
686
+ end
687
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Athena/Client.html#list_query_executions-instance_method
688
+ def list_query_executions: (
689
+ ?next_token: ::String,
690
+ ?max_results: ::Integer,
691
+ ?work_group: ::String
692
+ ) -> _ListQueryExecutionsResponseSuccess
693
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListQueryExecutionsResponseSuccess
694
+
695
+ interface _ListSessionsResponseSuccess
696
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListSessionsResponse]
697
+ def next_token: () -> ::String
698
+ def sessions: () -> ::Array[Types::SessionSummary]
699
+ end
700
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Athena/Client.html#list_sessions-instance_method
701
+ def list_sessions: (
702
+ work_group: ::String,
703
+ ?state_filter: ("CREATING" | "CREATED" | "IDLE" | "BUSY" | "TERMINATING" | "TERMINATED" | "DEGRADED" | "FAILED"),
704
+ ?max_results: ::Integer,
705
+ ?next_token: ::String
706
+ ) -> _ListSessionsResponseSuccess
707
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSessionsResponseSuccess
708
+
709
+ interface _ListTableMetadataResponseSuccess
710
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTableMetadataOutput]
711
+ def table_metadata_list: () -> ::Array[Types::TableMetadata]
712
+ def next_token: () -> ::String
713
+ end
714
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Athena/Client.html#list_table_metadata-instance_method
715
+ def list_table_metadata: (
716
+ catalog_name: ::String,
717
+ database_name: ::String,
718
+ ?expression: ::String,
719
+ ?next_token: ::String,
720
+ ?max_results: ::Integer,
721
+ ?work_group: ::String
722
+ ) -> _ListTableMetadataResponseSuccess
723
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTableMetadataResponseSuccess
724
+
725
+ interface _ListTagsForResourceResponseSuccess
726
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceOutput]
727
+ def tags: () -> ::Array[Types::Tag]
728
+ def next_token: () -> ::String
729
+ end
730
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Athena/Client.html#list_tags_for_resource-instance_method
731
+ def list_tags_for_resource: (
732
+ resource_arn: ::String,
733
+ ?next_token: ::String,
734
+ ?max_results: ::Integer
735
+ ) -> _ListTagsForResourceResponseSuccess
736
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
737
+
738
+ interface _ListWorkGroupsResponseSuccess
739
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListWorkGroupsOutput]
740
+ def work_groups: () -> ::Array[Types::WorkGroupSummary]
741
+ def next_token: () -> ::String
742
+ end
743
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Athena/Client.html#list_work_groups-instance_method
744
+ def list_work_groups: (
745
+ ?next_token: ::String,
746
+ ?max_results: ::Integer
747
+ ) -> _ListWorkGroupsResponseSuccess
748
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListWorkGroupsResponseSuccess
749
+
750
+ interface _PutCapacityAssignmentConfigurationResponseSuccess
751
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutCapacityAssignmentConfigurationOutput]
752
+ end
753
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Athena/Client.html#put_capacity_assignment_configuration-instance_method
754
+ def put_capacity_assignment_configuration: (
755
+ capacity_reservation_name: ::String,
756
+ capacity_assignments: Array[
757
+ {
758
+ work_group_names: Array[::String]?
759
+ },
760
+ ]
761
+ ) -> _PutCapacityAssignmentConfigurationResponseSuccess
762
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutCapacityAssignmentConfigurationResponseSuccess
763
+
764
+ interface _StartCalculationExecutionResponseSuccess
765
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartCalculationExecutionResponse]
766
+ def calculation_execution_id: () -> ::String
767
+ def state: () -> ("CREATING" | "CREATED" | "QUEUED" | "RUNNING" | "CANCELING" | "CANCELED" | "COMPLETED" | "FAILED")
768
+ end
769
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Athena/Client.html#start_calculation_execution-instance_method
770
+ def start_calculation_execution: (
771
+ session_id: ::String,
772
+ ?description: ::String,
773
+ ?calculation_configuration: {
774
+ code_block: ::String?
775
+ },
776
+ ?code_block: ::String,
777
+ ?client_request_token: ::String
778
+ ) -> _StartCalculationExecutionResponseSuccess
779
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartCalculationExecutionResponseSuccess
780
+
781
+ interface _StartQueryExecutionResponseSuccess
782
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartQueryExecutionOutput]
783
+ def query_execution_id: () -> ::String
784
+ end
785
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Athena/Client.html#start_query_execution-instance_method
786
+ def start_query_execution: (
787
+ query_string: ::String,
788
+ ?client_request_token: ::String,
789
+ ?query_execution_context: {
790
+ database: ::String?,
791
+ catalog: ::String?
792
+ },
793
+ ?result_configuration: {
794
+ output_location: ::String?,
795
+ encryption_configuration: {
796
+ encryption_option: ("SSE_S3" | "SSE_KMS" | "CSE_KMS"),
797
+ kms_key: ::String?
798
+ }?,
799
+ expected_bucket_owner: ::String?,
800
+ acl_configuration: {
801
+ s3_acl_option: ("BUCKET_OWNER_FULL_CONTROL")
802
+ }?
803
+ },
804
+ ?work_group: ::String,
805
+ ?execution_parameters: Array[::String],
806
+ ?result_reuse_configuration: {
807
+ result_reuse_by_age_configuration: {
808
+ enabled: bool,
809
+ max_age_in_minutes: ::Integer?
810
+ }?
811
+ }
812
+ ) -> _StartQueryExecutionResponseSuccess
813
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartQueryExecutionResponseSuccess
814
+
815
+ interface _StartSessionResponseSuccess
816
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartSessionResponse]
817
+ def session_id: () -> ::String
818
+ def state: () -> ("CREATING" | "CREATED" | "IDLE" | "BUSY" | "TERMINATING" | "TERMINATED" | "DEGRADED" | "FAILED")
819
+ end
820
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Athena/Client.html#start_session-instance_method
821
+ def start_session: (
822
+ ?description: ::String,
823
+ work_group: ::String,
824
+ engine_configuration: {
825
+ coordinator_dpu_size: ::Integer?,
826
+ max_concurrent_dpus: ::Integer,
827
+ default_executor_dpu_size: ::Integer?,
828
+ additional_configs: Hash[::String, ::String]?,
829
+ spark_properties: Hash[::String, ::String]?
830
+ },
831
+ ?notebook_version: ::String,
832
+ ?session_idle_timeout_in_minutes: ::Integer,
833
+ ?client_request_token: ::String
834
+ ) -> _StartSessionResponseSuccess
835
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartSessionResponseSuccess
836
+
837
+ interface _StopCalculationExecutionResponseSuccess
838
+ include ::Seahorse::Client::_ResponseSuccess[Types::StopCalculationExecutionResponse]
839
+ def state: () -> ("CREATING" | "CREATED" | "QUEUED" | "RUNNING" | "CANCELING" | "CANCELED" | "COMPLETED" | "FAILED")
840
+ end
841
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Athena/Client.html#stop_calculation_execution-instance_method
842
+ def stop_calculation_execution: (
843
+ calculation_execution_id: ::String
844
+ ) -> _StopCalculationExecutionResponseSuccess
845
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopCalculationExecutionResponseSuccess
846
+
847
+ interface _StopQueryExecutionResponseSuccess
848
+ include ::Seahorse::Client::_ResponseSuccess[Types::StopQueryExecutionOutput]
849
+ end
850
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Athena/Client.html#stop_query_execution-instance_method
851
+ def stop_query_execution: (
852
+ query_execution_id: ::String
853
+ ) -> _StopQueryExecutionResponseSuccess
854
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopQueryExecutionResponseSuccess
855
+
856
+ interface _TagResourceResponseSuccess
857
+ include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceOutput]
858
+ end
859
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Athena/Client.html#tag_resource-instance_method
860
+ def tag_resource: (
861
+ resource_arn: ::String,
862
+ tags: Array[
863
+ {
864
+ key: ::String?,
865
+ value: ::String?
866
+ },
867
+ ]
868
+ ) -> _TagResourceResponseSuccess
869
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
870
+
871
+ interface _TerminateSessionResponseSuccess
872
+ include ::Seahorse::Client::_ResponseSuccess[Types::TerminateSessionResponse]
873
+ def state: () -> ("CREATING" | "CREATED" | "IDLE" | "BUSY" | "TERMINATING" | "TERMINATED" | "DEGRADED" | "FAILED")
874
+ end
875
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Athena/Client.html#terminate_session-instance_method
876
+ def terminate_session: (
877
+ session_id: ::String
878
+ ) -> _TerminateSessionResponseSuccess
879
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TerminateSessionResponseSuccess
880
+
881
+ interface _UntagResourceResponseSuccess
882
+ include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceOutput]
883
+ end
884
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Athena/Client.html#untag_resource-instance_method
885
+ def untag_resource: (
886
+ resource_arn: ::String,
887
+ tag_keys: Array[::String]
888
+ ) -> _UntagResourceResponseSuccess
889
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
890
+
891
+ interface _UpdateCapacityReservationResponseSuccess
892
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateCapacityReservationOutput]
893
+ end
894
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Athena/Client.html#update_capacity_reservation-instance_method
895
+ def update_capacity_reservation: (
896
+ target_dpus: ::Integer,
897
+ name: ::String
898
+ ) -> _UpdateCapacityReservationResponseSuccess
899
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateCapacityReservationResponseSuccess
900
+
901
+ interface _UpdateDataCatalogResponseSuccess
902
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateDataCatalogOutput]
903
+ end
904
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Athena/Client.html#update_data_catalog-instance_method
905
+ def update_data_catalog: (
906
+ name: ::String,
907
+ type: ("LAMBDA" | "GLUE" | "HIVE"),
908
+ ?description: ::String,
909
+ ?parameters: Hash[::String, ::String]
910
+ ) -> _UpdateDataCatalogResponseSuccess
911
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateDataCatalogResponseSuccess
912
+
913
+ interface _UpdateNamedQueryResponseSuccess
914
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateNamedQueryOutput]
915
+ end
916
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Athena/Client.html#update_named_query-instance_method
917
+ def update_named_query: (
918
+ named_query_id: ::String,
919
+ name: ::String,
920
+ ?description: ::String,
921
+ query_string: ::String
922
+ ) -> _UpdateNamedQueryResponseSuccess
923
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateNamedQueryResponseSuccess
924
+
925
+ interface _UpdateNotebookResponseSuccess
926
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateNotebookOutput]
927
+ end
928
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Athena/Client.html#update_notebook-instance_method
929
+ def update_notebook: (
930
+ notebook_id: ::String,
931
+ payload: ::String,
932
+ type: ("IPYNB"),
933
+ ?session_id: ::String,
934
+ ?client_request_token: ::String
935
+ ) -> _UpdateNotebookResponseSuccess
936
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateNotebookResponseSuccess
937
+
938
+ interface _UpdateNotebookMetadataResponseSuccess
939
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateNotebookMetadataOutput]
940
+ end
941
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Athena/Client.html#update_notebook_metadata-instance_method
942
+ def update_notebook_metadata: (
943
+ notebook_id: ::String,
944
+ ?client_request_token: ::String,
945
+ name: ::String
946
+ ) -> _UpdateNotebookMetadataResponseSuccess
947
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateNotebookMetadataResponseSuccess
948
+
949
+ interface _UpdatePreparedStatementResponseSuccess
950
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdatePreparedStatementOutput]
951
+ end
952
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Athena/Client.html#update_prepared_statement-instance_method
953
+ def update_prepared_statement: (
954
+ statement_name: ::String,
955
+ work_group: ::String,
956
+ query_statement: ::String,
957
+ ?description: ::String
958
+ ) -> _UpdatePreparedStatementResponseSuccess
959
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdatePreparedStatementResponseSuccess
960
+
961
+ interface _UpdateWorkGroupResponseSuccess
962
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateWorkGroupOutput]
963
+ end
964
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Athena/Client.html#update_work_group-instance_method
965
+ def update_work_group: (
966
+ work_group: ::String,
967
+ ?description: ::String,
968
+ ?configuration_updates: {
969
+ enforce_work_group_configuration: bool?,
970
+ result_configuration_updates: {
971
+ output_location: ::String?,
972
+ remove_output_location: bool?,
973
+ encryption_configuration: {
974
+ encryption_option: ("SSE_S3" | "SSE_KMS" | "CSE_KMS"),
975
+ kms_key: ::String?
976
+ }?,
977
+ remove_encryption_configuration: bool?,
978
+ expected_bucket_owner: ::String?,
979
+ remove_expected_bucket_owner: bool?,
980
+ acl_configuration: {
981
+ s3_acl_option: ("BUCKET_OWNER_FULL_CONTROL")
982
+ }?,
983
+ remove_acl_configuration: bool?
984
+ }?,
985
+ publish_cloud_watch_metrics_enabled: bool?,
986
+ bytes_scanned_cutoff_per_query: ::Integer?,
987
+ remove_bytes_scanned_cutoff_per_query: bool?,
988
+ requester_pays_enabled: bool?,
989
+ engine_version: {
990
+ selected_engine_version: ::String?,
991
+ effective_engine_version: ::String?
992
+ }?,
993
+ remove_customer_content_encryption_configuration: bool?,
994
+ additional_configuration: ::String?,
995
+ execution_role: ::String?,
996
+ customer_content_encryption_configuration: {
997
+ kms_key: ::String
998
+ }?,
999
+ enable_minimum_encryption_configuration: bool?,
1000
+ query_results_s3_access_grants_configuration: {
1001
+ enable_s3_access_grants: bool,
1002
+ create_user_level_prefix: bool?,
1003
+ authentication_type: ("DIRECTORY_IDENTITY")
1004
+ }?
1005
+ },
1006
+ ?state: ("ENABLED" | "DISABLED")
1007
+ ) -> _UpdateWorkGroupResponseSuccess
1008
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateWorkGroupResponseSuccess
1009
+ end
1010
+ end
1011
+ end
1012
+