aws-sdk-lakeformation 1.6.0 → 1.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-lakeformation.rb +3 -2
- data/lib/aws-sdk-lakeformation/client.rb +156 -54
- data/lib/aws-sdk-lakeformation/client_api.rb +24 -3
- data/lib/aws-sdk-lakeformation/types.rb +199 -55
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 87ce515f3765e05b73b8745fd9ddf1affb3b139b5706ab0821b95c55587d8047
|
4
|
+
data.tar.gz: 89c42bdfc95e9b9263999131d8edc0688520c93e9d24dc33c8e46419ce807804
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 61ea745cb9204e49ca2dae6208add598cd1883c8430548e0f76c3eec1869c7ff63ad315092a430a24e3279fe9c322c66d7d030ceca09f3791541daa941658ff1
|
7
|
+
data.tar.gz: 40ef1e6667786bf0bd7bb58d2f68ebf02637be589befdbaaa1bf8b73a8d1da467f787ab23a887800db0dd1e084714c04ec91b4be0d7f12d46844ffc5e8b35472
|
@@ -7,6 +7,7 @@
|
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
10
|
+
|
10
11
|
require 'aws-sdk-core'
|
11
12
|
require 'aws-sigv4'
|
12
13
|
|
@@ -44,9 +45,9 @@ require_relative 'aws-sdk-lakeformation/customizations'
|
|
44
45
|
#
|
45
46
|
# See {Errors} for more information.
|
46
47
|
#
|
47
|
-
#
|
48
|
+
# @!group service
|
48
49
|
module Aws::LakeFormation
|
49
50
|
|
50
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.11.0'
|
51
52
|
|
52
53
|
end
|
@@ -85,13 +85,28 @@ module Aws::LakeFormation
|
|
85
85
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
86
86
|
# credentials.
|
87
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
|
+
#
|
88
102
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
89
103
|
# from an EC2 IMDS on an EC2 instance.
|
90
104
|
#
|
91
|
-
# * `Aws::
|
92
|
-
#
|
105
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
106
|
+
# instances running in ECS.
|
93
107
|
#
|
94
|
-
# * `Aws::
|
108
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
109
|
+
# from the Cognito Identity service.
|
95
110
|
#
|
96
111
|
# When `:credentials` are not configured directly, the following
|
97
112
|
# locations will be searched for credentials:
|
@@ -101,10 +116,10 @@ module Aws::LakeFormation
|
|
101
116
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
102
117
|
# * `~/.aws/credentials`
|
103
118
|
# * `~/.aws/config`
|
104
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
105
|
-
# very aggressive. Construct and pass an instance of
|
106
|
-
# `Aws::InstanceProfileCredentails`
|
107
|
-
# 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.
|
108
123
|
#
|
109
124
|
# @option options [required, String] :region
|
110
125
|
# The AWS region to connect to. The configured `:region` is
|
@@ -352,26 +367,32 @@ module Aws::LakeFormation
|
|
352
367
|
# catalog: {
|
353
368
|
# },
|
354
369
|
# database: {
|
370
|
+
# catalog_id: "CatalogIdString",
|
355
371
|
# name: "NameString", # required
|
356
372
|
# },
|
357
373
|
# table: {
|
374
|
+
# catalog_id: "CatalogIdString",
|
358
375
|
# database_name: "NameString", # required
|
359
|
-
# name: "NameString",
|
376
|
+
# name: "NameString",
|
377
|
+
# table_wildcard: {
|
378
|
+
# },
|
360
379
|
# },
|
361
380
|
# table_with_columns: {
|
362
|
-
#
|
363
|
-
#
|
381
|
+
# catalog_id: "CatalogIdString",
|
382
|
+
# database_name: "NameString", # required
|
383
|
+
# name: "NameString", # required
|
364
384
|
# column_names: ["NameString"],
|
365
385
|
# column_wildcard: {
|
366
386
|
# excluded_column_names: ["NameString"],
|
367
387
|
# },
|
368
388
|
# },
|
369
389
|
# data_location: {
|
390
|
+
# catalog_id: "CatalogIdString",
|
370
391
|
# resource_arn: "ResourceArnString", # required
|
371
392
|
# },
|
372
393
|
# },
|
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
|
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
|
375
396
|
# },
|
376
397
|
# ],
|
377
398
|
# })
|
@@ -381,20 +402,24 @@ module Aws::LakeFormation
|
|
381
402
|
# resp.failures #=> Array
|
382
403
|
# resp.failures[0].request_entry.id #=> String
|
383
404
|
# resp.failures[0].request_entry.principal.data_lake_principal_identifier #=> String
|
405
|
+
# resp.failures[0].request_entry.resource.database.catalog_id #=> String
|
384
406
|
# resp.failures[0].request_entry.resource.database.name #=> String
|
407
|
+
# resp.failures[0].request_entry.resource.table.catalog_id #=> String
|
385
408
|
# resp.failures[0].request_entry.resource.table.database_name #=> String
|
386
409
|
# resp.failures[0].request_entry.resource.table.name #=> String
|
410
|
+
# resp.failures[0].request_entry.resource.table_with_columns.catalog_id #=> String
|
387
411
|
# resp.failures[0].request_entry.resource.table_with_columns.database_name #=> String
|
388
412
|
# resp.failures[0].request_entry.resource.table_with_columns.name #=> String
|
389
413
|
# resp.failures[0].request_entry.resource.table_with_columns.column_names #=> Array
|
390
414
|
# resp.failures[0].request_entry.resource.table_with_columns.column_names[0] #=> String
|
391
415
|
# resp.failures[0].request_entry.resource.table_with_columns.column_wildcard.excluded_column_names #=> Array
|
392
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
|
393
418
|
# resp.failures[0].request_entry.resource.data_location.resource_arn #=> String
|
394
419
|
# 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"
|
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"
|
396
421
|
# 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"
|
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"
|
398
423
|
# resp.failures[0].error.error_code #=> String
|
399
424
|
# resp.failures[0].error.error_message #=> String
|
400
425
|
#
|
@@ -437,26 +462,32 @@ module Aws::LakeFormation
|
|
437
462
|
# catalog: {
|
438
463
|
# },
|
439
464
|
# database: {
|
465
|
+
# catalog_id: "CatalogIdString",
|
440
466
|
# name: "NameString", # required
|
441
467
|
# },
|
442
468
|
# table: {
|
469
|
+
# catalog_id: "CatalogIdString",
|
443
470
|
# database_name: "NameString", # required
|
444
|
-
# name: "NameString",
|
471
|
+
# name: "NameString",
|
472
|
+
# table_wildcard: {
|
473
|
+
# },
|
445
474
|
# },
|
446
475
|
# table_with_columns: {
|
447
|
-
#
|
448
|
-
#
|
476
|
+
# catalog_id: "CatalogIdString",
|
477
|
+
# database_name: "NameString", # required
|
478
|
+
# name: "NameString", # required
|
449
479
|
# column_names: ["NameString"],
|
450
480
|
# column_wildcard: {
|
451
481
|
# excluded_column_names: ["NameString"],
|
452
482
|
# },
|
453
483
|
# },
|
454
484
|
# data_location: {
|
485
|
+
# catalog_id: "CatalogIdString",
|
455
486
|
# resource_arn: "ResourceArnString", # required
|
456
487
|
# },
|
457
488
|
# },
|
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
|
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
|
460
491
|
# },
|
461
492
|
# ],
|
462
493
|
# })
|
@@ -466,20 +497,24 @@ module Aws::LakeFormation
|
|
466
497
|
# resp.failures #=> Array
|
467
498
|
# resp.failures[0].request_entry.id #=> String
|
468
499
|
# resp.failures[0].request_entry.principal.data_lake_principal_identifier #=> String
|
500
|
+
# resp.failures[0].request_entry.resource.database.catalog_id #=> String
|
469
501
|
# resp.failures[0].request_entry.resource.database.name #=> String
|
502
|
+
# resp.failures[0].request_entry.resource.table.catalog_id #=> String
|
470
503
|
# resp.failures[0].request_entry.resource.table.database_name #=> String
|
471
504
|
# resp.failures[0].request_entry.resource.table.name #=> String
|
505
|
+
# resp.failures[0].request_entry.resource.table_with_columns.catalog_id #=> String
|
472
506
|
# resp.failures[0].request_entry.resource.table_with_columns.database_name #=> String
|
473
507
|
# resp.failures[0].request_entry.resource.table_with_columns.name #=> String
|
474
508
|
# resp.failures[0].request_entry.resource.table_with_columns.column_names #=> Array
|
475
509
|
# resp.failures[0].request_entry.resource.table_with_columns.column_names[0] #=> String
|
476
510
|
# resp.failures[0].request_entry.resource.table_with_columns.column_wildcard.excluded_column_names #=> Array
|
477
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
|
478
513
|
# resp.failures[0].request_entry.resource.data_location.resource_arn #=> String
|
479
514
|
# 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"
|
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"
|
481
516
|
# 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"
|
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"
|
483
518
|
# resp.failures[0].error.error_code #=> String
|
484
519
|
# resp.failures[0].error.error_message #=> String
|
485
520
|
#
|
@@ -549,7 +584,8 @@ module Aws::LakeFormation
|
|
549
584
|
req.send_request(options)
|
550
585
|
end
|
551
586
|
|
552
|
-
#
|
587
|
+
# Retrieves the list of the data lake administrators of a Lake
|
588
|
+
# Formation-managed data lake.
|
553
589
|
#
|
554
590
|
# @option params [String] :catalog_id
|
555
591
|
# The identifier for the Data Catalog. By default, the account ID. The
|
@@ -574,11 +610,13 @@ module Aws::LakeFormation
|
|
574
610
|
# resp.data_lake_settings.create_database_default_permissions #=> Array
|
575
611
|
# resp.data_lake_settings.create_database_default_permissions[0].principal.data_lake_principal_identifier #=> String
|
576
612
|
# 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"
|
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"
|
578
614
|
# resp.data_lake_settings.create_table_default_permissions #=> Array
|
579
615
|
# resp.data_lake_settings.create_table_default_permissions[0].principal.data_lake_principal_identifier #=> String
|
580
616
|
# 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"
|
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
|
582
620
|
#
|
583
621
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/GetDataLakeSettings AWS API Documentation
|
584
622
|
#
|
@@ -589,8 +627,10 @@ module Aws::LakeFormation
|
|
589
627
|
req.send_request(options)
|
590
628
|
end
|
591
629
|
|
592
|
-
# Returns the permissions for a specified table or
|
593
|
-
# 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.
|
594
634
|
#
|
595
635
|
# @option params [String] :catalog_id
|
596
636
|
# The identifier for the Data Catalog. By default, the account ID. The
|
@@ -629,20 +669,26 @@ module Aws::LakeFormation
|
|
629
669
|
#
|
630
670
|
# resp.permissions #=> Array
|
631
671
|
# resp.permissions[0].principal.data_lake_principal_identifier #=> String
|
672
|
+
# resp.permissions[0].resource.database.catalog_id #=> String
|
632
673
|
# resp.permissions[0].resource.database.name #=> String
|
674
|
+
# resp.permissions[0].resource.table.catalog_id #=> String
|
633
675
|
# resp.permissions[0].resource.table.database_name #=> String
|
634
676
|
# resp.permissions[0].resource.table.name #=> String
|
677
|
+
# resp.permissions[0].resource.table_with_columns.catalog_id #=> String
|
635
678
|
# resp.permissions[0].resource.table_with_columns.database_name #=> String
|
636
679
|
# resp.permissions[0].resource.table_with_columns.name #=> String
|
637
680
|
# resp.permissions[0].resource.table_with_columns.column_names #=> Array
|
638
681
|
# resp.permissions[0].resource.table_with_columns.column_names[0] #=> String
|
639
682
|
# resp.permissions[0].resource.table_with_columns.column_wildcard.excluded_column_names #=> Array
|
640
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
|
641
685
|
# resp.permissions[0].resource.data_location.resource_arn #=> String
|
642
686
|
# 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"
|
687
|
+
# resp.permissions[0].permissions[0] #=> String, one of "ALL", "SELECT", "ALTER", "DROP", "DELETE", "INSERT", "DESCRIBE", "CREATE_DATABASE", "CREATE_TABLE", "DATA_LOCATION_ACCESS"
|
644
688
|
# 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"
|
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
|
646
692
|
# resp.next_token #=> String
|
647
693
|
#
|
648
694
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/GetEffectivePermissionsForPath AWS API Documentation
|
@@ -663,7 +709,7 @@ module Aws::LakeFormation
|
|
663
709
|
#
|
664
710
|
#
|
665
711
|
#
|
666
|
-
# [1]: https://docs-aws.amazon.com/
|
712
|
+
# [1]: https://docs-aws.amazon.com/lake-formation/latest/dg/security-data-access.html
|
667
713
|
#
|
668
714
|
# @option params [String] :catalog_id
|
669
715
|
# The identifier for the Data Catalog. By default, the account ID. The
|
@@ -709,26 +755,32 @@ module Aws::LakeFormation
|
|
709
755
|
# catalog: {
|
710
756
|
# },
|
711
757
|
# database: {
|
758
|
+
# catalog_id: "CatalogIdString",
|
712
759
|
# name: "NameString", # required
|
713
760
|
# },
|
714
761
|
# table: {
|
762
|
+
# catalog_id: "CatalogIdString",
|
715
763
|
# database_name: "NameString", # required
|
716
|
-
# name: "NameString",
|
764
|
+
# name: "NameString",
|
765
|
+
# table_wildcard: {
|
766
|
+
# },
|
717
767
|
# },
|
718
768
|
# table_with_columns: {
|
719
|
-
#
|
720
|
-
#
|
769
|
+
# catalog_id: "CatalogIdString",
|
770
|
+
# database_name: "NameString", # required
|
771
|
+
# name: "NameString", # required
|
721
772
|
# column_names: ["NameString"],
|
722
773
|
# column_wildcard: {
|
723
774
|
# excluded_column_names: ["NameString"],
|
724
775
|
# },
|
725
776
|
# },
|
726
777
|
# data_location: {
|
778
|
+
# catalog_id: "CatalogIdString",
|
727
779
|
# resource_arn: "ResourceArnString", # required
|
728
780
|
# },
|
729
781
|
# },
|
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
|
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
|
732
784
|
# })
|
733
785
|
#
|
734
786
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/GrantPermissions AWS API Documentation
|
@@ -753,7 +805,7 @@ module Aws::LakeFormation
|
|
753
805
|
#
|
754
806
|
#
|
755
807
|
#
|
756
|
-
# [1]: https://docs-aws.amazon.com/
|
808
|
+
# [1]: https://docs-aws.amazon.com/lake-formation/latest/dg/security-data-access.html
|
757
809
|
#
|
758
810
|
# @option params [String] :catalog_id
|
759
811
|
# The identifier for the Data Catalog. By default, the account ID. The
|
@@ -800,21 +852,27 @@ module Aws::LakeFormation
|
|
800
852
|
# catalog: {
|
801
853
|
# },
|
802
854
|
# database: {
|
855
|
+
# catalog_id: "CatalogIdString",
|
803
856
|
# name: "NameString", # required
|
804
857
|
# },
|
805
858
|
# table: {
|
859
|
+
# catalog_id: "CatalogIdString",
|
806
860
|
# database_name: "NameString", # required
|
807
|
-
# name: "NameString",
|
861
|
+
# name: "NameString",
|
862
|
+
# table_wildcard: {
|
863
|
+
# },
|
808
864
|
# },
|
809
865
|
# table_with_columns: {
|
810
|
-
#
|
811
|
-
#
|
866
|
+
# catalog_id: "CatalogIdString",
|
867
|
+
# database_name: "NameString", # required
|
868
|
+
# name: "NameString", # required
|
812
869
|
# column_names: ["NameString"],
|
813
870
|
# column_wildcard: {
|
814
871
|
# excluded_column_names: ["NameString"],
|
815
872
|
# },
|
816
873
|
# },
|
817
874
|
# data_location: {
|
875
|
+
# catalog_id: "CatalogIdString",
|
818
876
|
# resource_arn: "ResourceArnString", # required
|
819
877
|
# },
|
820
878
|
# },
|
@@ -826,20 +884,26 @@ module Aws::LakeFormation
|
|
826
884
|
#
|
827
885
|
# resp.principal_resource_permissions #=> Array
|
828
886
|
# resp.principal_resource_permissions[0].principal.data_lake_principal_identifier #=> String
|
887
|
+
# resp.principal_resource_permissions[0].resource.database.catalog_id #=> String
|
829
888
|
# resp.principal_resource_permissions[0].resource.database.name #=> String
|
889
|
+
# resp.principal_resource_permissions[0].resource.table.catalog_id #=> String
|
830
890
|
# resp.principal_resource_permissions[0].resource.table.database_name #=> String
|
831
891
|
# resp.principal_resource_permissions[0].resource.table.name #=> String
|
892
|
+
# resp.principal_resource_permissions[0].resource.table_with_columns.catalog_id #=> String
|
832
893
|
# resp.principal_resource_permissions[0].resource.table_with_columns.database_name #=> String
|
833
894
|
# resp.principal_resource_permissions[0].resource.table_with_columns.name #=> String
|
834
895
|
# resp.principal_resource_permissions[0].resource.table_with_columns.column_names #=> Array
|
835
896
|
# resp.principal_resource_permissions[0].resource.table_with_columns.column_names[0] #=> String
|
836
897
|
# resp.principal_resource_permissions[0].resource.table_with_columns.column_wildcard.excluded_column_names #=> Array
|
837
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
|
838
900
|
# resp.principal_resource_permissions[0].resource.data_location.resource_arn #=> String
|
839
901
|
# 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"
|
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"
|
841
903
|
# 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"
|
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
|
843
907
|
# resp.next_token #=> String
|
844
908
|
#
|
845
909
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/ListPermissions AWS API Documentation
|
@@ -902,7 +966,17 @@ module Aws::LakeFormation
|
|
902
966
|
req.send_request(options)
|
903
967
|
end
|
904
968
|
|
905
|
-
#
|
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
|
906
980
|
#
|
907
981
|
# @option params [String] :catalog_id
|
908
982
|
# The identifier for the Data Catalog. By default, the account ID. The
|
@@ -911,7 +985,8 @@ module Aws::LakeFormation
|
|
911
985
|
# manage your AWS Lake Formation environment.
|
912
986
|
#
|
913
987
|
# @option params [required, Types::DataLakeSettings] :data_lake_settings
|
914
|
-
# A list of AWS Lake Formation principals
|
988
|
+
# A structure representing a list of AWS Lake Formation principals
|
989
|
+
# designated as data lake administrators.
|
915
990
|
#
|
916
991
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
917
992
|
#
|
@@ -930,7 +1005,7 @@ module Aws::LakeFormation
|
|
930
1005
|
# principal: {
|
931
1006
|
# data_lake_principal_identifier: "DataLakePrincipalString",
|
932
1007
|
# },
|
933
|
-
# 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
|
934
1009
|
# },
|
935
1010
|
# ],
|
936
1011
|
# create_table_default_permissions: [
|
@@ -938,9 +1013,10 @@ module Aws::LakeFormation
|
|
938
1013
|
# principal: {
|
939
1014
|
# data_lake_principal_identifier: "DataLakePrincipalString",
|
940
1015
|
# },
|
941
|
-
# 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
|
942
1017
|
# },
|
943
1018
|
# ],
|
1019
|
+
# trusted_resource_owners: ["CatalogIdString"],
|
944
1020
|
# },
|
945
1021
|
# })
|
946
1022
|
#
|
@@ -964,16 +1040,36 @@ module Aws::LakeFormation
|
|
964
1040
|
# attaches it to the service-linked role. When you register subsequent
|
965
1041
|
# paths, Lake Formation adds the path to the existing policy.
|
966
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
|
+
#
|
967
1054
|
# @option params [required, String] :resource_arn
|
968
1055
|
# The Amazon Resource Name (ARN) of the resource that you want to
|
969
1056
|
# register.
|
970
1057
|
#
|
971
1058
|
# @option params [Boolean] :use_service_linked_role
|
972
|
-
# Designates
|
973
|
-
#
|
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
|
974
1070
|
#
|
975
1071
|
# @option params [String] :role_arn
|
976
|
-
# The identifier for the role.
|
1072
|
+
# The identifier for the role that registers the resource.
|
977
1073
|
#
|
978
1074
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
979
1075
|
#
|
@@ -1017,7 +1113,7 @@ module Aws::LakeFormation
|
|
1017
1113
|
#
|
1018
1114
|
#
|
1019
1115
|
#
|
1020
|
-
# [1]: https://docs-aws.amazon.com/
|
1116
|
+
# [1]: https://docs-aws.amazon.com/lake-formation/latest/dg/security-data-access.html
|
1021
1117
|
#
|
1022
1118
|
# @option params [Array<String>] :permissions_with_grant_option
|
1023
1119
|
# Indicates a list of permissions for which to revoke the grant option
|
@@ -1036,26 +1132,32 @@ module Aws::LakeFormation
|
|
1036
1132
|
# catalog: {
|
1037
1133
|
# },
|
1038
1134
|
# database: {
|
1135
|
+
# catalog_id: "CatalogIdString",
|
1039
1136
|
# name: "NameString", # required
|
1040
1137
|
# },
|
1041
1138
|
# table: {
|
1139
|
+
# catalog_id: "CatalogIdString",
|
1042
1140
|
# database_name: "NameString", # required
|
1043
|
-
# name: "NameString",
|
1141
|
+
# name: "NameString",
|
1142
|
+
# table_wildcard: {
|
1143
|
+
# },
|
1044
1144
|
# },
|
1045
1145
|
# table_with_columns: {
|
1046
|
-
#
|
1047
|
-
#
|
1146
|
+
# catalog_id: "CatalogIdString",
|
1147
|
+
# database_name: "NameString", # required
|
1148
|
+
# name: "NameString", # required
|
1048
1149
|
# column_names: ["NameString"],
|
1049
1150
|
# column_wildcard: {
|
1050
1151
|
# excluded_column_names: ["NameString"],
|
1051
1152
|
# },
|
1052
1153
|
# },
|
1053
1154
|
# data_location: {
|
1155
|
+
# catalog_id: "CatalogIdString",
|
1054
1156
|
# resource_arn: "ResourceArnString", # required
|
1055
1157
|
# },
|
1056
1158
|
# },
|
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
|
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
|
1059
1161
|
# })
|
1060
1162
|
#
|
1061
1163
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/RevokePermissions AWS API Documentation
|
@@ -1108,7 +1210,7 @@ module Aws::LakeFormation
|
|
1108
1210
|
params: params,
|
1109
1211
|
config: config)
|
1110
1212
|
context[:gem_name] = 'aws-sdk-lakeformation'
|
1111
|
-
context[:gem_version] = '1.
|
1213
|
+
context[:gem_version] = '1.11.0'
|
1112
1214
|
Seahorse::Client::Request.new(handlers, context)
|
1113
1215
|
end
|
1114
1216
|
|
@@ -40,6 +40,7 @@ module Aws::LakeFormation
|
|
40
40
|
DescribeResourceRequest = Shapes::StructureShape.new(name: 'DescribeResourceRequest')
|
41
41
|
DescribeResourceResponse = Shapes::StructureShape.new(name: 'DescribeResourceResponse')
|
42
42
|
DescriptionString = Shapes::StringShape.new(name: 'DescriptionString')
|
43
|
+
DetailsMap = Shapes::StructureShape.new(name: 'DetailsMap')
|
43
44
|
EntityNotFoundException = Shapes::StructureShape.new(name: 'EntityNotFoundException')
|
44
45
|
ErrorDetail = Shapes::StructureShape.new(name: 'ErrorDetail')
|
45
46
|
FieldNameString = Shapes::StringShape.new(name: 'FieldNameString')
|
@@ -73,19 +74,23 @@ module Aws::LakeFormation
|
|
73
74
|
PrincipalResourcePermissionsList = Shapes::ListShape.new(name: 'PrincipalResourcePermissionsList')
|
74
75
|
PutDataLakeSettingsRequest = Shapes::StructureShape.new(name: 'PutDataLakeSettingsRequest')
|
75
76
|
PutDataLakeSettingsResponse = Shapes::StructureShape.new(name: 'PutDataLakeSettingsResponse')
|
77
|
+
RAMResourceShareArn = Shapes::StringShape.new(name: 'RAMResourceShareArn')
|
76
78
|
RegisterResourceRequest = Shapes::StructureShape.new(name: 'RegisterResourceRequest')
|
77
79
|
RegisterResourceResponse = Shapes::StructureShape.new(name: 'RegisterResourceResponse')
|
78
80
|
Resource = Shapes::StructureShape.new(name: 'Resource')
|
79
81
|
ResourceArnString = Shapes::StringShape.new(name: 'ResourceArnString')
|
80
82
|
ResourceInfo = Shapes::StructureShape.new(name: 'ResourceInfo')
|
81
83
|
ResourceInfoList = Shapes::ListShape.new(name: 'ResourceInfoList')
|
84
|
+
ResourceShareList = Shapes::ListShape.new(name: 'ResourceShareList')
|
82
85
|
RevokePermissionsRequest = Shapes::StructureShape.new(name: 'RevokePermissionsRequest')
|
83
86
|
RevokePermissionsResponse = Shapes::StructureShape.new(name: 'RevokePermissionsResponse')
|
84
87
|
StringValue = Shapes::StringShape.new(name: 'StringValue')
|
85
88
|
StringValueList = Shapes::ListShape.new(name: 'StringValueList')
|
86
89
|
TableResource = Shapes::StructureShape.new(name: 'TableResource')
|
90
|
+
TableWildcard = Shapes::StructureShape.new(name: 'TableWildcard')
|
87
91
|
TableWithColumnsResource = Shapes::StructureShape.new(name: 'TableWithColumnsResource')
|
88
92
|
Token = Shapes::StringShape.new(name: 'Token')
|
93
|
+
TrustedResourceOwners = Shapes::ListShape.new(name: 'TrustedResourceOwners')
|
89
94
|
UpdateResourceRequest = Shapes::StructureShape.new(name: 'UpdateResourceRequest')
|
90
95
|
UpdateResourceResponse = Shapes::StructureShape.new(name: 'UpdateResourceResponse')
|
91
96
|
|
@@ -139,11 +144,14 @@ module Aws::LakeFormation
|
|
139
144
|
DataLakeSettings.add_member(:data_lake_admins, Shapes::ShapeRef.new(shape: DataLakePrincipalList, location_name: "DataLakeAdmins"))
|
140
145
|
DataLakeSettings.add_member(:create_database_default_permissions, Shapes::ShapeRef.new(shape: PrincipalPermissionsList, location_name: "CreateDatabaseDefaultPermissions"))
|
141
146
|
DataLakeSettings.add_member(:create_table_default_permissions, Shapes::ShapeRef.new(shape: PrincipalPermissionsList, location_name: "CreateTableDefaultPermissions"))
|
147
|
+
DataLakeSettings.add_member(:trusted_resource_owners, Shapes::ShapeRef.new(shape: TrustedResourceOwners, location_name: "TrustedResourceOwners"))
|
142
148
|
DataLakeSettings.struct_class = Types::DataLakeSettings
|
143
149
|
|
150
|
+
DataLocationResource.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
|
144
151
|
DataLocationResource.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArnString, required: true, location_name: "ResourceArn"))
|
145
152
|
DataLocationResource.struct_class = Types::DataLocationResource
|
146
153
|
|
154
|
+
DatabaseResource.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
|
147
155
|
DatabaseResource.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Name"))
|
148
156
|
DatabaseResource.struct_class = Types::DatabaseResource
|
149
157
|
|
@@ -158,6 +166,9 @@ module Aws::LakeFormation
|
|
158
166
|
DescribeResourceResponse.add_member(:resource_info, Shapes::ShapeRef.new(shape: ResourceInfo, location_name: "ResourceInfo"))
|
159
167
|
DescribeResourceResponse.struct_class = Types::DescribeResourceResponse
|
160
168
|
|
169
|
+
DetailsMap.add_member(:resource_share, Shapes::ShapeRef.new(shape: ResourceShareList, location_name: "ResourceShare"))
|
170
|
+
DetailsMap.struct_class = Types::DetailsMap
|
171
|
+
|
161
172
|
EntityNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: MessageString, location_name: "Message"))
|
162
173
|
EntityNotFoundException.struct_class = Types::EntityNotFoundException
|
163
174
|
|
@@ -239,6 +250,7 @@ module Aws::LakeFormation
|
|
239
250
|
PrincipalResourcePermissions.add_member(:resource, Shapes::ShapeRef.new(shape: Resource, location_name: "Resource"))
|
240
251
|
PrincipalResourcePermissions.add_member(:permissions, Shapes::ShapeRef.new(shape: PermissionList, location_name: "Permissions"))
|
241
252
|
PrincipalResourcePermissions.add_member(:permissions_with_grant_option, Shapes::ShapeRef.new(shape: PermissionList, location_name: "PermissionsWithGrantOption"))
|
253
|
+
PrincipalResourcePermissions.add_member(:additional_details, Shapes::ShapeRef.new(shape: DetailsMap, location_name: "AdditionalDetails"))
|
242
254
|
PrincipalResourcePermissions.struct_class = Types::PrincipalResourcePermissions
|
243
255
|
|
244
256
|
PrincipalResourcePermissionsList.member = Shapes::ShapeRef.new(shape: PrincipalResourcePermissions)
|
@@ -270,6 +282,8 @@ module Aws::LakeFormation
|
|
270
282
|
|
271
283
|
ResourceInfoList.member = Shapes::ShapeRef.new(shape: ResourceInfo)
|
272
284
|
|
285
|
+
ResourceShareList.member = Shapes::ShapeRef.new(shape: RAMResourceShareArn)
|
286
|
+
|
273
287
|
RevokePermissionsRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
|
274
288
|
RevokePermissionsRequest.add_member(:principal, Shapes::ShapeRef.new(shape: DataLakePrincipal, required: true, location_name: "Principal"))
|
275
289
|
RevokePermissionsRequest.add_member(:resource, Shapes::ShapeRef.new(shape: Resource, required: true, location_name: "Resource"))
|
@@ -281,16 +295,23 @@ module Aws::LakeFormation
|
|
281
295
|
|
282
296
|
StringValueList.member = Shapes::ShapeRef.new(shape: StringValue)
|
283
297
|
|
298
|
+
TableResource.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
|
284
299
|
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,
|
300
|
+
TableResource.add_member(:name, Shapes::ShapeRef.new(shape: NameString, location_name: "Name"))
|
301
|
+
TableResource.add_member(:table_wildcard, Shapes::ShapeRef.new(shape: TableWildcard, location_name: "TableWildcard"))
|
286
302
|
TableResource.struct_class = Types::TableResource
|
287
303
|
|
288
|
-
|
289
|
-
|
304
|
+
TableWildcard.struct_class = Types::TableWildcard
|
305
|
+
|
306
|
+
TableWithColumnsResource.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
|
307
|
+
TableWithColumnsResource.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "DatabaseName"))
|
308
|
+
TableWithColumnsResource.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Name"))
|
290
309
|
TableWithColumnsResource.add_member(:column_names, Shapes::ShapeRef.new(shape: ColumnNames, location_name: "ColumnNames"))
|
291
310
|
TableWithColumnsResource.add_member(:column_wildcard, Shapes::ShapeRef.new(shape: ColumnWildcard, location_name: "ColumnWildcard"))
|
292
311
|
TableWithColumnsResource.struct_class = Types::TableWithColumnsResource
|
293
312
|
|
313
|
+
TrustedResourceOwners.member = Shapes::ShapeRef.new(shape: CatalogIdString)
|
314
|
+
|
294
315
|
UpdateResourceRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: IAMRoleArn, required: true, location_name: "RoleArn"))
|
295
316
|
UpdateResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArnString, required: true, location_name: "ResourceArn"))
|
296
317
|
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",
|
48
|
+
# name: "NameString",
|
49
|
+
# table_wildcard: {
|
50
|
+
# },
|
47
51
|
# },
|
48
52
|
# table_with_columns: {
|
49
|
-
#
|
50
|
-
#
|
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",
|
146
|
+
# name: "NameString",
|
147
|
+
# table_wildcard: {
|
148
|
+
# },
|
139
149
|
# },
|
140
150
|
# table_with_columns: {
|
141
|
-
#
|
142
|
-
#
|
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",
|
221
|
+
# name: "NameString",
|
222
|
+
# table_wildcard: {
|
223
|
+
# },
|
208
224
|
# },
|
209
225
|
# table_with_columns: {
|
210
|
-
#
|
211
|
-
#
|
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
|
-
#
|
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
|
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
|
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
|
@@ -475,6 +524,26 @@ module Aws::LakeFormation
|
|
475
524
|
include Aws::Structure
|
476
525
|
end
|
477
526
|
|
527
|
+
# A structure containing the additional details to be returned in the
|
528
|
+
# `AdditionalDetails` attribute of `PrincipalResourcePermissions`.
|
529
|
+
#
|
530
|
+
# If a catalog resource is shared through AWS Resource Access Manager
|
531
|
+
# (AWS RAM), then there will exist a corresponding RAM share resource
|
532
|
+
# ARN.
|
533
|
+
#
|
534
|
+
# @!attribute [rw] resource_share
|
535
|
+
# A share resource ARN for a catalog resource shared through AWS
|
536
|
+
# Resource Access Manager (AWS RAM).
|
537
|
+
# @return [Array<String>]
|
538
|
+
#
|
539
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/DetailsMap AWS API Documentation
|
540
|
+
#
|
541
|
+
class DetailsMap < Struct.new(
|
542
|
+
:resource_share)
|
543
|
+
SENSITIVE = []
|
544
|
+
include Aws::Structure
|
545
|
+
end
|
546
|
+
|
478
547
|
# A specified entity does not exist
|
479
548
|
#
|
480
549
|
# @!attribute [rw] message
|
@@ -565,7 +634,8 @@ module Aws::LakeFormation
|
|
565
634
|
end
|
566
635
|
|
567
636
|
# @!attribute [rw] data_lake_settings
|
568
|
-
# A list of AWS Lake Formation principals
|
637
|
+
# A structure representing a list of AWS Lake Formation principals
|
638
|
+
# designated as data lake administrators.
|
569
639
|
# @return [Types::DataLakeSettings]
|
570
640
|
#
|
571
641
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/GetDataLakeSettingsResponse AWS API Documentation
|
@@ -649,26 +719,32 @@ module Aws::LakeFormation
|
|
649
719
|
# catalog: {
|
650
720
|
# },
|
651
721
|
# database: {
|
722
|
+
# catalog_id: "CatalogIdString",
|
652
723
|
# name: "NameString", # required
|
653
724
|
# },
|
654
725
|
# table: {
|
726
|
+
# catalog_id: "CatalogIdString",
|
655
727
|
# database_name: "NameString", # required
|
656
|
-
# name: "NameString",
|
728
|
+
# name: "NameString",
|
729
|
+
# table_wildcard: {
|
730
|
+
# },
|
657
731
|
# },
|
658
732
|
# table_with_columns: {
|
659
|
-
#
|
660
|
-
#
|
733
|
+
# catalog_id: "CatalogIdString",
|
734
|
+
# database_name: "NameString", # required
|
735
|
+
# name: "NameString", # required
|
661
736
|
# column_names: ["NameString"],
|
662
737
|
# column_wildcard: {
|
663
738
|
# excluded_column_names: ["NameString"],
|
664
739
|
# },
|
665
740
|
# },
|
666
741
|
# data_location: {
|
742
|
+
# catalog_id: "CatalogIdString",
|
667
743
|
# resource_arn: "ResourceArnString", # required
|
668
744
|
# },
|
669
745
|
# },
|
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
|
746
|
+
# permissions: ["ALL"], # required, accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, DESCRIBE, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
|
747
|
+
# permissions_with_grant_option: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, DESCRIBE, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
|
672
748
|
# }
|
673
749
|
#
|
674
750
|
# @!attribute [rw] catalog_id
|
@@ -765,21 +841,27 @@ module Aws::LakeFormation
|
|
765
841
|
# catalog: {
|
766
842
|
# },
|
767
843
|
# database: {
|
844
|
+
# catalog_id: "CatalogIdString",
|
768
845
|
# name: "NameString", # required
|
769
846
|
# },
|
770
847
|
# table: {
|
848
|
+
# catalog_id: "CatalogIdString",
|
771
849
|
# database_name: "NameString", # required
|
772
|
-
# name: "NameString",
|
850
|
+
# name: "NameString",
|
851
|
+
# table_wildcard: {
|
852
|
+
# },
|
773
853
|
# },
|
774
854
|
# table_with_columns: {
|
775
|
-
#
|
776
|
-
#
|
855
|
+
# catalog_id: "CatalogIdString",
|
856
|
+
# database_name: "NameString", # required
|
857
|
+
# name: "NameString", # required
|
777
858
|
# column_names: ["NameString"],
|
778
859
|
# column_wildcard: {
|
779
860
|
# excluded_column_names: ["NameString"],
|
780
861
|
# },
|
781
862
|
# },
|
782
863
|
# data_location: {
|
864
|
+
# catalog_id: "CatalogIdString",
|
783
865
|
# resource_arn: "ResourceArnString", # required
|
784
866
|
# },
|
785
867
|
# },
|
@@ -931,7 +1013,7 @@ module Aws::LakeFormation
|
|
931
1013
|
# principal: {
|
932
1014
|
# data_lake_principal_identifier: "DataLakePrincipalString",
|
933
1015
|
# },
|
934
|
-
# 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
|
935
1017
|
# }
|
936
1018
|
#
|
937
1019
|
# @!attribute [rw] principal
|
@@ -970,13 +1052,20 @@ module Aws::LakeFormation
|
|
970
1052
|
# subset of permissions granted).
|
971
1053
|
# @return [Array<String>]
|
972
1054
|
#
|
1055
|
+
# @!attribute [rw] additional_details
|
1056
|
+
# This attribute can be used to return any additional details of
|
1057
|
+
# `PrincipalResourcePermissions`. Currently returns only as a RAM
|
1058
|
+
# share resource ARN.
|
1059
|
+
# @return [Types::DetailsMap]
|
1060
|
+
#
|
973
1061
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/PrincipalResourcePermissions AWS API Documentation
|
974
1062
|
#
|
975
1063
|
class PrincipalResourcePermissions < Struct.new(
|
976
1064
|
:principal,
|
977
1065
|
:resource,
|
978
1066
|
:permissions,
|
979
|
-
:permissions_with_grant_option
|
1067
|
+
:permissions_with_grant_option,
|
1068
|
+
:additional_details)
|
980
1069
|
SENSITIVE = []
|
981
1070
|
include Aws::Structure
|
982
1071
|
end
|
@@ -997,7 +1086,7 @@ module Aws::LakeFormation
|
|
997
1086
|
# principal: {
|
998
1087
|
# data_lake_principal_identifier: "DataLakePrincipalString",
|
999
1088
|
# },
|
1000
|
-
# permissions: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
|
1089
|
+
# permissions: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, DESCRIBE, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
|
1001
1090
|
# },
|
1002
1091
|
# ],
|
1003
1092
|
# create_table_default_permissions: [
|
@@ -1005,9 +1094,10 @@ module Aws::LakeFormation
|
|
1005
1094
|
# principal: {
|
1006
1095
|
# data_lake_principal_identifier: "DataLakePrincipalString",
|
1007
1096
|
# },
|
1008
|
-
# permissions: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
|
1097
|
+
# permissions: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, DESCRIBE, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
|
1009
1098
|
# },
|
1010
1099
|
# ],
|
1100
|
+
# trusted_resource_owners: ["CatalogIdString"],
|
1011
1101
|
# },
|
1012
1102
|
# }
|
1013
1103
|
#
|
@@ -1019,7 +1109,8 @@ module Aws::LakeFormation
|
|
1019
1109
|
# @return [String]
|
1020
1110
|
#
|
1021
1111
|
# @!attribute [rw] data_lake_settings
|
1022
|
-
# A list of AWS Lake Formation principals
|
1112
|
+
# A structure representing a list of AWS Lake Formation principals
|
1113
|
+
# designated as data lake administrators.
|
1023
1114
|
# @return [Types::DataLakeSettings]
|
1024
1115
|
#
|
1025
1116
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/PutDataLakeSettingsRequest AWS API Documentation
|
@@ -1050,12 +1141,21 @@ module Aws::LakeFormation
|
|
1050
1141
|
# @return [String]
|
1051
1142
|
#
|
1052
1143
|
# @!attribute [rw] use_service_linked_role
|
1053
|
-
# Designates
|
1054
|
-
#
|
1144
|
+
# Designates an AWS Identity and Access Management (IAM)
|
1145
|
+
# service-linked role by registering this role with the Data Catalog.
|
1146
|
+
# A service-linked role is a unique type of IAM role that is linked
|
1147
|
+
# directly to Lake Formation.
|
1148
|
+
#
|
1149
|
+
# For more information, see [Using Service-Linked Roles for Lake
|
1150
|
+
# Formation][1].
|
1151
|
+
#
|
1152
|
+
#
|
1153
|
+
#
|
1154
|
+
# [1]: https://docs-aws.amazon.com/lake-formation/latest/dg/service-linked-roles.html
|
1055
1155
|
# @return [Boolean]
|
1056
1156
|
#
|
1057
1157
|
# @!attribute [rw] role_arn
|
1058
|
-
# The identifier for the role.
|
1158
|
+
# The identifier for the role that registers the resource.
|
1059
1159
|
# @return [String]
|
1060
1160
|
#
|
1061
1161
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/RegisterResourceRequest AWS API Documentation
|
@@ -1081,21 +1181,27 @@ module Aws::LakeFormation
|
|
1081
1181
|
# catalog: {
|
1082
1182
|
# },
|
1083
1183
|
# database: {
|
1184
|
+
# catalog_id: "CatalogIdString",
|
1084
1185
|
# name: "NameString", # required
|
1085
1186
|
# },
|
1086
1187
|
# table: {
|
1188
|
+
# catalog_id: "CatalogIdString",
|
1087
1189
|
# database_name: "NameString", # required
|
1088
|
-
# name: "NameString",
|
1190
|
+
# name: "NameString",
|
1191
|
+
# table_wildcard: {
|
1192
|
+
# },
|
1089
1193
|
# },
|
1090
1194
|
# table_with_columns: {
|
1091
|
-
#
|
1092
|
-
#
|
1195
|
+
# catalog_id: "CatalogIdString",
|
1196
|
+
# database_name: "NameString", # required
|
1197
|
+
# name: "NameString", # required
|
1093
1198
|
# column_names: ["NameString"],
|
1094
1199
|
# column_wildcard: {
|
1095
1200
|
# excluded_column_names: ["NameString"],
|
1096
1201
|
# },
|
1097
1202
|
# },
|
1098
1203
|
# data_location: {
|
1204
|
+
# catalog_id: "CatalogIdString",
|
1099
1205
|
# resource_arn: "ResourceArnString", # required
|
1100
1206
|
# },
|
1101
1207
|
# }
|
@@ -1180,26 +1286,32 @@ module Aws::LakeFormation
|
|
1180
1286
|
# catalog: {
|
1181
1287
|
# },
|
1182
1288
|
# database: {
|
1289
|
+
# catalog_id: "CatalogIdString",
|
1183
1290
|
# name: "NameString", # required
|
1184
1291
|
# },
|
1185
1292
|
# table: {
|
1293
|
+
# catalog_id: "CatalogIdString",
|
1186
1294
|
# database_name: "NameString", # required
|
1187
|
-
# name: "NameString",
|
1295
|
+
# name: "NameString",
|
1296
|
+
# table_wildcard: {
|
1297
|
+
# },
|
1188
1298
|
# },
|
1189
1299
|
# table_with_columns: {
|
1190
|
-
#
|
1191
|
-
#
|
1300
|
+
# catalog_id: "CatalogIdString",
|
1301
|
+
# database_name: "NameString", # required
|
1302
|
+
# name: "NameString", # required
|
1192
1303
|
# column_names: ["NameString"],
|
1193
1304
|
# column_wildcard: {
|
1194
1305
|
# excluded_column_names: ["NameString"],
|
1195
1306
|
# },
|
1196
1307
|
# },
|
1197
1308
|
# data_location: {
|
1309
|
+
# catalog_id: "CatalogIdString",
|
1198
1310
|
# resource_arn: "ResourceArnString", # required
|
1199
1311
|
# },
|
1200
1312
|
# },
|
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
|
1313
|
+
# permissions: ["ALL"], # required, accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, DESCRIBE, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
|
1314
|
+
# permissions_with_grant_option: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, DESCRIBE, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
|
1203
1315
|
# }
|
1204
1316
|
#
|
1205
1317
|
# @!attribute [rw] catalog_id
|
@@ -1224,7 +1336,7 @@ module Aws::LakeFormation
|
|
1224
1336
|
#
|
1225
1337
|
#
|
1226
1338
|
#
|
1227
|
-
# [1]: https://docs-aws.amazon.com/
|
1339
|
+
# [1]: https://docs-aws.amazon.com/lake-formation/latest/dg/security-data-access.html
|
1228
1340
|
# @return [Array<String>]
|
1229
1341
|
#
|
1230
1342
|
# @!attribute [rw] permissions_with_grant_option
|
@@ -1256,10 +1368,18 @@ module Aws::LakeFormation
|
|
1256
1368
|
# data as a hash:
|
1257
1369
|
#
|
1258
1370
|
# {
|
1371
|
+
# catalog_id: "CatalogIdString",
|
1259
1372
|
# database_name: "NameString", # required
|
1260
|
-
# name: "NameString",
|
1373
|
+
# name: "NameString",
|
1374
|
+
# table_wildcard: {
|
1375
|
+
# },
|
1261
1376
|
# }
|
1262
1377
|
#
|
1378
|
+
# @!attribute [rw] catalog_id
|
1379
|
+
# The identifier for the Data Catalog. By default, it is the account
|
1380
|
+
# ID of the caller.
|
1381
|
+
# @return [String]
|
1382
|
+
#
|
1263
1383
|
# @!attribute [rw] database_name
|
1264
1384
|
# The name of the database for the table. Unique to a Data Catalog. A
|
1265
1385
|
# database is a set of associated table definitions organized into a
|
@@ -1271,15 +1391,32 @@ module Aws::LakeFormation
|
|
1271
1391
|
# The name of the table.
|
1272
1392
|
# @return [String]
|
1273
1393
|
#
|
1394
|
+
# @!attribute [rw] table_wildcard
|
1395
|
+
# A wildcard object representing every table under a database.
|
1396
|
+
#
|
1397
|
+
# At least one of `TableResource$Name` or
|
1398
|
+
# `TableResource$TableWildcard` is required.
|
1399
|
+
# @return [Types::TableWildcard]
|
1400
|
+
#
|
1274
1401
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/TableResource AWS API Documentation
|
1275
1402
|
#
|
1276
1403
|
class TableResource < Struct.new(
|
1404
|
+
:catalog_id,
|
1277
1405
|
:database_name,
|
1278
|
-
:name
|
1406
|
+
:name,
|
1407
|
+
:table_wildcard)
|
1279
1408
|
SENSITIVE = []
|
1280
1409
|
include Aws::Structure
|
1281
1410
|
end
|
1282
1411
|
|
1412
|
+
# A wildcard object representing every table under a database.
|
1413
|
+
#
|
1414
|
+
# @api private
|
1415
|
+
#
|
1416
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/TableWildcard AWS API Documentation
|
1417
|
+
#
|
1418
|
+
class TableWildcard < Aws::EmptyStructure; end
|
1419
|
+
|
1283
1420
|
# A structure for a table with columns object. This object is only used
|
1284
1421
|
# when granting a SELECT permission.
|
1285
1422
|
#
|
@@ -1290,14 +1427,20 @@ module Aws::LakeFormation
|
|
1290
1427
|
# data as a hash:
|
1291
1428
|
#
|
1292
1429
|
# {
|
1293
|
-
#
|
1294
|
-
#
|
1430
|
+
# catalog_id: "CatalogIdString",
|
1431
|
+
# database_name: "NameString", # required
|
1432
|
+
# name: "NameString", # required
|
1295
1433
|
# column_names: ["NameString"],
|
1296
1434
|
# column_wildcard: {
|
1297
1435
|
# excluded_column_names: ["NameString"],
|
1298
1436
|
# },
|
1299
1437
|
# }
|
1300
1438
|
#
|
1439
|
+
# @!attribute [rw] catalog_id
|
1440
|
+
# The identifier for the Data Catalog. By default, it is the account
|
1441
|
+
# ID of the caller.
|
1442
|
+
# @return [String]
|
1443
|
+
#
|
1301
1444
|
# @!attribute [rw] database_name
|
1302
1445
|
# The name of the database for the table with columns resource. Unique
|
1303
1446
|
# to the Data Catalog. A database is a set of associated table
|
@@ -1324,6 +1467,7 @@ module Aws::LakeFormation
|
|
1324
1467
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/TableWithColumnsResource AWS API Documentation
|
1325
1468
|
#
|
1326
1469
|
class TableWithColumnsResource < Struct.new(
|
1470
|
+
:catalog_id,
|
1327
1471
|
:database_name,
|
1328
1472
|
:name,
|
1329
1473
|
: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.
|
4
|
+
version: 1.11.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-
|
11
|
+
date: 2020-09-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.109.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.109.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|