检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Fine-grained LakeFormation permissions grant access to metadata, OBS paths, and the data within them to entities, including users, user groups, and roles. The IAM permission model consists of IAM policies.
Enter a maximum of 4,000 characters. location No String Path, for example, obs://location/uri/. database_location_list No Array of strings List of database paths. A maximum of 1,000 paths can be displayed on the page. branch_name No String Branch name.
Enumeration values: IAM SAML LDAP LOCAL AGENTTENANT OTHER description String Database description. location String Database directory, for example, obs://location/uri/. data_statistic_enable Boolean Whether to enable data overview statistics.
Assume that path obs://a/b/c/d/e=1/f=99 exists and the data storage path is obs://a/b. Group level 2 indicates that d is used as the boundary. d is the table name. e=1 and f=99 indicate that table d is a partitioned table.
"IAM", "class_name" : "34", "create_time" : "2022-12-09T01:50:56.000+00:00", "resource_uris" : [ { "type" : "JAR", "uri" : "obs://lakeformation-test/" }, { "type" : "FILE", "uri" : "obs://lakeformation-test/test3/" } ] } Status code: 400 Bad Request {
Enumeration values: IAM SAML LDAP LOCAL AGENTTENANT OTHER description String Database description. location String Database directory, for example, obs://location/uri/. data_statistic_enable Boolean Whether to enable data overview statistics.
Interconnecting with OBS Add the following configuration items to the spark/conf/spark-defaults.conf file: # Fixed configuration for interconnecting with OBS.
You can grant permissions to metadata objects such as catalogs, databases, tables, columns, functions, and OBS paths. Authorized operations include operations related to metadata objects and read and write operations on OBS paths.
//lakeformation-test/" }, { "type" : "FILE", "uri" : "obs://lakeformation-test/test3/" } ] } ] } Status code: 400 Bad Request { "error_code" : "common.01000001", "error_msg" : "failed to read http request, please check your input, code: 400, reason: Type
//lakeformation-test/" }, { "type" : "FILE", "uri" : "obs://lakeformation-test/test3/" } ] } ] } Status code: 400 Bad Request { "error_code" : "common.01000001", "error_msg" : "failed to read http request, please check your input, code: 400, reason: Type
Response Parameters Status code: 200 Table 4 Response body parameters Parameter Type Description catalog_name String Catalog name. catalog_id String catalogID. description String Description. location String Path, for example, obs://location/uri/. database_location_list Array of strings
code: 200 Table 4 Response body parameters Parameter Type Description [items] Array of Catalog objects OK Table 5 Catalog Parameter Type Description catalog_name String Catalog name. catalog_id String catalogID. description String Description. location String Path, for example, obs
Catalogs Databases Tables Columns Functions OBS paths. Operation Type Access permission on the authorization object that the authorization entity has. Different authorization objects support different operations. For details, see Table 2.
Enumeration values: IAM SAML LDAP LOCAL AGENTTENANT OTHER description String Database description. location String Database directory, for example, obs://location/uri/. data_statistic_enable Boolean Whether to enable data overview statistics.
Table 13 StorageDescriptor Parameter Type Description columns Array of Column objects All fields except partition columns. location String Path, for example, obs://location/uri/. compressed Boolean Whether to enable data compression.
200 OK { "function_name" : "1456", "function_type" : "JAVA", "owner" : "owner_2", "owner_type" : "USER", "owner_auth_source_type" : "IAM", "class_name" : "34", "create_time" : "2022-12-09T01:50:56.000+00:00", "resource_uris" : [ { "type" : "JAR", "uri" : "obs
Table 2 Query Parameters Parameter Mandatory Type Description filter No String Permission policy filter expression, which is not supported currently. obs_authorized_location No String This API is used to query all metadata permissions that contain the OBS path with the OBS path permission
"lakeformation:catalog:drop" ] } ] } Example 3: Create a custom policy that contains the actions of multiple services. { "Version": "1.1", "Statement": [ { "Effect": "Allow", "Action": [ "obs
Enumeration values: IAM SAML LDAP LOCAL AGENTTENANT OTHER description String Database description. location String Database directory, for example, obs://location/uri/. data_statistic_enable Boolean Whether to enable data overview statistics.
Table 10 StorageDescriptor Parameter Type Description columns Array of Column objects All fields except partition columns. location String Path, for example, obs://location/uri/. compressed Boolean Whether to enable data compression.