aws-sdk-glue 1.182.0 → 1.183.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: 8b3536ac533b46dfecd61c7d6c689097904633a742cf6401217c78f4b4119f0e
4
- data.tar.gz: 59b10849eab52a147bf8768372192736e4f0424dbf2fcb48efa113051450cbd0
3
+ metadata.gz: 858177a796321ecae8c788aa82c9e5f559598a2ba0c2a826f68252b29009d716
4
+ data.tar.gz: ddf6a5f021c899d3148c8e81ceaee6cd4bb05f76f2ba3e9ec90a7ca5182fe3b7
5
5
  SHA512:
6
- metadata.gz: 824cf7c2e974017b9867283fc0b1ec1f0f4a4cc5fc0184bdf5f3e3bbcfa707749b82921432b2cdd3a2be233ba3e4ecad507e3508f679045675e6ab3a9c39a792
7
- data.tar.gz: 8a351806cd7760f66f1cc5213d4033ef062972d65fc104754ffb33e9677d395d8aa3058506bc58a705299e68c97145600c5aebe8c624a19970438ad02ea2483a
6
+ metadata.gz: bc9593e01f38b7c8d771e8c59eec7b5f23f9fce66813186b21e79206b2406fb3d570449d70d80b78040a2a71f00bc5ef56e460ddad8b6fec7d7b577bcbe535ab
7
+ data.tar.gz: cc691cd04edd544a261c7f681a699a0c1c3a53392592240fe81d437698c13061191505e2128fb1eab1d81ddba22de556065a104dfe0e4ce2ab09524b8c87a4b8
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.183.0 (2024-06-28)
5
+ ------------------
6
+
7
+ * Feature - Added AttributesToGet parameter to Glue GetDatabases, allowing caller to limit output to include only the database name.
8
+
4
9
  1.182.0 (2024-06-25)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.182.0
1
+ 1.183.0
@@ -7267,6 +7267,11 @@ module Aws::Glue
7267
7267
  # * If set to `ALL`, will list the databases shared with your account,
7268
7268
  # as well as the databases in yor local account.
7269
7269
  #
7270
+ # @option params [Array<String>] :attributes_to_get
7271
+ # Specifies the database fields returned by the `GetDatabases` call.
7272
+ # This parameter doesn’t accept an empty list. The request must include
7273
+ # the `NAME`.
7274
+ #
7270
7275
  # @return [Types::GetDatabasesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7271
7276
  #
7272
7277
  # * {Types::GetDatabasesResponse#database_list #database_list} => Array&lt;Types::Database&gt;
@@ -7281,6 +7286,7 @@ module Aws::Glue
7281
7286
  # next_token: "Token",
7282
7287
  # max_results: 1,
7283
7288
  # resource_share_type: "FOREIGN", # accepts FOREIGN, ALL, FEDERATED
7289
+ # attributes_to_get: ["NAME"], # accepts NAME
7284
7290
  # })
7285
7291
  #
7286
7292
  # @example Response structure
@@ -17553,7 +17559,7 @@ module Aws::Glue
17553
17559
  params: params,
17554
17560
  config: config)
17555
17561
  context[:gem_name] = 'aws-sdk-glue'
17556
- context[:gem_version] = '1.182.0'
17562
+ context[:gem_version] = '1.183.0'
17557
17563
  Seahorse::Client::Request.new(handlers, context)
17558
17564
  end
17559
17565
 
@@ -361,6 +361,8 @@ module Aws::Glue
361
361
  DataSource = Shapes::StructureShape.new(name: 'DataSource')
362
362
  DataSourceMap = Shapes::MapShape.new(name: 'DataSourceMap')
363
363
  Database = Shapes::StructureShape.new(name: 'Database')
364
+ DatabaseAttributes = Shapes::StringShape.new(name: 'DatabaseAttributes')
365
+ DatabaseAttributesList = Shapes::ListShape.new(name: 'DatabaseAttributesList')
364
366
  DatabaseIdentifier = Shapes::StructureShape.new(name: 'DatabaseIdentifier')
365
367
  DatabaseInput = Shapes::StructureShape.new(name: 'DatabaseInput')
366
368
  DatabaseList = Shapes::ListShape.new(name: 'DatabaseList')
@@ -2667,6 +2669,8 @@ module Aws::Glue
2667
2669
  Database.add_member(:federated_database, Shapes::ShapeRef.new(shape: FederatedDatabase, location_name: "FederatedDatabase"))
2668
2670
  Database.struct_class = Types::Database
2669
2671
 
2672
+ DatabaseAttributesList.member = Shapes::ShapeRef.new(shape: DatabaseAttributes)
2673
+
2670
2674
  DatabaseIdentifier.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
2671
2675
  DatabaseIdentifier.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, location_name: "DatabaseName"))
2672
2676
  DatabaseIdentifier.add_member(:region, Shapes::ShapeRef.new(shape: NameString, location_name: "Region"))
@@ -3360,6 +3364,7 @@ module Aws::Glue
3360
3364
  GetDatabasesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
3361
3365
  GetDatabasesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: CatalogGetterPageSize, location_name: "MaxResults"))
3362
3366
  GetDatabasesRequest.add_member(:resource_share_type, Shapes::ShapeRef.new(shape: ResourceShareType, location_name: "ResourceShareType"))
3367
+ GetDatabasesRequest.add_member(:attributes_to_get, Shapes::ShapeRef.new(shape: DatabaseAttributesList, location_name: "AttributesToGet"))
3363
3368
  GetDatabasesRequest.struct_class = Types::GetDatabasesRequest
3364
3369
 
3365
3370
  GetDatabasesResponse.add_member(:database_list, Shapes::ShapeRef.new(shape: DatabaseList, required: true, location_name: "DatabaseList"))
@@ -10237,13 +10237,20 @@ module Aws::Glue
10237
10237
  # as well as the databases in yor local account.
10238
10238
  # @return [String]
10239
10239
  #
10240
+ # @!attribute [rw] attributes_to_get
10241
+ # Specifies the database fields returned by the `GetDatabases` call.
10242
+ # This parameter doesn’t accept an empty list. The request must
10243
+ # include the `NAME`.
10244
+ # @return [Array<String>]
10245
+ #
10240
10246
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDatabasesRequest AWS API Documentation
10241
10247
  #
10242
10248
  class GetDatabasesRequest < Struct.new(
10243
10249
  :catalog_id,
10244
10250
  :next_token,
10245
10251
  :max_results,
10246
- :resource_share_type)
10252
+ :resource_share_type,
10253
+ :attributes_to_get)
10247
10254
  SENSITIVE = []
10248
10255
  include Aws::Structure
10249
10256
  end
data/lib/aws-sdk-glue.rb CHANGED
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-glue/customizations'
52
52
  # @!group service
53
53
  module Aws::Glue
54
54
 
55
- GEM_VERSION = '1.182.0'
55
+ GEM_VERSION = '1.183.0'
56
56
 
57
57
  end
data/sig/client.rbs CHANGED
@@ -3075,7 +3075,8 @@ module Aws
3075
3075
  ?catalog_id: ::String,
3076
3076
  ?next_token: ::String,
3077
3077
  ?max_results: ::Integer,
3078
- ?resource_share_type: ("FOREIGN" | "ALL" | "FEDERATED")
3078
+ ?resource_share_type: ("FOREIGN" | "ALL" | "FEDERATED"),
3079
+ ?attributes_to_get: Array[("NAME")]
3079
3080
  ) -> _GetDatabasesResponseSuccess
3080
3081
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDatabasesResponseSuccess
3081
3082
 
data/sig/types.rbs CHANGED
@@ -2536,6 +2536,7 @@ module Aws::Glue
2536
2536
  attr_accessor next_token: ::String
2537
2537
  attr_accessor max_results: ::Integer
2538
2538
  attr_accessor resource_share_type: ("FOREIGN" | "ALL" | "FEDERATED")
2539
+ attr_accessor attributes_to_get: ::Array[("NAME")]
2539
2540
  SENSITIVE: []
2540
2541
  end
2541
2542
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-glue
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.182.0
4
+ version: 1.183.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-06-25 00:00:00.000000000 Z
11
+ date: 2024-06-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core