tencentcloud-sdk-dlc 1.0.344 → 1.0.345

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: 31f34e365daca540ae8e419515afd6681d453e77
4
- data.tar.gz: 16edf4d07553cf51a5844b4977873d4ec93291b4
3
+ metadata.gz: 80a3f0de2fc21909acaa9df59a705498ecaf9f17
4
+ data.tar.gz: e682ea4076743973f789d0e3cc792c7c4bf4f298
5
5
  SHA512:
6
- metadata.gz: f4399aa17f4b367513c122bf1fd191f39af05aa125a398aa91398095682ab7d7be548d82119aa19b6d9c0750c11cca2409ed0d0c25b77593b5ab20fd31ee1a1b
7
- data.tar.gz: 84ddde06fc95e5cbb41e969513b1d4c5ddbe53c90fc0e3e4daf050f707820eba0475eae90e77865d543adfc79edebd1edb83584bc45bb5a49f6cb664e9e3150c
6
+ metadata.gz: f2e4bcb8a31944e397fa028b98c124b836a0ab3b313e329a7ac29d946606195a20b351447072f44add89f24e007940c1d4babf845430fa416abf7fd77ff2c95c
7
+ data.tar.gz: 40b695a91bac60b4d40ba6f4ad46dcbeb4de653c8e61d4f575551e7b4835a3947275d50a51edc03531d6d8e38d716d91f05eb6968d3c153bd04acb1c91c90bbf
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.344
1
+ 1.0.345
@@ -29,6 +29,30 @@ module TencentCloud
29
29
  end
30
30
 
31
31
 
32
+ # DMS元数据新增分区
33
+
34
+ # @param request: Request instance for AddDMSPartitions.
35
+ # @type request: :class:`Tencentcloud::dlc::V20210125::AddDMSPartitionsRequest`
36
+ # @rtype: :class:`Tencentcloud::dlc::V20210125::AddDMSPartitionsResponse`
37
+ def AddDMSPartitions(request)
38
+ body = send_request('AddDMSPartitions', request.serialize)
39
+ response = JSON.parse(body)
40
+ if response['Response'].key?('Error') == false
41
+ model = AddDMSPartitionsResponse.new
42
+ model.deserialize(response['Response'])
43
+ model
44
+ else
45
+ code = response['Response']['Error']['Code']
46
+ message = response['Response']['Error']['Message']
47
+ reqid = response['Response']['RequestId']
48
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
49
+ end
50
+ rescue TencentCloud::Common::TencentCloudSDKException => e
51
+ raise e
52
+ rescue StandardError => e
53
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
54
+ end
55
+
32
56
  # 添加用户到工作组
33
57
 
34
58
  # @param request: Request instance for AddUsersToWorkGroup.
@@ -53,6 +77,78 @@ module TencentCloud
53
77
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
54
78
  end
55
79
 
80
+ # DMS元数据更新库
81
+
82
+ # @param request: Request instance for AlterDMSDatabase.
83
+ # @type request: :class:`Tencentcloud::dlc::V20210125::AlterDMSDatabaseRequest`
84
+ # @rtype: :class:`Tencentcloud::dlc::V20210125::AlterDMSDatabaseResponse`
85
+ def AlterDMSDatabase(request)
86
+ body = send_request('AlterDMSDatabase', request.serialize)
87
+ response = JSON.parse(body)
88
+ if response['Response'].key?('Error') == false
89
+ model = AlterDMSDatabaseResponse.new
90
+ model.deserialize(response['Response'])
91
+ model
92
+ else
93
+ code = response['Response']['Error']['Code']
94
+ message = response['Response']['Error']['Message']
95
+ reqid = response['Response']['RequestId']
96
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
97
+ end
98
+ rescue TencentCloud::Common::TencentCloudSDKException => e
99
+ raise e
100
+ rescue StandardError => e
101
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
102
+ end
103
+
104
+ # DMS元数据更新分区
105
+
106
+ # @param request: Request instance for AlterDMSPartition.
107
+ # @type request: :class:`Tencentcloud::dlc::V20210125::AlterDMSPartitionRequest`
108
+ # @rtype: :class:`Tencentcloud::dlc::V20210125::AlterDMSPartitionResponse`
109
+ def AlterDMSPartition(request)
110
+ body = send_request('AlterDMSPartition', request.serialize)
111
+ response = JSON.parse(body)
112
+ if response['Response'].key?('Error') == false
113
+ model = AlterDMSPartitionResponse.new
114
+ model.deserialize(response['Response'])
115
+ model
116
+ else
117
+ code = response['Response']['Error']['Code']
118
+ message = response['Response']['Error']['Message']
119
+ reqid = response['Response']['RequestId']
120
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
121
+ end
122
+ rescue TencentCloud::Common::TencentCloudSDKException => e
123
+ raise e
124
+ rescue StandardError => e
125
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
126
+ end
127
+
128
+ # DMS元数据更新表
129
+
130
+ # @param request: Request instance for AlterDMSTable.
131
+ # @type request: :class:`Tencentcloud::dlc::V20210125::AlterDMSTableRequest`
132
+ # @rtype: :class:`Tencentcloud::dlc::V20210125::AlterDMSTableResponse`
133
+ def AlterDMSTable(request)
134
+ body = send_request('AlterDMSTable', request.serialize)
135
+ response = JSON.parse(body)
136
+ if response['Response'].key?('Error') == false
137
+ model = AlterDMSTableResponse.new
138
+ model.deserialize(response['Response'])
139
+ model
140
+ else
141
+ code = response['Response']['Error']['Code']
142
+ message = response['Response']['Error']['Message']
143
+ reqid = response['Response']['RequestId']
144
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
145
+ end
146
+ rescue TencentCloud::Common::TencentCloudSDKException => e
147
+ raise e
148
+ rescue StandardError => e
149
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
150
+ end
151
+
56
152
  # 绑定鉴权策略到用户
57
153
 
58
154
  # @param request: Request instance for AttachUserPolicy.
@@ -149,6 +245,78 @@ module TencentCloud
149
245
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
150
246
  end
151
247
 
248
+ # 元数据锁检查
249
+
250
+ # @param request: Request instance for CheckLockMetaData.
251
+ # @type request: :class:`Tencentcloud::dlc::V20210125::CheckLockMetaDataRequest`
252
+ # @rtype: :class:`Tencentcloud::dlc::V20210125::CheckLockMetaDataResponse`
253
+ def CheckLockMetaData(request)
254
+ body = send_request('CheckLockMetaData', request.serialize)
255
+ response = JSON.parse(body)
256
+ if response['Response'].key?('Error') == false
257
+ model = CheckLockMetaDataResponse.new
258
+ model.deserialize(response['Response'])
259
+ model
260
+ else
261
+ code = response['Response']['Error']['Code']
262
+ message = response['Response']['Error']['Message']
263
+ reqid = response['Response']['RequestId']
264
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
265
+ end
266
+ rescue TencentCloud::Common::TencentCloudSDKException => e
267
+ raise e
268
+ rescue StandardError => e
269
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
270
+ end
271
+
272
+ # DMS元数据创建库
273
+
274
+ # @param request: Request instance for CreateDMSDatabase.
275
+ # @type request: :class:`Tencentcloud::dlc::V20210125::CreateDMSDatabaseRequest`
276
+ # @rtype: :class:`Tencentcloud::dlc::V20210125::CreateDMSDatabaseResponse`
277
+ def CreateDMSDatabase(request)
278
+ body = send_request('CreateDMSDatabase', request.serialize)
279
+ response = JSON.parse(body)
280
+ if response['Response'].key?('Error') == false
281
+ model = CreateDMSDatabaseResponse.new
282
+ model.deserialize(response['Response'])
283
+ model
284
+ else
285
+ code = response['Response']['Error']['Code']
286
+ message = response['Response']['Error']['Message']
287
+ reqid = response['Response']['RequestId']
288
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
289
+ end
290
+ rescue TencentCloud::Common::TencentCloudSDKException => e
291
+ raise e
292
+ rescue StandardError => e
293
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
294
+ end
295
+
296
+ # DMS元数据创建表
297
+
298
+ # @param request: Request instance for CreateDMSTable.
299
+ # @type request: :class:`Tencentcloud::dlc::V20210125::CreateDMSTableRequest`
300
+ # @rtype: :class:`Tencentcloud::dlc::V20210125::CreateDMSTableResponse`
301
+ def CreateDMSTable(request)
302
+ body = send_request('CreateDMSTable', request.serialize)
303
+ response = JSON.parse(body)
304
+ if response['Response'].key?('Error') == false
305
+ model = CreateDMSTableResponse.new
306
+ model.deserialize(response['Response'])
307
+ model
308
+ else
309
+ code = response['Response']['Error']['Code']
310
+ message = response['Response']['Error']['Message']
311
+ reqid = response['Response']['RequestId']
312
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
313
+ end
314
+ rescue TencentCloud::Common::TencentCloudSDKException => e
315
+ raise e
316
+ rescue StandardError => e
317
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
318
+ end
319
+
152
320
  # 本接口(CreateDatabase)用于生成建库SQL语句。
153
321
 
154
322
  # @param request: Request instance for CreateDatabase.
@@ -581,6 +749,102 @@ module TencentCloud
581
749
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
582
750
  end
583
751
 
752
+ # DMS元数据获取库
753
+
754
+ # @param request: Request instance for DescribeDMSDatabase.
755
+ # @type request: :class:`Tencentcloud::dlc::V20210125::DescribeDMSDatabaseRequest`
756
+ # @rtype: :class:`Tencentcloud::dlc::V20210125::DescribeDMSDatabaseResponse`
757
+ def DescribeDMSDatabase(request)
758
+ body = send_request('DescribeDMSDatabase', request.serialize)
759
+ response = JSON.parse(body)
760
+ if response['Response'].key?('Error') == false
761
+ model = DescribeDMSDatabaseResponse.new
762
+ model.deserialize(response['Response'])
763
+ model
764
+ else
765
+ code = response['Response']['Error']['Code']
766
+ message = response['Response']['Error']['Message']
767
+ reqid = response['Response']['RequestId']
768
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
769
+ end
770
+ rescue TencentCloud::Common::TencentCloudSDKException => e
771
+ raise e
772
+ rescue StandardError => e
773
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
774
+ end
775
+
776
+ # DMS元数据获取分区
777
+
778
+ # @param request: Request instance for DescribeDMSPartitions.
779
+ # @type request: :class:`Tencentcloud::dlc::V20210125::DescribeDMSPartitionsRequest`
780
+ # @rtype: :class:`Tencentcloud::dlc::V20210125::DescribeDMSPartitionsResponse`
781
+ def DescribeDMSPartitions(request)
782
+ body = send_request('DescribeDMSPartitions', request.serialize)
783
+ response = JSON.parse(body)
784
+ if response['Response'].key?('Error') == false
785
+ model = DescribeDMSPartitionsResponse.new
786
+ model.deserialize(response['Response'])
787
+ model
788
+ else
789
+ code = response['Response']['Error']['Code']
790
+ message = response['Response']['Error']['Message']
791
+ reqid = response['Response']['RequestId']
792
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
793
+ end
794
+ rescue TencentCloud::Common::TencentCloudSDKException => e
795
+ raise e
796
+ rescue StandardError => e
797
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
798
+ end
799
+
800
+ # DMS元数据获取表
801
+
802
+ # @param request: Request instance for DescribeDMSTable.
803
+ # @type request: :class:`Tencentcloud::dlc::V20210125::DescribeDMSTableRequest`
804
+ # @rtype: :class:`Tencentcloud::dlc::V20210125::DescribeDMSTableResponse`
805
+ def DescribeDMSTable(request)
806
+ body = send_request('DescribeDMSTable', request.serialize)
807
+ response = JSON.parse(body)
808
+ if response['Response'].key?('Error') == false
809
+ model = DescribeDMSTableResponse.new
810
+ model.deserialize(response['Response'])
811
+ model
812
+ else
813
+ code = response['Response']['Error']['Code']
814
+ message = response['Response']['Error']['Message']
815
+ reqid = response['Response']['RequestId']
816
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
817
+ end
818
+ rescue TencentCloud::Common::TencentCloudSDKException => e
819
+ raise e
820
+ rescue StandardError => e
821
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
822
+ end
823
+
824
+ # DMS元数据获取表列表
825
+
826
+ # @param request: Request instance for DescribeDMSTables.
827
+ # @type request: :class:`Tencentcloud::dlc::V20210125::DescribeDMSTablesRequest`
828
+ # @rtype: :class:`Tencentcloud::dlc::V20210125::DescribeDMSTablesResponse`
829
+ def DescribeDMSTables(request)
830
+ body = send_request('DescribeDMSTables', request.serialize)
831
+ response = JSON.parse(body)
832
+ if response['Response'].key?('Error') == false
833
+ model = DescribeDMSTablesResponse.new
834
+ model.deserialize(response['Response'])
835
+ model
836
+ else
837
+ code = response['Response']['Error']['Code']
838
+ message = response['Response']['Error']['Message']
839
+ reqid = response['Response']['RequestId']
840
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
841
+ end
842
+ rescue TencentCloud::Common::TencentCloudSDKException => e
843
+ raise e
844
+ rescue StandardError => e
845
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
846
+ end
847
+
584
848
  # 本接口(DescribeDatabases)用于查询数据库列表。
585
849
 
586
850
  # @param request: Request instance for DescribeDatabases.
@@ -941,6 +1205,78 @@ module TencentCloud
941
1205
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
942
1206
  end
943
1207
 
1208
+ # DMS元数据删除库
1209
+
1210
+ # @param request: Request instance for DropDMSDatabase.
1211
+ # @type request: :class:`Tencentcloud::dlc::V20210125::DropDMSDatabaseRequest`
1212
+ # @rtype: :class:`Tencentcloud::dlc::V20210125::DropDMSDatabaseResponse`
1213
+ def DropDMSDatabase(request)
1214
+ body = send_request('DropDMSDatabase', request.serialize)
1215
+ response = JSON.parse(body)
1216
+ if response['Response'].key?('Error') == false
1217
+ model = DropDMSDatabaseResponse.new
1218
+ model.deserialize(response['Response'])
1219
+ model
1220
+ else
1221
+ code = response['Response']['Error']['Code']
1222
+ message = response['Response']['Error']['Message']
1223
+ reqid = response['Response']['RequestId']
1224
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1225
+ end
1226
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1227
+ raise e
1228
+ rescue StandardError => e
1229
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1230
+ end
1231
+
1232
+ # DMS元数据删除分区
1233
+
1234
+ # @param request: Request instance for DropDMSPartitions.
1235
+ # @type request: :class:`Tencentcloud::dlc::V20210125::DropDMSPartitionsRequest`
1236
+ # @rtype: :class:`Tencentcloud::dlc::V20210125::DropDMSPartitionsResponse`
1237
+ def DropDMSPartitions(request)
1238
+ body = send_request('DropDMSPartitions', request.serialize)
1239
+ response = JSON.parse(body)
1240
+ if response['Response'].key?('Error') == false
1241
+ model = DropDMSPartitionsResponse.new
1242
+ model.deserialize(response['Response'])
1243
+ model
1244
+ else
1245
+ code = response['Response']['Error']['Code']
1246
+ message = response['Response']['Error']['Message']
1247
+ reqid = response['Response']['RequestId']
1248
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1249
+ end
1250
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1251
+ raise e
1252
+ rescue StandardError => e
1253
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1254
+ end
1255
+
1256
+ # DMS元数据删除表
1257
+
1258
+ # @param request: Request instance for DropDMSTable.
1259
+ # @type request: :class:`Tencentcloud::dlc::V20210125::DropDMSTableRequest`
1260
+ # @rtype: :class:`Tencentcloud::dlc::V20210125::DropDMSTableResponse`
1261
+ def DropDMSTable(request)
1262
+ body = send_request('DropDMSTable', request.serialize)
1263
+ response = JSON.parse(body)
1264
+ if response['Response'].key?('Error') == false
1265
+ model = DropDMSTableResponse.new
1266
+ model.deserialize(response['Response'])
1267
+ model
1268
+ else
1269
+ code = response['Response']['Error']['Code']
1270
+ message = response['Response']['Error']['Message']
1271
+ reqid = response['Response']['RequestId']
1272
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1273
+ end
1274
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1275
+ raise e
1276
+ rescue StandardError => e
1277
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1278
+ end
1279
+
944
1280
  # 本接口(ListTaskJobLogDetail)用于获取spark-jar日志列表
945
1281
 
946
1282
  # @param request: Request instance for ListTaskJobLogDetail.
@@ -965,6 +1301,30 @@ module TencentCloud
965
1301
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
966
1302
  end
967
1303
 
1304
+ # 元数据锁
1305
+
1306
+ # @param request: Request instance for LockMetaData.
1307
+ # @type request: :class:`Tencentcloud::dlc::V20210125::LockMetaDataRequest`
1308
+ # @rtype: :class:`Tencentcloud::dlc::V20210125::LockMetaDataResponse`
1309
+ def LockMetaData(request)
1310
+ body = send_request('LockMetaData', request.serialize)
1311
+ response = JSON.parse(body)
1312
+ if response['Response'].key?('Error') == false
1313
+ model = LockMetaDataResponse.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
+
968
1328
  # 更新spark应用
969
1329
 
970
1330
  # @param request: Request instance for ModifySparkApp.
@@ -1061,6 +1421,30 @@ module TencentCloud
1061
1421
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1062
1422
  end
1063
1423
 
1424
+ # 元数据解锁
1425
+
1426
+ # @param request: Request instance for UnlockMetaData.
1427
+ # @type request: :class:`Tencentcloud::dlc::V20210125::UnlockMetaDataRequest`
1428
+ # @rtype: :class:`Tencentcloud::dlc::V20210125::UnlockMetaDataResponse`
1429
+ def UnlockMetaData(request)
1430
+ body = send_request('UnlockMetaData', request.serialize)
1431
+ response = JSON.parse(body)
1432
+ if response['Response'].key?('Error') == false
1433
+ model = UnlockMetaDataResponse.new
1434
+ model.deserialize(response['Response'])
1435
+ model
1436
+ else
1437
+ code = response['Response']['Error']['Code']
1438
+ message = response['Response']['Error']['Message']
1439
+ reqid = response['Response']['RequestId']
1440
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1441
+ end
1442
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1443
+ raise e
1444
+ rescue StandardError => e
1445
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1446
+ end
1447
+
1064
1448
 
1065
1449
  end
1066
1450
  end