aws-sdk-athena 1.134.0 → 1.136.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: 35d5eabdb55d03958b3213fbafd3f949b8898bd3b227e3ef6fc788a341bdab74
4
- data.tar.gz: 33d4ff8f80eba5c2ec8ad413dcb0f5d5858715a032050fc49adaf087e5724482
3
+ metadata.gz: 77d56f50343373cfb60e737da33b2c7565a6560441b9062fc5223d99636c1e68
4
+ data.tar.gz: 8f560b93768616af30f67d7ac3c31edde9ed9c635f799805df38ec8c29457905
5
5
  SHA512:
6
- metadata.gz: 9c4a7db6603ec66a8ca694b093591483beed25a01f5fedc13431e5f003cb05f3e2b8316ec5316a380aa4b013b97de9662801eb042ef00e7d1cda99104cba63c5
7
- data.tar.gz: 32bbeae7b6f6d339c0b13aae7123651326054f230927a15478546e6860761ceef1f892ef5c177f3f2a835b5e4d4b284fbe906086544767a34b52a7a504f72d72
6
+ metadata.gz: 45228f716cb7681baac561096157619e49d1236b4ad67ff6645035db8157d5cc02e2f85ec2315f933607babb08fd92d4baec19c4ffa2b9fafc48b94a661807da
7
+ data.tar.gz: c371adc1e31d01115e52b290eb9d1cd9677e86a6742ce3b5a60f40f66c0fcfde9863e67cb87d612e7c1e1e016e55a71aeeeeff9268bee4623a0ae897207237fd
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.136.0 (2026-11-16)
5
+ ------------------
6
+
7
+ * Feature - Adds an optional AttributesToGet parameter to ListDatabases and ListTableMetadata to return only requested database or table names (and table types) from the AWS Glue Data Catalog, reducing response time for large catalogs.
8
+
9
+ 1.135.0 (2026-11-11)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.134.0 (2026-11-10)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.134.0
1
+ 1.136.0
@@ -2720,6 +2720,20 @@ module Aws::Athena
2720
2720
  # Required if requesting an IAM Identity Center enabled Glue Data
2721
2721
  # Catalog.
2722
2722
  #
2723
+ # @option params [Array<String>] :attributes_to_get
2724
+ # Specifies the database properties returned by the `ListDatabases`
2725
+ # call. The only valid value is `NAME`, which returns only the name of
2726
+ # each database and omits the remaining properties. If you omit this
2727
+ # parameter or specify an empty list, all database properties are
2728
+ # returned.
2729
+ #
2730
+ # Requesting only names can reduce response time for catalogs that
2731
+ # contain many databases, especially resource links to databases shared
2732
+ # from other accounts.
2733
+ #
2734
+ # This parameter applies only to the Glue Data Catalog. For other data
2735
+ # catalog types, it is ignored.
2736
+ #
2723
2737
  # @return [Types::ListDatabasesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2724
2738
  #
2725
2739
  # * {Types::ListDatabasesOutput#database_list #database_list} => Array&lt;Types::Database&gt;
@@ -2734,6 +2748,7 @@ module Aws::Athena
2734
2748
  # next_token: "Token",
2735
2749
  # max_results: 1,
2736
2750
  # work_group: "WorkGroupName",
2751
+ # attributes_to_get: ["NAME"], # accepts NAME
2737
2752
  # })
2738
2753
  #
2739
2754
  # @example Response structure
@@ -3260,6 +3275,21 @@ module Aws::Athena
3260
3275
  # Required if requesting an IAM Identity Center enabled Glue Data
3261
3276
  # Catalog.
3262
3277
  #
3278
+ # @option params [Array<String>] :attributes_to_get
3279
+ # Specifies the table properties returned by the `ListTableMetadata`
3280
+ # call. This parameter doesn't accept an empty list, and the request
3281
+ # must include `NAME`. The valid combinations of values are `NAME`,
3282
+ # which returns the name of each table, and `NAME` and `TABLE_TYPE`,
3283
+ # which return the name and table type of each table. The remaining
3284
+ # properties are omitted. If you omit this parameter, all table
3285
+ # properties are returned.
3286
+ #
3287
+ # Requesting only the properties you need can reduce response time for
3288
+ # databases that contain many tables.
3289
+ #
3290
+ # This parameter applies only to the Glue Data Catalog. For other data
3291
+ # catalog types, it is ignored.
3292
+ #
3263
3293
  # @return [Types::ListTableMetadataOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3264
3294
  #
3265
3295
  # * {Types::ListTableMetadataOutput#table_metadata_list #table_metadata_list} => Array&lt;Types::TableMetadata&gt;
@@ -3276,6 +3306,7 @@ module Aws::Athena
3276
3306
  # next_token: "Token",
3277
3307
  # max_results: 1,
3278
3308
  # work_group: "WorkGroupName",
3309
+ # attributes_to_get: ["NAME"], # accepts NAME, TABLE_TYPE
3279
3310
  # })
3280
3311
  #
3281
3312
  # @example Response structure
@@ -4365,7 +4396,7 @@ module Aws::Athena
4365
4396
  tracer: tracer
4366
4397
  )
4367
4398
  context[:gem_name] = 'aws-sdk-athena'
4368
- context[:gem_version] = '1.134.0'
4399
+ context[:gem_version] = '1.136.0'
4369
4400
  Seahorse::Client::Request.new(handlers, context)
4370
4401
  end
4371
4402
 
@@ -90,6 +90,8 @@ module Aws::Athena
90
90
  DataCatalogSummaryList = Shapes::ListShape.new(name: 'DataCatalogSummaryList')
91
91
  DataCatalogType = Shapes::StringShape.new(name: 'DataCatalogType')
92
92
  Database = Shapes::StructureShape.new(name: 'Database')
93
+ DatabaseAttributes = Shapes::StringShape.new(name: 'DatabaseAttributes')
94
+ DatabaseAttributesList = Shapes::ListShape.new(name: 'DatabaseAttributesList')
93
95
  DatabaseList = Shapes::ListShape.new(name: 'DatabaseList')
94
96
  DatabaseString = Shapes::StringShape.new(name: 'DatabaseString')
95
97
  Date = Shapes::TimestampShape.new(name: 'Date')
@@ -334,6 +336,8 @@ module Aws::Athena
334
336
  SystemTableStatus = Shapes::StructureShape.new(name: 'SystemTableStatus')
335
337
  SystemTableStatusList = Shapes::ListShape.new(name: 'SystemTableStatusList')
336
338
  SystemTableType = Shapes::StringShape.new(name: 'SystemTableType')
339
+ TableAttributes = Shapes::StringShape.new(name: 'TableAttributes')
340
+ TableAttributesList = Shapes::ListShape.new(name: 'TableAttributesList')
337
341
  TableMetadata = Shapes::StructureShape.new(name: 'TableMetadata')
338
342
  TableMetadataList = Shapes::ListShape.new(name: 'TableMetadataList')
339
343
  TableTypeString = Shapes::StringShape.new(name: 'TableTypeString')
@@ -613,6 +617,8 @@ module Aws::Athena
613
617
  Database.add_member(:parameters, Shapes::ShapeRef.new(shape: ParametersMap, location_name: "Parameters"))
614
618
  Database.struct_class = Types::Database
615
619
 
620
+ DatabaseAttributesList.member = Shapes::ShapeRef.new(shape: DatabaseAttributes)
621
+
616
622
  DatabaseList.member = Shapes::ShapeRef.new(shape: Database)
617
623
 
618
624
  Datum.add_member(:var_char_value, Shapes::ShapeRef.new(shape: datumString, location_name: "VarCharValue"))
@@ -912,6 +918,7 @@ module Aws::Athena
912
918
  ListDatabasesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
913
919
  ListDatabasesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxDatabasesCount, location_name: "MaxResults"))
914
920
  ListDatabasesInput.add_member(:work_group, Shapes::ShapeRef.new(shape: WorkGroupName, location_name: "WorkGroup"))
921
+ ListDatabasesInput.add_member(:attributes_to_get, Shapes::ShapeRef.new(shape: DatabaseAttributesList, location_name: "AttributesToGet"))
915
922
  ListDatabasesInput.struct_class = Types::ListDatabasesInput
916
923
 
917
924
  ListDatabasesOutput.add_member(:database_list, Shapes::ShapeRef.new(shape: DatabaseList, location_name: "DatabaseList"))
@@ -1007,6 +1014,7 @@ module Aws::Athena
1007
1014
  ListTableMetadataInput.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
1008
1015
  ListTableMetadataInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxTableMetadataCount, location_name: "MaxResults"))
1009
1016
  ListTableMetadataInput.add_member(:work_group, Shapes::ShapeRef.new(shape: WorkGroupName, location_name: "WorkGroup"))
1017
+ ListTableMetadataInput.add_member(:attributes_to_get, Shapes::ShapeRef.new(shape: TableAttributesList, location_name: "AttributesToGet"))
1010
1018
  ListTableMetadataInput.struct_class = Types::ListTableMetadataInput
1011
1019
 
1012
1020
  ListTableMetadataOutput.add_member(:table_metadata_list, Shapes::ShapeRef.new(shape: TableMetadataList, location_name: "TableMetadataList"))
@@ -1339,6 +1347,8 @@ module Aws::Athena
1339
1347
 
1340
1348
  SystemTableStatusList.member = Shapes::ShapeRef.new(shape: SystemTableStatus)
1341
1349
 
1350
+ TableAttributesList.member = Shapes::ShapeRef.new(shape: TableAttributes)
1351
+
1342
1352
  TableMetadata.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Name"))
1343
1353
  TableMetadata.add_member(:create_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreateTime"))
1344
1354
  TableMetadata.add_member(:last_access_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastAccessTime"))
@@ -2702,13 +2702,29 @@ module Aws::Athena
2702
2702
  # Catalog.
2703
2703
  # @return [String]
2704
2704
  #
2705
+ # @!attribute [rw] attributes_to_get
2706
+ # Specifies the database properties returned by the `ListDatabases`
2707
+ # call. The only valid value is `NAME`, which returns only the name of
2708
+ # each database and omits the remaining properties. If you omit this
2709
+ # parameter or specify an empty list, all database properties are
2710
+ # returned.
2711
+ #
2712
+ # Requesting only names can reduce response time for catalogs that
2713
+ # contain many databases, especially resource links to databases
2714
+ # shared from other accounts.
2715
+ #
2716
+ # This parameter applies only to the Glue Data Catalog. For other data
2717
+ # catalog types, it is ignored.
2718
+ # @return [Array<String>]
2719
+ #
2705
2720
  # @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/ListDatabasesInput AWS API Documentation
2706
2721
  #
2707
2722
  class ListDatabasesInput < Struct.new(
2708
2723
  :catalog_name,
2709
2724
  :next_token,
2710
2725
  :max_results,
2711
- :work_group)
2726
+ :work_group,
2727
+ :attributes_to_get)
2712
2728
  SENSITIVE = []
2713
2729
  include Aws::Structure
2714
2730
  end
@@ -3213,6 +3229,22 @@ module Aws::Athena
3213
3229
  # Catalog.
3214
3230
  # @return [String]
3215
3231
  #
3232
+ # @!attribute [rw] attributes_to_get
3233
+ # Specifies the table properties returned by the `ListTableMetadata`
3234
+ # call. This parameter doesn't accept an empty list, and the request
3235
+ # must include `NAME`. The valid combinations of values are `NAME`,
3236
+ # which returns the name of each table, and `NAME` and `TABLE_TYPE`,
3237
+ # which return the name and table type of each table. The remaining
3238
+ # properties are omitted. If you omit this parameter, all table
3239
+ # properties are returned.
3240
+ #
3241
+ # Requesting only the properties you need can reduce response time for
3242
+ # databases that contain many tables.
3243
+ #
3244
+ # This parameter applies only to the Glue Data Catalog. For other data
3245
+ # catalog types, it is ignored.
3246
+ # @return [Array<String>]
3247
+ #
3216
3248
  # @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/ListTableMetadataInput AWS API Documentation
3217
3249
  #
3218
3250
  class ListTableMetadataInput < Struct.new(
@@ -3221,7 +3253,8 @@ module Aws::Athena
3221
3253
  :expression,
3222
3254
  :next_token,
3223
3255
  :max_results,
3224
- :work_group)
3256
+ :work_group,
3257
+ :attributes_to_get)
3225
3258
  SENSITIVE = []
3226
3259
  include Aws::Structure
3227
3260
  end
@@ -5706,8 +5739,6 @@ module Aws::Athena
5706
5739
  #
5707
5740
  # @!attribute [rw] engine_version
5708
5741
  # The engine version that all queries running on the workgroup use.
5709
- # Queries on the `AmazonAthenaPreviewFunctionality` workgroup run on
5710
- # the preview engine regardless of this setting.
5711
5742
  # @return [Types::EngineVersion]
5712
5743
  #
5713
5744
  # @!attribute [rw] additional_configuration
@@ -5862,8 +5893,6 @@ module Aws::Athena
5862
5893
  # The engine version requested when a workgroup is updated. After the
5863
5894
  # update, all queries on the workgroup run on the requested engine
5864
5895
  # version. If no value was previously set, the default is Auto.
5865
- # Queries on the `AmazonAthenaPreviewFunctionality` workgroup run on
5866
- # the preview engine regardless of this setting.
5867
5896
  # @return [Types::EngineVersion]
5868
5897
  #
5869
5898
  # @!attribute [rw] remove_customer_content_encryption_configuration
@@ -5971,9 +6000,7 @@ module Aws::Athena
5971
6000
  # @return [Time]
5972
6001
  #
5973
6002
  # @!attribute [rw] engine_version
5974
- # The engine version setting for all queries on the workgroup. Queries
5975
- # on the `AmazonAthenaPreviewFunctionality` workgroup run on the
5976
- # preview engine regardless of this setting.
6003
+ # The engine version setting for all queries on the workgroup.
5977
6004
  # @return [Types::EngineVersion]
5978
6005
  #
5979
6006
  # @!attribute [rw] identity_center_application_arn
@@ -54,7 +54,7 @@ module Aws::Athena
54
54
  autoload :EndpointProvider, 'aws-sdk-athena/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-athena/endpoints'
56
56
 
57
- GEM_VERSION = '1.134.0'
57
+ GEM_VERSION = '1.136.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -674,7 +674,8 @@ module Aws
674
674
  catalog_name: ::String,
675
675
  ?next_token: ::String,
676
676
  ?max_results: ::Integer,
677
- ?work_group: ::String
677
+ ?work_group: ::String,
678
+ ?attributes_to_get: Array[("NAME")]
678
679
  ) -> _ListDatabasesResponseSuccess
679
680
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDatabasesResponseSuccess
680
681
 
@@ -811,7 +812,8 @@ module Aws
811
812
  ?expression: ::String,
812
813
  ?next_token: ::String,
813
814
  ?max_results: ::Integer,
814
- ?work_group: ::String
815
+ ?work_group: ::String,
816
+ ?attributes_to_get: Array[("NAME" | "TABLE_TYPE")]
815
817
  ) -> _ListTableMetadataResponseSuccess
816
818
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTableMetadataResponseSuccess
817
819
 
data/sig/types.rbs CHANGED
@@ -737,6 +737,7 @@ module Aws::Athena
737
737
  attr_accessor next_token: ::String
738
738
  attr_accessor max_results: ::Integer
739
739
  attr_accessor work_group: ::String
740
+ attr_accessor attributes_to_get: ::Array[("NAME")]
740
741
  SENSITIVE: []
741
742
  end
742
743
 
@@ -872,6 +873,7 @@ module Aws::Athena
872
873
  attr_accessor next_token: ::String
873
874
  attr_accessor max_results: ::Integer
874
875
  attr_accessor work_group: ::String
876
+ attr_accessor attributes_to_get: ::Array[("NAME" | "TABLE_TYPE")]
875
877
  SENSITIVE: []
876
878
  end
877
879
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-athena
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.134.0
4
+ version: 1.136.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
@@ -18,7 +18,7 @@ dependencies:
18
18
  version: '3'
19
19
  - - ">="
20
20
  - !ruby/object:Gem::Version
21
- version: 3.267.0
21
+ version: 3.269.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -28,7 +28,7 @@ dependencies:
28
28
  version: '3'
29
29
  - - ">="
30
30
  - !ruby/object:Gem::Version
31
- version: 3.267.0
31
+ version: 3.269.0
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: aws-sigv4
34
34
  requirement: !ruby/object:Gem::Requirement