tencentcloud-sdk-nodejs-intl-en 3.0.1070 → 3.0.1071
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const sdkVersion = "3.0.
|
|
1
|
+
const sdkVersion = "3.0.1071";
|
|
2
2
|
module.exports = sdkVersion
|
|
@@ -26,7 +26,6 @@ const DescribeMigrateCheckJobRequest = models.DescribeMigrateCheckJobRequest;
|
|
|
26
26
|
const IsolateSubscribeResponse = models.IsolateSubscribeResponse;
|
|
27
27
|
const ModifySubscribeObjectsResponse = models.ModifySubscribeObjectsResponse;
|
|
28
28
|
const CreateMigrateJobRequest = models.CreateMigrateJobRequest;
|
|
29
|
-
const SubscribeRegionConf = models.SubscribeRegionConf;
|
|
30
29
|
const ModifySubscribeNameRequest = models.ModifySubscribeNameRequest;
|
|
31
30
|
const ModifySubscribeConsumeTimeResponse = models.ModifySubscribeConsumeTimeResponse;
|
|
32
31
|
const DstInfo = models.DstInfo;
|
|
@@ -41,13 +40,12 @@ const ModifySubscribeObjectsRequest = models.ModifySubscribeObjectsRequest;
|
|
|
41
40
|
const DescribeMigrateCheckJobResponse = models.DescribeMigrateCheckJobResponse;
|
|
42
41
|
const ActivateSubscribeRequest = models.ActivateSubscribeRequest;
|
|
43
42
|
const OfflineIsolatedSubscribeRequest = models.OfflineIsolatedSubscribeRequest;
|
|
44
|
-
const
|
|
43
|
+
const OfflineIsolatedSubscribeResponse = models.OfflineIsolatedSubscribeResponse;
|
|
45
44
|
const ResetSubscribeResponse = models.ResetSubscribeResponse;
|
|
46
45
|
const DescribeSubscribesResponse = models.DescribeSubscribesResponse;
|
|
47
46
|
const ModifySubscribeConsumeTimeRequest = models.ModifySubscribeConsumeTimeRequest;
|
|
48
|
-
const StopMigrateJobRequest = models.StopMigrateJobRequest;
|
|
49
47
|
const MigrateDetailInfo = models.MigrateDetailInfo;
|
|
50
|
-
const
|
|
48
|
+
const StopMigrateJobRequest = models.StopMigrateJobRequest;
|
|
51
49
|
const DescribeAsyncRequestInfoResponse = models.DescribeAsyncRequestInfoResponse;
|
|
52
50
|
const SubscribeInfo = models.SubscribeInfo;
|
|
53
51
|
const ResetSubscribeRequest = models.ResetSubscribeRequest;
|
|
@@ -56,11 +54,10 @@ const TagFilter = models.TagFilter;
|
|
|
56
54
|
const ModifyMigrateJobResponse = models.ModifyMigrateJobResponse;
|
|
57
55
|
const DescribeMigrateJobsRequest = models.DescribeMigrateJobsRequest;
|
|
58
56
|
const StopMigrateJobResponse = models.StopMigrateJobResponse;
|
|
59
|
-
const OfflineIsolatedSubscribeResponse = models.OfflineIsolatedSubscribeResponse;
|
|
60
57
|
const IsolateSubscribeRequest = models.IsolateSubscribeRequest;
|
|
61
58
|
const CompleteMigrateJobRequest = models.CompleteMigrateJobRequest;
|
|
62
59
|
const MigrateJobInfo = models.MigrateJobInfo;
|
|
63
|
-
const
|
|
60
|
+
const DescribeSubscribesRequest = models.DescribeSubscribesRequest;
|
|
64
61
|
const CompleteMigrateJobResponse = models.CompleteMigrateJobResponse;
|
|
65
62
|
const SubscribeObject = models.SubscribeObject;
|
|
66
63
|
const CreateMigrateJobResponse = models.CreateMigrateJobResponse;
|
|
@@ -87,38 +84,47 @@ class DtsClient extends AbstractClient {
|
|
|
87
84
|
}
|
|
88
85
|
|
|
89
86
|
/**
|
|
90
|
-
* This API is used to
|
|
91
|
-
* @param {
|
|
92
|
-
* @param {function(string,
|
|
87
|
+
* This API is used to rename a data subscription instance.
|
|
88
|
+
* @param {ModifySubscribeNameRequest} req
|
|
89
|
+
* @param {function(string, ModifySubscribeNameResponse):void} cb
|
|
93
90
|
* @public
|
|
94
91
|
*/
|
|
95
|
-
|
|
96
|
-
let resp = new
|
|
97
|
-
this.request("
|
|
92
|
+
ModifySubscribeName(req, cb) {
|
|
93
|
+
let resp = new ModifySubscribeNameResponse();
|
|
94
|
+
this.request("ModifySubscribeName", req, resp, cb);
|
|
98
95
|
}
|
|
99
96
|
|
|
100
97
|
/**
|
|
101
|
-
* This API is used to
|
|
102
|
-
* @param {
|
|
103
|
-
* @param {function(string,
|
|
98
|
+
* This API is used to create a data subscription instance.
|
|
99
|
+
* @param {CreateSubscribeRequest} req
|
|
100
|
+
* @param {function(string, CreateSubscribeResponse):void} cb
|
|
104
101
|
* @public
|
|
105
102
|
*/
|
|
106
|
-
|
|
107
|
-
let resp = new
|
|
108
|
-
this.request("
|
|
103
|
+
CreateSubscribe(req, cb) {
|
|
104
|
+
let resp = new CreateSubscribeResponse();
|
|
105
|
+
this.request("CreateSubscribe", req, resp, cb);
|
|
109
106
|
}
|
|
110
107
|
|
|
111
108
|
/**
|
|
112
|
-
* This API is used to
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
* @param {DescribeMigrateCheckJobRequest} req
|
|
116
|
-
* @param {function(string, DescribeMigrateCheckJobResponse):void} cb
|
|
109
|
+
* This API is used to reset a data subscription instance. Once reset, an activated instance can be bound to other database instances through the `ActivateSubscribe` API.
|
|
110
|
+
* @param {ResetSubscribeRequest} req
|
|
111
|
+
* @param {function(string, ResetSubscribeResponse):void} cb
|
|
117
112
|
* @public
|
|
118
113
|
*/
|
|
119
|
-
|
|
120
|
-
let resp = new
|
|
121
|
-
this.request("
|
|
114
|
+
ResetSubscribe(req, cb) {
|
|
115
|
+
let resp = new ResetSubscribeResponse();
|
|
116
|
+
this.request("ResetSubscribe", req, resp, cb);
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* This API is used to modify the IP and port number of a data subscription instance.
|
|
121
|
+
* @param {ModifySubscribeVipVportRequest} req
|
|
122
|
+
* @param {function(string, ModifySubscribeVipVportResponse):void} cb
|
|
123
|
+
* @public
|
|
124
|
+
*/
|
|
125
|
+
ModifySubscribeVipVport(req, cb) {
|
|
126
|
+
let resp = new ModifySubscribeVipVportResponse();
|
|
127
|
+
this.request("ModifySubscribeVipVport", req, resp, cb);
|
|
122
128
|
}
|
|
123
129
|
|
|
124
130
|
/**
|
|
@@ -133,49 +139,73 @@ If the check fails, the reason can be queried. Please modify the migration confi
|
|
|
133
139
|
}
|
|
134
140
|
|
|
135
141
|
/**
|
|
136
|
-
* This API
|
|
137
|
-
|
|
138
|
-
* @param {
|
|
139
|
-
* @param {function(string, StopMigrateJobResponse):void} cb
|
|
142
|
+
* This API is used to deactivate an isolated data subscription instance.
|
|
143
|
+
* @param {OfflineIsolatedSubscribeRequest} req
|
|
144
|
+
* @param {function(string, OfflineIsolatedSubscribeResponse):void} cb
|
|
140
145
|
* @public
|
|
141
146
|
*/
|
|
142
|
-
|
|
143
|
-
let resp = new
|
|
144
|
-
this.request("
|
|
147
|
+
OfflineIsolatedSubscribe(req, cb) {
|
|
148
|
+
let resp = new OfflineIsolatedSubscribeResponse();
|
|
149
|
+
this.request("OfflineIsolatedSubscribe", req, resp, cb);
|
|
145
150
|
}
|
|
146
151
|
|
|
147
152
|
/**
|
|
148
|
-
* This API is used to
|
|
149
|
-
|
|
150
|
-
|
|
153
|
+
* This API (ModifyMigrateJob) is used to modify a data migration task.
|
|
154
|
+
If the status of a migration task is creating (status=1), check succeeded (status=4), check failed (status=5), or migration failed (status=10), this API can be called to modify the task, but the type of the source and target instances and the region of the target instance cannot be modified.
|
|
155
|
+
|
|
156
|
+
For a finance zone linkage, please use the domain name dts.ap-shenzhen-fsi.tencentcloudapi.com.
|
|
157
|
+
* @param {ModifyMigrateJobRequest} req
|
|
158
|
+
* @param {function(string, ModifyMigrateJobResponse):void} cb
|
|
151
159
|
* @public
|
|
152
160
|
*/
|
|
153
|
-
|
|
154
|
-
let resp = new
|
|
155
|
-
this.request("
|
|
161
|
+
ModifyMigrateJob(req, cb) {
|
|
162
|
+
let resp = new ModifyMigrateJobResponse();
|
|
163
|
+
this.request("ModifyMigrateJob", req, resp, cb);
|
|
156
164
|
}
|
|
157
165
|
|
|
158
166
|
/**
|
|
159
|
-
* This API is used to
|
|
160
|
-
|
|
161
|
-
* @param {
|
|
162
|
-
* @param {function(string,
|
|
167
|
+
* This API (StartMigrationJob) is used to start a migration task. After the API is called, non-scheduled migration tasks will start the migration immediately, while scheduled tasks will start the countdown.
|
|
168
|
+
Before calling this API, be sure to use the CreateMigrateCheckJob API to check the data migration task, which can be started only if its status queried through the DescribeMigrateJobs API is check succeeded (status=4).
|
|
169
|
+
* @param {StartMigrateJobRequest} req
|
|
170
|
+
* @param {function(string, StartMigrateJobResponse):void} cb
|
|
163
171
|
* @public
|
|
164
172
|
*/
|
|
165
|
-
|
|
166
|
-
let resp = new
|
|
167
|
-
this.request("
|
|
173
|
+
StartMigrateJob(req, cb) {
|
|
174
|
+
let resp = new StartMigrateJobResponse();
|
|
175
|
+
this.request("StartMigrateJob", req, resp, cb);
|
|
168
176
|
}
|
|
169
177
|
|
|
170
178
|
/**
|
|
171
|
-
* This API is used to
|
|
172
|
-
* @param {
|
|
173
|
-
* @param {function(string,
|
|
179
|
+
* This API is used to configure a data subscription, which can be called only for subscription instances in unconfigured status.
|
|
180
|
+
* @param {ActivateSubscribeRequest} req
|
|
181
|
+
* @param {function(string, ActivateSubscribeResponse):void} cb
|
|
174
182
|
* @public
|
|
175
183
|
*/
|
|
176
|
-
|
|
177
|
-
let resp = new
|
|
178
|
-
this.request("
|
|
184
|
+
ActivateSubscribe(req, cb) {
|
|
185
|
+
let resp = new ActivateSubscribeResponse();
|
|
186
|
+
this.request("ActivateSubscribe", req, resp, cb);
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
/**
|
|
190
|
+
* This API is used to isolate an hourly billed subscription instance. After this API is called, the instance will become unavailable and billing will stop for it.
|
|
191
|
+
* @param {IsolateSubscribeRequest} req
|
|
192
|
+
* @param {function(string, IsolateSubscribeResponse):void} cb
|
|
193
|
+
* @public
|
|
194
|
+
*/
|
|
195
|
+
IsolateSubscribe(req, cb) {
|
|
196
|
+
let resp = new IsolateSubscribeResponse();
|
|
197
|
+
this.request("IsolateSubscribe", req, resp, cb);
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
/**
|
|
201
|
+
* This API is used to query the subscription instance configuration.
|
|
202
|
+
* @param {DescribeSubscribeConfRequest} req
|
|
203
|
+
* @param {function(string, DescribeSubscribeConfResponse):void} cb
|
|
204
|
+
* @public
|
|
205
|
+
*/
|
|
206
|
+
DescribeSubscribeConf(req, cb) {
|
|
207
|
+
let resp = new DescribeSubscribeConfResponse();
|
|
208
|
+
this.request("DescribeSubscribeConf", req, resp, cb);
|
|
179
209
|
}
|
|
180
210
|
|
|
181
211
|
/**
|
|
@@ -192,14 +222,14 @@ For a finance zone linkage, please use the domain name dts.ap-shenzhen-fsi.tence
|
|
|
192
222
|
}
|
|
193
223
|
|
|
194
224
|
/**
|
|
195
|
-
* This API is used to
|
|
196
|
-
* @param {
|
|
197
|
-
* @param {function(string,
|
|
225
|
+
* This API (DeleteMigrationJob) is used to delete a data migration task. If the task status queried through the DescribeMigrateJobs API is checking (status=3), running (status=7), ready (status=8), canceling (status=11), or completing (status=12), the task cannot be deleted.
|
|
226
|
+
* @param {DeleteMigrateJobRequest} req
|
|
227
|
+
* @param {function(string, DeleteMigrateJobResponse):void} cb
|
|
198
228
|
* @public
|
|
199
229
|
*/
|
|
200
|
-
|
|
201
|
-
let resp = new
|
|
202
|
-
this.request("
|
|
230
|
+
DeleteMigrateJob(req, cb) {
|
|
231
|
+
let resp = new DeleteMigrateJobResponse();
|
|
232
|
+
this.request("DeleteMigrateJob", req, resp, cb);
|
|
203
233
|
}
|
|
204
234
|
|
|
205
235
|
/**
|
|
@@ -229,106 +259,62 @@ For a finance zone link, use the domain name https://dts.ap-shenzhen-fsi.tencent
|
|
|
229
259
|
}
|
|
230
260
|
|
|
231
261
|
/**
|
|
232
|
-
* This API is used to
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
* @
|
|
236
|
-
|
|
237
|
-
ModifySubscribeName(req, cb) {
|
|
238
|
-
let resp = new ModifySubscribeNameResponse();
|
|
239
|
-
this.request("ModifySubscribeName", req, resp, cb);
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
/**
|
|
243
|
-
* This API is used to create a data subscription instance.
|
|
244
|
-
* @param {CreateSubscribeRequest} req
|
|
245
|
-
* @param {function(string, CreateSubscribeResponse):void} cb
|
|
246
|
-
* @public
|
|
247
|
-
*/
|
|
248
|
-
CreateSubscribe(req, cb) {
|
|
249
|
-
let resp = new CreateSubscribeResponse();
|
|
250
|
-
this.request("CreateSubscribe", req, resp, cb);
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
/**
|
|
254
|
-
* This API is used to reset a data subscription instance. Once reset, an activated instance can be bound to other database instances through the `ActivateSubscribe` API.
|
|
255
|
-
* @param {ResetSubscribeRequest} req
|
|
256
|
-
* @param {function(string, ResetSubscribeResponse):void} cb
|
|
257
|
-
* @public
|
|
258
|
-
*/
|
|
259
|
-
ResetSubscribe(req, cb) {
|
|
260
|
-
let resp = new ResetSubscribeResponse();
|
|
261
|
-
this.request("ResetSubscribe", req, resp, cb);
|
|
262
|
-
}
|
|
263
|
-
|
|
264
|
-
/**
|
|
265
|
-
* This API (StartMigrationJob) is used to start a migration task. After the API is called, non-scheduled migration tasks will start the migration immediately, while scheduled tasks will start the countdown.
|
|
266
|
-
Before calling this API, be sure to use the CreateMigrateCheckJob API to check the data migration task, which can be started only if its status queried through the DescribeMigrateJobs API is check succeeded (status=4).
|
|
267
|
-
* @param {StartMigrateJobRequest} req
|
|
268
|
-
* @param {function(string, StartMigrateJobResponse):void} cb
|
|
269
|
-
* @public
|
|
270
|
-
*/
|
|
271
|
-
StartMigrateJob(req, cb) {
|
|
272
|
-
let resp = new StartMigrateJobResponse();
|
|
273
|
-
this.request("StartMigrateJob", req, resp, cb);
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
/**
|
|
277
|
-
* This API (ModifyMigrateJob) is used to modify a data migration task.
|
|
278
|
-
If the status of a migration task is creating (status=1), check succeeded (status=4), check failed (status=5), or migration failed (status=10), this API can be called to modify the task, but the type of the source and target instances and the region of the target instance cannot be modified.
|
|
279
|
-
|
|
280
|
-
For a finance zone linkage, please use the domain name dts.ap-shenzhen-fsi.tencentcloudapi.com.
|
|
281
|
-
* @param {ModifyMigrateJobRequest} req
|
|
282
|
-
* @param {function(string, ModifyMigrateJobResponse):void} cb
|
|
262
|
+
* This API is used to get the check result and query check status and progress after a check is created.
|
|
263
|
+
If the check succeeds, you can call the StartMigrateJob API to start migration.
|
|
264
|
+
If the check fails, the reason can be queried. Please modify the migration configuration or adjust relevant parameters of the source/target instances through the ModifyMigrateJob API based on the error message.
|
|
265
|
+
* @param {DescribeMigrateCheckJobRequest} req
|
|
266
|
+
* @param {function(string, DescribeMigrateCheckJobResponse):void} cb
|
|
283
267
|
* @public
|
|
284
268
|
*/
|
|
285
|
-
|
|
286
|
-
let resp = new
|
|
287
|
-
this.request("
|
|
269
|
+
DescribeMigrateCheckJob(req, cb) {
|
|
270
|
+
let resp = new DescribeMigrateCheckJobResponse();
|
|
271
|
+
this.request("DescribeMigrateCheckJob", req, resp, cb);
|
|
288
272
|
}
|
|
289
273
|
|
|
290
274
|
/**
|
|
291
|
-
* This API is used to
|
|
292
|
-
|
|
293
|
-
* @param {
|
|
275
|
+
* This API (StopMigrateJob) is used to cancel a data migration task.
|
|
276
|
+
During migration, this API can be used to cancel migration if the task status queried through the DescribeMigrateJobs API is running (status=7) or ready (status=8), and the migration task will fail.
|
|
277
|
+
* @param {StopMigrateJobRequest} req
|
|
278
|
+
* @param {function(string, StopMigrateJobResponse):void} cb
|
|
294
279
|
* @public
|
|
295
280
|
*/
|
|
296
|
-
|
|
297
|
-
let resp = new
|
|
298
|
-
this.request("
|
|
281
|
+
StopMigrateJob(req, cb) {
|
|
282
|
+
let resp = new StopMigrateJobResponse();
|
|
283
|
+
this.request("StopMigrateJob", req, resp, cb);
|
|
299
284
|
}
|
|
300
285
|
|
|
301
286
|
/**
|
|
302
|
-
* This API is used to
|
|
303
|
-
* @param {
|
|
304
|
-
* @param {function(string,
|
|
287
|
+
* This API is used to modify the subscription rule of a data subscription channel.
|
|
288
|
+
* @param {ModifySubscribeObjectsRequest} req
|
|
289
|
+
* @param {function(string, ModifySubscribeObjectsResponse):void} cb
|
|
305
290
|
* @public
|
|
306
291
|
*/
|
|
307
|
-
|
|
308
|
-
let resp = new
|
|
309
|
-
this.request("
|
|
292
|
+
ModifySubscribeObjects(req, cb) {
|
|
293
|
+
let resp = new ModifySubscribeObjectsResponse();
|
|
294
|
+
this.request("ModifySubscribeObjects", req, resp, cb);
|
|
310
295
|
}
|
|
311
296
|
|
|
312
297
|
/**
|
|
313
|
-
* This API is used to query
|
|
314
|
-
|
|
315
|
-
* @param {
|
|
298
|
+
* This API is used to query data migration tasks.
|
|
299
|
+
For a finance zone linkage, please use the domain name https://dts.ap-shenzhen-fsi.tencentcloudapi.com.
|
|
300
|
+
* @param {DescribeMigrateJobsRequest} req
|
|
301
|
+
* @param {function(string, DescribeMigrateJobsResponse):void} cb
|
|
316
302
|
* @public
|
|
317
303
|
*/
|
|
318
|
-
|
|
319
|
-
let resp = new
|
|
320
|
-
this.request("
|
|
304
|
+
DescribeMigrateJobs(req, cb) {
|
|
305
|
+
let resp = new DescribeMigrateJobsResponse();
|
|
306
|
+
this.request("DescribeMigrateJobs", req, resp, cb);
|
|
321
307
|
}
|
|
322
308
|
|
|
323
309
|
/**
|
|
324
|
-
* This API
|
|
325
|
-
* @param {
|
|
326
|
-
* @param {function(string,
|
|
310
|
+
* This API is used to get the information list of data subscription instances. Pagination is enabled by default with 20 results returned each time.
|
|
311
|
+
* @param {DescribeSubscribesRequest} req
|
|
312
|
+
* @param {function(string, DescribeSubscribesResponse):void} cb
|
|
327
313
|
* @public
|
|
328
314
|
*/
|
|
329
|
-
|
|
330
|
-
let resp = new
|
|
331
|
-
this.request("
|
|
315
|
+
DescribeSubscribes(req, cb) {
|
|
316
|
+
let resp = new DescribeSubscribesResponse();
|
|
317
|
+
this.request("DescribeSubscribes", req, resp, cb);
|
|
332
318
|
}
|
|
333
319
|
|
|
334
320
|
/**
|
|
@@ -37,7 +37,7 @@ class DescribeMigrateJobsResponse extends AbstractModel {
|
|
|
37
37
|
this.JobList = null;
|
|
38
38
|
|
|
39
39
|
/**
|
|
40
|
-
* The unique request ID,
|
|
40
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
41
41
|
* @type {string || null}
|
|
42
42
|
*/
|
|
43
43
|
this.RequestId = null;
|
|
@@ -132,7 +132,7 @@ class DeleteMigrateJobResponse extends AbstractModel {
|
|
|
132
132
|
super();
|
|
133
133
|
|
|
134
134
|
/**
|
|
135
|
-
* The unique request ID,
|
|
135
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
136
136
|
* @type {string || null}
|
|
137
137
|
*/
|
|
138
138
|
this.RequestId = null;
|
|
@@ -237,7 +237,7 @@ class ModifySubscribeNameResponse extends AbstractModel {
|
|
|
237
237
|
super();
|
|
238
238
|
|
|
239
239
|
/**
|
|
240
|
-
* The unique request ID,
|
|
240
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
241
241
|
* @type {string || null}
|
|
242
242
|
*/
|
|
243
243
|
this.RequestId = null;
|
|
@@ -293,7 +293,7 @@ class IsolateSubscribeResponse extends AbstractModel {
|
|
|
293
293
|
super();
|
|
294
294
|
|
|
295
295
|
/**
|
|
296
|
-
* The unique request ID,
|
|
296
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
297
297
|
* @type {string || null}
|
|
298
298
|
*/
|
|
299
299
|
this.RequestId = null;
|
|
@@ -327,7 +327,7 @@ class ModifySubscribeObjectsResponse extends AbstractModel {
|
|
|
327
327
|
this.AsyncRequestId = null;
|
|
328
328
|
|
|
329
329
|
/**
|
|
330
|
-
* The unique request ID,
|
|
330
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
331
331
|
* @type {string || null}
|
|
332
332
|
*/
|
|
333
333
|
this.RequestId = null;
|
|
@@ -487,67 +487,6 @@ For databases with a database-schema-table structure:
|
|
|
487
487
|
}
|
|
488
488
|
}
|
|
489
489
|
|
|
490
|
-
/**
|
|
491
|
-
* Sale information of data subscription region
|
|
492
|
-
* @class
|
|
493
|
-
*/
|
|
494
|
-
class SubscribeRegionConf extends AbstractModel {
|
|
495
|
-
constructor(){
|
|
496
|
-
super();
|
|
497
|
-
|
|
498
|
-
/**
|
|
499
|
-
* Region name, such as Guangzhou
|
|
500
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
|
501
|
-
* @type {string || null}
|
|
502
|
-
*/
|
|
503
|
-
this.RegionName = null;
|
|
504
|
-
|
|
505
|
-
/**
|
|
506
|
-
* Region ID, such as ap-guangzhou
|
|
507
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
|
508
|
-
* @type {string || null}
|
|
509
|
-
*/
|
|
510
|
-
this.Region = null;
|
|
511
|
-
|
|
512
|
-
/**
|
|
513
|
-
* Region name, such as South China
|
|
514
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
|
515
|
-
* @type {string || null}
|
|
516
|
-
*/
|
|
517
|
-
this.Area = null;
|
|
518
|
-
|
|
519
|
-
/**
|
|
520
|
-
* Whether it is the default region. 0: no, 1: yes
|
|
521
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
|
522
|
-
* @type {number || null}
|
|
523
|
-
*/
|
|
524
|
-
this.IsDefaultRegion = null;
|
|
525
|
-
|
|
526
|
-
/**
|
|
527
|
-
* Purchasable status of current region. 1: normal, 2: beta test, 3: not purchasable
|
|
528
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
|
529
|
-
* @type {number || null}
|
|
530
|
-
*/
|
|
531
|
-
this.Status = null;
|
|
532
|
-
|
|
533
|
-
}
|
|
534
|
-
|
|
535
|
-
/**
|
|
536
|
-
* @private
|
|
537
|
-
*/
|
|
538
|
-
deserialize(params) {
|
|
539
|
-
if (!params) {
|
|
540
|
-
return;
|
|
541
|
-
}
|
|
542
|
-
this.RegionName = 'RegionName' in params ? params.RegionName : null;
|
|
543
|
-
this.Region = 'Region' in params ? params.Region : null;
|
|
544
|
-
this.Area = 'Area' in params ? params.Area : null;
|
|
545
|
-
this.IsDefaultRegion = 'IsDefaultRegion' in params ? params.IsDefaultRegion : null;
|
|
546
|
-
this.Status = 'Status' in params ? params.Status : null;
|
|
547
|
-
|
|
548
|
-
}
|
|
549
|
-
}
|
|
550
|
-
|
|
551
490
|
/**
|
|
552
491
|
* ModifySubscribeName request structure.
|
|
553
492
|
* @class
|
|
@@ -592,7 +531,7 @@ class ModifySubscribeConsumeTimeResponse extends AbstractModel {
|
|
|
592
531
|
super();
|
|
593
532
|
|
|
594
533
|
/**
|
|
595
|
-
* The unique request ID,
|
|
534
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
596
535
|
* @type {string || null}
|
|
597
536
|
*/
|
|
598
537
|
this.RequestId = null;
|
|
@@ -620,16 +559,16 @@ class DstInfo extends AbstractModel {
|
|
|
620
559
|
super();
|
|
621
560
|
|
|
622
561
|
/**
|
|
623
|
-
* Target instance
|
|
562
|
+
* Target instance region, such as ap-guangzhou
|
|
624
563
|
* @type {string || null}
|
|
625
564
|
*/
|
|
626
|
-
this.
|
|
565
|
+
this.Region = null;
|
|
627
566
|
|
|
628
567
|
/**
|
|
629
|
-
* Target instance
|
|
568
|
+
* Target instance ID, such as cdb-jd92ijd8
|
|
630
569
|
* @type {string || null}
|
|
631
570
|
*/
|
|
632
|
-
this.
|
|
571
|
+
this.InstanceId = null;
|
|
633
572
|
|
|
634
573
|
/**
|
|
635
574
|
* Target instance VIP, which has been disused and does not need to be entered
|
|
@@ -670,8 +609,8 @@ class DstInfo extends AbstractModel {
|
|
|
670
609
|
if (!params) {
|
|
671
610
|
return;
|
|
672
611
|
}
|
|
673
|
-
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
674
612
|
this.Region = 'Region' in params ? params.Region : null;
|
|
613
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
675
614
|
this.Ip = 'Ip' in params ? params.Ip : null;
|
|
676
615
|
this.Port = 'Port' in params ? params.Port : null;
|
|
677
616
|
this.ReadOnly = 'ReadOnly' in params ? params.ReadOnly : null;
|
|
@@ -861,7 +800,7 @@ Note: This field may return `null`, indicating that no valid values can be obtai
|
|
|
861
800
|
this.Errors = null;
|
|
862
801
|
|
|
863
802
|
/**
|
|
864
|
-
* The unique request ID,
|
|
803
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
865
804
|
* @type {string || null}
|
|
866
805
|
*/
|
|
867
806
|
this.RequestId = null;
|
|
@@ -1344,7 +1283,7 @@ class CreateMigrateCheckJobResponse extends AbstractModel {
|
|
|
1344
1283
|
super();
|
|
1345
1284
|
|
|
1346
1285
|
/**
|
|
1347
|
-
* The unique request ID,
|
|
1286
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
1348
1287
|
* @type {string || null}
|
|
1349
1288
|
*/
|
|
1350
1289
|
this.RequestId = null;
|
|
@@ -1452,7 +1391,7 @@ class DescribeMigrateCheckJobResponse extends AbstractModel {
|
|
|
1452
1391
|
this.CheckFlag = null;
|
|
1453
1392
|
|
|
1454
1393
|
/**
|
|
1455
|
-
* The unique request ID,
|
|
1394
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
1456
1395
|
* @type {string || null}
|
|
1457
1396
|
*/
|
|
1458
1397
|
this.RequestId = null;
|
|
@@ -1573,90 +1512,18 @@ class OfflineIsolatedSubscribeRequest extends AbstractModel {
|
|
|
1573
1512
|
}
|
|
1574
1513
|
|
|
1575
1514
|
/**
|
|
1576
|
-
*
|
|
1515
|
+
* OfflineIsolatedSubscribe response structure.
|
|
1577
1516
|
* @class
|
|
1578
1517
|
*/
|
|
1579
|
-
class
|
|
1518
|
+
class OfflineIsolatedSubscribeResponse extends AbstractModel {
|
|
1580
1519
|
constructor(){
|
|
1581
1520
|
super();
|
|
1582
1521
|
|
|
1583
1522
|
/**
|
|
1584
|
-
*
|
|
1585
|
-
* @type {string || null}
|
|
1586
|
-
*/
|
|
1587
|
-
this.SubscribeId = null;
|
|
1588
|
-
|
|
1589
|
-
/**
|
|
1590
|
-
* Data subscription instance name
|
|
1591
|
-
* @type {string || null}
|
|
1592
|
-
*/
|
|
1593
|
-
this.SubscribeName = null;
|
|
1594
|
-
|
|
1595
|
-
/**
|
|
1596
|
-
* ID of bound database instance
|
|
1597
|
-
* @type {string || null}
|
|
1598
|
-
*/
|
|
1599
|
-
this.InstanceId = null;
|
|
1600
|
-
|
|
1601
|
-
/**
|
|
1602
|
-
* Data subscription instance channel ID
|
|
1603
|
-
* @type {string || null}
|
|
1604
|
-
*/
|
|
1605
|
-
this.ChannelId = null;
|
|
1606
|
-
|
|
1607
|
-
/**
|
|
1608
|
-
* Billing mode filter. Default value: 1 (pay-as-you-go)
|
|
1523
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
1609
1524
|
* @type {string || null}
|
|
1610
1525
|
*/
|
|
1611
|
-
this.
|
|
1612
|
-
|
|
1613
|
-
/**
|
|
1614
|
-
* Subscribed database product, such as MySQL
|
|
1615
|
-
* @type {string || null}
|
|
1616
|
-
*/
|
|
1617
|
-
this.Product = null;
|
|
1618
|
-
|
|
1619
|
-
/**
|
|
1620
|
-
* Data subscription instance status. Valid values: creating, normal, isolating, isolated, offlining
|
|
1621
|
-
* @type {Array.<string> || null}
|
|
1622
|
-
*/
|
|
1623
|
-
this.Status = null;
|
|
1624
|
-
|
|
1625
|
-
/**
|
|
1626
|
-
* Data subscription instance configuration status. Valid values: unconfigure, configuring, configured
|
|
1627
|
-
* @type {Array.<string> || null}
|
|
1628
|
-
*/
|
|
1629
|
-
this.SubsStatus = null;
|
|
1630
|
-
|
|
1631
|
-
/**
|
|
1632
|
-
* Starting offset of returned results
|
|
1633
|
-
* @type {number || null}
|
|
1634
|
-
*/
|
|
1635
|
-
this.Offset = null;
|
|
1636
|
-
|
|
1637
|
-
/**
|
|
1638
|
-
* Number of results to be returned at a time
|
|
1639
|
-
* @type {number || null}
|
|
1640
|
-
*/
|
|
1641
|
-
this.Limit = null;
|
|
1642
|
-
|
|
1643
|
-
/**
|
|
1644
|
-
* Sorting order. Valid values: DESC, ASC. Default value: DESC, indicating descending by creation time
|
|
1645
|
-
* @type {string || null}
|
|
1646
|
-
*/
|
|
1647
|
-
this.OrderDirection = null;
|
|
1648
|
-
|
|
1649
|
-
/**
|
|
1650
|
-
* Tag filtering condition
|
|
1651
|
-
* @type {Array.<TagFilter> || null}
|
|
1652
|
-
*/
|
|
1653
|
-
this.TagFilters = null;
|
|
1654
|
-
|
|
1655
|
-
/**
|
|
1656
|
-
* Subscription instance edition. `txdts`: legacy data subscription; `kafka`: data subscription in Kafka edition
|
|
1657
|
-
* @type {string || null}
|
|
1658
|
-
*/
|
|
1659
|
-
this.SubscribeVersion = null;
|
|
1526
|
+
this.RequestId = null;
|
|
1660
1527
|
|
|
1661
1528
|
}
|
|
1662
1529
|
|
|
@@ -1667,27 +1534,7 @@ class DescribeSubscribesRequest extends AbstractModel {
|
|
|
1667
1534
|
if (!params) {
|
|
1668
1535
|
return;
|
|
1669
1536
|
}
|
|
1670
|
-
this.
|
|
1671
|
-
this.SubscribeName = 'SubscribeName' in params ? params.SubscribeName : null;
|
|
1672
|
-
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
1673
|
-
this.ChannelId = 'ChannelId' in params ? params.ChannelId : null;
|
|
1674
|
-
this.PayType = 'PayType' in params ? params.PayType : null;
|
|
1675
|
-
this.Product = 'Product' in params ? params.Product : null;
|
|
1676
|
-
this.Status = 'Status' in params ? params.Status : null;
|
|
1677
|
-
this.SubsStatus = 'SubsStatus' in params ? params.SubsStatus : null;
|
|
1678
|
-
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
1679
|
-
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
1680
|
-
this.OrderDirection = 'OrderDirection' in params ? params.OrderDirection : null;
|
|
1681
|
-
|
|
1682
|
-
if (params.TagFilters) {
|
|
1683
|
-
this.TagFilters = new Array();
|
|
1684
|
-
for (let z in params.TagFilters) {
|
|
1685
|
-
let obj = new TagFilter();
|
|
1686
|
-
obj.deserialize(params.TagFilters[z]);
|
|
1687
|
-
this.TagFilters.push(obj);
|
|
1688
|
-
}
|
|
1689
|
-
}
|
|
1690
|
-
this.SubscribeVersion = 'SubscribeVersion' in params ? params.SubscribeVersion : null;
|
|
1537
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1691
1538
|
|
|
1692
1539
|
}
|
|
1693
1540
|
}
|
|
@@ -1701,7 +1548,7 @@ class ResetSubscribeResponse extends AbstractModel {
|
|
|
1701
1548
|
super();
|
|
1702
1549
|
|
|
1703
1550
|
/**
|
|
1704
|
-
* The unique request ID,
|
|
1551
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
1705
1552
|
* @type {string || null}
|
|
1706
1553
|
*/
|
|
1707
1554
|
this.RequestId = null;
|
|
@@ -1741,7 +1588,7 @@ class DescribeSubscribesResponse extends AbstractModel {
|
|
|
1741
1588
|
this.Items = null;
|
|
1742
1589
|
|
|
1743
1590
|
/**
|
|
1744
|
-
* The unique request ID,
|
|
1591
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
1745
1592
|
* @type {string || null}
|
|
1746
1593
|
*/
|
|
1747
1594
|
this.RequestId = null;
|
|
@@ -1805,34 +1652,6 @@ class ModifySubscribeConsumeTimeRequest extends AbstractModel {
|
|
|
1805
1652
|
}
|
|
1806
1653
|
}
|
|
1807
1654
|
|
|
1808
|
-
/**
|
|
1809
|
-
* StopMigrateJob request structure.
|
|
1810
|
-
* @class
|
|
1811
|
-
*/
|
|
1812
|
-
class StopMigrateJobRequest extends AbstractModel {
|
|
1813
|
-
constructor(){
|
|
1814
|
-
super();
|
|
1815
|
-
|
|
1816
|
-
/**
|
|
1817
|
-
* Data migration task ID
|
|
1818
|
-
* @type {string || null}
|
|
1819
|
-
*/
|
|
1820
|
-
this.JobId = null;
|
|
1821
|
-
|
|
1822
|
-
}
|
|
1823
|
-
|
|
1824
|
-
/**
|
|
1825
|
-
* @private
|
|
1826
|
-
*/
|
|
1827
|
-
deserialize(params) {
|
|
1828
|
-
if (!params) {
|
|
1829
|
-
return;
|
|
1830
|
-
}
|
|
1831
|
-
this.JobId = 'JobId' in params ? params.JobId : null;
|
|
1832
|
-
|
|
1833
|
-
}
|
|
1834
|
-
}
|
|
1835
|
-
|
|
1836
1655
|
/**
|
|
1837
1656
|
* Describes the specific migration process
|
|
1838
1657
|
* @class
|
|
@@ -1912,30 +1731,18 @@ class MigrateDetailInfo extends AbstractModel {
|
|
|
1912
1731
|
}
|
|
1913
1732
|
|
|
1914
1733
|
/**
|
|
1915
|
-
*
|
|
1734
|
+
* StopMigrateJob request structure.
|
|
1916
1735
|
* @class
|
|
1917
1736
|
*/
|
|
1918
|
-
class
|
|
1737
|
+
class StopMigrateJobRequest extends AbstractModel {
|
|
1919
1738
|
constructor(){
|
|
1920
1739
|
super();
|
|
1921
1740
|
|
|
1922
1741
|
/**
|
|
1923
|
-
*
|
|
1924
|
-
* @type {number || null}
|
|
1925
|
-
*/
|
|
1926
|
-
this.TotalCount = null;
|
|
1927
|
-
|
|
1928
|
-
/**
|
|
1929
|
-
* Purchasable region details
|
|
1930
|
-
* @type {Array.<SubscribeRegionConf> || null}
|
|
1931
|
-
*/
|
|
1932
|
-
this.Items = null;
|
|
1933
|
-
|
|
1934
|
-
/**
|
|
1935
|
-
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
1742
|
+
* Data migration task ID
|
|
1936
1743
|
* @type {string || null}
|
|
1937
1744
|
*/
|
|
1938
|
-
this.
|
|
1745
|
+
this.JobId = null;
|
|
1939
1746
|
|
|
1940
1747
|
}
|
|
1941
1748
|
|
|
@@ -1946,17 +1753,7 @@ class DescribeRegionConfResponse extends AbstractModel {
|
|
|
1946
1753
|
if (!params) {
|
|
1947
1754
|
return;
|
|
1948
1755
|
}
|
|
1949
|
-
this.
|
|
1950
|
-
|
|
1951
|
-
if (params.Items) {
|
|
1952
|
-
this.Items = new Array();
|
|
1953
|
-
for (let z in params.Items) {
|
|
1954
|
-
let obj = new SubscribeRegionConf();
|
|
1955
|
-
obj.deserialize(params.Items[z]);
|
|
1956
|
-
this.Items.push(obj);
|
|
1957
|
-
}
|
|
1958
|
-
}
|
|
1959
|
-
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1756
|
+
this.JobId = 'JobId' in params ? params.JobId : null;
|
|
1960
1757
|
|
|
1961
1758
|
}
|
|
1962
1759
|
}
|
|
@@ -1982,7 +1779,7 @@ class DescribeAsyncRequestInfoResponse extends AbstractModel {
|
|
|
1982
1779
|
this.Status = null;
|
|
1983
1780
|
|
|
1984
1781
|
/**
|
|
1985
|
-
* The unique request ID,
|
|
1782
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
1986
1783
|
* @type {string || null}
|
|
1987
1784
|
*/
|
|
1988
1785
|
this.RequestId = null;
|
|
@@ -2311,7 +2108,7 @@ class ModifyMigrateJobResponse extends AbstractModel {
|
|
|
2311
2108
|
super();
|
|
2312
2109
|
|
|
2313
2110
|
/**
|
|
2314
|
-
* The unique request ID,
|
|
2111
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
2315
2112
|
* @type {string || null}
|
|
2316
2113
|
*/
|
|
2317
2114
|
this.RequestId = null;
|
|
@@ -2417,35 +2214,7 @@ class StopMigrateJobResponse extends AbstractModel {
|
|
|
2417
2214
|
super();
|
|
2418
2215
|
|
|
2419
2216
|
/**
|
|
2420
|
-
* The unique request ID,
|
|
2421
|
-
* @type {string || null}
|
|
2422
|
-
*/
|
|
2423
|
-
this.RequestId = null;
|
|
2424
|
-
|
|
2425
|
-
}
|
|
2426
|
-
|
|
2427
|
-
/**
|
|
2428
|
-
* @private
|
|
2429
|
-
*/
|
|
2430
|
-
deserialize(params) {
|
|
2431
|
-
if (!params) {
|
|
2432
|
-
return;
|
|
2433
|
-
}
|
|
2434
|
-
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
2435
|
-
|
|
2436
|
-
}
|
|
2437
|
-
}
|
|
2438
|
-
|
|
2439
|
-
/**
|
|
2440
|
-
* OfflineIsolatedSubscribe response structure.
|
|
2441
|
-
* @class
|
|
2442
|
-
*/
|
|
2443
|
-
class OfflineIsolatedSubscribeResponse extends AbstractModel {
|
|
2444
|
-
constructor(){
|
|
2445
|
-
super();
|
|
2446
|
-
|
|
2447
|
-
/**
|
|
2448
|
-
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
2217
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
2449
2218
|
* @type {string || null}
|
|
2450
2219
|
*/
|
|
2451
2220
|
this.RequestId = null;
|
|
@@ -2721,13 +2490,91 @@ Note: This field may return `null`, indicating that no valid values can be obtai
|
|
|
2721
2490
|
}
|
|
2722
2491
|
|
|
2723
2492
|
/**
|
|
2724
|
-
*
|
|
2493
|
+
* DescribeSubscribes request structure.
|
|
2725
2494
|
* @class
|
|
2726
2495
|
*/
|
|
2727
|
-
class
|
|
2496
|
+
class DescribeSubscribesRequest extends AbstractModel {
|
|
2728
2497
|
constructor(){
|
|
2729
2498
|
super();
|
|
2730
2499
|
|
|
2500
|
+
/**
|
|
2501
|
+
* Data subscription instance ID
|
|
2502
|
+
* @type {string || null}
|
|
2503
|
+
*/
|
|
2504
|
+
this.SubscribeId = null;
|
|
2505
|
+
|
|
2506
|
+
/**
|
|
2507
|
+
* Data subscription instance name
|
|
2508
|
+
* @type {string || null}
|
|
2509
|
+
*/
|
|
2510
|
+
this.SubscribeName = null;
|
|
2511
|
+
|
|
2512
|
+
/**
|
|
2513
|
+
* ID of bound database instance
|
|
2514
|
+
* @type {string || null}
|
|
2515
|
+
*/
|
|
2516
|
+
this.InstanceId = null;
|
|
2517
|
+
|
|
2518
|
+
/**
|
|
2519
|
+
* Data subscription instance channel ID
|
|
2520
|
+
* @type {string || null}
|
|
2521
|
+
*/
|
|
2522
|
+
this.ChannelId = null;
|
|
2523
|
+
|
|
2524
|
+
/**
|
|
2525
|
+
* Billing mode filter. Default value: 1 (pay-as-you-go)
|
|
2526
|
+
* @type {string || null}
|
|
2527
|
+
*/
|
|
2528
|
+
this.PayType = null;
|
|
2529
|
+
|
|
2530
|
+
/**
|
|
2531
|
+
* Subscribed database product, such as MySQL
|
|
2532
|
+
* @type {string || null}
|
|
2533
|
+
*/
|
|
2534
|
+
this.Product = null;
|
|
2535
|
+
|
|
2536
|
+
/**
|
|
2537
|
+
* Data subscription instance status. Valid values: creating, normal, isolating, isolated, offlining
|
|
2538
|
+
* @type {Array.<string> || null}
|
|
2539
|
+
*/
|
|
2540
|
+
this.Status = null;
|
|
2541
|
+
|
|
2542
|
+
/**
|
|
2543
|
+
* Data subscription instance configuration status. Valid values: unconfigure, configuring, configured
|
|
2544
|
+
* @type {Array.<string> || null}
|
|
2545
|
+
*/
|
|
2546
|
+
this.SubsStatus = null;
|
|
2547
|
+
|
|
2548
|
+
/**
|
|
2549
|
+
* Starting offset of returned results
|
|
2550
|
+
* @type {number || null}
|
|
2551
|
+
*/
|
|
2552
|
+
this.Offset = null;
|
|
2553
|
+
|
|
2554
|
+
/**
|
|
2555
|
+
* Number of results to be returned at a time
|
|
2556
|
+
* @type {number || null}
|
|
2557
|
+
*/
|
|
2558
|
+
this.Limit = null;
|
|
2559
|
+
|
|
2560
|
+
/**
|
|
2561
|
+
* Sorting order. Valid values: DESC, ASC. Default value: DESC, indicating descending by creation time
|
|
2562
|
+
* @type {string || null}
|
|
2563
|
+
*/
|
|
2564
|
+
this.OrderDirection = null;
|
|
2565
|
+
|
|
2566
|
+
/**
|
|
2567
|
+
* Tag filtering condition
|
|
2568
|
+
* @type {Array.<TagFilter> || null}
|
|
2569
|
+
*/
|
|
2570
|
+
this.TagFilters = null;
|
|
2571
|
+
|
|
2572
|
+
/**
|
|
2573
|
+
* Subscription instance edition. `txdts`: legacy data subscription; `kafka`: data subscription in Kafka edition
|
|
2574
|
+
* @type {string || null}
|
|
2575
|
+
*/
|
|
2576
|
+
this.SubscribeVersion = null;
|
|
2577
|
+
|
|
2731
2578
|
}
|
|
2732
2579
|
|
|
2733
2580
|
/**
|
|
@@ -2737,6 +2584,27 @@ class DescribeRegionConfRequest extends AbstractModel {
|
|
|
2737
2584
|
if (!params) {
|
|
2738
2585
|
return;
|
|
2739
2586
|
}
|
|
2587
|
+
this.SubscribeId = 'SubscribeId' in params ? params.SubscribeId : null;
|
|
2588
|
+
this.SubscribeName = 'SubscribeName' in params ? params.SubscribeName : null;
|
|
2589
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
2590
|
+
this.ChannelId = 'ChannelId' in params ? params.ChannelId : null;
|
|
2591
|
+
this.PayType = 'PayType' in params ? params.PayType : null;
|
|
2592
|
+
this.Product = 'Product' in params ? params.Product : null;
|
|
2593
|
+
this.Status = 'Status' in params ? params.Status : null;
|
|
2594
|
+
this.SubsStatus = 'SubsStatus' in params ? params.SubsStatus : null;
|
|
2595
|
+
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
2596
|
+
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
2597
|
+
this.OrderDirection = 'OrderDirection' in params ? params.OrderDirection : null;
|
|
2598
|
+
|
|
2599
|
+
if (params.TagFilters) {
|
|
2600
|
+
this.TagFilters = new Array();
|
|
2601
|
+
for (let z in params.TagFilters) {
|
|
2602
|
+
let obj = new TagFilter();
|
|
2603
|
+
obj.deserialize(params.TagFilters[z]);
|
|
2604
|
+
this.TagFilters.push(obj);
|
|
2605
|
+
}
|
|
2606
|
+
}
|
|
2607
|
+
this.SubscribeVersion = 'SubscribeVersion' in params ? params.SubscribeVersion : null;
|
|
2740
2608
|
|
|
2741
2609
|
}
|
|
2742
2610
|
}
|
|
@@ -2750,7 +2618,7 @@ class CompleteMigrateJobResponse extends AbstractModel {
|
|
|
2750
2618
|
super();
|
|
2751
2619
|
|
|
2752
2620
|
/**
|
|
2753
|
-
* The unique request ID,
|
|
2621
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
2754
2622
|
* @type {string || null}
|
|
2755
2623
|
*/
|
|
2756
2624
|
this.RequestId = null;
|
|
@@ -2829,7 +2697,7 @@ class CreateMigrateJobResponse extends AbstractModel {
|
|
|
2829
2697
|
this.JobId = null;
|
|
2830
2698
|
|
|
2831
2699
|
/**
|
|
2832
|
-
* The unique request ID,
|
|
2700
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
2833
2701
|
* @type {string || null}
|
|
2834
2702
|
*/
|
|
2835
2703
|
this.RequestId = null;
|
|
@@ -2886,7 +2754,7 @@ class ModifySubscribeVipVportResponse extends AbstractModel {
|
|
|
2886
2754
|
super();
|
|
2887
2755
|
|
|
2888
2756
|
/**
|
|
2889
|
-
* The unique request ID,
|
|
2757
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
2890
2758
|
* @type {string || null}
|
|
2891
2759
|
*/
|
|
2892
2760
|
this.RequestId = null;
|
|
@@ -2948,7 +2816,7 @@ class ActivateSubscribeResponse extends AbstractModel {
|
|
|
2948
2816
|
this.AsyncRequestId = null;
|
|
2949
2817
|
|
|
2950
2818
|
/**
|
|
2951
|
-
* The unique request ID,
|
|
2819
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
2952
2820
|
* @type {string || null}
|
|
2953
2821
|
*/
|
|
2954
2822
|
this.RequestId = null;
|
|
@@ -2984,7 +2852,7 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
2984
2852
|
this.SubscribeIds = null;
|
|
2985
2853
|
|
|
2986
2854
|
/**
|
|
2987
|
-
* The unique request ID,
|
|
2855
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
2988
2856
|
* @type {string || null}
|
|
2989
2857
|
*/
|
|
2990
2858
|
this.RequestId = null;
|
|
@@ -3174,7 +3042,7 @@ class StartMigrateJobResponse extends AbstractModel {
|
|
|
3174
3042
|
super();
|
|
3175
3043
|
|
|
3176
3044
|
/**
|
|
3177
|
-
* The unique request ID,
|
|
3045
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
3178
3046
|
* @type {string || null}
|
|
3179
3047
|
*/
|
|
3180
3048
|
this.RequestId = null;
|
|
@@ -3232,7 +3100,6 @@ module.exports = {
|
|
|
3232
3100
|
IsolateSubscribeResponse: IsolateSubscribeResponse,
|
|
3233
3101
|
ModifySubscribeObjectsResponse: ModifySubscribeObjectsResponse,
|
|
3234
3102
|
CreateMigrateJobRequest: CreateMigrateJobRequest,
|
|
3235
|
-
SubscribeRegionConf: SubscribeRegionConf,
|
|
3236
3103
|
ModifySubscribeNameRequest: ModifySubscribeNameRequest,
|
|
3237
3104
|
ModifySubscribeConsumeTimeResponse: ModifySubscribeConsumeTimeResponse,
|
|
3238
3105
|
DstInfo: DstInfo,
|
|
@@ -3247,13 +3114,12 @@ module.exports = {
|
|
|
3247
3114
|
DescribeMigrateCheckJobResponse: DescribeMigrateCheckJobResponse,
|
|
3248
3115
|
ActivateSubscribeRequest: ActivateSubscribeRequest,
|
|
3249
3116
|
OfflineIsolatedSubscribeRequest: OfflineIsolatedSubscribeRequest,
|
|
3250
|
-
|
|
3117
|
+
OfflineIsolatedSubscribeResponse: OfflineIsolatedSubscribeResponse,
|
|
3251
3118
|
ResetSubscribeResponse: ResetSubscribeResponse,
|
|
3252
3119
|
DescribeSubscribesResponse: DescribeSubscribesResponse,
|
|
3253
3120
|
ModifySubscribeConsumeTimeRequest: ModifySubscribeConsumeTimeRequest,
|
|
3254
|
-
StopMigrateJobRequest: StopMigrateJobRequest,
|
|
3255
3121
|
MigrateDetailInfo: MigrateDetailInfo,
|
|
3256
|
-
|
|
3122
|
+
StopMigrateJobRequest: StopMigrateJobRequest,
|
|
3257
3123
|
DescribeAsyncRequestInfoResponse: DescribeAsyncRequestInfoResponse,
|
|
3258
3124
|
SubscribeInfo: SubscribeInfo,
|
|
3259
3125
|
ResetSubscribeRequest: ResetSubscribeRequest,
|
|
@@ -3262,11 +3128,10 @@ module.exports = {
|
|
|
3262
3128
|
ModifyMigrateJobResponse: ModifyMigrateJobResponse,
|
|
3263
3129
|
DescribeMigrateJobsRequest: DescribeMigrateJobsRequest,
|
|
3264
3130
|
StopMigrateJobResponse: StopMigrateJobResponse,
|
|
3265
|
-
OfflineIsolatedSubscribeResponse: OfflineIsolatedSubscribeResponse,
|
|
3266
3131
|
IsolateSubscribeRequest: IsolateSubscribeRequest,
|
|
3267
3132
|
CompleteMigrateJobRequest: CompleteMigrateJobRequest,
|
|
3268
3133
|
MigrateJobInfo: MigrateJobInfo,
|
|
3269
|
-
|
|
3134
|
+
DescribeSubscribesRequest: DescribeSubscribesRequest,
|
|
3270
3135
|
CompleteMigrateJobResponse: CompleteMigrateJobResponse,
|
|
3271
3136
|
SubscribeObject: SubscribeObject,
|
|
3272
3137
|
CreateMigrateJobResponse: CreateMigrateJobResponse,
|
|
@@ -1021,8 +1021,7 @@ If the check fails, the cause can be queried. Modify the migration configuration
|
|
|
1021
1021
|
/**
|
|
1022
1022
|
* This API is used to complete a data migration task.
|
|
1023
1023
|
For tasks in incremental migration mode, you need to call this API before migration gets ready for completion to stop migrating incremental data.
|
|
1024
|
-
If the task status queried through the `DescribeMigrationJobs` API is ready (`Status` = `readyComplete), you can call this API to complete the migration task.
|
|
1025
|
-
|
|
1024
|
+
If the task status queried through the `DescribeMigrationJobs` API is ready (`Status` = `readyComplete`), you can call this API to complete the migration task.
|
|
1026
1025
|
* @param {CompleteMigrateJobRequest} req
|
|
1027
1026
|
* @param {function(string, CompleteMigrateJobResponse):void} cb
|
|
1028
1027
|
* @public
|
|
@@ -3021,6 +3021,12 @@ Supported image size: The downloaded image after Base64 encoding can be up to 7
|
|
|
3021
3021
|
*/
|
|
3022
3022
|
this.ImageBase64 = null;
|
|
3023
3023
|
|
|
3024
|
+
/**
|
|
3025
|
+
* Base64 value of the image on the back of the card. Supported image formats: PNG, JPG, JPEG, GIF format is not supported yet. Supported image size: The downloaded image cannot exceed 7M after Base64 encoding. The image download takes no more than 3 seconds. One of ImageUrl and ImageBase64 of the image must be provided. If both are provided, only ImageUrl will be used.
|
|
3026
|
+
* @type {string || null}
|
|
3027
|
+
*/
|
|
3028
|
+
this.BackImageBase64 = null;
|
|
3029
|
+
|
|
3024
3030
|
/**
|
|
3025
3031
|
* The URL of an image. (This field is not available outside the Chinese mainland.)
|
|
3026
3032
|
Supported image formats: PNG, JPG, and JPEG. GIF is currently not supported.
|
|
@@ -3031,6 +3037,12 @@ For a non-Tencent Cloud URL, the download speed and stability may be low.
|
|
|
3031
3037
|
*/
|
|
3032
3038
|
this.ImageUrl = null;
|
|
3033
3039
|
|
|
3040
|
+
/**
|
|
3041
|
+
* The URL address of the image on the back of the card. Supported image formats: PNG, JPG, JPEG, GIF format is not supported yet. Supported image size: The downloaded image does not exceed 7M after Base64 encoding. The image download takes no more than 3 seconds. Storing images in Tencent Cloud URLs can ensure higher download speed and stability. It is recommended that images be stored in Tencent Cloud. The URL speed and stability of non-Tencent cloud storage may be affected to a certain extent.
|
|
3042
|
+
* @type {string || null}
|
|
3043
|
+
*/
|
|
3044
|
+
this.BackImageUrl = null;
|
|
3045
|
+
|
|
3034
3046
|
/**
|
|
3035
3047
|
* Whether to return an image. Default value: `false`.
|
|
3036
3048
|
* @type {boolean || null}
|
|
@@ -3047,7 +3059,9 @@ For a non-Tencent Cloud URL, the download speed and stability may be low.
|
|
|
3047
3059
|
return;
|
|
3048
3060
|
}
|
|
3049
3061
|
this.ImageBase64 = 'ImageBase64' in params ? params.ImageBase64 : null;
|
|
3062
|
+
this.BackImageBase64 = 'BackImageBase64' in params ? params.BackImageBase64 : null;
|
|
3050
3063
|
this.ImageUrl = 'ImageUrl' in params ? params.ImageUrl : null;
|
|
3064
|
+
this.BackImageUrl = 'BackImageUrl' in params ? params.BackImageUrl : null;
|
|
3051
3065
|
this.RetImage = 'RetImage' in params ? params.RetImage : null;
|
|
3052
3066
|
|
|
3053
3067
|
}
|
|
@@ -9400,6 +9414,12 @@ MyKid Kid card
|
|
|
9400
9414
|
*/
|
|
9401
9415
|
this.Birthday = null;
|
|
9402
9416
|
|
|
9417
|
+
/**
|
|
9418
|
+
* Number on the back of Malaysia ID card
|
|
9419
|
+
* @type {string || null}
|
|
9420
|
+
*/
|
|
9421
|
+
this.MyKadNumber = null;
|
|
9422
|
+
|
|
9403
9423
|
/**
|
|
9404
9424
|
* Card Warning Information
|
|
9405
9425
|
|
|
@@ -9438,6 +9458,7 @@ MyKid Kid card
|
|
|
9438
9458
|
this.AdvancedInfo = 'AdvancedInfo' in params ? params.AdvancedInfo : null;
|
|
9439
9459
|
this.Type = 'Type' in params ? params.Type : null;
|
|
9440
9460
|
this.Birthday = 'Birthday' in params ? params.Birthday : null;
|
|
9461
|
+
this.MyKadNumber = 'MyKadNumber' in params ? params.MyKadNumber : null;
|
|
9441
9462
|
this.WarnCardInfos = 'WarnCardInfos' in params ? params.WarnCardInfos : null;
|
|
9442
9463
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
9443
9464
|
|