aws-sdk-lakeformation 1.4.0 → 1.9.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/lib/aws-sdk-lakeformation.rb +4 -2
- data/lib/aws-sdk-lakeformation/client.rb +161 -55
- data/lib/aws-sdk-lakeformation/client_api.rb +26 -3
- data/lib/aws-sdk-lakeformation/errors.rb +2 -0
- data/lib/aws-sdk-lakeformation/resource.rb +2 -0
- data/lib/aws-sdk-lakeformation/types.rb +242 -55
- metadata +4 -4
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -38,6 +40,7 @@ module Aws::LakeFormation
|
|
38
40
|
DescribeResourceRequest = Shapes::StructureShape.new(name: 'DescribeResourceRequest')
|
39
41
|
DescribeResourceResponse = Shapes::StructureShape.new(name: 'DescribeResourceResponse')
|
40
42
|
DescriptionString = Shapes::StringShape.new(name: 'DescriptionString')
|
43
|
+
DetailsMap = Shapes::StructureShape.new(name: 'DetailsMap')
|
41
44
|
EntityNotFoundException = Shapes::StructureShape.new(name: 'EntityNotFoundException')
|
42
45
|
ErrorDetail = Shapes::StructureShape.new(name: 'ErrorDetail')
|
43
46
|
FieldNameString = Shapes::StringShape.new(name: 'FieldNameString')
|
@@ -71,19 +74,23 @@ module Aws::LakeFormation
|
|
71
74
|
PrincipalResourcePermissionsList = Shapes::ListShape.new(name: 'PrincipalResourcePermissionsList')
|
72
75
|
PutDataLakeSettingsRequest = Shapes::StructureShape.new(name: 'PutDataLakeSettingsRequest')
|
73
76
|
PutDataLakeSettingsResponse = Shapes::StructureShape.new(name: 'PutDataLakeSettingsResponse')
|
77
|
+
RAMResourceShareArn = Shapes::StringShape.new(name: 'RAMResourceShareArn')
|
74
78
|
RegisterResourceRequest = Shapes::StructureShape.new(name: 'RegisterResourceRequest')
|
75
79
|
RegisterResourceResponse = Shapes::StructureShape.new(name: 'RegisterResourceResponse')
|
76
80
|
Resource = Shapes::StructureShape.new(name: 'Resource')
|
77
81
|
ResourceArnString = Shapes::StringShape.new(name: 'ResourceArnString')
|
78
82
|
ResourceInfo = Shapes::StructureShape.new(name: 'ResourceInfo')
|
79
83
|
ResourceInfoList = Shapes::ListShape.new(name: 'ResourceInfoList')
|
84
|
+
ResourceShareList = Shapes::ListShape.new(name: 'ResourceShareList')
|
80
85
|
RevokePermissionsRequest = Shapes::StructureShape.new(name: 'RevokePermissionsRequest')
|
81
86
|
RevokePermissionsResponse = Shapes::StructureShape.new(name: 'RevokePermissionsResponse')
|
82
87
|
StringValue = Shapes::StringShape.new(name: 'StringValue')
|
83
88
|
StringValueList = Shapes::ListShape.new(name: 'StringValueList')
|
84
89
|
TableResource = Shapes::StructureShape.new(name: 'TableResource')
|
90
|
+
TableWildcard = Shapes::StructureShape.new(name: 'TableWildcard')
|
85
91
|
TableWithColumnsResource = Shapes::StructureShape.new(name: 'TableWithColumnsResource')
|
86
92
|
Token = Shapes::StringShape.new(name: 'Token')
|
93
|
+
TrustedResourceOwners = Shapes::ListShape.new(name: 'TrustedResourceOwners')
|
87
94
|
UpdateResourceRequest = Shapes::StructureShape.new(name: 'UpdateResourceRequest')
|
88
95
|
UpdateResourceResponse = Shapes::StructureShape.new(name: 'UpdateResourceResponse')
|
89
96
|
|
@@ -137,11 +144,14 @@ module Aws::LakeFormation
|
|
137
144
|
DataLakeSettings.add_member(:data_lake_admins, Shapes::ShapeRef.new(shape: DataLakePrincipalList, location_name: "DataLakeAdmins"))
|
138
145
|
DataLakeSettings.add_member(:create_database_default_permissions, Shapes::ShapeRef.new(shape: PrincipalPermissionsList, location_name: "CreateDatabaseDefaultPermissions"))
|
139
146
|
DataLakeSettings.add_member(:create_table_default_permissions, Shapes::ShapeRef.new(shape: PrincipalPermissionsList, location_name: "CreateTableDefaultPermissions"))
|
147
|
+
DataLakeSettings.add_member(:trusted_resource_owners, Shapes::ShapeRef.new(shape: TrustedResourceOwners, location_name: "TrustedResourceOwners"))
|
140
148
|
DataLakeSettings.struct_class = Types::DataLakeSettings
|
141
149
|
|
150
|
+
DataLocationResource.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
|
142
151
|
DataLocationResource.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArnString, required: true, location_name: "ResourceArn"))
|
143
152
|
DataLocationResource.struct_class = Types::DataLocationResource
|
144
153
|
|
154
|
+
DatabaseResource.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
|
145
155
|
DatabaseResource.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Name"))
|
146
156
|
DatabaseResource.struct_class = Types::DatabaseResource
|
147
157
|
|
@@ -156,6 +166,9 @@ module Aws::LakeFormation
|
|
156
166
|
DescribeResourceResponse.add_member(:resource_info, Shapes::ShapeRef.new(shape: ResourceInfo, location_name: "ResourceInfo"))
|
157
167
|
DescribeResourceResponse.struct_class = Types::DescribeResourceResponse
|
158
168
|
|
169
|
+
DetailsMap.add_member(:resource_share, Shapes::ShapeRef.new(shape: ResourceShareList, location_name: "ResourceShare"))
|
170
|
+
DetailsMap.struct_class = Types::DetailsMap
|
171
|
+
|
159
172
|
EntityNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: MessageString, location_name: "Message"))
|
160
173
|
EntityNotFoundException.struct_class = Types::EntityNotFoundException
|
161
174
|
|
@@ -237,6 +250,7 @@ module Aws::LakeFormation
|
|
237
250
|
PrincipalResourcePermissions.add_member(:resource, Shapes::ShapeRef.new(shape: Resource, location_name: "Resource"))
|
238
251
|
PrincipalResourcePermissions.add_member(:permissions, Shapes::ShapeRef.new(shape: PermissionList, location_name: "Permissions"))
|
239
252
|
PrincipalResourcePermissions.add_member(:permissions_with_grant_option, Shapes::ShapeRef.new(shape: PermissionList, location_name: "PermissionsWithGrantOption"))
|
253
|
+
PrincipalResourcePermissions.add_member(:additional_details, Shapes::ShapeRef.new(shape: DetailsMap, location_name: "AdditionalDetails"))
|
240
254
|
PrincipalResourcePermissions.struct_class = Types::PrincipalResourcePermissions
|
241
255
|
|
242
256
|
PrincipalResourcePermissionsList.member = Shapes::ShapeRef.new(shape: PrincipalResourcePermissions)
|
@@ -268,6 +282,8 @@ module Aws::LakeFormation
|
|
268
282
|
|
269
283
|
ResourceInfoList.member = Shapes::ShapeRef.new(shape: ResourceInfo)
|
270
284
|
|
285
|
+
ResourceShareList.member = Shapes::ShapeRef.new(shape: RAMResourceShareArn)
|
286
|
+
|
271
287
|
RevokePermissionsRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
|
272
288
|
RevokePermissionsRequest.add_member(:principal, Shapes::ShapeRef.new(shape: DataLakePrincipal, required: true, location_name: "Principal"))
|
273
289
|
RevokePermissionsRequest.add_member(:resource, Shapes::ShapeRef.new(shape: Resource, required: true, location_name: "Resource"))
|
@@ -279,16 +295,23 @@ module Aws::LakeFormation
|
|
279
295
|
|
280
296
|
StringValueList.member = Shapes::ShapeRef.new(shape: StringValue)
|
281
297
|
|
298
|
+
TableResource.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
|
282
299
|
TableResource.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "DatabaseName"))
|
283
|
-
TableResource.add_member(:name, Shapes::ShapeRef.new(shape: NameString,
|
300
|
+
TableResource.add_member(:name, Shapes::ShapeRef.new(shape: NameString, location_name: "Name"))
|
301
|
+
TableResource.add_member(:table_wildcard, Shapes::ShapeRef.new(shape: TableWildcard, location_name: "TableWildcard"))
|
284
302
|
TableResource.struct_class = Types::TableResource
|
285
303
|
|
286
|
-
|
287
|
-
|
304
|
+
TableWildcard.struct_class = Types::TableWildcard
|
305
|
+
|
306
|
+
TableWithColumnsResource.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
|
307
|
+
TableWithColumnsResource.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "DatabaseName"))
|
308
|
+
TableWithColumnsResource.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Name"))
|
288
309
|
TableWithColumnsResource.add_member(:column_names, Shapes::ShapeRef.new(shape: ColumnNames, location_name: "ColumnNames"))
|
289
310
|
TableWithColumnsResource.add_member(:column_wildcard, Shapes::ShapeRef.new(shape: ColumnWildcard, location_name: "ColumnWildcard"))
|
290
311
|
TableWithColumnsResource.struct_class = Types::TableWithColumnsResource
|
291
312
|
|
313
|
+
TrustedResourceOwners.member = Shapes::ShapeRef.new(shape: CatalogIdString)
|
314
|
+
|
292
315
|
UpdateResourceRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: IAMRoleArn, required: true, location_name: "RoleArn"))
|
293
316
|
UpdateResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArnString, required: true, location_name: "ResourceArn"))
|
294
317
|
UpdateResourceRequest.struct_class = Types::UpdateResourceRequest
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -18,6 +20,7 @@ module Aws::LakeFormation
|
|
18
20
|
#
|
19
21
|
class AlreadyExistsException < Struct.new(
|
20
22
|
:message)
|
23
|
+
SENSITIVE = []
|
21
24
|
include Aws::Structure
|
22
25
|
end
|
23
26
|
|
@@ -36,26 +39,32 @@ module Aws::LakeFormation
|
|
36
39
|
# catalog: {
|
37
40
|
# },
|
38
41
|
# database: {
|
42
|
+
# catalog_id: "CatalogIdString",
|
39
43
|
# name: "NameString", # required
|
40
44
|
# },
|
41
45
|
# table: {
|
46
|
+
# catalog_id: "CatalogIdString",
|
42
47
|
# database_name: "NameString", # required
|
43
|
-
# name: "NameString",
|
48
|
+
# name: "NameString",
|
49
|
+
# table_wildcard: {
|
50
|
+
# },
|
44
51
|
# },
|
45
52
|
# table_with_columns: {
|
46
|
-
#
|
47
|
-
#
|
53
|
+
# catalog_id: "CatalogIdString",
|
54
|
+
# database_name: "NameString", # required
|
55
|
+
# name: "NameString", # required
|
48
56
|
# column_names: ["NameString"],
|
49
57
|
# column_wildcard: {
|
50
58
|
# excluded_column_names: ["NameString"],
|
51
59
|
# },
|
52
60
|
# },
|
53
61
|
# data_location: {
|
62
|
+
# catalog_id: "CatalogIdString",
|
54
63
|
# resource_arn: "ResourceArnString", # required
|
55
64
|
# },
|
56
65
|
# },
|
57
|
-
# permissions: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
|
58
|
-
# permissions_with_grant_option: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
|
66
|
+
# permissions: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, DESCRIBE, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
|
67
|
+
# permissions_with_grant_option: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, DESCRIBE, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
|
59
68
|
# },
|
60
69
|
# ],
|
61
70
|
# }
|
@@ -77,6 +86,7 @@ module Aws::LakeFormation
|
|
77
86
|
class BatchGrantPermissionsRequest < Struct.new(
|
78
87
|
:catalog_id,
|
79
88
|
:entries)
|
89
|
+
SENSITIVE = []
|
80
90
|
include Aws::Structure
|
81
91
|
end
|
82
92
|
|
@@ -88,6 +98,7 @@ module Aws::LakeFormation
|
|
88
98
|
#
|
89
99
|
class BatchGrantPermissionsResponse < Struct.new(
|
90
100
|
:failures)
|
101
|
+
SENSITIVE = []
|
91
102
|
include Aws::Structure
|
92
103
|
end
|
93
104
|
|
@@ -107,6 +118,7 @@ module Aws::LakeFormation
|
|
107
118
|
class BatchPermissionsFailureEntry < Struct.new(
|
108
119
|
:request_entry,
|
109
120
|
:error)
|
121
|
+
SENSITIVE = []
|
110
122
|
include Aws::Structure
|
111
123
|
end
|
112
124
|
|
@@ -125,26 +137,32 @@ module Aws::LakeFormation
|
|
125
137
|
# catalog: {
|
126
138
|
# },
|
127
139
|
# database: {
|
140
|
+
# catalog_id: "CatalogIdString",
|
128
141
|
# name: "NameString", # required
|
129
142
|
# },
|
130
143
|
# table: {
|
144
|
+
# catalog_id: "CatalogIdString",
|
131
145
|
# database_name: "NameString", # required
|
132
|
-
# name: "NameString",
|
146
|
+
# name: "NameString",
|
147
|
+
# table_wildcard: {
|
148
|
+
# },
|
133
149
|
# },
|
134
150
|
# table_with_columns: {
|
135
|
-
#
|
136
|
-
#
|
151
|
+
# catalog_id: "CatalogIdString",
|
152
|
+
# database_name: "NameString", # required
|
153
|
+
# name: "NameString", # required
|
137
154
|
# column_names: ["NameString"],
|
138
155
|
# column_wildcard: {
|
139
156
|
# excluded_column_names: ["NameString"],
|
140
157
|
# },
|
141
158
|
# },
|
142
159
|
# data_location: {
|
160
|
+
# catalog_id: "CatalogIdString",
|
143
161
|
# resource_arn: "ResourceArnString", # required
|
144
162
|
# },
|
145
163
|
# },
|
146
|
-
# permissions: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
|
147
|
-
# permissions_with_grant_option: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
|
164
|
+
# permissions: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, DESCRIBE, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
|
165
|
+
# permissions_with_grant_option: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, DESCRIBE, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
|
148
166
|
# }
|
149
167
|
#
|
150
168
|
# @!attribute [rw] id
|
@@ -175,6 +193,7 @@ module Aws::LakeFormation
|
|
175
193
|
:resource,
|
176
194
|
:permissions,
|
177
195
|
:permissions_with_grant_option)
|
196
|
+
SENSITIVE = []
|
178
197
|
include Aws::Structure
|
179
198
|
end
|
180
199
|
|
@@ -193,26 +212,32 @@ module Aws::LakeFormation
|
|
193
212
|
# catalog: {
|
194
213
|
# },
|
195
214
|
# database: {
|
215
|
+
# catalog_id: "CatalogIdString",
|
196
216
|
# name: "NameString", # required
|
197
217
|
# },
|
198
218
|
# table: {
|
219
|
+
# catalog_id: "CatalogIdString",
|
199
220
|
# database_name: "NameString", # required
|
200
|
-
# name: "NameString",
|
221
|
+
# name: "NameString",
|
222
|
+
# table_wildcard: {
|
223
|
+
# },
|
201
224
|
# },
|
202
225
|
# table_with_columns: {
|
203
|
-
#
|
204
|
-
#
|
226
|
+
# catalog_id: "CatalogIdString",
|
227
|
+
# database_name: "NameString", # required
|
228
|
+
# name: "NameString", # required
|
205
229
|
# column_names: ["NameString"],
|
206
230
|
# column_wildcard: {
|
207
231
|
# excluded_column_names: ["NameString"],
|
208
232
|
# },
|
209
233
|
# },
|
210
234
|
# data_location: {
|
235
|
+
# catalog_id: "CatalogIdString",
|
211
236
|
# resource_arn: "ResourceArnString", # required
|
212
237
|
# },
|
213
238
|
# },
|
214
|
-
# permissions: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
|
215
|
-
# permissions_with_grant_option: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
|
239
|
+
# permissions: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, DESCRIBE, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
|
240
|
+
# permissions_with_grant_option: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, DESCRIBE, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
|
216
241
|
# },
|
217
242
|
# ],
|
218
243
|
# }
|
@@ -234,6 +259,7 @@ module Aws::LakeFormation
|
|
234
259
|
class BatchRevokePermissionsRequest < Struct.new(
|
235
260
|
:catalog_id,
|
236
261
|
:entries)
|
262
|
+
SENSITIVE = []
|
237
263
|
include Aws::Structure
|
238
264
|
end
|
239
265
|
|
@@ -245,6 +271,7 @@ module Aws::LakeFormation
|
|
245
271
|
#
|
246
272
|
class BatchRevokePermissionsResponse < Struct.new(
|
247
273
|
:failures)
|
274
|
+
SENSITIVE = []
|
248
275
|
include Aws::Structure
|
249
276
|
end
|
250
277
|
|
@@ -274,6 +301,7 @@ module Aws::LakeFormation
|
|
274
301
|
#
|
275
302
|
class ColumnWildcard < Struct.new(
|
276
303
|
:excluded_column_names)
|
304
|
+
SENSITIVE = []
|
277
305
|
include Aws::Structure
|
278
306
|
end
|
279
307
|
|
@@ -287,10 +315,12 @@ module Aws::LakeFormation
|
|
287
315
|
#
|
288
316
|
class ConcurrentModificationException < Struct.new(
|
289
317
|
:message)
|
318
|
+
SENSITIVE = []
|
290
319
|
include Aws::Structure
|
291
320
|
end
|
292
321
|
|
293
|
-
# The AWS Lake Formation principal.
|
322
|
+
# The AWS Lake Formation principal. Supported principals are IAM users
|
323
|
+
# or IAM roles.
|
294
324
|
#
|
295
325
|
# @note When making an API call, you may pass DataLakePrincipal
|
296
326
|
# data as a hash:
|
@@ -307,10 +337,14 @@ module Aws::LakeFormation
|
|
307
337
|
#
|
308
338
|
class DataLakePrincipal < Struct.new(
|
309
339
|
:data_lake_principal_identifier)
|
340
|
+
SENSITIVE = []
|
310
341
|
include Aws::Structure
|
311
342
|
end
|
312
343
|
|
313
|
-
#
|
344
|
+
# A structure representing a list of AWS Lake Formation principals
|
345
|
+
# designated as data lake administrators and lists of principal
|
346
|
+
# permission entries for default create database and default create
|
347
|
+
# table permissions.
|
314
348
|
#
|
315
349
|
# @note When making an API call, you may pass DataLakeSettings
|
316
350
|
# data as a hash:
|
@@ -326,7 +360,7 @@ module Aws::LakeFormation
|
|
326
360
|
# principal: {
|
327
361
|
# data_lake_principal_identifier: "DataLakePrincipalString",
|
328
362
|
# },
|
329
|
-
# permissions: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
|
363
|
+
# permissions: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, DESCRIBE, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
|
330
364
|
# },
|
331
365
|
# ],
|
332
366
|
# create_table_default_permissions: [
|
@@ -334,31 +368,44 @@ module Aws::LakeFormation
|
|
334
368
|
# principal: {
|
335
369
|
# data_lake_principal_identifier: "DataLakePrincipalString",
|
336
370
|
# },
|
337
|
-
# permissions: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
|
371
|
+
# permissions: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, DESCRIBE, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
|
338
372
|
# },
|
339
373
|
# ],
|
374
|
+
# trusted_resource_owners: ["CatalogIdString"],
|
340
375
|
# }
|
341
376
|
#
|
342
377
|
# @!attribute [rw] data_lake_admins
|
343
|
-
# A list of AWS Lake Formation principals.
|
378
|
+
# A list of AWS Lake Formation principals. Supported principals are
|
379
|
+
# IAM users or IAM roles.
|
344
380
|
# @return [Array<Types::DataLakePrincipal>]
|
345
381
|
#
|
346
382
|
# @!attribute [rw] create_database_default_permissions
|
347
|
-
# A list of up to three principal permissions
|
348
|
-
# create database permissions.
|
383
|
+
# A structure representing a list of up to three principal permissions
|
384
|
+
# entries for default create database permissions.
|
349
385
|
# @return [Array<Types::PrincipalPermissions>]
|
350
386
|
#
|
351
387
|
# @!attribute [rw] create_table_default_permissions
|
352
|
-
# A list of up to three principal permissions
|
353
|
-
# create table permissions.
|
388
|
+
# A structure representing a list of up to three principal permissions
|
389
|
+
# entries for default create table permissions.
|
354
390
|
# @return [Array<Types::PrincipalPermissions>]
|
355
391
|
#
|
392
|
+
# @!attribute [rw] trusted_resource_owners
|
393
|
+
# A list of the resource-owning account IDs that the caller's account
|
394
|
+
# can use to share their user access details (user ARNs). The user
|
395
|
+
# ARNs can be logged in the resource owner's AWS CloudTrail log.
|
396
|
+
#
|
397
|
+
# You may want to specify this property when you are in a high-trust
|
398
|
+
# boundary, such as the same team or company.
|
399
|
+
# @return [Array<String>]
|
400
|
+
#
|
356
401
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/DataLakeSettings AWS API Documentation
|
357
402
|
#
|
358
403
|
class DataLakeSettings < Struct.new(
|
359
404
|
:data_lake_admins,
|
360
405
|
:create_database_default_permissions,
|
361
|
-
:create_table_default_permissions
|
406
|
+
:create_table_default_permissions,
|
407
|
+
:trusted_resource_owners)
|
408
|
+
SENSITIVE = []
|
362
409
|
include Aws::Structure
|
363
410
|
end
|
364
411
|
|
@@ -369,9 +416,16 @@ module Aws::LakeFormation
|
|
369
416
|
# data as a hash:
|
370
417
|
#
|
371
418
|
# {
|
419
|
+
# catalog_id: "CatalogIdString",
|
372
420
|
# resource_arn: "ResourceArnString", # required
|
373
421
|
# }
|
374
422
|
#
|
423
|
+
# @!attribute [rw] catalog_id
|
424
|
+
# The identifier for the Data Catalog where the location is registered
|
425
|
+
# with AWS Lake Formation. By default, it is the account ID of the
|
426
|
+
# caller.
|
427
|
+
# @return [String]
|
428
|
+
#
|
375
429
|
# @!attribute [rw] resource_arn
|
376
430
|
# The Amazon Resource Name (ARN) that uniquely identifies the data
|
377
431
|
# location resource.
|
@@ -380,7 +434,9 @@ module Aws::LakeFormation
|
|
380
434
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/DataLocationResource AWS API Documentation
|
381
435
|
#
|
382
436
|
class DataLocationResource < Struct.new(
|
437
|
+
:catalog_id,
|
383
438
|
:resource_arn)
|
439
|
+
SENSITIVE = []
|
384
440
|
include Aws::Structure
|
385
441
|
end
|
386
442
|
|
@@ -390,9 +446,15 @@ module Aws::LakeFormation
|
|
390
446
|
# data as a hash:
|
391
447
|
#
|
392
448
|
# {
|
449
|
+
# catalog_id: "CatalogIdString",
|
393
450
|
# name: "NameString", # required
|
394
451
|
# }
|
395
452
|
#
|
453
|
+
# @!attribute [rw] catalog_id
|
454
|
+
# The identifier for the Data Catalog. By default, it is the account
|
455
|
+
# ID of the caller.
|
456
|
+
# @return [String]
|
457
|
+
#
|
396
458
|
# @!attribute [rw] name
|
397
459
|
# The name of the database resource. Unique to the Data Catalog.
|
398
460
|
# @return [String]
|
@@ -400,7 +462,9 @@ module Aws::LakeFormation
|
|
400
462
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/DatabaseResource AWS API Documentation
|
401
463
|
#
|
402
464
|
class DatabaseResource < Struct.new(
|
465
|
+
:catalog_id,
|
403
466
|
:name)
|
467
|
+
SENSITIVE = []
|
404
468
|
include Aws::Structure
|
405
469
|
end
|
406
470
|
|
@@ -420,6 +484,7 @@ module Aws::LakeFormation
|
|
420
484
|
#
|
421
485
|
class DeregisterResourceRequest < Struct.new(
|
422
486
|
:resource_arn)
|
487
|
+
SENSITIVE = []
|
423
488
|
include Aws::Structure
|
424
489
|
end
|
425
490
|
|
@@ -442,6 +507,7 @@ module Aws::LakeFormation
|
|
442
507
|
#
|
443
508
|
class DescribeResourceRequest < Struct.new(
|
444
509
|
:resource_arn)
|
510
|
+
SENSITIVE = []
|
445
511
|
include Aws::Structure
|
446
512
|
end
|
447
513
|
|
@@ -454,6 +520,27 @@ module Aws::LakeFormation
|
|
454
520
|
#
|
455
521
|
class DescribeResourceResponse < Struct.new(
|
456
522
|
:resource_info)
|
523
|
+
SENSITIVE = []
|
524
|
+
include Aws::Structure
|
525
|
+
end
|
526
|
+
|
527
|
+
# A structure containing the additional details to be returned in the
|
528
|
+
# `AdditionalDetails` attribute of `PrincipalResourcePermissions`.
|
529
|
+
#
|
530
|
+
# If a catalog resource is shared through AWS Resource Access Manager
|
531
|
+
# (AWS RAM), then there will exist a corresponding RAM share resource
|
532
|
+
# ARN.
|
533
|
+
#
|
534
|
+
# @!attribute [rw] resource_share
|
535
|
+
# A share resource ARN for a catalog resource shared through AWS
|
536
|
+
# Resource Access Manager (AWS RAM).
|
537
|
+
# @return [Array<String>]
|
538
|
+
#
|
539
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/DetailsMap AWS API Documentation
|
540
|
+
#
|
541
|
+
class DetailsMap < Struct.new(
|
542
|
+
:resource_share)
|
543
|
+
SENSITIVE = []
|
457
544
|
include Aws::Structure
|
458
545
|
end
|
459
546
|
|
@@ -467,6 +554,7 @@ module Aws::LakeFormation
|
|
467
554
|
#
|
468
555
|
class EntityNotFoundException < Struct.new(
|
469
556
|
:message)
|
557
|
+
SENSITIVE = []
|
470
558
|
include Aws::Structure
|
471
559
|
end
|
472
560
|
|
@@ -485,6 +573,7 @@ module Aws::LakeFormation
|
|
485
573
|
class ErrorDetail < Struct.new(
|
486
574
|
:error_code,
|
487
575
|
:error_message)
|
576
|
+
SENSITIVE = []
|
488
577
|
include Aws::Structure
|
489
578
|
end
|
490
579
|
|
@@ -518,6 +607,7 @@ module Aws::LakeFormation
|
|
518
607
|
:field,
|
519
608
|
:comparison_operator,
|
520
609
|
:string_value_list)
|
610
|
+
SENSITIVE = []
|
521
611
|
include Aws::Structure
|
522
612
|
end
|
523
613
|
|
@@ -539,17 +629,20 @@ module Aws::LakeFormation
|
|
539
629
|
#
|
540
630
|
class GetDataLakeSettingsRequest < Struct.new(
|
541
631
|
:catalog_id)
|
632
|
+
SENSITIVE = []
|
542
633
|
include Aws::Structure
|
543
634
|
end
|
544
635
|
|
545
636
|
# @!attribute [rw] data_lake_settings
|
546
|
-
# A list of AWS Lake Formation principals
|
637
|
+
# A structure representing a list of AWS Lake Formation principals
|
638
|
+
# designated as data lake administrators.
|
547
639
|
# @return [Types::DataLakeSettings]
|
548
640
|
#
|
549
641
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/GetDataLakeSettingsResponse AWS API Documentation
|
550
642
|
#
|
551
643
|
class GetDataLakeSettingsResponse < Struct.new(
|
552
644
|
:data_lake_settings)
|
645
|
+
SENSITIVE = []
|
553
646
|
include Aws::Structure
|
554
647
|
end
|
555
648
|
|
@@ -591,6 +684,7 @@ module Aws::LakeFormation
|
|
591
684
|
:resource_arn,
|
592
685
|
:next_token,
|
593
686
|
:max_results)
|
687
|
+
SENSITIVE = []
|
594
688
|
include Aws::Structure
|
595
689
|
end
|
596
690
|
|
@@ -609,6 +703,7 @@ module Aws::LakeFormation
|
|
609
703
|
class GetEffectivePermissionsForPathResponse < Struct.new(
|
610
704
|
:permissions,
|
611
705
|
:next_token)
|
706
|
+
SENSITIVE = []
|
612
707
|
include Aws::Structure
|
613
708
|
end
|
614
709
|
|
@@ -624,26 +719,32 @@ module Aws::LakeFormation
|
|
624
719
|
# catalog: {
|
625
720
|
# },
|
626
721
|
# database: {
|
722
|
+
# catalog_id: "CatalogIdString",
|
627
723
|
# name: "NameString", # required
|
628
724
|
# },
|
629
725
|
# table: {
|
726
|
+
# catalog_id: "CatalogIdString",
|
630
727
|
# database_name: "NameString", # required
|
631
|
-
# name: "NameString",
|
728
|
+
# name: "NameString",
|
729
|
+
# table_wildcard: {
|
730
|
+
# },
|
632
731
|
# },
|
633
732
|
# table_with_columns: {
|
634
|
-
#
|
635
|
-
#
|
733
|
+
# catalog_id: "CatalogIdString",
|
734
|
+
# database_name: "NameString", # required
|
735
|
+
# name: "NameString", # required
|
636
736
|
# column_names: ["NameString"],
|
637
737
|
# column_wildcard: {
|
638
738
|
# excluded_column_names: ["NameString"],
|
639
739
|
# },
|
640
740
|
# },
|
641
741
|
# data_location: {
|
742
|
+
# catalog_id: "CatalogIdString",
|
642
743
|
# resource_arn: "ResourceArnString", # required
|
643
744
|
# },
|
644
745
|
# },
|
645
|
-
# permissions: ["ALL"], # required, accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
|
646
|
-
# permissions_with_grant_option: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
|
746
|
+
# permissions: ["ALL"], # required, accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, DESCRIBE, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
|
747
|
+
# permissions_with_grant_option: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, DESCRIBE, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
|
647
748
|
# }
|
648
749
|
#
|
649
750
|
# @!attribute [rw] catalog_id
|
@@ -691,6 +792,7 @@ module Aws::LakeFormation
|
|
691
792
|
:resource,
|
692
793
|
:permissions,
|
693
794
|
:permissions_with_grant_option)
|
795
|
+
SENSITIVE = []
|
694
796
|
include Aws::Structure
|
695
797
|
end
|
696
798
|
|
@@ -708,6 +810,7 @@ module Aws::LakeFormation
|
|
708
810
|
#
|
709
811
|
class InternalServiceException < Struct.new(
|
710
812
|
:message)
|
813
|
+
SENSITIVE = []
|
711
814
|
include Aws::Structure
|
712
815
|
end
|
713
816
|
|
@@ -721,6 +824,7 @@ module Aws::LakeFormation
|
|
721
824
|
#
|
722
825
|
class InvalidInputException < Struct.new(
|
723
826
|
:message)
|
827
|
+
SENSITIVE = []
|
724
828
|
include Aws::Structure
|
725
829
|
end
|
726
830
|
|
@@ -737,21 +841,27 @@ module Aws::LakeFormation
|
|
737
841
|
# catalog: {
|
738
842
|
# },
|
739
843
|
# database: {
|
844
|
+
# catalog_id: "CatalogIdString",
|
740
845
|
# name: "NameString", # required
|
741
846
|
# },
|
742
847
|
# table: {
|
848
|
+
# catalog_id: "CatalogIdString",
|
743
849
|
# database_name: "NameString", # required
|
744
|
-
# name: "NameString",
|
850
|
+
# name: "NameString",
|
851
|
+
# table_wildcard: {
|
852
|
+
# },
|
745
853
|
# },
|
746
854
|
# table_with_columns: {
|
747
|
-
#
|
748
|
-
#
|
855
|
+
# catalog_id: "CatalogIdString",
|
856
|
+
# database_name: "NameString", # required
|
857
|
+
# name: "NameString", # required
|
749
858
|
# column_names: ["NameString"],
|
750
859
|
# column_wildcard: {
|
751
860
|
# excluded_column_names: ["NameString"],
|
752
861
|
# },
|
753
862
|
# },
|
754
863
|
# data_location: {
|
864
|
+
# catalog_id: "CatalogIdString",
|
755
865
|
# resource_arn: "ResourceArnString", # required
|
756
866
|
# },
|
757
867
|
# },
|
@@ -800,6 +910,7 @@ module Aws::LakeFormation
|
|
800
910
|
:resource,
|
801
911
|
:next_token,
|
802
912
|
:max_results)
|
913
|
+
SENSITIVE = []
|
803
914
|
include Aws::Structure
|
804
915
|
end
|
805
916
|
|
@@ -818,6 +929,7 @@ module Aws::LakeFormation
|
|
818
929
|
class ListPermissionsResponse < Struct.new(
|
819
930
|
:principal_resource_permissions,
|
820
931
|
:next_token)
|
932
|
+
SENSITIVE = []
|
821
933
|
include Aws::Structure
|
822
934
|
end
|
823
935
|
|
@@ -856,6 +968,7 @@ module Aws::LakeFormation
|
|
856
968
|
:filter_condition_list,
|
857
969
|
:max_results,
|
858
970
|
:next_token)
|
971
|
+
SENSITIVE = []
|
859
972
|
include Aws::Structure
|
860
973
|
end
|
861
974
|
|
@@ -873,6 +986,7 @@ module Aws::LakeFormation
|
|
873
986
|
class ListResourcesResponse < Struct.new(
|
874
987
|
:resource_info_list,
|
875
988
|
:next_token)
|
989
|
+
SENSITIVE = []
|
876
990
|
include Aws::Structure
|
877
991
|
end
|
878
992
|
|
@@ -886,6 +1000,7 @@ module Aws::LakeFormation
|
|
886
1000
|
#
|
887
1001
|
class OperationTimeoutException < Struct.new(
|
888
1002
|
:message)
|
1003
|
+
SENSITIVE = []
|
889
1004
|
include Aws::Structure
|
890
1005
|
end
|
891
1006
|
|
@@ -898,7 +1013,7 @@ module Aws::LakeFormation
|
|
898
1013
|
# principal: {
|
899
1014
|
# data_lake_principal_identifier: "DataLakePrincipalString",
|
900
1015
|
# },
|
901
|
-
# permissions: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
|
1016
|
+
# permissions: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, DESCRIBE, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
|
902
1017
|
# }
|
903
1018
|
#
|
904
1019
|
# @!attribute [rw] principal
|
@@ -914,6 +1029,7 @@ module Aws::LakeFormation
|
|
914
1029
|
class PrincipalPermissions < Struct.new(
|
915
1030
|
:principal,
|
916
1031
|
:permissions)
|
1032
|
+
SENSITIVE = []
|
917
1033
|
include Aws::Structure
|
918
1034
|
end
|
919
1035
|
|
@@ -936,13 +1052,21 @@ module Aws::LakeFormation
|
|
936
1052
|
# subset of permissions granted).
|
937
1053
|
# @return [Array<String>]
|
938
1054
|
#
|
1055
|
+
# @!attribute [rw] additional_details
|
1056
|
+
# This attribute can be used to return any additional details of
|
1057
|
+
# `PrincipalResourcePermissions`. Currently returns only as a RAM
|
1058
|
+
# share resource ARN.
|
1059
|
+
# @return [Types::DetailsMap]
|
1060
|
+
#
|
939
1061
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/PrincipalResourcePermissions AWS API Documentation
|
940
1062
|
#
|
941
1063
|
class PrincipalResourcePermissions < Struct.new(
|
942
1064
|
:principal,
|
943
1065
|
:resource,
|
944
1066
|
:permissions,
|
945
|
-
:permissions_with_grant_option
|
1067
|
+
:permissions_with_grant_option,
|
1068
|
+
:additional_details)
|
1069
|
+
SENSITIVE = []
|
946
1070
|
include Aws::Structure
|
947
1071
|
end
|
948
1072
|
|
@@ -962,7 +1086,7 @@ module Aws::LakeFormation
|
|
962
1086
|
# principal: {
|
963
1087
|
# data_lake_principal_identifier: "DataLakePrincipalString",
|
964
1088
|
# },
|
965
|
-
# permissions: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
|
1089
|
+
# permissions: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, DESCRIBE, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
|
966
1090
|
# },
|
967
1091
|
# ],
|
968
1092
|
# create_table_default_permissions: [
|
@@ -970,9 +1094,10 @@ module Aws::LakeFormation
|
|
970
1094
|
# principal: {
|
971
1095
|
# data_lake_principal_identifier: "DataLakePrincipalString",
|
972
1096
|
# },
|
973
|
-
# permissions: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
|
1097
|
+
# permissions: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, DESCRIBE, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
|
974
1098
|
# },
|
975
1099
|
# ],
|
1100
|
+
# trusted_resource_owners: ["CatalogIdString"],
|
976
1101
|
# },
|
977
1102
|
# }
|
978
1103
|
#
|
@@ -984,7 +1109,8 @@ module Aws::LakeFormation
|
|
984
1109
|
# @return [String]
|
985
1110
|
#
|
986
1111
|
# @!attribute [rw] data_lake_settings
|
987
|
-
# A list of AWS Lake Formation principals
|
1112
|
+
# A structure representing a list of AWS Lake Formation principals
|
1113
|
+
# designated as data lake administrators.
|
988
1114
|
# @return [Types::DataLakeSettings]
|
989
1115
|
#
|
990
1116
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/PutDataLakeSettingsRequest AWS API Documentation
|
@@ -992,6 +1118,7 @@ module Aws::LakeFormation
|
|
992
1118
|
class PutDataLakeSettingsRequest < Struct.new(
|
993
1119
|
:catalog_id,
|
994
1120
|
:data_lake_settings)
|
1121
|
+
SENSITIVE = []
|
995
1122
|
include Aws::Structure
|
996
1123
|
end
|
997
1124
|
|
@@ -1014,12 +1141,21 @@ module Aws::LakeFormation
|
|
1014
1141
|
# @return [String]
|
1015
1142
|
#
|
1016
1143
|
# @!attribute [rw] use_service_linked_role
|
1017
|
-
# Designates
|
1018
|
-
#
|
1144
|
+
# Designates an AWS Identity and Access Management (IAM)
|
1145
|
+
# service-linked role by registering this role with the Data Catalog.
|
1146
|
+
# A service-linked role is a unique type of IAM role that is linked
|
1147
|
+
# directly to Lake Formation.
|
1148
|
+
#
|
1149
|
+
# For more information, see [Using Service-Linked Roles for Lake
|
1150
|
+
# Formation][1].
|
1151
|
+
#
|
1152
|
+
#
|
1153
|
+
#
|
1154
|
+
# [1]: https://docs-aws.amazon.com/lake-formation/latest/dg/service-linked-roles.html
|
1019
1155
|
# @return [Boolean]
|
1020
1156
|
#
|
1021
1157
|
# @!attribute [rw] role_arn
|
1022
|
-
# The identifier for the role.
|
1158
|
+
# The identifier for the role that registers the resource.
|
1023
1159
|
# @return [String]
|
1024
1160
|
#
|
1025
1161
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/RegisterResourceRequest AWS API Documentation
|
@@ -1028,6 +1164,7 @@ module Aws::LakeFormation
|
|
1028
1164
|
:resource_arn,
|
1029
1165
|
:use_service_linked_role,
|
1030
1166
|
:role_arn)
|
1167
|
+
SENSITIVE = []
|
1031
1168
|
include Aws::Structure
|
1032
1169
|
end
|
1033
1170
|
|
@@ -1044,21 +1181,27 @@ module Aws::LakeFormation
|
|
1044
1181
|
# catalog: {
|
1045
1182
|
# },
|
1046
1183
|
# database: {
|
1184
|
+
# catalog_id: "CatalogIdString",
|
1047
1185
|
# name: "NameString", # required
|
1048
1186
|
# },
|
1049
1187
|
# table: {
|
1188
|
+
# catalog_id: "CatalogIdString",
|
1050
1189
|
# database_name: "NameString", # required
|
1051
|
-
# name: "NameString",
|
1190
|
+
# name: "NameString",
|
1191
|
+
# table_wildcard: {
|
1192
|
+
# },
|
1052
1193
|
# },
|
1053
1194
|
# table_with_columns: {
|
1054
|
-
#
|
1055
|
-
#
|
1195
|
+
# catalog_id: "CatalogIdString",
|
1196
|
+
# database_name: "NameString", # required
|
1197
|
+
# name: "NameString", # required
|
1056
1198
|
# column_names: ["NameString"],
|
1057
1199
|
# column_wildcard: {
|
1058
1200
|
# excluded_column_names: ["NameString"],
|
1059
1201
|
# },
|
1060
1202
|
# },
|
1061
1203
|
# data_location: {
|
1204
|
+
# catalog_id: "CatalogIdString",
|
1062
1205
|
# resource_arn: "ResourceArnString", # required
|
1063
1206
|
# },
|
1064
1207
|
# }
|
@@ -1102,6 +1245,7 @@ module Aws::LakeFormation
|
|
1102
1245
|
:table,
|
1103
1246
|
:table_with_columns,
|
1104
1247
|
:data_location)
|
1248
|
+
SENSITIVE = []
|
1105
1249
|
include Aws::Structure
|
1106
1250
|
end
|
1107
1251
|
|
@@ -1126,6 +1270,7 @@ module Aws::LakeFormation
|
|
1126
1270
|
:resource_arn,
|
1127
1271
|
:role_arn,
|
1128
1272
|
:last_modified)
|
1273
|
+
SENSITIVE = []
|
1129
1274
|
include Aws::Structure
|
1130
1275
|
end
|
1131
1276
|
|
@@ -1141,26 +1286,32 @@ module Aws::LakeFormation
|
|
1141
1286
|
# catalog: {
|
1142
1287
|
# },
|
1143
1288
|
# database: {
|
1289
|
+
# catalog_id: "CatalogIdString",
|
1144
1290
|
# name: "NameString", # required
|
1145
1291
|
# },
|
1146
1292
|
# table: {
|
1293
|
+
# catalog_id: "CatalogIdString",
|
1147
1294
|
# database_name: "NameString", # required
|
1148
|
-
# name: "NameString",
|
1295
|
+
# name: "NameString",
|
1296
|
+
# table_wildcard: {
|
1297
|
+
# },
|
1149
1298
|
# },
|
1150
1299
|
# table_with_columns: {
|
1151
|
-
#
|
1152
|
-
#
|
1300
|
+
# catalog_id: "CatalogIdString",
|
1301
|
+
# database_name: "NameString", # required
|
1302
|
+
# name: "NameString", # required
|
1153
1303
|
# column_names: ["NameString"],
|
1154
1304
|
# column_wildcard: {
|
1155
1305
|
# excluded_column_names: ["NameString"],
|
1156
1306
|
# },
|
1157
1307
|
# },
|
1158
1308
|
# data_location: {
|
1309
|
+
# catalog_id: "CatalogIdString",
|
1159
1310
|
# resource_arn: "ResourceArnString", # required
|
1160
1311
|
# },
|
1161
1312
|
# },
|
1162
|
-
# permissions: ["ALL"], # required, accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
|
1163
|
-
# permissions_with_grant_option: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
|
1313
|
+
# permissions: ["ALL"], # required, accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, DESCRIBE, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
|
1314
|
+
# permissions_with_grant_option: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, DESCRIBE, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
|
1164
1315
|
# }
|
1165
1316
|
#
|
1166
1317
|
# @!attribute [rw] catalog_id
|
@@ -1185,7 +1336,7 @@ module Aws::LakeFormation
|
|
1185
1336
|
#
|
1186
1337
|
#
|
1187
1338
|
#
|
1188
|
-
# [1]: https://docs-aws.amazon.com/
|
1339
|
+
# [1]: https://docs-aws.amazon.com/lake-formation/latest/dg/security-data-access.html
|
1189
1340
|
# @return [Array<String>]
|
1190
1341
|
#
|
1191
1342
|
# @!attribute [rw] permissions_with_grant_option
|
@@ -1201,6 +1352,7 @@ module Aws::LakeFormation
|
|
1201
1352
|
:resource,
|
1202
1353
|
:permissions,
|
1203
1354
|
:permissions_with_grant_option)
|
1355
|
+
SENSITIVE = []
|
1204
1356
|
include Aws::Structure
|
1205
1357
|
end
|
1206
1358
|
|
@@ -1216,10 +1368,18 @@ module Aws::LakeFormation
|
|
1216
1368
|
# data as a hash:
|
1217
1369
|
#
|
1218
1370
|
# {
|
1371
|
+
# catalog_id: "CatalogIdString",
|
1219
1372
|
# database_name: "NameString", # required
|
1220
|
-
# name: "NameString",
|
1373
|
+
# name: "NameString",
|
1374
|
+
# table_wildcard: {
|
1375
|
+
# },
|
1221
1376
|
# }
|
1222
1377
|
#
|
1378
|
+
# @!attribute [rw] catalog_id
|
1379
|
+
# The identifier for the Data Catalog. By default, it is the account
|
1380
|
+
# ID of the caller.
|
1381
|
+
# @return [String]
|
1382
|
+
#
|
1223
1383
|
# @!attribute [rw] database_name
|
1224
1384
|
# The name of the database for the table. Unique to a Data Catalog. A
|
1225
1385
|
# database is a set of associated table definitions organized into a
|
@@ -1231,14 +1391,32 @@ module Aws::LakeFormation
|
|
1231
1391
|
# The name of the table.
|
1232
1392
|
# @return [String]
|
1233
1393
|
#
|
1394
|
+
# @!attribute [rw] table_wildcard
|
1395
|
+
# A wildcard object representing every table under a database.
|
1396
|
+
#
|
1397
|
+
# At least one of `TableResource$Name` or
|
1398
|
+
# `TableResource$TableWildcard` is required.
|
1399
|
+
# @return [Types::TableWildcard]
|
1400
|
+
#
|
1234
1401
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/TableResource AWS API Documentation
|
1235
1402
|
#
|
1236
1403
|
class TableResource < Struct.new(
|
1404
|
+
:catalog_id,
|
1237
1405
|
:database_name,
|
1238
|
-
:name
|
1406
|
+
:name,
|
1407
|
+
:table_wildcard)
|
1408
|
+
SENSITIVE = []
|
1239
1409
|
include Aws::Structure
|
1240
1410
|
end
|
1241
1411
|
|
1412
|
+
# A wildcard object representing every table under a database.
|
1413
|
+
#
|
1414
|
+
# @api private
|
1415
|
+
#
|
1416
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/TableWildcard AWS API Documentation
|
1417
|
+
#
|
1418
|
+
class TableWildcard < Aws::EmptyStructure; end
|
1419
|
+
|
1242
1420
|
# A structure for a table with columns object. This object is only used
|
1243
1421
|
# when granting a SELECT permission.
|
1244
1422
|
#
|
@@ -1249,14 +1427,20 @@ module Aws::LakeFormation
|
|
1249
1427
|
# data as a hash:
|
1250
1428
|
#
|
1251
1429
|
# {
|
1252
|
-
#
|
1253
|
-
#
|
1430
|
+
# catalog_id: "CatalogIdString",
|
1431
|
+
# database_name: "NameString", # required
|
1432
|
+
# name: "NameString", # required
|
1254
1433
|
# column_names: ["NameString"],
|
1255
1434
|
# column_wildcard: {
|
1256
1435
|
# excluded_column_names: ["NameString"],
|
1257
1436
|
# },
|
1258
1437
|
# }
|
1259
1438
|
#
|
1439
|
+
# @!attribute [rw] catalog_id
|
1440
|
+
# The identifier for the Data Catalog. By default, it is the account
|
1441
|
+
# ID of the caller.
|
1442
|
+
# @return [String]
|
1443
|
+
#
|
1260
1444
|
# @!attribute [rw] database_name
|
1261
1445
|
# The name of the database for the table with columns resource. Unique
|
1262
1446
|
# to the Data Catalog. A database is a set of associated table
|
@@ -1283,10 +1467,12 @@ module Aws::LakeFormation
|
|
1283
1467
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/TableWithColumnsResource AWS API Documentation
|
1284
1468
|
#
|
1285
1469
|
class TableWithColumnsResource < Struct.new(
|
1470
|
+
:catalog_id,
|
1286
1471
|
:database_name,
|
1287
1472
|
:name,
|
1288
1473
|
:column_names,
|
1289
1474
|
:column_wildcard)
|
1475
|
+
SENSITIVE = []
|
1290
1476
|
include Aws::Structure
|
1291
1477
|
end
|
1292
1478
|
|
@@ -1312,6 +1498,7 @@ module Aws::LakeFormation
|
|
1312
1498
|
class UpdateResourceRequest < Struct.new(
|
1313
1499
|
:role_arn,
|
1314
1500
|
:resource_arn)
|
1501
|
+
SENSITIVE = []
|
1315
1502
|
include Aws::Structure
|
1316
1503
|
end
|
1317
1504
|
|