湖仓构建 LAKEFORMATION-查询实例列表:响应示例

时间:2024-04-08 11:19:40

响应示例

状态码: 200

LakeFormation实例列表

{
  "instances" : [ {
    "instance_id" : "9c368079-6401-4886-991d-0b1bb11e3702",
    "name" : "LakeFormation_instance",
    "description" : "string",
    "enterprise_project_id" : "0",
    "shared" : false,
    "create_time" : "2022-11-08T04:08:39.000+00:00",
    "update_time" : "2022-11-08T04:08:40.000+00:00",
    "status" : "RUNNING",
    "in_recycle_bin" : false
  }, {
    "instance_id" : "dec259f5-c7a8-413e-91b3-67d66c512680",
    "name" : "LakeFormation_instance_test",
    "description" : "string",
    "enterprise_project_id" : "0",
    "shared" : false,
    "create_time" : "2022-11-08T04:07:42.000+00:00",
    "update_time" : "2022-11-08T04:07:42.000+00:00",
    "status" : "RUNNING",
    "in_recycle_bin" : false
  } ],
  "total" : 2
}

状态码: 400

Bad Request

{
  "error_code" : "common.01000001",
  "error_msg" : "failed to read http request, please check your input, code: 400, reason: Type mismatch., cause: TypeMismatchException"
}

状态码: 401

Unauthorized

{
  "error_code": 'APIG.1002',
  "error_msg": 'Incorrect token or token resolution failed'
}

状态码: 403

Forbidden

{
  "error" : {
    "code" : "403",
    "message" : "X-Auth-Token is invalid in the request",
    "error_code" : null,
    "error_msg" : null,
    "title" : "Forbidden"
  },
  "error_code" : "403",
  "error_msg" : "X-Auth-Token is invalid in the request",
  "title" : "Forbidden"
}

状态码: 404

Not Found

{
  "error_code" : "common.01000001",
  "error_msg" : "response status exception, code: 404"
}

状态码: 408

Request Timeout

{
  "error_code" : "common.00000408",
  "error_msg" : "timeout exception occurred"
}

状态码: 500

Internal Server Error

{
  "error_code" : "common.00000500",
  "error_msg" : "internal error"
}
support.huaweicloud.com/api-lakeformation/ListLakeFormationInstances.html