tencentcloud-sdk-nodejs-intl-en 3.0.327 → 3.0.331
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/cdb/v20170320/cdb_client.js +52 -25
- package/tencentcloud/cdb/v20170320/models.js +319 -95
- package/tencentcloud/cloudaudit/v20190319/models.js +8 -0
- 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/sms/v20210111/models.js +38 -20
- package/tencentcloud/sms/v20210111/sms_client.js +8 -7
|
@@ -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
|
|
@@ -153,12 +153,13 @@ class ModifySmsSignRequest extends AbstractModel {
|
|
|
153
153
|
|
|
154
154
|
/**
|
|
155
155
|
* Signature type. Each of these types is followed by their `DocumentType` (identity certificate type) option:
|
|
156
|
-
0: company. Valid values of `DocumentType` include 0
|
|
156
|
+
0: company. Valid values of `DocumentType` include 0 and 1.
|
|
157
157
|
1: app. Valid values of `DocumentType` include 0, 1, 2, 3, and 4.
|
|
158
158
|
2: website. Valid values of `DocumentType` include 0, 1, 2, 3, and 5.
|
|
159
|
-
3: WeChat Official Account
|
|
159
|
+
3: WeChat Official Account. Valid values of `DocumentType` include 0, 1, 2, 3, and 8.
|
|
160
160
|
4: trademark. Valid values of `DocumentType` include 7.
|
|
161
161
|
5: government/public institution/other. Valid values of `DocumentType` include 2 and 3.
|
|
162
|
+
6: WeChat Mini Program. Valid values of `DocumentType` include 0, 1, 2, 3, and 6.
|
|
162
163
|
Note: the identity certificate type must be selected according to the correspondence; otherwise, the review will fail.
|
|
163
164
|
* @type {number || null}
|
|
164
165
|
*/
|
|
@@ -174,7 +175,7 @@ Note: the identity certificate type must be selected according to the correspond
|
|
|
174
175
|
5: screenshot of website ICP filing backend (for personal website).
|
|
175
176
|
6: screenshot of WeChat Mini Program settings page (for personal WeChat Mini Program).
|
|
176
177
|
7: trademark registration certificate.
|
|
177
|
-
|
|
178
|
+
8: screenshot of WeChat Official Account settings page (for personal WeChat Official Account).
|
|
178
179
|
* @type {number || null}
|
|
179
180
|
*/
|
|
180
181
|
this.DocumentType = null;
|
|
@@ -255,12 +256,13 @@ Note: you cannot apply for an approved or pending signature again.
|
|
|
255
256
|
|
|
256
257
|
/**
|
|
257
258
|
* Signature type. Each of these types is followed by their `DocumentType` (identity certificate type) option:
|
|
258
|
-
0: company. Valid values of `DocumentType` include 0
|
|
259
|
+
0: company. Valid values of `DocumentType` include 0 and 1.
|
|
259
260
|
1: app. Valid values of `DocumentType` include 0, 1, 2, 3, and 4.
|
|
260
261
|
2: website. Valid values of `DocumentType` include 0, 1, 2, 3, and 5.
|
|
261
|
-
3: WeChat Official Account
|
|
262
|
+
3: WeChat Official Account. Valid values of `DocumentType` include 0, 1, 2, 3, and 8.
|
|
262
263
|
4: trademark. Valid values of `DocumentType` include 7.
|
|
263
264
|
5: government/public institution/other. Valid values of `DocumentType` include 2 and 3.
|
|
265
|
+
6: WeChat Mini Program. Valid values of `DocumentType` include 0, 1, 2, 3, and 6.
|
|
264
266
|
Note: the identity certificate type must be selected according to the correspondence; otherwise, the review will fail.
|
|
265
267
|
* @type {number || null}
|
|
266
268
|
*/
|
|
@@ -276,7 +278,7 @@ Note: the identity certificate type must be selected according to the correspond
|
|
|
276
278
|
5: screenshot of website ICP filing backend (for personal website).
|
|
277
279
|
6: screenshot of WeChat Mini Program settings page (for personal WeChat Mini Program).
|
|
278
280
|
7: trademark registration certificate.
|
|
279
|
-
|
|
281
|
+
8: screenshot of WeChat Official Account settings page (for personal WeChat Official Account).
|
|
280
282
|
* @type {number || null}
|
|
281
283
|
*/
|
|
282
284
|
this.DocumentType = null;
|
|
@@ -1012,14 +1014,14 @@ Note: 11-digit Chinese mainland numbers prefixed by 0086 or 86 or those without
|
|
|
1012
1014
|
this.SmsSdkAppId = null;
|
|
1013
1015
|
|
|
1014
1016
|
/**
|
|
1015
|
-
* Template ID. You must enter the ID of an approved template, which can be viewed
|
|
1017
|
+
* Template ID. You must enter the ID of an approved template, which can be viewed on the [Mainland China SMS](https://console.cloud.tencent.com/smsv2/csms-template) or [Global SMS](https://console.cloud.tencent.com/smsv2/isms-template) body template management page. If you need to send SMS messages to global mobile numbers, you can only use a Global SMS template.
|
|
1016
1018
|
* @type {string || null}
|
|
1017
1019
|
*/
|
|
1018
1020
|
this.TemplateId = null;
|
|
1019
1021
|
|
|
1020
1022
|
/**
|
|
1021
|
-
* SMS signature
|
|
1022
|
-
<dx-alert infotype="notice" title="Note">This parameter is required for
|
|
1023
|
+
* Content of the SMS signature, which should be encoded in UTF-8. You must enter an approved signature, such as Tencent Cloud. The signature information can be viewed on the [Mainland China SMS](https://console.cloud.tencent.com/smsv2/csms-sign) or [Global SMS](https://console.cloud.tencent.com/smsv2/isms-sign) signature management page.
|
|
1024
|
+
<dx-alert infotype="notice" title="Note">This parameter is required for Mainland China SMS.</dx-alert>
|
|
1023
1025
|
* @type {string || null}
|
|
1024
1026
|
*/
|
|
1025
1027
|
this.SignName = null;
|
|
@@ -1032,7 +1034,7 @@ Note: 11-digit Chinese mainland numbers prefixed by 0086 or 86 or those without
|
|
|
1032
1034
|
this.TemplateParamSet = null;
|
|
1033
1035
|
|
|
1034
1036
|
/**
|
|
1035
|
-
* SMS code number extension, which is not activated by default. If you need to activate it,
|
|
1037
|
+
* SMS code number extension, which is not activated by default. If you need to activate it, you can contact [SMS Helper](https://intl.cloud.tencent.com/document/product/382/3773?from_cn_redirect=1#.E6.8A.80.E6.9C.AF.E4.BA.A4.E6.B5.81).
|
|
1036
1038
|
* @type {string || null}
|
|
1037
1039
|
*/
|
|
1038
1040
|
this.ExtendCode = null;
|
|
@@ -1045,7 +1047,7 @@ Note: 11-digit Chinese mainland numbers prefixed by 0086 or 86 or those without
|
|
|
1045
1047
|
|
|
1046
1048
|
/**
|
|
1047
1049
|
* This parameter is not required for Mainland China SMS. For Global SMS, if you have applied for a separate `SenderId`, this parameter is required. By default, the public `SenderId` is used, in which case you don't need to enter this parameter.
|
|
1048
|
-
Note: if your monthly usage reaches the specified threshold, you can apply for an independent `SenderId`. For more information,
|
|
1050
|
+
Note: if your monthly usage reaches the specified threshold, you can apply for an independent `SenderId`. For more information, contact [SMS Helper](https://intl.cloud.tencent.com/document/product/382/3773?from_cn_redirect=1#.E6.8A.80.E6.9C.AF.E4.BA.A4.E6.B5.81).
|
|
1049
1051
|
* @type {string || null}
|
|
1050
1052
|
*/
|
|
1051
1053
|
this.SenderId = null;
|
|
@@ -1520,19 +1522,33 @@ class DescribeSmsTemplateListRequest extends AbstractModel {
|
|
|
1520
1522
|
super();
|
|
1521
1523
|
|
|
1522
1524
|
/**
|
|
1523
|
-
*
|
|
1524
|
-
|
|
1525
|
+
* Whether it is Global SMS:
|
|
1526
|
+
0: Mainland China SMS.
|
|
1527
|
+
1: Global SMS.
|
|
1528
|
+
* @type {number || null}
|
|
1529
|
+
*/
|
|
1530
|
+
this.International = null;
|
|
1531
|
+
|
|
1532
|
+
/**
|
|
1533
|
+
* Array of template IDs. If the array is empty, the template list information will be queried by default (only allowed for root accounts). You need to use the `Limit` and `Offset` fields to set the query range.
|
|
1534
|
+
<dx-alert infotype="notice" title="Note">The default array length can be up to 100</dx-alert>
|
|
1525
1535
|
* @type {Array.<number> || null}
|
|
1526
1536
|
*/
|
|
1527
1537
|
this.TemplateIdSet = null;
|
|
1528
1538
|
|
|
1529
1539
|
/**
|
|
1530
|
-
*
|
|
1531
|
-
|
|
1532
|
-
1: Global SMS.
|
|
1540
|
+
* Upper limit. Maximum value: 100.
|
|
1541
|
+
Note: it is 0 by default and is enabled when `TemplateIdSet` is empty.
|
|
1533
1542
|
* @type {number || null}
|
|
1534
1543
|
*/
|
|
1535
|
-
this.
|
|
1544
|
+
this.Limit = null;
|
|
1545
|
+
|
|
1546
|
+
/**
|
|
1547
|
+
* Offset.
|
|
1548
|
+
Note: it is 0 by default and is enabled when `TemplateIdSet` is empty.
|
|
1549
|
+
* @type {number || null}
|
|
1550
|
+
*/
|
|
1551
|
+
this.Offset = null;
|
|
1536
1552
|
|
|
1537
1553
|
}
|
|
1538
1554
|
|
|
@@ -1543,8 +1559,10 @@ class DescribeSmsTemplateListRequest extends AbstractModel {
|
|
|
1543
1559
|
if (!params) {
|
|
1544
1560
|
return;
|
|
1545
1561
|
}
|
|
1546
|
-
this.TemplateIdSet = 'TemplateIdSet' in params ? params.TemplateIdSet : null;
|
|
1547
1562
|
this.International = 'International' in params ? params.International : null;
|
|
1563
|
+
this.TemplateIdSet = 'TemplateIdSet' in params ? params.TemplateIdSet : null;
|
|
1564
|
+
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
1565
|
+
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
1548
1566
|
|
|
1549
1567
|
}
|
|
1550
1568
|
}
|
|
@@ -1854,7 +1872,7 @@ class SendStatus extends AbstractModel {
|
|
|
1854
1872
|
this.PhoneNumber = null;
|
|
1855
1873
|
|
|
1856
1874
|
/**
|
|
1857
|
-
* Number of billable SMS messages. For billing rules,
|
|
1875
|
+
* Number of billable SMS messages. For billing rules, see Billing Policy.
|
|
1858
1876
|
* @type {number || null}
|
|
1859
1877
|
*/
|
|
1860
1878
|
this.Fee = null;
|
|
@@ -1866,7 +1884,7 @@ class SendStatus extends AbstractModel {
|
|
|
1866
1884
|
this.SessionContext = null;
|
|
1867
1885
|
|
|
1868
1886
|
/**
|
|
1869
|
-
* SMS request error code. For
|
|
1887
|
+
* SMS request error code. For specific meanings, see [Error Codes](https://intl.cloud.tencent.com/zh/document/product/382/40536#6.-error-code). `Ok` will be returned for successful delivery.
|
|
1870
1888
|
* @type {string || null}
|
|
1871
1889
|
*/
|
|
1872
1890
|
this.Code = null;
|
|
@@ -75,8 +75,8 @@ class SmsClient extends AbstractClient {
|
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
/**
|
|
78
|
-
* 1. This API is used to modify an SMS signature.
|
|
79
|
-
2. ⚠️ Note: individual users cannot use this API to modify SMS signatures. For more information,
|
|
78
|
+
* 1. This API is used to modify an SMS signature. You need to read the [Tencent Cloud SMS Signature Review Standards](https://intl.cloud.tencent.com/document/product/382/39022) before making a modification.
|
|
79
|
+
2. ⚠️ Note: individual users cannot use this API to modify SMS signatures. For more information, see [Identity Verification Overview](https://intl.cloud.tencent.com/document/product/378/3629). If your account identity is individual, you can log in to the [console](https://console.cloud.tencent.com/smsv2) to modify SMS signatures.
|
|
80
80
|
3. Modifications can be made only if the signature status is **Pending Review** or **Rejected**. **Approved** signatures cannot be modified.
|
|
81
81
|
>- Note: because of the improved security of **TencentCloud API 3.0**, **API authentication** is more complicated. We recommend you use the Tencent Cloud SMS service with the SDK.
|
|
82
82
|
>- You can run this API directly in [API 3.0 Explorer](https://console.cloud.tencent.com/api/explorer?Product=sms&Version=2021-01-11&Action=SendSms), which eliminates the signature calculation steps. After it is executed successfully, API Explorer can **automatically generate** SDK code samples.
|
|
@@ -90,8 +90,8 @@ class SmsClient extends AbstractClient {
|
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
/**
|
|
93
|
-
* 1. This API is used to add an SMS signature.
|
|
94
|
-
2. ⚠️ Note: individual users cannot use this API to apply for SMS signatures. For more information,
|
|
93
|
+
* 1. This API is used to add an SMS signature. You need to read the [Tencent Cloud SMS Signature Review Standards](https://intl.cloud.tencent.com/zh/document/product/382/40658) before starting an application.
|
|
94
|
+
2. ⚠️ Note: individual users cannot use this API to apply for SMS signatures. For more information, see [Identity Verification Overview](https://intl.cloud.tencent.com/document/product/378/3629?from_cn_redirect=1). If your account identity is individual, you can log in to the console to apply for SMS signatures.
|
|
95
95
|
>- Note: because of the improved security of **TencentCloud API 3.0**, **API authentication** is more complicated. We recommend you use the Tencent Cloud SMS service with the SDK.
|
|
96
96
|
>- You can run this API directly in [API 3.0 Explorer](https://console.cloud.tencent.com/api/explorer?Product=sms&Version=2021-01-11&Action=SendSms), which eliminates the signature calculation steps. After it is executed successfully, API Explorer can **automatically generate** SDK code samples.
|
|
97
97
|
* @param {AddSmsSignRequest} req
|
|
@@ -263,7 +263,8 @@ Currently, you can also [configure the reply callback](https://intl.cloud.tencen
|
|
|
263
263
|
}
|
|
264
264
|
|
|
265
265
|
/**
|
|
266
|
-
* This API is used to query
|
|
266
|
+
* This API is used to query the information of a phone number, including country/region code and standardized E.164 format number.
|
|
267
|
+
>- For example, if you query the number +86018845720123, you can get the country/region code 86 and the standardized E.164 number +8618845720123.
|
|
267
268
|
* @param {DescribePhoneNumberInfoRequest} req
|
|
268
269
|
* @param {function(string, DescribePhoneNumberInfoResponse):void} cb
|
|
269
270
|
* @public
|
|
@@ -287,8 +288,8 @@ Currently, you can also [configure the reply callback](https://intl.cloud.tencen
|
|
|
287
288
|
}
|
|
288
289
|
|
|
289
290
|
/**
|
|
290
|
-
* 1. This API is used to add an SMS template.
|
|
291
|
-
2. ⚠️ Note: individual users cannot use this API to apply for SMS body templates. For more information,
|
|
291
|
+
* 1. This API is used to add an SMS template. You need to read the [Tencent Cloud SMS Body Template Review Standards](https://intl.cloud.tencent.com/zh/document/product/382/40659) before starting an application.
|
|
292
|
+
2. ⚠️ Note: individual users cannot use this API to apply for SMS body templates. For more information, see [Identity Verification Overview](https://intl.cloud.tencent.com/zh/document/product/378/3629). If your account identity is individual, you can log in to the [console](https://console.cloud.tencent.com/smsv2) to apply for SMS body templates.
|
|
292
293
|
>- Note: because of the improved security of **TencentCloud API 3.0**, **API authentication** is more complicated. We recommend you use the Tencent Cloud SMS service with the SDK.
|
|
293
294
|
>- You can run this API directly in [API 3.0 Explorer](https://console.cloud.tencent.com/api/explorer?Product=sms&Version=2021-01-11&Action=SendSms), which eliminates the signature calculation steps. After it is executed successfully, API Explorer can **automatically generate** SDK code samples.
|
|
294
295
|
* @param {AddSmsTemplateRequest} req
|