aws-sdk-lakeformation 1.2.0 → 1.7.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.
@@ -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:
@@ -82,8 +84,10 @@ module Aws::LakeFormation
82
84
  StringValue = Shapes::StringShape.new(name: 'StringValue')
83
85
  StringValueList = Shapes::ListShape.new(name: 'StringValueList')
84
86
  TableResource = Shapes::StructureShape.new(name: 'TableResource')
87
+ TableWildcard = Shapes::StructureShape.new(name: 'TableWildcard')
85
88
  TableWithColumnsResource = Shapes::StructureShape.new(name: 'TableWithColumnsResource')
86
89
  Token = Shapes::StringShape.new(name: 'Token')
90
+ TrustedResourceOwners = Shapes::ListShape.new(name: 'TrustedResourceOwners')
87
91
  UpdateResourceRequest = Shapes::StructureShape.new(name: 'UpdateResourceRequest')
88
92
  UpdateResourceResponse = Shapes::StructureShape.new(name: 'UpdateResourceResponse')
89
93
 
@@ -137,11 +141,14 @@ module Aws::LakeFormation
137
141
  DataLakeSettings.add_member(:data_lake_admins, Shapes::ShapeRef.new(shape: DataLakePrincipalList, location_name: "DataLakeAdmins"))
138
142
  DataLakeSettings.add_member(:create_database_default_permissions, Shapes::ShapeRef.new(shape: PrincipalPermissionsList, location_name: "CreateDatabaseDefaultPermissions"))
139
143
  DataLakeSettings.add_member(:create_table_default_permissions, Shapes::ShapeRef.new(shape: PrincipalPermissionsList, location_name: "CreateTableDefaultPermissions"))
144
+ DataLakeSettings.add_member(:trusted_resource_owners, Shapes::ShapeRef.new(shape: TrustedResourceOwners, location_name: "TrustedResourceOwners"))
140
145
  DataLakeSettings.struct_class = Types::DataLakeSettings
141
146
 
147
+ DataLocationResource.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
142
148
  DataLocationResource.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArnString, required: true, location_name: "ResourceArn"))
143
149
  DataLocationResource.struct_class = Types::DataLocationResource
144
150
 
151
+ DatabaseResource.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
145
152
  DatabaseResource.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Name"))
146
153
  DatabaseResource.struct_class = Types::DatabaseResource
147
154
 
@@ -279,16 +286,23 @@ module Aws::LakeFormation
279
286
 
280
287
  StringValueList.member = Shapes::ShapeRef.new(shape: StringValue)
281
288
 
289
+ TableResource.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
282
290
  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, required: true, location_name: "Name"))
291
+ TableResource.add_member(:name, Shapes::ShapeRef.new(shape: NameString, location_name: "Name"))
292
+ TableResource.add_member(:table_wildcard, Shapes::ShapeRef.new(shape: TableWildcard, location_name: "TableWildcard"))
284
293
  TableResource.struct_class = Types::TableResource
285
294
 
286
- TableWithColumnsResource.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, location_name: "DatabaseName"))
287
- TableWithColumnsResource.add_member(:name, Shapes::ShapeRef.new(shape: NameString, location_name: "Name"))
295
+ TableWildcard.struct_class = Types::TableWildcard
296
+
297
+ TableWithColumnsResource.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
298
+ TableWithColumnsResource.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "DatabaseName"))
299
+ TableWithColumnsResource.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Name"))
288
300
  TableWithColumnsResource.add_member(:column_names, Shapes::ShapeRef.new(shape: ColumnNames, location_name: "ColumnNames"))
289
301
  TableWithColumnsResource.add_member(:column_wildcard, Shapes::ShapeRef.new(shape: ColumnWildcard, location_name: "ColumnWildcard"))
290
302
  TableWithColumnsResource.struct_class = Types::TableWithColumnsResource
291
303
 
304
+ TrustedResourceOwners.member = Shapes::ShapeRef.new(shape: CatalogIdString)
305
+
292
306
  UpdateResourceRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: IAMRoleArn, required: true, location_name: "RoleArn"))
293
307
  UpdateResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArnString, required: true, location_name: "ResourceArn"))
294
308
  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:
@@ -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:
@@ -6,13 +8,7 @@
6
8
  # WARNING ABOUT GENERATED CODE
7
9
 
8
10
  module Aws::LakeFormation
9
- # This class provides a resource oriented interface for LakeFormation.
10
- # To create a resource object:
11
- # resource = Aws::LakeFormation::Resource.new(region: 'us-west-2')
12
- # You can supply a client object with custom configuration that will be used for all resource operations.
13
- # If you do not pass +:client+, a default client will be constructed.
14
- # client = Aws::LakeFormation::Client.new(region: 'us-west-2')
15
- # resource = Aws::LakeFormation::Resource.new(client: client)
11
+
16
12
  class Resource
17
13
 
18
14
  # @param options ({})
@@ -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", # required
48
+ # name: "NameString",
49
+ # table_wildcard: {
50
+ # },
44
51
  # },
45
52
  # table_with_columns: {
46
- # database_name: "NameString",
47
- # name: "NameString",
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", # required
146
+ # name: "NameString",
147
+ # table_wildcard: {
148
+ # },
133
149
  # },
134
150
  # table_with_columns: {
135
- # database_name: "NameString",
136
- # name: "NameString",
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", # required
221
+ # name: "NameString",
222
+ # table_wildcard: {
223
+ # },
201
224
  # },
202
225
  # table_with_columns: {
203
- # database_name: "NameString",
204
- # name: "NameString",
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
- # The AWS Lake Formation principal.
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 entries for default
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 entries for default
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,7 @@ module Aws::LakeFormation
454
520
  #
455
521
  class DescribeResourceResponse < Struct.new(
456
522
  :resource_info)
523
+ SENSITIVE = []
457
524
  include Aws::Structure
458
525
  end
459
526
 
@@ -467,6 +534,7 @@ module Aws::LakeFormation
467
534
  #
468
535
  class EntityNotFoundException < Struct.new(
469
536
  :message)
537
+ SENSITIVE = []
470
538
  include Aws::Structure
471
539
  end
472
540
 
@@ -485,6 +553,7 @@ module Aws::LakeFormation
485
553
  class ErrorDetail < Struct.new(
486
554
  :error_code,
487
555
  :error_message)
556
+ SENSITIVE = []
488
557
  include Aws::Structure
489
558
  end
490
559
 
@@ -518,6 +587,7 @@ module Aws::LakeFormation
518
587
  :field,
519
588
  :comparison_operator,
520
589
  :string_value_list)
590
+ SENSITIVE = []
521
591
  include Aws::Structure
522
592
  end
523
593
 
@@ -539,17 +609,20 @@ module Aws::LakeFormation
539
609
  #
540
610
  class GetDataLakeSettingsRequest < Struct.new(
541
611
  :catalog_id)
612
+ SENSITIVE = []
542
613
  include Aws::Structure
543
614
  end
544
615
 
545
616
  # @!attribute [rw] data_lake_settings
546
- # A list of AWS Lake Formation principals.
617
+ # A structure representing a list of AWS Lake Formation principals
618
+ # designated as data lake administrators.
547
619
  # @return [Types::DataLakeSettings]
548
620
  #
549
621
  # @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/GetDataLakeSettingsResponse AWS API Documentation
550
622
  #
551
623
  class GetDataLakeSettingsResponse < Struct.new(
552
624
  :data_lake_settings)
625
+ SENSITIVE = []
553
626
  include Aws::Structure
554
627
  end
555
628
 
@@ -591,6 +664,7 @@ module Aws::LakeFormation
591
664
  :resource_arn,
592
665
  :next_token,
593
666
  :max_results)
667
+ SENSITIVE = []
594
668
  include Aws::Structure
595
669
  end
596
670
 
@@ -609,6 +683,7 @@ module Aws::LakeFormation
609
683
  class GetEffectivePermissionsForPathResponse < Struct.new(
610
684
  :permissions,
611
685
  :next_token)
686
+ SENSITIVE = []
612
687
  include Aws::Structure
613
688
  end
614
689
 
@@ -624,26 +699,32 @@ module Aws::LakeFormation
624
699
  # catalog: {
625
700
  # },
626
701
  # database: {
702
+ # catalog_id: "CatalogIdString",
627
703
  # name: "NameString", # required
628
704
  # },
629
705
  # table: {
706
+ # catalog_id: "CatalogIdString",
630
707
  # database_name: "NameString", # required
631
- # name: "NameString", # required
708
+ # name: "NameString",
709
+ # table_wildcard: {
710
+ # },
632
711
  # },
633
712
  # table_with_columns: {
634
- # database_name: "NameString",
635
- # name: "NameString",
713
+ # catalog_id: "CatalogIdString",
714
+ # database_name: "NameString", # required
715
+ # name: "NameString", # required
636
716
  # column_names: ["NameString"],
637
717
  # column_wildcard: {
638
718
  # excluded_column_names: ["NameString"],
639
719
  # },
640
720
  # },
641
721
  # data_location: {
722
+ # catalog_id: "CatalogIdString",
642
723
  # resource_arn: "ResourceArnString", # required
643
724
  # },
644
725
  # },
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
726
+ # permissions: ["ALL"], # required, accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, DESCRIBE, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
727
+ # permissions_with_grant_option: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, DESCRIBE, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
647
728
  # }
648
729
  #
649
730
  # @!attribute [rw] catalog_id
@@ -691,6 +772,7 @@ module Aws::LakeFormation
691
772
  :resource,
692
773
  :permissions,
693
774
  :permissions_with_grant_option)
775
+ SENSITIVE = []
694
776
  include Aws::Structure
695
777
  end
696
778
 
@@ -708,6 +790,7 @@ module Aws::LakeFormation
708
790
  #
709
791
  class InternalServiceException < Struct.new(
710
792
  :message)
793
+ SENSITIVE = []
711
794
  include Aws::Structure
712
795
  end
713
796
 
@@ -721,6 +804,7 @@ module Aws::LakeFormation
721
804
  #
722
805
  class InvalidInputException < Struct.new(
723
806
  :message)
807
+ SENSITIVE = []
724
808
  include Aws::Structure
725
809
  end
726
810
 
@@ -737,21 +821,27 @@ module Aws::LakeFormation
737
821
  # catalog: {
738
822
  # },
739
823
  # database: {
824
+ # catalog_id: "CatalogIdString",
740
825
  # name: "NameString", # required
741
826
  # },
742
827
  # table: {
828
+ # catalog_id: "CatalogIdString",
743
829
  # database_name: "NameString", # required
744
- # name: "NameString", # required
830
+ # name: "NameString",
831
+ # table_wildcard: {
832
+ # },
745
833
  # },
746
834
  # table_with_columns: {
747
- # database_name: "NameString",
748
- # name: "NameString",
835
+ # catalog_id: "CatalogIdString",
836
+ # database_name: "NameString", # required
837
+ # name: "NameString", # required
749
838
  # column_names: ["NameString"],
750
839
  # column_wildcard: {
751
840
  # excluded_column_names: ["NameString"],
752
841
  # },
753
842
  # },
754
843
  # data_location: {
844
+ # catalog_id: "CatalogIdString",
755
845
  # resource_arn: "ResourceArnString", # required
756
846
  # },
757
847
  # },
@@ -800,6 +890,7 @@ module Aws::LakeFormation
800
890
  :resource,
801
891
  :next_token,
802
892
  :max_results)
893
+ SENSITIVE = []
803
894
  include Aws::Structure
804
895
  end
805
896
 
@@ -818,6 +909,7 @@ module Aws::LakeFormation
818
909
  class ListPermissionsResponse < Struct.new(
819
910
  :principal_resource_permissions,
820
911
  :next_token)
912
+ SENSITIVE = []
821
913
  include Aws::Structure
822
914
  end
823
915
 
@@ -856,6 +948,7 @@ module Aws::LakeFormation
856
948
  :filter_condition_list,
857
949
  :max_results,
858
950
  :next_token)
951
+ SENSITIVE = []
859
952
  include Aws::Structure
860
953
  end
861
954
 
@@ -873,6 +966,7 @@ module Aws::LakeFormation
873
966
  class ListResourcesResponse < Struct.new(
874
967
  :resource_info_list,
875
968
  :next_token)
969
+ SENSITIVE = []
876
970
  include Aws::Structure
877
971
  end
878
972
 
@@ -886,6 +980,7 @@ module Aws::LakeFormation
886
980
  #
887
981
  class OperationTimeoutException < Struct.new(
888
982
  :message)
983
+ SENSITIVE = []
889
984
  include Aws::Structure
890
985
  end
891
986
 
@@ -898,7 +993,7 @@ module Aws::LakeFormation
898
993
  # principal: {
899
994
  # data_lake_principal_identifier: "DataLakePrincipalString",
900
995
  # },
901
- # permissions: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
996
+ # permissions: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, DESCRIBE, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
902
997
  # }
903
998
  #
904
999
  # @!attribute [rw] principal
@@ -914,6 +1009,7 @@ module Aws::LakeFormation
914
1009
  class PrincipalPermissions < Struct.new(
915
1010
  :principal,
916
1011
  :permissions)
1012
+ SENSITIVE = []
917
1013
  include Aws::Structure
918
1014
  end
919
1015
 
@@ -943,6 +1039,7 @@ module Aws::LakeFormation
943
1039
  :resource,
944
1040
  :permissions,
945
1041
  :permissions_with_grant_option)
1042
+ SENSITIVE = []
946
1043
  include Aws::Structure
947
1044
  end
948
1045
 
@@ -962,7 +1059,7 @@ module Aws::LakeFormation
962
1059
  # principal: {
963
1060
  # data_lake_principal_identifier: "DataLakePrincipalString",
964
1061
  # },
965
- # permissions: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
1062
+ # permissions: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, DESCRIBE, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
966
1063
  # },
967
1064
  # ],
968
1065
  # create_table_default_permissions: [
@@ -970,9 +1067,10 @@ module Aws::LakeFormation
970
1067
  # principal: {
971
1068
  # data_lake_principal_identifier: "DataLakePrincipalString",
972
1069
  # },
973
- # permissions: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
1070
+ # permissions: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, DESCRIBE, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
974
1071
  # },
975
1072
  # ],
1073
+ # trusted_resource_owners: ["CatalogIdString"],
976
1074
  # },
977
1075
  # }
978
1076
  #
@@ -984,7 +1082,8 @@ module Aws::LakeFormation
984
1082
  # @return [String]
985
1083
  #
986
1084
  # @!attribute [rw] data_lake_settings
987
- # A list of AWS Lake Formation principals.
1085
+ # A structure representing a list of AWS Lake Formation principals
1086
+ # designated as data lake administrators.
988
1087
  # @return [Types::DataLakeSettings]
989
1088
  #
990
1089
  # @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/PutDataLakeSettingsRequest AWS API Documentation
@@ -992,6 +1091,7 @@ module Aws::LakeFormation
992
1091
  class PutDataLakeSettingsRequest < Struct.new(
993
1092
  :catalog_id,
994
1093
  :data_lake_settings)
1094
+ SENSITIVE = []
995
1095
  include Aws::Structure
996
1096
  end
997
1097
 
@@ -1014,12 +1114,21 @@ module Aws::LakeFormation
1014
1114
  # @return [String]
1015
1115
  #
1016
1116
  # @!attribute [rw] use_service_linked_role
1017
- # Designates a trusted caller, an IAM principal, by registering this
1018
- # caller with the Data Catalog.
1117
+ # Designates an AWS Identity and Access Management (IAM)
1118
+ # service-linked role by registering this role with the Data Catalog.
1119
+ # A service-linked role is a unique type of IAM role that is linked
1120
+ # directly to Lake Formation.
1121
+ #
1122
+ # For more information, see [Using Service-Linked Roles for Lake
1123
+ # Formation][1].
1124
+ #
1125
+ #
1126
+ #
1127
+ # [1]: https://docs-aws.amazon.com/lake-formation/latest/dg/service-linked-roles.html
1019
1128
  # @return [Boolean]
1020
1129
  #
1021
1130
  # @!attribute [rw] role_arn
1022
- # The identifier for the role.
1131
+ # The identifier for the role that registers the resource.
1023
1132
  # @return [String]
1024
1133
  #
1025
1134
  # @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/RegisterResourceRequest AWS API Documentation
@@ -1028,6 +1137,7 @@ module Aws::LakeFormation
1028
1137
  :resource_arn,
1029
1138
  :use_service_linked_role,
1030
1139
  :role_arn)
1140
+ SENSITIVE = []
1031
1141
  include Aws::Structure
1032
1142
  end
1033
1143
 
@@ -1044,21 +1154,27 @@ module Aws::LakeFormation
1044
1154
  # catalog: {
1045
1155
  # },
1046
1156
  # database: {
1157
+ # catalog_id: "CatalogIdString",
1047
1158
  # name: "NameString", # required
1048
1159
  # },
1049
1160
  # table: {
1161
+ # catalog_id: "CatalogIdString",
1050
1162
  # database_name: "NameString", # required
1051
- # name: "NameString", # required
1163
+ # name: "NameString",
1164
+ # table_wildcard: {
1165
+ # },
1052
1166
  # },
1053
1167
  # table_with_columns: {
1054
- # database_name: "NameString",
1055
- # name: "NameString",
1168
+ # catalog_id: "CatalogIdString",
1169
+ # database_name: "NameString", # required
1170
+ # name: "NameString", # required
1056
1171
  # column_names: ["NameString"],
1057
1172
  # column_wildcard: {
1058
1173
  # excluded_column_names: ["NameString"],
1059
1174
  # },
1060
1175
  # },
1061
1176
  # data_location: {
1177
+ # catalog_id: "CatalogIdString",
1062
1178
  # resource_arn: "ResourceArnString", # required
1063
1179
  # },
1064
1180
  # }
@@ -1102,6 +1218,7 @@ module Aws::LakeFormation
1102
1218
  :table,
1103
1219
  :table_with_columns,
1104
1220
  :data_location)
1221
+ SENSITIVE = []
1105
1222
  include Aws::Structure
1106
1223
  end
1107
1224
 
@@ -1126,6 +1243,7 @@ module Aws::LakeFormation
1126
1243
  :resource_arn,
1127
1244
  :role_arn,
1128
1245
  :last_modified)
1246
+ SENSITIVE = []
1129
1247
  include Aws::Structure
1130
1248
  end
1131
1249
 
@@ -1141,26 +1259,32 @@ module Aws::LakeFormation
1141
1259
  # catalog: {
1142
1260
  # },
1143
1261
  # database: {
1262
+ # catalog_id: "CatalogIdString",
1144
1263
  # name: "NameString", # required
1145
1264
  # },
1146
1265
  # table: {
1266
+ # catalog_id: "CatalogIdString",
1147
1267
  # database_name: "NameString", # required
1148
- # name: "NameString", # required
1268
+ # name: "NameString",
1269
+ # table_wildcard: {
1270
+ # },
1149
1271
  # },
1150
1272
  # table_with_columns: {
1151
- # database_name: "NameString",
1152
- # name: "NameString",
1273
+ # catalog_id: "CatalogIdString",
1274
+ # database_name: "NameString", # required
1275
+ # name: "NameString", # required
1153
1276
  # column_names: ["NameString"],
1154
1277
  # column_wildcard: {
1155
1278
  # excluded_column_names: ["NameString"],
1156
1279
  # },
1157
1280
  # },
1158
1281
  # data_location: {
1282
+ # catalog_id: "CatalogIdString",
1159
1283
  # resource_arn: "ResourceArnString", # required
1160
1284
  # },
1161
1285
  # },
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
1286
+ # permissions: ["ALL"], # required, accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, DESCRIBE, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
1287
+ # permissions_with_grant_option: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, DESCRIBE, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
1164
1288
  # }
1165
1289
  #
1166
1290
  # @!attribute [rw] catalog_id
@@ -1185,7 +1309,7 @@ module Aws::LakeFormation
1185
1309
  #
1186
1310
  #
1187
1311
  #
1188
- # [1]: https://docs-aws.amazon.com/michigan/latest/dg/security-data-access.html
1312
+ # [1]: https://docs-aws.amazon.com/lake-formation/latest/dg/security-data-access.html
1189
1313
  # @return [Array<String>]
1190
1314
  #
1191
1315
  # @!attribute [rw] permissions_with_grant_option
@@ -1201,6 +1325,7 @@ module Aws::LakeFormation
1201
1325
  :resource,
1202
1326
  :permissions,
1203
1327
  :permissions_with_grant_option)
1328
+ SENSITIVE = []
1204
1329
  include Aws::Structure
1205
1330
  end
1206
1331
 
@@ -1216,10 +1341,18 @@ module Aws::LakeFormation
1216
1341
  # data as a hash:
1217
1342
  #
1218
1343
  # {
1344
+ # catalog_id: "CatalogIdString",
1219
1345
  # database_name: "NameString", # required
1220
- # name: "NameString", # required
1346
+ # name: "NameString",
1347
+ # table_wildcard: {
1348
+ # },
1221
1349
  # }
1222
1350
  #
1351
+ # @!attribute [rw] catalog_id
1352
+ # The identifier for the Data Catalog. By default, it is the account
1353
+ # ID of the caller.
1354
+ # @return [String]
1355
+ #
1223
1356
  # @!attribute [rw] database_name
1224
1357
  # The name of the database for the table. Unique to a Data Catalog. A
1225
1358
  # database is a set of associated table definitions organized into a
@@ -1231,14 +1364,32 @@ module Aws::LakeFormation
1231
1364
  # The name of the table.
1232
1365
  # @return [String]
1233
1366
  #
1367
+ # @!attribute [rw] table_wildcard
1368
+ # A wildcard object representing every table under a database.
1369
+ #
1370
+ # At least one of `TableResource$Name` or
1371
+ # `TableResource$TableWildcard` is required.
1372
+ # @return [Types::TableWildcard]
1373
+ #
1234
1374
  # @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/TableResource AWS API Documentation
1235
1375
  #
1236
1376
  class TableResource < Struct.new(
1377
+ :catalog_id,
1237
1378
  :database_name,
1238
- :name)
1379
+ :name,
1380
+ :table_wildcard)
1381
+ SENSITIVE = []
1239
1382
  include Aws::Structure
1240
1383
  end
1241
1384
 
1385
+ # A wildcard object representing every table under a database.
1386
+ #
1387
+ # @api private
1388
+ #
1389
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/TableWildcard AWS API Documentation
1390
+ #
1391
+ class TableWildcard < Aws::EmptyStructure; end
1392
+
1242
1393
  # A structure for a table with columns object. This object is only used
1243
1394
  # when granting a SELECT permission.
1244
1395
  #
@@ -1249,14 +1400,20 @@ module Aws::LakeFormation
1249
1400
  # data as a hash:
1250
1401
  #
1251
1402
  # {
1252
- # database_name: "NameString",
1253
- # name: "NameString",
1403
+ # catalog_id: "CatalogIdString",
1404
+ # database_name: "NameString", # required
1405
+ # name: "NameString", # required
1254
1406
  # column_names: ["NameString"],
1255
1407
  # column_wildcard: {
1256
1408
  # excluded_column_names: ["NameString"],
1257
1409
  # },
1258
1410
  # }
1259
1411
  #
1412
+ # @!attribute [rw] catalog_id
1413
+ # The identifier for the Data Catalog. By default, it is the account
1414
+ # ID of the caller.
1415
+ # @return [String]
1416
+ #
1260
1417
  # @!attribute [rw] database_name
1261
1418
  # The name of the database for the table with columns resource. Unique
1262
1419
  # to the Data Catalog. A database is a set of associated table
@@ -1283,10 +1440,12 @@ module Aws::LakeFormation
1283
1440
  # @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/TableWithColumnsResource AWS API Documentation
1284
1441
  #
1285
1442
  class TableWithColumnsResource < Struct.new(
1443
+ :catalog_id,
1286
1444
  :database_name,
1287
1445
  :name,
1288
1446
  :column_names,
1289
1447
  :column_wildcard)
1448
+ SENSITIVE = []
1290
1449
  include Aws::Structure
1291
1450
  end
1292
1451
 
@@ -1312,6 +1471,7 @@ module Aws::LakeFormation
1312
1471
  class UpdateResourceRequest < Struct.new(
1313
1472
  :role_arn,
1314
1473
  :resource_arn)
1474
+ SENSITIVE = []
1315
1475
  include Aws::Structure
1316
1476
  end
1317
1477