aws-sdk-lakeformation 1.6.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 971193e6f195f1e8becb9d9422e830c8c46211ec0c3072d3cc28bbe57f769ceb
4
- data.tar.gz: 580f7f21d7049c7b432728bc5495e24d020487117e78d18b3917ff58a13006a3
3
+ metadata.gz: 2e13171b1878aaab8a87f18b45292807c7529d9a81f4f6049ba102a0b5b7983c
4
+ data.tar.gz: fe2892b97fbfdfbe2638479f54810873851d3d331031f814cdee4f79c1d24670
5
5
  SHA512:
6
- metadata.gz: ddf3980b73fc2482694f1367924b69bb381ae1f634faaf4214e3ac48fa19ce509a24f6a4fbb004b33b956497d32f18e58ddc8653bdf612629941d819ee43468b
7
- data.tar.gz: 7609eaa08a97bb30039c45dee54eeb41f5b4309ed3558f29b3c8c6706cd795224acc48b8b15c66ea14fd43ad6d39d286817e8a47596da9cff963854488eabfb5
6
+ metadata.gz: a981a892f375c416ad0731527c4dfc5bff2e1e8098474a069df9086d18bf8c9eb8c1bae6e745c1ad6d5f2c741afdb701847bdf7c986f7fcbdf0ef21bcc9221e6
7
+ data.tar.gz: b46100b9f6788aee043fa892047f1172cba752d2a5756ab79da745d5efadf30f4fc6ef7a8e83260a6a897fe7c856de6ab2d2a7b693551529d350da1ea39b7845
@@ -47,6 +47,6 @@ require_relative 'aws-sdk-lakeformation/customizations'
47
47
  # @service
48
48
  module Aws::LakeFormation
49
49
 
50
- GEM_VERSION = '1.6.0'
50
+ GEM_VERSION = '1.7.0'
51
51
 
52
52
  end
@@ -352,26 +352,32 @@ module Aws::LakeFormation
352
352
  # catalog: {
353
353
  # },
354
354
  # database: {
355
+ # catalog_id: "CatalogIdString",
355
356
  # name: "NameString", # required
356
357
  # },
357
358
  # table: {
359
+ # catalog_id: "CatalogIdString",
358
360
  # database_name: "NameString", # required
359
- # name: "NameString", # required
361
+ # name: "NameString",
362
+ # table_wildcard: {
363
+ # },
360
364
  # },
361
365
  # table_with_columns: {
362
- # database_name: "NameString",
363
- # name: "NameString",
366
+ # catalog_id: "CatalogIdString",
367
+ # database_name: "NameString", # required
368
+ # name: "NameString", # required
364
369
  # column_names: ["NameString"],
365
370
  # column_wildcard: {
366
371
  # excluded_column_names: ["NameString"],
367
372
  # },
368
373
  # },
369
374
  # data_location: {
375
+ # catalog_id: "CatalogIdString",
370
376
  # resource_arn: "ResourceArnString", # required
371
377
  # },
372
378
  # },
373
- # permissions: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
374
- # 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
375
381
  # },
376
382
  # ],
377
383
  # })
@@ -381,20 +387,24 @@ module Aws::LakeFormation
381
387
  # resp.failures #=> Array
382
388
  # resp.failures[0].request_entry.id #=> String
383
389
  # resp.failures[0].request_entry.principal.data_lake_principal_identifier #=> String
390
+ # resp.failures[0].request_entry.resource.database.catalog_id #=> String
384
391
  # resp.failures[0].request_entry.resource.database.name #=> String
392
+ # resp.failures[0].request_entry.resource.table.catalog_id #=> String
385
393
  # resp.failures[0].request_entry.resource.table.database_name #=> String
386
394
  # resp.failures[0].request_entry.resource.table.name #=> String
395
+ # resp.failures[0].request_entry.resource.table_with_columns.catalog_id #=> String
387
396
  # resp.failures[0].request_entry.resource.table_with_columns.database_name #=> String
388
397
  # resp.failures[0].request_entry.resource.table_with_columns.name #=> String
389
398
  # resp.failures[0].request_entry.resource.table_with_columns.column_names #=> Array
390
399
  # resp.failures[0].request_entry.resource.table_with_columns.column_names[0] #=> String
391
400
  # resp.failures[0].request_entry.resource.table_with_columns.column_wildcard.excluded_column_names #=> Array
392
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
393
403
  # resp.failures[0].request_entry.resource.data_location.resource_arn #=> String
394
404
  # resp.failures[0].request_entry.permissions #=> Array
395
- # 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"
396
406
  # resp.failures[0].request_entry.permissions_with_grant_option #=> Array
397
- # 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"
398
408
  # resp.failures[0].error.error_code #=> String
399
409
  # resp.failures[0].error.error_message #=> String
400
410
  #
@@ -437,26 +447,32 @@ module Aws::LakeFormation
437
447
  # catalog: {
438
448
  # },
439
449
  # database: {
450
+ # catalog_id: "CatalogIdString",
440
451
  # name: "NameString", # required
441
452
  # },
442
453
  # table: {
454
+ # catalog_id: "CatalogIdString",
443
455
  # database_name: "NameString", # required
444
- # name: "NameString", # required
456
+ # name: "NameString",
457
+ # table_wildcard: {
458
+ # },
445
459
  # },
446
460
  # table_with_columns: {
447
- # database_name: "NameString",
448
- # name: "NameString",
461
+ # catalog_id: "CatalogIdString",
462
+ # database_name: "NameString", # required
463
+ # name: "NameString", # required
449
464
  # column_names: ["NameString"],
450
465
  # column_wildcard: {
451
466
  # excluded_column_names: ["NameString"],
452
467
  # },
453
468
  # },
454
469
  # data_location: {
470
+ # catalog_id: "CatalogIdString",
455
471
  # resource_arn: "ResourceArnString", # required
456
472
  # },
457
473
  # },
458
- # permissions: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
459
- # 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
460
476
  # },
461
477
  # ],
462
478
  # })
@@ -466,20 +482,24 @@ module Aws::LakeFormation
466
482
  # resp.failures #=> Array
467
483
  # resp.failures[0].request_entry.id #=> String
468
484
  # resp.failures[0].request_entry.principal.data_lake_principal_identifier #=> String
485
+ # resp.failures[0].request_entry.resource.database.catalog_id #=> String
469
486
  # resp.failures[0].request_entry.resource.database.name #=> String
487
+ # resp.failures[0].request_entry.resource.table.catalog_id #=> String
470
488
  # resp.failures[0].request_entry.resource.table.database_name #=> String
471
489
  # resp.failures[0].request_entry.resource.table.name #=> String
490
+ # resp.failures[0].request_entry.resource.table_with_columns.catalog_id #=> String
472
491
  # resp.failures[0].request_entry.resource.table_with_columns.database_name #=> String
473
492
  # resp.failures[0].request_entry.resource.table_with_columns.name #=> String
474
493
  # resp.failures[0].request_entry.resource.table_with_columns.column_names #=> Array
475
494
  # resp.failures[0].request_entry.resource.table_with_columns.column_names[0] #=> String
476
495
  # resp.failures[0].request_entry.resource.table_with_columns.column_wildcard.excluded_column_names #=> Array
477
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
478
498
  # resp.failures[0].request_entry.resource.data_location.resource_arn #=> String
479
499
  # resp.failures[0].request_entry.permissions #=> Array
480
- # 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"
481
501
  # resp.failures[0].request_entry.permissions_with_grant_option #=> Array
482
- # 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"
483
503
  # resp.failures[0].error.error_code #=> String
484
504
  # resp.failures[0].error.error_message #=> String
485
505
  #
@@ -549,7 +569,8 @@ module Aws::LakeFormation
549
569
  req.send_request(options)
550
570
  end
551
571
 
552
- # The AWS Lake Formation principal.
572
+ # Retrieves the list of the data lake administrators of a Lake
573
+ # Formation-managed data lake.
553
574
  #
554
575
  # @option params [String] :catalog_id
555
576
  # The identifier for the Data Catalog. By default, the account ID. The
@@ -574,11 +595,13 @@ module Aws::LakeFormation
574
595
  # resp.data_lake_settings.create_database_default_permissions #=> Array
575
596
  # resp.data_lake_settings.create_database_default_permissions[0].principal.data_lake_principal_identifier #=> String
576
597
  # resp.data_lake_settings.create_database_default_permissions[0].permissions #=> Array
577
- # 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"
578
599
  # resp.data_lake_settings.create_table_default_permissions #=> Array
579
600
  # resp.data_lake_settings.create_table_default_permissions[0].principal.data_lake_principal_identifier #=> String
580
601
  # resp.data_lake_settings.create_table_default_permissions[0].permissions #=> Array
581
- # 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
582
605
  #
583
606
  # @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/GetDataLakeSettings AWS API Documentation
584
607
  #
@@ -589,8 +612,10 @@ module Aws::LakeFormation
589
612
  req.send_request(options)
590
613
  end
591
614
 
592
- # Returns the permissions for a specified table or database resource
593
- # 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.
594
619
  #
595
620
  # @option params [String] :catalog_id
596
621
  # The identifier for the Data Catalog. By default, the account ID. The
@@ -629,20 +654,24 @@ module Aws::LakeFormation
629
654
  #
630
655
  # resp.permissions #=> Array
631
656
  # resp.permissions[0].principal.data_lake_principal_identifier #=> String
657
+ # resp.permissions[0].resource.database.catalog_id #=> String
632
658
  # resp.permissions[0].resource.database.name #=> String
659
+ # resp.permissions[0].resource.table.catalog_id #=> String
633
660
  # resp.permissions[0].resource.table.database_name #=> String
634
661
  # resp.permissions[0].resource.table.name #=> String
662
+ # resp.permissions[0].resource.table_with_columns.catalog_id #=> String
635
663
  # resp.permissions[0].resource.table_with_columns.database_name #=> String
636
664
  # resp.permissions[0].resource.table_with_columns.name #=> String
637
665
  # resp.permissions[0].resource.table_with_columns.column_names #=> Array
638
666
  # resp.permissions[0].resource.table_with_columns.column_names[0] #=> String
639
667
  # resp.permissions[0].resource.table_with_columns.column_wildcard.excluded_column_names #=> Array
640
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
641
670
  # resp.permissions[0].resource.data_location.resource_arn #=> String
642
671
  # resp.permissions[0].permissions #=> Array
643
- # 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"
644
673
  # resp.permissions[0].permissions_with_grant_option #=> Array
645
- # 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"
646
675
  # resp.next_token #=> String
647
676
  #
648
677
  # @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/GetEffectivePermissionsForPath AWS API Documentation
@@ -663,7 +692,7 @@ module Aws::LakeFormation
663
692
  #
664
693
  #
665
694
  #
666
- # [1]: https://docs-aws.amazon.com/michigan/latest/dg/security-data-access.html
695
+ # [1]: https://docs-aws.amazon.com/lake-formation/latest/dg/security-data-access.html
667
696
  #
668
697
  # @option params [String] :catalog_id
669
698
  # The identifier for the Data Catalog. By default, the account ID. The
@@ -709,26 +738,32 @@ module Aws::LakeFormation
709
738
  # catalog: {
710
739
  # },
711
740
  # database: {
741
+ # catalog_id: "CatalogIdString",
712
742
  # name: "NameString", # required
713
743
  # },
714
744
  # table: {
745
+ # catalog_id: "CatalogIdString",
715
746
  # database_name: "NameString", # required
716
- # name: "NameString", # required
747
+ # name: "NameString",
748
+ # table_wildcard: {
749
+ # },
717
750
  # },
718
751
  # table_with_columns: {
719
- # database_name: "NameString",
720
- # name: "NameString",
752
+ # catalog_id: "CatalogIdString",
753
+ # database_name: "NameString", # required
754
+ # name: "NameString", # required
721
755
  # column_names: ["NameString"],
722
756
  # column_wildcard: {
723
757
  # excluded_column_names: ["NameString"],
724
758
  # },
725
759
  # },
726
760
  # data_location: {
761
+ # catalog_id: "CatalogIdString",
727
762
  # resource_arn: "ResourceArnString", # required
728
763
  # },
729
764
  # },
730
- # permissions: ["ALL"], # required, accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
731
- # permissions_with_grant_option: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
765
+ # permissions: ["ALL"], # required, accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, DESCRIBE, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
766
+ # permissions_with_grant_option: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, DESCRIBE, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
732
767
  # })
733
768
  #
734
769
  # @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/GrantPermissions AWS API Documentation
@@ -753,7 +788,7 @@ module Aws::LakeFormation
753
788
  #
754
789
  #
755
790
  #
756
- # [1]: https://docs-aws.amazon.com/michigan/latest/dg/security-data-access.html
791
+ # [1]: https://docs-aws.amazon.com/lake-formation/latest/dg/security-data-access.html
757
792
  #
758
793
  # @option params [String] :catalog_id
759
794
  # The identifier for the Data Catalog. By default, the account ID. The
@@ -800,21 +835,27 @@ module Aws::LakeFormation
800
835
  # catalog: {
801
836
  # },
802
837
  # database: {
838
+ # catalog_id: "CatalogIdString",
803
839
  # name: "NameString", # required
804
840
  # },
805
841
  # table: {
842
+ # catalog_id: "CatalogIdString",
806
843
  # database_name: "NameString", # required
807
- # name: "NameString", # required
844
+ # name: "NameString",
845
+ # table_wildcard: {
846
+ # },
808
847
  # },
809
848
  # table_with_columns: {
810
- # database_name: "NameString",
811
- # name: "NameString",
849
+ # catalog_id: "CatalogIdString",
850
+ # database_name: "NameString", # required
851
+ # name: "NameString", # required
812
852
  # column_names: ["NameString"],
813
853
  # column_wildcard: {
814
854
  # excluded_column_names: ["NameString"],
815
855
  # },
816
856
  # },
817
857
  # data_location: {
858
+ # catalog_id: "CatalogIdString",
818
859
  # resource_arn: "ResourceArnString", # required
819
860
  # },
820
861
  # },
@@ -826,20 +867,24 @@ module Aws::LakeFormation
826
867
  #
827
868
  # resp.principal_resource_permissions #=> Array
828
869
  # resp.principal_resource_permissions[0].principal.data_lake_principal_identifier #=> String
870
+ # resp.principal_resource_permissions[0].resource.database.catalog_id #=> String
829
871
  # resp.principal_resource_permissions[0].resource.database.name #=> String
872
+ # resp.principal_resource_permissions[0].resource.table.catalog_id #=> String
830
873
  # resp.principal_resource_permissions[0].resource.table.database_name #=> String
831
874
  # resp.principal_resource_permissions[0].resource.table.name #=> String
875
+ # resp.principal_resource_permissions[0].resource.table_with_columns.catalog_id #=> String
832
876
  # resp.principal_resource_permissions[0].resource.table_with_columns.database_name #=> String
833
877
  # resp.principal_resource_permissions[0].resource.table_with_columns.name #=> String
834
878
  # resp.principal_resource_permissions[0].resource.table_with_columns.column_names #=> Array
835
879
  # resp.principal_resource_permissions[0].resource.table_with_columns.column_names[0] #=> String
836
880
  # resp.principal_resource_permissions[0].resource.table_with_columns.column_wildcard.excluded_column_names #=> Array
837
881
  # resp.principal_resource_permissions[0].resource.table_with_columns.column_wildcard.excluded_column_names[0] #=> String
882
+ # resp.principal_resource_permissions[0].resource.data_location.catalog_id #=> String
838
883
  # resp.principal_resource_permissions[0].resource.data_location.resource_arn #=> String
839
884
  # resp.principal_resource_permissions[0].permissions #=> Array
840
- # resp.principal_resource_permissions[0].permissions[0] #=> String, one of "ALL", "SELECT", "ALTER", "DROP", "DELETE", "INSERT", "CREATE_DATABASE", "CREATE_TABLE", "DATA_LOCATION_ACCESS"
885
+ # resp.principal_resource_permissions[0].permissions[0] #=> String, one of "ALL", "SELECT", "ALTER", "DROP", "DELETE", "INSERT", "DESCRIBE", "CREATE_DATABASE", "CREATE_TABLE", "DATA_LOCATION_ACCESS"
841
886
  # resp.principal_resource_permissions[0].permissions_with_grant_option #=> Array
842
- # 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"
887
+ # 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"
843
888
  # resp.next_token #=> String
844
889
  #
845
890
  # @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/ListPermissions AWS API Documentation
@@ -902,7 +947,17 @@ module Aws::LakeFormation
902
947
  req.send_request(options)
903
948
  end
904
949
 
905
- # The AWS Lake Formation principal.
950
+ # Sets the list of data lake administrators who have admin privileges on
951
+ # all resources managed by Lake Formation. For more information on admin
952
+ # privileges, see [Granting Lake Formation Permissions][1].
953
+ #
954
+ # This API replaces the current list of data lake admins with the new
955
+ # list being passed. To add an admin, fetch the current list and add the
956
+ # new admin to that list and pass that list in this API.
957
+ #
958
+ #
959
+ #
960
+ # [1]: https://docs.aws.amazon.com/lake-formation/latest/dg/lake-formation-permissions.html
906
961
  #
907
962
  # @option params [String] :catalog_id
908
963
  # The identifier for the Data Catalog. By default, the account ID. The
@@ -911,7 +966,8 @@ module Aws::LakeFormation
911
966
  # manage your AWS Lake Formation environment.
912
967
  #
913
968
  # @option params [required, Types::DataLakeSettings] :data_lake_settings
914
- # A list of AWS Lake Formation principals.
969
+ # A structure representing a list of AWS Lake Formation principals
970
+ # designated as data lake administrators.
915
971
  #
916
972
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
917
973
  #
@@ -930,7 +986,7 @@ module Aws::LakeFormation
930
986
  # principal: {
931
987
  # data_lake_principal_identifier: "DataLakePrincipalString",
932
988
  # },
933
- # permissions: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
989
+ # permissions: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, DESCRIBE, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
934
990
  # },
935
991
  # ],
936
992
  # create_table_default_permissions: [
@@ -938,9 +994,10 @@ module Aws::LakeFormation
938
994
  # principal: {
939
995
  # data_lake_principal_identifier: "DataLakePrincipalString",
940
996
  # },
941
- # permissions: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
997
+ # permissions: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, DESCRIBE, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
942
998
  # },
943
999
  # ],
1000
+ # trusted_resource_owners: ["CatalogIdString"],
944
1001
  # },
945
1002
  # })
946
1003
  #
@@ -964,16 +1021,36 @@ module Aws::LakeFormation
964
1021
  # attaches it to the service-linked role. When you register subsequent
965
1022
  # paths, Lake Formation adds the path to the existing policy.
966
1023
  #
1024
+ # The following request registers a new location and gives AWS Lake
1025
+ # Formation permission to use the service-linked role to access that
1026
+ # location.
1027
+ #
1028
+ # `ResourceArn = arn:aws:s3:::my-bucket UseServiceLinkedRole = true`
1029
+ #
1030
+ # If `UseServiceLinkedRole` is not set to true, you must provide or set
1031
+ # the `RoleArn`\:
1032
+ #
1033
+ # `arn:aws:iam::12345:role/my-data-access-role`
1034
+ #
967
1035
  # @option params [required, String] :resource_arn
968
1036
  # The Amazon Resource Name (ARN) of the resource that you want to
969
1037
  # register.
970
1038
  #
971
1039
  # @option params [Boolean] :use_service_linked_role
972
- # Designates a trusted caller, an IAM principal, by registering this
973
- # caller with the Data Catalog.
1040
+ # Designates an AWS Identity and Access Management (IAM) service-linked
1041
+ # role by registering this role with the Data Catalog. A service-linked
1042
+ # role is a unique type of IAM role that is linked directly to Lake
1043
+ # Formation.
1044
+ #
1045
+ # For more information, see [Using Service-Linked Roles for Lake
1046
+ # Formation][1].
1047
+ #
1048
+ #
1049
+ #
1050
+ # [1]: https://docs-aws.amazon.com/lake-formation/latest/dg/service-linked-roles.html
974
1051
  #
975
1052
  # @option params [String] :role_arn
976
- # The identifier for the role.
1053
+ # The identifier for the role that registers the resource.
977
1054
  #
978
1055
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
979
1056
  #
@@ -1017,7 +1094,7 @@ module Aws::LakeFormation
1017
1094
  #
1018
1095
  #
1019
1096
  #
1020
- # [1]: https://docs-aws.amazon.com/michigan/latest/dg/security-data-access.html
1097
+ # [1]: https://docs-aws.amazon.com/lake-formation/latest/dg/security-data-access.html
1021
1098
  #
1022
1099
  # @option params [Array<String>] :permissions_with_grant_option
1023
1100
  # Indicates a list of permissions for which to revoke the grant option
@@ -1036,26 +1113,32 @@ module Aws::LakeFormation
1036
1113
  # catalog: {
1037
1114
  # },
1038
1115
  # database: {
1116
+ # catalog_id: "CatalogIdString",
1039
1117
  # name: "NameString", # required
1040
1118
  # },
1041
1119
  # table: {
1120
+ # catalog_id: "CatalogIdString",
1042
1121
  # database_name: "NameString", # required
1043
- # name: "NameString", # required
1122
+ # name: "NameString",
1123
+ # table_wildcard: {
1124
+ # },
1044
1125
  # },
1045
1126
  # table_with_columns: {
1046
- # database_name: "NameString",
1047
- # name: "NameString",
1127
+ # catalog_id: "CatalogIdString",
1128
+ # database_name: "NameString", # required
1129
+ # name: "NameString", # required
1048
1130
  # column_names: ["NameString"],
1049
1131
  # column_wildcard: {
1050
1132
  # excluded_column_names: ["NameString"],
1051
1133
  # },
1052
1134
  # },
1053
1135
  # data_location: {
1136
+ # catalog_id: "CatalogIdString",
1054
1137
  # resource_arn: "ResourceArnString", # required
1055
1138
  # },
1056
1139
  # },
1057
- # permissions: ["ALL"], # required, accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
1058
- # permissions_with_grant_option: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
1140
+ # permissions: ["ALL"], # required, accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, DESCRIBE, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
1141
+ # permissions_with_grant_option: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, DESCRIBE, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
1059
1142
  # })
1060
1143
  #
1061
1144
  # @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/RevokePermissions AWS API Documentation
@@ -1108,7 +1191,7 @@ module Aws::LakeFormation
1108
1191
  params: params,
1109
1192
  config: config)
1110
1193
  context[:gem_name] = 'aws-sdk-lakeformation'
1111
- context[:gem_version] = '1.6.0'
1194
+ context[:gem_version] = '1.7.0'
1112
1195
  Seahorse::Client::Request.new(handlers, context)
1113
1196
  end
1114
1197
 
@@ -84,8 +84,10 @@ module Aws::LakeFormation
84
84
  StringValue = Shapes::StringShape.new(name: 'StringValue')
85
85
  StringValueList = Shapes::ListShape.new(name: 'StringValueList')
86
86
  TableResource = Shapes::StructureShape.new(name: 'TableResource')
87
+ TableWildcard = Shapes::StructureShape.new(name: 'TableWildcard')
87
88
  TableWithColumnsResource = Shapes::StructureShape.new(name: 'TableWithColumnsResource')
88
89
  Token = Shapes::StringShape.new(name: 'Token')
90
+ TrustedResourceOwners = Shapes::ListShape.new(name: 'TrustedResourceOwners')
89
91
  UpdateResourceRequest = Shapes::StructureShape.new(name: 'UpdateResourceRequest')
90
92
  UpdateResourceResponse = Shapes::StructureShape.new(name: 'UpdateResourceResponse')
91
93
 
@@ -139,11 +141,14 @@ module Aws::LakeFormation
139
141
  DataLakeSettings.add_member(:data_lake_admins, Shapes::ShapeRef.new(shape: DataLakePrincipalList, location_name: "DataLakeAdmins"))
140
142
  DataLakeSettings.add_member(:create_database_default_permissions, Shapes::ShapeRef.new(shape: PrincipalPermissionsList, location_name: "CreateDatabaseDefaultPermissions"))
141
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"))
142
145
  DataLakeSettings.struct_class = Types::DataLakeSettings
143
146
 
147
+ DataLocationResource.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
144
148
  DataLocationResource.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArnString, required: true, location_name: "ResourceArn"))
145
149
  DataLocationResource.struct_class = Types::DataLocationResource
146
150
 
151
+ DatabaseResource.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
147
152
  DatabaseResource.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Name"))
148
153
  DatabaseResource.struct_class = Types::DatabaseResource
149
154
 
@@ -281,16 +286,23 @@ module Aws::LakeFormation
281
286
 
282
287
  StringValueList.member = Shapes::ShapeRef.new(shape: StringValue)
283
288
 
289
+ TableResource.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
284
290
  TableResource.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "DatabaseName"))
285
- 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"))
286
293
  TableResource.struct_class = Types::TableResource
287
294
 
288
- TableWithColumnsResource.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, location_name: "DatabaseName"))
289
- 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"))
290
300
  TableWithColumnsResource.add_member(:column_names, Shapes::ShapeRef.new(shape: ColumnNames, location_name: "ColumnNames"))
291
301
  TableWithColumnsResource.add_member(:column_wildcard, Shapes::ShapeRef.new(shape: ColumnWildcard, location_name: "ColumnWildcard"))
292
302
  TableWithColumnsResource.struct_class = Types::TableWithColumnsResource
293
303
 
304
+ TrustedResourceOwners.member = Shapes::ShapeRef.new(shape: CatalogIdString)
305
+
294
306
  UpdateResourceRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: IAMRoleArn, required: true, location_name: "RoleArn"))
295
307
  UpdateResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArnString, required: true, location_name: "ResourceArn"))
296
308
  UpdateResourceRequest.struct_class = Types::UpdateResourceRequest
@@ -39,26 +39,32 @@ module Aws::LakeFormation
39
39
  # catalog: {
40
40
  # },
41
41
  # database: {
42
+ # catalog_id: "CatalogIdString",
42
43
  # name: "NameString", # required
43
44
  # },
44
45
  # table: {
46
+ # catalog_id: "CatalogIdString",
45
47
  # database_name: "NameString", # required
46
- # name: "NameString", # required
48
+ # name: "NameString",
49
+ # table_wildcard: {
50
+ # },
47
51
  # },
48
52
  # table_with_columns: {
49
- # database_name: "NameString",
50
- # name: "NameString",
53
+ # catalog_id: "CatalogIdString",
54
+ # database_name: "NameString", # required
55
+ # name: "NameString", # required
51
56
  # column_names: ["NameString"],
52
57
  # column_wildcard: {
53
58
  # excluded_column_names: ["NameString"],
54
59
  # },
55
60
  # },
56
61
  # data_location: {
62
+ # catalog_id: "CatalogIdString",
57
63
  # resource_arn: "ResourceArnString", # required
58
64
  # },
59
65
  # },
60
- # permissions: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
61
- # 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
62
68
  # },
63
69
  # ],
64
70
  # }
@@ -131,26 +137,32 @@ module Aws::LakeFormation
131
137
  # catalog: {
132
138
  # },
133
139
  # database: {
140
+ # catalog_id: "CatalogIdString",
134
141
  # name: "NameString", # required
135
142
  # },
136
143
  # table: {
144
+ # catalog_id: "CatalogIdString",
137
145
  # database_name: "NameString", # required
138
- # name: "NameString", # required
146
+ # name: "NameString",
147
+ # table_wildcard: {
148
+ # },
139
149
  # },
140
150
  # table_with_columns: {
141
- # database_name: "NameString",
142
- # name: "NameString",
151
+ # catalog_id: "CatalogIdString",
152
+ # database_name: "NameString", # required
153
+ # name: "NameString", # required
143
154
  # column_names: ["NameString"],
144
155
  # column_wildcard: {
145
156
  # excluded_column_names: ["NameString"],
146
157
  # },
147
158
  # },
148
159
  # data_location: {
160
+ # catalog_id: "CatalogIdString",
149
161
  # resource_arn: "ResourceArnString", # required
150
162
  # },
151
163
  # },
152
- # permissions: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
153
- # 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
154
166
  # }
155
167
  #
156
168
  # @!attribute [rw] id
@@ -200,26 +212,32 @@ module Aws::LakeFormation
200
212
  # catalog: {
201
213
  # },
202
214
  # database: {
215
+ # catalog_id: "CatalogIdString",
203
216
  # name: "NameString", # required
204
217
  # },
205
218
  # table: {
219
+ # catalog_id: "CatalogIdString",
206
220
  # database_name: "NameString", # required
207
- # name: "NameString", # required
221
+ # name: "NameString",
222
+ # table_wildcard: {
223
+ # },
208
224
  # },
209
225
  # table_with_columns: {
210
- # database_name: "NameString",
211
- # name: "NameString",
226
+ # catalog_id: "CatalogIdString",
227
+ # database_name: "NameString", # required
228
+ # name: "NameString", # required
212
229
  # column_names: ["NameString"],
213
230
  # column_wildcard: {
214
231
  # excluded_column_names: ["NameString"],
215
232
  # },
216
233
  # },
217
234
  # data_location: {
235
+ # catalog_id: "CatalogIdString",
218
236
  # resource_arn: "ResourceArnString", # required
219
237
  # },
220
238
  # },
221
- # permissions: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
222
- # 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
223
241
  # },
224
242
  # ],
225
243
  # }
@@ -301,7 +319,8 @@ module Aws::LakeFormation
301
319
  include Aws::Structure
302
320
  end
303
321
 
304
- # The AWS Lake Formation principal.
322
+ # The AWS Lake Formation principal. Supported principals are IAM users
323
+ # or IAM roles.
305
324
  #
306
325
  # @note When making an API call, you may pass DataLakePrincipal
307
326
  # data as a hash:
@@ -322,7 +341,10 @@ module Aws::LakeFormation
322
341
  include Aws::Structure
323
342
  end
324
343
 
325
- # 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.
326
348
  #
327
349
  # @note When making an API call, you may pass DataLakeSettings
328
350
  # data as a hash:
@@ -338,7 +360,7 @@ module Aws::LakeFormation
338
360
  # principal: {
339
361
  # data_lake_principal_identifier: "DataLakePrincipalString",
340
362
  # },
341
- # 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
342
364
  # },
343
365
  # ],
344
366
  # create_table_default_permissions: [
@@ -346,31 +368,43 @@ module Aws::LakeFormation
346
368
  # principal: {
347
369
  # data_lake_principal_identifier: "DataLakePrincipalString",
348
370
  # },
349
- # 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
350
372
  # },
351
373
  # ],
374
+ # trusted_resource_owners: ["CatalogIdString"],
352
375
  # }
353
376
  #
354
377
  # @!attribute [rw] data_lake_admins
355
- # A list of AWS Lake Formation principals.
378
+ # A list of AWS Lake Formation principals. Supported principals are
379
+ # IAM users or IAM roles.
356
380
  # @return [Array<Types::DataLakePrincipal>]
357
381
  #
358
382
  # @!attribute [rw] create_database_default_permissions
359
- # A list of up to three principal permissions entries for default
360
- # create database permissions.
383
+ # A structure representing a list of up to three principal permissions
384
+ # entries for default create database permissions.
361
385
  # @return [Array<Types::PrincipalPermissions>]
362
386
  #
363
387
  # @!attribute [rw] create_table_default_permissions
364
- # A list of up to three principal permissions entries for default
365
- # create table permissions.
388
+ # A structure representing a list of up to three principal permissions
389
+ # entries for default create table permissions.
366
390
  # @return [Array<Types::PrincipalPermissions>]
367
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
+ #
368
401
  # @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/DataLakeSettings AWS API Documentation
369
402
  #
370
403
  class DataLakeSettings < Struct.new(
371
404
  :data_lake_admins,
372
405
  :create_database_default_permissions,
373
- :create_table_default_permissions)
406
+ :create_table_default_permissions,
407
+ :trusted_resource_owners)
374
408
  SENSITIVE = []
375
409
  include Aws::Structure
376
410
  end
@@ -382,9 +416,16 @@ module Aws::LakeFormation
382
416
  # data as a hash:
383
417
  #
384
418
  # {
419
+ # catalog_id: "CatalogIdString",
385
420
  # resource_arn: "ResourceArnString", # required
386
421
  # }
387
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
+ #
388
429
  # @!attribute [rw] resource_arn
389
430
  # The Amazon Resource Name (ARN) that uniquely identifies the data
390
431
  # location resource.
@@ -393,6 +434,7 @@ module Aws::LakeFormation
393
434
  # @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/DataLocationResource AWS API Documentation
394
435
  #
395
436
  class DataLocationResource < Struct.new(
437
+ :catalog_id,
396
438
  :resource_arn)
397
439
  SENSITIVE = []
398
440
  include Aws::Structure
@@ -404,9 +446,15 @@ module Aws::LakeFormation
404
446
  # data as a hash:
405
447
  #
406
448
  # {
449
+ # catalog_id: "CatalogIdString",
407
450
  # name: "NameString", # required
408
451
  # }
409
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
+ #
410
458
  # @!attribute [rw] name
411
459
  # The name of the database resource. Unique to the Data Catalog.
412
460
  # @return [String]
@@ -414,6 +462,7 @@ module Aws::LakeFormation
414
462
  # @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/DatabaseResource AWS API Documentation
415
463
  #
416
464
  class DatabaseResource < Struct.new(
465
+ :catalog_id,
417
466
  :name)
418
467
  SENSITIVE = []
419
468
  include Aws::Structure
@@ -565,7 +614,8 @@ module Aws::LakeFormation
565
614
  end
566
615
 
567
616
  # @!attribute [rw] data_lake_settings
568
- # A list of AWS Lake Formation principals.
617
+ # A structure representing a list of AWS Lake Formation principals
618
+ # designated as data lake administrators.
569
619
  # @return [Types::DataLakeSettings]
570
620
  #
571
621
  # @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/GetDataLakeSettingsResponse AWS API Documentation
@@ -649,26 +699,32 @@ module Aws::LakeFormation
649
699
  # catalog: {
650
700
  # },
651
701
  # database: {
702
+ # catalog_id: "CatalogIdString",
652
703
  # name: "NameString", # required
653
704
  # },
654
705
  # table: {
706
+ # catalog_id: "CatalogIdString",
655
707
  # database_name: "NameString", # required
656
- # name: "NameString", # required
708
+ # name: "NameString",
709
+ # table_wildcard: {
710
+ # },
657
711
  # },
658
712
  # table_with_columns: {
659
- # database_name: "NameString",
660
- # name: "NameString",
713
+ # catalog_id: "CatalogIdString",
714
+ # database_name: "NameString", # required
715
+ # name: "NameString", # required
661
716
  # column_names: ["NameString"],
662
717
  # column_wildcard: {
663
718
  # excluded_column_names: ["NameString"],
664
719
  # },
665
720
  # },
666
721
  # data_location: {
722
+ # catalog_id: "CatalogIdString",
667
723
  # resource_arn: "ResourceArnString", # required
668
724
  # },
669
725
  # },
670
- # permissions: ["ALL"], # required, accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
671
- # 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
672
728
  # }
673
729
  #
674
730
  # @!attribute [rw] catalog_id
@@ -765,21 +821,27 @@ module Aws::LakeFormation
765
821
  # catalog: {
766
822
  # },
767
823
  # database: {
824
+ # catalog_id: "CatalogIdString",
768
825
  # name: "NameString", # required
769
826
  # },
770
827
  # table: {
828
+ # catalog_id: "CatalogIdString",
771
829
  # database_name: "NameString", # required
772
- # name: "NameString", # required
830
+ # name: "NameString",
831
+ # table_wildcard: {
832
+ # },
773
833
  # },
774
834
  # table_with_columns: {
775
- # database_name: "NameString",
776
- # name: "NameString",
835
+ # catalog_id: "CatalogIdString",
836
+ # database_name: "NameString", # required
837
+ # name: "NameString", # required
777
838
  # column_names: ["NameString"],
778
839
  # column_wildcard: {
779
840
  # excluded_column_names: ["NameString"],
780
841
  # },
781
842
  # },
782
843
  # data_location: {
844
+ # catalog_id: "CatalogIdString",
783
845
  # resource_arn: "ResourceArnString", # required
784
846
  # },
785
847
  # },
@@ -931,7 +993,7 @@ module Aws::LakeFormation
931
993
  # principal: {
932
994
  # data_lake_principal_identifier: "DataLakePrincipalString",
933
995
  # },
934
- # 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
935
997
  # }
936
998
  #
937
999
  # @!attribute [rw] principal
@@ -997,7 +1059,7 @@ module Aws::LakeFormation
997
1059
  # principal: {
998
1060
  # data_lake_principal_identifier: "DataLakePrincipalString",
999
1061
  # },
1000
- # 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
1001
1063
  # },
1002
1064
  # ],
1003
1065
  # create_table_default_permissions: [
@@ -1005,9 +1067,10 @@ module Aws::LakeFormation
1005
1067
  # principal: {
1006
1068
  # data_lake_principal_identifier: "DataLakePrincipalString",
1007
1069
  # },
1008
- # 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
1009
1071
  # },
1010
1072
  # ],
1073
+ # trusted_resource_owners: ["CatalogIdString"],
1011
1074
  # },
1012
1075
  # }
1013
1076
  #
@@ -1019,7 +1082,8 @@ module Aws::LakeFormation
1019
1082
  # @return [String]
1020
1083
  #
1021
1084
  # @!attribute [rw] data_lake_settings
1022
- # A list of AWS Lake Formation principals.
1085
+ # A structure representing a list of AWS Lake Formation principals
1086
+ # designated as data lake administrators.
1023
1087
  # @return [Types::DataLakeSettings]
1024
1088
  #
1025
1089
  # @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/PutDataLakeSettingsRequest AWS API Documentation
@@ -1050,12 +1114,21 @@ module Aws::LakeFormation
1050
1114
  # @return [String]
1051
1115
  #
1052
1116
  # @!attribute [rw] use_service_linked_role
1053
- # Designates a trusted caller, an IAM principal, by registering this
1054
- # 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
1055
1128
  # @return [Boolean]
1056
1129
  #
1057
1130
  # @!attribute [rw] role_arn
1058
- # The identifier for the role.
1131
+ # The identifier for the role that registers the resource.
1059
1132
  # @return [String]
1060
1133
  #
1061
1134
  # @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/RegisterResourceRequest AWS API Documentation
@@ -1081,21 +1154,27 @@ module Aws::LakeFormation
1081
1154
  # catalog: {
1082
1155
  # },
1083
1156
  # database: {
1157
+ # catalog_id: "CatalogIdString",
1084
1158
  # name: "NameString", # required
1085
1159
  # },
1086
1160
  # table: {
1161
+ # catalog_id: "CatalogIdString",
1087
1162
  # database_name: "NameString", # required
1088
- # name: "NameString", # required
1163
+ # name: "NameString",
1164
+ # table_wildcard: {
1165
+ # },
1089
1166
  # },
1090
1167
  # table_with_columns: {
1091
- # database_name: "NameString",
1092
- # name: "NameString",
1168
+ # catalog_id: "CatalogIdString",
1169
+ # database_name: "NameString", # required
1170
+ # name: "NameString", # required
1093
1171
  # column_names: ["NameString"],
1094
1172
  # column_wildcard: {
1095
1173
  # excluded_column_names: ["NameString"],
1096
1174
  # },
1097
1175
  # },
1098
1176
  # data_location: {
1177
+ # catalog_id: "CatalogIdString",
1099
1178
  # resource_arn: "ResourceArnString", # required
1100
1179
  # },
1101
1180
  # }
@@ -1180,26 +1259,32 @@ module Aws::LakeFormation
1180
1259
  # catalog: {
1181
1260
  # },
1182
1261
  # database: {
1262
+ # catalog_id: "CatalogIdString",
1183
1263
  # name: "NameString", # required
1184
1264
  # },
1185
1265
  # table: {
1266
+ # catalog_id: "CatalogIdString",
1186
1267
  # database_name: "NameString", # required
1187
- # name: "NameString", # required
1268
+ # name: "NameString",
1269
+ # table_wildcard: {
1270
+ # },
1188
1271
  # },
1189
1272
  # table_with_columns: {
1190
- # database_name: "NameString",
1191
- # name: "NameString",
1273
+ # catalog_id: "CatalogIdString",
1274
+ # database_name: "NameString", # required
1275
+ # name: "NameString", # required
1192
1276
  # column_names: ["NameString"],
1193
1277
  # column_wildcard: {
1194
1278
  # excluded_column_names: ["NameString"],
1195
1279
  # },
1196
1280
  # },
1197
1281
  # data_location: {
1282
+ # catalog_id: "CatalogIdString",
1198
1283
  # resource_arn: "ResourceArnString", # required
1199
1284
  # },
1200
1285
  # },
1201
- # permissions: ["ALL"], # required, accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
1202
- # 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
1203
1288
  # }
1204
1289
  #
1205
1290
  # @!attribute [rw] catalog_id
@@ -1224,7 +1309,7 @@ module Aws::LakeFormation
1224
1309
  #
1225
1310
  #
1226
1311
  #
1227
- # [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
1228
1313
  # @return [Array<String>]
1229
1314
  #
1230
1315
  # @!attribute [rw] permissions_with_grant_option
@@ -1256,10 +1341,18 @@ module Aws::LakeFormation
1256
1341
  # data as a hash:
1257
1342
  #
1258
1343
  # {
1344
+ # catalog_id: "CatalogIdString",
1259
1345
  # database_name: "NameString", # required
1260
- # name: "NameString", # required
1346
+ # name: "NameString",
1347
+ # table_wildcard: {
1348
+ # },
1261
1349
  # }
1262
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
+ #
1263
1356
  # @!attribute [rw] database_name
1264
1357
  # The name of the database for the table. Unique to a Data Catalog. A
1265
1358
  # database is a set of associated table definitions organized into a
@@ -1271,15 +1364,32 @@ module Aws::LakeFormation
1271
1364
  # The name of the table.
1272
1365
  # @return [String]
1273
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
+ #
1274
1374
  # @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/TableResource AWS API Documentation
1275
1375
  #
1276
1376
  class TableResource < Struct.new(
1377
+ :catalog_id,
1277
1378
  :database_name,
1278
- :name)
1379
+ :name,
1380
+ :table_wildcard)
1279
1381
  SENSITIVE = []
1280
1382
  include Aws::Structure
1281
1383
  end
1282
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
+
1283
1393
  # A structure for a table with columns object. This object is only used
1284
1394
  # when granting a SELECT permission.
1285
1395
  #
@@ -1290,14 +1400,20 @@ module Aws::LakeFormation
1290
1400
  # data as a hash:
1291
1401
  #
1292
1402
  # {
1293
- # database_name: "NameString",
1294
- # name: "NameString",
1403
+ # catalog_id: "CatalogIdString",
1404
+ # database_name: "NameString", # required
1405
+ # name: "NameString", # required
1295
1406
  # column_names: ["NameString"],
1296
1407
  # column_wildcard: {
1297
1408
  # excluded_column_names: ["NameString"],
1298
1409
  # },
1299
1410
  # }
1300
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
+ #
1301
1417
  # @!attribute [rw] database_name
1302
1418
  # The name of the database for the table with columns resource. Unique
1303
1419
  # to the Data Catalog. A database is a set of associated table
@@ -1324,6 +1440,7 @@ module Aws::LakeFormation
1324
1440
  # @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/TableWithColumnsResource AWS API Documentation
1325
1441
  #
1326
1442
  class TableWithColumnsResource < Struct.new(
1443
+ :catalog_id,
1327
1444
  :database_name,
1328
1445
  :name,
1329
1446
  :column_names,
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-lakeformation
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0
4
+ version: 1.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-06-23 00:00:00.000000000 Z
11
+ date: 2020-07-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core