tencentcloud-sdk-nodejs-intl-en 3.0.301 → 3.0.302
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.
|
@@ -45,32 +45,734 @@ class DeleteImmutableTagRulesResponse extends AbstractModel {
|
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
/**
|
|
48
|
-
*
|
|
48
|
+
* ModifyInstance response structure.
|
|
49
|
+
* @class
|
|
50
|
+
*/
|
|
51
|
+
class ModifyInstanceResponse extends AbstractModel {
|
|
52
|
+
constructor(){
|
|
53
|
+
super();
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
57
|
+
* @type {string || null}
|
|
58
|
+
*/
|
|
59
|
+
this.RequestId = null;
|
|
60
|
+
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* @private
|
|
65
|
+
*/
|
|
66
|
+
deserialize(params) {
|
|
67
|
+
if (!params) {
|
|
68
|
+
return;
|
|
69
|
+
}
|
|
70
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
71
|
+
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* Task details
|
|
77
|
+
* @class
|
|
78
|
+
*/
|
|
79
|
+
class TaskDetail extends AbstractModel {
|
|
80
|
+
constructor(){
|
|
81
|
+
super();
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* Task
|
|
85
|
+
* @type {string || null}
|
|
86
|
+
*/
|
|
87
|
+
this.TaskName = null;
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* Task UUID
|
|
91
|
+
* @type {string || null}
|
|
92
|
+
*/
|
|
93
|
+
this.TaskUUID = null;
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* Task status
|
|
97
|
+
* @type {string || null}
|
|
98
|
+
*/
|
|
99
|
+
this.TaskStatus = null;
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* Task details
|
|
103
|
+
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
104
|
+
* @type {string || null}
|
|
105
|
+
*/
|
|
106
|
+
this.TaskMessage = null;
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* Start time of the task
|
|
110
|
+
* @type {string || null}
|
|
111
|
+
*/
|
|
112
|
+
this.CreatedTime = null;
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* End time of the task
|
|
116
|
+
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
117
|
+
* @type {string || null}
|
|
118
|
+
*/
|
|
119
|
+
this.FinishedTime = null;
|
|
120
|
+
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* @private
|
|
125
|
+
*/
|
|
126
|
+
deserialize(params) {
|
|
127
|
+
if (!params) {
|
|
128
|
+
return;
|
|
129
|
+
}
|
|
130
|
+
this.TaskName = 'TaskName' in params ? params.TaskName : null;
|
|
131
|
+
this.TaskUUID = 'TaskUUID' in params ? params.TaskUUID : null;
|
|
132
|
+
this.TaskStatus = 'TaskStatus' in params ? params.TaskStatus : null;
|
|
133
|
+
this.TaskMessage = 'TaskMessage' in params ? params.TaskMessage : null;
|
|
134
|
+
this.CreatedTime = 'CreatedTime' in params ? params.CreatedTime : null;
|
|
135
|
+
this.FinishedTime = 'FinishedTime' in params ? params.FinishedTime : null;
|
|
136
|
+
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
/**
|
|
141
|
+
* ID of Enterprise Registry replication instance
|
|
142
|
+
* @class
|
|
143
|
+
*/
|
|
144
|
+
class ReplicationRegistry extends AbstractModel {
|
|
145
|
+
constructor(){
|
|
146
|
+
super();
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* Master instance ID
|
|
150
|
+
* @type {string || null}
|
|
151
|
+
*/
|
|
152
|
+
this.RegistryId = null;
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* Replication instance ID
|
|
156
|
+
* @type {string || null}
|
|
157
|
+
*/
|
|
158
|
+
this.ReplicationRegistryId = null;
|
|
159
|
+
|
|
160
|
+
/**
|
|
161
|
+
* Region ID of the replication instance
|
|
162
|
+
* @type {number || null}
|
|
163
|
+
*/
|
|
164
|
+
this.ReplicationRegionId = null;
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* Region name of the replication instance
|
|
168
|
+
* @type {string || null}
|
|
169
|
+
*/
|
|
170
|
+
this.ReplicationRegionName = null;
|
|
171
|
+
|
|
172
|
+
/**
|
|
173
|
+
* Status of the replication instance
|
|
174
|
+
* @type {string || null}
|
|
175
|
+
*/
|
|
176
|
+
this.Status = null;
|
|
177
|
+
|
|
178
|
+
/**
|
|
179
|
+
* Creation time
|
|
180
|
+
* @type {string || null}
|
|
181
|
+
*/
|
|
182
|
+
this.CreatedAt = null;
|
|
183
|
+
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
/**
|
|
187
|
+
* @private
|
|
188
|
+
*/
|
|
189
|
+
deserialize(params) {
|
|
190
|
+
if (!params) {
|
|
191
|
+
return;
|
|
192
|
+
}
|
|
193
|
+
this.RegistryId = 'RegistryId' in params ? params.RegistryId : null;
|
|
194
|
+
this.ReplicationRegistryId = 'ReplicationRegistryId' in params ? params.ReplicationRegistryId : null;
|
|
195
|
+
this.ReplicationRegionId = 'ReplicationRegionId' in params ? params.ReplicationRegionId : null;
|
|
196
|
+
this.ReplicationRegionName = 'ReplicationRegionName' in params ? params.ReplicationRegionName : null;
|
|
197
|
+
this.Status = 'Status' in params ? params.Status : null;
|
|
198
|
+
this.CreatedAt = 'CreatedAt' in params ? params.CreatedAt : null;
|
|
199
|
+
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* DescribeReplicationInstanceCreateTasks response structure.
|
|
205
|
+
* @class
|
|
206
|
+
*/
|
|
207
|
+
class DescribeReplicationInstanceCreateTasksResponse extends AbstractModel {
|
|
208
|
+
constructor(){
|
|
209
|
+
super();
|
|
210
|
+
|
|
211
|
+
/**
|
|
212
|
+
* Task details
|
|
213
|
+
* @type {Array.<TaskDetail> || null}
|
|
214
|
+
*/
|
|
215
|
+
this.TaskDetail = null;
|
|
216
|
+
|
|
217
|
+
/**
|
|
218
|
+
* Overall task status
|
|
219
|
+
* @type {string || null}
|
|
220
|
+
*/
|
|
221
|
+
this.Status = null;
|
|
222
|
+
|
|
223
|
+
/**
|
|
224
|
+
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
225
|
+
* @type {string || null}
|
|
226
|
+
*/
|
|
227
|
+
this.RequestId = null;
|
|
228
|
+
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
/**
|
|
232
|
+
* @private
|
|
233
|
+
*/
|
|
234
|
+
deserialize(params) {
|
|
235
|
+
if (!params) {
|
|
236
|
+
return;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
if (params.TaskDetail) {
|
|
240
|
+
this.TaskDetail = new Array();
|
|
241
|
+
for (let z in params.TaskDetail) {
|
|
242
|
+
let obj = new TaskDetail();
|
|
243
|
+
obj.deserialize(params.TaskDetail[z]);
|
|
244
|
+
this.TaskDetail.push(obj);
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
this.Status = 'Status' in params ? params.Status : null;
|
|
248
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
249
|
+
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
/**
|
|
254
|
+
* DeleteMultipleSecurityPolicy response structure.
|
|
255
|
+
* @class
|
|
256
|
+
*/
|
|
257
|
+
class DeleteMultipleSecurityPolicyResponse extends AbstractModel {
|
|
258
|
+
constructor(){
|
|
259
|
+
super();
|
|
260
|
+
|
|
261
|
+
/**
|
|
262
|
+
* Instance ID
|
|
263
|
+
* @type {string || null}
|
|
264
|
+
*/
|
|
265
|
+
this.RegistryId = null;
|
|
266
|
+
|
|
267
|
+
/**
|
|
268
|
+
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
269
|
+
* @type {string || null}
|
|
270
|
+
*/
|
|
271
|
+
this.RequestId = null;
|
|
272
|
+
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
/**
|
|
276
|
+
* @private
|
|
277
|
+
*/
|
|
278
|
+
deserialize(params) {
|
|
279
|
+
if (!params) {
|
|
280
|
+
return;
|
|
281
|
+
}
|
|
282
|
+
this.RegistryId = 'RegistryId' in params ? params.RegistryId : null;
|
|
283
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
284
|
+
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
/**
|
|
289
|
+
* DescribeReplicationInstances request structure.
|
|
290
|
+
* @class
|
|
291
|
+
*/
|
|
292
|
+
class DescribeReplicationInstancesRequest extends AbstractModel {
|
|
293
|
+
constructor(){
|
|
294
|
+
super();
|
|
295
|
+
|
|
296
|
+
/**
|
|
297
|
+
* Instance ID
|
|
298
|
+
* @type {string || null}
|
|
299
|
+
*/
|
|
300
|
+
this.RegistryId = null;
|
|
301
|
+
|
|
302
|
+
/**
|
|
303
|
+
* Offset. Default value: 0
|
|
304
|
+
* @type {number || null}
|
|
305
|
+
*/
|
|
306
|
+
this.Offset = null;
|
|
307
|
+
|
|
308
|
+
/**
|
|
309
|
+
* Maximum number of output entries. Default value: 20, maximum value: 100.
|
|
310
|
+
* @type {number || null}
|
|
311
|
+
*/
|
|
312
|
+
this.Limit = null;
|
|
313
|
+
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
/**
|
|
317
|
+
* @private
|
|
318
|
+
*/
|
|
319
|
+
deserialize(params) {
|
|
320
|
+
if (!params) {
|
|
321
|
+
return;
|
|
322
|
+
}
|
|
323
|
+
this.RegistryId = 'RegistryId' in params ? params.RegistryId : null;
|
|
324
|
+
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
325
|
+
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
326
|
+
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
/**
|
|
331
|
+
* ManageReplication request structure.
|
|
332
|
+
* @class
|
|
333
|
+
*/
|
|
334
|
+
class ManageReplicationRequest extends AbstractModel {
|
|
335
|
+
constructor(){
|
|
336
|
+
super();
|
|
337
|
+
|
|
338
|
+
/**
|
|
339
|
+
* Source instance ID
|
|
340
|
+
* @type {string || null}
|
|
341
|
+
*/
|
|
342
|
+
this.SourceRegistryId = null;
|
|
343
|
+
|
|
344
|
+
/**
|
|
345
|
+
* Destination instance ID
|
|
346
|
+
* @type {string || null}
|
|
347
|
+
*/
|
|
348
|
+
this.DestinationRegistryId = null;
|
|
349
|
+
|
|
350
|
+
/**
|
|
351
|
+
* Synchronization rule
|
|
352
|
+
* @type {ReplicationRule || null}
|
|
353
|
+
*/
|
|
354
|
+
this.Rule = null;
|
|
355
|
+
|
|
356
|
+
/**
|
|
357
|
+
* Rule description
|
|
358
|
+
* @type {string || null}
|
|
359
|
+
*/
|
|
360
|
+
this.Description = null;
|
|
361
|
+
|
|
362
|
+
/**
|
|
363
|
+
* Region ID of the destination instance. For example, `1` represents Guangzhou
|
|
364
|
+
* @type {number || null}
|
|
365
|
+
*/
|
|
366
|
+
this.DestinationRegionId = null;
|
|
367
|
+
|
|
368
|
+
/**
|
|
369
|
+
* Configuration of the synchronization rule
|
|
370
|
+
* @type {PeerReplicationOption || null}
|
|
371
|
+
*/
|
|
372
|
+
this.PeerReplicationOption = null;
|
|
373
|
+
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
/**
|
|
377
|
+
* @private
|
|
378
|
+
*/
|
|
379
|
+
deserialize(params) {
|
|
380
|
+
if (!params) {
|
|
381
|
+
return;
|
|
382
|
+
}
|
|
383
|
+
this.SourceRegistryId = 'SourceRegistryId' in params ? params.SourceRegistryId : null;
|
|
384
|
+
this.DestinationRegistryId = 'DestinationRegistryId' in params ? params.DestinationRegistryId : null;
|
|
385
|
+
|
|
386
|
+
if (params.Rule) {
|
|
387
|
+
let obj = new ReplicationRule();
|
|
388
|
+
obj.deserialize(params.Rule)
|
|
389
|
+
this.Rule = obj;
|
|
390
|
+
}
|
|
391
|
+
this.Description = 'Description' in params ? params.Description : null;
|
|
392
|
+
this.DestinationRegionId = 'DestinationRegionId' in params ? params.DestinationRegionId : null;
|
|
393
|
+
|
|
394
|
+
if (params.PeerReplicationOption) {
|
|
395
|
+
let obj = new PeerReplicationOption();
|
|
396
|
+
obj.deserialize(params.PeerReplicationOption)
|
|
397
|
+
this.PeerReplicationOption = obj;
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
/**
|
|
404
|
+
* ModifyImmutableTagRules request structure.
|
|
405
|
+
* @class
|
|
406
|
+
*/
|
|
407
|
+
class ModifyImmutableTagRulesRequest extends AbstractModel {
|
|
408
|
+
constructor(){
|
|
409
|
+
super();
|
|
410
|
+
|
|
411
|
+
/**
|
|
412
|
+
* Instance ID
|
|
413
|
+
* @type {string || null}
|
|
414
|
+
*/
|
|
415
|
+
this.RegistryId = null;
|
|
416
|
+
|
|
417
|
+
/**
|
|
418
|
+
* Namespace
|
|
419
|
+
* @type {string || null}
|
|
420
|
+
*/
|
|
421
|
+
this.NamespaceName = null;
|
|
422
|
+
|
|
423
|
+
/**
|
|
424
|
+
* Rule ID
|
|
425
|
+
* @type {number || null}
|
|
426
|
+
*/
|
|
427
|
+
this.RuleId = null;
|
|
428
|
+
|
|
429
|
+
/**
|
|
430
|
+
* Rule
|
|
431
|
+
* @type {ImmutableTagRule || null}
|
|
432
|
+
*/
|
|
433
|
+
this.Rule = null;
|
|
434
|
+
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
/**
|
|
438
|
+
* @private
|
|
439
|
+
*/
|
|
440
|
+
deserialize(params) {
|
|
441
|
+
if (!params) {
|
|
442
|
+
return;
|
|
443
|
+
}
|
|
444
|
+
this.RegistryId = 'RegistryId' in params ? params.RegistryId : null;
|
|
445
|
+
this.NamespaceName = 'NamespaceName' in params ? params.NamespaceName : null;
|
|
446
|
+
this.RuleId = 'RuleId' in params ? params.RuleId : null;
|
|
447
|
+
|
|
448
|
+
if (params.Rule) {
|
|
449
|
+
let obj = new ImmutableTagRule();
|
|
450
|
+
obj.deserialize(params.Rule)
|
|
451
|
+
this.Rule = obj;
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
}
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
/**
|
|
458
|
+
* CreateReplicationInstance response structure.
|
|
49
459
|
* @class
|
|
50
460
|
*/
|
|
51
|
-
class
|
|
461
|
+
class CreateReplicationInstanceResponse extends AbstractModel {
|
|
462
|
+
constructor(){
|
|
463
|
+
super();
|
|
464
|
+
|
|
465
|
+
/**
|
|
466
|
+
* Enterprise Registry Instance ID
|
|
467
|
+
* @type {string || null}
|
|
468
|
+
*/
|
|
469
|
+
this.ReplicationRegistryId = null;
|
|
470
|
+
|
|
471
|
+
/**
|
|
472
|
+
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
473
|
+
* @type {string || null}
|
|
474
|
+
*/
|
|
475
|
+
this.RequestId = null;
|
|
476
|
+
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
/**
|
|
480
|
+
* @private
|
|
481
|
+
*/
|
|
482
|
+
deserialize(params) {
|
|
483
|
+
if (!params) {
|
|
484
|
+
return;
|
|
485
|
+
}
|
|
486
|
+
this.ReplicationRegistryId = 'ReplicationRegistryId' in params ? params.ReplicationRegistryId : null;
|
|
487
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
488
|
+
|
|
489
|
+
}
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
/**
|
|
493
|
+
* Synchronization rule
|
|
494
|
+
* @class
|
|
495
|
+
*/
|
|
496
|
+
class ReplicationRule extends AbstractModel {
|
|
497
|
+
constructor(){
|
|
498
|
+
super();
|
|
499
|
+
|
|
500
|
+
/**
|
|
501
|
+
* Name of synchronization rule
|
|
502
|
+
* @type {string || null}
|
|
503
|
+
*/
|
|
504
|
+
this.Name = null;
|
|
505
|
+
|
|
506
|
+
/**
|
|
507
|
+
* Destination namespace
|
|
508
|
+
* @type {string || null}
|
|
509
|
+
*/
|
|
510
|
+
this.DestNamespace = null;
|
|
511
|
+
|
|
512
|
+
/**
|
|
513
|
+
* Whether to override
|
|
514
|
+
* @type {boolean || null}
|
|
515
|
+
*/
|
|
516
|
+
this.Override = null;
|
|
517
|
+
|
|
518
|
+
/**
|
|
519
|
+
* Synchronization filters
|
|
520
|
+
* @type {Array.<ReplicationFilter> || null}
|
|
521
|
+
*/
|
|
522
|
+
this.Filters = null;
|
|
523
|
+
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
/**
|
|
527
|
+
* @private
|
|
528
|
+
*/
|
|
529
|
+
deserialize(params) {
|
|
530
|
+
if (!params) {
|
|
531
|
+
return;
|
|
532
|
+
}
|
|
533
|
+
this.Name = 'Name' in params ? params.Name : null;
|
|
534
|
+
this.DestNamespace = 'DestNamespace' in params ? params.DestNamespace : null;
|
|
535
|
+
this.Override = 'Override' in params ? params.Override : null;
|
|
536
|
+
|
|
537
|
+
if (params.Filters) {
|
|
538
|
+
this.Filters = new Array();
|
|
539
|
+
for (let z in params.Filters) {
|
|
540
|
+
let obj = new ReplicationFilter();
|
|
541
|
+
obj.deserialize(params.Filters[z]);
|
|
542
|
+
this.Filters.push(obj);
|
|
543
|
+
}
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
}
|
|
547
|
+
}
|
|
548
|
+
|
|
549
|
+
/**
|
|
550
|
+
* CreateMultipleSecurityPolicy request structure.
|
|
551
|
+
* @class
|
|
552
|
+
*/
|
|
553
|
+
class CreateMultipleSecurityPolicyRequest extends AbstractModel {
|
|
554
|
+
constructor(){
|
|
555
|
+
super();
|
|
556
|
+
|
|
557
|
+
/**
|
|
558
|
+
* Instance ID
|
|
559
|
+
* @type {string || null}
|
|
560
|
+
*/
|
|
561
|
+
this.RegistryId = null;
|
|
562
|
+
|
|
563
|
+
/**
|
|
564
|
+
* Security group policy
|
|
565
|
+
* @type {Array.<SecurityPolicy> || null}
|
|
566
|
+
*/
|
|
567
|
+
this.SecurityGroupPolicySet = null;
|
|
568
|
+
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
/**
|
|
572
|
+
* @private
|
|
573
|
+
*/
|
|
574
|
+
deserialize(params) {
|
|
575
|
+
if (!params) {
|
|
576
|
+
return;
|
|
577
|
+
}
|
|
578
|
+
this.RegistryId = 'RegistryId' in params ? params.RegistryId : null;
|
|
579
|
+
|
|
580
|
+
if (params.SecurityGroupPolicySet) {
|
|
581
|
+
this.SecurityGroupPolicySet = new Array();
|
|
582
|
+
for (let z in params.SecurityGroupPolicySet) {
|
|
583
|
+
let obj = new SecurityPolicy();
|
|
584
|
+
obj.deserialize(params.SecurityGroupPolicySet[z]);
|
|
585
|
+
this.SecurityGroupPolicySet.push(obj);
|
|
586
|
+
}
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
}
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
/**
|
|
593
|
+
* DescribeReplicationInstances response structure.
|
|
594
|
+
* @class
|
|
595
|
+
*/
|
|
596
|
+
class DescribeReplicationInstancesResponse extends AbstractModel {
|
|
597
|
+
constructor(){
|
|
598
|
+
super();
|
|
599
|
+
|
|
600
|
+
/**
|
|
601
|
+
* Total number of instances
|
|
602
|
+
* @type {number || null}
|
|
603
|
+
*/
|
|
604
|
+
this.TotalCount = null;
|
|
605
|
+
|
|
606
|
+
/**
|
|
607
|
+
* Replication instance list
|
|
608
|
+
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
609
|
+
* @type {Array.<ReplicationRegistry> || null}
|
|
610
|
+
*/
|
|
611
|
+
this.ReplicationRegistries = null;
|
|
612
|
+
|
|
613
|
+
/**
|
|
614
|
+
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
615
|
+
* @type {string || null}
|
|
616
|
+
*/
|
|
617
|
+
this.RequestId = null;
|
|
618
|
+
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
/**
|
|
622
|
+
* @private
|
|
623
|
+
*/
|
|
624
|
+
deserialize(params) {
|
|
625
|
+
if (!params) {
|
|
626
|
+
return;
|
|
627
|
+
}
|
|
628
|
+
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
629
|
+
|
|
630
|
+
if (params.ReplicationRegistries) {
|
|
631
|
+
this.ReplicationRegistries = new Array();
|
|
632
|
+
for (let z in params.ReplicationRegistries) {
|
|
633
|
+
let obj = new ReplicationRegistry();
|
|
634
|
+
obj.deserialize(params.ReplicationRegistries[z]);
|
|
635
|
+
this.ReplicationRegistries.push(obj);
|
|
636
|
+
}
|
|
637
|
+
}
|
|
638
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
639
|
+
|
|
640
|
+
}
|
|
641
|
+
}
|
|
642
|
+
|
|
643
|
+
/**
|
|
644
|
+
* ModifyInstance request structure.
|
|
645
|
+
* @class
|
|
646
|
+
*/
|
|
647
|
+
class ModifyInstanceRequest extends AbstractModel {
|
|
648
|
+
constructor(){
|
|
649
|
+
super();
|
|
650
|
+
|
|
651
|
+
/**
|
|
652
|
+
* Instance ID
|
|
653
|
+
* @type {string || null}
|
|
654
|
+
*/
|
|
655
|
+
this.RegistryId = null;
|
|
656
|
+
|
|
657
|
+
/**
|
|
658
|
+
* Instance specification
|
|
659
|
+
* @type {string || null}
|
|
660
|
+
*/
|
|
661
|
+
this.RegistryType = null;
|
|
662
|
+
|
|
663
|
+
}
|
|
664
|
+
|
|
665
|
+
/**
|
|
666
|
+
* @private
|
|
667
|
+
*/
|
|
668
|
+
deserialize(params) {
|
|
669
|
+
if (!params) {
|
|
670
|
+
return;
|
|
671
|
+
}
|
|
672
|
+
this.RegistryId = 'RegistryId' in params ? params.RegistryId : null;
|
|
673
|
+
this.RegistryType = 'RegistryType' in params ? params.RegistryType : null;
|
|
674
|
+
|
|
675
|
+
}
|
|
676
|
+
}
|
|
677
|
+
|
|
678
|
+
/**
|
|
679
|
+
* CheckInstance request structure.
|
|
680
|
+
* @class
|
|
681
|
+
*/
|
|
682
|
+
class CheckInstanceRequest extends AbstractModel {
|
|
683
|
+
constructor(){
|
|
684
|
+
super();
|
|
685
|
+
|
|
686
|
+
/**
|
|
687
|
+
* ID of the instance to be verified.
|
|
688
|
+
* @type {string || null}
|
|
689
|
+
*/
|
|
690
|
+
this.RegistryId = null;
|
|
691
|
+
|
|
692
|
+
}
|
|
693
|
+
|
|
694
|
+
/**
|
|
695
|
+
* @private
|
|
696
|
+
*/
|
|
697
|
+
deserialize(params) {
|
|
698
|
+
if (!params) {
|
|
699
|
+
return;
|
|
700
|
+
}
|
|
701
|
+
this.RegistryId = 'RegistryId' in params ? params.RegistryId : null;
|
|
702
|
+
|
|
703
|
+
}
|
|
704
|
+
}
|
|
705
|
+
|
|
706
|
+
/**
|
|
707
|
+
* DescribeReplicationInstanceSyncStatus request structure.
|
|
708
|
+
* @class
|
|
709
|
+
*/
|
|
710
|
+
class DescribeReplicationInstanceSyncStatusRequest extends AbstractModel {
|
|
52
711
|
constructor(){
|
|
53
712
|
super();
|
|
54
713
|
|
|
55
714
|
/**
|
|
56
|
-
*
|
|
57
|
-
|
|
58
|
-
|
|
715
|
+
* Master instance ID
|
|
716
|
+
* @type {string || null}
|
|
717
|
+
*/
|
|
718
|
+
this.RegistryId = null;
|
|
719
|
+
|
|
720
|
+
/**
|
|
721
|
+
* Replication instance ID
|
|
722
|
+
* @type {string || null}
|
|
723
|
+
*/
|
|
724
|
+
this.ReplicationRegistryId = null;
|
|
725
|
+
|
|
726
|
+
/**
|
|
727
|
+
* Region ID of the replication instance
|
|
728
|
+
* @type {number || null}
|
|
59
729
|
*/
|
|
60
|
-
this.
|
|
730
|
+
this.ReplicationRegionId = null;
|
|
61
731
|
|
|
62
732
|
/**
|
|
63
|
-
*
|
|
64
|
-
|
|
65
|
-
* @type {Array.<string> || null}
|
|
733
|
+
* Whether to show the synchronization log
|
|
734
|
+
* @type {boolean || null}
|
|
66
735
|
*/
|
|
67
|
-
this.
|
|
736
|
+
this.ShowReplicationLog = null;
|
|
68
737
|
|
|
69
738
|
/**
|
|
70
|
-
*
|
|
739
|
+
* Page offset for log display. Default value: 0
|
|
71
740
|
* @type {number || null}
|
|
72
741
|
*/
|
|
73
|
-
this.
|
|
742
|
+
this.Offset = null;
|
|
743
|
+
|
|
744
|
+
/**
|
|
745
|
+
* Maximum number of output entries. Default value: 5, maximum value: 20.
|
|
746
|
+
* @type {number || null}
|
|
747
|
+
*/
|
|
748
|
+
this.Limit = null;
|
|
749
|
+
|
|
750
|
+
}
|
|
751
|
+
|
|
752
|
+
/**
|
|
753
|
+
* @private
|
|
754
|
+
*/
|
|
755
|
+
deserialize(params) {
|
|
756
|
+
if (!params) {
|
|
757
|
+
return;
|
|
758
|
+
}
|
|
759
|
+
this.RegistryId = 'RegistryId' in params ? params.RegistryId : null;
|
|
760
|
+
this.ReplicationRegistryId = 'ReplicationRegistryId' in params ? params.ReplicationRegistryId : null;
|
|
761
|
+
this.ReplicationRegionId = 'ReplicationRegionId' in params ? params.ReplicationRegionId : null;
|
|
762
|
+
this.ShowReplicationLog = 'ShowReplicationLog' in params ? params.ShowReplicationLog : null;
|
|
763
|
+
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
764
|
+
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
765
|
+
|
|
766
|
+
}
|
|
767
|
+
}
|
|
768
|
+
|
|
769
|
+
/**
|
|
770
|
+
* ModifyImmutableTagRules response structure.
|
|
771
|
+
* @class
|
|
772
|
+
*/
|
|
773
|
+
class ModifyImmutableTagRulesResponse extends AbstractModel {
|
|
774
|
+
constructor(){
|
|
775
|
+
super();
|
|
74
776
|
|
|
75
777
|
/**
|
|
76
778
|
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
@@ -87,18 +789,49 @@ Note: this field may return `null`, indicating that no valid value can be obtain
|
|
|
87
789
|
if (!params) {
|
|
88
790
|
return;
|
|
89
791
|
}
|
|
792
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
90
793
|
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
794
|
+
}
|
|
795
|
+
}
|
|
796
|
+
|
|
797
|
+
/**
|
|
798
|
+
* CreateReplicationInstance request structure.
|
|
799
|
+
* @class
|
|
800
|
+
*/
|
|
801
|
+
class CreateReplicationInstanceRequest extends AbstractModel {
|
|
802
|
+
constructor(){
|
|
803
|
+
super();
|
|
804
|
+
|
|
805
|
+
/**
|
|
806
|
+
* Master instance ID
|
|
807
|
+
* @type {string || null}
|
|
808
|
+
*/
|
|
809
|
+
this.RegistryId = null;
|
|
810
|
+
|
|
811
|
+
/**
|
|
812
|
+
* Region ID of the replication instance
|
|
813
|
+
* @type {number || null}
|
|
814
|
+
*/
|
|
815
|
+
this.ReplicationRegionId = null;
|
|
816
|
+
|
|
817
|
+
/**
|
|
818
|
+
* Region name of the replication instance
|
|
819
|
+
* @type {string || null}
|
|
820
|
+
*/
|
|
821
|
+
this.ReplicationRegionName = null;
|
|
822
|
+
|
|
823
|
+
}
|
|
824
|
+
|
|
825
|
+
/**
|
|
826
|
+
* @private
|
|
827
|
+
*/
|
|
828
|
+
deserialize(params) {
|
|
829
|
+
if (!params) {
|
|
830
|
+
return;
|
|
98
831
|
}
|
|
99
|
-
this.
|
|
100
|
-
this.
|
|
101
|
-
this.
|
|
832
|
+
this.RegistryId = 'RegistryId' in params ? params.RegistryId : null;
|
|
833
|
+
this.ReplicationRegionId = 'ReplicationRegionId' in params ? params.ReplicationRegionId : null;
|
|
834
|
+
this.ReplicationRegionName = 'ReplicationRegionName' in params ? params.ReplicationRegionName : null;
|
|
102
835
|
|
|
103
836
|
}
|
|
104
837
|
}
|
|
@@ -146,10 +879,66 @@ class CheckInstanceResponse extends AbstractModel {
|
|
|
146
879
|
}
|
|
147
880
|
|
|
148
881
|
/**
|
|
149
|
-
*
|
|
882
|
+
* CreateImmutableTagRules response structure.
|
|
150
883
|
* @class
|
|
151
884
|
*/
|
|
152
|
-
class
|
|
885
|
+
class CreateImmutableTagRulesResponse extends AbstractModel {
|
|
886
|
+
constructor(){
|
|
887
|
+
super();
|
|
888
|
+
|
|
889
|
+
/**
|
|
890
|
+
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
891
|
+
* @type {string || null}
|
|
892
|
+
*/
|
|
893
|
+
this.RequestId = null;
|
|
894
|
+
|
|
895
|
+
}
|
|
896
|
+
|
|
897
|
+
/**
|
|
898
|
+
* @private
|
|
899
|
+
*/
|
|
900
|
+
deserialize(params) {
|
|
901
|
+
if (!params) {
|
|
902
|
+
return;
|
|
903
|
+
}
|
|
904
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
905
|
+
|
|
906
|
+
}
|
|
907
|
+
}
|
|
908
|
+
|
|
909
|
+
/**
|
|
910
|
+
* DescribeImmutableTagRules request structure.
|
|
911
|
+
* @class
|
|
912
|
+
*/
|
|
913
|
+
class DescribeImmutableTagRulesRequest extends AbstractModel {
|
|
914
|
+
constructor(){
|
|
915
|
+
super();
|
|
916
|
+
|
|
917
|
+
/**
|
|
918
|
+
* Instance ID
|
|
919
|
+
* @type {string || null}
|
|
920
|
+
*/
|
|
921
|
+
this.RegistryId = null;
|
|
922
|
+
|
|
923
|
+
}
|
|
924
|
+
|
|
925
|
+
/**
|
|
926
|
+
* @private
|
|
927
|
+
*/
|
|
928
|
+
deserialize(params) {
|
|
929
|
+
if (!params) {
|
|
930
|
+
return;
|
|
931
|
+
}
|
|
932
|
+
this.RegistryId = 'RegistryId' in params ? params.RegistryId : null;
|
|
933
|
+
|
|
934
|
+
}
|
|
935
|
+
}
|
|
936
|
+
|
|
937
|
+
/**
|
|
938
|
+
* CreateMultipleSecurityPolicy response structure.
|
|
939
|
+
* @class
|
|
940
|
+
*/
|
|
941
|
+
class CreateMultipleSecurityPolicyResponse extends AbstractModel {
|
|
153
942
|
constructor(){
|
|
154
943
|
super();
|
|
155
944
|
|
|
@@ -160,10 +949,10 @@ class CreateMultipleSecurityPolicyRequest extends AbstractModel {
|
|
|
160
949
|
this.RegistryId = null;
|
|
161
950
|
|
|
162
951
|
/**
|
|
163
|
-
*
|
|
164
|
-
* @type {
|
|
952
|
+
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
953
|
+
* @type {string || null}
|
|
165
954
|
*/
|
|
166
|
-
this.
|
|
955
|
+
this.RequestId = null;
|
|
167
956
|
|
|
168
957
|
}
|
|
169
958
|
|
|
@@ -175,24 +964,58 @@ class CreateMultipleSecurityPolicyRequest extends AbstractModel {
|
|
|
175
964
|
return;
|
|
176
965
|
}
|
|
177
966
|
this.RegistryId = 'RegistryId' in params ? params.RegistryId : null;
|
|
967
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
178
968
|
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
969
|
+
}
|
|
970
|
+
}
|
|
971
|
+
|
|
972
|
+
/**
|
|
973
|
+
* DeleteImmutableTagRules request structure.
|
|
974
|
+
* @class
|
|
975
|
+
*/
|
|
976
|
+
class DeleteImmutableTagRulesRequest extends AbstractModel {
|
|
977
|
+
constructor(){
|
|
978
|
+
super();
|
|
979
|
+
|
|
980
|
+
/**
|
|
981
|
+
* Instance ID
|
|
982
|
+
* @type {string || null}
|
|
983
|
+
*/
|
|
984
|
+
this.RegistryId = null;
|
|
985
|
+
|
|
986
|
+
/**
|
|
987
|
+
* Namespace
|
|
988
|
+
* @type {string || null}
|
|
989
|
+
*/
|
|
990
|
+
this.NamespaceName = null;
|
|
991
|
+
|
|
992
|
+
/**
|
|
993
|
+
* Rule ID
|
|
994
|
+
* @type {number || null}
|
|
995
|
+
*/
|
|
996
|
+
this.RuleId = null;
|
|
997
|
+
|
|
998
|
+
}
|
|
999
|
+
|
|
1000
|
+
/**
|
|
1001
|
+
* @private
|
|
1002
|
+
*/
|
|
1003
|
+
deserialize(params) {
|
|
1004
|
+
if (!params) {
|
|
1005
|
+
return;
|
|
186
1006
|
}
|
|
1007
|
+
this.RegistryId = 'RegistryId' in params ? params.RegistryId : null;
|
|
1008
|
+
this.NamespaceName = 'NamespaceName' in params ? params.NamespaceName : null;
|
|
1009
|
+
this.RuleId = 'RuleId' in params ? params.RuleId : null;
|
|
187
1010
|
|
|
188
1011
|
}
|
|
189
1012
|
}
|
|
190
1013
|
|
|
191
1014
|
/**
|
|
192
|
-
*
|
|
1015
|
+
* ManageReplication response structure.
|
|
193
1016
|
* @class
|
|
194
1017
|
*/
|
|
195
|
-
class
|
|
1018
|
+
class ManageReplicationResponse extends AbstractModel {
|
|
196
1019
|
constructor(){
|
|
197
1020
|
super();
|
|
198
1021
|
|
|
@@ -217,18 +1040,24 @@ class ModifyInstanceResponse extends AbstractModel {
|
|
|
217
1040
|
}
|
|
218
1041
|
|
|
219
1042
|
/**
|
|
220
|
-
*
|
|
1043
|
+
* DescribeReplicationInstanceCreateTasks request structure.
|
|
221
1044
|
* @class
|
|
222
1045
|
*/
|
|
223
|
-
class
|
|
1046
|
+
class DescribeReplicationInstanceCreateTasksRequest extends AbstractModel {
|
|
224
1047
|
constructor(){
|
|
225
1048
|
super();
|
|
226
1049
|
|
|
227
1050
|
/**
|
|
228
|
-
*
|
|
1051
|
+
* Replication instance ID
|
|
229
1052
|
* @type {string || null}
|
|
230
1053
|
*/
|
|
231
|
-
this.
|
|
1054
|
+
this.ReplicationRegistryId = null;
|
|
1055
|
+
|
|
1056
|
+
/**
|
|
1057
|
+
* Region ID of the replication instance
|
|
1058
|
+
* @type {number || null}
|
|
1059
|
+
*/
|
|
1060
|
+
this.ReplicationRegionId = null;
|
|
232
1061
|
|
|
233
1062
|
}
|
|
234
1063
|
|
|
@@ -239,24 +1068,85 @@ class CreateImmutableTagRulesResponse extends AbstractModel {
|
|
|
239
1068
|
if (!params) {
|
|
240
1069
|
return;
|
|
241
1070
|
}
|
|
242
|
-
this.
|
|
1071
|
+
this.ReplicationRegistryId = 'ReplicationRegistryId' in params ? params.ReplicationRegistryId : null;
|
|
1072
|
+
this.ReplicationRegionId = 'ReplicationRegionId' in params ? params.ReplicationRegionId : null;
|
|
243
1073
|
|
|
244
1074
|
}
|
|
245
1075
|
}
|
|
246
1076
|
|
|
247
1077
|
/**
|
|
248
|
-
*
|
|
1078
|
+
* CreateImmutableTagRules request structure.
|
|
249
1079
|
* @class
|
|
250
1080
|
*/
|
|
251
|
-
class
|
|
1081
|
+
class CreateImmutableTagRulesRequest extends AbstractModel {
|
|
1082
|
+
constructor(){
|
|
1083
|
+
super();
|
|
1084
|
+
|
|
1085
|
+
/**
|
|
1086
|
+
* Instance ID
|
|
1087
|
+
* @type {string || null}
|
|
1088
|
+
*/
|
|
1089
|
+
this.RegistryId = null;
|
|
1090
|
+
|
|
1091
|
+
/**
|
|
1092
|
+
* Namespace
|
|
1093
|
+
* @type {string || null}
|
|
1094
|
+
*/
|
|
1095
|
+
this.NamespaceName = null;
|
|
1096
|
+
|
|
1097
|
+
/**
|
|
1098
|
+
* Rule
|
|
1099
|
+
* @type {ImmutableTagRule || null}
|
|
1100
|
+
*/
|
|
1101
|
+
this.Rule = null;
|
|
1102
|
+
|
|
1103
|
+
}
|
|
1104
|
+
|
|
1105
|
+
/**
|
|
1106
|
+
* @private
|
|
1107
|
+
*/
|
|
1108
|
+
deserialize(params) {
|
|
1109
|
+
if (!params) {
|
|
1110
|
+
return;
|
|
1111
|
+
}
|
|
1112
|
+
this.RegistryId = 'RegistryId' in params ? params.RegistryId : null;
|
|
1113
|
+
this.NamespaceName = 'NamespaceName' in params ? params.NamespaceName : null;
|
|
1114
|
+
|
|
1115
|
+
if (params.Rule) {
|
|
1116
|
+
let obj = new ImmutableTagRule();
|
|
1117
|
+
obj.deserialize(params.Rule)
|
|
1118
|
+
this.Rule = obj;
|
|
1119
|
+
}
|
|
1120
|
+
|
|
1121
|
+
}
|
|
1122
|
+
}
|
|
1123
|
+
|
|
1124
|
+
/**
|
|
1125
|
+
* DescribeReplicationInstanceSyncStatus response structure.
|
|
1126
|
+
* @class
|
|
1127
|
+
*/
|
|
1128
|
+
class DescribeReplicationInstanceSyncStatusResponse extends AbstractModel {
|
|
252
1129
|
constructor(){
|
|
253
1130
|
super();
|
|
254
1131
|
|
|
255
1132
|
/**
|
|
256
|
-
*
|
|
1133
|
+
* Synchronization status
|
|
1134
|
+
* @type {string || null}
|
|
1135
|
+
*/
|
|
1136
|
+
this.ReplicationStatus = null;
|
|
1137
|
+
|
|
1138
|
+
/**
|
|
1139
|
+
* Synchronization completion time
|
|
257
1140
|
* @type {string || null}
|
|
258
1141
|
*/
|
|
259
|
-
this.
|
|
1142
|
+
this.ReplicationTime = null;
|
|
1143
|
+
|
|
1144
|
+
/**
|
|
1145
|
+
* Synchronization log
|
|
1146
|
+
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
1147
|
+
* @type {ReplicationLog || null}
|
|
1148
|
+
*/
|
|
1149
|
+
this.ReplicationLog = null;
|
|
260
1150
|
|
|
261
1151
|
/**
|
|
262
1152
|
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
@@ -273,7 +1163,14 @@ class DeleteMultipleSecurityPolicyResponse extends AbstractModel {
|
|
|
273
1163
|
if (!params) {
|
|
274
1164
|
return;
|
|
275
1165
|
}
|
|
276
|
-
this.
|
|
1166
|
+
this.ReplicationStatus = 'ReplicationStatus' in params ? params.ReplicationStatus : null;
|
|
1167
|
+
this.ReplicationTime = 'ReplicationTime' in params ? params.ReplicationTime : null;
|
|
1168
|
+
|
|
1169
|
+
if (params.ReplicationLog) {
|
|
1170
|
+
let obj = new ReplicationLog();
|
|
1171
|
+
obj.deserialize(params.ReplicationLog)
|
|
1172
|
+
this.ReplicationLog = obj;
|
|
1173
|
+
}
|
|
277
1174
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
278
1175
|
|
|
279
1176
|
}
|
|
@@ -393,46 +1290,32 @@ class DeleteMultipleSecurityPolicyRequest extends AbstractModel {
|
|
|
393
1290
|
}
|
|
394
1291
|
|
|
395
1292
|
/**
|
|
396
|
-
*
|
|
1293
|
+
* DescribeImmutableTagRules response structure.
|
|
397
1294
|
* @class
|
|
398
1295
|
*/
|
|
399
|
-
class
|
|
1296
|
+
class DescribeImmutableTagRulesResponse extends AbstractModel {
|
|
400
1297
|
constructor(){
|
|
401
1298
|
super();
|
|
402
1299
|
|
|
403
1300
|
/**
|
|
404
|
-
*
|
|
405
|
-
|
|
1301
|
+
* Rule list
|
|
1302
|
+
Note: this field may return `null`, indicating that no valid value can be obtained.
|
|
1303
|
+
* @type {Array.<ImmutableTagRule> || null}
|
|
406
1304
|
*/
|
|
407
|
-
this.
|
|
408
|
-
|
|
409
|
-
}
|
|
410
|
-
|
|
411
|
-
/**
|
|
412
|
-
* @private
|
|
413
|
-
*/
|
|
414
|
-
deserialize(params) {
|
|
415
|
-
if (!params) {
|
|
416
|
-
return;
|
|
417
|
-
}
|
|
418
|
-
this.RegistryId = 'RegistryId' in params ? params.RegistryId : null;
|
|
419
|
-
|
|
420
|
-
}
|
|
421
|
-
}
|
|
1305
|
+
this.Rules = null;
|
|
422
1306
|
|
|
423
|
-
/**
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
super();
|
|
1307
|
+
/**
|
|
1308
|
+
* Namespace with no rules created
|
|
1309
|
+
Note: this field may return `null`, indicating that no valid value can be obtained.
|
|
1310
|
+
* @type {Array.<string> || null}
|
|
1311
|
+
*/
|
|
1312
|
+
this.EmptyNs = null;
|
|
430
1313
|
|
|
431
1314
|
/**
|
|
432
|
-
*
|
|
433
|
-
* @type {
|
|
1315
|
+
* Total rules
|
|
1316
|
+
* @type {number || null}
|
|
434
1317
|
*/
|
|
435
|
-
this.
|
|
1318
|
+
this.Total = null;
|
|
436
1319
|
|
|
437
1320
|
/**
|
|
438
1321
|
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
@@ -449,37 +1332,47 @@ class CreateMultipleSecurityPolicyResponse extends AbstractModel {
|
|
|
449
1332
|
if (!params) {
|
|
450
1333
|
return;
|
|
451
1334
|
}
|
|
452
|
-
|
|
1335
|
+
|
|
1336
|
+
if (params.Rules) {
|
|
1337
|
+
this.Rules = new Array();
|
|
1338
|
+
for (let z in params.Rules) {
|
|
1339
|
+
let obj = new ImmutableTagRule();
|
|
1340
|
+
obj.deserialize(params.Rules[z]);
|
|
1341
|
+
this.Rules.push(obj);
|
|
1342
|
+
}
|
|
1343
|
+
}
|
|
1344
|
+
this.EmptyNs = 'EmptyNs' in params ? params.EmptyNs : null;
|
|
1345
|
+
this.Total = 'Total' in params ? params.Total : null;
|
|
453
1346
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
454
1347
|
|
|
455
1348
|
}
|
|
456
1349
|
}
|
|
457
1350
|
|
|
458
1351
|
/**
|
|
459
|
-
*
|
|
1352
|
+
* Parameters for cross-account synchronization
|
|
460
1353
|
* @class
|
|
461
1354
|
*/
|
|
462
|
-
class
|
|
1355
|
+
class PeerReplicationOption extends AbstractModel {
|
|
463
1356
|
constructor(){
|
|
464
1357
|
super();
|
|
465
1358
|
|
|
466
1359
|
/**
|
|
467
|
-
*
|
|
1360
|
+
* UIN of the destination instance
|
|
468
1361
|
* @type {string || null}
|
|
469
1362
|
*/
|
|
470
|
-
this.
|
|
1363
|
+
this.PeerRegistryUin = null;
|
|
471
1364
|
|
|
472
1365
|
/**
|
|
473
|
-
*
|
|
1366
|
+
* Permanent access Token for the destination instance
|
|
474
1367
|
* @type {string || null}
|
|
475
1368
|
*/
|
|
476
|
-
this.
|
|
1369
|
+
this.PeerRegistryToken = null;
|
|
477
1370
|
|
|
478
1371
|
/**
|
|
479
|
-
*
|
|
480
|
-
* @type {
|
|
1372
|
+
* Whether to enable cross-account synchronization
|
|
1373
|
+
* @type {boolean || null}
|
|
481
1374
|
*/
|
|
482
|
-
this.
|
|
1375
|
+
this.EnablePeerReplication = null;
|
|
483
1376
|
|
|
484
1377
|
}
|
|
485
1378
|
|
|
@@ -490,110 +1383,62 @@ class DeleteImmutableTagRulesRequest extends AbstractModel {
|
|
|
490
1383
|
if (!params) {
|
|
491
1384
|
return;
|
|
492
1385
|
}
|
|
493
|
-
this.
|
|
494
|
-
this.
|
|
495
|
-
this.
|
|
1386
|
+
this.PeerRegistryUin = 'PeerRegistryUin' in params ? params.PeerRegistryUin : null;
|
|
1387
|
+
this.PeerRegistryToken = 'PeerRegistryToken' in params ? params.PeerRegistryToken : null;
|
|
1388
|
+
this.EnablePeerReplication = 'EnablePeerReplication' in params ? params.EnablePeerReplication : null;
|
|
496
1389
|
|
|
497
1390
|
}
|
|
498
1391
|
}
|
|
499
1392
|
|
|
500
1393
|
/**
|
|
501
|
-
*
|
|
1394
|
+
* Synchronization log
|
|
502
1395
|
* @class
|
|
503
1396
|
*/
|
|
504
|
-
class
|
|
1397
|
+
class ReplicationLog extends AbstractModel {
|
|
505
1398
|
constructor(){
|
|
506
1399
|
super();
|
|
507
1400
|
|
|
508
1401
|
/**
|
|
509
|
-
*
|
|
510
|
-
|
|
511
|
-
*/
|
|
512
|
-
this.PolicyIndex = null;
|
|
513
|
-
|
|
514
|
-
/**
|
|
515
|
-
* Remarks
|
|
1402
|
+
* Resource type
|
|
1403
|
+
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
516
1404
|
* @type {string || null}
|
|
517
1405
|
*/
|
|
518
|
-
this.
|
|
1406
|
+
this.ResourceType = null;
|
|
519
1407
|
|
|
520
1408
|
/**
|
|
521
|
-
*
|
|
1409
|
+
* Path of the source resource
|
|
1410
|
+
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
522
1411
|
* @type {string || null}
|
|
523
1412
|
*/
|
|
524
|
-
this.
|
|
1413
|
+
this.Source = null;
|
|
525
1414
|
|
|
526
1415
|
/**
|
|
527
|
-
*
|
|
1416
|
+
* Path of the destination resource
|
|
1417
|
+
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
528
1418
|
* @type {string || null}
|
|
529
1419
|
*/
|
|
530
|
-
this.
|
|
531
|
-
|
|
532
|
-
}
|
|
533
|
-
|
|
534
|
-
/**
|
|
535
|
-
* @private
|
|
536
|
-
*/
|
|
537
|
-
deserialize(params) {
|
|
538
|
-
if (!params) {
|
|
539
|
-
return;
|
|
540
|
-
}
|
|
541
|
-
this.PolicyIndex = 'PolicyIndex' in params ? params.PolicyIndex : null;
|
|
542
|
-
this.Description = 'Description' in params ? params.Description : null;
|
|
543
|
-
this.CidrBlock = 'CidrBlock' in params ? params.CidrBlock : null;
|
|
544
|
-
this.PolicyVersion = 'PolicyVersion' in params ? params.PolicyVersion : null;
|
|
545
|
-
|
|
546
|
-
}
|
|
547
|
-
}
|
|
548
|
-
|
|
549
|
-
/**
|
|
550
|
-
* ModifyInstance request structure.
|
|
551
|
-
* @class
|
|
552
|
-
*/
|
|
553
|
-
class ModifyInstanceRequest extends AbstractModel {
|
|
554
|
-
constructor(){
|
|
555
|
-
super();
|
|
1420
|
+
this.Destination = null;
|
|
556
1421
|
|
|
557
1422
|
/**
|
|
558
|
-
*
|
|
1423
|
+
* Synchronization status
|
|
1424
|
+
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
559
1425
|
* @type {string || null}
|
|
560
1426
|
*/
|
|
561
|
-
this.
|
|
1427
|
+
this.Status = null;
|
|
562
1428
|
|
|
563
1429
|
/**
|
|
564
|
-
*
|
|
1430
|
+
* Start time
|
|
1431
|
+
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
565
1432
|
* @type {string || null}
|
|
566
1433
|
*/
|
|
567
|
-
this.
|
|
568
|
-
|
|
569
|
-
}
|
|
570
|
-
|
|
571
|
-
/**
|
|
572
|
-
* @private
|
|
573
|
-
*/
|
|
574
|
-
deserialize(params) {
|
|
575
|
-
if (!params) {
|
|
576
|
-
return;
|
|
577
|
-
}
|
|
578
|
-
this.RegistryId = 'RegistryId' in params ? params.RegistryId : null;
|
|
579
|
-
this.RegistryType = 'RegistryType' in params ? params.RegistryType : null;
|
|
580
|
-
|
|
581
|
-
}
|
|
582
|
-
}
|
|
583
|
-
|
|
584
|
-
/**
|
|
585
|
-
* DescribeImmutableTagRules request structure.
|
|
586
|
-
* @class
|
|
587
|
-
*/
|
|
588
|
-
class DescribeImmutableTagRulesRequest extends AbstractModel {
|
|
589
|
-
constructor(){
|
|
590
|
-
super();
|
|
1434
|
+
this.StartTime = null;
|
|
591
1435
|
|
|
592
1436
|
/**
|
|
593
|
-
*
|
|
1437
|
+
* End time
|
|
1438
|
+
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
594
1439
|
* @type {string || null}
|
|
595
1440
|
*/
|
|
596
|
-
this.
|
|
1441
|
+
this.EndTime = null;
|
|
597
1442
|
|
|
598
1443
|
}
|
|
599
1444
|
|
|
@@ -604,78 +1449,47 @@ class DescribeImmutableTagRulesRequest extends AbstractModel {
|
|
|
604
1449
|
if (!params) {
|
|
605
1450
|
return;
|
|
606
1451
|
}
|
|
607
|
-
this.
|
|
1452
|
+
this.ResourceType = 'ResourceType' in params ? params.ResourceType : null;
|
|
1453
|
+
this.Source = 'Source' in params ? params.Source : null;
|
|
1454
|
+
this.Destination = 'Destination' in params ? params.Destination : null;
|
|
1455
|
+
this.Status = 'Status' in params ? params.Status : null;
|
|
1456
|
+
this.StartTime = 'StartTime' in params ? params.StartTime : null;
|
|
1457
|
+
this.EndTime = 'EndTime' in params ? params.EndTime : null;
|
|
608
1458
|
|
|
609
1459
|
}
|
|
610
1460
|
}
|
|
611
1461
|
|
|
612
1462
|
/**
|
|
613
|
-
*
|
|
1463
|
+
* Security policy
|
|
614
1464
|
* @class
|
|
615
1465
|
*/
|
|
616
|
-
class
|
|
1466
|
+
class SecurityPolicy extends AbstractModel {
|
|
617
1467
|
constructor(){
|
|
618
1468
|
super();
|
|
619
1469
|
|
|
620
1470
|
/**
|
|
621
|
-
*
|
|
622
|
-
* @type {
|
|
1471
|
+
* Policy index
|
|
1472
|
+
* @type {number || null}
|
|
623
1473
|
*/
|
|
624
|
-
this.
|
|
1474
|
+
this.PolicyIndex = null;
|
|
625
1475
|
|
|
626
1476
|
/**
|
|
627
|
-
*
|
|
1477
|
+
* Remarks
|
|
628
1478
|
* @type {string || null}
|
|
629
1479
|
*/
|
|
630
|
-
this.
|
|
631
|
-
|
|
632
|
-
/**
|
|
633
|
-
* Rule ID
|
|
634
|
-
* @type {number || null}
|
|
635
|
-
*/
|
|
636
|
-
this.RuleId = null;
|
|
1480
|
+
this.Description = null;
|
|
637
1481
|
|
|
638
1482
|
/**
|
|
639
|
-
*
|
|
640
|
-
* @type {
|
|
1483
|
+
* The public network IP address of the access source
|
|
1484
|
+
* @type {string || null}
|
|
641
1485
|
*/
|
|
642
|
-
this.
|
|
643
|
-
|
|
644
|
-
}
|
|
645
|
-
|
|
646
|
-
/**
|
|
647
|
-
* @private
|
|
648
|
-
*/
|
|
649
|
-
deserialize(params) {
|
|
650
|
-
if (!params) {
|
|
651
|
-
return;
|
|
652
|
-
}
|
|
653
|
-
this.RegistryId = 'RegistryId' in params ? params.RegistryId : null;
|
|
654
|
-
this.NamespaceName = 'NamespaceName' in params ? params.NamespaceName : null;
|
|
655
|
-
this.RuleId = 'RuleId' in params ? params.RuleId : null;
|
|
656
|
-
|
|
657
|
-
if (params.Rule) {
|
|
658
|
-
let obj = new ImmutableTagRule();
|
|
659
|
-
obj.deserialize(params.Rule)
|
|
660
|
-
this.Rule = obj;
|
|
661
|
-
}
|
|
662
|
-
|
|
663
|
-
}
|
|
664
|
-
}
|
|
665
|
-
|
|
666
|
-
/**
|
|
667
|
-
* ModifyImmutableTagRules response structure.
|
|
668
|
-
* @class
|
|
669
|
-
*/
|
|
670
|
-
class ModifyImmutableTagRulesResponse extends AbstractModel {
|
|
671
|
-
constructor(){
|
|
672
|
-
super();
|
|
1486
|
+
this.CidrBlock = null;
|
|
673
1487
|
|
|
674
1488
|
/**
|
|
675
|
-
* The
|
|
1489
|
+
* The version of the security policy
|
|
676
1490
|
* @type {string || null}
|
|
677
1491
|
*/
|
|
678
|
-
this.
|
|
1492
|
+
this.PolicyVersion = null;
|
|
679
1493
|
|
|
680
1494
|
}
|
|
681
1495
|
|
|
@@ -686,36 +1500,33 @@ class ModifyImmutableTagRulesResponse extends AbstractModel {
|
|
|
686
1500
|
if (!params) {
|
|
687
1501
|
return;
|
|
688
1502
|
}
|
|
689
|
-
this.
|
|
1503
|
+
this.PolicyIndex = 'PolicyIndex' in params ? params.PolicyIndex : null;
|
|
1504
|
+
this.Description = 'Description' in params ? params.Description : null;
|
|
1505
|
+
this.CidrBlock = 'CidrBlock' in params ? params.CidrBlock : null;
|
|
1506
|
+
this.PolicyVersion = 'PolicyVersion' in params ? params.PolicyVersion : null;
|
|
690
1507
|
|
|
691
1508
|
}
|
|
692
1509
|
}
|
|
693
1510
|
|
|
694
1511
|
/**
|
|
695
|
-
*
|
|
1512
|
+
* Synchronization rule filter
|
|
696
1513
|
* @class
|
|
697
1514
|
*/
|
|
698
|
-
class
|
|
1515
|
+
class ReplicationFilter extends AbstractModel {
|
|
699
1516
|
constructor(){
|
|
700
1517
|
super();
|
|
701
1518
|
|
|
702
1519
|
/**
|
|
703
|
-
*
|
|
1520
|
+
* Type (`name`, `tag` and `resource`)
|
|
704
1521
|
* @type {string || null}
|
|
705
1522
|
*/
|
|
706
|
-
this.
|
|
1523
|
+
this.Type = null;
|
|
707
1524
|
|
|
708
1525
|
/**
|
|
709
|
-
*
|
|
1526
|
+
* It is left blank by default
|
|
710
1527
|
* @type {string || null}
|
|
711
1528
|
*/
|
|
712
|
-
this.
|
|
713
|
-
|
|
714
|
-
/**
|
|
715
|
-
* Rule
|
|
716
|
-
* @type {ImmutableTagRule || null}
|
|
717
|
-
*/
|
|
718
|
-
this.Rule = null;
|
|
1529
|
+
this.Value = null;
|
|
719
1530
|
|
|
720
1531
|
}
|
|
721
1532
|
|
|
@@ -726,36 +1537,46 @@ class CreateImmutableTagRulesRequest extends AbstractModel {
|
|
|
726
1537
|
if (!params) {
|
|
727
1538
|
return;
|
|
728
1539
|
}
|
|
729
|
-
this.
|
|
730
|
-
this.
|
|
731
|
-
|
|
732
|
-
if (params.Rule) {
|
|
733
|
-
let obj = new ImmutableTagRule();
|
|
734
|
-
obj.deserialize(params.Rule)
|
|
735
|
-
this.Rule = obj;
|
|
736
|
-
}
|
|
1540
|
+
this.Type = 'Type' in params ? params.Type : null;
|
|
1541
|
+
this.Value = 'Value' in params ? params.Value : null;
|
|
737
1542
|
|
|
738
1543
|
}
|
|
739
1544
|
}
|
|
740
1545
|
|
|
741
1546
|
module.exports = {
|
|
742
1547
|
DeleteImmutableTagRulesResponse: DeleteImmutableTagRulesResponse,
|
|
743
|
-
DescribeImmutableTagRulesResponse: DescribeImmutableTagRulesResponse,
|
|
744
|
-
CheckInstanceResponse: CheckInstanceResponse,
|
|
745
|
-
CreateMultipleSecurityPolicyRequest: CreateMultipleSecurityPolicyRequest,
|
|
746
1548
|
ModifyInstanceResponse: ModifyInstanceResponse,
|
|
747
|
-
|
|
1549
|
+
TaskDetail: TaskDetail,
|
|
1550
|
+
ReplicationRegistry: ReplicationRegistry,
|
|
1551
|
+
DescribeReplicationInstanceCreateTasksResponse: DescribeReplicationInstanceCreateTasksResponse,
|
|
748
1552
|
DeleteMultipleSecurityPolicyResponse: DeleteMultipleSecurityPolicyResponse,
|
|
749
|
-
|
|
750
|
-
|
|
1553
|
+
DescribeReplicationInstancesRequest: DescribeReplicationInstancesRequest,
|
|
1554
|
+
ManageReplicationRequest: ManageReplicationRequest,
|
|
1555
|
+
ModifyImmutableTagRulesRequest: ModifyImmutableTagRulesRequest,
|
|
1556
|
+
CreateReplicationInstanceResponse: CreateReplicationInstanceResponse,
|
|
1557
|
+
ReplicationRule: ReplicationRule,
|
|
1558
|
+
CreateMultipleSecurityPolicyRequest: CreateMultipleSecurityPolicyRequest,
|
|
1559
|
+
DescribeReplicationInstancesResponse: DescribeReplicationInstancesResponse,
|
|
1560
|
+
ModifyInstanceRequest: ModifyInstanceRequest,
|
|
751
1561
|
CheckInstanceRequest: CheckInstanceRequest,
|
|
1562
|
+
DescribeReplicationInstanceSyncStatusRequest: DescribeReplicationInstanceSyncStatusRequest,
|
|
1563
|
+
ModifyImmutableTagRulesResponse: ModifyImmutableTagRulesResponse,
|
|
1564
|
+
CreateReplicationInstanceRequest: CreateReplicationInstanceRequest,
|
|
1565
|
+
CheckInstanceResponse: CheckInstanceResponse,
|
|
1566
|
+
CreateImmutableTagRulesResponse: CreateImmutableTagRulesResponse,
|
|
1567
|
+
DescribeImmutableTagRulesRequest: DescribeImmutableTagRulesRequest,
|
|
752
1568
|
CreateMultipleSecurityPolicyResponse: CreateMultipleSecurityPolicyResponse,
|
|
753
1569
|
DeleteImmutableTagRulesRequest: DeleteImmutableTagRulesRequest,
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
DescribeImmutableTagRulesRequest: DescribeImmutableTagRulesRequest,
|
|
757
|
-
ModifyImmutableTagRulesRequest: ModifyImmutableTagRulesRequest,
|
|
758
|
-
ModifyImmutableTagRulesResponse: ModifyImmutableTagRulesResponse,
|
|
1570
|
+
ManageReplicationResponse: ManageReplicationResponse,
|
|
1571
|
+
DescribeReplicationInstanceCreateTasksRequest: DescribeReplicationInstanceCreateTasksRequest,
|
|
759
1572
|
CreateImmutableTagRulesRequest: CreateImmutableTagRulesRequest,
|
|
1573
|
+
DescribeReplicationInstanceSyncStatusResponse: DescribeReplicationInstanceSyncStatusResponse,
|
|
1574
|
+
ImmutableTagRule: ImmutableTagRule,
|
|
1575
|
+
DeleteMultipleSecurityPolicyRequest: DeleteMultipleSecurityPolicyRequest,
|
|
1576
|
+
DescribeImmutableTagRulesResponse: DescribeImmutableTagRulesResponse,
|
|
1577
|
+
PeerReplicationOption: PeerReplicationOption,
|
|
1578
|
+
ReplicationLog: ReplicationLog,
|
|
1579
|
+
SecurityPolicy: SecurityPolicy,
|
|
1580
|
+
ReplicationFilter: ReplicationFilter,
|
|
760
1581
|
|
|
761
1582
|
}
|