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

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

响应参数

状态码: 200

表4 响应Header参数

参数

参数类型

描述

X-request-id

String

请求ID,定位辅助信息。

表5 响应Body参数

参数

参数类型

描述

instances

Array of LakeFormationInstance objects

LakeFormation实例列表。

total

Integer

LakeFormation实例总数。

表6 LakeFormationInstance

参数

参数类型

描述

instance_id

String

LakeFormation实例ID。

name

String

实例名称。

description

String

描述。

enterprise_project_id

String

企业项目ID。

shared

Boolean

共享型和独享型的判断。false为独享型;true为共享型。

default_instance

Boolean

是否为默认实例。

create_time

String

实例创建时间戳。

update_time

String

实例更新时间戳。

status

String

实例状态:RESOURCE_PREPARATION-实例资源准备中、RUNNING-实例运行中、RESOURCE_RELEASE-实例资源释放中、DELETED-实例已释放、RESOURCE_PREPARATION_FAIL-实例资源准备失败、FROZEN_RELEASABLE-可恢复冻结、FROZEN_UNRELEASABLE-不可恢复冻结、RECOVERING-恢复中、DELETING-删除中、SCALING-扩容中、SCALE_FAIL-扩容失败。

枚举值:

  • RESOURCE_PREPARATION
  • RUNNING
  • RESOURCE_RELEASE
  • DELETED
  • RESOURCE_PREPARATION_FAIL
  • FROZEN_RELEASABLE
  • FROZEN_UNRELEASABLE
  • RECOVERING
  • DELETING
  • SCALING
  • SCALE_FAIL

in_recycle_bin

Boolean

是否在回收站。

tags

Array of ResourceTag objects

标签列表。

表7 ResourceTag

参数

参数类型

描述

key

String

键。

value

String

值。

状态码: 400

表8 响应Body参数

参数

参数类型

描述

error_code

String

错误码。

error_msg

String

错误描述。

common_error_code

String

CBC公共错误码。

solution_msg

String

解决方案描述。

状态码: 404

表9 响应Body参数

参数

参数类型

描述

error_code

String

错误码。

error_msg

String

错误描述。

common_error_code

String

CBC公共错误码。

solution_msg

String

解决方案描述。

状态码: 500

表10 响应Body参数

参数

参数类型

描述

error_code

String

错误码。

error_msg

String

错误描述。

common_error_code

String

CBC公共错误码。

solution_msg

String

解决方案描述。

support.huaweicloud.com/api-lakeformation/ListLakeFormationInstances.html