tencentcloud-sdk-tdmq 3.0.968 → 3.0.969
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20200217/client.rb +24 -0
- data/lib/v20200217/models.rb +44 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d95a58cff68b49664382988b3caa279c2c1c7728
|
4
|
+
data.tar.gz: 5d370fff05cbbe8f92940ae8556d699b5a79e350
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1e9e31859b6eafbb78eabbce1928502b20558ed8254026654f609bb87581939ca15ee790d6322d500c663cab1a77630e6f9a1defa6ff7a162855795da7e9fd59
|
7
|
+
data.tar.gz: 3fa579f1a1aa8e6cbdc50b3928cfa3ad9c570aa9ea537511e19e7f65513ebe71f40b656dcc186b7fe6450188225c30331e7befe18d8a1be88ab174d9c50fe6be
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.969
|
data/lib/v20200217/client.rb
CHANGED
@@ -3318,6 +3318,30 @@ module TencentCloud
|
|
3318
3318
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3319
3319
|
end
|
3320
3320
|
|
3321
|
+
# 重发RocketMQ死信消息
|
3322
|
+
|
3323
|
+
# @param request: Request instance for RetryRocketMQDlqMessage.
|
3324
|
+
# @type request: :class:`Tencentcloud::tdmq::V20200217::RetryRocketMQDlqMessageRequest`
|
3325
|
+
# @rtype: :class:`Tencentcloud::tdmq::V20200217::RetryRocketMQDlqMessageResponse`
|
3326
|
+
def RetryRocketMQDlqMessage(request)
|
3327
|
+
body = send_request('RetryRocketMQDlqMessage', request.serialize)
|
3328
|
+
response = JSON.parse(body)
|
3329
|
+
if response['Response'].key?('Error') == false
|
3330
|
+
model = RetryRocketMQDlqMessageResponse.new
|
3331
|
+
model.deserialize(response['Response'])
|
3332
|
+
model
|
3333
|
+
else
|
3334
|
+
code = response['Response']['Error']['Code']
|
3335
|
+
message = response['Response']['Error']['Message']
|
3336
|
+
reqid = response['Response']['RequestId']
|
3337
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
3338
|
+
end
|
3339
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
3340
|
+
raise e
|
3341
|
+
rescue StandardError => e
|
3342
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3343
|
+
end
|
3344
|
+
|
3321
3345
|
# 回溯cmq队列
|
3322
3346
|
|
3323
3347
|
# @param request: Request instance for RewindCmqQueue.
|
data/lib/v20200217/models.rb
CHANGED
@@ -11293,6 +11293,50 @@ module TencentCloud
|
|
11293
11293
|
end
|
11294
11294
|
end
|
11295
11295
|
|
11296
|
+
# RetryRocketMQDlqMessage请求参数结构体
|
11297
|
+
class RetryRocketMQDlqMessageRequest < TencentCloud::Common::AbstractModel
|
11298
|
+
# @param ClusterId: 集群id
|
11299
|
+
# @type ClusterId: String
|
11300
|
+
# @param NamespaceId: 命名空间名称
|
11301
|
+
# @type NamespaceId: String
|
11302
|
+
# @param GroupName: group名称
|
11303
|
+
# @type GroupName: String
|
11304
|
+
# @param MessageIds: 死信消息ID
|
11305
|
+
# @type MessageIds: Array
|
11306
|
+
|
11307
|
+
attr_accessor :ClusterId, :NamespaceId, :GroupName, :MessageIds
|
11308
|
+
|
11309
|
+
def initialize(clusterid=nil, namespaceid=nil, groupname=nil, messageids=nil)
|
11310
|
+
@ClusterId = clusterid
|
11311
|
+
@NamespaceId = namespaceid
|
11312
|
+
@GroupName = groupname
|
11313
|
+
@MessageIds = messageids
|
11314
|
+
end
|
11315
|
+
|
11316
|
+
def deserialize(params)
|
11317
|
+
@ClusterId = params['ClusterId']
|
11318
|
+
@NamespaceId = params['NamespaceId']
|
11319
|
+
@GroupName = params['GroupName']
|
11320
|
+
@MessageIds = params['MessageIds']
|
11321
|
+
end
|
11322
|
+
end
|
11323
|
+
|
11324
|
+
# RetryRocketMQDlqMessage返回参数结构体
|
11325
|
+
class RetryRocketMQDlqMessageResponse < TencentCloud::Common::AbstractModel
|
11326
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
11327
|
+
# @type RequestId: String
|
11328
|
+
|
11329
|
+
attr_accessor :RequestId
|
11330
|
+
|
11331
|
+
def initialize(requestid=nil)
|
11332
|
+
@RequestId = requestid
|
11333
|
+
end
|
11334
|
+
|
11335
|
+
def deserialize(params)
|
11336
|
+
@RequestId = params['RequestId']
|
11337
|
+
end
|
11338
|
+
end
|
11339
|
+
|
11296
11340
|
# RewindCmqQueue请求参数结构体
|
11297
11341
|
class RewindCmqQueueRequest < TencentCloud::Common::AbstractModel
|
11298
11342
|
# @param QueueName: 队列名字,在单个地域同一账号下唯一。队列名称是一个不超过64个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)。
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-tdmq
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.969
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-12-
|
11
|
+
date: 2024-12-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|