tencentcloud-sdk-nodejs-intl-en 3.0.326 → 3.0.330
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 +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/mdl/v20200326/mdl_client.js +2 -0
- package/tencentcloud/mdl/v20200326/models.js +103 -0
- package/tencentcloud/ocr/v20181119/models.js +17 -3
- package/tencentcloud/postgres/v20170312/models.js +131 -3
- package/tencentcloud/postgres/v20170312/postgres_client.js +14 -1
- package/tencentcloud/redis/v20180412/models.js +29 -19
package/package.json
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const sdkVersion = "3.0.
|
|
1
|
+
const sdkVersion = "3.0.330";
|
|
2
2
|
module.exports = sdkVersion
|
|
@@ -65,6 +65,7 @@ const StreamPackageSettingsInfo = models.StreamPackageSettingsInfo;
|
|
|
65
65
|
const DescribeStreamLiveChannelsResponse = models.DescribeStreamLiveChannelsResponse;
|
|
66
66
|
const PlanReq = models.PlanReq;
|
|
67
67
|
const DescribeStreamLiveRegionsResponse = models.DescribeStreamLiveRegionsResponse;
|
|
68
|
+
const TimedRecordSettings = models.TimedRecordSettings;
|
|
68
69
|
const StreamLiveRegionInfo = models.StreamLiveRegionInfo;
|
|
69
70
|
const DescribeStreamLiveChannelRequest = models.DescribeStreamLiveChannelRequest;
|
|
70
71
|
const DescribeStreamLivePlansRequest = models.DescribeStreamLivePlansRequest;
|
|
@@ -89,6 +90,7 @@ const StopStreamLiveChannelResponse = models.StopStreamLiveChannelResponse;
|
|
|
89
90
|
const StartStreamLiveChannelResponse = models.StartStreamLiveChannelResponse;
|
|
90
91
|
const StreamLiveOutputGroupsInfo = models.StreamLiveOutputGroupsInfo;
|
|
91
92
|
const ChannelOutputsStatistics = models.ChannelOutputsStatistics;
|
|
93
|
+
const PlanSettings = models.PlanSettings;
|
|
92
94
|
const DescribeStreamLiveInputSecurityGroupsResponse = models.DescribeStreamLiveInputSecurityGroupsResponse;
|
|
93
95
|
const DeleteStreamLiveInputResponse = models.DeleteStreamLiveInputResponse;
|
|
94
96
|
const StartStreamLiveChannelRequest = models.StartStreamLiveChannelRequest;
|
|
@@ -2320,6 +2320,36 @@ class DescribeStreamLiveRegionsResponse extends AbstractModel {
|
|
|
2320
2320
|
}
|
|
2321
2321
|
}
|
|
2322
2322
|
|
|
2323
|
+
/**
|
|
2324
|
+
* Timed recording settings
|
|
2325
|
+
* @class
|
|
2326
|
+
*/
|
|
2327
|
+
class TimedRecordSettings extends AbstractModel {
|
|
2328
|
+
constructor(){
|
|
2329
|
+
super();
|
|
2330
|
+
|
|
2331
|
+
/**
|
|
2332
|
+
* Whether to automatically delete finished recording events. Valid values: `CLOSE`, `OPEN`. If this parameter is left empty, `CLOSE` will be used.
|
|
2333
|
+
If it is set to `OPEN`, a recording event will be deleted 7 days after it is finished.
|
|
2334
|
+
Note: This field may return `null`, indicating that no valid value was found.
|
|
2335
|
+
* @type {string || null}
|
|
2336
|
+
*/
|
|
2337
|
+
this.AutoClear = null;
|
|
2338
|
+
|
|
2339
|
+
}
|
|
2340
|
+
|
|
2341
|
+
/**
|
|
2342
|
+
* @private
|
|
2343
|
+
*/
|
|
2344
|
+
deserialize(params) {
|
|
2345
|
+
if (!params) {
|
|
2346
|
+
return;
|
|
2347
|
+
}
|
|
2348
|
+
this.AutoClear = 'AutoClear' in params ? params.AutoClear : null;
|
|
2349
|
+
|
|
2350
|
+
}
|
|
2351
|
+
}
|
|
2352
|
+
|
|
2323
2353
|
/**
|
|
2324
2354
|
* StreamLive region information
|
|
2325
2355
|
* @class
|
|
@@ -2456,6 +2486,12 @@ class CreateStreamLiveChannelRequest extends AbstractModel {
|
|
|
2456
2486
|
*/
|
|
2457
2487
|
this.AVTemplates = null;
|
|
2458
2488
|
|
|
2489
|
+
/**
|
|
2490
|
+
* Event settings
|
|
2491
|
+
* @type {PlanSettings || null}
|
|
2492
|
+
*/
|
|
2493
|
+
this.PlanSettings = null;
|
|
2494
|
+
|
|
2459
2495
|
}
|
|
2460
2496
|
|
|
2461
2497
|
/**
|
|
@@ -2512,6 +2548,12 @@ class CreateStreamLiveChannelRequest extends AbstractModel {
|
|
|
2512
2548
|
}
|
|
2513
2549
|
}
|
|
2514
2550
|
|
|
2551
|
+
if (params.PlanSettings) {
|
|
2552
|
+
let obj = new PlanSettings();
|
|
2553
|
+
obj.deserialize(params.PlanSettings)
|
|
2554
|
+
this.PlanSettings = obj;
|
|
2555
|
+
}
|
|
2556
|
+
|
|
2515
2557
|
}
|
|
2516
2558
|
}
|
|
2517
2559
|
|
|
@@ -3422,6 +3464,40 @@ class ChannelOutputsStatistics extends AbstractModel {
|
|
|
3422
3464
|
}
|
|
3423
3465
|
}
|
|
3424
3466
|
|
|
3467
|
+
/**
|
|
3468
|
+
* Event settings
|
|
3469
|
+
* @class
|
|
3470
|
+
*/
|
|
3471
|
+
class PlanSettings extends AbstractModel {
|
|
3472
|
+
constructor(){
|
|
3473
|
+
super();
|
|
3474
|
+
|
|
3475
|
+
/**
|
|
3476
|
+
* Timed recording settings
|
|
3477
|
+
Note: This field may return `null`, indicating that no valid value was found.
|
|
3478
|
+
* @type {TimedRecordSettings || null}
|
|
3479
|
+
*/
|
|
3480
|
+
this.TimedRecordSettings = null;
|
|
3481
|
+
|
|
3482
|
+
}
|
|
3483
|
+
|
|
3484
|
+
/**
|
|
3485
|
+
* @private
|
|
3486
|
+
*/
|
|
3487
|
+
deserialize(params) {
|
|
3488
|
+
if (!params) {
|
|
3489
|
+
return;
|
|
3490
|
+
}
|
|
3491
|
+
|
|
3492
|
+
if (params.TimedRecordSettings) {
|
|
3493
|
+
let obj = new TimedRecordSettings();
|
|
3494
|
+
obj.deserialize(params.TimedRecordSettings)
|
|
3495
|
+
this.TimedRecordSettings = obj;
|
|
3496
|
+
}
|
|
3497
|
+
|
|
3498
|
+
}
|
|
3499
|
+
}
|
|
3500
|
+
|
|
3425
3501
|
/**
|
|
3426
3502
|
* DescribeStreamLiveInputSecurityGroups response structure.
|
|
3427
3503
|
* @class
|
|
@@ -4231,6 +4307,12 @@ class ModifyStreamLiveChannelRequest extends AbstractModel {
|
|
|
4231
4307
|
*/
|
|
4232
4308
|
this.AVTemplates = null;
|
|
4233
4309
|
|
|
4310
|
+
/**
|
|
4311
|
+
* Event settings
|
|
4312
|
+
* @type {PlanSettings || null}
|
|
4313
|
+
*/
|
|
4314
|
+
this.PlanSettings = null;
|
|
4315
|
+
|
|
4234
4316
|
}
|
|
4235
4317
|
|
|
4236
4318
|
/**
|
|
@@ -4288,6 +4370,12 @@ class ModifyStreamLiveChannelRequest extends AbstractModel {
|
|
|
4288
4370
|
}
|
|
4289
4371
|
}
|
|
4290
4372
|
|
|
4373
|
+
if (params.PlanSettings) {
|
|
4374
|
+
let obj = new PlanSettings();
|
|
4375
|
+
obj.deserialize(params.PlanSettings)
|
|
4376
|
+
this.PlanSettings = obj;
|
|
4377
|
+
}
|
|
4378
|
+
|
|
4291
4379
|
}
|
|
4292
4380
|
}
|
|
4293
4381
|
|
|
@@ -4418,6 +4506,13 @@ Note: this field may return `null`, indicating that no valid value was found.
|
|
|
4418
4506
|
*/
|
|
4419
4507
|
this.AVTemplates = null;
|
|
4420
4508
|
|
|
4509
|
+
/**
|
|
4510
|
+
* Event settings
|
|
4511
|
+
Note: This field may return `null`, indicating that no valid value was found.
|
|
4512
|
+
* @type {PlanSettings || null}
|
|
4513
|
+
*/
|
|
4514
|
+
this.PlanSettings = null;
|
|
4515
|
+
|
|
4421
4516
|
}
|
|
4422
4517
|
|
|
4423
4518
|
/**
|
|
@@ -4476,6 +4571,12 @@ Note: this field may return `null`, indicating that no valid value was found.
|
|
|
4476
4571
|
}
|
|
4477
4572
|
}
|
|
4478
4573
|
|
|
4574
|
+
if (params.PlanSettings) {
|
|
4575
|
+
let obj = new PlanSettings();
|
|
4576
|
+
obj.deserialize(params.PlanSettings)
|
|
4577
|
+
this.PlanSettings = obj;
|
|
4578
|
+
}
|
|
4579
|
+
|
|
4479
4580
|
}
|
|
4480
4581
|
}
|
|
4481
4582
|
|
|
@@ -4639,6 +4740,7 @@ module.exports = {
|
|
|
4639
4740
|
DescribeStreamLiveChannelsResponse: DescribeStreamLiveChannelsResponse,
|
|
4640
4741
|
PlanReq: PlanReq,
|
|
4641
4742
|
DescribeStreamLiveRegionsResponse: DescribeStreamLiveRegionsResponse,
|
|
4743
|
+
TimedRecordSettings: TimedRecordSettings,
|
|
4642
4744
|
StreamLiveRegionInfo: StreamLiveRegionInfo,
|
|
4643
4745
|
DescribeStreamLiveChannelRequest: DescribeStreamLiveChannelRequest,
|
|
4644
4746
|
DescribeStreamLivePlansRequest: DescribeStreamLivePlansRequest,
|
|
@@ -4663,6 +4765,7 @@ module.exports = {
|
|
|
4663
4765
|
StartStreamLiveChannelResponse: StartStreamLiveChannelResponse,
|
|
4664
4766
|
StreamLiveOutputGroupsInfo: StreamLiveOutputGroupsInfo,
|
|
4665
4767
|
ChannelOutputsStatistics: ChannelOutputsStatistics,
|
|
4768
|
+
PlanSettings: PlanSettings,
|
|
4666
4769
|
DescribeStreamLiveInputSecurityGroupsResponse: DescribeStreamLiveInputSecurityGroupsResponse,
|
|
4667
4770
|
DeleteStreamLiveInputResponse: DeleteStreamLiveInputResponse,
|
|
4668
4771
|
StartStreamLiveChannelRequest: StartStreamLiveChannelRequest,
|
|
@@ -52,6 +52,18 @@ We recommend you store the image in Tencent Cloud, as a Tencent Cloud URL can gu
|
|
|
52
52
|
*/
|
|
53
53
|
this.EnableDetectSplit = null;
|
|
54
54
|
|
|
55
|
+
/**
|
|
56
|
+
* Whether to enable PDF recognition. Default value: `false`. If you enable this feature, both images and PDF files can be recognized.
|
|
57
|
+
* @type {boolean || null}
|
|
58
|
+
*/
|
|
59
|
+
this.IsPdf = null;
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* Number of a PDF page that needs to be recognized. Currently, only one single page can be recognized. This parameter takes effect only if a PDF file is uploaded and `IsPdf` is set to `true`. Default value: `1`
|
|
63
|
+
* @type {number || null}
|
|
64
|
+
*/
|
|
65
|
+
this.PdfPageNumber = null;
|
|
66
|
+
|
|
55
67
|
}
|
|
56
68
|
|
|
57
69
|
/**
|
|
@@ -65,6 +77,8 @@ We recommend you store the image in Tencent Cloud, as a Tencent Cloud URL can gu
|
|
|
65
77
|
this.ImageUrl = 'ImageUrl' in params ? params.ImageUrl : null;
|
|
66
78
|
this.IsWords = 'IsWords' in params ? params.IsWords : null;
|
|
67
79
|
this.EnableDetectSplit = 'EnableDetectSplit' in params ? params.EnableDetectSplit : null;
|
|
80
|
+
this.IsPdf = 'IsPdf' in params ? params.IsPdf : null;
|
|
81
|
+
this.PdfPageNumber = 'PdfPageNumber' in params ? params.PdfPageNumber : null;
|
|
68
82
|
|
|
69
83
|
}
|
|
70
84
|
}
|
|
@@ -574,9 +588,9 @@ class HKIDCardOCRRequest extends AbstractModel {
|
|
|
574
588
|
this.ReturnHeadImage = null;
|
|
575
589
|
|
|
576
590
|
/**
|
|
577
|
-
* Base64
|
|
578
|
-
Supported image formats: PNG, JPG, JPEG. GIF is
|
|
579
|
-
Supported image size:
|
|
591
|
+
* Base64 string of the image
|
|
592
|
+
Supported image formats: PNG, JPG, JPEG. GIF is not supported yet.
|
|
593
|
+
Supported image size: The downloaded image cannot exceed 7 MB after being Base64-encoded, and it cannot take longer than 3 seconds to download the image.
|
|
580
594
|
* @type {string || null}
|
|
581
595
|
*/
|
|
582
596
|
this.ImageBase64 = null;
|
|
@@ -2030,6 +2030,90 @@ db-tag-key: filter by tag key (in string format)
|
|
|
2030
2030
|
}
|
|
2031
2031
|
}
|
|
2032
2032
|
|
|
2033
|
+
/**
|
|
2034
|
+
* ModifyDBInstanceSpec request structure.
|
|
2035
|
+
* @class
|
|
2036
|
+
*/
|
|
2037
|
+
class ModifyDBInstanceSpecRequest extends AbstractModel {
|
|
2038
|
+
constructor(){
|
|
2039
|
+
super();
|
|
2040
|
+
|
|
2041
|
+
/**
|
|
2042
|
+
* Instance ID in the format of postgres-6bwgamo3.
|
|
2043
|
+
* @type {string || null}
|
|
2044
|
+
*/
|
|
2045
|
+
this.DBInstanceId = null;
|
|
2046
|
+
|
|
2047
|
+
/**
|
|
2048
|
+
* Instance memory size in GiB after modification.
|
|
2049
|
+
* @type {number || null}
|
|
2050
|
+
*/
|
|
2051
|
+
this.Memory = null;
|
|
2052
|
+
|
|
2053
|
+
/**
|
|
2054
|
+
* Instance disk size in GiB after modification.
|
|
2055
|
+
* @type {number || null}
|
|
2056
|
+
*/
|
|
2057
|
+
this.Storage = null;
|
|
2058
|
+
|
|
2059
|
+
/**
|
|
2060
|
+
* Whether to automatically use vouchers. Valid values: `1` (yes), `0` (no). Default value: `0`.
|
|
2061
|
+
* @type {number || null}
|
|
2062
|
+
*/
|
|
2063
|
+
this.AutoVoucher = null;
|
|
2064
|
+
|
|
2065
|
+
/**
|
|
2066
|
+
* Voucher ID list. Currently, you can specify only one voucher.
|
|
2067
|
+
* @type {Array.<string> || null}
|
|
2068
|
+
*/
|
|
2069
|
+
this.VoucherIds = null;
|
|
2070
|
+
|
|
2071
|
+
/**
|
|
2072
|
+
* Campaign ID.
|
|
2073
|
+
* @type {number || null}
|
|
2074
|
+
*/
|
|
2075
|
+
this.ActivityId = null;
|
|
2076
|
+
|
|
2077
|
+
/**
|
|
2078
|
+
* Switch time after instance configurations are modified. Valid values: `0` (switch immediately), `1` (switch at a specified time). Default value: `0`.
|
|
2079
|
+
* @type {number || null}
|
|
2080
|
+
*/
|
|
2081
|
+
this.SwitchTag = null;
|
|
2082
|
+
|
|
2083
|
+
/**
|
|
2084
|
+
* The earliest time to start a switch.
|
|
2085
|
+
* @type {string || null}
|
|
2086
|
+
*/
|
|
2087
|
+
this.SwitchStartTime = null;
|
|
2088
|
+
|
|
2089
|
+
/**
|
|
2090
|
+
* The latest time to start a switch.
|
|
2091
|
+
* @type {string || null}
|
|
2092
|
+
*/
|
|
2093
|
+
this.SwitchEndTime = null;
|
|
2094
|
+
|
|
2095
|
+
}
|
|
2096
|
+
|
|
2097
|
+
/**
|
|
2098
|
+
* @private
|
|
2099
|
+
*/
|
|
2100
|
+
deserialize(params) {
|
|
2101
|
+
if (!params) {
|
|
2102
|
+
return;
|
|
2103
|
+
}
|
|
2104
|
+
this.DBInstanceId = 'DBInstanceId' in params ? params.DBInstanceId : null;
|
|
2105
|
+
this.Memory = 'Memory' in params ? params.Memory : null;
|
|
2106
|
+
this.Storage = 'Storage' in params ? params.Storage : null;
|
|
2107
|
+
this.AutoVoucher = 'AutoVoucher' in params ? params.AutoVoucher : null;
|
|
2108
|
+
this.VoucherIds = 'VoucherIds' in params ? params.VoucherIds : null;
|
|
2109
|
+
this.ActivityId = 'ActivityId' in params ? params.ActivityId : null;
|
|
2110
|
+
this.SwitchTag = 'SwitchTag' in params ? params.SwitchTag : null;
|
|
2111
|
+
this.SwitchStartTime = 'SwitchStartTime' in params ? params.SwitchStartTime : null;
|
|
2112
|
+
this.SwitchEndTime = 'SwitchEndTime' in params ? params.SwitchEndTime : null;
|
|
2113
|
+
|
|
2114
|
+
}
|
|
2115
|
+
}
|
|
2116
|
+
|
|
2033
2117
|
/**
|
|
2034
2118
|
* ModifyAccountRemark response structure.
|
|
2035
2119
|
* @class
|
|
@@ -4021,6 +4105,34 @@ class ModifyDBInstanceNameRequest extends AbstractModel {
|
|
|
4021
4105
|
}
|
|
4022
4106
|
}
|
|
4023
4107
|
|
|
4108
|
+
/**
|
|
4109
|
+
* OpenServerlessDBExtranetAccess response structure.
|
|
4110
|
+
* @class
|
|
4111
|
+
*/
|
|
4112
|
+
class OpenServerlessDBExtranetAccessResponse extends AbstractModel {
|
|
4113
|
+
constructor(){
|
|
4114
|
+
super();
|
|
4115
|
+
|
|
4116
|
+
/**
|
|
4117
|
+
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
4118
|
+
* @type {string || null}
|
|
4119
|
+
*/
|
|
4120
|
+
this.RequestId = null;
|
|
4121
|
+
|
|
4122
|
+
}
|
|
4123
|
+
|
|
4124
|
+
/**
|
|
4125
|
+
* @private
|
|
4126
|
+
*/
|
|
4127
|
+
deserialize(params) {
|
|
4128
|
+
if (!params) {
|
|
4129
|
+
return;
|
|
4130
|
+
}
|
|
4131
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
4132
|
+
|
|
4133
|
+
}
|
|
4134
|
+
}
|
|
4135
|
+
|
|
4024
4136
|
/**
|
|
4025
4137
|
* InquiryPriceRenewDBInstance response structure.
|
|
4026
4138
|
* @class
|
|
@@ -6769,13 +6881,25 @@ class DescribeDBInstanceAttributeResponse extends AbstractModel {
|
|
|
6769
6881
|
}
|
|
6770
6882
|
|
|
6771
6883
|
/**
|
|
6772
|
-
*
|
|
6884
|
+
* ModifyDBInstanceSpec response structure.
|
|
6773
6885
|
* @class
|
|
6774
6886
|
*/
|
|
6775
|
-
class
|
|
6887
|
+
class ModifyDBInstanceSpecResponse extends AbstractModel {
|
|
6776
6888
|
constructor(){
|
|
6777
6889
|
super();
|
|
6778
6890
|
|
|
6891
|
+
/**
|
|
6892
|
+
* Order ID.
|
|
6893
|
+
* @type {string || null}
|
|
6894
|
+
*/
|
|
6895
|
+
this.DealName = null;
|
|
6896
|
+
|
|
6897
|
+
/**
|
|
6898
|
+
* Bill ID of frozen fees.
|
|
6899
|
+
* @type {string || null}
|
|
6900
|
+
*/
|
|
6901
|
+
this.BillId = null;
|
|
6902
|
+
|
|
6779
6903
|
/**
|
|
6780
6904
|
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
6781
6905
|
* @type {string || null}
|
|
@@ -6791,6 +6915,8 @@ class OpenServerlessDBExtranetAccessResponse extends AbstractModel {
|
|
|
6791
6915
|
if (!params) {
|
|
6792
6916
|
return;
|
|
6793
6917
|
}
|
|
6918
|
+
this.DealName = 'DealName' in params ? params.DealName : null;
|
|
6919
|
+
this.BillId = 'BillId' in params ? params.BillId : null;
|
|
6794
6920
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
6795
6921
|
|
|
6796
6922
|
}
|
|
@@ -6981,6 +7107,7 @@ module.exports = {
|
|
|
6981
7107
|
DisIsolateDBInstancesRequest: DisIsolateDBInstancesRequest,
|
|
6982
7108
|
ServerlessDBInstanceNetInfo: ServerlessDBInstanceNetInfo,
|
|
6983
7109
|
DescribeDBInstancesRequest: DescribeDBInstancesRequest,
|
|
7110
|
+
ModifyDBInstanceSpecRequest: ModifyDBInstanceSpecRequest,
|
|
6984
7111
|
ModifyAccountRemarkResponse: ModifyAccountRemarkResponse,
|
|
6985
7112
|
UpgradeDBInstanceRequest: UpgradeDBInstanceRequest,
|
|
6986
7113
|
DescribeZonesRequest: DescribeZonesRequest,
|
|
@@ -7015,6 +7142,7 @@ module.exports = {
|
|
|
7015
7142
|
InquiryPriceUpgradeDBInstanceRequest: InquiryPriceUpgradeDBInstanceRequest,
|
|
7016
7143
|
RebalanceReadOnlyGroupResponse: RebalanceReadOnlyGroupResponse,
|
|
7017
7144
|
ModifyDBInstanceNameRequest: ModifyDBInstanceNameRequest,
|
|
7145
|
+
OpenServerlessDBExtranetAccessResponse: OpenServerlessDBExtranetAccessResponse,
|
|
7018
7146
|
InquiryPriceRenewDBInstanceResponse: InquiryPriceRenewDBInstanceResponse,
|
|
7019
7147
|
DescribeSlowQueryAnalysisRequest: DescribeSlowQueryAnalysisRequest,
|
|
7020
7148
|
ErrLogDetail: ErrLogDetail,
|
|
@@ -7068,7 +7196,7 @@ module.exports = {
|
|
|
7068
7196
|
DescribeDBSlowlogsRequest: DescribeDBSlowlogsRequest,
|
|
7069
7197
|
DestroyDBInstanceResponse: DestroyDBInstanceResponse,
|
|
7070
7198
|
DescribeDBInstanceAttributeResponse: DescribeDBInstanceAttributeResponse,
|
|
7071
|
-
|
|
7199
|
+
ModifyDBInstanceSpecResponse: ModifyDBInstanceSpecResponse,
|
|
7072
7200
|
DescribeDBXlogsResponse: DescribeDBXlogsResponse,
|
|
7073
7201
|
DescribeDBSlowlogsResponse: DescribeDBSlowlogsResponse,
|
|
7074
7202
|
CreateDBInstancesResponse: CreateDBInstancesResponse,
|
|
@@ -54,6 +54,7 @@ const ModifySwitchTimePeriodResponse = models.ModifySwitchTimePeriodResponse;
|
|
|
54
54
|
const DisIsolateDBInstancesRequest = models.DisIsolateDBInstancesRequest;
|
|
55
55
|
const ServerlessDBInstanceNetInfo = models.ServerlessDBInstanceNetInfo;
|
|
56
56
|
const DescribeDBInstancesRequest = models.DescribeDBInstancesRequest;
|
|
57
|
+
const ModifyDBInstanceSpecRequest = models.ModifyDBInstanceSpecRequest;
|
|
57
58
|
const ModifyAccountRemarkResponse = models.ModifyAccountRemarkResponse;
|
|
58
59
|
const UpgradeDBInstanceRequest = models.UpgradeDBInstanceRequest;
|
|
59
60
|
const DescribeZonesRequest = models.DescribeZonesRequest;
|
|
@@ -88,6 +89,7 @@ const OpenDBExtranetAccessResponse = models.OpenDBExtranetAccessResponse;
|
|
|
88
89
|
const InquiryPriceUpgradeDBInstanceRequest = models.InquiryPriceUpgradeDBInstanceRequest;
|
|
89
90
|
const RebalanceReadOnlyGroupResponse = models.RebalanceReadOnlyGroupResponse;
|
|
90
91
|
const ModifyDBInstanceNameRequest = models.ModifyDBInstanceNameRequest;
|
|
92
|
+
const OpenServerlessDBExtranetAccessResponse = models.OpenServerlessDBExtranetAccessResponse;
|
|
91
93
|
const InquiryPriceRenewDBInstanceResponse = models.InquiryPriceRenewDBInstanceResponse;
|
|
92
94
|
const DescribeSlowQueryAnalysisRequest = models.DescribeSlowQueryAnalysisRequest;
|
|
93
95
|
const ErrLogDetail = models.ErrLogDetail;
|
|
@@ -141,7 +143,7 @@ const ModifyDBInstancesProjectRequest = models.ModifyDBInstancesProjectRequest;
|
|
|
141
143
|
const DescribeDBSlowlogsRequest = models.DescribeDBSlowlogsRequest;
|
|
142
144
|
const DestroyDBInstanceResponse = models.DestroyDBInstanceResponse;
|
|
143
145
|
const DescribeDBInstanceAttributeResponse = models.DescribeDBInstanceAttributeResponse;
|
|
144
|
-
const
|
|
146
|
+
const ModifyDBInstanceSpecResponse = models.ModifyDBInstanceSpecResponse;
|
|
145
147
|
const DescribeDBXlogsResponse = models.DescribeDBXlogsResponse;
|
|
146
148
|
const DescribeDBSlowlogsResponse = models.DescribeDBSlowlogsResponse;
|
|
147
149
|
const CreateDBInstancesResponse = models.CreateDBInstancesResponse;
|
|
@@ -476,6 +478,17 @@ class PostgresClient extends AbstractClient {
|
|
|
476
478
|
this.request("InquiryPriceUpgradeDBInstance", req, resp, cb);
|
|
477
479
|
}
|
|
478
480
|
|
|
481
|
+
/**
|
|
482
|
+
* This API is used to modify instance specifications including memory and disk size.
|
|
483
|
+
* @param {ModifyDBInstanceSpecRequest} req
|
|
484
|
+
* @param {function(string, ModifyDBInstanceSpecResponse):void} cb
|
|
485
|
+
* @public
|
|
486
|
+
*/
|
|
487
|
+
ModifyDBInstanceSpec(req, cb) {
|
|
488
|
+
let resp = new ModifyDBInstanceSpecResponse();
|
|
489
|
+
this.request("ModifyDBInstanceSpec", req, resp, cb);
|
|
490
|
+
}
|
|
491
|
+
|
|
479
492
|
/**
|
|
480
493
|
* This API is used to remove a read-only replica from an RO group.
|
|
481
494
|
* @param {RemoveDBInstanceFromReadOnlyGroupRequest} req
|
|
@@ -2117,7 +2117,7 @@ class ModifyAutoBackupConfigRequest extends AbstractModel {
|
|
|
2117
2117
|
this.InstanceId = null;
|
|
2118
2118
|
|
|
2119
2119
|
/**
|
|
2120
|
-
* Date.
|
|
2120
|
+
* Date. Valid values: `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, `Sunday`. However, this parameter is now invalid.
|
|
2121
2121
|
* @type {Array.<string> || null}
|
|
2122
2122
|
*/
|
|
2123
2123
|
this.WeekDays = null;
|
|
@@ -2556,10 +2556,11 @@ class DisableReplicaReadonlyResponse extends AbstractModel {
|
|
|
2556
2556
|
super();
|
|
2557
2557
|
|
|
2558
2558
|
/**
|
|
2559
|
-
*
|
|
2560
|
-
|
|
2559
|
+
* Task ID
|
|
2560
|
+
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
2561
|
+
* @type {number || null}
|
|
2561
2562
|
*/
|
|
2562
|
-
this.
|
|
2563
|
+
this.TaskId = null;
|
|
2563
2564
|
|
|
2564
2565
|
/**
|
|
2565
2566
|
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
@@ -2576,7 +2577,7 @@ class DisableReplicaReadonlyResponse extends AbstractModel {
|
|
|
2576
2577
|
if (!params) {
|
|
2577
2578
|
return;
|
|
2578
2579
|
}
|
|
2579
|
-
this.
|
|
2580
|
+
this.TaskId = 'TaskId' in params ? params.TaskId : null;
|
|
2580
2581
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
2581
2582
|
|
|
2582
2583
|
}
|
|
@@ -3495,19 +3496,19 @@ class DescribeBackupUrlResponse extends AbstractModel {
|
|
|
3495
3496
|
super();
|
|
3496
3497
|
|
|
3497
3498
|
/**
|
|
3498
|
-
*
|
|
3499
|
+
* Public network download address (valid for six hours). This field will be deprecated soon.
|
|
3499
3500
|
* @type {Array.<string> || null}
|
|
3500
3501
|
*/
|
|
3501
3502
|
this.DownloadUrl = null;
|
|
3502
3503
|
|
|
3503
3504
|
/**
|
|
3504
|
-
*
|
|
3505
|
+
* Private network download address (valid for six hours). This field will be deprecated soon.
|
|
3505
3506
|
* @type {Array.<string> || null}
|
|
3506
3507
|
*/
|
|
3507
3508
|
this.InnerDownloadUrl = null;
|
|
3508
3509
|
|
|
3509
3510
|
/**
|
|
3510
|
-
*
|
|
3511
|
+
* Filename. This field will be deprecated soon.
|
|
3511
3512
|
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
3512
3513
|
* @type {Array.<string> || null}
|
|
3513
3514
|
*/
|
|
@@ -3596,7 +3597,7 @@ class InquiryPriceCreateInstanceResponse extends AbstractModel {
|
|
|
3596
3597
|
super();
|
|
3597
3598
|
|
|
3598
3599
|
/**
|
|
3599
|
-
* Price
|
|
3600
|
+
* Price in USD
|
|
3600
3601
|
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
3601
3602
|
* @type {number || null}
|
|
3602
3603
|
*/
|
|
@@ -5529,11 +5530,19 @@ class EnableReplicaReadonlyResponse extends AbstractModel {
|
|
|
5529
5530
|
super();
|
|
5530
5531
|
|
|
5531
5532
|
/**
|
|
5532
|
-
*
|
|
5533
|
+
* Valid values: `ERROR`, `OK`. This field has been deprecated.
|
|
5534
|
+
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
5533
5535
|
* @type {string || null}
|
|
5534
5536
|
*/
|
|
5535
5537
|
this.Status = null;
|
|
5536
5538
|
|
|
5539
|
+
/**
|
|
5540
|
+
* Task ID
|
|
5541
|
+
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
5542
|
+
* @type {number || null}
|
|
5543
|
+
*/
|
|
5544
|
+
this.TaskId = null;
|
|
5545
|
+
|
|
5537
5546
|
/**
|
|
5538
5547
|
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
5539
5548
|
* @type {string || null}
|
|
@@ -5550,6 +5559,7 @@ class EnableReplicaReadonlyResponse extends AbstractModel {
|
|
|
5550
5559
|
return;
|
|
5551
5560
|
}
|
|
5552
5561
|
this.Status = 'Status' in params ? params.Status : null;
|
|
5562
|
+
this.TaskId = 'TaskId' in params ? params.TaskId : null;
|
|
5553
5563
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
5554
5564
|
|
|
5555
5565
|
}
|
|
@@ -6886,19 +6896,19 @@ class ModifyParamTemplateRequest extends AbstractModel {
|
|
|
6886
6896
|
this.TemplateId = null;
|
|
6887
6897
|
|
|
6888
6898
|
/**
|
|
6889
|
-
* New name
|
|
6899
|
+
* New name after the parameter template is modified.
|
|
6890
6900
|
* @type {string || null}
|
|
6891
6901
|
*/
|
|
6892
6902
|
this.Name = null;
|
|
6893
6903
|
|
|
6894
6904
|
/**
|
|
6895
|
-
* New description
|
|
6905
|
+
* New description after the parameter template is modified.
|
|
6896
6906
|
* @type {string || null}
|
|
6897
6907
|
*/
|
|
6898
6908
|
this.Description = null;
|
|
6899
6909
|
|
|
6900
6910
|
/**
|
|
6901
|
-
*
|
|
6911
|
+
* New parameter list after the parameter template is modified.
|
|
6902
6912
|
* @type {Array.<InstanceParam> || null}
|
|
6903
6913
|
*/
|
|
6904
6914
|
this.ParamList = null;
|
|
@@ -7638,19 +7648,19 @@ If `TypeId` indicates the standard architecture, `MemSize` indicates the total m
|
|
|
7638
7648
|
this.ZoneId = null;
|
|
7639
7649
|
|
|
7640
7650
|
/**
|
|
7641
|
-
*
|
|
7651
|
+
* Instance shard quantity. This field is not required by Redis 2.8 standard architecture, CKV standard architecture, Redis 2.8 standalone edition, and Redis 4.0 standard architecture.
|
|
7642
7652
|
* @type {number || null}
|
|
7643
7653
|
*/
|
|
7644
7654
|
this.RedisShardNum = null;
|
|
7645
7655
|
|
|
7646
7656
|
/**
|
|
7647
|
-
*
|
|
7657
|
+
* Instance replica quantity. This field is not required by Redis 2.8 standard architecture, CKV standard architecture, and Redis 2.8 standalone edition.
|
|
7648
7658
|
* @type {number || null}
|
|
7649
7659
|
*/
|
|
7650
7660
|
this.RedisReplicasNum = null;
|
|
7651
7661
|
|
|
7652
7662
|
/**
|
|
7653
|
-
* Whether to support read-only replicas. This
|
|
7663
|
+
* Whether to support read-only replicas. This field is not required by Redis 2.8 standard architecture, CKV standard architecture, and Redis 2.8 standalone edition.
|
|
7654
7664
|
* @type {boolean || null}
|
|
7655
7665
|
*/
|
|
7656
7666
|
this.ReplicasReadonly = null;
|
|
@@ -9281,19 +9291,19 @@ class UpgradeInstanceRequest extends AbstractModel {
|
|
|
9281
9291
|
this.InstanceId = null;
|
|
9282
9292
|
|
|
9283
9293
|
/**
|
|
9284
|
-
* Shard size in MB
|
|
9294
|
+
* Shard size in MB. This parameter cannot be passed in at the same time as `RedisShardNum`/`RedisReplicasNum`.
|
|
9285
9295
|
* @type {number || null}
|
|
9286
9296
|
*/
|
|
9287
9297
|
this.MemSize = null;
|
|
9288
9298
|
|
|
9289
9299
|
/**
|
|
9290
|
-
*
|
|
9300
|
+
* Shard quantity. This parameter is not required by standard architecture instances and cannot be passed in at the same time as `RedisReplicasNum`/`MemSize`.
|
|
9291
9301
|
* @type {number || null}
|
|
9292
9302
|
*/
|
|
9293
9303
|
this.RedisShardNum = null;
|
|
9294
9304
|
|
|
9295
9305
|
/**
|
|
9296
|
-
*
|
|
9306
|
+
* Replica quantity. This parameter cannot be passed in at the same time as `RedisShardNum`/`MemSize`. To modify the number of replicas in a multi-AZ instance, `NodeSet` must be passed in.
|
|
9297
9307
|
* @type {number || null}
|
|
9298
9308
|
*/
|
|
9299
9309
|
this.RedisReplicasNum = null;
|