aws-sdk-athena 1.77.0 → 1.79.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 105c27ad590eb9c70b169f39ddd2e59837ba02bae15f128b8131a52c40538efb
4
- data.tar.gz: 27864bbb51799130c402183bdd40f930f38deb65110546c333110560145c7fe6
3
+ metadata.gz: 9990a60a482515dff7d6459a27252e06b4aa470f40f47807eb70f608527aac0b
4
+ data.tar.gz: fb79d73ac3d0c083d4882f60ff90dea9ebd606aec00988493d6f036c2f26d211
5
5
  SHA512:
6
- metadata.gz: e70c117dfad095a1b17fd97032d2ee3382c417d57031df784532d1e71579e90f1a2736d473c45c3eebc948d53331ff3ffe78247ba9a445ea0cf733c5451d1c40
7
- data.tar.gz: ede6dd977d378d945cbb61cfedd3f9da68a94d0679ee298f8899542d04bb67dee4a46592432732d2596899ffad935d8f5d00454495e795bb5be9772ad2ba2e7d
6
+ metadata.gz: bfec7f3b7762e1af334d483220deb3890370aafd9fee94461acdf085c807f29a6f6e842263ab34ef652286de9df4c5f642529cf7c448f8dd5f7482847637beca
7
+ data.tar.gz: e35d73ea8bacbd637c0242860f2883a4fb863db8d4ac4ef921407c007bf0d806dfec046a62657d2bae82dcf1c31d9ec44ef40576f9e74896071b9c84ded77f4c
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.79.0 (2023-12-05)
5
+ ------------------
6
+
7
+ * Feature - Adding IdentityCenter enabled request for interactive query
8
+
9
+ 1.78.0 (2023-11-28)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.77.0 (2023-11-22)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.77.0
1
+ 1.79.0
@@ -553,6 +553,9 @@ module Aws::Athena
553
553
  # resp.query_executions[0].execution_parameters #=> Array
554
554
  # resp.query_executions[0].execution_parameters[0] #=> String
555
555
  # resp.query_executions[0].substatement_type #=> String
556
+ # resp.query_executions[0].query_results_s3_access_grants_configuration.enable_s3_access_grants #=> Boolean
557
+ # resp.query_executions[0].query_results_s3_access_grants_configuration.create_user_level_prefix #=> Boolean
558
+ # resp.query_executions[0].query_results_s3_access_grants_configuration.authentication_type #=> String, one of "DIRECTORY_IDENTITY"
556
559
  # resp.unprocessed_query_execution_ids #=> Array
557
560
  # resp.unprocessed_query_execution_ids[0].query_execution_id #=> String
558
561
  # resp.unprocessed_query_execution_ids[0].error_code #=> String
@@ -959,6 +962,15 @@ module Aws::Athena
959
962
  # kms_key: "KmsKey", # required
960
963
  # },
961
964
  # enable_minimum_encryption_configuration: false,
965
+ # identity_center_configuration: {
966
+ # enable_identity_center: false,
967
+ # identity_center_instance_arn: "IdentityCenterInstanceArn",
968
+ # },
969
+ # query_results_s3_access_grants_configuration: {
970
+ # enable_s3_access_grants: false, # required
971
+ # create_user_level_prefix: false,
972
+ # authentication_type: "DIRECTORY_IDENTITY", # required, accepts DIRECTORY_IDENTITY
973
+ # },
962
974
  # },
963
975
  # description: "WorkGroupDescriptionString",
964
976
  # tags: [
@@ -1350,6 +1362,10 @@ module Aws::Athena
1350
1362
  # @option params [required, String] :name
1351
1363
  # The name of the data catalog to return.
1352
1364
  #
1365
+ # @option params [String] :work_group
1366
+ # The name of the workgroup. Required if making an IAM Identity Center
1367
+ # request.
1368
+ #
1353
1369
  # @return [Types::GetDataCatalogOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1354
1370
  #
1355
1371
  # * {Types::GetDataCatalogOutput#data_catalog #data_catalog} => Types::DataCatalog
@@ -1358,6 +1374,7 @@ module Aws::Athena
1358
1374
  #
1359
1375
  # resp = client.get_data_catalog({
1360
1376
  # name: "CatalogNameString", # required
1377
+ # work_group: "WorkGroupName",
1361
1378
  # })
1362
1379
  #
1363
1380
  # @example Response structure
@@ -1385,6 +1402,11 @@ module Aws::Athena
1385
1402
  # @option params [required, String] :database_name
1386
1403
  # The name of the database to return.
1387
1404
  #
1405
+ # @option params [String] :work_group
1406
+ # The name of the workgroup for which the metadata is being fetched.
1407
+ # Required if requesting an IAM Identity Center enabled Glue Data
1408
+ # Catalog.
1409
+ #
1388
1410
  # @return [Types::GetDatabaseOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1389
1411
  #
1390
1412
  # * {Types::GetDatabaseOutput#database #database} => Types::Database
@@ -1394,6 +1416,7 @@ module Aws::Athena
1394
1416
  # resp = client.get_database({
1395
1417
  # catalog_name: "CatalogNameString", # required
1396
1418
  # database_name: "NameString", # required
1419
+ # work_group: "WorkGroupName",
1397
1420
  # })
1398
1421
  #
1399
1422
  # @example Response structure
@@ -1571,6 +1594,9 @@ module Aws::Athena
1571
1594
  # resp.query_execution.execution_parameters #=> Array
1572
1595
  # resp.query_execution.execution_parameters[0] #=> String
1573
1596
  # resp.query_execution.substatement_type #=> String
1597
+ # resp.query_execution.query_results_s3_access_grants_configuration.enable_s3_access_grants #=> Boolean
1598
+ # resp.query_execution.query_results_s3_access_grants_configuration.create_user_level_prefix #=> Boolean
1599
+ # resp.query_execution.query_results_s3_access_grants_configuration.authentication_type #=> String, one of "DIRECTORY_IDENTITY"
1574
1600
  #
1575
1601
  # @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/GetQueryExecution AWS API Documentation
1576
1602
  #
@@ -1823,6 +1849,11 @@ module Aws::Athena
1823
1849
  # @option params [required, String] :table_name
1824
1850
  # The name of the table for which metadata is returned.
1825
1851
  #
1852
+ # @option params [String] :work_group
1853
+ # The name of the workgroup for which the metadata is being fetched.
1854
+ # Required if requesting an IAM Identity Center enabled Glue Data
1855
+ # Catalog.
1856
+ #
1826
1857
  # @return [Types::GetTableMetadataOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1827
1858
  #
1828
1859
  # * {Types::GetTableMetadataOutput#table_metadata #table_metadata} => Types::TableMetadata
@@ -1833,6 +1864,7 @@ module Aws::Athena
1833
1864
  # catalog_name: "CatalogNameString", # required
1834
1865
  # database_name: "NameString", # required
1835
1866
  # table_name: "NameString", # required
1867
+ # work_group: "WorkGroupName",
1836
1868
  # })
1837
1869
  #
1838
1870
  # @example Response structure
@@ -1895,8 +1927,14 @@ module Aws::Athena
1895
1927
  # resp.work_group.configuration.execution_role #=> String
1896
1928
  # resp.work_group.configuration.customer_content_encryption_configuration.kms_key #=> String
1897
1929
  # resp.work_group.configuration.enable_minimum_encryption_configuration #=> Boolean
1930
+ # resp.work_group.configuration.identity_center_configuration.enable_identity_center #=> Boolean
1931
+ # resp.work_group.configuration.identity_center_configuration.identity_center_instance_arn #=> String
1932
+ # resp.work_group.configuration.query_results_s3_access_grants_configuration.enable_s3_access_grants #=> Boolean
1933
+ # resp.work_group.configuration.query_results_s3_access_grants_configuration.create_user_level_prefix #=> Boolean
1934
+ # resp.work_group.configuration.query_results_s3_access_grants_configuration.authentication_type #=> String, one of "DIRECTORY_IDENTITY"
1898
1935
  # resp.work_group.description #=> String
1899
1936
  # resp.work_group.creation_time #=> Time
1937
+ # resp.work_group.identity_center_application_arn #=> String
1900
1938
  #
1901
1939
  # @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/GetWorkGroup AWS API Documentation
1902
1940
  #
@@ -2139,6 +2177,10 @@ module Aws::Athena
2139
2177
  # @option params [Integer] :max_results
2140
2178
  # Specifies the maximum number of data catalogs to return.
2141
2179
  #
2180
+ # @option params [String] :work_group
2181
+ # The name of the workgroup. Required if making an IAM Identity Center
2182
+ # request.
2183
+ #
2142
2184
  # @return [Types::ListDataCatalogsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2143
2185
  #
2144
2186
  # * {Types::ListDataCatalogsOutput#data_catalogs_summary #data_catalogs_summary} => Array<Types::DataCatalogSummary>
@@ -2151,6 +2193,7 @@ module Aws::Athena
2151
2193
  # resp = client.list_data_catalogs({
2152
2194
  # next_token: "Token",
2153
2195
  # max_results: 1,
2196
+ # work_group: "WorkGroupName",
2154
2197
  # })
2155
2198
  #
2156
2199
  # @example Response structure
@@ -2183,6 +2226,11 @@ module Aws::Athena
2183
2226
  # @option params [Integer] :max_results
2184
2227
  # Specifies the maximum number of results to return.
2185
2228
  #
2229
+ # @option params [String] :work_group
2230
+ # The name of the workgroup for which the metadata is being fetched.
2231
+ # Required if requesting an IAM Identity Center enabled Glue Data
2232
+ # Catalog.
2233
+ #
2186
2234
  # @return [Types::ListDatabasesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2187
2235
  #
2188
2236
  # * {Types::ListDatabasesOutput#database_list #database_list} => Array<Types::Database>
@@ -2196,6 +2244,7 @@ module Aws::Athena
2196
2244
  # catalog_name: "CatalogNameString", # required
2197
2245
  # next_token: "Token",
2198
2246
  # max_results: 1,
2247
+ # work_group: "WorkGroupName",
2199
2248
  # })
2200
2249
  #
2201
2250
  # @example Response structure
@@ -2675,6 +2724,11 @@ module Aws::Athena
2675
2724
  # @option params [Integer] :max_results
2676
2725
  # Specifies the maximum number of results to return.
2677
2726
  #
2727
+ # @option params [String] :work_group
2728
+ # The name of the workgroup for which the metadata is being fetched.
2729
+ # Required if requesting an IAM Identity Center enabled Glue Data
2730
+ # Catalog.
2731
+ #
2678
2732
  # @return [Types::ListTableMetadataOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2679
2733
  #
2680
2734
  # * {Types::ListTableMetadataOutput#table_metadata_list #table_metadata_list} => Array<Types::TableMetadata>
@@ -2690,6 +2744,7 @@ module Aws::Athena
2690
2744
  # expression: "ExpressionString",
2691
2745
  # next_token: "Token",
2692
2746
  # max_results: 1,
2747
+ # work_group: "WorkGroupName",
2693
2748
  # })
2694
2749
  #
2695
2750
  # @example Response structure
@@ -2799,6 +2854,7 @@ module Aws::Athena
2799
2854
  # resp.work_groups[0].creation_time #=> Time
2800
2855
  # resp.work_groups[0].engine_version.selected_engine_version #=> String
2801
2856
  # resp.work_groups[0].engine_version.effective_engine_version #=> String
2857
+ # resp.work_groups[0].identity_center_application_arn #=> String
2802
2858
  # resp.next_token #=> String
2803
2859
  #
2804
2860
  # @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/ListWorkGroups AWS API Documentation
@@ -2930,8 +2986,11 @@ module Aws::Athena
2930
2986
  # A unique case-sensitive string used to ensure the request to create
2931
2987
  # the query is idempotent (executes only once). If another
2932
2988
  # `StartQueryExecution` request is received, the same response is
2933
- # returned and another query is not created. If a parameter has changed,
2934
- # for example, the `QueryString`, an error is returned.
2989
+ # returned and another query is not created. An error is returned if a
2990
+ # parameter, such as `QueryString`, has changed. A call to
2991
+ # `StartQueryExecution` that uses a previous client request token
2992
+ # returns the same `QueryExecutionId` even if the requester doesn't
2993
+ # have permission on the tables specified in `QueryString`.
2935
2994
  #
2936
2995
  # This token is listed as not required because Amazon Web Services SDKs
2937
2996
  # (for example the Amazon Web Services SDK for Java) auto-generate the
@@ -3560,6 +3619,11 @@ module Aws::Athena
3560
3619
  # kms_key: "KmsKey", # required
3561
3620
  # },
3562
3621
  # enable_minimum_encryption_configuration: false,
3622
+ # query_results_s3_access_grants_configuration: {
3623
+ # enable_s3_access_grants: false, # required
3624
+ # create_user_level_prefix: false,
3625
+ # authentication_type: "DIRECTORY_IDENTITY", # required, accepts DIRECTORY_IDENTITY
3626
+ # },
3563
3627
  # },
3564
3628
  # state: "ENABLED", # accepts ENABLED, DISABLED
3565
3629
  # })
@@ -3586,7 +3650,7 @@ module Aws::Athena
3586
3650
  params: params,
3587
3651
  config: config)
3588
3652
  context[:gem_name] = 'aws-sdk-athena'
3589
- context[:gem_version] = '1.77.0'
3653
+ context[:gem_version] = '1.79.0'
3590
3654
  Seahorse::Client::Request.new(handlers, context)
3591
3655
  end
3592
3656
 
@@ -21,6 +21,7 @@ module Aws::Athena
21
21
  ApplicationDPUSizesList = Shapes::ListShape.new(name: 'ApplicationDPUSizesList')
22
22
  AthenaError = Shapes::StructureShape.new(name: 'AthenaError')
23
23
  AuthToken = Shapes::StringShape.new(name: 'AuthToken')
24
+ AuthenticationType = Shapes::StringShape.new(name: 'AuthenticationType')
24
25
  AwsAccountId = Shapes::StringShape.new(name: 'AwsAccountId')
25
26
  BatchGetNamedQueryInput = Shapes::StructureShape.new(name: 'BatchGetNamedQueryInput')
26
27
  BatchGetNamedQueryOutput = Shapes::StructureShape.new(name: 'BatchGetNamedQueryOutput')
@@ -154,6 +155,9 @@ module Aws::Athena
154
155
  GetWorkGroupInput = Shapes::StructureShape.new(name: 'GetWorkGroupInput')
155
156
  GetWorkGroupOutput = Shapes::StructureShape.new(name: 'GetWorkGroupOutput')
156
157
  IdempotencyToken = Shapes::StringShape.new(name: 'IdempotencyToken')
158
+ IdentityCenterApplicationArn = Shapes::StringShape.new(name: 'IdentityCenterApplicationArn')
159
+ IdentityCenterConfiguration = Shapes::StructureShape.new(name: 'IdentityCenterConfiguration')
160
+ IdentityCenterInstanceArn = Shapes::StringShape.new(name: 'IdentityCenterInstanceArn')
157
161
  ImportNotebookInput = Shapes::StructureShape.new(name: 'ImportNotebookInput')
158
162
  ImportNotebookOutput = Shapes::StructureShape.new(name: 'ImportNotebookOutput')
159
163
  Integer = Shapes::IntegerShape.new(name: 'Integer')
@@ -243,6 +247,7 @@ module Aws::Athena
243
247
  QueryExecutionState = Shapes::StringShape.new(name: 'QueryExecutionState')
244
248
  QueryExecutionStatistics = Shapes::StructureShape.new(name: 'QueryExecutionStatistics')
245
249
  QueryExecutionStatus = Shapes::StructureShape.new(name: 'QueryExecutionStatus')
250
+ QueryResultsS3AccessGrantsConfiguration = Shapes::StructureShape.new(name: 'QueryResultsS3AccessGrantsConfiguration')
246
251
  QueryRuntimeStatistics = Shapes::StructureShape.new(name: 'QueryRuntimeStatistics')
247
252
  QueryRuntimeStatisticsRows = Shapes::StructureShape.new(name: 'QueryRuntimeStatisticsRows')
248
253
  QueryRuntimeStatisticsTimeline = Shapes::StructureShape.new(name: 'QueryRuntimeStatisticsTimeline')
@@ -650,6 +655,7 @@ module Aws::Athena
650
655
  GetCapacityReservationOutput.struct_class = Types::GetCapacityReservationOutput
651
656
 
652
657
  GetDataCatalogInput.add_member(:name, Shapes::ShapeRef.new(shape: CatalogNameString, required: true, location_name: "Name"))
658
+ GetDataCatalogInput.add_member(:work_group, Shapes::ShapeRef.new(shape: WorkGroupName, location_name: "WorkGroup"))
653
659
  GetDataCatalogInput.struct_class = Types::GetDataCatalogInput
654
660
 
655
661
  GetDataCatalogOutput.add_member(:data_catalog, Shapes::ShapeRef.new(shape: DataCatalog, location_name: "DataCatalog"))
@@ -657,6 +663,7 @@ module Aws::Athena
657
663
 
658
664
  GetDatabaseInput.add_member(:catalog_name, Shapes::ShapeRef.new(shape: CatalogNameString, required: true, location_name: "CatalogName"))
659
665
  GetDatabaseInput.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "DatabaseName"))
666
+ GetDatabaseInput.add_member(:work_group, Shapes::ShapeRef.new(shape: WorkGroupName, location_name: "WorkGroup"))
660
667
  GetDatabaseInput.struct_class = Types::GetDatabaseInput
661
668
 
662
669
  GetDatabaseOutput.add_member(:database, Shapes::ShapeRef.new(shape: Database, location_name: "Database"))
@@ -727,6 +734,7 @@ module Aws::Athena
727
734
  GetTableMetadataInput.add_member(:catalog_name, Shapes::ShapeRef.new(shape: CatalogNameString, required: true, location_name: "CatalogName"))
728
735
  GetTableMetadataInput.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "DatabaseName"))
729
736
  GetTableMetadataInput.add_member(:table_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "TableName"))
737
+ GetTableMetadataInput.add_member(:work_group, Shapes::ShapeRef.new(shape: WorkGroupName, location_name: "WorkGroup"))
730
738
  GetTableMetadataInput.struct_class = Types::GetTableMetadataInput
731
739
 
732
740
  GetTableMetadataOutput.add_member(:table_metadata, Shapes::ShapeRef.new(shape: TableMetadata, location_name: "TableMetadata"))
@@ -738,6 +746,10 @@ module Aws::Athena
738
746
  GetWorkGroupOutput.add_member(:work_group, Shapes::ShapeRef.new(shape: WorkGroup, location_name: "WorkGroup"))
739
747
  GetWorkGroupOutput.struct_class = Types::GetWorkGroupOutput
740
748
 
749
+ IdentityCenterConfiguration.add_member(:enable_identity_center, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "EnableIdentityCenter"))
750
+ IdentityCenterConfiguration.add_member(:identity_center_instance_arn, Shapes::ShapeRef.new(shape: IdentityCenterInstanceArn, location_name: "IdentityCenterInstanceArn"))
751
+ IdentityCenterConfiguration.struct_class = Types::IdentityCenterConfiguration
752
+
741
753
  ImportNotebookInput.add_member(:work_group, Shapes::ShapeRef.new(shape: WorkGroupName, required: true, location_name: "WorkGroup"))
742
754
  ImportNotebookInput.add_member(:name, Shapes::ShapeRef.new(shape: NotebookName, required: true, location_name: "Name"))
743
755
  ImportNotebookInput.add_member(:payload, Shapes::ShapeRef.new(shape: Payload, required: true, location_name: "Payload"))
@@ -783,6 +795,7 @@ module Aws::Athena
783
795
 
784
796
  ListDataCatalogsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
785
797
  ListDataCatalogsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxDataCatalogsCount, location_name: "MaxResults"))
798
+ ListDataCatalogsInput.add_member(:work_group, Shapes::ShapeRef.new(shape: WorkGroupName, location_name: "WorkGroup"))
786
799
  ListDataCatalogsInput.struct_class = Types::ListDataCatalogsInput
787
800
 
788
801
  ListDataCatalogsOutput.add_member(:data_catalogs_summary, Shapes::ShapeRef.new(shape: DataCatalogSummaryList, location_name: "DataCatalogsSummary"))
@@ -792,6 +805,7 @@ module Aws::Athena
792
805
  ListDatabasesInput.add_member(:catalog_name, Shapes::ShapeRef.new(shape: CatalogNameString, required: true, location_name: "CatalogName"))
793
806
  ListDatabasesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
794
807
  ListDatabasesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxDatabasesCount, location_name: "MaxResults"))
808
+ ListDatabasesInput.add_member(:work_group, Shapes::ShapeRef.new(shape: WorkGroupName, location_name: "WorkGroup"))
795
809
  ListDatabasesInput.struct_class = Types::ListDatabasesInput
796
810
 
797
811
  ListDatabasesOutput.add_member(:database_list, Shapes::ShapeRef.new(shape: DatabaseList, location_name: "DatabaseList"))
@@ -878,6 +892,7 @@ module Aws::Athena
878
892
  ListTableMetadataInput.add_member(:expression, Shapes::ShapeRef.new(shape: ExpressionString, location_name: "Expression"))
879
893
  ListTableMetadataInput.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
880
894
  ListTableMetadataInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxTableMetadataCount, location_name: "MaxResults"))
895
+ ListTableMetadataInput.add_member(:work_group, Shapes::ShapeRef.new(shape: WorkGroupName, location_name: "WorkGroup"))
881
896
  ListTableMetadataInput.struct_class = Types::ListTableMetadataInput
882
897
 
883
898
  ListTableMetadataOutput.add_member(:table_metadata_list, Shapes::ShapeRef.new(shape: TableMetadataList, location_name: "TableMetadataList"))
@@ -970,6 +985,7 @@ module Aws::Athena
970
985
  QueryExecution.add_member(:engine_version, Shapes::ShapeRef.new(shape: EngineVersion, location_name: "EngineVersion"))
971
986
  QueryExecution.add_member(:execution_parameters, Shapes::ShapeRef.new(shape: ExecutionParameters, location_name: "ExecutionParameters"))
972
987
  QueryExecution.add_member(:substatement_type, Shapes::ShapeRef.new(shape: String, location_name: "SubstatementType"))
988
+ QueryExecution.add_member(:query_results_s3_access_grants_configuration, Shapes::ShapeRef.new(shape: QueryResultsS3AccessGrantsConfiguration, location_name: "QueryResultsS3AccessGrantsConfiguration"))
973
989
  QueryExecution.struct_class = Types::QueryExecution
974
990
 
975
991
  QueryExecutionContext.add_member(:database, Shapes::ShapeRef.new(shape: DatabaseString, location_name: "Database"))
@@ -998,6 +1014,11 @@ module Aws::Athena
998
1014
  QueryExecutionStatus.add_member(:athena_error, Shapes::ShapeRef.new(shape: AthenaError, location_name: "AthenaError"))
999
1015
  QueryExecutionStatus.struct_class = Types::QueryExecutionStatus
1000
1016
 
1017
+ QueryResultsS3AccessGrantsConfiguration.add_member(:enable_s3_access_grants, Shapes::ShapeRef.new(shape: BoxedBoolean, required: true, location_name: "EnableS3AccessGrants"))
1018
+ QueryResultsS3AccessGrantsConfiguration.add_member(:create_user_level_prefix, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "CreateUserLevelPrefix"))
1019
+ QueryResultsS3AccessGrantsConfiguration.add_member(:authentication_type, Shapes::ShapeRef.new(shape: AuthenticationType, required: true, location_name: "AuthenticationType"))
1020
+ QueryResultsS3AccessGrantsConfiguration.struct_class = Types::QueryResultsS3AccessGrantsConfiguration
1021
+
1001
1022
  QueryRuntimeStatistics.add_member(:timeline, Shapes::ShapeRef.new(shape: QueryRuntimeStatisticsTimeline, location_name: "Timeline"))
1002
1023
  QueryRuntimeStatistics.add_member(:rows, Shapes::ShapeRef.new(shape: QueryRuntimeStatisticsRows, location_name: "Rows"))
1003
1024
  QueryRuntimeStatistics.add_member(:output_stage, Shapes::ShapeRef.new(shape: QueryStage, location_name: "OutputStage"))
@@ -1280,6 +1301,7 @@ module Aws::Athena
1280
1301
  WorkGroup.add_member(:configuration, Shapes::ShapeRef.new(shape: WorkGroupConfiguration, location_name: "Configuration"))
1281
1302
  WorkGroup.add_member(:description, Shapes::ShapeRef.new(shape: WorkGroupDescriptionString, location_name: "Description"))
1282
1303
  WorkGroup.add_member(:creation_time, Shapes::ShapeRef.new(shape: Date, location_name: "CreationTime"))
1304
+ WorkGroup.add_member(:identity_center_application_arn, Shapes::ShapeRef.new(shape: IdentityCenterApplicationArn, location_name: "IdentityCenterApplicationArn"))
1283
1305
  WorkGroup.struct_class = Types::WorkGroup
1284
1306
 
1285
1307
  WorkGroupConfiguration.add_member(:result_configuration, Shapes::ShapeRef.new(shape: ResultConfiguration, location_name: "ResultConfiguration"))
@@ -1292,6 +1314,8 @@ module Aws::Athena
1292
1314
  WorkGroupConfiguration.add_member(:execution_role, Shapes::ShapeRef.new(shape: RoleArn, location_name: "ExecutionRole"))
1293
1315
  WorkGroupConfiguration.add_member(:customer_content_encryption_configuration, Shapes::ShapeRef.new(shape: CustomerContentEncryptionConfiguration, location_name: "CustomerContentEncryptionConfiguration"))
1294
1316
  WorkGroupConfiguration.add_member(:enable_minimum_encryption_configuration, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "EnableMinimumEncryptionConfiguration"))
1317
+ WorkGroupConfiguration.add_member(:identity_center_configuration, Shapes::ShapeRef.new(shape: IdentityCenterConfiguration, location_name: "IdentityCenterConfiguration"))
1318
+ WorkGroupConfiguration.add_member(:query_results_s3_access_grants_configuration, Shapes::ShapeRef.new(shape: QueryResultsS3AccessGrantsConfiguration, location_name: "QueryResultsS3AccessGrantsConfiguration"))
1295
1319
  WorkGroupConfiguration.struct_class = Types::WorkGroupConfiguration
1296
1320
 
1297
1321
  WorkGroupConfigurationUpdates.add_member(:enforce_work_group_configuration, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "EnforceWorkGroupConfiguration"))
@@ -1306,6 +1330,7 @@ module Aws::Athena
1306
1330
  WorkGroupConfigurationUpdates.add_member(:execution_role, Shapes::ShapeRef.new(shape: RoleArn, location_name: "ExecutionRole"))
1307
1331
  WorkGroupConfigurationUpdates.add_member(:customer_content_encryption_configuration, Shapes::ShapeRef.new(shape: CustomerContentEncryptionConfiguration, location_name: "CustomerContentEncryptionConfiguration"))
1308
1332
  WorkGroupConfigurationUpdates.add_member(:enable_minimum_encryption_configuration, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "EnableMinimumEncryptionConfiguration"))
1333
+ WorkGroupConfigurationUpdates.add_member(:query_results_s3_access_grants_configuration, Shapes::ShapeRef.new(shape: QueryResultsS3AccessGrantsConfiguration, location_name: "QueryResultsS3AccessGrantsConfiguration"))
1309
1334
  WorkGroupConfigurationUpdates.struct_class = Types::WorkGroupConfigurationUpdates
1310
1335
 
1311
1336
  WorkGroupNamesList.member = Shapes::ShapeRef.new(shape: WorkGroupName)
@@ -1315,6 +1340,7 @@ module Aws::Athena
1315
1340
  WorkGroupSummary.add_member(:description, Shapes::ShapeRef.new(shape: WorkGroupDescriptionString, location_name: "Description"))
1316
1341
  WorkGroupSummary.add_member(:creation_time, Shapes::ShapeRef.new(shape: Date, location_name: "CreationTime"))
1317
1342
  WorkGroupSummary.add_member(:engine_version, Shapes::ShapeRef.new(shape: EngineVersion, location_name: "EngineVersion"))
1343
+ WorkGroupSummary.add_member(:identity_center_application_arn, Shapes::ShapeRef.new(shape: IdentityCenterApplicationArn, location_name: "IdentityCenterApplicationArn"))
1318
1344
  WorkGroupSummary.struct_class = Types::WorkGroupSummary
1319
1345
 
1320
1346
  WorkGroupsList.member = Shapes::ShapeRef.new(shape: WorkGroupSummary)
@@ -25,16 +25,17 @@ module Aws::Athena
25
25
  # @api private
26
26
  class Handler < Seahorse::Client::Handler
27
27
  def call(context)
28
- # If endpoint was discovered, do not resolve or apply the endpoint.
29
28
  unless context[:discovered_endpoint]
30
29
  params = parameters_for_operation(context)
31
30
  endpoint = context.config.endpoint_provider.resolve_endpoint(params)
32
31
 
33
32
  context.http_request.endpoint = endpoint.url
34
33
  apply_endpoint_headers(context, endpoint.headers)
34
+
35
+ context[:endpoint_params] = params
36
+ context[:endpoint_properties] = endpoint.properties
35
37
  end
36
38
 
37
- context[:endpoint_params] = params
38
39
  context[:auth_scheme] =
39
40
  Aws::Endpoints.resolve_auth_scheme(context, endpoint)
40
41
 
@@ -541,7 +541,7 @@ module Aws::Athena
541
541
  # @return [Integer]
542
542
  #
543
543
  # @!attribute [rw] nullable
544
- # Indicates the column's nullable status.
544
+ # Unsupported constraint. This value always shows as `UNKNOWN`.
545
545
  # @return [String]
546
546
  #
547
547
  # @!attribute [rw] case_sensitive
@@ -1516,10 +1516,16 @@ module Aws::Athena
1516
1516
  # The name of the data catalog to return.
1517
1517
  # @return [String]
1518
1518
  #
1519
+ # @!attribute [rw] work_group
1520
+ # The name of the workgroup. Required if making an IAM Identity Center
1521
+ # request.
1522
+ # @return [String]
1523
+ #
1519
1524
  # @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/GetDataCatalogInput AWS API Documentation
1520
1525
  #
1521
1526
  class GetDataCatalogInput < Struct.new(
1522
- :name)
1527
+ :name,
1528
+ :work_group)
1523
1529
  SENSITIVE = []
1524
1530
  include Aws::Structure
1525
1531
  end
@@ -1544,11 +1550,18 @@ module Aws::Athena
1544
1550
  # The name of the database to return.
1545
1551
  # @return [String]
1546
1552
  #
1553
+ # @!attribute [rw] work_group
1554
+ # The name of the workgroup for which the metadata is being fetched.
1555
+ # Required if requesting an IAM Identity Center enabled Glue Data
1556
+ # Catalog.
1557
+ # @return [String]
1558
+ #
1547
1559
  # @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/GetDatabaseInput AWS API Documentation
1548
1560
  #
1549
1561
  class GetDatabaseInput < Struct.new(
1550
1562
  :catalog_name,
1551
- :database_name)
1563
+ :database_name,
1564
+ :work_group)
1552
1565
  SENSITIVE = []
1553
1566
  include Aws::Structure
1554
1567
  end
@@ -1850,12 +1863,19 @@ module Aws::Athena
1850
1863
  # The name of the table for which metadata is returned.
1851
1864
  # @return [String]
1852
1865
  #
1866
+ # @!attribute [rw] work_group
1867
+ # The name of the workgroup for which the metadata is being fetched.
1868
+ # Required if requesting an IAM Identity Center enabled Glue Data
1869
+ # Catalog.
1870
+ # @return [String]
1871
+ #
1853
1872
  # @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/GetTableMetadataInput AWS API Documentation
1854
1873
  #
1855
1874
  class GetTableMetadataInput < Struct.new(
1856
1875
  :catalog_name,
1857
1876
  :database_name,
1858
- :table_name)
1877
+ :table_name,
1878
+ :work_group)
1859
1879
  SENSITIVE = []
1860
1880
  include Aws::Structure
1861
1881
  end
@@ -1896,6 +1916,26 @@ module Aws::Athena
1896
1916
  include Aws::Structure
1897
1917
  end
1898
1918
 
1919
+ # Specifies whether the workgroup is IAM Identity Center supported.
1920
+ #
1921
+ # @!attribute [rw] enable_identity_center
1922
+ # Specifies whether the workgroup is IAM Identity Center supported.
1923
+ # @return [Boolean]
1924
+ #
1925
+ # @!attribute [rw] identity_center_instance_arn
1926
+ # The IAM Identity Center instance ARN that the workgroup associates
1927
+ # to.
1928
+ # @return [String]
1929
+ #
1930
+ # @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/IdentityCenterConfiguration AWS API Documentation
1931
+ #
1932
+ class IdentityCenterConfiguration < Struct.new(
1933
+ :enable_identity_center,
1934
+ :identity_center_instance_arn)
1935
+ SENSITIVE = []
1936
+ include Aws::Structure
1937
+ end
1938
+
1899
1939
  # @!attribute [rw] work_group
1900
1940
  # The name of the Spark enabled workgroup to import the notebook to.
1901
1941
  # @return [String]
@@ -2139,11 +2179,17 @@ module Aws::Athena
2139
2179
  # Specifies the maximum number of data catalogs to return.
2140
2180
  # @return [Integer]
2141
2181
  #
2182
+ # @!attribute [rw] work_group
2183
+ # The name of the workgroup. Required if making an IAM Identity Center
2184
+ # request.
2185
+ # @return [String]
2186
+ #
2142
2187
  # @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/ListDataCatalogsInput AWS API Documentation
2143
2188
  #
2144
2189
  class ListDataCatalogsInput < Struct.new(
2145
2190
  :next_token,
2146
- :max_results)
2191
+ :max_results,
2192
+ :work_group)
2147
2193
  SENSITIVE = []
2148
2194
  include Aws::Structure
2149
2195
  end
@@ -2183,12 +2229,19 @@ module Aws::Athena
2183
2229
  # Specifies the maximum number of results to return.
2184
2230
  # @return [Integer]
2185
2231
  #
2232
+ # @!attribute [rw] work_group
2233
+ # The name of the workgroup for which the metadata is being fetched.
2234
+ # Required if requesting an IAM Identity Center enabled Glue Data
2235
+ # Catalog.
2236
+ # @return [String]
2237
+ #
2186
2238
  # @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/ListDatabasesInput AWS API Documentation
2187
2239
  #
2188
2240
  class ListDatabasesInput < Struct.new(
2189
2241
  :catalog_name,
2190
2242
  :next_token,
2191
- :max_results)
2243
+ :max_results,
2244
+ :work_group)
2192
2245
  SENSITIVE = []
2193
2246
  include Aws::Structure
2194
2247
  end
@@ -2648,6 +2701,12 @@ module Aws::Athena
2648
2701
  # Specifies the maximum number of results to return.
2649
2702
  # @return [Integer]
2650
2703
  #
2704
+ # @!attribute [rw] work_group
2705
+ # The name of the workgroup for which the metadata is being fetched.
2706
+ # Required if requesting an IAM Identity Center enabled Glue Data
2707
+ # Catalog.
2708
+ # @return [String]
2709
+ #
2651
2710
  # @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/ListTableMetadataInput AWS API Documentation
2652
2711
  #
2653
2712
  class ListTableMetadataInput < Struct.new(
@@ -2655,7 +2714,8 @@ module Aws::Athena
2655
2714
  :database_name,
2656
2715
  :expression,
2657
2716
  :next_token,
2658
- :max_results)
2717
+ :max_results,
2718
+ :work_group)
2659
2719
  SENSITIVE = []
2660
2720
  include Aws::Structure
2661
2721
  end
@@ -3022,6 +3082,11 @@ module Aws::Athena
3022
3082
  # The kind of query statement that was run.
3023
3083
  # @return [String]
3024
3084
  #
3085
+ # @!attribute [rw] query_results_s3_access_grants_configuration
3086
+ # Specifies whether Amazon S3 access grants are enabled for query
3087
+ # results.
3088
+ # @return [Types::QueryResultsS3AccessGrantsConfiguration]
3089
+ #
3025
3090
  # @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/QueryExecution AWS API Documentation
3026
3091
  #
3027
3092
  class QueryExecution < Struct.new(
@@ -3036,7 +3101,8 @@ module Aws::Athena
3036
3101
  :work_group,
3037
3102
  :engine_version,
3038
3103
  :execution_parameters,
3039
- :substatement_type)
3104
+ :substatement_type,
3105
+ :query_results_s3_access_grants_configuration)
3040
3106
  SENSITIVE = []
3041
3107
  include Aws::Structure
3042
3108
  end
@@ -3185,6 +3251,34 @@ module Aws::Athena
3185
3251
  include Aws::Structure
3186
3252
  end
3187
3253
 
3254
+ # Specifies whether Amazon S3 access grants are enabled for query
3255
+ # results.
3256
+ #
3257
+ # @!attribute [rw] enable_s3_access_grants
3258
+ # Specifies whether Amazon S3 access grants are enabled for query
3259
+ # results.
3260
+ # @return [Boolean]
3261
+ #
3262
+ # @!attribute [rw] create_user_level_prefix
3263
+ # When enabled, appends the user ID as an Amazon S3 path prefix to the
3264
+ # query result output location.
3265
+ # @return [Boolean]
3266
+ #
3267
+ # @!attribute [rw] authentication_type
3268
+ # The authentication type used for Amazon S3 access grants. Currently,
3269
+ # only `DIRECTORY_IDENTITY` is supported.
3270
+ # @return [String]
3271
+ #
3272
+ # @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/QueryResultsS3AccessGrantsConfiguration AWS API Documentation
3273
+ #
3274
+ class QueryResultsS3AccessGrantsConfiguration < Struct.new(
3275
+ :enable_s3_access_grants,
3276
+ :create_user_level_prefix,
3277
+ :authentication_type)
3278
+ SENSITIVE = []
3279
+ include Aws::Structure
3280
+ end
3281
+
3188
3282
  # The query execution timeline, statistics on input and output rows and
3189
3283
  # bytes, and the different query stages that form the query execution
3190
3284
  # plan.
@@ -3736,8 +3830,10 @@ module Aws::Athena
3736
3830
  # Contains session configuration information.
3737
3831
  #
3738
3832
  # @!attribute [rw] execution_role
3739
- # The ARN of the execution role used in a Spark session to access user
3740
- # resources. This property applies only to Spark-enabled workgroups.
3833
+ # The ARN of the execution role used to access user resources for
3834
+ # Spark sessions and Identity Center enabled workgroups. This property
3835
+ # applies only to Spark enabled workgroups and Identity Center enabled
3836
+ # workgroups.
3741
3837
  # @return [String]
3742
3838
  #
3743
3839
  # @!attribute [rw] working_directory
@@ -3960,8 +4056,11 @@ module Aws::Athena
3960
4056
  # A unique case-sensitive string used to ensure the request to create
3961
4057
  # the query is idempotent (executes only once). If another
3962
4058
  # `StartQueryExecution` request is received, the same response is
3963
- # returned and another query is not created. If a parameter has
3964
- # changed, for example, the `QueryString`, an error is returned.
4059
+ # returned and another query is not created. An error is returned if a
4060
+ # parameter, such as `QueryString`, has changed. A call to
4061
+ # `StartQueryExecution` that uses a previous client request token
4062
+ # returns the same `QueryExecutionId` even if the requester doesn't
4063
+ # have permission on the tables specified in `QueryString`.
3965
4064
  #
3966
4065
  # This token is listed as not required because Amazon Web Services
3967
4066
  # SDKs (for example the Amazon Web Services SDK for Java)
@@ -4748,6 +4847,11 @@ module Aws::Athena
4748
4847
  # The date and time the workgroup was created.
4749
4848
  # @return [Time]
4750
4849
  #
4850
+ # @!attribute [rw] identity_center_application_arn
4851
+ # The ARN of the IAM Identity Center enabled application associated
4852
+ # with the workgroup.
4853
+ # @return [String]
4854
+ #
4751
4855
  # @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/WorkGroup AWS API Documentation
4752
4856
  #
4753
4857
  class WorkGroup < Struct.new(
@@ -4755,7 +4859,8 @@ module Aws::Athena
4755
4859
  :state,
4756
4860
  :configuration,
4757
4861
  :description,
4758
- :creation_time)
4862
+ :creation_time,
4863
+ :identity_center_application_arn)
4759
4864
  SENSITIVE = []
4760
4865
  include Aws::Structure
4761
4866
  end
@@ -4835,8 +4940,10 @@ module Aws::Athena
4835
4940
  # @return [String]
4836
4941
  #
4837
4942
  # @!attribute [rw] execution_role
4838
- # Role used in a Spark session for accessing the user's resources.
4839
- # This property applies only to Spark-enabled workgroups.
4943
+ # The ARN of the execution role used to access user resources for
4944
+ # Spark sessions and Identity Center enabled workgroups. This property
4945
+ # applies only to Spark enabled workgroups and Identity Center enabled
4946
+ # workgroups.
4840
4947
  # @return [String]
4841
4948
  #
4842
4949
  # @!attribute [rw] customer_content_encryption_configuration
@@ -4858,6 +4965,15 @@ module Aws::Athena
4858
4965
  # workgroup configuration for encryption is used.
4859
4966
  # @return [Boolean]
4860
4967
  #
4968
+ # @!attribute [rw] identity_center_configuration
4969
+ # Specifies whether the workgroup is IAM Identity Center supported.
4970
+ # @return [Types::IdentityCenterConfiguration]
4971
+ #
4972
+ # @!attribute [rw] query_results_s3_access_grants_configuration
4973
+ # Specifies whether Amazon S3 access grants are enabled for query
4974
+ # results.
4975
+ # @return [Types::QueryResultsS3AccessGrantsConfiguration]
4976
+ #
4861
4977
  # @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/WorkGroupConfiguration AWS API Documentation
4862
4978
  #
4863
4979
  class WorkGroupConfiguration < Struct.new(
@@ -4870,7 +4986,9 @@ module Aws::Athena
4870
4986
  :additional_configuration,
4871
4987
  :execution_role,
4872
4988
  :customer_content_encryption_configuration,
4873
- :enable_minimum_encryption_configuration)
4989
+ :enable_minimum_encryption_configuration,
4990
+ :identity_center_configuration,
4991
+ :query_results_s3_access_grants_configuration)
4874
4992
  SENSITIVE = []
4875
4993
  include Aws::Structure
4876
4994
  end
@@ -4948,8 +5066,10 @@ module Aws::Athena
4948
5066
  # @return [String]
4949
5067
  #
4950
5068
  # @!attribute [rw] execution_role
4951
- # The ARN of the execution role used to access user resources. This
4952
- # property applies only to Spark-enabled workgroups.
5069
+ # The ARN of the execution role used to access user resources for
5070
+ # Spark sessions and Identity Center enabled workgroups. This property
5071
+ # applies only to Spark enabled workgroups and Identity Center enabled
5072
+ # workgroups.
4953
5073
  # @return [String]
4954
5074
  #
4955
5075
  # @!attribute [rw] customer_content_encryption_configuration
@@ -4973,6 +5093,11 @@ module Aws::Athena
4973
5093
  # workgroup configuration for encryption is used.
4974
5094
  # @return [Boolean]
4975
5095
  #
5096
+ # @!attribute [rw] query_results_s3_access_grants_configuration
5097
+ # Specifies whether Amazon S3 access grants are enabled for query
5098
+ # results.
5099
+ # @return [Types::QueryResultsS3AccessGrantsConfiguration]
5100
+ #
4976
5101
  # @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/WorkGroupConfigurationUpdates AWS API Documentation
4977
5102
  #
4978
5103
  class WorkGroupConfigurationUpdates < Struct.new(
@@ -4987,7 +5112,8 @@ module Aws::Athena
4987
5112
  :additional_configuration,
4988
5113
  :execution_role,
4989
5114
  :customer_content_encryption_configuration,
4990
- :enable_minimum_encryption_configuration)
5115
+ :enable_minimum_encryption_configuration,
5116
+ :query_results_s3_access_grants_configuration)
4991
5117
  SENSITIVE = []
4992
5118
  include Aws::Structure
4993
5119
  end
@@ -5017,6 +5143,11 @@ module Aws::Athena
5017
5143
  # preview engine regardless of this setting.
5018
5144
  # @return [Types::EngineVersion]
5019
5145
  #
5146
+ # @!attribute [rw] identity_center_application_arn
5147
+ # The ARN of the IAM Identity Center enabled application associated
5148
+ # with the workgroup.
5149
+ # @return [String]
5150
+ #
5020
5151
  # @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/WorkGroupSummary AWS API Documentation
5021
5152
  #
5022
5153
  class WorkGroupSummary < Struct.new(
@@ -5024,7 +5155,8 @@ module Aws::Athena
5024
5155
  :state,
5025
5156
  :description,
5026
5157
  :creation_time,
5027
- :engine_version)
5158
+ :engine_version,
5159
+ :identity_center_application_arn)
5028
5160
  SENSITIVE = []
5029
5161
  include Aws::Structure
5030
5162
  end
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-athena/customizations'
52
52
  # @!group service
53
53
  module Aws::Athena
54
54
 
55
- GEM_VERSION = '1.77.0'
55
+ GEM_VERSION = '1.79.0'
56
56
 
57
57
  end
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.77.0
4
+ version: 1.79.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: 2023-11-22 00:00:00.000000000 Z
11
+ date: 2023-12-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core