aws-sdk-lakeformation 1.50.0 → 1.51.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: '049af05f68bdc2fb73f6be41cab5e3b031447145d517bc77daad47ff0ae3a902'
4
- data.tar.gz: f40a510e0fe74028a22896f3c96df8b6509947c08e292fa04a75ba64c3de6857
3
+ metadata.gz: bb619be18a753dd65c153c59907a6f9c0560050e2d1c17ff906d5c4926de40a4
4
+ data.tar.gz: 7eab70bca81d9db120e01071fbd81e4b3be1e40aa60443a5e5e357ca0ac971be
5
5
  SHA512:
6
- metadata.gz: 6d02d0cf69b939e91dbd0f807172edca4a09b9f953b63976f87f19636db307fe0bacdb1ff767294ccf1719e545785d183d5cbb627c12c1adf8b30ff8381f6b93
7
- data.tar.gz: 8253a77c664496f50ed14fe0876e24cff24822c9802e5b6001cf84b6a074e39f4a855052c5be147a526377f734202ed51a8813ef22096ea23de7dcd1d75a9637
6
+ metadata.gz: ded0b397b579a7164c280b88ec3c77272955e2e4ed07021ed37a15a40d8b311a1f192ae4488ba092f8900d5402a70beb4eafd47d4ed2c77663986f4c25466ce4
7
+ data.tar.gz: 7b591c3a3edfa3b1e67debc2e5026370390aede8b8906e1da52164e6047bcd6a9d37680c0f693325569c84a6344fc5e7d01f10c4d6710e2eeb8928769a6d2c55
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.51.0 (2024-05-17)
5
+ ------------------
6
+
7
+ * Feature - Introduces a new API, GetDataLakePrincipal, that returns the identity of the invoking principal
8
+
4
9
  1.50.0 (2024-05-13)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.50.0
1
+ 1.51.0
@@ -1545,6 +1545,25 @@ module Aws::LakeFormation
1545
1545
  req.send_request(options)
1546
1546
  end
1547
1547
 
1548
+ # Returns the identity of the invoking principal.
1549
+ #
1550
+ # @return [Types::GetDataLakePrincipalResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1551
+ #
1552
+ # * {Types::GetDataLakePrincipalResponse#identity #identity} => String
1553
+ #
1554
+ # @example Response structure
1555
+ #
1556
+ # resp.identity #=> String
1557
+ #
1558
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/GetDataLakePrincipal AWS API Documentation
1559
+ #
1560
+ # @overload get_data_lake_principal(params = {})
1561
+ # @param [Hash] params ({})
1562
+ def get_data_lake_principal(params = {}, options = {})
1563
+ req = build_request(:get_data_lake_principal, params)
1564
+ req.send_request(options)
1565
+ end
1566
+
1548
1567
  # Retrieves the list of the data lake administrators of a Lake
1549
1568
  # Formation-managed data lake.
1550
1569
  #
@@ -3776,7 +3795,7 @@ module Aws::LakeFormation
3776
3795
  params: params,
3777
3796
  config: config)
3778
3797
  context[:gem_name] = 'aws-sdk-lakeformation'
3779
- context[:gem_version] = '1.50.0'
3798
+ context[:gem_version] = '1.51.0'
3780
3799
  Seahorse::Client::Request.new(handlers, context)
3781
3800
  end
3782
3801
 
@@ -110,6 +110,8 @@ module Aws::LakeFormation
110
110
  FilterConditionList = Shapes::ListShape.new(name: 'FilterConditionList')
111
111
  GetDataCellsFilterRequest = Shapes::StructureShape.new(name: 'GetDataCellsFilterRequest')
112
112
  GetDataCellsFilterResponse = Shapes::StructureShape.new(name: 'GetDataCellsFilterResponse')
113
+ GetDataLakePrincipalRequest = Shapes::StructureShape.new(name: 'GetDataLakePrincipalRequest')
114
+ GetDataLakePrincipalResponse = Shapes::StructureShape.new(name: 'GetDataLakePrincipalResponse')
113
115
  GetDataLakeSettingsRequest = Shapes::StructureShape.new(name: 'GetDataLakeSettingsRequest')
114
116
  GetDataLakeSettingsResponse = Shapes::StructureShape.new(name: 'GetDataLakeSettingsResponse')
115
117
  GetEffectivePermissionsForPathRequest = Shapes::StructureShape.new(name: 'GetEffectivePermissionsForPathRequest')
@@ -145,6 +147,7 @@ module Aws::LakeFormation
145
147
  IAMSAMLProviderArn = Shapes::StringShape.new(name: 'IAMSAMLProviderArn')
146
148
  Identifier = Shapes::StringShape.new(name: 'Identifier')
147
149
  IdentityCenterInstanceArn = Shapes::StringShape.new(name: 'IdentityCenterInstanceArn')
150
+ IdentityString = Shapes::StringShape.new(name: 'IdentityString')
148
151
  Integer = Shapes::IntegerShape.new(name: 'Integer')
149
152
  InternalServiceException = Shapes::StructureShape.new(name: 'InternalServiceException')
150
153
  InvalidInputException = Shapes::StructureShape.new(name: 'InvalidInputException')
@@ -591,6 +594,11 @@ module Aws::LakeFormation
591
594
  GetDataCellsFilterResponse.add_member(:data_cells_filter, Shapes::ShapeRef.new(shape: DataCellsFilter, location_name: "DataCellsFilter"))
592
595
  GetDataCellsFilterResponse.struct_class = Types::GetDataCellsFilterResponse
593
596
 
597
+ GetDataLakePrincipalRequest.struct_class = Types::GetDataLakePrincipalRequest
598
+
599
+ GetDataLakePrincipalResponse.add_member(:identity, Shapes::ShapeRef.new(shape: IdentityString, location_name: "Identity"))
600
+ GetDataLakePrincipalResponse.struct_class = Types::GetDataLakePrincipalResponse
601
+
594
602
  GetDataLakeSettingsRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
595
603
  GetDataLakeSettingsRequest.struct_class = Types::GetDataLakeSettingsRequest
596
604
 
@@ -1155,6 +1163,7 @@ module Aws::LakeFormation
1155
1163
  "endpointPrefix" => "lakeformation",
1156
1164
  "jsonVersion" => "1.1",
1157
1165
  "protocol" => "rest-json",
1166
+ "protocols" => ["rest-json"],
1158
1167
  "serviceFullName" => "AWS Lake Formation",
1159
1168
  "serviceId" => "LakeFormation",
1160
1169
  "signatureVersion" => "v4",
@@ -1442,6 +1451,17 @@ module Aws::LakeFormation
1442
1451
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1443
1452
  end)
1444
1453
 
1454
+ api.add_operation(:get_data_lake_principal, Seahorse::Model::Operation.new.tap do |o|
1455
+ o.name = "GetDataLakePrincipal"
1456
+ o.http_method = "POST"
1457
+ o.http_request_uri = "/GetDataLakePrincipal"
1458
+ o.input = Shapes::ShapeRef.new(shape: GetDataLakePrincipalRequest)
1459
+ o.output = Shapes::ShapeRef.new(shape: GetDataLakePrincipalResponse)
1460
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1461
+ o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
1462
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1463
+ end)
1464
+
1445
1465
  api.add_operation(:get_data_lake_settings, Seahorse::Model::Operation.new.tap do |o|
1446
1466
  o.name = "GetDataLakeSettings"
1447
1467
  o.http_method = "POST"
@@ -306,6 +306,20 @@ module Aws::LakeFormation
306
306
  end
307
307
  end
308
308
 
309
+ class GetDataLakePrincipal
310
+ def self.build(context)
311
+ unless context.config.regional_endpoint
312
+ endpoint = context.config.endpoint.to_s
313
+ end
314
+ Aws::LakeFormation::EndpointParameters.new(
315
+ region: context.config.region,
316
+ use_dual_stack: context.config.use_dualstack_endpoint,
317
+ use_fips: context.config.use_fips_endpoint,
318
+ endpoint: endpoint,
319
+ )
320
+ end
321
+ end
322
+
309
323
  class GetDataLakeSettings
310
324
  def self.build(context)
311
325
  unless context.config.regional_endpoint
@@ -100,6 +100,8 @@ module Aws::LakeFormation
100
100
  Aws::LakeFormation::Endpoints::ExtendTransaction.build(context)
101
101
  when :get_data_cells_filter
102
102
  Aws::LakeFormation::Endpoints::GetDataCellsFilter.build(context)
103
+ when :get_data_lake_principal
104
+ Aws::LakeFormation::Endpoints::GetDataLakePrincipal.build(context)
103
105
  when :get_data_lake_settings
104
106
  Aws::LakeFormation::Endpoints::GetDataLakeSettings.build(context)
105
107
  when :get_effective_permissions_for_path
@@ -1300,6 +1300,24 @@ module Aws::LakeFormation
1300
1300
  include Aws::Structure
1301
1301
  end
1302
1302
 
1303
+ # @api private
1304
+ #
1305
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/GetDataLakePrincipalRequest AWS API Documentation
1306
+ #
1307
+ class GetDataLakePrincipalRequest < Aws::EmptyStructure; end
1308
+
1309
+ # @!attribute [rw] identity
1310
+ # A unique identifier of the invoking principal.
1311
+ # @return [String]
1312
+ #
1313
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/GetDataLakePrincipalResponse AWS API Documentation
1314
+ #
1315
+ class GetDataLakePrincipalResponse < Struct.new(
1316
+ :identity)
1317
+ SENSITIVE = []
1318
+ include Aws::Structure
1319
+ end
1320
+
1303
1321
  # @!attribute [rw] catalog_id
1304
1322
  # The identifier for the Data Catalog. By default, the account ID. The
1305
1323
  # Data Catalog is the persistent metadata store. It contains database
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-lakeformation/customizations'
52
52
  # @!group service
53
53
  module Aws::LakeFormation
54
54
 
55
- GEM_VERSION = '1.50.0'
55
+ GEM_VERSION = '1.51.0'
56
56
 
57
57
  end
data/sig/client.rbs CHANGED
@@ -601,6 +601,15 @@ module Aws
601
601
  ) -> _GetDataCellsFilterResponseSuccess
602
602
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDataCellsFilterResponseSuccess
603
603
 
604
+ interface _GetDataLakePrincipalResponseSuccess
605
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetDataLakePrincipalResponse]
606
+ def identity: () -> ::String
607
+ end
608
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LakeFormation/Client.html#get_data_lake_principal-instance_method
609
+ def get_data_lake_principal: (
610
+ ) -> _GetDataLakePrincipalResponseSuccess
611
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDataLakePrincipalResponseSuccess
612
+
604
613
  interface _GetDataLakeSettingsResponseSuccess
605
614
  include ::Seahorse::Client::_ResponseSuccess[Types::GetDataLakeSettingsResponse]
606
615
  def data_lake_settings: () -> Types::DataLakeSettings
data/sig/types.rbs CHANGED
@@ -388,6 +388,14 @@ module Aws::LakeFormation
388
388
  SENSITIVE: []
389
389
  end
390
390
 
391
+ class GetDataLakePrincipalRequest < Aws::EmptyStructure
392
+ end
393
+
394
+ class GetDataLakePrincipalResponse
395
+ attr_accessor identity: ::String
396
+ SENSITIVE: []
397
+ end
398
+
391
399
  class GetDataLakeSettingsRequest
392
400
  attr_accessor catalog_id: ::String
393
401
  SENSITIVE: []
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-lakeformation
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.50.0
4
+ version: 1.51.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-05-13 00:00:00.000000000 Z
11
+ date: 2024-05-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core