aws-sdk-lakeformation 1.31.0 → 1.33.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 +93 -4
- data/lib/aws-sdk-lakeformation/client_api.rb +47 -0
- data/lib/aws-sdk-lakeformation/endpoint_parameters.rb +0 -3
- data/lib/aws-sdk-lakeformation/endpoint_provider.rb +27 -24
- data/lib/aws-sdk-lakeformation/endpoints.rb +28 -0
- data/lib/aws-sdk-lakeformation/plugins/endpoints.rb +4 -0
- data/lib/aws-sdk-lakeformation/types.rb +63 -2
- data/lib/aws-sdk-lakeformation.rb +1 -1
- 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: d0506d42f1f0555db53063a45ab918abb21642b48bb6dd4a79416765ec388aa0
|
4
|
+
data.tar.gz: 1301a770fc354aaf4ba9bb359301fc7a9270db4bbc8d9df0e91c5023a2b4d3e7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2b1f2536484bb8e9bbb7d6f2c98bf0d80b8592bd49b0c4e20d0cb42e489293557a21a0c0db7fff4ac3a2351932c39cdc2634b73c05bf931f394b47787e67751a
|
7
|
+
data.tar.gz: c7a0cf1748956060a353e44e5f097ee4222c09efec89f4cd663e5d84f1f7206782c1a0409e60c7b025198a05458c9d8ef17e163d0dd3c324fc35d29ddc3d381b
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.33.0 (2023-03-13)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release updates the documentation regarding Get/Update DataCellsFilter
|
8
|
+
|
9
|
+
1.32.0 (2023-03-08)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release adds two new API support "GetDataCellsFiler" and "UpdateDataCellsFilter", and also updates the corresponding documentation.
|
13
|
+
|
4
14
|
1.31.0 (2023-02-08)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.33.0
|
@@ -873,6 +873,7 @@ module Aws::LakeFormation
|
|
873
873
|
# column_wildcard: {
|
874
874
|
# excluded_column_names: ["NameString"],
|
875
875
|
# },
|
876
|
+
# version_id: "VersionString",
|
876
877
|
# },
|
877
878
|
# })
|
878
879
|
#
|
@@ -1158,6 +1159,55 @@ module Aws::LakeFormation
|
|
1158
1159
|
req.send_request(options)
|
1159
1160
|
end
|
1160
1161
|
|
1162
|
+
# Returns a data cells filter.
|
1163
|
+
#
|
1164
|
+
# @option params [required, String] :table_catalog_id
|
1165
|
+
# The ID of the catalog to which the table belongs.
|
1166
|
+
#
|
1167
|
+
# @option params [required, String] :database_name
|
1168
|
+
# A database in the Glue Data Catalog.
|
1169
|
+
#
|
1170
|
+
# @option params [required, String] :table_name
|
1171
|
+
# A table in the database.
|
1172
|
+
#
|
1173
|
+
# @option params [required, String] :name
|
1174
|
+
# The name given by the user to the data filter cell.
|
1175
|
+
#
|
1176
|
+
# @return [Types::GetDataCellsFilterResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1177
|
+
#
|
1178
|
+
# * {Types::GetDataCellsFilterResponse#data_cells_filter #data_cells_filter} => Types::DataCellsFilter
|
1179
|
+
#
|
1180
|
+
# @example Request syntax with placeholder values
|
1181
|
+
#
|
1182
|
+
# resp = client.get_data_cells_filter({
|
1183
|
+
# table_catalog_id: "CatalogIdString", # required
|
1184
|
+
# database_name: "NameString", # required
|
1185
|
+
# table_name: "NameString", # required
|
1186
|
+
# name: "NameString", # required
|
1187
|
+
# })
|
1188
|
+
#
|
1189
|
+
# @example Response structure
|
1190
|
+
#
|
1191
|
+
# resp.data_cells_filter.table_catalog_id #=> String
|
1192
|
+
# resp.data_cells_filter.database_name #=> String
|
1193
|
+
# resp.data_cells_filter.table_name #=> String
|
1194
|
+
# resp.data_cells_filter.name #=> String
|
1195
|
+
# resp.data_cells_filter.row_filter.filter_expression #=> String
|
1196
|
+
# resp.data_cells_filter.column_names #=> Array
|
1197
|
+
# resp.data_cells_filter.column_names[0] #=> String
|
1198
|
+
# resp.data_cells_filter.column_wildcard.excluded_column_names #=> Array
|
1199
|
+
# resp.data_cells_filter.column_wildcard.excluded_column_names[0] #=> String
|
1200
|
+
# resp.data_cells_filter.version_id #=> String
|
1201
|
+
#
|
1202
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/GetDataCellsFilter AWS API Documentation
|
1203
|
+
#
|
1204
|
+
# @overload get_data_cells_filter(params = {})
|
1205
|
+
# @param [Hash] params ({})
|
1206
|
+
def get_data_cells_filter(params = {}, options = {})
|
1207
|
+
req = build_request(:get_data_cells_filter, params)
|
1208
|
+
req.send_request(options)
|
1209
|
+
end
|
1210
|
+
|
1161
1211
|
# Retrieves the list of the data lake administrators of a Lake
|
1162
1212
|
# Formation-managed data lake.
|
1163
1213
|
#
|
@@ -1823,7 +1873,7 @@ module Aws::LakeFormation
|
|
1823
1873
|
#
|
1824
1874
|
#
|
1825
1875
|
#
|
1826
|
-
# [1]: https://docs
|
1876
|
+
# [1]: https://docs.aws.amazon.com/lake-formation/latest/dg/security-data-access.html
|
1827
1877
|
#
|
1828
1878
|
# @option params [String] :catalog_id
|
1829
1879
|
# The identifier for the Data Catalog. By default, the account ID. The
|
@@ -1971,6 +2021,7 @@ module Aws::LakeFormation
|
|
1971
2021
|
# resp.data_cells_filters[0].column_names[0] #=> String
|
1972
2022
|
# resp.data_cells_filters[0].column_wildcard.excluded_column_names #=> Array
|
1973
2023
|
# resp.data_cells_filters[0].column_wildcard.excluded_column_names[0] #=> String
|
2024
|
+
# resp.data_cells_filters[0].version_id #=> String
|
1974
2025
|
# resp.next_token #=> String
|
1975
2026
|
#
|
1976
2027
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/ListDataCellsFilter AWS API Documentation
|
@@ -2459,7 +2510,7 @@ module Aws::LakeFormation
|
|
2459
2510
|
# `ResourceArn = arn:aws:s3:::my-bucket UseServiceLinkedRole = true`
|
2460
2511
|
#
|
2461
2512
|
# If `UseServiceLinkedRole` is not set to true, you must provide or set
|
2462
|
-
# the `RoleArn
|
2513
|
+
# the `RoleArn`:
|
2463
2514
|
#
|
2464
2515
|
# `arn:aws:iam::12345:role/my-data-access-role`
|
2465
2516
|
#
|
@@ -2627,7 +2678,7 @@ module Aws::LakeFormation
|
|
2627
2678
|
#
|
2628
2679
|
#
|
2629
2680
|
#
|
2630
|
-
# [1]: https://docs
|
2681
|
+
# [1]: https://docs.aws.amazon.com/lake-formation/latest/dg/security-data-access.html
|
2631
2682
|
#
|
2632
2683
|
# @option params [Array<String>] :permissions_with_grant_option
|
2633
2684
|
# Indicates a list of permissions for which to revoke the grant option
|
@@ -2923,6 +2974,44 @@ module Aws::LakeFormation
|
|
2923
2974
|
req.send_request(options)
|
2924
2975
|
end
|
2925
2976
|
|
2977
|
+
# Updates a data cell filter.
|
2978
|
+
#
|
2979
|
+
# @option params [required, Types::DataCellsFilter] :table_data
|
2980
|
+
# A `DataCellsFilter` structure containing information about the data
|
2981
|
+
# cells filter.
|
2982
|
+
#
|
2983
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2984
|
+
#
|
2985
|
+
# @example Request syntax with placeholder values
|
2986
|
+
#
|
2987
|
+
# resp = client.update_data_cells_filter({
|
2988
|
+
# table_data: { # required
|
2989
|
+
# table_catalog_id: "CatalogIdString", # required
|
2990
|
+
# database_name: "NameString", # required
|
2991
|
+
# table_name: "NameString", # required
|
2992
|
+
# name: "NameString", # required
|
2993
|
+
# row_filter: {
|
2994
|
+
# filter_expression: "PredicateString",
|
2995
|
+
# all_rows_wildcard: {
|
2996
|
+
# },
|
2997
|
+
# },
|
2998
|
+
# column_names: ["NameString"],
|
2999
|
+
# column_wildcard: {
|
3000
|
+
# excluded_column_names: ["NameString"],
|
3001
|
+
# },
|
3002
|
+
# version_id: "VersionString",
|
3003
|
+
# },
|
3004
|
+
# })
|
3005
|
+
#
|
3006
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/UpdateDataCellsFilter AWS API Documentation
|
3007
|
+
#
|
3008
|
+
# @overload update_data_cells_filter(params = {})
|
3009
|
+
# @param [Hash] params ({})
|
3010
|
+
def update_data_cells_filter(params = {}, options = {})
|
3011
|
+
req = build_request(:update_data_cells_filter, params)
|
3012
|
+
req.send_request(options)
|
3013
|
+
end
|
3014
|
+
|
2926
3015
|
# Updates the list of possible values for the specified LF-tag key. If
|
2927
3016
|
# the LF-tag does not exist, the operation throws an
|
2928
3017
|
# EntityNotFoundException. The values in the delete key values will be
|
@@ -3106,7 +3195,7 @@ module Aws::LakeFormation
|
|
3106
3195
|
params: params,
|
3107
3196
|
config: config)
|
3108
3197
|
context[:gem_name] = 'aws-sdk-lakeformation'
|
3109
|
-
context[:gem_version] = '1.
|
3198
|
+
context[:gem_version] = '1.33.0'
|
3110
3199
|
Seahorse::Client::Request.new(handlers, context)
|
3111
3200
|
end
|
3112
3201
|
|
@@ -91,6 +91,8 @@ module Aws::LakeFormation
|
|
91
91
|
FieldNameString = Shapes::StringShape.new(name: 'FieldNameString')
|
92
92
|
FilterCondition = Shapes::StructureShape.new(name: 'FilterCondition')
|
93
93
|
FilterConditionList = Shapes::ListShape.new(name: 'FilterConditionList')
|
94
|
+
GetDataCellsFilterRequest = Shapes::StructureShape.new(name: 'GetDataCellsFilterRequest')
|
95
|
+
GetDataCellsFilterResponse = Shapes::StructureShape.new(name: 'GetDataCellsFilterResponse')
|
94
96
|
GetDataLakeSettingsRequest = Shapes::StructureShape.new(name: 'GetDataLakeSettingsRequest')
|
95
97
|
GetDataLakeSettingsResponse = Shapes::StructureShape.new(name: 'GetDataLakeSettingsResponse')
|
96
98
|
GetEffectivePermissionsForPathRequest = Shapes::StructureShape.new(name: 'GetEffectivePermissionsForPathRequest')
|
@@ -253,6 +255,8 @@ module Aws::LakeFormation
|
|
253
255
|
TrueFalseString = Shapes::StringShape.new(name: 'TrueFalseString')
|
254
256
|
TrustedResourceOwners = Shapes::ListShape.new(name: 'TrustedResourceOwners')
|
255
257
|
URI = Shapes::StringShape.new(name: 'URI')
|
258
|
+
UpdateDataCellsFilterRequest = Shapes::StructureShape.new(name: 'UpdateDataCellsFilterRequest')
|
259
|
+
UpdateDataCellsFilterResponse = Shapes::StructureShape.new(name: 'UpdateDataCellsFilterResponse')
|
256
260
|
UpdateLFTagRequest = Shapes::StructureShape.new(name: 'UpdateLFTagRequest')
|
257
261
|
UpdateLFTagResponse = Shapes::StructureShape.new(name: 'UpdateLFTagResponse')
|
258
262
|
UpdateResourceRequest = Shapes::StructureShape.new(name: 'UpdateResourceRequest')
|
@@ -263,6 +267,7 @@ module Aws::LakeFormation
|
|
263
267
|
UpdateTableStorageOptimizerResponse = Shapes::StructureShape.new(name: 'UpdateTableStorageOptimizerResponse')
|
264
268
|
ValueString = Shapes::StringShape.new(name: 'ValueString')
|
265
269
|
ValueStringList = Shapes::ListShape.new(name: 'ValueStringList')
|
270
|
+
VersionString = Shapes::StringShape.new(name: 'VersionString')
|
266
271
|
VirtualObject = Shapes::StructureShape.new(name: 'VirtualObject')
|
267
272
|
VirtualObjectList = Shapes::ListShape.new(name: 'VirtualObjectList')
|
268
273
|
WorkUnitIdLong = Shapes::IntegerShape.new(name: 'WorkUnitIdLong')
|
@@ -387,6 +392,7 @@ module Aws::LakeFormation
|
|
387
392
|
DataCellsFilter.add_member(:row_filter, Shapes::ShapeRef.new(shape: RowFilter, location_name: "RowFilter"))
|
388
393
|
DataCellsFilter.add_member(:column_names, Shapes::ShapeRef.new(shape: ColumnNames, location_name: "ColumnNames"))
|
389
394
|
DataCellsFilter.add_member(:column_wildcard, Shapes::ShapeRef.new(shape: ColumnWildcard, location_name: "ColumnWildcard"))
|
395
|
+
DataCellsFilter.add_member(:version_id, Shapes::ShapeRef.new(shape: VersionString, location_name: "VersionId"))
|
390
396
|
DataCellsFilter.struct_class = Types::DataCellsFilter
|
391
397
|
|
392
398
|
DataCellsFilterList.member = Shapes::ShapeRef.new(shape: DataCellsFilter)
|
@@ -499,6 +505,15 @@ module Aws::LakeFormation
|
|
499
505
|
|
500
506
|
FilterConditionList.member = Shapes::ShapeRef.new(shape: FilterCondition)
|
501
507
|
|
508
|
+
GetDataCellsFilterRequest.add_member(:table_catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, required: true, location_name: "TableCatalogId"))
|
509
|
+
GetDataCellsFilterRequest.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "DatabaseName"))
|
510
|
+
GetDataCellsFilterRequest.add_member(:table_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "TableName"))
|
511
|
+
GetDataCellsFilterRequest.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Name"))
|
512
|
+
GetDataCellsFilterRequest.struct_class = Types::GetDataCellsFilterRequest
|
513
|
+
|
514
|
+
GetDataCellsFilterResponse.add_member(:data_cells_filter, Shapes::ShapeRef.new(shape: DataCellsFilter, location_name: "DataCellsFilter"))
|
515
|
+
GetDataCellsFilterResponse.struct_class = Types::GetDataCellsFilterResponse
|
516
|
+
|
502
517
|
GetDataLakeSettingsRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
|
503
518
|
GetDataLakeSettingsRequest.struct_class = Types::GetDataLakeSettingsRequest
|
504
519
|
|
@@ -943,6 +958,11 @@ module Aws::LakeFormation
|
|
943
958
|
|
944
959
|
TrustedResourceOwners.member = Shapes::ShapeRef.new(shape: CatalogIdString)
|
945
960
|
|
961
|
+
UpdateDataCellsFilterRequest.add_member(:table_data, Shapes::ShapeRef.new(shape: DataCellsFilter, required: true, location_name: "TableData"))
|
962
|
+
UpdateDataCellsFilterRequest.struct_class = Types::UpdateDataCellsFilterRequest
|
963
|
+
|
964
|
+
UpdateDataCellsFilterResponse.struct_class = Types::UpdateDataCellsFilterResponse
|
965
|
+
|
946
966
|
UpdateLFTagRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
|
947
967
|
UpdateLFTagRequest.add_member(:tag_key, Shapes::ShapeRef.new(shape: LFTagKey, required: true, location_name: "TagKey"))
|
948
968
|
UpdateLFTagRequest.add_member(:tag_values_to_delete, Shapes::ShapeRef.new(shape: TagValueList, location_name: "TagValuesToDelete"))
|
@@ -1215,6 +1235,19 @@ module Aws::LakeFormation
|
|
1215
1235
|
o.errors << Shapes::ShapeRef.new(shape: TransactionCommitInProgressException)
|
1216
1236
|
end)
|
1217
1237
|
|
1238
|
+
api.add_operation(:get_data_cells_filter, Seahorse::Model::Operation.new.tap do |o|
|
1239
|
+
o.name = "GetDataCellsFilter"
|
1240
|
+
o.http_method = "POST"
|
1241
|
+
o.http_request_uri = "/GetDataCellsFilter"
|
1242
|
+
o.input = Shapes::ShapeRef.new(shape: GetDataCellsFilterRequest)
|
1243
|
+
o.output = Shapes::ShapeRef.new(shape: GetDataCellsFilterResponse)
|
1244
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
|
1245
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1246
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
|
1247
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
1248
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1249
|
+
end)
|
1250
|
+
|
1218
1251
|
api.add_operation(:get_data_lake_settings, Seahorse::Model::Operation.new.tap do |o|
|
1219
1252
|
o.name = "GetDataLakeSettings"
|
1220
1253
|
o.http_method = "POST"
|
@@ -1622,6 +1655,20 @@ module Aws::LakeFormation
|
|
1622
1655
|
o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
|
1623
1656
|
end)
|
1624
1657
|
|
1658
|
+
api.add_operation(:update_data_cells_filter, Seahorse::Model::Operation.new.tap do |o|
|
1659
|
+
o.name = "UpdateDataCellsFilter"
|
1660
|
+
o.http_method = "POST"
|
1661
|
+
o.http_request_uri = "/UpdateDataCellsFilter"
|
1662
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateDataCellsFilterRequest)
|
1663
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateDataCellsFilterResponse)
|
1664
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
1665
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1666
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
|
1667
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
1668
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
|
1669
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1670
|
+
end)
|
1671
|
+
|
1625
1672
|
api.add_operation(:update_lf_tag, Seahorse::Model::Operation.new.tap do |o|
|
1626
1673
|
o.name = "UpdateLFTag"
|
1627
1674
|
o.http_method = "POST"
|
@@ -50,9 +50,6 @@ module Aws::LakeFormation
|
|
50
50
|
|
51
51
|
def initialize(options = {})
|
52
52
|
self[:region] = options[:region]
|
53
|
-
if self[:region].nil?
|
54
|
-
raise ArgumentError, "Missing required EndpointParameter: :region"
|
55
|
-
end
|
56
53
|
self[:use_dual_stack] = options[:use_dual_stack]
|
57
54
|
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
58
55
|
if self[:use_dual_stack].nil?
|
@@ -14,36 +14,39 @@ module Aws::LakeFormation
|
|
14
14
|
use_dual_stack = parameters.use_dual_stack
|
15
15
|
use_fips = parameters.use_fips
|
16
16
|
endpoint = parameters.endpoint
|
17
|
-
if
|
18
|
-
if Aws::Endpoints::Matchers.set?(endpoint)
|
19
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
20
|
-
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
21
|
-
end
|
22
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
23
|
-
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
24
|
-
end
|
25
|
-
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
26
|
-
end
|
27
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
28
|
-
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
29
|
-
return Aws::Endpoints::Endpoint.new(url: "https://lakeformation-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
30
|
-
end
|
31
|
-
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
32
|
-
end
|
17
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
33
18
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
34
|
-
|
35
|
-
return Aws::Endpoints::Endpoint.new(url: "https://lakeformation-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
36
|
-
end
|
37
|
-
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
19
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
38
20
|
end
|
39
21
|
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
40
|
-
|
41
|
-
|
22
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
23
|
+
end
|
24
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
25
|
+
end
|
26
|
+
if Aws::Endpoints::Matchers.set?(region)
|
27
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
29
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
30
|
+
return Aws::Endpoints::Endpoint.new(url: "https://lakeformation-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
31
|
+
end
|
32
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
|
+
end
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
36
|
+
return Aws::Endpoints::Endpoint.new(url: "https://lakeformation-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
37
|
+
end
|
38
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
39
|
+
end
|
40
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
41
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
42
|
+
return Aws::Endpoints::Endpoint.new(url: "https://lakeformation.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
43
|
+
end
|
44
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
42
45
|
end
|
43
|
-
|
46
|
+
return Aws::Endpoints::Endpoint.new(url: "https://lakeformation.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
44
47
|
end
|
45
|
-
return Aws::Endpoints::Endpoint.new(url: "https://lakeformation.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
46
48
|
end
|
49
|
+
raise ArgumentError, "Invalid Configuration: Missing Region"
|
47
50
|
raise ArgumentError, 'No endpoint could be resolved'
|
48
51
|
|
49
52
|
end
|
@@ -221,6 +221,20 @@ module Aws::LakeFormation
|
|
221
221
|
end
|
222
222
|
end
|
223
223
|
|
224
|
+
class GetDataCellsFilter
|
225
|
+
def self.build(context)
|
226
|
+
unless context.config.regional_endpoint
|
227
|
+
endpoint = context.config.endpoint.to_s
|
228
|
+
end
|
229
|
+
Aws::LakeFormation::EndpointParameters.new(
|
230
|
+
region: context.config.region,
|
231
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
232
|
+
use_fips: context.config.use_fips_endpoint,
|
233
|
+
endpoint: endpoint,
|
234
|
+
)
|
235
|
+
end
|
236
|
+
end
|
237
|
+
|
224
238
|
class GetDataLakeSettings
|
225
239
|
def self.build(context)
|
226
240
|
unless context.config.regional_endpoint
|
@@ -585,6 +599,20 @@ module Aws::LakeFormation
|
|
585
599
|
end
|
586
600
|
end
|
587
601
|
|
602
|
+
class UpdateDataCellsFilter
|
603
|
+
def self.build(context)
|
604
|
+
unless context.config.regional_endpoint
|
605
|
+
endpoint = context.config.endpoint.to_s
|
606
|
+
end
|
607
|
+
Aws::LakeFormation::EndpointParameters.new(
|
608
|
+
region: context.config.region,
|
609
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
610
|
+
use_fips: context.config.use_fips_endpoint,
|
611
|
+
endpoint: endpoint,
|
612
|
+
)
|
613
|
+
end
|
614
|
+
end
|
615
|
+
|
588
616
|
class UpdateLFTag
|
589
617
|
def self.build(context)
|
590
618
|
unless context.config.regional_endpoint
|
@@ -86,6 +86,8 @@ module Aws::LakeFormation
|
|
86
86
|
Aws::LakeFormation::Endpoints::DescribeTransaction.build(context)
|
87
87
|
when :extend_transaction
|
88
88
|
Aws::LakeFormation::Endpoints::ExtendTransaction.build(context)
|
89
|
+
when :get_data_cells_filter
|
90
|
+
Aws::LakeFormation::Endpoints::GetDataCellsFilter.build(context)
|
89
91
|
when :get_data_lake_settings
|
90
92
|
Aws::LakeFormation::Endpoints::GetDataLakeSettings.build(context)
|
91
93
|
when :get_effective_permissions_for_path
|
@@ -138,6 +140,8 @@ module Aws::LakeFormation
|
|
138
140
|
Aws::LakeFormation::Endpoints::StartQueryPlanning.build(context)
|
139
141
|
when :start_transaction
|
140
142
|
Aws::LakeFormation::Endpoints::StartTransaction.build(context)
|
143
|
+
when :update_data_cells_filter
|
144
|
+
Aws::LakeFormation::Endpoints::UpdateDataCellsFilter.build(context)
|
141
145
|
when :update_lf_tag
|
142
146
|
Aws::LakeFormation::Endpoints::UpdateLFTag.build(context)
|
143
147
|
when :update_resource
|
@@ -496,6 +496,10 @@ module Aws::LakeFormation
|
|
496
496
|
# `ColumnWildCard`.
|
497
497
|
# @return [Types::ColumnWildcard]
|
498
498
|
#
|
499
|
+
# @!attribute [rw] version_id
|
500
|
+
# The ID of the data cells filter version.
|
501
|
+
# @return [String]
|
502
|
+
#
|
499
503
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/DataCellsFilter AWS API Documentation
|
500
504
|
#
|
501
505
|
class DataCellsFilter < Struct.new(
|
@@ -505,7 +509,8 @@ module Aws::LakeFormation
|
|
505
509
|
:name,
|
506
510
|
:row_filter,
|
507
511
|
:column_names,
|
508
|
-
:column_wildcard
|
512
|
+
:column_wildcard,
|
513
|
+
:version_id)
|
509
514
|
SENSITIVE = []
|
510
515
|
include Aws::Structure
|
511
516
|
end
|
@@ -1032,6 +1037,45 @@ module Aws::LakeFormation
|
|
1032
1037
|
include Aws::Structure
|
1033
1038
|
end
|
1034
1039
|
|
1040
|
+
# @!attribute [rw] table_catalog_id
|
1041
|
+
# The ID of the catalog to which the table belongs.
|
1042
|
+
# @return [String]
|
1043
|
+
#
|
1044
|
+
# @!attribute [rw] database_name
|
1045
|
+
# A database in the Glue Data Catalog.
|
1046
|
+
# @return [String]
|
1047
|
+
#
|
1048
|
+
# @!attribute [rw] table_name
|
1049
|
+
# A table in the database.
|
1050
|
+
# @return [String]
|
1051
|
+
#
|
1052
|
+
# @!attribute [rw] name
|
1053
|
+
# The name given by the user to the data filter cell.
|
1054
|
+
# @return [String]
|
1055
|
+
#
|
1056
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/GetDataCellsFilterRequest AWS API Documentation
|
1057
|
+
#
|
1058
|
+
class GetDataCellsFilterRequest < Struct.new(
|
1059
|
+
:table_catalog_id,
|
1060
|
+
:database_name,
|
1061
|
+
:table_name,
|
1062
|
+
:name)
|
1063
|
+
SENSITIVE = []
|
1064
|
+
include Aws::Structure
|
1065
|
+
end
|
1066
|
+
|
1067
|
+
# @!attribute [rw] data_cells_filter
|
1068
|
+
# A structure that describes certain columns on certain rows.
|
1069
|
+
# @return [Types::DataCellsFilter]
|
1070
|
+
#
|
1071
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/GetDataCellsFilterResponse AWS API Documentation
|
1072
|
+
#
|
1073
|
+
class GetDataCellsFilterResponse < Struct.new(
|
1074
|
+
:data_cells_filter)
|
1075
|
+
SENSITIVE = []
|
1076
|
+
include Aws::Structure
|
1077
|
+
end
|
1078
|
+
|
1035
1079
|
# @!attribute [rw] catalog_id
|
1036
1080
|
# The identifier for the Data Catalog. By default, the account ID. The
|
1037
1081
|
# Data Catalog is the persistent metadata store. It contains database
|
@@ -2547,7 +2591,7 @@ module Aws::LakeFormation
|
|
2547
2591
|
#
|
2548
2592
|
#
|
2549
2593
|
#
|
2550
|
-
# [1]: https://docs
|
2594
|
+
# [1]: https://docs.aws.amazon.com/lake-formation/latest/dg/security-data-access.html
|
2551
2595
|
# @return [Array<String>]
|
2552
2596
|
#
|
2553
2597
|
# @!attribute [rw] permissions_with_grant_option
|
@@ -3063,6 +3107,23 @@ module Aws::LakeFormation
|
|
3063
3107
|
include Aws::Structure
|
3064
3108
|
end
|
3065
3109
|
|
3110
|
+
# @!attribute [rw] table_data
|
3111
|
+
# A `DataCellsFilter` structure containing information about the data
|
3112
|
+
# cells filter.
|
3113
|
+
# @return [Types::DataCellsFilter]
|
3114
|
+
#
|
3115
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/UpdateDataCellsFilterRequest AWS API Documentation
|
3116
|
+
#
|
3117
|
+
class UpdateDataCellsFilterRequest < Struct.new(
|
3118
|
+
:table_data)
|
3119
|
+
SENSITIVE = []
|
3120
|
+
include Aws::Structure
|
3121
|
+
end
|
3122
|
+
|
3123
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/UpdateDataCellsFilterResponse AWS API Documentation
|
3124
|
+
#
|
3125
|
+
class UpdateDataCellsFilterResponse < Aws::EmptyStructure; end
|
3126
|
+
|
3066
3127
|
# @!attribute [rw] catalog_id
|
3067
3128
|
# The identifier for the Data Catalog. By default, the account ID. The
|
3068
3129
|
# Data Catalog is the persistent metadata store. It contains database
|
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.33.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
|
+
date: 2023-03-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|