aws-sdk-athena 1.95.0 → 1.96.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 +9 -61
- data/lib/aws-sdk-athena/client_api.rb +0 -10
- data/lib/aws-sdk-athena/endpoint_parameters.rb +9 -6
- data/lib/aws-sdk-athena/endpoints.rb +2 -746
- data/lib/aws-sdk-athena/plugins/endpoints.rb +1 -142
- data/lib/aws-sdk-athena/types.rb +24 -191
- data/lib/aws-sdk-athena.rb +1 -1
- data/sig/client.rbs +2 -4
- data/sig/types.rbs +6 -16
- metadata +4 -4
@@ -27,7 +27,7 @@ The endpoint provider used to resolve endpoints. Any object that responds to
|
|
27
27
|
class Handler < Seahorse::Client::Handler
|
28
28
|
def call(context)
|
29
29
|
unless context[:discovered_endpoint]
|
30
|
-
params = parameters_for_operation(context)
|
30
|
+
params = Aws::Athena::Endpoints.parameters_for_operation(context)
|
31
31
|
endpoint = context.config.endpoint_provider.resolve_endpoint(params)
|
32
32
|
|
33
33
|
context.http_request.endpoint = endpoint.url
|
@@ -67,147 +67,6 @@ The endpoint provider used to resolve endpoints. Any object that responds to
|
|
67
67
|
context.http_request.headers[key] = value
|
68
68
|
end
|
69
69
|
end
|
70
|
-
|
71
|
-
def parameters_for_operation(context)
|
72
|
-
case context.operation_name
|
73
|
-
when :batch_get_named_query
|
74
|
-
Aws::Athena::Endpoints::BatchGetNamedQuery.build(context)
|
75
|
-
when :batch_get_prepared_statement
|
76
|
-
Aws::Athena::Endpoints::BatchGetPreparedStatement.build(context)
|
77
|
-
when :batch_get_query_execution
|
78
|
-
Aws::Athena::Endpoints::BatchGetQueryExecution.build(context)
|
79
|
-
when :cancel_capacity_reservation
|
80
|
-
Aws::Athena::Endpoints::CancelCapacityReservation.build(context)
|
81
|
-
when :create_capacity_reservation
|
82
|
-
Aws::Athena::Endpoints::CreateCapacityReservation.build(context)
|
83
|
-
when :create_data_catalog
|
84
|
-
Aws::Athena::Endpoints::CreateDataCatalog.build(context)
|
85
|
-
when :create_named_query
|
86
|
-
Aws::Athena::Endpoints::CreateNamedQuery.build(context)
|
87
|
-
when :create_notebook
|
88
|
-
Aws::Athena::Endpoints::CreateNotebook.build(context)
|
89
|
-
when :create_prepared_statement
|
90
|
-
Aws::Athena::Endpoints::CreatePreparedStatement.build(context)
|
91
|
-
when :create_presigned_notebook_url
|
92
|
-
Aws::Athena::Endpoints::CreatePresignedNotebookUrl.build(context)
|
93
|
-
when :create_work_group
|
94
|
-
Aws::Athena::Endpoints::CreateWorkGroup.build(context)
|
95
|
-
when :delete_capacity_reservation
|
96
|
-
Aws::Athena::Endpoints::DeleteCapacityReservation.build(context)
|
97
|
-
when :delete_data_catalog
|
98
|
-
Aws::Athena::Endpoints::DeleteDataCatalog.build(context)
|
99
|
-
when :delete_named_query
|
100
|
-
Aws::Athena::Endpoints::DeleteNamedQuery.build(context)
|
101
|
-
when :delete_notebook
|
102
|
-
Aws::Athena::Endpoints::DeleteNotebook.build(context)
|
103
|
-
when :delete_prepared_statement
|
104
|
-
Aws::Athena::Endpoints::DeletePreparedStatement.build(context)
|
105
|
-
when :delete_work_group
|
106
|
-
Aws::Athena::Endpoints::DeleteWorkGroup.build(context)
|
107
|
-
when :export_notebook
|
108
|
-
Aws::Athena::Endpoints::ExportNotebook.build(context)
|
109
|
-
when :get_calculation_execution
|
110
|
-
Aws::Athena::Endpoints::GetCalculationExecution.build(context)
|
111
|
-
when :get_calculation_execution_code
|
112
|
-
Aws::Athena::Endpoints::GetCalculationExecutionCode.build(context)
|
113
|
-
when :get_calculation_execution_status
|
114
|
-
Aws::Athena::Endpoints::GetCalculationExecutionStatus.build(context)
|
115
|
-
when :get_capacity_assignment_configuration
|
116
|
-
Aws::Athena::Endpoints::GetCapacityAssignmentConfiguration.build(context)
|
117
|
-
when :get_capacity_reservation
|
118
|
-
Aws::Athena::Endpoints::GetCapacityReservation.build(context)
|
119
|
-
when :get_data_catalog
|
120
|
-
Aws::Athena::Endpoints::GetDataCatalog.build(context)
|
121
|
-
when :get_database
|
122
|
-
Aws::Athena::Endpoints::GetDatabase.build(context)
|
123
|
-
when :get_named_query
|
124
|
-
Aws::Athena::Endpoints::GetNamedQuery.build(context)
|
125
|
-
when :get_notebook_metadata
|
126
|
-
Aws::Athena::Endpoints::GetNotebookMetadata.build(context)
|
127
|
-
when :get_prepared_statement
|
128
|
-
Aws::Athena::Endpoints::GetPreparedStatement.build(context)
|
129
|
-
when :get_query_execution
|
130
|
-
Aws::Athena::Endpoints::GetQueryExecution.build(context)
|
131
|
-
when :get_query_results
|
132
|
-
Aws::Athena::Endpoints::GetQueryResults.build(context)
|
133
|
-
when :get_query_runtime_statistics
|
134
|
-
Aws::Athena::Endpoints::GetQueryRuntimeStatistics.build(context)
|
135
|
-
when :get_session
|
136
|
-
Aws::Athena::Endpoints::GetSession.build(context)
|
137
|
-
when :get_session_status
|
138
|
-
Aws::Athena::Endpoints::GetSessionStatus.build(context)
|
139
|
-
when :get_table_metadata
|
140
|
-
Aws::Athena::Endpoints::GetTableMetadata.build(context)
|
141
|
-
when :get_work_group
|
142
|
-
Aws::Athena::Endpoints::GetWorkGroup.build(context)
|
143
|
-
when :import_notebook
|
144
|
-
Aws::Athena::Endpoints::ImportNotebook.build(context)
|
145
|
-
when :list_application_dpu_sizes
|
146
|
-
Aws::Athena::Endpoints::ListApplicationDPUSizes.build(context)
|
147
|
-
when :list_calculation_executions
|
148
|
-
Aws::Athena::Endpoints::ListCalculationExecutions.build(context)
|
149
|
-
when :list_capacity_reservations
|
150
|
-
Aws::Athena::Endpoints::ListCapacityReservations.build(context)
|
151
|
-
when :list_data_catalogs
|
152
|
-
Aws::Athena::Endpoints::ListDataCatalogs.build(context)
|
153
|
-
when :list_databases
|
154
|
-
Aws::Athena::Endpoints::ListDatabases.build(context)
|
155
|
-
when :list_engine_versions
|
156
|
-
Aws::Athena::Endpoints::ListEngineVersions.build(context)
|
157
|
-
when :list_executors
|
158
|
-
Aws::Athena::Endpoints::ListExecutors.build(context)
|
159
|
-
when :list_named_queries
|
160
|
-
Aws::Athena::Endpoints::ListNamedQueries.build(context)
|
161
|
-
when :list_notebook_metadata
|
162
|
-
Aws::Athena::Endpoints::ListNotebookMetadata.build(context)
|
163
|
-
when :list_notebook_sessions
|
164
|
-
Aws::Athena::Endpoints::ListNotebookSessions.build(context)
|
165
|
-
when :list_prepared_statements
|
166
|
-
Aws::Athena::Endpoints::ListPreparedStatements.build(context)
|
167
|
-
when :list_query_executions
|
168
|
-
Aws::Athena::Endpoints::ListQueryExecutions.build(context)
|
169
|
-
when :list_sessions
|
170
|
-
Aws::Athena::Endpoints::ListSessions.build(context)
|
171
|
-
when :list_table_metadata
|
172
|
-
Aws::Athena::Endpoints::ListTableMetadata.build(context)
|
173
|
-
when :list_tags_for_resource
|
174
|
-
Aws::Athena::Endpoints::ListTagsForResource.build(context)
|
175
|
-
when :list_work_groups
|
176
|
-
Aws::Athena::Endpoints::ListWorkGroups.build(context)
|
177
|
-
when :put_capacity_assignment_configuration
|
178
|
-
Aws::Athena::Endpoints::PutCapacityAssignmentConfiguration.build(context)
|
179
|
-
when :start_calculation_execution
|
180
|
-
Aws::Athena::Endpoints::StartCalculationExecution.build(context)
|
181
|
-
when :start_query_execution
|
182
|
-
Aws::Athena::Endpoints::StartQueryExecution.build(context)
|
183
|
-
when :start_session
|
184
|
-
Aws::Athena::Endpoints::StartSession.build(context)
|
185
|
-
when :stop_calculation_execution
|
186
|
-
Aws::Athena::Endpoints::StopCalculationExecution.build(context)
|
187
|
-
when :stop_query_execution
|
188
|
-
Aws::Athena::Endpoints::StopQueryExecution.build(context)
|
189
|
-
when :tag_resource
|
190
|
-
Aws::Athena::Endpoints::TagResource.build(context)
|
191
|
-
when :terminate_session
|
192
|
-
Aws::Athena::Endpoints::TerminateSession.build(context)
|
193
|
-
when :untag_resource
|
194
|
-
Aws::Athena::Endpoints::UntagResource.build(context)
|
195
|
-
when :update_capacity_reservation
|
196
|
-
Aws::Athena::Endpoints::UpdateCapacityReservation.build(context)
|
197
|
-
when :update_data_catalog
|
198
|
-
Aws::Athena::Endpoints::UpdateDataCatalog.build(context)
|
199
|
-
when :update_named_query
|
200
|
-
Aws::Athena::Endpoints::UpdateNamedQuery.build(context)
|
201
|
-
when :update_notebook
|
202
|
-
Aws::Athena::Endpoints::UpdateNotebook.build(context)
|
203
|
-
when :update_notebook_metadata
|
204
|
-
Aws::Athena::Endpoints::UpdateNotebookMetadata.build(context)
|
205
|
-
when :update_prepared_statement
|
206
|
-
Aws::Athena::Endpoints::UpdatePreparedStatement.build(context)
|
207
|
-
when :update_work_group
|
208
|
-
Aws::Athena::Endpoints::UpdateWorkGroup.build(context)
|
209
|
-
end
|
210
|
-
end
|
211
70
|
end
|
212
71
|
|
213
72
|
def add_handlers(handlers, _config)
|
data/lib/aws-sdk-athena/types.rb
CHANGED
@@ -11,10 +11,12 @@ module Aws::Athena
|
|
11
11
|
module Types
|
12
12
|
|
13
13
|
# Indicates that an Amazon S3 canned ACL should be set to control
|
14
|
-
# ownership of stored query results
|
15
|
-
#
|
16
|
-
#
|
17
|
-
#
|
14
|
+
# ownership of stored query results, including data files inserted by
|
15
|
+
# Athena as the result of statements like CTAS or INSERT INTO. When
|
16
|
+
# Athena stores query results in Amazon S3, the canned ACL is set with
|
17
|
+
# the `x-amz-acl` request header. For more information about S3 Object
|
18
|
+
# Ownership, see [Object Ownership settings][1] in the *Amazon S3 User
|
19
|
+
# Guide*.
|
18
20
|
#
|
19
21
|
#
|
20
22
|
#
|
@@ -22,12 +24,14 @@ module Aws::Athena
|
|
22
24
|
#
|
23
25
|
# @!attribute [rw] s3_acl_option
|
24
26
|
# The Amazon S3 canned ACL that Athena should specify when storing
|
25
|
-
# query results
|
26
|
-
#
|
27
|
-
#
|
28
|
-
#
|
29
|
-
#
|
30
|
-
#
|
27
|
+
# query results, including data files inserted by Athena as the result
|
28
|
+
# of statements like CTAS or INSERT INTO. Currently the only supported
|
29
|
+
# canned ACL is `BUCKET_OWNER_FULL_CONTROL`. If a query runs in a
|
30
|
+
# workgroup and the workgroup overrides client-side settings, then the
|
31
|
+
# Amazon S3 canned ACL specified in the workgroup's settings is used
|
32
|
+
# for all queries that run in the workgroup. For more information
|
33
|
+
# about Amazon S3 canned ACLs, see [Canned ACL][1] in the *Amazon S3
|
34
|
+
# User Guide*.
|
31
35
|
#
|
32
36
|
#
|
33
37
|
#
|
@@ -601,10 +605,8 @@ module Aws::Athena
|
|
601
605
|
#
|
602
606
|
# @!attribute [rw] type
|
603
607
|
# The type of data catalog to create: `LAMBDA` for a federated
|
604
|
-
# catalog, `
|
605
|
-
#
|
606
|
-
# Athena creates the connection and the Lambda function for you based
|
607
|
-
# on the parameters that you pass.
|
608
|
+
# catalog, `HIVE` for an external hive metastore, or `GLUE` for an
|
609
|
+
# Glue Data Catalog.
|
608
610
|
# @return [String]
|
609
611
|
#
|
610
612
|
# @!attribute [rw] description
|
@@ -649,24 +651,6 @@ module Aws::Athena
|
|
649
651
|
# you can have only one and cannot modify.
|
650
652
|
#
|
651
653
|
# ^
|
652
|
-
#
|
653
|
-
# * The `FEDERATED` data catalog type uses one of the following
|
654
|
-
# parameters, but not both. Use `connection-arn` for an existing
|
655
|
-
# Glue connection. Use `connection-type` and `connection-properties`
|
656
|
-
# to specify the configuration setting for a new connection.
|
657
|
-
#
|
658
|
-
# * `connection-arn:<glue_connection_arn_to_reuse> `
|
659
|
-
#
|
660
|
-
# * `lambda-role-arn` (optional): The execution role to use for the
|
661
|
-
# Lambda function. If not provided, one is created.
|
662
|
-
#
|
663
|
-
# * `connection-type:MYSQL|REDSHIFT|....,
|
664
|
-
# connection-properties:"<json_string>"`
|
665
|
-
#
|
666
|
-
# For <i> <code><json_string></code> </i>, use escaped JSON
|
667
|
-
# text, as in the following example.
|
668
|
-
#
|
669
|
-
# `"\{"spill_bucket":"my_spill","spill_prefix":"athena-spill","host":"abc12345.snowflakecomputing.com","port":"1234","warehouse":"DEV_WH","database":"TEST","schema":"PUBLIC","SecretArn":"arn:aws:secretsmanager:ap-south-1:111122223333:secret:snowflake-XHb67j"\}"`
|
670
654
|
# @return [Hash<String,String>]
|
671
655
|
#
|
672
656
|
# @!attribute [rw] tags
|
@@ -686,23 +670,9 @@ module Aws::Athena
|
|
686
670
|
include Aws::Structure
|
687
671
|
end
|
688
672
|
|
689
|
-
# @!attribute [rw] data_catalog
|
690
|
-
# Contains information about a data catalog in an Amazon Web Services
|
691
|
-
# account.
|
692
|
-
#
|
693
|
-
# <note markdown="1"> In the Athena console, data catalogs are listed as "data sources"
|
694
|
-
# on the **Data sources** page under the **Data source name** column.
|
695
|
-
#
|
696
|
-
# </note>
|
697
|
-
# @return [Types::DataCatalog]
|
698
|
-
#
|
699
673
|
# @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/CreateDataCatalogOutput AWS API Documentation
|
700
674
|
#
|
701
|
-
class CreateDataCatalogOutput <
|
702
|
-
:data_catalog)
|
703
|
-
SENSITIVE = []
|
704
|
-
include Aws::Structure
|
705
|
-
end
|
675
|
+
class CreateDataCatalogOutput < Aws::EmptyStructure; end
|
706
676
|
|
707
677
|
# @!attribute [rw] name
|
708
678
|
# The query name.
|
@@ -957,10 +927,8 @@ module Aws::Athena
|
|
957
927
|
#
|
958
928
|
# @!attribute [rw] type
|
959
929
|
# The type of data catalog to create: `LAMBDA` for a federated
|
960
|
-
# catalog, `
|
961
|
-
#
|
962
|
-
# Athena creates the connection and the Lambda function for you based
|
963
|
-
# on the parameters that you pass.
|
930
|
+
# catalog, `HIVE` for an external hive metastore, or `GLUE` for an
|
931
|
+
# Glue Data Catalog.
|
964
932
|
# @return [String]
|
965
933
|
#
|
966
934
|
# @!attribute [rw] parameters
|
@@ -1000,83 +968,15 @@ module Aws::Athena
|
|
1000
968
|
# you can have only one and cannot modify.
|
1001
969
|
#
|
1002
970
|
# ^
|
1003
|
-
#
|
1004
|
-
# * The `FEDERATED` data catalog type uses one of the following
|
1005
|
-
# parameters, but not both. Use `connection-arn` for an existing
|
1006
|
-
# Glue connection. Use `connection-type` and `connection-properties`
|
1007
|
-
# to specify the configuration setting for a new connection.
|
1008
|
-
#
|
1009
|
-
# * `connection-arn:<glue_connection_arn_to_reuse> `
|
1010
|
-
#
|
1011
|
-
# * `connection-type:MYSQL|REDSHIFT|....,
|
1012
|
-
# connection-properties:"<json_string>"`
|
1013
|
-
#
|
1014
|
-
# For <i> <code><json_string></code> </i>, use escaped JSON
|
1015
|
-
# text, as in the following example.
|
1016
|
-
#
|
1017
|
-
# `"\{"spill_bucket":"my_spill","spill_prefix":"athena-spill","host":"abc12345.snowflakecomputing.com","port":"1234","warehouse":"DEV_WH","database":"TEST","schema":"PUBLIC","SecretArn":"arn:aws:secretsmanager:ap-south-1:111122223333:secret:snowflake-XHb67j"\}"`
|
1018
971
|
# @return [Hash<String,String>]
|
1019
972
|
#
|
1020
|
-
# @!attribute [rw] status
|
1021
|
-
# The status of the creation or deletion of the data catalog.
|
1022
|
-
#
|
1023
|
-
# * The `LAMBDA`, `GLUE`, and `HIVE` data catalog types are created
|
1024
|
-
# synchronously. Their status is either `CREATE_COMPLETE` or
|
1025
|
-
# `CREATE_FAILED`.
|
1026
|
-
#
|
1027
|
-
# * The `FEDERATED` data catalog type is created asynchronously.
|
1028
|
-
#
|
1029
|
-
# Data catalog creation status:
|
1030
|
-
#
|
1031
|
-
# * `CREATE_IN_PROGRESS`: Federated data catalog creation in progress.
|
1032
|
-
#
|
1033
|
-
# * `CREATE_COMPLETE`: Data catalog creation complete.
|
1034
|
-
#
|
1035
|
-
# * `CREATE_FAILED`: Data catalog could not be created.
|
1036
|
-
#
|
1037
|
-
# * `CREATE_FAILED_CLEANUP_IN_PROGRESS`: Federated data catalog
|
1038
|
-
# creation failed and is being removed.
|
1039
|
-
#
|
1040
|
-
# * `CREATE_FAILED_CLEANUP_COMPLETE`: Federated data catalog creation
|
1041
|
-
# failed and was removed.
|
1042
|
-
#
|
1043
|
-
# * `CREATE_FAILED_CLEANUP_FAILED`: Federated data catalog creation
|
1044
|
-
# failed but could not be removed.
|
1045
|
-
#
|
1046
|
-
# Data catalog deletion status:
|
1047
|
-
#
|
1048
|
-
# * `DELETE_IN_PROGRESS`: Federated data catalog deletion in progress.
|
1049
|
-
#
|
1050
|
-
# * `DELETE_COMPLETE`: Federated data catalog deleted.
|
1051
|
-
#
|
1052
|
-
# * `DELETE_FAILED`: Federated data catalog could not be deleted.
|
1053
|
-
# @return [String]
|
1054
|
-
#
|
1055
|
-
# @!attribute [rw] connection_type
|
1056
|
-
# The type of connection for a `FEDERATED` data catalog (for example,
|
1057
|
-
# `REDSHIFT`, `MYSQL`, or `SQLSERVER`). For information about
|
1058
|
-
# individual connectors, see [Available data source connectors][1].
|
1059
|
-
#
|
1060
|
-
#
|
1061
|
-
#
|
1062
|
-
# [1]: https://docs.aws.amazon.com/athena/latest/ug/connectors-available.html
|
1063
|
-
# @return [String]
|
1064
|
-
#
|
1065
|
-
# @!attribute [rw] error
|
1066
|
-
# Text of the error that occurred during data catalog creation or
|
1067
|
-
# deletion.
|
1068
|
-
# @return [String]
|
1069
|
-
#
|
1070
973
|
# @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/DataCatalog AWS API Documentation
|
1071
974
|
#
|
1072
975
|
class DataCatalog < Struct.new(
|
1073
976
|
:name,
|
1074
977
|
:description,
|
1075
978
|
:type,
|
1076
|
-
:parameters
|
1077
|
-
:status,
|
1078
|
-
:connection_type,
|
1079
|
-
:error)
|
979
|
+
:parameters)
|
1080
980
|
SENSITIVE = []
|
1081
981
|
include Aws::Structure
|
1082
982
|
end
|
@@ -1096,64 +996,11 @@ module Aws::Athena
|
|
1096
996
|
# The data catalog type.
|
1097
997
|
# @return [String]
|
1098
998
|
#
|
1099
|
-
# @!attribute [rw] status
|
1100
|
-
# The status of the creation or deletion of the data catalog.
|
1101
|
-
#
|
1102
|
-
# * The `LAMBDA`, `GLUE`, and `HIVE` data catalog types are created
|
1103
|
-
# synchronously. Their status is either `CREATE_COMPLETE` or
|
1104
|
-
# `CREATE_FAILED`.
|
1105
|
-
#
|
1106
|
-
# * The `FEDERATED` data catalog type is created asynchronously.
|
1107
|
-
#
|
1108
|
-
# Data catalog creation status:
|
1109
|
-
#
|
1110
|
-
# * `CREATE_IN_PROGRESS`: Federated data catalog creation in progress.
|
1111
|
-
#
|
1112
|
-
# * `CREATE_COMPLETE`: Data catalog creation complete.
|
1113
|
-
#
|
1114
|
-
# * `CREATE_FAILED`: Data catalog could not be created.
|
1115
|
-
#
|
1116
|
-
# * `CREATE_FAILED_CLEANUP_IN_PROGRESS`: Federated data catalog
|
1117
|
-
# creation failed and is being removed.
|
1118
|
-
#
|
1119
|
-
# * `CREATE_FAILED_CLEANUP_COMPLETE`: Federated data catalog creation
|
1120
|
-
# failed and was removed.
|
1121
|
-
#
|
1122
|
-
# * `CREATE_FAILED_CLEANUP_FAILED`: Federated data catalog creation
|
1123
|
-
# failed but could not be removed.
|
1124
|
-
#
|
1125
|
-
# Data catalog deletion status:
|
1126
|
-
#
|
1127
|
-
# * `DELETE_IN_PROGRESS`: Federated data catalog deletion in progress.
|
1128
|
-
#
|
1129
|
-
# * `DELETE_COMPLETE`: Federated data catalog deleted.
|
1130
|
-
#
|
1131
|
-
# * `DELETE_FAILED`: Federated data catalog could not be deleted.
|
1132
|
-
# @return [String]
|
1133
|
-
#
|
1134
|
-
# @!attribute [rw] connection_type
|
1135
|
-
# The type of connection for a `FEDERATED` data catalog (for example,
|
1136
|
-
# `REDSHIFT`, `MYSQL`, or `SQLSERVER`). For information about
|
1137
|
-
# individual connectors, see [Available data source connectors][1].
|
1138
|
-
#
|
1139
|
-
#
|
1140
|
-
#
|
1141
|
-
# [1]: https://docs.aws.amazon.com/athena/latest/ug/connectors-available.html
|
1142
|
-
# @return [String]
|
1143
|
-
#
|
1144
|
-
# @!attribute [rw] error
|
1145
|
-
# Text of the error that occurred during data catalog creation or
|
1146
|
-
# deletion.
|
1147
|
-
# @return [String]
|
1148
|
-
#
|
1149
999
|
# @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/DataCatalogSummary AWS API Documentation
|
1150
1000
|
#
|
1151
1001
|
class DataCatalogSummary < Struct.new(
|
1152
1002
|
:catalog_name,
|
1153
|
-
:type
|
1154
|
-
:status,
|
1155
|
-
:connection_type,
|
1156
|
-
:error)
|
1003
|
+
:type)
|
1157
1004
|
SENSITIVE = []
|
1158
1005
|
include Aws::Structure
|
1159
1006
|
end
|
@@ -1224,23 +1071,9 @@ module Aws::Athena
|
|
1224
1071
|
include Aws::Structure
|
1225
1072
|
end
|
1226
1073
|
|
1227
|
-
# @!attribute [rw] data_catalog
|
1228
|
-
# Contains information about a data catalog in an Amazon Web Services
|
1229
|
-
# account.
|
1230
|
-
#
|
1231
|
-
# <note markdown="1"> In the Athena console, data catalogs are listed as "data sources"
|
1232
|
-
# on the **Data sources** page under the **Data source name** column.
|
1233
|
-
#
|
1234
|
-
# </note>
|
1235
|
-
# @return [Types::DataCatalog]
|
1236
|
-
#
|
1237
1074
|
# @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/DeleteDataCatalogOutput AWS API Documentation
|
1238
1075
|
#
|
1239
|
-
class DeleteDataCatalogOutput <
|
1240
|
-
:data_catalog)
|
1241
|
-
SENSITIVE = []
|
1242
|
-
include Aws::Structure
|
1243
|
-
end
|
1076
|
+
class DeleteDataCatalogOutput < Aws::EmptyStructure; end
|
1244
1077
|
|
1245
1078
|
# @!attribute [rw] named_query_id
|
1246
1079
|
# The unique ID of the query to delete.
|
@@ -1876,8 +1709,8 @@ module Aws::Athena
|
|
1876
1709
|
end
|
1877
1710
|
|
1878
1711
|
# @!attribute [rw] update_count
|
1879
|
-
# The number of rows inserted with a `CREATE TABLE AS SELECT`
|
1880
|
-
# statement.
|
1712
|
+
# The number of rows inserted with a `CREATE TABLE AS SELECT`, `INSERT
|
1713
|
+
# INTO`, or `UPDATE` statement.
|
1881
1714
|
# @return [Integer]
|
1882
1715
|
#
|
1883
1716
|
# @!attribute [rw] result_set
|
data/lib/aws-sdk-athena.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -137,12 +137,11 @@ module Aws
|
|
137
137
|
|
138
138
|
interface _CreateDataCatalogResponseSuccess
|
139
139
|
include ::Seahorse::Client::_ResponseSuccess[Types::CreateDataCatalogOutput]
|
140
|
-
def data_catalog: () -> Types::DataCatalog
|
141
140
|
end
|
142
141
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Athena/Client.html#create_data_catalog-instance_method
|
143
142
|
def create_data_catalog: (
|
144
143
|
name: ::String,
|
145
|
-
type: ("LAMBDA" | "GLUE" | "HIVE"
|
144
|
+
type: ("LAMBDA" | "GLUE" | "HIVE"),
|
146
145
|
?description: ::String,
|
147
146
|
?parameters: Hash[::String, ::String],
|
148
147
|
?tags: Array[
|
@@ -268,7 +267,6 @@ module Aws
|
|
268
267
|
|
269
268
|
interface _DeleteDataCatalogResponseSuccess
|
270
269
|
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteDataCatalogOutput]
|
271
|
-
def data_catalog: () -> Types::DataCatalog
|
272
270
|
end
|
273
271
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Athena/Client.html#delete_data_catalog-instance_method
|
274
272
|
def delete_data_catalog: (
|
@@ -909,7 +907,7 @@ module Aws
|
|
909
907
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Athena/Client.html#update_data_catalog-instance_method
|
910
908
|
def update_data_catalog: (
|
911
909
|
name: ::String,
|
912
|
-
type: ("LAMBDA" | "GLUE" | "HIVE"
|
910
|
+
type: ("LAMBDA" | "GLUE" | "HIVE"),
|
913
911
|
?description: ::String,
|
914
912
|
?parameters: Hash[::String, ::String]
|
915
913
|
) -> _UpdateDataCatalogResponseSuccess
|
data/sig/types.rbs
CHANGED
@@ -166,16 +166,14 @@ module Aws::Athena
|
|
166
166
|
|
167
167
|
class CreateDataCatalogInput
|
168
168
|
attr_accessor name: ::String
|
169
|
-
attr_accessor type: ("LAMBDA" | "GLUE" | "HIVE"
|
169
|
+
attr_accessor type: ("LAMBDA" | "GLUE" | "HIVE")
|
170
170
|
attr_accessor description: ::String
|
171
171
|
attr_accessor parameters: ::Hash[::String, ::String]
|
172
172
|
attr_accessor tags: ::Array[Types::Tag]
|
173
173
|
SENSITIVE: []
|
174
174
|
end
|
175
175
|
|
176
|
-
class CreateDataCatalogOutput
|
177
|
-
attr_accessor data_catalog: Types::DataCatalog
|
178
|
-
SENSITIVE: []
|
176
|
+
class CreateDataCatalogOutput < Aws::EmptyStructure
|
179
177
|
end
|
180
178
|
|
181
179
|
class CreateNamedQueryInput
|
@@ -247,20 +245,14 @@ module Aws::Athena
|
|
247
245
|
class DataCatalog
|
248
246
|
attr_accessor name: ::String
|
249
247
|
attr_accessor description: ::String
|
250
|
-
attr_accessor type: ("LAMBDA" | "GLUE" | "HIVE"
|
248
|
+
attr_accessor type: ("LAMBDA" | "GLUE" | "HIVE")
|
251
249
|
attr_accessor parameters: ::Hash[::String, ::String]
|
252
|
-
attr_accessor status: ("CREATE_IN_PROGRESS" | "CREATE_COMPLETE" | "CREATE_FAILED" | "CREATE_FAILED_CLEANUP_IN_PROGRESS" | "CREATE_FAILED_CLEANUP_COMPLETE" | "CREATE_FAILED_CLEANUP_FAILED" | "DELETE_IN_PROGRESS" | "DELETE_COMPLETE" | "DELETE_FAILED")
|
253
|
-
attr_accessor connection_type: ("DYNAMODB" | "MYSQL" | "POSTGRESQL" | "REDSHIFT" | "ORACLE" | "SYNAPSE" | "SQLSERVER" | "DB2" | "OPENSEARCH" | "BIGQUERY" | "GOOGLECLOUDSTORAGE" | "HBASE" | "DOCUMENTDB" | "MSK" | "NEPTUNE" | "CMDB" | "TPCDS" | "REDIS" | "CLOUDWATCH" | "TIMESTREAM" | "SAPHANA" | "SNOWFLAKE" | "TERADATA" | "VERTICA" | "CLOUDERAIMPALA" | "CLOUDERAHIVE" | "HORTONWORKSHIVE" | "DATALAKEGEN2" | "DB2AS400" | "CLOUDWATCHMETRICS")
|
254
|
-
attr_accessor error: ::String
|
255
250
|
SENSITIVE: []
|
256
251
|
end
|
257
252
|
|
258
253
|
class DataCatalogSummary
|
259
254
|
attr_accessor catalog_name: ::String
|
260
|
-
attr_accessor type: ("LAMBDA" | "GLUE" | "HIVE"
|
261
|
-
attr_accessor status: ("CREATE_IN_PROGRESS" | "CREATE_COMPLETE" | "CREATE_FAILED" | "CREATE_FAILED_CLEANUP_IN_PROGRESS" | "CREATE_FAILED_CLEANUP_COMPLETE" | "CREATE_FAILED_CLEANUP_FAILED" | "DELETE_IN_PROGRESS" | "DELETE_COMPLETE" | "DELETE_FAILED")
|
262
|
-
attr_accessor connection_type: ("DYNAMODB" | "MYSQL" | "POSTGRESQL" | "REDSHIFT" | "ORACLE" | "SYNAPSE" | "SQLSERVER" | "DB2" | "OPENSEARCH" | "BIGQUERY" | "GOOGLECLOUDSTORAGE" | "HBASE" | "DOCUMENTDB" | "MSK" | "NEPTUNE" | "CMDB" | "TPCDS" | "REDIS" | "CLOUDWATCH" | "TIMESTREAM" | "SAPHANA" | "SNOWFLAKE" | "TERADATA" | "VERTICA" | "CLOUDERAIMPALA" | "CLOUDERAHIVE" | "HORTONWORKSHIVE" | "DATALAKEGEN2" | "DB2AS400" | "CLOUDWATCHMETRICS")
|
263
|
-
attr_accessor error: ::String
|
255
|
+
attr_accessor type: ("LAMBDA" | "GLUE" | "HIVE")
|
264
256
|
SENSITIVE: []
|
265
257
|
end
|
266
258
|
|
@@ -289,9 +281,7 @@ module Aws::Athena
|
|
289
281
|
SENSITIVE: []
|
290
282
|
end
|
291
283
|
|
292
|
-
class DeleteDataCatalogOutput
|
293
|
-
attr_accessor data_catalog: Types::DataCatalog
|
294
|
-
SENSITIVE: []
|
284
|
+
class DeleteDataCatalogOutput < Aws::EmptyStructure
|
295
285
|
end
|
296
286
|
|
297
287
|
class DeleteNamedQueryInput
|
@@ -1213,7 +1203,7 @@ module Aws::Athena
|
|
1213
1203
|
|
1214
1204
|
class UpdateDataCatalogInput
|
1215
1205
|
attr_accessor name: ::String
|
1216
|
-
attr_accessor type: ("LAMBDA" | "GLUE" | "HIVE"
|
1206
|
+
attr_accessor type: ("LAMBDA" | "GLUE" | "HIVE")
|
1217
1207
|
attr_accessor description: ::String
|
1218
1208
|
attr_accessor parameters: ::Hash[::String, ::String]
|
1219
1209
|
SENSITIVE: []
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-athena
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.96.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-10-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.210.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.210.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|