{"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"},"LakeFormationInstance":{"description":"LakeFormation实例详细信息","properties":{"create_time":{"description":"实例创建时间戳","format":"date-time","type":"string"},"default_instance":{"description":"是否为默认实例","example":false,"type":"boolean"},"description":{"description":"描述。","example":"string","maxLength":255,"minLength":0,"type":"string"},"enterprise_project_id":{"description":"企业项目ID。","example":"01049549-82cd-4b2b-9733-ddb94350c125","maxLength":64,"minLength":0,"type":"string","x-open-region-cloud":"hc"},"in_recycle_bin":{"description":"是否在回收站","example":true,"type":"boolean"},"instance_id":{"description":"LakeFormation实例ID。","example":"01049549-82cd-4b2b-9733-ddb94350c125","pattern":"^[a-zA-Z0-9-]{36}$","type":"string"},"name":{"description":"实例名称。","example":"LakeFormation_instance","maxLength":32,"minLength":4,"type":"string"},"shared":{"description":"逻辑多租和物理多租的判断。false为物理多租;true为逻辑多租。","example":false,"type":"boolean"},"status":{"description":"实例状态,RESOURCE_PREPARATION-实例资源准备中,RUNNING-实例运行中,RESOURCE_RELEASE-实例资源释放中,DELETED-实例已释放,RESOURCE_PREPARATION_FAIL-实例资源准备失败,FROZEN_RELEASABLE-可恢复冻结,FROZEN_UNRELEASABLE-不可恢复冻结,RECOVERING-恢复中,DELETING-删除中,SCALING-扩容中,SCALE_FAIL-扩容失败","enum":["RESOURCE_PREPARATION","RUNNING","RESOURCE_RELEASE","DELETED","RESOURCE_PREPARATION_FAIL","FROZEN_RELEASABLE","FROZEN_UNRELEASABLE","RECOVERING","DELETING","SCALING","SCALE_FAIL"],"type":"string"},"update_time":{"description":"实例更新时间戳","format":"date-time","type":"string"}},"type":"object"},"UpdateLakeFormationInstance":{"description":"修改实例信息","properties":{"description":{"description":"实例描述","maxLength":255,"type":"string"},"name":{"description":"实例名称","maxLength":32,"minLength":4,"pattern":"^[a-zA-Z0-9_-]{4,32}$","type":"string"}},"required":["name"],"type":"object"}},"description":null,"group_id":"bf0ce8340d8b4439b53683607ef0d87f","host":"lakeformation.cn-north-4.myhuaweicloud.com","id":"83cd8f8abcbd4fabb3e7530957b3fe6a","info_version":"v1","method":"put","name":"UpdateLakeFormationInstance","parameters":{},"paths":{"/v1/{project_id}/instances/{instance_id}":{"put":{"consumes":["application/json"],"description":"修改LakeFormation实例信息","operationId":"UpdateLakeFormationInstance","parameters":[{"description":"租户token","in":"header","name":"X-Auth-Token","required":true,"type":"string","x-example":"MIIjxxxxxxxxxxxxxxxxxxxxxxxx4qA="},{"description":"项目ID","in":"path","name":"project_id","pattern":"^[0-9a-zA-Z]{32}$","required":true,"type":"string","x-example":"41aaxxxxxxxxxxxxxxxxxxxxxxxcc046"},{"description":"LakeFormation实例ID","in":"path","name":"instance_id","pattern":"^[a-zA-Z0-9-]{36}$","required":true,"type":"string","x-example":"d3fcxxxxxxxxxxxxxxxxxxxxxxxxxxxx8f1e"},{"description":"修改LakeFormation实例信息","in":"body","name":"UpdateLakeFormationInstance","required":true,"schema":{"$ref":"#/definitions/UpdateLakeFormationInstance"}}],"produces":["application/json"],"responses":{"200":{"description":"实例信息","examples":{"application/json":{"create_time":"2022-10-08T12:49:19.000+00:00","description":"string","enterprise_project_id":0,"in_recycle_bin":false,"instance_id":"01049549-82cd-4b2b-9733-ddb94350c125","name":"LakeFormation_instance","shared":false,"status":"running","update_time":"2022-10-08T12:49:19.000+00:00"}},"schema":{"$ref":"#/definitions/LakeFormationInstance"}},"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","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":["Instance"],"x-apiexplorer-hide":"N","x-cts-meta-anno":{"isAsyncApi":"false","resourceType":"Instance","traceName":"updateInstance"},"x-enable-auth-anno":{"type":"iam-token"},"x-iam-auth-meta-anno":{"abacAction":"lakeformation:instance:alter","authLevel":"instance","rbac":"te_admin"},"x-is-registered":"Y","x-request-examples-1":{"description":"description","name":"LakeFormation_instance_update"},"x-request-examples-text-1":{"description":"description","name":"LakeFormation_instance_update"},"x-request-examples-url-1":"PUT https://{endpoint}/v1/{project_id}/instances/{instance_id}","x-support-sdk":"Y"}}},"product_short":"LakeFormation","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"更新实例","tags":"实例管理","uri":null,"version":"2.0"}