aws-sdk-lakeformation 1.31.0 → 1.32.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-lakeformation/client.rb +91 -2
- 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 +61 -1
- 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: 45654dbef185bb081f694090115720fafaf68ed209c4fef6c5a7ebef07ef2c2a
|
4
|
+
data.tar.gz: b094503abe317c83e37a9bc88c7db2fa6f32def9f1739465b19cbe3501e18181
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 45f1553af29484cf00ee9ffb24a23e4052b3461990ef1cb1f39d48ab15152ae66438ba93d5c953ba82d7d54559ebd9b30c1ebc9b53583b60e7fe81a6a5509689
|
7
|
+
data.tar.gz: 28b8a8048b921b66165f18b71fb02592633561abb11d78e60613f4b6c467e5735956dfc1bd1e3fc7e266fb5193d4a78d4fc37cd3a383713fa15fafc865f038a4
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.32.0 (2023-03-08)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds two new API support "GetDataCellsFiler" and "UpdateDataCellsFilter", and also updates the corresponding documentation.
|
8
|
+
|
4
9
|
1.31.0 (2023-02-08)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.32.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
|
@@ -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.32.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,9 @@ module Aws::LakeFormation
|
|
496
496
|
# `ColumnWildCard`.
|
497
497
|
# @return [Types::ColumnWildcard]
|
498
498
|
#
|
499
|
+
# @!attribute [rw] version_id
|
500
|
+
# @return [String]
|
501
|
+
#
|
499
502
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/DataCellsFilter AWS API Documentation
|
500
503
|
#
|
501
504
|
class DataCellsFilter < Struct.new(
|
@@ -505,7 +508,8 @@ module Aws::LakeFormation
|
|
505
508
|
:name,
|
506
509
|
:row_filter,
|
507
510
|
:column_names,
|
508
|
-
:column_wildcard
|
511
|
+
:column_wildcard,
|
512
|
+
:version_id)
|
509
513
|
SENSITIVE = []
|
510
514
|
include Aws::Structure
|
511
515
|
end
|
@@ -1032,6 +1036,45 @@ module Aws::LakeFormation
|
|
1032
1036
|
include Aws::Structure
|
1033
1037
|
end
|
1034
1038
|
|
1039
|
+
# @!attribute [rw] table_catalog_id
|
1040
|
+
# The ID of the catalog to which the table belongs.
|
1041
|
+
# @return [String]
|
1042
|
+
#
|
1043
|
+
# @!attribute [rw] database_name
|
1044
|
+
# A database in the Glue Data Catalog.
|
1045
|
+
# @return [String]
|
1046
|
+
#
|
1047
|
+
# @!attribute [rw] table_name
|
1048
|
+
# A table in the database.
|
1049
|
+
# @return [String]
|
1050
|
+
#
|
1051
|
+
# @!attribute [rw] name
|
1052
|
+
# The name given by the user to the data filter cell.
|
1053
|
+
# @return [String]
|
1054
|
+
#
|
1055
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/GetDataCellsFilterRequest AWS API Documentation
|
1056
|
+
#
|
1057
|
+
class GetDataCellsFilterRequest < Struct.new(
|
1058
|
+
:table_catalog_id,
|
1059
|
+
:database_name,
|
1060
|
+
:table_name,
|
1061
|
+
:name)
|
1062
|
+
SENSITIVE = []
|
1063
|
+
include Aws::Structure
|
1064
|
+
end
|
1065
|
+
|
1066
|
+
# @!attribute [rw] data_cells_filter
|
1067
|
+
# A structure that describes certain columns on certain rows.
|
1068
|
+
# @return [Types::DataCellsFilter]
|
1069
|
+
#
|
1070
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/GetDataCellsFilterResponse AWS API Documentation
|
1071
|
+
#
|
1072
|
+
class GetDataCellsFilterResponse < Struct.new(
|
1073
|
+
:data_cells_filter)
|
1074
|
+
SENSITIVE = []
|
1075
|
+
include Aws::Structure
|
1076
|
+
end
|
1077
|
+
|
1035
1078
|
# @!attribute [rw] catalog_id
|
1036
1079
|
# The identifier for the Data Catalog. By default, the account ID. The
|
1037
1080
|
# Data Catalog is the persistent metadata store. It contains database
|
@@ -3063,6 +3106,23 @@ module Aws::LakeFormation
|
|
3063
3106
|
include Aws::Structure
|
3064
3107
|
end
|
3065
3108
|
|
3109
|
+
# @!attribute [rw] table_data
|
3110
|
+
# A `DataCellsFilter` structure containing information about the data
|
3111
|
+
# cells filter.
|
3112
|
+
# @return [Types::DataCellsFilter]
|
3113
|
+
#
|
3114
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/UpdateDataCellsFilterRequest AWS API Documentation
|
3115
|
+
#
|
3116
|
+
class UpdateDataCellsFilterRequest < Struct.new(
|
3117
|
+
:table_data)
|
3118
|
+
SENSITIVE = []
|
3119
|
+
include Aws::Structure
|
3120
|
+
end
|
3121
|
+
|
3122
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/UpdateDataCellsFilterResponse AWS API Documentation
|
3123
|
+
#
|
3124
|
+
class UpdateDataCellsFilterResponse < Aws::EmptyStructure; end
|
3125
|
+
|
3066
3126
|
# @!attribute [rw] catalog_id
|
3067
3127
|
# The identifier for the Data Catalog. By default, the account ID. The
|
3068
3128
|
# 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.32.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-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|