tencentcloud-sdk-dts 3.0.485 → 3.0.486

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: 7c595c1dd48a3503ad21a446b88c157d6763a1d4
4
- data.tar.gz: ea8acf336e258f7eecf86fc6fcbb017b791dcb91
3
+ metadata.gz: 7ece8b8943f3c1f6c1ad44f2bf206110e53c03fc
4
+ data.tar.gz: 3c0dadf0334b22c1351c43afec0640fff6a1e2bf
5
5
  SHA512:
6
- metadata.gz: e6b884c42c400e1d918ac8b50652b2ae1ae2afa42a9a2006181b00cf5721fc10688f3bc868437846fe73ff71879121c47be7f275513e0ba96c5cc81aaafc4e34
7
- data.tar.gz: 60b515ef6279ffc32901834c114763b721e16e594167c37725af98770ac6ddd1acf616c5d0903fd0ec99584d4483b5733e5eff0d0e8783e317e999b067079d1f
6
+ metadata.gz: 4ca7000d30ca7f81eec20d022f1a634236754fb6bb135344463de81799e83883a85c51e2852b6bb5e6a7ae31991138afb75de568751e618deee4134a29085a97
7
+ data.tar.gz: 5821a1723434490480698e52c7458f783023e6070671391dfd11143b41c57073e5a6d552cff5782ce057191cbb879b15d4268546d4afc461a9a7f3fa0d5c4432
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.485
1
+ 3.0.486
@@ -635,6 +635,30 @@ module TencentCloud
635
635
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
636
636
  end
637
637
 
638
+ # 暂停处于同步中的数据同步任务。
639
+
640
+ # @param request: Request instance for PauseSyncJob.
641
+ # @type request: :class:`Tencentcloud::dts::V20211206::PauseSyncJobRequest`
642
+ # @rtype: :class:`Tencentcloud::dts::V20211206::PauseSyncJobResponse`
643
+ def PauseSyncJob(request)
644
+ body = send_request('PauseSyncJob', request.serialize)
645
+ response = JSON.parse(body)
646
+ if response['Response'].key?('Error') == false
647
+ model = PauseSyncJobResponse.new
648
+ model.deserialize(response['Response'])
649
+ model
650
+ else
651
+ code = response['Response']['Error']['Code']
652
+ message = response['Response']['Error']['Message']
653
+ reqid = response['Response']['RequestId']
654
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
655
+ end
656
+ rescue TencentCloud::Common::TencentCloudSDKException => e
657
+ raise e
658
+ rescue StandardError => e
659
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
660
+ end
661
+
638
662
  # 解除隔离数据迁移任务,用户手动发起隔离后的手动解隔离,只有任务状态为已隔离(手动操作)状态下才能触发此操作。调用此接口后可通过查询迁移服务列表接口`DescribeMigrationJobs`来查询当前任务状态。
639
663
 
640
664
  # @param request: Request instance for RecoverMigrateJob.
@@ -3186,6 +3186,38 @@ module TencentCloud
3186
3186
  end
3187
3187
  end
3188
3188
 
3189
+ # PauseSyncJob请求参数结构体
3190
+ class PauseSyncJobRequest < TencentCloud::Common::AbstractModel
3191
+ # @param JobId: 同步任务id
3192
+ # @type JobId: String
3193
+
3194
+ attr_accessor :JobId
3195
+
3196
+ def initialize(jobid=nil)
3197
+ @JobId = jobid
3198
+ end
3199
+
3200
+ def deserialize(params)
3201
+ @JobId = params['JobId']
3202
+ end
3203
+ end
3204
+
3205
+ # PauseSyncJob返回参数结构体
3206
+ class PauseSyncJobResponse < TencentCloud::Common::AbstractModel
3207
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3208
+ # @type RequestId: String
3209
+
3210
+ attr_accessor :RequestId
3211
+
3212
+ def initialize(requestid=nil)
3213
+ @RequestId = requestid
3214
+ end
3215
+
3216
+ def deserialize(params)
3217
+ @RequestId = params['RequestId']
3218
+ end
3219
+ end
3220
+
3189
3221
  # 任务步骤信息
3190
3222
  class ProcessProgress < TencentCloud::Common::AbstractModel
3191
3223
  # @param Status: 步骤的状态, 包括:notStarted(未开始)、running(运行中)、success(成功)、failed(失败)等
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-dts
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.485
4
+ version: 3.0.486
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-01-03 00:00:00.000000000 Z
11
+ date: 2023-01-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common