湖仓构建 LAKEFORMATION-查询租户是否注册协议:响应参数

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

响应参数

状态码: 200

表3 响应Header参数

参数

参数类型

描述

X-request-id

String

请求ID,定位辅助信息。

表4 响应Body参数

参数

参数类型

描述

agreements

Array of TenantAgreement objects

租户协议列表。

is_agency

Boolean

是否绑定了委托。

表5 TenantAgreement

参数

参数类型

描述

agreement_name

String

协议名称。只能包含字母、数字、下划线和中划线,且长度为1到64个字符。

agreement_version

String

协议版本号。只能包含字母和数字,且长度为1到32个字符。

状态码: 400

表6 响应Body参数

参数

参数类型

描述

error_code

String

错误码。

error_msg

String

错误描述。

common_error_code

String

CBC公共错误码。

solution_msg

String

解决方案描述。

状态码: 404

表7 响应Body参数

参数

参数类型

描述

error_code

String

错误码。

error_msg

String

错误描述。

common_error_code

String

CBC公共错误码。

solution_msg

String

解决方案描述。

状态码: 500

表8 响应Body参数

参数

参数类型

描述

error_code

String

错误码。

error_msg

String

错误描述。

common_error_code

String

CBC公共错误码。

solution_msg

String

解决方案描述。

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