aws-sdk-lakeformation 1.5.1 → 1.10.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3734d1763336132244ab9dcdc1f1bcf3e518f282211e0587c23ce6cb08028751
4
- data.tar.gz: a6b19a105137468ea281aaf499e28b80331f83d966f485fc10268c7cd0841ba6
3
+ metadata.gz: 148fa9cfef1dd1e56026cd36be5fa5f9ef000b38f8ed5ca7c7dd6120ff46c963
4
+ data.tar.gz: 49c6b5f724dfa124be24afbe2eb3b001204d5be4429572b8113704ab4426d540
5
5
  SHA512:
6
- metadata.gz: 60964c80d3dd00dcfd011c24155487a93345e310ba5c35bf5a17d76ad6709e6a2b7cd659b5de0933b82c958d9b4bb8507ecaf715cb58d1831b3e9647ba1f6315
7
- data.tar.gz: ca0ba9adc2e0e406ca6522d9972dad34fd75c65b777ff63855c8dc5cc1a5a5b60577ed948116c9fbd5a3ad8f757d96a2c239728784b0f1a3df4528de5cdd5a4e
6
+ metadata.gz: d832e7a2b93bd764865cbeed5b9bbf8b46a44d39360c49fcc52aad41d90b23a0b3c1ecf3ee7a2481c6efcd7b7a8bdf4ef504e0cf47cec0fcba67e858adb6fa12
7
+ data.tar.gz: 408f1cf4260a0858970d12d8b0bed658e24742b6309ed9455c2226e8710b72cd0eab8f0deacd96039750b5e762e04bc58e5cd40f78f98e44a6bad870400866d8
@@ -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:
@@ -5,6 +7,7 @@
5
7
  #
6
8
  # WARNING ABOUT GENERATED CODE
7
9
 
10
+
8
11
  require 'aws-sdk-core'
9
12
  require 'aws-sigv4'
10
13
 
@@ -42,9 +45,9 @@ require_relative 'aws-sdk-lakeformation/customizations'
42
45
  #
43
46
  # See {Errors} for more information.
44
47
  #
45
- # @service
48
+ # @!group service
46
49
  module Aws::LakeFormation
47
50
 
48
- GEM_VERSION = '1.5.1'
51
+ GEM_VERSION = '1.10.0'
49
52
 
50
53
  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:
@@ -83,13 +85,28 @@ module Aws::LakeFormation
83
85
  # * `Aws::Credentials` - Used for configuring static, non-refreshing
84
86
  # credentials.
85
87
  #
88
+ # * `Aws::SharedCredentials` - Used for loading static credentials from a
89
+ # shared file, such as `~/.aws/config`.
90
+ #
91
+ # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
92
+ #
93
+ # * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
94
+ # assume a role after providing credentials via the web.
95
+ #
96
+ # * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
97
+ # access token generated from `aws login`.
98
+ #
99
+ # * `Aws::ProcessCredentials` - Used for loading credentials from a
100
+ # process that outputs to stdout.
101
+ #
86
102
  # * `Aws::InstanceProfileCredentials` - Used for loading credentials
87
103
  # from an EC2 IMDS on an EC2 instance.
88
104
  #
89
- # * `Aws::SharedCredentials` - Used for loading credentials from a
90
- # shared file, such as `~/.aws/config`.
105
+ # * `Aws::ECSCredentials` - Used for loading credentials from
106
+ # instances running in ECS.
91
107
  #
92
- # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
108
+ # * `Aws::CognitoIdentityCredentials` - Used for loading credentials
109
+ # from the Cognito Identity service.
93
110
  #
94
111
  # When `:credentials` are not configured directly, the following
95
112
  # locations will be searched for credentials:
@@ -99,10 +116,10 @@ module Aws::LakeFormation
99
116
  # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
100
117
  # * `~/.aws/credentials`
101
118
  # * `~/.aws/config`
102
- # * EC2 IMDS instance profile - When used by default, the timeouts are
103
- # very aggressive. Construct and pass an instance of
104
- # `Aws::InstanceProfileCredentails` to enable retries and extended
105
- # timeouts.
119
+ # * EC2/ECS IMDS instance profile - When used by default, the timeouts
120
+ # are very aggressive. Construct and pass an instance of
121
+ # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
122
+ # enable retries and extended timeouts.
106
123
  #
107
124
  # @option options [required, String] :region
108
125
  # The AWS region to connect to. The configured `:region` is
@@ -350,26 +367,32 @@ module Aws::LakeFormation
350
367
  # catalog: {
351
368
  # },
352
369
  # database: {
370
+ # catalog_id: "CatalogIdString",
353
371
  # name: "NameString", # required
354
372
  # },
355
373
  # table: {
374
+ # catalog_id: "CatalogIdString",
356
375
  # database_name: "NameString", # required
357
- # name: "NameString", # required
376
+ # name: "NameString",
377
+ # table_wildcard: {
378
+ # },
358
379
  # },
359
380
  # table_with_columns: {
360
- # database_name: "NameString",
361
- # name: "NameString",
381
+ # catalog_id: "CatalogIdString",
382
+ # database_name: "NameString", # required
383
+ # name: "NameString", # required
362
384
  # column_names: ["NameString"],
363
385
  # column_wildcard: {
364
386
  # excluded_column_names: ["NameString"],
365
387
  # },
366
388
  # },
367
389
  # data_location: {
390
+ # catalog_id: "CatalogIdString",
368
391
  # resource_arn: "ResourceArnString", # required
369
392
  # },
370
393
  # },
371
- # permissions: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
372
- # permissions_with_grant_option: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
394
+ # permissions: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, DESCRIBE, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
395
+ # permissions_with_grant_option: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, DESCRIBE, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
373
396
  # },
374
397
  # ],
375
398
  # })
@@ -379,20 +402,24 @@ module Aws::LakeFormation
379
402
  # resp.failures #=> Array
380
403
  # resp.failures[0].request_entry.id #=> String
381
404
  # resp.failures[0].request_entry.principal.data_lake_principal_identifier #=> String
405
+ # resp.failures[0].request_entry.resource.database.catalog_id #=> String
382
406
  # resp.failures[0].request_entry.resource.database.name #=> String
407
+ # resp.failures[0].request_entry.resource.table.catalog_id #=> String
383
408
  # resp.failures[0].request_entry.resource.table.database_name #=> String
384
409
  # resp.failures[0].request_entry.resource.table.name #=> String
410
+ # resp.failures[0].request_entry.resource.table_with_columns.catalog_id #=> String
385
411
  # resp.failures[0].request_entry.resource.table_with_columns.database_name #=> String
386
412
  # resp.failures[0].request_entry.resource.table_with_columns.name #=> String
387
413
  # resp.failures[0].request_entry.resource.table_with_columns.column_names #=> Array
388
414
  # resp.failures[0].request_entry.resource.table_with_columns.column_names[0] #=> String
389
415
  # resp.failures[0].request_entry.resource.table_with_columns.column_wildcard.excluded_column_names #=> Array
390
416
  # resp.failures[0].request_entry.resource.table_with_columns.column_wildcard.excluded_column_names[0] #=> String
417
+ # resp.failures[0].request_entry.resource.data_location.catalog_id #=> String
391
418
  # resp.failures[0].request_entry.resource.data_location.resource_arn #=> String
392
419
  # resp.failures[0].request_entry.permissions #=> Array
393
- # resp.failures[0].request_entry.permissions[0] #=> String, one of "ALL", "SELECT", "ALTER", "DROP", "DELETE", "INSERT", "CREATE_DATABASE", "CREATE_TABLE", "DATA_LOCATION_ACCESS"
420
+ # resp.failures[0].request_entry.permissions[0] #=> String, one of "ALL", "SELECT", "ALTER", "DROP", "DELETE", "INSERT", "DESCRIBE", "CREATE_DATABASE", "CREATE_TABLE", "DATA_LOCATION_ACCESS"
394
421
  # resp.failures[0].request_entry.permissions_with_grant_option #=> Array
395
- # 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"
422
+ # 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"
396
423
  # resp.failures[0].error.error_code #=> String
397
424
  # resp.failures[0].error.error_message #=> String
398
425
  #
@@ -435,26 +462,32 @@ module Aws::LakeFormation
435
462
  # catalog: {
436
463
  # },
437
464
  # database: {
465
+ # catalog_id: "CatalogIdString",
438
466
  # name: "NameString", # required
439
467
  # },
440
468
  # table: {
469
+ # catalog_id: "CatalogIdString",
441
470
  # database_name: "NameString", # required
442
- # name: "NameString", # required
471
+ # name: "NameString",
472
+ # table_wildcard: {
473
+ # },
443
474
  # },
444
475
  # table_with_columns: {
445
- # database_name: "NameString",
446
- # name: "NameString",
476
+ # catalog_id: "CatalogIdString",
477
+ # database_name: "NameString", # required
478
+ # name: "NameString", # required
447
479
  # column_names: ["NameString"],
448
480
  # column_wildcard: {
449
481
  # excluded_column_names: ["NameString"],
450
482
  # },
451
483
  # },
452
484
  # data_location: {
485
+ # catalog_id: "CatalogIdString",
453
486
  # resource_arn: "ResourceArnString", # required
454
487
  # },
455
488
  # },
456
- # permissions: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
457
- # permissions_with_grant_option: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
489
+ # permissions: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, DESCRIBE, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
490
+ # permissions_with_grant_option: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, DESCRIBE, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
458
491
  # },
459
492
  # ],
460
493
  # })
@@ -464,20 +497,24 @@ module Aws::LakeFormation
464
497
  # resp.failures #=> Array
465
498
  # resp.failures[0].request_entry.id #=> String
466
499
  # resp.failures[0].request_entry.principal.data_lake_principal_identifier #=> String
500
+ # resp.failures[0].request_entry.resource.database.catalog_id #=> String
467
501
  # resp.failures[0].request_entry.resource.database.name #=> String
502
+ # resp.failures[0].request_entry.resource.table.catalog_id #=> String
468
503
  # resp.failures[0].request_entry.resource.table.database_name #=> String
469
504
  # resp.failures[0].request_entry.resource.table.name #=> String
505
+ # resp.failures[0].request_entry.resource.table_with_columns.catalog_id #=> String
470
506
  # resp.failures[0].request_entry.resource.table_with_columns.database_name #=> String
471
507
  # resp.failures[0].request_entry.resource.table_with_columns.name #=> String
472
508
  # resp.failures[0].request_entry.resource.table_with_columns.column_names #=> Array
473
509
  # resp.failures[0].request_entry.resource.table_with_columns.column_names[0] #=> String
474
510
  # resp.failures[0].request_entry.resource.table_with_columns.column_wildcard.excluded_column_names #=> Array
475
511
  # resp.failures[0].request_entry.resource.table_with_columns.column_wildcard.excluded_column_names[0] #=> String
512
+ # resp.failures[0].request_entry.resource.data_location.catalog_id #=> String
476
513
  # resp.failures[0].request_entry.resource.data_location.resource_arn #=> String
477
514
  # resp.failures[0].request_entry.permissions #=> Array
478
- # resp.failures[0].request_entry.permissions[0] #=> String, one of "ALL", "SELECT", "ALTER", "DROP", "DELETE", "INSERT", "CREATE_DATABASE", "CREATE_TABLE", "DATA_LOCATION_ACCESS"
515
+ # resp.failures[0].request_entry.permissions[0] #=> String, one of "ALL", "SELECT", "ALTER", "DROP", "DELETE", "INSERT", "DESCRIBE", "CREATE_DATABASE", "CREATE_TABLE", "DATA_LOCATION_ACCESS"
479
516
  # resp.failures[0].request_entry.permissions_with_grant_option #=> Array
480
- # 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"
517
+ # 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"
481
518
  # resp.failures[0].error.error_code #=> String
482
519
  # resp.failures[0].error.error_message #=> String
483
520
  #
@@ -547,7 +584,8 @@ module Aws::LakeFormation
547
584
  req.send_request(options)
548
585
  end
549
586
 
550
- # The AWS Lake Formation principal.
587
+ # Retrieves the list of the data lake administrators of a Lake
588
+ # Formation-managed data lake.
551
589
  #
552
590
  # @option params [String] :catalog_id
553
591
  # The identifier for the Data Catalog. By default, the account ID. The
@@ -572,11 +610,13 @@ module Aws::LakeFormation
572
610
  # resp.data_lake_settings.create_database_default_permissions #=> Array
573
611
  # resp.data_lake_settings.create_database_default_permissions[0].principal.data_lake_principal_identifier #=> String
574
612
  # resp.data_lake_settings.create_database_default_permissions[0].permissions #=> Array
575
- # 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"
613
+ # 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"
576
614
  # resp.data_lake_settings.create_table_default_permissions #=> Array
577
615
  # resp.data_lake_settings.create_table_default_permissions[0].principal.data_lake_principal_identifier #=> String
578
616
  # resp.data_lake_settings.create_table_default_permissions[0].permissions #=> Array
579
- # 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"
617
+ # 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"
618
+ # resp.data_lake_settings.trusted_resource_owners #=> Array
619
+ # resp.data_lake_settings.trusted_resource_owners[0] #=> String
580
620
  #
581
621
  # @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/GetDataLakeSettings AWS API Documentation
582
622
  #
@@ -587,8 +627,10 @@ module Aws::LakeFormation
587
627
  req.send_request(options)
588
628
  end
589
629
 
590
- # Returns the permissions for a specified table or database resource
591
- # located at a path in Amazon S3.
630
+ # Returns the Lake Formation permissions for a specified table or
631
+ # database resource located at a path in Amazon S3.
632
+ # `GetEffectivePermissionsForPath` will not return databases and tables
633
+ # if the catalog is encrypted.
592
634
  #
593
635
  # @option params [String] :catalog_id
594
636
  # The identifier for the Data Catalog. By default, the account ID. The
@@ -627,20 +669,26 @@ module Aws::LakeFormation
627
669
  #
628
670
  # resp.permissions #=> Array
629
671
  # resp.permissions[0].principal.data_lake_principal_identifier #=> String
672
+ # resp.permissions[0].resource.database.catalog_id #=> String
630
673
  # resp.permissions[0].resource.database.name #=> String
674
+ # resp.permissions[0].resource.table.catalog_id #=> String
631
675
  # resp.permissions[0].resource.table.database_name #=> String
632
676
  # resp.permissions[0].resource.table.name #=> String
677
+ # resp.permissions[0].resource.table_with_columns.catalog_id #=> String
633
678
  # resp.permissions[0].resource.table_with_columns.database_name #=> String
634
679
  # resp.permissions[0].resource.table_with_columns.name #=> String
635
680
  # resp.permissions[0].resource.table_with_columns.column_names #=> Array
636
681
  # resp.permissions[0].resource.table_with_columns.column_names[0] #=> String
637
682
  # resp.permissions[0].resource.table_with_columns.column_wildcard.excluded_column_names #=> Array
638
683
  # resp.permissions[0].resource.table_with_columns.column_wildcard.excluded_column_names[0] #=> String
684
+ # resp.permissions[0].resource.data_location.catalog_id #=> String
639
685
  # resp.permissions[0].resource.data_location.resource_arn #=> String
640
686
  # resp.permissions[0].permissions #=> Array
641
- # resp.permissions[0].permissions[0] #=> String, one of "ALL", "SELECT", "ALTER", "DROP", "DELETE", "INSERT", "CREATE_DATABASE", "CREATE_TABLE", "DATA_LOCATION_ACCESS"
687
+ # resp.permissions[0].permissions[0] #=> String, one of "ALL", "SELECT", "ALTER", "DROP", "DELETE", "INSERT", "DESCRIBE", "CREATE_DATABASE", "CREATE_TABLE", "DATA_LOCATION_ACCESS"
642
688
  # resp.permissions[0].permissions_with_grant_option #=> Array
643
- # resp.permissions[0].permissions_with_grant_option[0] #=> String, one of "ALL", "SELECT", "ALTER", "DROP", "DELETE", "INSERT", "CREATE_DATABASE", "CREATE_TABLE", "DATA_LOCATION_ACCESS"
689
+ # 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"
690
+ # resp.permissions[0].additional_details.resource_share #=> Array
691
+ # resp.permissions[0].additional_details.resource_share[0] #=> String
644
692
  # resp.next_token #=> String
645
693
  #
646
694
  # @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/GetEffectivePermissionsForPath AWS API Documentation
@@ -661,7 +709,7 @@ module Aws::LakeFormation
661
709
  #
662
710
  #
663
711
  #
664
- # [1]: https://docs-aws.amazon.com/michigan/latest/dg/security-data-access.html
712
+ # [1]: https://docs-aws.amazon.com/lake-formation/latest/dg/security-data-access.html
665
713
  #
666
714
  # @option params [String] :catalog_id
667
715
  # The identifier for the Data Catalog. By default, the account ID. The
@@ -707,26 +755,32 @@ module Aws::LakeFormation
707
755
  # catalog: {
708
756
  # },
709
757
  # database: {
758
+ # catalog_id: "CatalogIdString",
710
759
  # name: "NameString", # required
711
760
  # },
712
761
  # table: {
762
+ # catalog_id: "CatalogIdString",
713
763
  # database_name: "NameString", # required
714
- # name: "NameString", # required
764
+ # name: "NameString",
765
+ # table_wildcard: {
766
+ # },
715
767
  # },
716
768
  # table_with_columns: {
717
- # database_name: "NameString",
718
- # name: "NameString",
769
+ # catalog_id: "CatalogIdString",
770
+ # database_name: "NameString", # required
771
+ # name: "NameString", # required
719
772
  # column_names: ["NameString"],
720
773
  # column_wildcard: {
721
774
  # excluded_column_names: ["NameString"],
722
775
  # },
723
776
  # },
724
777
  # data_location: {
778
+ # catalog_id: "CatalogIdString",
725
779
  # resource_arn: "ResourceArnString", # required
726
780
  # },
727
781
  # },
728
- # permissions: ["ALL"], # required, accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
729
- # permissions_with_grant_option: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
782
+ # permissions: ["ALL"], # required, accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, DESCRIBE, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
783
+ # permissions_with_grant_option: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, DESCRIBE, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
730
784
  # })
731
785
  #
732
786
  # @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/GrantPermissions AWS API Documentation
@@ -751,7 +805,7 @@ module Aws::LakeFormation
751
805
  #
752
806
  #
753
807
  #
754
- # [1]: https://docs-aws.amazon.com/michigan/latest/dg/security-data-access.html
808
+ # [1]: https://docs-aws.amazon.com/lake-formation/latest/dg/security-data-access.html
755
809
  #
756
810
  # @option params [String] :catalog_id
757
811
  # The identifier for the Data Catalog. By default, the account ID. The
@@ -798,21 +852,27 @@ module Aws::LakeFormation
798
852
  # catalog: {
799
853
  # },
800
854
  # database: {
855
+ # catalog_id: "CatalogIdString",
801
856
  # name: "NameString", # required
802
857
  # },
803
858
  # table: {
859
+ # catalog_id: "CatalogIdString",
804
860
  # database_name: "NameString", # required
805
- # name: "NameString", # required
861
+ # name: "NameString",
862
+ # table_wildcard: {
863
+ # },
806
864
  # },
807
865
  # table_with_columns: {
808
- # database_name: "NameString",
809
- # name: "NameString",
866
+ # catalog_id: "CatalogIdString",
867
+ # database_name: "NameString", # required
868
+ # name: "NameString", # required
810
869
  # column_names: ["NameString"],
811
870
  # column_wildcard: {
812
871
  # excluded_column_names: ["NameString"],
813
872
  # },
814
873
  # },
815
874
  # data_location: {
875
+ # catalog_id: "CatalogIdString",
816
876
  # resource_arn: "ResourceArnString", # required
817
877
  # },
818
878
  # },
@@ -824,20 +884,26 @@ module Aws::LakeFormation
824
884
  #
825
885
  # resp.principal_resource_permissions #=> Array
826
886
  # resp.principal_resource_permissions[0].principal.data_lake_principal_identifier #=> String
887
+ # resp.principal_resource_permissions[0].resource.database.catalog_id #=> String
827
888
  # resp.principal_resource_permissions[0].resource.database.name #=> String
889
+ # resp.principal_resource_permissions[0].resource.table.catalog_id #=> String
828
890
  # resp.principal_resource_permissions[0].resource.table.database_name #=> String
829
891
  # resp.principal_resource_permissions[0].resource.table.name #=> String
892
+ # resp.principal_resource_permissions[0].resource.table_with_columns.catalog_id #=> String
830
893
  # resp.principal_resource_permissions[0].resource.table_with_columns.database_name #=> String
831
894
  # resp.principal_resource_permissions[0].resource.table_with_columns.name #=> String
832
895
  # resp.principal_resource_permissions[0].resource.table_with_columns.column_names #=> Array
833
896
  # resp.principal_resource_permissions[0].resource.table_with_columns.column_names[0] #=> String
834
897
  # resp.principal_resource_permissions[0].resource.table_with_columns.column_wildcard.excluded_column_names #=> Array
835
898
  # resp.principal_resource_permissions[0].resource.table_with_columns.column_wildcard.excluded_column_names[0] #=> String
899
+ # resp.principal_resource_permissions[0].resource.data_location.catalog_id #=> String
836
900
  # resp.principal_resource_permissions[0].resource.data_location.resource_arn #=> String
837
901
  # resp.principal_resource_permissions[0].permissions #=> Array
838
- # resp.principal_resource_permissions[0].permissions[0] #=> String, one of "ALL", "SELECT", "ALTER", "DROP", "DELETE", "INSERT", "CREATE_DATABASE", "CREATE_TABLE", "DATA_LOCATION_ACCESS"
902
+ # resp.principal_resource_permissions[0].permissions[0] #=> String, one of "ALL", "SELECT", "ALTER", "DROP", "DELETE", "INSERT", "DESCRIBE", "CREATE_DATABASE", "CREATE_TABLE", "DATA_LOCATION_ACCESS"
839
903
  # resp.principal_resource_permissions[0].permissions_with_grant_option #=> Array
840
- # 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"
904
+ # 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"
905
+ # resp.principal_resource_permissions[0].additional_details.resource_share #=> Array
906
+ # resp.principal_resource_permissions[0].additional_details.resource_share[0] #=> String
841
907
  # resp.next_token #=> String
842
908
  #
843
909
  # @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/ListPermissions AWS API Documentation
@@ -900,7 +966,17 @@ module Aws::LakeFormation
900
966
  req.send_request(options)
901
967
  end
902
968
 
903
- # The AWS Lake Formation principal.
969
+ # Sets the list of data lake administrators who have admin privileges on
970
+ # all resources managed by Lake Formation. For more information on admin
971
+ # privileges, see [Granting Lake Formation Permissions][1].
972
+ #
973
+ # This API replaces the current list of data lake admins with the new
974
+ # list being passed. To add an admin, fetch the current list and add the
975
+ # new admin to that list and pass that list in this API.
976
+ #
977
+ #
978
+ #
979
+ # [1]: https://docs.aws.amazon.com/lake-formation/latest/dg/lake-formation-permissions.html
904
980
  #
905
981
  # @option params [String] :catalog_id
906
982
  # The identifier for the Data Catalog. By default, the account ID. The
@@ -909,7 +985,8 @@ module Aws::LakeFormation
909
985
  # manage your AWS Lake Formation environment.
910
986
  #
911
987
  # @option params [required, Types::DataLakeSettings] :data_lake_settings
912
- # A list of AWS Lake Formation principals.
988
+ # A structure representing a list of AWS Lake Formation principals
989
+ # designated as data lake administrators.
913
990
  #
914
991
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
915
992
  #
@@ -928,7 +1005,7 @@ module Aws::LakeFormation
928
1005
  # principal: {
929
1006
  # data_lake_principal_identifier: "DataLakePrincipalString",
930
1007
  # },
931
- # permissions: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
1008
+ # permissions: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, DESCRIBE, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
932
1009
  # },
933
1010
  # ],
934
1011
  # create_table_default_permissions: [
@@ -936,9 +1013,10 @@ module Aws::LakeFormation
936
1013
  # principal: {
937
1014
  # data_lake_principal_identifier: "DataLakePrincipalString",
938
1015
  # },
939
- # permissions: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
1016
+ # permissions: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, DESCRIBE, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
940
1017
  # },
941
1018
  # ],
1019
+ # trusted_resource_owners: ["CatalogIdString"],
942
1020
  # },
943
1021
  # })
944
1022
  #
@@ -962,16 +1040,36 @@ module Aws::LakeFormation
962
1040
  # attaches it to the service-linked role. When you register subsequent
963
1041
  # paths, Lake Formation adds the path to the existing policy.
964
1042
  #
1043
+ # The following request registers a new location and gives AWS Lake
1044
+ # Formation permission to use the service-linked role to access that
1045
+ # location.
1046
+ #
1047
+ # `ResourceArn = arn:aws:s3:::my-bucket UseServiceLinkedRole = true`
1048
+ #
1049
+ # If `UseServiceLinkedRole` is not set to true, you must provide or set
1050
+ # the `RoleArn`\:
1051
+ #
1052
+ # `arn:aws:iam::12345:role/my-data-access-role`
1053
+ #
965
1054
  # @option params [required, String] :resource_arn
966
1055
  # The Amazon Resource Name (ARN) of the resource that you want to
967
1056
  # register.
968
1057
  #
969
1058
  # @option params [Boolean] :use_service_linked_role
970
- # Designates a trusted caller, an IAM principal, by registering this
971
- # caller with the Data Catalog.
1059
+ # Designates an AWS Identity and Access Management (IAM) service-linked
1060
+ # role by registering this role with the Data Catalog. A service-linked
1061
+ # role is a unique type of IAM role that is linked directly to Lake
1062
+ # Formation.
1063
+ #
1064
+ # For more information, see [Using Service-Linked Roles for Lake
1065
+ # Formation][1].
1066
+ #
1067
+ #
1068
+ #
1069
+ # [1]: https://docs-aws.amazon.com/lake-formation/latest/dg/service-linked-roles.html
972
1070
  #
973
1071
  # @option params [String] :role_arn
974
- # The identifier for the role.
1072
+ # The identifier for the role that registers the resource.
975
1073
  #
976
1074
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
977
1075
  #
@@ -1015,7 +1113,7 @@ module Aws::LakeFormation
1015
1113
  #
1016
1114
  #
1017
1115
  #
1018
- # [1]: https://docs-aws.amazon.com/michigan/latest/dg/security-data-access.html
1116
+ # [1]: https://docs-aws.amazon.com/lake-formation/latest/dg/security-data-access.html
1019
1117
  #
1020
1118
  # @option params [Array<String>] :permissions_with_grant_option
1021
1119
  # Indicates a list of permissions for which to revoke the grant option
@@ -1034,26 +1132,32 @@ module Aws::LakeFormation
1034
1132
  # catalog: {
1035
1133
  # },
1036
1134
  # database: {
1135
+ # catalog_id: "CatalogIdString",
1037
1136
  # name: "NameString", # required
1038
1137
  # },
1039
1138
  # table: {
1139
+ # catalog_id: "CatalogIdString",
1040
1140
  # database_name: "NameString", # required
1041
- # name: "NameString", # required
1141
+ # name: "NameString",
1142
+ # table_wildcard: {
1143
+ # },
1042
1144
  # },
1043
1145
  # table_with_columns: {
1044
- # database_name: "NameString",
1045
- # name: "NameString",
1146
+ # catalog_id: "CatalogIdString",
1147
+ # database_name: "NameString", # required
1148
+ # name: "NameString", # required
1046
1149
  # column_names: ["NameString"],
1047
1150
  # column_wildcard: {
1048
1151
  # excluded_column_names: ["NameString"],
1049
1152
  # },
1050
1153
  # },
1051
1154
  # data_location: {
1155
+ # catalog_id: "CatalogIdString",
1052
1156
  # resource_arn: "ResourceArnString", # required
1053
1157
  # },
1054
1158
  # },
1055
- # permissions: ["ALL"], # required, accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
1056
- # permissions_with_grant_option: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
1159
+ # permissions: ["ALL"], # required, accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, DESCRIBE, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
1160
+ # permissions_with_grant_option: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, DESCRIBE, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
1057
1161
  # })
1058
1162
  #
1059
1163
  # @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/RevokePermissions AWS API Documentation
@@ -1106,7 +1210,7 @@ module Aws::LakeFormation
1106
1210
  params: params,
1107
1211
  config: config)
1108
1212
  context[:gem_name] = 'aws-sdk-lakeformation'
1109
- context[:gem_version] = '1.5.1'
1213
+ context[:gem_version] = '1.10.0'
1110
1214
  Seahorse::Client::Request.new(handlers, context)
1111
1215
  end
1112
1216