huawei-cloud-api-definitions-LakeFormation 0.1.20260828

Huawei Cloud API definitions, generated from OpenAPI spec
Documentation
1
{"base_path":null,"components":null,"consumes":"","definitions":{"AccessServiceInfo":{"description":"接入服务授权信息","properties":{"description":{"description":"接入服务描述。最大长度为500个字符。","maxLength":500,"minLength":0,"type":"string"},"grant":{"description":"是否授权。值为true或false。","example":true,"pattern":"false|true","type":"boolean"},"name":{"description":"接入服务名称。最大长度为20个字符。","maxLength":20,"minLength":0,"type":"string"}},"required":["name"],"type":"object"},"AccessServiceResponseBody":{"description":"接入服务授权信息列表","properties":{"access_services":{"description":"接入服务授权信息列表","items":{"$ref":"#/definitions/AccessServiceInfo"},"maxItems":100000,"minItems":0,"type":"array"}},"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":"f9930c485e574a06aa3fa8a3d2ff2401","info_version":"v1","method":"get","name":"ShowAccessService","parameters":{},"paths":{"/v1/{project_id}/access-service":{"get":{"description":"查询租户当前的接入服务授权","operationId":"ShowAccessService","parameters":[{"description":"租户token","in":"header","maxLength":65534,"minLength":0,"name":"X-Auth-Token","required":true,"type":"string","x-example":"MIIjxxxxxxxxxxxxxxxxxxxxxxxx4qA="},{"description":"项目编号。获取方法,请参见[获取项目ID](lakeformation_04_0026.xml)。","in":"path","name":"project_id","pattern":"^[0-9a-zA-Z]{32}$","required":true,"type":"string","x-example":"41aaxxxxxxxxxxxxxxxxxxxxxxxcc046"}],"produces":["application/json"],"responses":{"200":{"description":"租户协议查询响应体","examples":{"application/json":{"access_services":[{"description":"Data Lake Insight","grant":true,"name":"DLI"},{"description":"Data Warehouse Service","grant":true,"name":"DWS"},{"description":"ModelArts","grant":true,"name":"MA"}]}},"headers":{"X-request-id":{"description":"请求ID,定位辅助信息。","type":"string"}},"schema":{"$ref":"#/definitions/AccessServiceResponseBody"}},"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","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"}}},"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":["GrantAccess"],"x-apiexplorer-hide":"N","x-enable-auth-anno":{"type":"iam-token"},"x-iam-auth-meta-anno":{"abacAction":"lakeformation:instance:describe","authLevel":"project","rbac":"te_admin","supportAllGrantedEps":"true"},"x-is-registered":"Y","x-request-examples-url-1":"GET https://{endpoint}/v1/{project_id}/access-service","x-support-sdk":"Y"}}},"product_short":"LakeFormation","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"查询租户当前的接入服务授权","tags":"服务授权管理","uri":null,"version":"2.0"}