aws-sdk-athena 1.34.0 → 1.38.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +241 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-athena.rb +2 -2
- data/lib/aws-sdk-athena/client.rb +252 -12
- data/lib/aws-sdk-athena/client_api.rb +159 -1
- data/lib/aws-sdk-athena/errors.rb +1 -1
- data/lib/aws-sdk-athena/resource.rb +1 -1
- data/lib/aws-sdk-athena/types.rb +409 -21
- metadata +11 -9
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
1.38.0
|
data/lib/aws-sdk-athena.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-athena/customizations'
|
|
48
48
|
# @!group service
|
49
49
|
module Aws::Athena
|
50
50
|
|
51
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.38.0'
|
52
52
|
|
53
53
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -430,6 +430,8 @@ module Aws::Athena
|
|
430
430
|
# resp.query_executions[0].statistics.query_planning_time_in_millis #=> Integer
|
431
431
|
# resp.query_executions[0].statistics.service_processing_time_in_millis #=> Integer
|
432
432
|
# resp.query_executions[0].work_group #=> String
|
433
|
+
# resp.query_executions[0].engine_version.selected_engine_version #=> String
|
434
|
+
# resp.query_executions[0].engine_version.effective_engine_version #=> String
|
433
435
|
# resp.unprocessed_query_execution_ids #=> Array
|
434
436
|
# resp.unprocessed_query_execution_ids[0].query_execution_id #=> String
|
435
437
|
# resp.unprocessed_query_execution_ids[0].error_code #=> String
|
@@ -454,8 +456,14 @@ module Aws::Athena
|
|
454
456
|
# underscore, at sign, or hyphen characters.
|
455
457
|
#
|
456
458
|
# @option params [required, String] :type
|
457
|
-
# The type of data catalog to create: `LAMBDA` for a federated catalog
|
458
|
-
#
|
459
|
+
# The type of data catalog to create: `LAMBDA` for a federated catalog
|
460
|
+
# or `HIVE` for an external hive metastore.
|
461
|
+
#
|
462
|
+
# <note markdown="1"> Do not use the `GLUE` type. This refers to the `AwsDataCatalog` that
|
463
|
+
# already exists in your account, of which you can have only one.
|
464
|
+
# Specifying the `GLUE` type will result in an `INVALID_INPUT` error.
|
465
|
+
#
|
466
|
+
# </note>
|
459
467
|
#
|
460
468
|
# @option params [String] :description
|
461
469
|
# A description of the data catalog to be created.
|
@@ -487,8 +495,6 @@ module Aws::Athena
|
|
487
495
|
#
|
488
496
|
# `function=lambda_arn `
|
489
497
|
#
|
490
|
-
# * The `GLUE` type has no parameters.
|
491
|
-
#
|
492
498
|
# @option params [Array<Types::Tag>] :tags
|
493
499
|
# A list of comma separated tags to add to the data catalog that is
|
494
500
|
# created.
|
@@ -589,6 +595,40 @@ module Aws::Athena
|
|
589
595
|
req.send_request(options)
|
590
596
|
end
|
591
597
|
|
598
|
+
# Creates a prepared statement for use with SQL queries in Athena.
|
599
|
+
#
|
600
|
+
# @option params [required, String] :statement_name
|
601
|
+
# The name of the prepared statement.
|
602
|
+
#
|
603
|
+
# @option params [required, String] :work_group
|
604
|
+
# The name of the workgroup to which the prepared statement belongs.
|
605
|
+
#
|
606
|
+
# @option params [required, String] :query_statement
|
607
|
+
# The query string for the prepared statement.
|
608
|
+
#
|
609
|
+
# @option params [String] :description
|
610
|
+
# The description of the prepared statement.
|
611
|
+
#
|
612
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
613
|
+
#
|
614
|
+
# @example Request syntax with placeholder values
|
615
|
+
#
|
616
|
+
# resp = client.create_prepared_statement({
|
617
|
+
# statement_name: "StatementName", # required
|
618
|
+
# work_group: "WorkGroupName", # required
|
619
|
+
# query_statement: "QueryString", # required
|
620
|
+
# description: "DescriptionString",
|
621
|
+
# })
|
622
|
+
#
|
623
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/CreatePreparedStatement AWS API Documentation
|
624
|
+
#
|
625
|
+
# @overload create_prepared_statement(params = {})
|
626
|
+
# @param [Hash] params ({})
|
627
|
+
def create_prepared_statement(params = {}, options = {})
|
628
|
+
req = build_request(:create_prepared_statement, params)
|
629
|
+
req.send_request(options)
|
630
|
+
end
|
631
|
+
|
592
632
|
# Creates a workgroup with the specified name.
|
593
633
|
#
|
594
634
|
# @option params [required, String] :name
|
@@ -630,6 +670,10 @@ module Aws::Athena
|
|
630
670
|
# publish_cloud_watch_metrics_enabled: false,
|
631
671
|
# bytes_scanned_cutoff_per_query: 1,
|
632
672
|
# requester_pays_enabled: false,
|
673
|
+
# engine_version: {
|
674
|
+
# selected_engine_version: "NameString",
|
675
|
+
# effective_engine_version: "NameString",
|
676
|
+
# },
|
633
677
|
# },
|
634
678
|
# description: "WorkGroupDescriptionString",
|
635
679
|
# tags: [
|
@@ -704,6 +748,33 @@ module Aws::Athena
|
|
704
748
|
req.send_request(options)
|
705
749
|
end
|
706
750
|
|
751
|
+
# Deletes the prepared statement with the specified name from the
|
752
|
+
# specified workgroup.
|
753
|
+
#
|
754
|
+
# @option params [required, String] :statement_name
|
755
|
+
# The name of the prepared statement to delete.
|
756
|
+
#
|
757
|
+
# @option params [required, String] :work_group
|
758
|
+
# The workgroup to which the statement to be deleted belongs.
|
759
|
+
#
|
760
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
761
|
+
#
|
762
|
+
# @example Request syntax with placeholder values
|
763
|
+
#
|
764
|
+
# resp = client.delete_prepared_statement({
|
765
|
+
# statement_name: "StatementName", # required
|
766
|
+
# work_group: "WorkGroupName", # required
|
767
|
+
# })
|
768
|
+
#
|
769
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/DeletePreparedStatement AWS API Documentation
|
770
|
+
#
|
771
|
+
# @overload delete_prepared_statement(params = {})
|
772
|
+
# @param [Hash] params ({})
|
773
|
+
def delete_prepared_statement(params = {}, options = {})
|
774
|
+
req = build_request(:delete_prepared_statement, params)
|
775
|
+
req.send_request(options)
|
776
|
+
end
|
777
|
+
|
707
778
|
# Deletes the workgroup with the specified name. The primary workgroup
|
708
779
|
# cannot be deleted.
|
709
780
|
#
|
@@ -712,7 +783,7 @@ module Aws::Athena
|
|
712
783
|
#
|
713
784
|
# @option params [Boolean] :recursive_delete_option
|
714
785
|
# The option to delete the workgroup and its contents even if the
|
715
|
-
# workgroup contains any named queries.
|
786
|
+
# workgroup contains any named queries or query executions.
|
716
787
|
#
|
717
788
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
718
789
|
#
|
@@ -764,7 +835,7 @@ module Aws::Athena
|
|
764
835
|
req.send_request(options)
|
765
836
|
end
|
766
837
|
|
767
|
-
# Returns a database object for the
|
838
|
+
# Returns a database object for the specified database and data catalog.
|
768
839
|
#
|
769
840
|
# @option params [required, String] :catalog_name
|
770
841
|
# The name of the data catalog that contains the database to return.
|
@@ -833,6 +904,43 @@ module Aws::Athena
|
|
833
904
|
req.send_request(options)
|
834
905
|
end
|
835
906
|
|
907
|
+
# Retrieves the prepared statement with the specified name from the
|
908
|
+
# specified workgroup.
|
909
|
+
#
|
910
|
+
# @option params [required, String] :statement_name
|
911
|
+
# The name of the prepared statement to retrieve.
|
912
|
+
#
|
913
|
+
# @option params [required, String] :work_group
|
914
|
+
# The workgroup to which the statement to be retrieved belongs.
|
915
|
+
#
|
916
|
+
# @return [Types::GetPreparedStatementOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
917
|
+
#
|
918
|
+
# * {Types::GetPreparedStatementOutput#prepared_statement #prepared_statement} => Types::PreparedStatement
|
919
|
+
#
|
920
|
+
# @example Request syntax with placeholder values
|
921
|
+
#
|
922
|
+
# resp = client.get_prepared_statement({
|
923
|
+
# statement_name: "StatementName", # required
|
924
|
+
# work_group: "WorkGroupName", # required
|
925
|
+
# })
|
926
|
+
#
|
927
|
+
# @example Response structure
|
928
|
+
#
|
929
|
+
# resp.prepared_statement.statement_name #=> String
|
930
|
+
# resp.prepared_statement.query_statement #=> String
|
931
|
+
# resp.prepared_statement.work_group_name #=> String
|
932
|
+
# resp.prepared_statement.description #=> String
|
933
|
+
# resp.prepared_statement.last_modified_time #=> Time
|
934
|
+
#
|
935
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/GetPreparedStatement AWS API Documentation
|
936
|
+
#
|
937
|
+
# @overload get_prepared_statement(params = {})
|
938
|
+
# @param [Hash] params ({})
|
939
|
+
def get_prepared_statement(params = {}, options = {})
|
940
|
+
req = build_request(:get_prepared_statement, params)
|
941
|
+
req.send_request(options)
|
942
|
+
end
|
943
|
+
|
836
944
|
# Returns information about a single execution of a query if you have
|
837
945
|
# access to the workgroup in which the query ran. Each time a query
|
838
946
|
# executes, information about the query execution is saved with a unique
|
@@ -873,6 +981,8 @@ module Aws::Athena
|
|
873
981
|
# resp.query_execution.statistics.query_planning_time_in_millis #=> Integer
|
874
982
|
# resp.query_execution.statistics.service_processing_time_in_millis #=> Integer
|
875
983
|
# resp.query_execution.work_group #=> String
|
984
|
+
# resp.query_execution.engine_version.selected_engine_version #=> String
|
985
|
+
# resp.query_execution.engine_version.effective_engine_version #=> String
|
876
986
|
#
|
877
987
|
# @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/GetQueryExecution AWS API Documentation
|
878
988
|
#
|
@@ -1035,6 +1145,8 @@ module Aws::Athena
|
|
1035
1145
|
# resp.work_group.configuration.publish_cloud_watch_metrics_enabled #=> Boolean
|
1036
1146
|
# resp.work_group.configuration.bytes_scanned_cutoff_per_query #=> Integer
|
1037
1147
|
# resp.work_group.configuration.requester_pays_enabled #=> Boolean
|
1148
|
+
# resp.work_group.configuration.engine_version.selected_engine_version #=> String
|
1149
|
+
# resp.work_group.configuration.engine_version.effective_engine_version #=> String
|
1038
1150
|
# resp.work_group.description #=> String
|
1039
1151
|
# resp.work_group.creation_time #=> Time
|
1040
1152
|
#
|
@@ -1135,6 +1247,46 @@ module Aws::Athena
|
|
1135
1247
|
req.send_request(options)
|
1136
1248
|
end
|
1137
1249
|
|
1250
|
+
# Returns a list of engine versions that are available to choose from,
|
1251
|
+
# including the Auto option.
|
1252
|
+
#
|
1253
|
+
# @option params [String] :next_token
|
1254
|
+
# A token generated by the Athena service that specifies where to
|
1255
|
+
# continue pagination if a previous request was truncated. To obtain the
|
1256
|
+
# next set of pages, pass in the `NextToken` from the response object of
|
1257
|
+
# the previous page call.
|
1258
|
+
#
|
1259
|
+
# @option params [Integer] :max_results
|
1260
|
+
# The maximum number of engine versions to return in this request.
|
1261
|
+
#
|
1262
|
+
# @return [Types::ListEngineVersionsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1263
|
+
#
|
1264
|
+
# * {Types::ListEngineVersionsOutput#engine_versions #engine_versions} => Array<Types::EngineVersion>
|
1265
|
+
# * {Types::ListEngineVersionsOutput#next_token #next_token} => String
|
1266
|
+
#
|
1267
|
+
# @example Request syntax with placeholder values
|
1268
|
+
#
|
1269
|
+
# resp = client.list_engine_versions({
|
1270
|
+
# next_token: "Token",
|
1271
|
+
# max_results: 1,
|
1272
|
+
# })
|
1273
|
+
#
|
1274
|
+
# @example Response structure
|
1275
|
+
#
|
1276
|
+
# resp.engine_versions #=> Array
|
1277
|
+
# resp.engine_versions[0].selected_engine_version #=> String
|
1278
|
+
# resp.engine_versions[0].effective_engine_version #=> String
|
1279
|
+
# resp.next_token #=> String
|
1280
|
+
#
|
1281
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/ListEngineVersions AWS API Documentation
|
1282
|
+
#
|
1283
|
+
# @overload list_engine_versions(params = {})
|
1284
|
+
# @param [Hash] params ({})
|
1285
|
+
def list_engine_versions(params = {}, options = {})
|
1286
|
+
req = build_request(:list_engine_versions, params)
|
1287
|
+
req.send_request(options)
|
1288
|
+
end
|
1289
|
+
|
1138
1290
|
# Provides a list of available query IDs only for queries saved in the
|
1139
1291
|
# specified workgroup. Requires that you have access to the specified
|
1140
1292
|
# workgroup. If a workgroup is not specified, lists the saved queries
|
@@ -1191,6 +1343,51 @@ module Aws::Athena
|
|
1191
1343
|
req.send_request(options)
|
1192
1344
|
end
|
1193
1345
|
|
1346
|
+
# Lists the prepared statements in the specfied workgroup.
|
1347
|
+
#
|
1348
|
+
# @option params [required, String] :work_group
|
1349
|
+
# The workgroup to list the prepared statements for.
|
1350
|
+
#
|
1351
|
+
# @option params [String] :next_token
|
1352
|
+
# A token generated by the Athena service that specifies where to
|
1353
|
+
# continue pagination if a previous request was truncated. To obtain the
|
1354
|
+
# next set of pages, pass in the `NextToken` from the response object of
|
1355
|
+
# the previous page call.
|
1356
|
+
#
|
1357
|
+
# @option params [Integer] :max_results
|
1358
|
+
# The maximum number of results to return in this request.
|
1359
|
+
#
|
1360
|
+
# @return [Types::ListPreparedStatementsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1361
|
+
#
|
1362
|
+
# * {Types::ListPreparedStatementsOutput#prepared_statements #prepared_statements} => Array<Types::PreparedStatementSummary>
|
1363
|
+
# * {Types::ListPreparedStatementsOutput#next_token #next_token} => String
|
1364
|
+
#
|
1365
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1366
|
+
#
|
1367
|
+
# @example Request syntax with placeholder values
|
1368
|
+
#
|
1369
|
+
# resp = client.list_prepared_statements({
|
1370
|
+
# work_group: "WorkGroupName", # required
|
1371
|
+
# next_token: "Token",
|
1372
|
+
# max_results: 1,
|
1373
|
+
# })
|
1374
|
+
#
|
1375
|
+
# @example Response structure
|
1376
|
+
#
|
1377
|
+
# resp.prepared_statements #=> Array
|
1378
|
+
# resp.prepared_statements[0].statement_name #=> String
|
1379
|
+
# resp.prepared_statements[0].last_modified_time #=> Time
|
1380
|
+
# resp.next_token #=> String
|
1381
|
+
#
|
1382
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/ListPreparedStatements AWS API Documentation
|
1383
|
+
#
|
1384
|
+
# @overload list_prepared_statements(params = {})
|
1385
|
+
# @param [Hash] params ({})
|
1386
|
+
def list_prepared_statements(params = {}, options = {})
|
1387
|
+
req = build_request(:list_prepared_statements, params)
|
1388
|
+
req.send_request(options)
|
1389
|
+
end
|
1390
|
+
|
1194
1391
|
# Provides a list of available query execution IDs for the queries in
|
1195
1392
|
# the specified workgroup. If a workgroup is not specified, returns a
|
1196
1393
|
# list of query execution IDs for the primary workgroup. Requires you to
|
@@ -1393,6 +1590,8 @@ module Aws::Athena
|
|
1393
1590
|
# resp.work_groups[0].state #=> String, one of "ENABLED", "DISABLED"
|
1394
1591
|
# resp.work_groups[0].description #=> String
|
1395
1592
|
# resp.work_groups[0].creation_time #=> Time
|
1593
|
+
# resp.work_groups[0].engine_version.selected_engine_version #=> String
|
1594
|
+
# resp.work_groups[0].engine_version.effective_engine_version #=> String
|
1396
1595
|
# resp.next_token #=> String
|
1397
1596
|
#
|
1398
1597
|
# @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/ListWorkGroups AWS API Documentation
|
@@ -1601,8 +1800,13 @@ module Aws::Athena
|
|
1601
1800
|
#
|
1602
1801
|
# @option params [required, String] :type
|
1603
1802
|
# Specifies the type of data catalog to update. Specify `LAMBDA` for a
|
1604
|
-
# federated catalog
|
1605
|
-
#
|
1803
|
+
# federated catalog or `HIVE` for an external hive metastore.
|
1804
|
+
#
|
1805
|
+
# <note markdown="1"> Do not use the `GLUE` type. This refers to the `AwsDataCatalog` that
|
1806
|
+
# already exists in your account, of which you can have only one.
|
1807
|
+
# Specifying the `GLUE` type will result in an `INVALID_INPUT` error.
|
1808
|
+
#
|
1809
|
+
# </note>
|
1606
1810
|
#
|
1607
1811
|
# @option params [String] :description
|
1608
1812
|
# New or modified text that describes the data catalog.
|
@@ -1634,8 +1838,6 @@ module Aws::Athena
|
|
1634
1838
|
#
|
1635
1839
|
# `function=lambda_arn `
|
1636
1840
|
#
|
1637
|
-
# * The `GLUE` type has no parameters.
|
1638
|
-
#
|
1639
1841
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1640
1842
|
#
|
1641
1843
|
# @example Request syntax with placeholder values
|
@@ -1658,6 +1860,40 @@ module Aws::Athena
|
|
1658
1860
|
req.send_request(options)
|
1659
1861
|
end
|
1660
1862
|
|
1863
|
+
# Updates a prepared statement.
|
1864
|
+
#
|
1865
|
+
# @option params [required, String] :statement_name
|
1866
|
+
# The name of the prepared statement.
|
1867
|
+
#
|
1868
|
+
# @option params [required, String] :work_group
|
1869
|
+
# The workgroup for the prepared statement.
|
1870
|
+
#
|
1871
|
+
# @option params [required, String] :query_statement
|
1872
|
+
# The query string for the prepared statement.
|
1873
|
+
#
|
1874
|
+
# @option params [String] :description
|
1875
|
+
# The description of the prepared statement.
|
1876
|
+
#
|
1877
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1878
|
+
#
|
1879
|
+
# @example Request syntax with placeholder values
|
1880
|
+
#
|
1881
|
+
# resp = client.update_prepared_statement({
|
1882
|
+
# statement_name: "StatementName", # required
|
1883
|
+
# work_group: "WorkGroupName", # required
|
1884
|
+
# query_statement: "QueryString", # required
|
1885
|
+
# description: "DescriptionString",
|
1886
|
+
# })
|
1887
|
+
#
|
1888
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/UpdatePreparedStatement AWS API Documentation
|
1889
|
+
#
|
1890
|
+
# @overload update_prepared_statement(params = {})
|
1891
|
+
# @param [Hash] params ({})
|
1892
|
+
def update_prepared_statement(params = {}, options = {})
|
1893
|
+
req = build_request(:update_prepared_statement, params)
|
1894
|
+
req.send_request(options)
|
1895
|
+
end
|
1896
|
+
|
1661
1897
|
# Updates the workgroup with the specified name. The workgroup's name
|
1662
1898
|
# cannot be changed.
|
1663
1899
|
#
|
@@ -1696,6 +1932,10 @@ module Aws::Athena
|
|
1696
1932
|
# bytes_scanned_cutoff_per_query: 1,
|
1697
1933
|
# remove_bytes_scanned_cutoff_per_query: false,
|
1698
1934
|
# requester_pays_enabled: false,
|
1935
|
+
# engine_version: {
|
1936
|
+
# selected_engine_version: "NameString",
|
1937
|
+
# effective_engine_version: "NameString",
|
1938
|
+
# },
|
1699
1939
|
# },
|
1700
1940
|
# state: "ENABLED", # accepts ENABLED, DISABLED
|
1701
1941
|
# })
|
@@ -1722,7 +1962,7 @@ module Aws::Athena
|
|
1722
1962
|
params: params,
|
1723
1963
|
config: config)
|
1724
1964
|
context[:gem_name] = 'aws-sdk-athena'
|
1725
|
-
context[:gem_version] = '1.
|
1965
|
+
context[:gem_version] = '1.38.0'
|
1726
1966
|
Seahorse::Client::Request.new(handlers, context)
|
1727
1967
|
end
|
1728
1968
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -32,6 +32,8 @@ module Aws::Athena
|
|
32
32
|
CreateDataCatalogOutput = Shapes::StructureShape.new(name: 'CreateDataCatalogOutput')
|
33
33
|
CreateNamedQueryInput = Shapes::StructureShape.new(name: 'CreateNamedQueryInput')
|
34
34
|
CreateNamedQueryOutput = Shapes::StructureShape.new(name: 'CreateNamedQueryOutput')
|
35
|
+
CreatePreparedStatementInput = Shapes::StructureShape.new(name: 'CreatePreparedStatementInput')
|
36
|
+
CreatePreparedStatementOutput = Shapes::StructureShape.new(name: 'CreatePreparedStatementOutput')
|
35
37
|
CreateWorkGroupInput = Shapes::StructureShape.new(name: 'CreateWorkGroupInput')
|
36
38
|
CreateWorkGroupOutput = Shapes::StructureShape.new(name: 'CreateWorkGroupOutput')
|
37
39
|
DataCatalog = Shapes::StructureShape.new(name: 'DataCatalog')
|
@@ -47,11 +49,15 @@ module Aws::Athena
|
|
47
49
|
DeleteDataCatalogOutput = Shapes::StructureShape.new(name: 'DeleteDataCatalogOutput')
|
48
50
|
DeleteNamedQueryInput = Shapes::StructureShape.new(name: 'DeleteNamedQueryInput')
|
49
51
|
DeleteNamedQueryOutput = Shapes::StructureShape.new(name: 'DeleteNamedQueryOutput')
|
52
|
+
DeletePreparedStatementInput = Shapes::StructureShape.new(name: 'DeletePreparedStatementInput')
|
53
|
+
DeletePreparedStatementOutput = Shapes::StructureShape.new(name: 'DeletePreparedStatementOutput')
|
50
54
|
DeleteWorkGroupInput = Shapes::StructureShape.new(name: 'DeleteWorkGroupInput')
|
51
55
|
DeleteWorkGroupOutput = Shapes::StructureShape.new(name: 'DeleteWorkGroupOutput')
|
52
56
|
DescriptionString = Shapes::StringShape.new(name: 'DescriptionString')
|
53
57
|
EncryptionConfiguration = Shapes::StructureShape.new(name: 'EncryptionConfiguration')
|
54
58
|
EncryptionOption = Shapes::StringShape.new(name: 'EncryptionOption')
|
59
|
+
EngineVersion = Shapes::StructureShape.new(name: 'EngineVersion')
|
60
|
+
EngineVersionsList = Shapes::ListShape.new(name: 'EngineVersionsList')
|
55
61
|
ErrorCode = Shapes::StringShape.new(name: 'ErrorCode')
|
56
62
|
ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
|
57
63
|
ExpressionString = Shapes::StringShape.new(name: 'ExpressionString')
|
@@ -61,6 +67,8 @@ module Aws::Athena
|
|
61
67
|
GetDatabaseOutput = Shapes::StructureShape.new(name: 'GetDatabaseOutput')
|
62
68
|
GetNamedQueryInput = Shapes::StructureShape.new(name: 'GetNamedQueryInput')
|
63
69
|
GetNamedQueryOutput = Shapes::StructureShape.new(name: 'GetNamedQueryOutput')
|
70
|
+
GetPreparedStatementInput = Shapes::StructureShape.new(name: 'GetPreparedStatementInput')
|
71
|
+
GetPreparedStatementOutput = Shapes::StructureShape.new(name: 'GetPreparedStatementOutput')
|
64
72
|
GetQueryExecutionInput = Shapes::StructureShape.new(name: 'GetQueryExecutionInput')
|
65
73
|
GetQueryExecutionOutput = Shapes::StructureShape.new(name: 'GetQueryExecutionOutput')
|
66
74
|
GetQueryResultsInput = Shapes::StructureShape.new(name: 'GetQueryResultsInput')
|
@@ -78,8 +86,12 @@ module Aws::Athena
|
|
78
86
|
ListDataCatalogsOutput = Shapes::StructureShape.new(name: 'ListDataCatalogsOutput')
|
79
87
|
ListDatabasesInput = Shapes::StructureShape.new(name: 'ListDatabasesInput')
|
80
88
|
ListDatabasesOutput = Shapes::StructureShape.new(name: 'ListDatabasesOutput')
|
89
|
+
ListEngineVersionsInput = Shapes::StructureShape.new(name: 'ListEngineVersionsInput')
|
90
|
+
ListEngineVersionsOutput = Shapes::StructureShape.new(name: 'ListEngineVersionsOutput')
|
81
91
|
ListNamedQueriesInput = Shapes::StructureShape.new(name: 'ListNamedQueriesInput')
|
82
92
|
ListNamedQueriesOutput = Shapes::StructureShape.new(name: 'ListNamedQueriesOutput')
|
93
|
+
ListPreparedStatementsInput = Shapes::StructureShape.new(name: 'ListPreparedStatementsInput')
|
94
|
+
ListPreparedStatementsOutput = Shapes::StructureShape.new(name: 'ListPreparedStatementsOutput')
|
83
95
|
ListQueryExecutionsInput = Shapes::StructureShape.new(name: 'ListQueryExecutionsInput')
|
84
96
|
ListQueryExecutionsOutput = Shapes::StructureShape.new(name: 'ListQueryExecutionsOutput')
|
85
97
|
ListTableMetadataInput = Shapes::StructureShape.new(name: 'ListTableMetadataInput')
|
@@ -91,7 +103,9 @@ module Aws::Athena
|
|
91
103
|
Long = Shapes::IntegerShape.new(name: 'Long')
|
92
104
|
MaxDataCatalogsCount = Shapes::IntegerShape.new(name: 'MaxDataCatalogsCount')
|
93
105
|
MaxDatabasesCount = Shapes::IntegerShape.new(name: 'MaxDatabasesCount')
|
106
|
+
MaxEngineVersionsCount = Shapes::IntegerShape.new(name: 'MaxEngineVersionsCount')
|
94
107
|
MaxNamedQueriesCount = Shapes::IntegerShape.new(name: 'MaxNamedQueriesCount')
|
108
|
+
MaxPreparedStatementsCount = Shapes::IntegerShape.new(name: 'MaxPreparedStatementsCount')
|
95
109
|
MaxQueryExecutionsCount = Shapes::IntegerShape.new(name: 'MaxQueryExecutionsCount')
|
96
110
|
MaxQueryResults = Shapes::IntegerShape.new(name: 'MaxQueryResults')
|
97
111
|
MaxTableMetadataCount = Shapes::IntegerShape.new(name: 'MaxTableMetadataCount')
|
@@ -105,6 +119,9 @@ module Aws::Athena
|
|
105
119
|
NamedQueryList = Shapes::ListShape.new(name: 'NamedQueryList')
|
106
120
|
ParametersMap = Shapes::MapShape.new(name: 'ParametersMap')
|
107
121
|
ParametersMapValue = Shapes::StringShape.new(name: 'ParametersMapValue')
|
122
|
+
PreparedStatement = Shapes::StructureShape.new(name: 'PreparedStatement')
|
123
|
+
PreparedStatementSummary = Shapes::StructureShape.new(name: 'PreparedStatementSummary')
|
124
|
+
PreparedStatementsList = Shapes::ListShape.new(name: 'PreparedStatementsList')
|
108
125
|
QueryExecution = Shapes::StructureShape.new(name: 'QueryExecution')
|
109
126
|
QueryExecutionContext = Shapes::StructureShape.new(name: 'QueryExecutionContext')
|
110
127
|
QueryExecutionId = Shapes::StringShape.new(name: 'QueryExecutionId')
|
@@ -123,6 +140,7 @@ module Aws::Athena
|
|
123
140
|
RowList = Shapes::ListShape.new(name: 'RowList')
|
124
141
|
StartQueryExecutionInput = Shapes::StructureShape.new(name: 'StartQueryExecutionInput')
|
125
142
|
StartQueryExecutionOutput = Shapes::StructureShape.new(name: 'StartQueryExecutionOutput')
|
143
|
+
StatementName = Shapes::StringShape.new(name: 'StatementName')
|
126
144
|
StatementType = Shapes::StringShape.new(name: 'StatementType')
|
127
145
|
StopQueryExecutionInput = Shapes::StructureShape.new(name: 'StopQueryExecutionInput')
|
128
146
|
StopQueryExecutionOutput = Shapes::StructureShape.new(name: 'StopQueryExecutionOutput')
|
@@ -150,6 +168,8 @@ module Aws::Athena
|
|
150
168
|
UntagResourceOutput = Shapes::StructureShape.new(name: 'UntagResourceOutput')
|
151
169
|
UpdateDataCatalogInput = Shapes::StructureShape.new(name: 'UpdateDataCatalogInput')
|
152
170
|
UpdateDataCatalogOutput = Shapes::StructureShape.new(name: 'UpdateDataCatalogOutput')
|
171
|
+
UpdatePreparedStatementInput = Shapes::StructureShape.new(name: 'UpdatePreparedStatementInput')
|
172
|
+
UpdatePreparedStatementOutput = Shapes::StructureShape.new(name: 'UpdatePreparedStatementOutput')
|
153
173
|
UpdateWorkGroupInput = Shapes::StructureShape.new(name: 'UpdateWorkGroupInput')
|
154
174
|
UpdateWorkGroupOutput = Shapes::StructureShape.new(name: 'UpdateWorkGroupOutput')
|
155
175
|
WorkGroup = Shapes::StructureShape.new(name: 'WorkGroup')
|
@@ -218,6 +238,14 @@ module Aws::Athena
|
|
218
238
|
CreateNamedQueryOutput.add_member(:named_query_id, Shapes::ShapeRef.new(shape: NamedQueryId, location_name: "NamedQueryId"))
|
219
239
|
CreateNamedQueryOutput.struct_class = Types::CreateNamedQueryOutput
|
220
240
|
|
241
|
+
CreatePreparedStatementInput.add_member(:statement_name, Shapes::ShapeRef.new(shape: StatementName, required: true, location_name: "StatementName"))
|
242
|
+
CreatePreparedStatementInput.add_member(:work_group, Shapes::ShapeRef.new(shape: WorkGroupName, required: true, location_name: "WorkGroup"))
|
243
|
+
CreatePreparedStatementInput.add_member(:query_statement, Shapes::ShapeRef.new(shape: QueryString, required: true, location_name: "QueryStatement"))
|
244
|
+
CreatePreparedStatementInput.add_member(:description, Shapes::ShapeRef.new(shape: DescriptionString, location_name: "Description"))
|
245
|
+
CreatePreparedStatementInput.struct_class = Types::CreatePreparedStatementInput
|
246
|
+
|
247
|
+
CreatePreparedStatementOutput.struct_class = Types::CreatePreparedStatementOutput
|
248
|
+
|
221
249
|
CreateWorkGroupInput.add_member(:name, Shapes::ShapeRef.new(shape: WorkGroupName, required: true, location_name: "Name"))
|
222
250
|
CreateWorkGroupInput.add_member(:configuration, Shapes::ShapeRef.new(shape: WorkGroupConfiguration, location_name: "Configuration"))
|
223
251
|
CreateWorkGroupInput.add_member(:description, Shapes::ShapeRef.new(shape: WorkGroupDescriptionString, location_name: "Description"))
|
@@ -258,6 +286,12 @@ module Aws::Athena
|
|
258
286
|
|
259
287
|
DeleteNamedQueryOutput.struct_class = Types::DeleteNamedQueryOutput
|
260
288
|
|
289
|
+
DeletePreparedStatementInput.add_member(:statement_name, Shapes::ShapeRef.new(shape: StatementName, required: true, location_name: "StatementName"))
|
290
|
+
DeletePreparedStatementInput.add_member(:work_group, Shapes::ShapeRef.new(shape: WorkGroupName, required: true, location_name: "WorkGroup"))
|
291
|
+
DeletePreparedStatementInput.struct_class = Types::DeletePreparedStatementInput
|
292
|
+
|
293
|
+
DeletePreparedStatementOutput.struct_class = Types::DeletePreparedStatementOutput
|
294
|
+
|
261
295
|
DeleteWorkGroupInput.add_member(:work_group, Shapes::ShapeRef.new(shape: WorkGroupName, required: true, location_name: "WorkGroup"))
|
262
296
|
DeleteWorkGroupInput.add_member(:recursive_delete_option, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "RecursiveDeleteOption"))
|
263
297
|
DeleteWorkGroupInput.struct_class = Types::DeleteWorkGroupInput
|
@@ -268,6 +302,12 @@ module Aws::Athena
|
|
268
302
|
EncryptionConfiguration.add_member(:kms_key, Shapes::ShapeRef.new(shape: String, location_name: "KmsKey"))
|
269
303
|
EncryptionConfiguration.struct_class = Types::EncryptionConfiguration
|
270
304
|
|
305
|
+
EngineVersion.add_member(:selected_engine_version, Shapes::ShapeRef.new(shape: NameString, location_name: "SelectedEngineVersion"))
|
306
|
+
EngineVersion.add_member(:effective_engine_version, Shapes::ShapeRef.new(shape: NameString, location_name: "EffectiveEngineVersion"))
|
307
|
+
EngineVersion.struct_class = Types::EngineVersion
|
308
|
+
|
309
|
+
EngineVersionsList.member = Shapes::ShapeRef.new(shape: EngineVersion)
|
310
|
+
|
271
311
|
GetDataCatalogInput.add_member(:name, Shapes::ShapeRef.new(shape: CatalogNameString, required: true, location_name: "Name"))
|
272
312
|
GetDataCatalogInput.struct_class = Types::GetDataCatalogInput
|
273
313
|
|
@@ -287,6 +327,13 @@ module Aws::Athena
|
|
287
327
|
GetNamedQueryOutput.add_member(:named_query, Shapes::ShapeRef.new(shape: NamedQuery, location_name: "NamedQuery"))
|
288
328
|
GetNamedQueryOutput.struct_class = Types::GetNamedQueryOutput
|
289
329
|
|
330
|
+
GetPreparedStatementInput.add_member(:statement_name, Shapes::ShapeRef.new(shape: StatementName, required: true, location_name: "StatementName"))
|
331
|
+
GetPreparedStatementInput.add_member(:work_group, Shapes::ShapeRef.new(shape: WorkGroupName, required: true, location_name: "WorkGroup"))
|
332
|
+
GetPreparedStatementInput.struct_class = Types::GetPreparedStatementInput
|
333
|
+
|
334
|
+
GetPreparedStatementOutput.add_member(:prepared_statement, Shapes::ShapeRef.new(shape: PreparedStatement, location_name: "PreparedStatement"))
|
335
|
+
GetPreparedStatementOutput.struct_class = Types::GetPreparedStatementOutput
|
336
|
+
|
290
337
|
GetQueryExecutionInput.add_member(:query_execution_id, Shapes::ShapeRef.new(shape: QueryExecutionId, required: true, location_name: "QueryExecutionId"))
|
291
338
|
GetQueryExecutionInput.struct_class = Types::GetQueryExecutionInput
|
292
339
|
|
@@ -341,6 +388,14 @@ module Aws::Athena
|
|
341
388
|
ListDatabasesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
|
342
389
|
ListDatabasesOutput.struct_class = Types::ListDatabasesOutput
|
343
390
|
|
391
|
+
ListEngineVersionsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
|
392
|
+
ListEngineVersionsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxEngineVersionsCount, location_name: "MaxResults"))
|
393
|
+
ListEngineVersionsInput.struct_class = Types::ListEngineVersionsInput
|
394
|
+
|
395
|
+
ListEngineVersionsOutput.add_member(:engine_versions, Shapes::ShapeRef.new(shape: EngineVersionsList, location_name: "EngineVersions"))
|
396
|
+
ListEngineVersionsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
|
397
|
+
ListEngineVersionsOutput.struct_class = Types::ListEngineVersionsOutput
|
398
|
+
|
344
399
|
ListNamedQueriesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
|
345
400
|
ListNamedQueriesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxNamedQueriesCount, location_name: "MaxResults"))
|
346
401
|
ListNamedQueriesInput.add_member(:work_group, Shapes::ShapeRef.new(shape: WorkGroupName, location_name: "WorkGroup"))
|
@@ -350,6 +405,15 @@ module Aws::Athena
|
|
350
405
|
ListNamedQueriesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
|
351
406
|
ListNamedQueriesOutput.struct_class = Types::ListNamedQueriesOutput
|
352
407
|
|
408
|
+
ListPreparedStatementsInput.add_member(:work_group, Shapes::ShapeRef.new(shape: WorkGroupName, required: true, location_name: "WorkGroup"))
|
409
|
+
ListPreparedStatementsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
|
410
|
+
ListPreparedStatementsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxPreparedStatementsCount, location_name: "MaxResults"))
|
411
|
+
ListPreparedStatementsInput.struct_class = Types::ListPreparedStatementsInput
|
412
|
+
|
413
|
+
ListPreparedStatementsOutput.add_member(:prepared_statements, Shapes::ShapeRef.new(shape: PreparedStatementsList, location_name: "PreparedStatements"))
|
414
|
+
ListPreparedStatementsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
|
415
|
+
ListPreparedStatementsOutput.struct_class = Types::ListPreparedStatementsOutput
|
416
|
+
|
353
417
|
ListQueryExecutionsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
|
354
418
|
ListQueryExecutionsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxQueryExecutionsCount, location_name: "MaxResults"))
|
355
419
|
ListQueryExecutionsInput.add_member(:work_group, Shapes::ShapeRef.new(shape: WorkGroupName, location_name: "WorkGroup"))
|
@@ -405,6 +469,19 @@ module Aws::Athena
|
|
405
469
|
ParametersMap.key = Shapes::ShapeRef.new(shape: KeyString)
|
406
470
|
ParametersMap.value = Shapes::ShapeRef.new(shape: ParametersMapValue)
|
407
471
|
|
472
|
+
PreparedStatement.add_member(:statement_name, Shapes::ShapeRef.new(shape: StatementName, location_name: "StatementName"))
|
473
|
+
PreparedStatement.add_member(:query_statement, Shapes::ShapeRef.new(shape: QueryString, location_name: "QueryStatement"))
|
474
|
+
PreparedStatement.add_member(:work_group_name, Shapes::ShapeRef.new(shape: WorkGroupName, location_name: "WorkGroupName"))
|
475
|
+
PreparedStatement.add_member(:description, Shapes::ShapeRef.new(shape: DescriptionString, location_name: "Description"))
|
476
|
+
PreparedStatement.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Date, location_name: "LastModifiedTime"))
|
477
|
+
PreparedStatement.struct_class = Types::PreparedStatement
|
478
|
+
|
479
|
+
PreparedStatementSummary.add_member(:statement_name, Shapes::ShapeRef.new(shape: StatementName, location_name: "StatementName"))
|
480
|
+
PreparedStatementSummary.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Date, location_name: "LastModifiedTime"))
|
481
|
+
PreparedStatementSummary.struct_class = Types::PreparedStatementSummary
|
482
|
+
|
483
|
+
PreparedStatementsList.member = Shapes::ShapeRef.new(shape: PreparedStatementSummary)
|
484
|
+
|
408
485
|
QueryExecution.add_member(:query_execution_id, Shapes::ShapeRef.new(shape: QueryExecutionId, location_name: "QueryExecutionId"))
|
409
486
|
QueryExecution.add_member(:query, Shapes::ShapeRef.new(shape: QueryString, location_name: "Query"))
|
410
487
|
QueryExecution.add_member(:statement_type, Shapes::ShapeRef.new(shape: StatementType, location_name: "StatementType"))
|
@@ -413,6 +490,7 @@ module Aws::Athena
|
|
413
490
|
QueryExecution.add_member(:status, Shapes::ShapeRef.new(shape: QueryExecutionStatus, location_name: "Status"))
|
414
491
|
QueryExecution.add_member(:statistics, Shapes::ShapeRef.new(shape: QueryExecutionStatistics, location_name: "Statistics"))
|
415
492
|
QueryExecution.add_member(:work_group, Shapes::ShapeRef.new(shape: WorkGroupName, location_name: "WorkGroup"))
|
493
|
+
QueryExecution.add_member(:engine_version, Shapes::ShapeRef.new(shape: EngineVersion, location_name: "EngineVersion"))
|
416
494
|
QueryExecution.struct_class = Types::QueryExecution
|
417
495
|
|
418
496
|
QueryExecutionContext.add_member(:database, Shapes::ShapeRef.new(shape: DatabaseString, location_name: "Database"))
|
@@ -536,6 +614,14 @@ module Aws::Athena
|
|
536
614
|
|
537
615
|
UpdateDataCatalogOutput.struct_class = Types::UpdateDataCatalogOutput
|
538
616
|
|
617
|
+
UpdatePreparedStatementInput.add_member(:statement_name, Shapes::ShapeRef.new(shape: StatementName, required: true, location_name: "StatementName"))
|
618
|
+
UpdatePreparedStatementInput.add_member(:work_group, Shapes::ShapeRef.new(shape: WorkGroupName, required: true, location_name: "WorkGroup"))
|
619
|
+
UpdatePreparedStatementInput.add_member(:query_statement, Shapes::ShapeRef.new(shape: QueryString, required: true, location_name: "QueryStatement"))
|
620
|
+
UpdatePreparedStatementInput.add_member(:description, Shapes::ShapeRef.new(shape: DescriptionString, location_name: "Description"))
|
621
|
+
UpdatePreparedStatementInput.struct_class = Types::UpdatePreparedStatementInput
|
622
|
+
|
623
|
+
UpdatePreparedStatementOutput.struct_class = Types::UpdatePreparedStatementOutput
|
624
|
+
|
539
625
|
UpdateWorkGroupInput.add_member(:work_group, Shapes::ShapeRef.new(shape: WorkGroupName, required: true, location_name: "WorkGroup"))
|
540
626
|
UpdateWorkGroupInput.add_member(:description, Shapes::ShapeRef.new(shape: WorkGroupDescriptionString, location_name: "Description"))
|
541
627
|
UpdateWorkGroupInput.add_member(:configuration_updates, Shapes::ShapeRef.new(shape: WorkGroupConfigurationUpdates, location_name: "ConfigurationUpdates"))
|
@@ -556,6 +642,7 @@ module Aws::Athena
|
|
556
642
|
WorkGroupConfiguration.add_member(:publish_cloud_watch_metrics_enabled, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "PublishCloudWatchMetricsEnabled"))
|
557
643
|
WorkGroupConfiguration.add_member(:bytes_scanned_cutoff_per_query, Shapes::ShapeRef.new(shape: BytesScannedCutoffValue, location_name: "BytesScannedCutoffPerQuery"))
|
558
644
|
WorkGroupConfiguration.add_member(:requester_pays_enabled, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "RequesterPaysEnabled"))
|
645
|
+
WorkGroupConfiguration.add_member(:engine_version, Shapes::ShapeRef.new(shape: EngineVersion, location_name: "EngineVersion"))
|
559
646
|
WorkGroupConfiguration.struct_class = Types::WorkGroupConfiguration
|
560
647
|
|
561
648
|
WorkGroupConfigurationUpdates.add_member(:enforce_work_group_configuration, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "EnforceWorkGroupConfiguration"))
|
@@ -564,12 +651,14 @@ module Aws::Athena
|
|
564
651
|
WorkGroupConfigurationUpdates.add_member(:bytes_scanned_cutoff_per_query, Shapes::ShapeRef.new(shape: BytesScannedCutoffValue, location_name: "BytesScannedCutoffPerQuery"))
|
565
652
|
WorkGroupConfigurationUpdates.add_member(:remove_bytes_scanned_cutoff_per_query, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "RemoveBytesScannedCutoffPerQuery"))
|
566
653
|
WorkGroupConfigurationUpdates.add_member(:requester_pays_enabled, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "RequesterPaysEnabled"))
|
654
|
+
WorkGroupConfigurationUpdates.add_member(:engine_version, Shapes::ShapeRef.new(shape: EngineVersion, location_name: "EngineVersion"))
|
567
655
|
WorkGroupConfigurationUpdates.struct_class = Types::WorkGroupConfigurationUpdates
|
568
656
|
|
569
657
|
WorkGroupSummary.add_member(:name, Shapes::ShapeRef.new(shape: WorkGroupName, location_name: "Name"))
|
570
658
|
WorkGroupSummary.add_member(:state, Shapes::ShapeRef.new(shape: WorkGroupState, location_name: "State"))
|
571
659
|
WorkGroupSummary.add_member(:description, Shapes::ShapeRef.new(shape: WorkGroupDescriptionString, location_name: "Description"))
|
572
660
|
WorkGroupSummary.add_member(:creation_time, Shapes::ShapeRef.new(shape: Date, location_name: "CreationTime"))
|
661
|
+
WorkGroupSummary.add_member(:engine_version, Shapes::ShapeRef.new(shape: EngineVersion, location_name: "EngineVersion"))
|
573
662
|
WorkGroupSummary.struct_class = Types::WorkGroupSummary
|
574
663
|
|
575
664
|
WorkGroupsList.member = Shapes::ShapeRef.new(shape: WorkGroupSummary)
|
@@ -634,6 +723,16 @@ module Aws::Athena
|
|
634
723
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
635
724
|
end)
|
636
725
|
|
726
|
+
api.add_operation(:create_prepared_statement, Seahorse::Model::Operation.new.tap do |o|
|
727
|
+
o.name = "CreatePreparedStatement"
|
728
|
+
o.http_method = "POST"
|
729
|
+
o.http_request_uri = "/"
|
730
|
+
o.input = Shapes::ShapeRef.new(shape: CreatePreparedStatementInput)
|
731
|
+
o.output = Shapes::ShapeRef.new(shape: CreatePreparedStatementOutput)
|
732
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
733
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
734
|
+
end)
|
735
|
+
|
637
736
|
api.add_operation(:create_work_group, Seahorse::Model::Operation.new.tap do |o|
|
638
737
|
o.name = "CreateWorkGroup"
|
639
738
|
o.http_method = "POST"
|
@@ -664,6 +763,17 @@ module Aws::Athena
|
|
664
763
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
665
764
|
end)
|
666
765
|
|
766
|
+
api.add_operation(:delete_prepared_statement, Seahorse::Model::Operation.new.tap do |o|
|
767
|
+
o.name = "DeletePreparedStatement"
|
768
|
+
o.http_method = "POST"
|
769
|
+
o.http_request_uri = "/"
|
770
|
+
o.input = Shapes::ShapeRef.new(shape: DeletePreparedStatementInput)
|
771
|
+
o.output = Shapes::ShapeRef.new(shape: DeletePreparedStatementOutput)
|
772
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
773
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
774
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
775
|
+
end)
|
776
|
+
|
667
777
|
api.add_operation(:delete_work_group, Seahorse::Model::Operation.new.tap do |o|
|
668
778
|
o.name = "DeleteWorkGroup"
|
669
779
|
o.http_method = "POST"
|
@@ -705,6 +815,17 @@ module Aws::Athena
|
|
705
815
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
706
816
|
end)
|
707
817
|
|
818
|
+
api.add_operation(:get_prepared_statement, Seahorse::Model::Operation.new.tap do |o|
|
819
|
+
o.name = "GetPreparedStatement"
|
820
|
+
o.http_method = "POST"
|
821
|
+
o.http_request_uri = "/"
|
822
|
+
o.input = Shapes::ShapeRef.new(shape: GetPreparedStatementInput)
|
823
|
+
o.output = Shapes::ShapeRef.new(shape: GetPreparedStatementOutput)
|
824
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
825
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
826
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
827
|
+
end)
|
828
|
+
|
708
829
|
api.add_operation(:get_query_execution, Seahorse::Model::Operation.new.tap do |o|
|
709
830
|
o.name = "GetQueryExecution"
|
710
831
|
o.http_method = "POST"
|
@@ -785,6 +906,16 @@ module Aws::Athena
|
|
785
906
|
)
|
786
907
|
end)
|
787
908
|
|
909
|
+
api.add_operation(:list_engine_versions, Seahorse::Model::Operation.new.tap do |o|
|
910
|
+
o.name = "ListEngineVersions"
|
911
|
+
o.http_method = "POST"
|
912
|
+
o.http_request_uri = "/"
|
913
|
+
o.input = Shapes::ShapeRef.new(shape: ListEngineVersionsInput)
|
914
|
+
o.output = Shapes::ShapeRef.new(shape: ListEngineVersionsOutput)
|
915
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
916
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
917
|
+
end)
|
918
|
+
|
788
919
|
api.add_operation(:list_named_queries, Seahorse::Model::Operation.new.tap do |o|
|
789
920
|
o.name = "ListNamedQueries"
|
790
921
|
o.http_method = "POST"
|
@@ -801,6 +932,22 @@ module Aws::Athena
|
|
801
932
|
)
|
802
933
|
end)
|
803
934
|
|
935
|
+
api.add_operation(:list_prepared_statements, Seahorse::Model::Operation.new.tap do |o|
|
936
|
+
o.name = "ListPreparedStatements"
|
937
|
+
o.http_method = "POST"
|
938
|
+
o.http_request_uri = "/"
|
939
|
+
o.input = Shapes::ShapeRef.new(shape: ListPreparedStatementsInput)
|
940
|
+
o.output = Shapes::ShapeRef.new(shape: ListPreparedStatementsOutput)
|
941
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
942
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
943
|
+
o[:pager] = Aws::Pager.new(
|
944
|
+
limit_key: "max_results",
|
945
|
+
tokens: {
|
946
|
+
"next_token" => "next_token"
|
947
|
+
}
|
948
|
+
)
|
949
|
+
end)
|
950
|
+
|
804
951
|
api.add_operation(:list_query_executions, Seahorse::Model::Operation.new.tap do |o|
|
805
952
|
o.name = "ListQueryExecutions"
|
806
953
|
o.http_method = "POST"
|
@@ -920,6 +1067,17 @@ module Aws::Athena
|
|
920
1067
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
921
1068
|
end)
|
922
1069
|
|
1070
|
+
api.add_operation(:update_prepared_statement, Seahorse::Model::Operation.new.tap do |o|
|
1071
|
+
o.name = "UpdatePreparedStatement"
|
1072
|
+
o.http_method = "POST"
|
1073
|
+
o.http_request_uri = "/"
|
1074
|
+
o.input = Shapes::ShapeRef.new(shape: UpdatePreparedStatementInput)
|
1075
|
+
o.output = Shapes::ShapeRef.new(shape: UpdatePreparedStatementOutput)
|
1076
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1077
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1078
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1079
|
+
end)
|
1080
|
+
|
923
1081
|
api.add_operation(:update_work_group, Seahorse::Model::Operation.new.tap do |o|
|
924
1082
|
o.name = "UpdateWorkGroup"
|
925
1083
|
o.http_method = "POST"
|