lib/v20201016/client.rb in tencentcloud-sdk-cls-3.0.781 vs lib/v20201016/client.rb in tencentcloud-sdk-cls-3.0.782
- old
+ new
@@ -1323,33 +1323,9 @@
raise e
rescue StandardError => e
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
end
- # 本接口用于获取kafka用户信息
-
- # @param request: Request instance for DescribeKafkaUser.
- # @type request: :class:`Tencentcloud::cls::V20201016::DescribeKafkaUserRequest`
- # @rtype: :class:`Tencentcloud::cls::V20201016::DescribeKafkaUserResponse`
- def DescribeKafkaUser(request)
- body = send_request('DescribeKafkaUser', request.serialize)
- response = JSON.parse(body)
- if response['Response'].key?('Error') == false
- model = DescribeKafkaUserResponse.new
- model.deserialize(response['Response'])
- model
- else
- code = response['Response']['Error']['Code']
- message = response['Response']['Error']['Message']
- reqid = response['Response']['RequestId']
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
- end
- rescue TencentCloud::Common::TencentCloudSDKException => e
- raise e
- rescue StandardError => e
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
- end
-
# 本接口用于搜索日志上下文附近的内容,详情参考[上下文检索](https://cloud.tencent.com/document/product/614/53248)。
# API返回数据包最大49MB,建议启用 gzip 压缩(HTTP Request Header Accept-Encoding:gzip)。
# @param request: Request instance for DescribeLogContext.
# @type request: :class:`Tencentcloud::cls::V20201016::DescribeLogContextRequest`
\ No newline at end of file