huawei-cloud-api-definitions-LakeFormation 0.1.20260731

Huawei Cloud API definitions, generated from OpenAPI spec
Documentation
1
{"base_path":null,"components":null,"consumes":"","definitions":{"CountInfo":{"description":"元数据数量统计信息","properties":{"catalogs_count":{"description":"目录数量","example":100,"format":"int64","type":"integer"},"databases_count":{"description":"数据库数量","example":100,"format":"int64","type":"integer"},"functions_count":{"description":"函数数量","example":100,"format":"int64","type":"integer"},"indexes_count":{"description":"索引数量","example":100,"format":"int64","type":"integer"},"partitions_count":{"description":"分区数量","example":100,"format":"int64","type":"integer"},"tables_count":{"description":"表数量","example":100,"format":"int64","type":"integer"},"total_count":{"description":"总数量","example":600,"format":"int64","type":"integer"}},"required":["catalogs_count","databases_count","functions_count","indexes_count","partitions_count","tables_count","total_count"],"type":"object"},"ErrorMessage":{"description":"失败时返回的错误对象","properties":{"common_error_code":{"description":"CBC公共错误码","example":"CMM.1008","maxLength":36,"minLength":1,"type":"string"},"error_code":{"description":"错误码","example":"lakeformation.00010003","maxLength":36,"minLength":8,"type":"string"},"error_msg":{"description":"错误描述","example":"failed","maxLength":4096,"minLength":2,"type":"string"},"solution_msg":{"description":"解决方案描述","example":"Please use correct instance id.","maxLength":4096,"minLength":2,"type":"string"}},"required":["error_code","error_msg"],"type":"object"}},"description":null,"group_id":"bf0ce8340d8b4439b53683607ef0d87f","host":"lakeformation.cn-north-4.myhuaweicloud.com","id":"51f99f5aab2643e486f35e6163391da1","info_version":"v1","method":"post","name":"CountMetaObj","parameters":{},"paths":{"/v1/{project_id}/instances/{instance_id}/metaobj/count":{"post":{"deprecated":false,"description":"元数据数量统计接口","operationId":"CountMetaObj","parameters":[{"description":"租户token","in":"header","name":"X-Auth-Token","required":true,"type":"string"},{"description":"项目id","in":"path","maxLength":64,"minLength":1,"name":"project_id","pattern":"^[a-z0-9]+$","required":true,"type":"string"},{"description":"instance id","in":"path","minLength":1,"name":"instance_id","pattern":"^[a-zA-Z0-9-]{36}$","required":true,"type":"string"}],"produces":["application/json;charset=UTF-8"],"responses":{"200":{"description":"元数据数量统计信息","examples":{"application/json":"/"},"schema":{"$ref":"#/definitions/CountInfo"}},"400":{"description":"Bad Request","examples":{"application/json":{"error_code":"common.01000001","error_msg":"failed to read http request, please check your input, code: 400, reason: Type mismatch., cause: TypeMismatchException"}},"schema":{"$ref":"#/definitions/ErrorMessage"}},"401":{"description":"Unauthorized","examples":{"application/json":"{\n  \"error_code\": 'APIG.1002',\n  \"error_msg\": 'Incorrect token or token resolution failed'\n}"}},"403":{"description":"Forbidden","examples":{"application/json":{"error":{"code":"403","message":"X-Auth-Token is invalid in the request","title":"Forbidden"},"error_code":"403","error_msg":"X-Auth-Token is invalid in the request","title":"Forbidden"}}},"404":{"description":"Not Found","examples":{"application/json":{"error_code":"common.01000001","error_msg":"response status exception, code: 404"}},"schema":{"$ref":"#/definitions/ErrorMessage"}},"408":{"description":"Request Timeout","examples":{"application/json":{"error_code":"common.00000408","error_msg":"timeout exception occurred"}}},"500":{"description":"Internal Server Error","examples":{"application/json":{"error_code":"common.00000500","error_msg":"internal error"}},"schema":{"$ref":"#/definitions/ErrorMessage"}}},"summary":"元数据数量统计","tags":["Info"],"x-apiexplorer-hide":"N","x-is-registered":"Y","x-request-examples-url-1":"/v1/{project_id}/instances/{instance_id}/metaobj/count","x-support-sdk":"Y"}}},"product_short":"LakeFormation","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"元数据数量统计","tags":"元数据统计","uri":null,"version":"2.0"}