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":{"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"},"ShowAgencyCredentialResponseBody":{"description":"查询委托凭据返回结果。","properties":{"access":{"description":"ak","example":"string","type":"string"},"agency_name":{"description":"委托名称","example":"table_trust","maxLength":128,"minLength":1,"type":"string"},"agency_type":{"description":"委托类型:TABLE_SERVICE_TRUST-表服务委托。","enum":["TABLE_SERVICE_TRUST"],"example":"TABLE_SERVICE_TRUST","type":"string"},"expires_at":{"description":"token到期时间","example":"string","type":"string"},"issued_at":{"description":"token下发时间","example":"string","type":"string"},"secret":{"description":"sk","example":"string","type":"string"},"security_token":{"description":"security token","example":"string","type":"string"}},"type":"object"}},"description":null,"group_id":"bf0ce8340d8b4439b53683607ef0d87f","host":"lakeformation.cn-north-4.myhuaweicloud.com","id":"5ae05209d82c4be6b70156e75cce7942","info_version":"v1","method":"get","name":"ShowAgencyCredential","parameters":{},"paths":{"/v1/agency/credential":{"get":{"consumes":["application/json"],"description":"查询委托凭据。","operationId":"ShowAgencyCredential","parameters":[{"description":"租户token。","in":"header","maxLength":65536,"minLength":1,"name":"X-Auth-Token","required":false,"type":"string"},{"default":"TABLE_SERVICE_TRUST","description":"委托类型:TABLE_SERVICE_TRUST-表服务委托。","enum":["TABLE_SERVICE_TRUST"],"in":"query","name":"agency_type","required":false,"type":"string","x-annotations":["@UsNoConstraint(reason = \"可选参数,null时业务层校验\")"],"x-imports":["com.huawei.us.validator.annotation.UsNoConstraint;"]}],"produces":["application/json"],"responses":{"200":{"description":"查询委托凭据成功","examples":{"application/json":{"agency_name":"table_trust","agency_type":"TABLE_SERVICE_TRUST","expires_at":"string","issued_at":"string","token":"string"}},"schema":{"$ref":"#/definitions/ShowAgencyCredentialResponseBody"}},"400":{"description":"{\n  \"error_code\": \"common.01000001\",\n  \"error_msg\": \"failed to read http request, please check your input, code: 400, reason: Type mismatch., cause: TypeMismatchException\"\n}","schema":{"$ref":"#/definitions/ErrorMessage"}},"401":{"description":"{\n  \"error_code\": \"APIG.1002\",\n  \"error_msg\": \"Incorrect token or token resolution failed\"\n}","schema":{"$ref":"#/definitions/ErrorMessage"}},"403":{"description":"{\n  \"error_code\": \"lakeformation.00010003\",\n  \"error_msg\": \"failed\",\n  \"common_error_code\": \"CMM.1008\",\n  \"solution_msg\": \"Please use correct instance id.\"\n}","schema":{"$ref":"#/definitions/ErrorForbiddenMessage"}},"404":{"description":"{\n  \"error_code\": \"common.01000001\",\n  \"error_msg\": \"response status exception, code: 404\"\n}","schema":{"$ref":"#/definitions/ErrorMessage"}},"408":{"description":"{\n  \"error_code\": \"common.00000408\",\n  \"error_msg\": \"timeout exception occurred\"\n}","schema":{"$ref":"#/definitions/ErrorMessage"}},"500":{"description":"{\n  \"error_code\": \"common.00000500\",\n  \"error_msg\": \"internal error\"\n}","schema":{"$ref":"#/definitions/ErrorMessage"}}},"summary":"查询委托凭据","tags":["Agency"],"x-apiexplorer-hide":"N","x-apigw-publish":"Y","x-enable-auth-anno":{"type":"iam-token"},"x-iam-auth-meta-anno":{"abacAction":"lakeformation::showAgencyCredential","abacActionAlias":"lakeformation:agency:describe","authContextInitializerName":"defaultIamAuthContextInitializer","authLevel":"TOKEN","model":"v5-pkitoken","needAbacCheck":true,"needAbacResourceCheck":false,"needApigwJwtAuthCheck":true,"needCbcCheck":true,"needResourceTagCheck":false,"opType":"guessByHttpMethod","rbac":"te_admin","supportAllGrantedEps":false},"x-is-registered":"Y","x-support-sdk":"Y"}}},"product_short":"LakeFormation","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"查询委托凭据","tags":"委托管理","uri":null,"version":"2.0"}