huawei-cloud-api-definitions-LakeFormation 0.1.20261120

Huawei Cloud API definitions, generated from OpenAPI spec
Documentation
1
{"base_path":null,"components":null,"consumes":"","definitions":{"AgencyResponseBody":{"description":"委托查询返回结果","properties":{"agency_type":{"description":"委托类型,JOB_TRUST-任务委托,ADMIN_TRUST-系统委托","enum":["JOB_TRUST","ADMIN_TRUST"],"example":"","type":"string"}},"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":"23930a854a7e4f4fb2625c67919b1183","info_version":"v1","method":"get","name":"ShowAgency","parameters":{},"paths":{"/v2/agency":{"get":{"consumes":["application/json"],"description":"委托查询","operationId":"ShowAgency","parameters":[{"description":"项目编号。获取方法,请参见[获取项目ID](lakeformation_04_0026.xml)。","in":"path","name":"project_id","pattern":"^[0-9a-zA-Z]{32}$","required":true,"type":"string"},{"description":"委托类型,JOB_TRUST-任务委托,ADMIN_TRUST-系统委托","enum":["JOB_TRUST","ADMIN_TRUST"],"in":"query","name":"agency_type","required":true,"type":"string"},{"description":"租户token","in":"header","maxLength":65536,"minLength":1,"name":"X-Auth-Token","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"委托返回结果","examples":{"application/json":{"agency_type":"JOB_TRUST"}},"schema":{"$ref":"#/definitions/AgencyResponseBody"}},"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\": {\n    \"code\": \"403\",\n    \"message\": \"X-Auth-Token is invalid in the request\",\n    \"error_code\": null,\n    \"error_msg\": null,\n    \"title\": \"Forbidden\"\n  },\n  \"error_code\": \"403\",\n  \"error_msg\": \"X-Auth-Token is invalid in the request\",\n  \"title\": \"Forbidden\"\n}","schema":{"$ref":"#/definitions/ErrorMessage"}},"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-enable-auth-anno":{"type":"iam-token"},"x-iam-auth-meta-anno":{"abacAction":"lakeformation:agency:describe","authLevel":"project","rbac":"te_admin"},"x-is-registered":"Y","x-request-examples-url-1":"/v1/{project_id}/agency?agency_type=JOB_TRUST","x-support-sdk":"Y"}}},"product_short":"LakeFormation","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"委托查询","tags":"委托管理","uri":null,"version":"2.0"}