lib/v20210820/client.rb in tencentcloud-sdk-wedata-3.0.843 vs lib/v20210820/client.rb in tencentcloud-sdk-wedata-3.0.844
- old
+ new
@@ -891,9 +891,33 @@
raise e
rescue StandardError => e
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
end
+ # 编排空间-工作流-创建任务文件夹
+
+ # @param request: Request instance for CreateTaskFolder.
+ # @type request: :class:`Tencentcloud::wedata::V20210820::CreateTaskFolderRequest`
+ # @rtype: :class:`Tencentcloud::wedata::V20210820::CreateTaskFolderResponse`
+ def CreateTaskFolder(request)
+ body = send_request('CreateTaskFolder', request.serialize)
+ response = JSON.parse(body)
+ if response['Response'].key?('Error') == false
+ model = CreateTaskFolderResponse.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
+
# 提交任务版本
# @param request: Request instance for CreateTaskVersionDs.
# @type request: :class:`Tencentcloud::wedata::V20210820::CreateTaskVersionDsRequest`
# @rtype: :class:`Tencentcloud::wedata::V20210820::CreateTaskVersionDsResponse`
\ No newline at end of file