aws-sdk-lakeformation 1.3.0 → 1.8.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 26d1b780865e3bba2c6e2aeca4689a66fde2f61d2c49cb7fbd64d97339001838
4
- data.tar.gz: 3fe39fddb80bda5b5eceb0aa209c449ad0af6c1cf5d206ad6a3ce13d2c0316c2
3
+ metadata.gz: 23c02db260ed4bd8a5e82ae3b7fed76908a12c78ef0281169dad5757ae0fc54b
4
+ data.tar.gz: bbb8aa4c51a5654d69eb77d66e13963ce890997924d9efd25aead8d404082933
5
5
  SHA512:
6
- metadata.gz: f46b571254b03458162b54a29edc3dc4946cc274a553d84c9e86e646d6225df1bd5f2d36fae60bf6d5e605f20fefea90d83f4639dcffb80e09de48e1657f621a
7
- data.tar.gz: fbf03bed66403fd1ea194073161d81092cd0265b9614b488512dddc43ce02cddeddf3c9ae0287b667f15424c655ab37d68499da1deeceb12be0d039e05d9ae45
6
+ metadata.gz: bb393fa8b1a64c6d2143fd761b5c3517c4a681e0ff20bc3e18facc03ef5d2acf389f7f157be30517e7d4baa980ace2cb6adbddf7dd7ad3b7ee5fff7abfb1db22
7
+ data.tar.gz: f96cbb11d237b2b9ecf94a1a356717cf57ccd0c954d597c1952b46a429f32e13d20b86eb74e34bd5257c3e8ecb82f044095d966050184e34e7bf1659039dd712
@@ -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:
@@ -45,6 +47,6 @@ require_relative 'aws-sdk-lakeformation/customizations'
45
47
  # @service
46
48
  module Aws::LakeFormation
47
49
 
48
- GEM_VERSION = '1.3.0'
50
+ GEM_VERSION = '1.8.0'
49
51
 
50
52
  end
@@ -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:
@@ -24,6 +26,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
24
26
  require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
25
27
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
26
28
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
+ require 'aws-sdk-core/plugins/http_checksum.rb'
27
30
  require 'aws-sdk-core/plugins/signature_v4.rb'
28
31
  require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
29
32
 
@@ -69,6 +72,7 @@ module Aws::LakeFormation
69
72
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
70
73
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
71
74
  add_plugin(Aws::Plugins::TransferEncoding)
75
+ add_plugin(Aws::Plugins::HttpChecksum)
72
76
  add_plugin(Aws::Plugins::SignatureV4)
73
77
  add_plugin(Aws::Plugins::Protocols::JsonRpc)
74
78
 
@@ -161,7 +165,7 @@ module Aws::LakeFormation
161
165
  # @option options [String] :endpoint
162
166
  # The client endpoint is normally constructed from the `:region`
163
167
  # option. You should only configure an `:endpoint` when connecting
164
- # to test endpoints. This should be a valid HTTP(S) URI.
168
+ # to test or custom endpoints. This should be a valid HTTP(S) URI.
165
169
  #
166
170
  # @option options [Integer] :endpoint_cache_max_entries (1000)
167
171
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -176,7 +180,7 @@ module Aws::LakeFormation
176
180
  # requests fetching endpoints information. Defaults to 60 sec.
177
181
  #
178
182
  # @option options [Boolean] :endpoint_discovery (false)
179
- # When set to `true`, endpoint discovery will be enabled for operations when available. Defaults to `false`.
183
+ # When set to `true`, endpoint discovery will be enabled for operations when available.
180
184
  #
181
185
  # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
182
186
  # The log formatter.
@@ -348,26 +352,32 @@ module Aws::LakeFormation
348
352
  # catalog: {
349
353
  # },
350
354
  # database: {
355
+ # catalog_id: "CatalogIdString",
351
356
  # name: "NameString", # required
352
357
  # },
353
358
  # table: {
359
+ # catalog_id: "CatalogIdString",
354
360
  # database_name: "NameString", # required
355
- # name: "NameString", # required
361
+ # name: "NameString",
362
+ # table_wildcard: {
363
+ # },
356
364
  # },
357
365
  # table_with_columns: {
358
- # database_name: "NameString",
359
- # name: "NameString",
366
+ # catalog_id: "CatalogIdString",
367
+ # database_name: "NameString", # required
368
+ # name: "NameString", # required
360
369
  # column_names: ["NameString"],
361
370
  # column_wildcard: {
362
371
  # excluded_column_names: ["NameString"],
363
372
  # },
364
373
  # },
365
374
  # data_location: {
375
+ # catalog_id: "CatalogIdString",
366
376
  # resource_arn: "ResourceArnString", # required
367
377
  # },
368
378
  # },
369
- # permissions: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
370
- # permissions_with_grant_option: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
379
+ # permissions: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, DESCRIBE, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
380
+ # permissions_with_grant_option: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, DESCRIBE, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
371
381
  # },
372
382
  # ],
373
383
  # })
@@ -377,20 +387,24 @@ module Aws::LakeFormation
377
387
  # resp.failures #=> Array
378
388
  # resp.failures[0].request_entry.id #=> String
379
389
  # resp.failures[0].request_entry.principal.data_lake_principal_identifier #=> String
390
+ # resp.failures[0].request_entry.resource.database.catalog_id #=> String
380
391
  # resp.failures[0].request_entry.resource.database.name #=> String
392
+ # resp.failures[0].request_entry.resource.table.catalog_id #=> String
381
393
  # resp.failures[0].request_entry.resource.table.database_name #=> String
382
394
  # resp.failures[0].request_entry.resource.table.name #=> String
395
+ # resp.failures[0].request_entry.resource.table_with_columns.catalog_id #=> String
383
396
  # resp.failures[0].request_entry.resource.table_with_columns.database_name #=> String
384
397
  # resp.failures[0].request_entry.resource.table_with_columns.name #=> String
385
398
  # resp.failures[0].request_entry.resource.table_with_columns.column_names #=> Array
386
399
  # resp.failures[0].request_entry.resource.table_with_columns.column_names[0] #=> String
387
400
  # resp.failures[0].request_entry.resource.table_with_columns.column_wildcard.excluded_column_names #=> Array
388
401
  # resp.failures[0].request_entry.resource.table_with_columns.column_wildcard.excluded_column_names[0] #=> String
402
+ # resp.failures[0].request_entry.resource.data_location.catalog_id #=> String
389
403
  # resp.failures[0].request_entry.resource.data_location.resource_arn #=> String
390
404
  # resp.failures[0].request_entry.permissions #=> Array
391
- # resp.failures[0].request_entry.permissions[0] #=> String, one of "ALL", "SELECT", "ALTER", "DROP", "DELETE", "INSERT", "CREATE_DATABASE", "CREATE_TABLE", "DATA_LOCATION_ACCESS"
405
+ # resp.failures[0].request_entry.permissions[0] #=> String, one of "ALL", "SELECT", "ALTER", "DROP", "DELETE", "INSERT", "DESCRIBE", "CREATE_DATABASE", "CREATE_TABLE", "DATA_LOCATION_ACCESS"
392
406
  # resp.failures[0].request_entry.permissions_with_grant_option #=> Array
393
- # resp.failures[0].request_entry.permissions_with_grant_option[0] #=> String, one of "ALL", "SELECT", "ALTER", "DROP", "DELETE", "INSERT", "CREATE_DATABASE", "CREATE_TABLE", "DATA_LOCATION_ACCESS"
407
+ # resp.failures[0].request_entry.permissions_with_grant_option[0] #=> String, one of "ALL", "SELECT", "ALTER", "DROP", "DELETE", "INSERT", "DESCRIBE", "CREATE_DATABASE", "CREATE_TABLE", "DATA_LOCATION_ACCESS"
394
408
  # resp.failures[0].error.error_code #=> String
395
409
  # resp.failures[0].error.error_message #=> String
396
410
  #
@@ -433,26 +447,32 @@ module Aws::LakeFormation
433
447
  # catalog: {
434
448
  # },
435
449
  # database: {
450
+ # catalog_id: "CatalogIdString",
436
451
  # name: "NameString", # required
437
452
  # },
438
453
  # table: {
454
+ # catalog_id: "CatalogIdString",
439
455
  # database_name: "NameString", # required
440
- # name: "NameString", # required
456
+ # name: "NameString",
457
+ # table_wildcard: {
458
+ # },
441
459
  # },
442
460
  # table_with_columns: {
443
- # database_name: "NameString",
444
- # name: "NameString",
461
+ # catalog_id: "CatalogIdString",
462
+ # database_name: "NameString", # required
463
+ # name: "NameString", # required
445
464
  # column_names: ["NameString"],
446
465
  # column_wildcard: {
447
466
  # excluded_column_names: ["NameString"],
448
467
  # },
449
468
  # },
450
469
  # data_location: {
470
+ # catalog_id: "CatalogIdString",
451
471
  # resource_arn: "ResourceArnString", # required
452
472
  # },
453
473
  # },
454
- # permissions: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
455
- # permissions_with_grant_option: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
474
+ # permissions: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, DESCRIBE, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
475
+ # permissions_with_grant_option: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, DESCRIBE, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
456
476
  # },
457
477
  # ],
458
478
  # })
@@ -462,20 +482,24 @@ module Aws::LakeFormation
462
482
  # resp.failures #=> Array
463
483
  # resp.failures[0].request_entry.id #=> String
464
484
  # resp.failures[0].request_entry.principal.data_lake_principal_identifier #=> String
485
+ # resp.failures[0].request_entry.resource.database.catalog_id #=> String
465
486
  # resp.failures[0].request_entry.resource.database.name #=> String
487
+ # resp.failures[0].request_entry.resource.table.catalog_id #=> String
466
488
  # resp.failures[0].request_entry.resource.table.database_name #=> String
467
489
  # resp.failures[0].request_entry.resource.table.name #=> String
490
+ # resp.failures[0].request_entry.resource.table_with_columns.catalog_id #=> String
468
491
  # resp.failures[0].request_entry.resource.table_with_columns.database_name #=> String
469
492
  # resp.failures[0].request_entry.resource.table_with_columns.name #=> String
470
493
  # resp.failures[0].request_entry.resource.table_with_columns.column_names #=> Array
471
494
  # resp.failures[0].request_entry.resource.table_with_columns.column_names[0] #=> String
472
495
  # resp.failures[0].request_entry.resource.table_with_columns.column_wildcard.excluded_column_names #=> Array
473
496
  # resp.failures[0].request_entry.resource.table_with_columns.column_wildcard.excluded_column_names[0] #=> String
497
+ # resp.failures[0].request_entry.resource.data_location.catalog_id #=> String
474
498
  # resp.failures[0].request_entry.resource.data_location.resource_arn #=> String
475
499
  # resp.failures[0].request_entry.permissions #=> Array
476
- # resp.failures[0].request_entry.permissions[0] #=> String, one of "ALL", "SELECT", "ALTER", "DROP", "DELETE", "INSERT", "CREATE_DATABASE", "CREATE_TABLE", "DATA_LOCATION_ACCESS"
500
+ # resp.failures[0].request_entry.permissions[0] #=> String, one of "ALL", "SELECT", "ALTER", "DROP", "DELETE", "INSERT", "DESCRIBE", "CREATE_DATABASE", "CREATE_TABLE", "DATA_LOCATION_ACCESS"
477
501
  # resp.failures[0].request_entry.permissions_with_grant_option #=> Array
478
- # resp.failures[0].request_entry.permissions_with_grant_option[0] #=> String, one of "ALL", "SELECT", "ALTER", "DROP", "DELETE", "INSERT", "CREATE_DATABASE", "CREATE_TABLE", "DATA_LOCATION_ACCESS"
502
+ # resp.failures[0].request_entry.permissions_with_grant_option[0] #=> String, one of "ALL", "SELECT", "ALTER", "DROP", "DELETE", "INSERT", "DESCRIBE", "CREATE_DATABASE", "CREATE_TABLE", "DATA_LOCATION_ACCESS"
479
503
  # resp.failures[0].error.error_code #=> String
480
504
  # resp.failures[0].error.error_message #=> String
481
505
  #
@@ -545,7 +569,8 @@ module Aws::LakeFormation
545
569
  req.send_request(options)
546
570
  end
547
571
 
548
- # The AWS Lake Formation principal.
572
+ # Retrieves the list of the data lake administrators of a Lake
573
+ # Formation-managed data lake.
549
574
  #
550
575
  # @option params [String] :catalog_id
551
576
  # The identifier for the Data Catalog. By default, the account ID. The
@@ -570,11 +595,13 @@ module Aws::LakeFormation
570
595
  # resp.data_lake_settings.create_database_default_permissions #=> Array
571
596
  # resp.data_lake_settings.create_database_default_permissions[0].principal.data_lake_principal_identifier #=> String
572
597
  # resp.data_lake_settings.create_database_default_permissions[0].permissions #=> Array
573
- # resp.data_lake_settings.create_database_default_permissions[0].permissions[0] #=> String, one of "ALL", "SELECT", "ALTER", "DROP", "DELETE", "INSERT", "CREATE_DATABASE", "CREATE_TABLE", "DATA_LOCATION_ACCESS"
598
+ # resp.data_lake_settings.create_database_default_permissions[0].permissions[0] #=> String, one of "ALL", "SELECT", "ALTER", "DROP", "DELETE", "INSERT", "DESCRIBE", "CREATE_DATABASE", "CREATE_TABLE", "DATA_LOCATION_ACCESS"
574
599
  # resp.data_lake_settings.create_table_default_permissions #=> Array
575
600
  # resp.data_lake_settings.create_table_default_permissions[0].principal.data_lake_principal_identifier #=> String
576
601
  # resp.data_lake_settings.create_table_default_permissions[0].permissions #=> Array
577
- # resp.data_lake_settings.create_table_default_permissions[0].permissions[0] #=> String, one of "ALL", "SELECT", "ALTER", "DROP", "DELETE", "INSERT", "CREATE_DATABASE", "CREATE_TABLE", "DATA_LOCATION_ACCESS"
602
+ # resp.data_lake_settings.create_table_default_permissions[0].permissions[0] #=> String, one of "ALL", "SELECT", "ALTER", "DROP", "DELETE", "INSERT", "DESCRIBE", "CREATE_DATABASE", "CREATE_TABLE", "DATA_LOCATION_ACCESS"
603
+ # resp.data_lake_settings.trusted_resource_owners #=> Array
604
+ # resp.data_lake_settings.trusted_resource_owners[0] #=> String
578
605
  #
579
606
  # @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/GetDataLakeSettings AWS API Documentation
580
607
  #
@@ -585,8 +612,10 @@ module Aws::LakeFormation
585
612
  req.send_request(options)
586
613
  end
587
614
 
588
- # Returns the permissions for a specified table or database resource
589
- # located at a path in Amazon S3.
615
+ # Returns the Lake Formation permissions for a specified table or
616
+ # database resource located at a path in Amazon S3.
617
+ # `GetEffectivePermissionsForPath` will not return databases and tables
618
+ # if the catalog is encrypted.
590
619
  #
591
620
  # @option params [String] :catalog_id
592
621
  # The identifier for the Data Catalog. By default, the account ID. The
@@ -625,20 +654,26 @@ module Aws::LakeFormation
625
654
  #
626
655
  # resp.permissions #=> Array
627
656
  # resp.permissions[0].principal.data_lake_principal_identifier #=> String
657
+ # resp.permissions[0].resource.database.catalog_id #=> String
628
658
  # resp.permissions[0].resource.database.name #=> String
659
+ # resp.permissions[0].resource.table.catalog_id #=> String
629
660
  # resp.permissions[0].resource.table.database_name #=> String
630
661
  # resp.permissions[0].resource.table.name #=> String
662
+ # resp.permissions[0].resource.table_with_columns.catalog_id #=> String
631
663
  # resp.permissions[0].resource.table_with_columns.database_name #=> String
632
664
  # resp.permissions[0].resource.table_with_columns.name #=> String
633
665
  # resp.permissions[0].resource.table_with_columns.column_names #=> Array
634
666
  # resp.permissions[0].resource.table_with_columns.column_names[0] #=> String
635
667
  # resp.permissions[0].resource.table_with_columns.column_wildcard.excluded_column_names #=> Array
636
668
  # resp.permissions[0].resource.table_with_columns.column_wildcard.excluded_column_names[0] #=> String
669
+ # resp.permissions[0].resource.data_location.catalog_id #=> String
637
670
  # resp.permissions[0].resource.data_location.resource_arn #=> String
638
671
  # resp.permissions[0].permissions #=> Array
639
- # resp.permissions[0].permissions[0] #=> String, one of "ALL", "SELECT", "ALTER", "DROP", "DELETE", "INSERT", "CREATE_DATABASE", "CREATE_TABLE", "DATA_LOCATION_ACCESS"
672
+ # resp.permissions[0].permissions[0] #=> String, one of "ALL", "SELECT", "ALTER", "DROP", "DELETE", "INSERT", "DESCRIBE", "CREATE_DATABASE", "CREATE_TABLE", "DATA_LOCATION_ACCESS"
640
673
  # resp.permissions[0].permissions_with_grant_option #=> Array
641
- # resp.permissions[0].permissions_with_grant_option[0] #=> String, one of "ALL", "SELECT", "ALTER", "DROP", "DELETE", "INSERT", "CREATE_DATABASE", "CREATE_TABLE", "DATA_LOCATION_ACCESS"
674
+ # resp.permissions[0].permissions_with_grant_option[0] #=> String, one of "ALL", "SELECT", "ALTER", "DROP", "DELETE", "INSERT", "DESCRIBE", "CREATE_DATABASE", "CREATE_TABLE", "DATA_LOCATION_ACCESS"
675
+ # resp.permissions[0].additional_details.resource_share #=> Array
676
+ # resp.permissions[0].additional_details.resource_share[0] #=> String
642
677
  # resp.next_token #=> String
643
678
  #
644
679
  # @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/GetEffectivePermissionsForPath AWS API Documentation
@@ -659,7 +694,7 @@ module Aws::LakeFormation
659
694
  #
660
695
  #
661
696
  #
662
- # [1]: https://docs-aws.amazon.com/michigan/latest/dg/security-data-access.html
697
+ # [1]: https://docs-aws.amazon.com/lake-formation/latest/dg/security-data-access.html
663
698
  #
664
699
  # @option params [String] :catalog_id
665
700
  # The identifier for the Data Catalog. By default, the account ID. The
@@ -705,26 +740,32 @@ module Aws::LakeFormation
705
740
  # catalog: {
706
741
  # },
707
742
  # database: {
743
+ # catalog_id: "CatalogIdString",
708
744
  # name: "NameString", # required
709
745
  # },
710
746
  # table: {
747
+ # catalog_id: "CatalogIdString",
711
748
  # database_name: "NameString", # required
712
- # name: "NameString", # required
749
+ # name: "NameString",
750
+ # table_wildcard: {
751
+ # },
713
752
  # },
714
753
  # table_with_columns: {
715
- # database_name: "NameString",
716
- # name: "NameString",
754
+ # catalog_id: "CatalogIdString",
755
+ # database_name: "NameString", # required
756
+ # name: "NameString", # required
717
757
  # column_names: ["NameString"],
718
758
  # column_wildcard: {
719
759
  # excluded_column_names: ["NameString"],
720
760
  # },
721
761
  # },
722
762
  # data_location: {
763
+ # catalog_id: "CatalogIdString",
723
764
  # resource_arn: "ResourceArnString", # required
724
765
  # },
725
766
  # },
726
- # permissions: ["ALL"], # required, accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
727
- # permissions_with_grant_option: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
767
+ # permissions: ["ALL"], # required, accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, DESCRIBE, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
768
+ # permissions_with_grant_option: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, DESCRIBE, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
728
769
  # })
729
770
  #
730
771
  # @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/GrantPermissions AWS API Documentation
@@ -749,7 +790,7 @@ module Aws::LakeFormation
749
790
  #
750
791
  #
751
792
  #
752
- # [1]: https://docs-aws.amazon.com/michigan/latest/dg/security-data-access.html
793
+ # [1]: https://docs-aws.amazon.com/lake-formation/latest/dg/security-data-access.html
753
794
  #
754
795
  # @option params [String] :catalog_id
755
796
  # The identifier for the Data Catalog. By default, the account ID. The
@@ -796,21 +837,27 @@ module Aws::LakeFormation
796
837
  # catalog: {
797
838
  # },
798
839
  # database: {
840
+ # catalog_id: "CatalogIdString",
799
841
  # name: "NameString", # required
800
842
  # },
801
843
  # table: {
844
+ # catalog_id: "CatalogIdString",
802
845
  # database_name: "NameString", # required
803
- # name: "NameString", # required
846
+ # name: "NameString",
847
+ # table_wildcard: {
848
+ # },
804
849
  # },
805
850
  # table_with_columns: {
806
- # database_name: "NameString",
807
- # name: "NameString",
851
+ # catalog_id: "CatalogIdString",
852
+ # database_name: "NameString", # required
853
+ # name: "NameString", # required
808
854
  # column_names: ["NameString"],
809
855
  # column_wildcard: {
810
856
  # excluded_column_names: ["NameString"],
811
857
  # },
812
858
  # },
813
859
  # data_location: {
860
+ # catalog_id: "CatalogIdString",
814
861
  # resource_arn: "ResourceArnString", # required
815
862
  # },
816
863
  # },
@@ -822,20 +869,26 @@ module Aws::LakeFormation
822
869
  #
823
870
  # resp.principal_resource_permissions #=> Array
824
871
  # resp.principal_resource_permissions[0].principal.data_lake_principal_identifier #=> String
872
+ # resp.principal_resource_permissions[0].resource.database.catalog_id #=> String
825
873
  # resp.principal_resource_permissions[0].resource.database.name #=> String
874
+ # resp.principal_resource_permissions[0].resource.table.catalog_id #=> String
826
875
  # resp.principal_resource_permissions[0].resource.table.database_name #=> String
827
876
  # resp.principal_resource_permissions[0].resource.table.name #=> String
877
+ # resp.principal_resource_permissions[0].resource.table_with_columns.catalog_id #=> String
828
878
  # resp.principal_resource_permissions[0].resource.table_with_columns.database_name #=> String
829
879
  # resp.principal_resource_permissions[0].resource.table_with_columns.name #=> String
830
880
  # resp.principal_resource_permissions[0].resource.table_with_columns.column_names #=> Array
831
881
  # resp.principal_resource_permissions[0].resource.table_with_columns.column_names[0] #=> String
832
882
  # resp.principal_resource_permissions[0].resource.table_with_columns.column_wildcard.excluded_column_names #=> Array
833
883
  # resp.principal_resource_permissions[0].resource.table_with_columns.column_wildcard.excluded_column_names[0] #=> String
884
+ # resp.principal_resource_permissions[0].resource.data_location.catalog_id #=> String
834
885
  # resp.principal_resource_permissions[0].resource.data_location.resource_arn #=> String
835
886
  # resp.principal_resource_permissions[0].permissions #=> Array
836
- # resp.principal_resource_permissions[0].permissions[0] #=> String, one of "ALL", "SELECT", "ALTER", "DROP", "DELETE", "INSERT", "CREATE_DATABASE", "CREATE_TABLE", "DATA_LOCATION_ACCESS"
887
+ # resp.principal_resource_permissions[0].permissions[0] #=> String, one of "ALL", "SELECT", "ALTER", "DROP", "DELETE", "INSERT", "DESCRIBE", "CREATE_DATABASE", "CREATE_TABLE", "DATA_LOCATION_ACCESS"
837
888
  # resp.principal_resource_permissions[0].permissions_with_grant_option #=> Array
838
- # resp.principal_resource_permissions[0].permissions_with_grant_option[0] #=> String, one of "ALL", "SELECT", "ALTER", "DROP", "DELETE", "INSERT", "CREATE_DATABASE", "CREATE_TABLE", "DATA_LOCATION_ACCESS"
889
+ # resp.principal_resource_permissions[0].permissions_with_grant_option[0] #=> String, one of "ALL", "SELECT", "ALTER", "DROP", "DELETE", "INSERT", "DESCRIBE", "CREATE_DATABASE", "CREATE_TABLE", "DATA_LOCATION_ACCESS"
890
+ # resp.principal_resource_permissions[0].additional_details.resource_share #=> Array
891
+ # resp.principal_resource_permissions[0].additional_details.resource_share[0] #=> String
839
892
  # resp.next_token #=> String
840
893
  #
841
894
  # @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/ListPermissions AWS API Documentation
@@ -898,7 +951,17 @@ module Aws::LakeFormation
898
951
  req.send_request(options)
899
952
  end
900
953
 
901
- # The AWS Lake Formation principal.
954
+ # Sets the list of data lake administrators who have admin privileges on
955
+ # all resources managed by Lake Formation. For more information on admin
956
+ # privileges, see [Granting Lake Formation Permissions][1].
957
+ #
958
+ # This API replaces the current list of data lake admins with the new
959
+ # list being passed. To add an admin, fetch the current list and add the
960
+ # new admin to that list and pass that list in this API.
961
+ #
962
+ #
963
+ #
964
+ # [1]: https://docs.aws.amazon.com/lake-formation/latest/dg/lake-formation-permissions.html
902
965
  #
903
966
  # @option params [String] :catalog_id
904
967
  # The identifier for the Data Catalog. By default, the account ID. The
@@ -907,7 +970,8 @@ module Aws::LakeFormation
907
970
  # manage your AWS Lake Formation environment.
908
971
  #
909
972
  # @option params [required, Types::DataLakeSettings] :data_lake_settings
910
- # A list of AWS Lake Formation principals.
973
+ # A structure representing a list of AWS Lake Formation principals
974
+ # designated as data lake administrators.
911
975
  #
912
976
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
913
977
  #
@@ -926,7 +990,7 @@ module Aws::LakeFormation
926
990
  # principal: {
927
991
  # data_lake_principal_identifier: "DataLakePrincipalString",
928
992
  # },
929
- # permissions: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
993
+ # permissions: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, DESCRIBE, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
930
994
  # },
931
995
  # ],
932
996
  # create_table_default_permissions: [
@@ -934,9 +998,10 @@ module Aws::LakeFormation
934
998
  # principal: {
935
999
  # data_lake_principal_identifier: "DataLakePrincipalString",
936
1000
  # },
937
- # permissions: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
1001
+ # permissions: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, DESCRIBE, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
938
1002
  # },
939
1003
  # ],
1004
+ # trusted_resource_owners: ["CatalogIdString"],
940
1005
  # },
941
1006
  # })
942
1007
  #
@@ -960,16 +1025,36 @@ module Aws::LakeFormation
960
1025
  # attaches it to the service-linked role. When you register subsequent
961
1026
  # paths, Lake Formation adds the path to the existing policy.
962
1027
  #
1028
+ # The following request registers a new location and gives AWS Lake
1029
+ # Formation permission to use the service-linked role to access that
1030
+ # location.
1031
+ #
1032
+ # `ResourceArn = arn:aws:s3:::my-bucket UseServiceLinkedRole = true`
1033
+ #
1034
+ # If `UseServiceLinkedRole` is not set to true, you must provide or set
1035
+ # the `RoleArn`\:
1036
+ #
1037
+ # `arn:aws:iam::12345:role/my-data-access-role`
1038
+ #
963
1039
  # @option params [required, String] :resource_arn
964
1040
  # The Amazon Resource Name (ARN) of the resource that you want to
965
1041
  # register.
966
1042
  #
967
1043
  # @option params [Boolean] :use_service_linked_role
968
- # Designates a trusted caller, an IAM principal, by registering this
969
- # caller with the Data Catalog.
1044
+ # Designates an AWS Identity and Access Management (IAM) service-linked
1045
+ # role by registering this role with the Data Catalog. A service-linked
1046
+ # role is a unique type of IAM role that is linked directly to Lake
1047
+ # Formation.
1048
+ #
1049
+ # For more information, see [Using Service-Linked Roles for Lake
1050
+ # Formation][1].
1051
+ #
1052
+ #
1053
+ #
1054
+ # [1]: https://docs-aws.amazon.com/lake-formation/latest/dg/service-linked-roles.html
970
1055
  #
971
1056
  # @option params [String] :role_arn
972
- # The identifier for the role.
1057
+ # The identifier for the role that registers the resource.
973
1058
  #
974
1059
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
975
1060
  #
@@ -1013,7 +1098,7 @@ module Aws::LakeFormation
1013
1098
  #
1014
1099
  #
1015
1100
  #
1016
- # [1]: https://docs-aws.amazon.com/michigan/latest/dg/security-data-access.html
1101
+ # [1]: https://docs-aws.amazon.com/lake-formation/latest/dg/security-data-access.html
1017
1102
  #
1018
1103
  # @option params [Array<String>] :permissions_with_grant_option
1019
1104
  # Indicates a list of permissions for which to revoke the grant option
@@ -1032,26 +1117,32 @@ module Aws::LakeFormation
1032
1117
  # catalog: {
1033
1118
  # },
1034
1119
  # database: {
1120
+ # catalog_id: "CatalogIdString",
1035
1121
  # name: "NameString", # required
1036
1122
  # },
1037
1123
  # table: {
1124
+ # catalog_id: "CatalogIdString",
1038
1125
  # database_name: "NameString", # required
1039
- # name: "NameString", # required
1126
+ # name: "NameString",
1127
+ # table_wildcard: {
1128
+ # },
1040
1129
  # },
1041
1130
  # table_with_columns: {
1042
- # database_name: "NameString",
1043
- # name: "NameString",
1131
+ # catalog_id: "CatalogIdString",
1132
+ # database_name: "NameString", # required
1133
+ # name: "NameString", # required
1044
1134
  # column_names: ["NameString"],
1045
1135
  # column_wildcard: {
1046
1136
  # excluded_column_names: ["NameString"],
1047
1137
  # },
1048
1138
  # },
1049
1139
  # data_location: {
1140
+ # catalog_id: "CatalogIdString",
1050
1141
  # resource_arn: "ResourceArnString", # required
1051
1142
  # },
1052
1143
  # },
1053
- # permissions: ["ALL"], # required, accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
1054
- # permissions_with_grant_option: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
1144
+ # permissions: ["ALL"], # required, accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, DESCRIBE, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
1145
+ # permissions_with_grant_option: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, DESCRIBE, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
1055
1146
  # })
1056
1147
  #
1057
1148
  # @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/RevokePermissions AWS API Documentation
@@ -1104,7 +1195,7 @@ module Aws::LakeFormation
1104
1195
  params: params,
1105
1196
  config: config)
1106
1197
  context[:gem_name] = 'aws-sdk-lakeformation'
1107
- context[:gem_version] = '1.3.0'
1198
+ context[:gem_version] = '1.8.0'
1108
1199
  Seahorse::Client::Request.new(handlers, context)
1109
1200
  end
1110
1201