huawei-cloud-api-definitions-LakeFormation 0.1.20260918

Huawei Cloud API definitions, generated from OpenAPI spec
Documentation
1
{"base_path":null,"components":null,"consumes":"","definitions":{"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"},"PagedInfo":{"description":"分页返回信息","properties":{"current_count":{"description":"本次返回的对象个数","format":"int32","maximum":2000,"minimum":0,"type":"integer"},"next_marker":{"description":"下一页查询地址","example":"006f492b-xxxx","maxLength":32,"type":"string"},"previous_marker":{"description":"上一页查询地址","example":"003e6eba-xxxx","maxLength":32,"type":"string"}},"required":["current_count","next_marker","previous_marker"],"type":"object"},"PagedListUser":{"properties":{"page_info":{"$ref":"#/definitions/PagedInfo","description":"分页信息"},"users":{"description":"用户列表","items":{"$ref":"#/definitions/User"},"maxItems":100000,"minItems":0,"type":"array"}},"title":"PagedListUser","type":"object"},"User":{"description":"user","properties":{"user_id":{"description":"用户ID","maxLength":256,"pattern":"[a-zA-Z0-9_]+","type":"string"},"user_name":{"description":"用户名","maxLength":256,"minLength":1,"pattern":"^[a-zA-Z_0-9\\-.]+$","type":"string"},"user_source":{"description":"用户类型\nIAM云用户\nSAML联邦\nLDAP ld用户\nLOCAL 本地用户\nAGENTTENANT 委托\nOTHER 其它","enum":["IAM","SAML","LDAP","LOCAL","AGENTTENANT","OTHER"],"type":"string"}},"required":["user_name","user_source","user_id"],"title":"User","type":"object"}},"description":null,"group_id":"bf0ce8340d8b4439b53683607ef0d87f","host":"lakeformation.cn-north-4.myhuaweicloud.com","id":"64110457b32d4f90af2dfbb39054e7cc","info_version":"v1","method":"get","name":"ListUsers","parameters":{},"paths":{"/v1/{project_id}/instances/{instance_id}/users":{"get":{"deprecated":false,"description":"获取用户列表","operationId":"ListUsers","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","minLength":1,"name":"instance_id","pattern":"^[a-zA-Z0-9-]{36}$","required":true,"type":"string"},{"default":"IAM","description":"查询的用户来源。只能为IAM或SAML或LDAP或LOCAL或AGENTTENANT或OTHER。默认为IAM。","in":"query","name":"user_source","pattern":"^(IAM|SAML|LDAP|LOCAL|AGENTTENANT|OTHER)$","required":false,"type":"string"},{"default":1000,"description":"查询返回条数。默认值为1000。最小值为1,最大值为2000。","format":"int32","in":"query","maximum":2000,"minimum":1,"name":"limit","required":false,"type":"integer"},{"description":"查询的起始记录ID。最小长度为0,最大长度为256。","in":"query","maxLength":256,"minLength":0,"name":"marker","required":false,"type":"string"},{"default":false,"description":"是否查询上一页。默认为false。","in":"query","name":"reverse_page","required":false,"type":"boolean","x-annotations":["@UsNoConstraint(reason = \"Boolean类型无需校验\")"],"x-imports":["com.huawei.us.validator.annotation.UsNoConstraint;"]},{"description":"用户模糊查询。只能包含字母、数字和_|*.特殊字符,且长度为1~255个字符。","in":"query","maxLength":255,"minLength":1,"name":"user_name_pattern","pattern":"^[a-zA-Z0-9_|*.]*$","required":false,"type":"string"}],"produces":["application/json;charset=UTF-8"],"responses":{"200":{"description":"OK","examples":{"application/json":{"page_info":{"current_count":2000,"next_marker":"006f492b-xxxx","previous_marker":"003e6eba-xxxx"},"users":[{"user_id":"string","user_name":"string","user_source":"string"}]}},"schema":{"$ref":"#/definitions/PagedListUser"}},"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":["User"],"x-apiexplorer-hide":"N","x-enable-auth-anno":{"type":"iam-token"},"x-iam-auth-meta-anno":{"abacAction":"lakeformation:user:describe","authLevel":"instance"},"x-is-registered":"Y","x-method-annotations":["@ApiCount"],"x-request-examples-url-1":"GET https://{endpoint}/v1/{project_id}/instances/{instance_id}/users","x-support-sdk":"Y"}}},"product_short":"LakeFormation","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"获取用户列表","tags":"User","uri":null,"version":"2.0"}