tencentcloud-sdk-ckafka 3.0.566 → 3.0.567

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 14a23e7f930ec51e46e8d7c43e60cd7a93293e90
4
- data.tar.gz: fcdb6218ad325b951d55e1a7de11ecffc17c203c
3
+ metadata.gz: f63e547f24510715d4de14582bfb9834feeba593
4
+ data.tar.gz: f5e2fe464fbf17f9f0cd0f2efb98ddaf57307c3c
5
5
  SHA512:
6
- metadata.gz: 92c43a56bf8a4ba35d2c220f248ce818d8ea1050fe2e528e21ea3d4ce8c73bb5097c470c288fc8c0d2d97bd09df81e33d475ce4f42203b5a8fd5b392a7167ec5
7
- data.tar.gz: bbb6cd925e8112226e9da55553bb9c408a097bdf5b3f86d562969354099f02f805dbc735f00fedac6105921f40498123057aa7a0d20071026412e700ed96f921
6
+ metadata.gz: b2e4068cc1d37f6985e97bad282ac05fc80d943a11d8961dee6b35041cc19c1c8b18e564451b57d26fe7edf179ddfe6cebd2fb1aa53a803df367b6c637642cc6
7
+ data.tar.gz: 1f8fd3470d59bc3dd72985e4369522daea0ff4984c25e1c62d6b78934ab110ed00f4fae30b587c165fa697354bde2abe2dc1940f288839b3a862fa5a1dc0276d
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.566
1
+ 3.0.567
@@ -1301,6 +1301,30 @@ module TencentCloud
1301
1301
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1302
1302
  end
1303
1303
 
1304
+ # 查询任务状态
1305
+
1306
+ # @param request: Request instance for DescribeTaskStatus.
1307
+ # @type request: :class:`Tencentcloud::ckafka::V20190819::DescribeTaskStatusRequest`
1308
+ # @rtype: :class:`Tencentcloud::ckafka::V20190819::DescribeTaskStatusResponse`
1309
+ def DescribeTaskStatus(request)
1310
+ body = send_request('DescribeTaskStatus', request.serialize)
1311
+ response = JSON.parse(body)
1312
+ if response['Response'].key?('Error') == false
1313
+ model = DescribeTaskStatusResponse.new
1314
+ model.deserialize(response['Response'])
1315
+ model
1316
+ else
1317
+ code = response['Response']['Error']['Code']
1318
+ message = response['Response']['Error']['Message']
1319
+ reqid = response['Response']['RequestId']
1320
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1321
+ end
1322
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1323
+ raise e
1324
+ rescue StandardError => e
1325
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1326
+ end
1327
+
1304
1328
  # 接口请求域名:https://ckafka.tencentcloudapi.com
1305
1329
  # 本接口(DescribeTopic)用于在用户获取消息队列 CKafka 实例的主题列表
1306
1330
 
@@ -5082,6 +5082,45 @@ module TencentCloud
5082
5082
  end
5083
5083
  end
5084
5084
 
5085
+ # DescribeTaskStatus请求参数结构体
5086
+ class DescribeTaskStatusRequest < TencentCloud::Common::AbstractModel
5087
+ # @param FlowId: 任务唯一标记
5088
+ # @type FlowId: Integer
5089
+
5090
+ attr_accessor :FlowId
5091
+
5092
+ def initialize(flowid=nil)
5093
+ @FlowId = flowid
5094
+ end
5095
+
5096
+ def deserialize(params)
5097
+ @FlowId = params['FlowId']
5098
+ end
5099
+ end
5100
+
5101
+ # DescribeTaskStatus返回参数结构体
5102
+ class DescribeTaskStatusResponse < TencentCloud::Common::AbstractModel
5103
+ # @param Result: 返回结果
5104
+ # @type Result: :class:`Tencentcloud::Ckafka.v20190819.models.TaskStatusResponse`
5105
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5106
+ # @type RequestId: String
5107
+
5108
+ attr_accessor :Result, :RequestId
5109
+
5110
+ def initialize(result=nil, requestid=nil)
5111
+ @Result = result
5112
+ @RequestId = requestid
5113
+ end
5114
+
5115
+ def deserialize(params)
5116
+ unless params['Result'].nil?
5117
+ @Result = TaskStatusResponse.new
5118
+ @Result.deserialize(params['Result'])
5119
+ end
5120
+ @RequestId = params['RequestId']
5121
+ end
5122
+ end
5123
+
5085
5124
  # DescribeTopicAttributes请求参数结构体
5086
5125
  class DescribeTopicAttributesRequest < TencentCloud::Common::AbstractModel
5087
5126
  # @param InstanceId: 实例 ID
@@ -9973,6 +10012,30 @@ module TencentCloud
9973
10012
  end
9974
10013
  end
9975
10014
 
10015
+ # 任务状态返回对象
10016
+ class TaskStatusResponse < TencentCloud::Common::AbstractModel
10017
+ # @param Status: 任务状态:
10018
+ # 0 成功
10019
+ # 1 失败
10020
+ # 2 进行中
10021
+ # @type Status: Integer
10022
+ # @param Output: 输出信息
10023
+ # 注意:此字段可能返回 null,表示取不到有效值。
10024
+ # @type Output: String
10025
+
10026
+ attr_accessor :Status, :Output
10027
+
10028
+ def initialize(status=nil, output=nil)
10029
+ @Status = status
10030
+ @Output = output
10031
+ end
10032
+
10033
+ def deserialize(params)
10034
+ @Status = params['Status']
10035
+ @Output = params['Output']
10036
+ end
10037
+ end
10038
+
9976
10039
  # Tdw类型入参
9977
10040
  class TdwParam < TencentCloud::Common::AbstractModel
9978
10041
  # @param Bid: Tdw的bid
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-ckafka
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.566
4
+ version: 3.0.567
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-05-10 00:00:00.000000000 Z
11
+ date: 2023-05-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common