huawei-cloud-api-definitions-LakeFormation 0.1.20260807

Huawei Cloud API definitions, generated from OpenAPI spec
Documentation
1
{"base_path":null,"components":null,"consumes":"","definitions":{"Error":{"description":"失败403时返回的错误对象。","properties":{"code":{"description":"状态码。","example":"403","maxLength":36,"minLength":0,"type":"string"},"error_code":{"description":"错误码。","example":"403","maxLength":36,"minLength":0,"type":"string"},"error_msg":{"description":"错误描述。","example":"failed","maxLength":4096,"minLength":0,"type":"string"},"message":{"description":"错误信息。","example":"X-Auth-Token is invalid in the request","maxLength":4096,"minLength":0,"type":"string"},"title":{"description":"标题。","example":"Forbidden","maxLength":36,"minLength":0,"type":"string"}},"type":"object"},"ErrorForbiddenMessage":{"description":"失败403时返回的错误对象。","properties":{"error":{"$ref":"#/definitions/Error","description":"错误信息。"},"error_code":{"description":"错误码。","example":"403","maxLength":36,"minLength":0,"type":"string"},"error_msg":{"description":"错误描述。","example":"X-Auth-Token is invalid in the request","maxLength":4096,"minLength":2,"type":"string"},"title":{"description":"标题。","example":"Forbidden","maxLength":1024,"minLength":0,"type":"string"}},"required":["error","error_code","error_msg","title"],"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":"0bf14ee84b7145adb5ce1af427959f25","info_version":"v1","method":"delete","name":"DeleteTable","parameters":{},"paths":{"/v1/{project_id}/instances/{instance_id}/catalogs/{catalog_name}/databases/{database_name}/tables/{table_name}":{"delete":{"deprecated":false,"description":"删除表及表下的分区。","operationId":"DeleteTable","parameters":[{"description":"租户token。","in":"header","items":{"type":"string"},"maxItems":100,"minItems":1,"name":"X-Auth-Token","required":true,"type":"array"},{"description":"项目编号。获取方法,请参见[获取项目ID](lakeformation_04_0026.xml)。","in":"path","maxLength":64,"minLength":1,"name":"project_id","pattern":"^[a-z0-9]+$","required":true,"type":"string"},{"description":"LakeFormation实例ID。创建实例时自动生成。例如:2180518f-42b8-4947-b20b-adfc53981a25。","in":"path","name":"instance_id","pattern":"^[a-zA-Z0-9-]{36}$|default","required":true,"type":"string"},{"description":"catalog名称。只能包含字母、数字和下划线,且长度为1~256个字符。","in":"path","maxLength":256,"minLength":1,"name":"catalog_name","pattern":"[a-zA-Z0-9_]+","required":true,"type":"string"},{"description":"数据库名称。只能包含中文、字母、数字、下划线、中划线,且长度为1~128个字符。","in":"path","maxLength":128,"minLength":1,"name":"database_name","pattern":"^[a-zA-Z0-9\\u4e00-\\u9fa5_-]*$","required":true,"type":"string"},{"description":"表名称。只能包含中文、字母、数字、下划线、中划线,且长度为1~256个字符。","in":"path","maxLength":256,"minLength":1,"name":"table_name","pattern":"^[a-zA-Z0-9\\u4e00-\\u9fa5_-]*$","required":true,"type":"string"},{"default":false,"description":"是否删除表中的数据,该参数只针对内表生效,外表不会删除数据。默认为false。","in":"query","name":"delete_data","required":false,"type":"boolean","x-annotations":["@UsNoConstraint(reason = \"Boolean类型无需校验\")"],"x-imports":["com.huawei.us.validator.annotation.UsNoConstraint;"]},{"default":false,"description":"是否异步删除,默认为false。","in":"query","name":"is_async","required":false,"type":"boolean","x-annotations":["@UsNoConstraint(reason = \"Boolean类型无需校验\")"],"x-imports":["com.huawei.us.validator.annotation.UsNoConstraint;"]}],"produces":["application/json;charset=UTF-8"],"responses":{"200":{"description":"OK","headers":{"X-request-id":{"description":"请求ID,定位辅助信息。","type":"string"}}},"204":{"description":"No Content"},"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}"},"schema":{"$ref":"#/definitions/ErrorMessage"}},"403":{"description":"Forbidden","examples":{"application/json":{"error":{"code":"403","error_code":null,"error_msg":null,"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"}},"schema":{"$ref":"#/definitions/ErrorForbiddenMessage"}},"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"}},"schema":{"$ref":"#/definitions/ErrorMessage"}},"500":{"description":"Internal Server Error","examples":{"application/json":{"error_code":"common.00000500","error_msg":"internal error"}},"schema":{"$ref":"#/definitions/ErrorMessage"}}},"summary":"删除表","tags":["Table"],"x-apiexplorer-hide":"N","x-apigw-publish":"Y","x-enable-auth-anno":{"type":"iam-token"},"x-iam-auth-meta-anno":{"abacAction":"lakeformation:table:drop","authLevel":"instance"},"x-imports":["com.huawei.lakeformation.common.annotation.ApiCount;"],"x-is-registered":"Y","x-method-annotations":["@ApiCount","@CtsMeta(resourceType = \"Table\", traceName = \"deleteTable\", traceNameCn = \"删除表\", operationId = \"DeleteTable\",  isAsyncApi=false)"],"x-order":7,"x-request-examples-url-1":"DELETE https://{endpoint}/v1/{project_id}/instances/{instance_id}/catalogs/{catalog_name}/databases/{database_name}/tables/{table_name}","x-support-sdk":"Y"}}},"product_short":"LakeFormation","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"删除表","tags":"数据表管理","uri":null,"version":"2.0"}