aws-sdk-lakeformation 1.49.0 → 1.51.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-lakeformation/client.rb +23 -3
- data/lib/aws-sdk-lakeformation/client_api.rb +20 -0
- data/lib/aws-sdk-lakeformation/endpoints.rb +14 -0
- data/lib/aws-sdk-lakeformation/plugins/endpoints.rb +2 -0
- data/lib/aws-sdk-lakeformation/types.rb +18 -0
- data/lib/aws-sdk-lakeformation.rb +1 -1
- data/sig/client.rbs +9 -0
- data/sig/types.rbs +8 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bb619be18a753dd65c153c59907a6f9c0560050e2d1c17ff906d5c4926de40a4
|
4
|
+
data.tar.gz: 7eab70bca81d9db120e01071fbd81e4b3be1e40aa60443a5e5e357ca0ac971be
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ded0b397b579a7164c280b88ec3c77272955e2e4ed07021ed37a15a40d8b311a1f192ae4488ba092f8900d5402a70beb4eafd47d4ed2c77663986f4c25466ce4
|
7
|
+
data.tar.gz: 7b591c3a3edfa3b1e67debc2e5026370390aede8b8906e1da52164e6047bcd6a9d37680c0f693325569c84a6344fc5e7d01f10c4d6710e2eeb8928769a6d2c55
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
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
|
+
|
9
|
+
1.50.0 (2024-05-13)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.49.0 (2024-04-25)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.51.0
|
@@ -301,8 +301,9 @@ module Aws::LakeFormation
|
|
301
301
|
#
|
302
302
|
# @option options [String] :sdk_ua_app_id
|
303
303
|
# A unique and opaque application ID that is appended to the
|
304
|
-
# User-Agent header as app
|
305
|
-
# maximum length of 50.
|
304
|
+
# User-Agent header as app/sdk_ua_app_id. It should have a
|
305
|
+
# maximum length of 50. This variable is sourced from environment
|
306
|
+
# variable AWS_SDK_UA_APP_ID or the shared config profile attribute sdk_ua_app_id.
|
306
307
|
#
|
307
308
|
# @option options [String] :secret_access_key
|
308
309
|
#
|
@@ -1544,6 +1545,25 @@ module Aws::LakeFormation
|
|
1544
1545
|
req.send_request(options)
|
1545
1546
|
end
|
1546
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
|
+
|
1547
1567
|
# Retrieves the list of the data lake administrators of a Lake
|
1548
1568
|
# Formation-managed data lake.
|
1549
1569
|
#
|
@@ -3775,7 +3795,7 @@ module Aws::LakeFormation
|
|
3775
3795
|
params: params,
|
3776
3796
|
config: config)
|
3777
3797
|
context[:gem_name] = 'aws-sdk-lakeformation'
|
3778
|
-
context[:gem_version] = '1.
|
3798
|
+
context[:gem_version] = '1.51.0'
|
3779
3799
|
Seahorse::Client::Request.new(handlers, context)
|
3780
3800
|
end
|
3781
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
|
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.
|
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-
|
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
|