tencentcloud-sdk-nodejs 4.0.503 → 4.0.504
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/CHANGELOG.md +148 -0
- package/SERVICE_CHANGELOG.md +251 -7
- package/package.json +1 -1
- package/products.md +14 -14
- package/src/common/sdk_version.ts +1 -1
- package/src/services/bda/v20200324/bda_models.ts +13 -5
- package/src/services/bpaas/v20181217/bpaas_models.ts +25 -1
- package/src/services/captcha/v20190722/captcha_client.ts +1 -1
- package/src/services/cbs/v20170312/cbs_client.ts +1 -3
- package/src/services/cbs/v20170312/cbs_models.ts +24 -24
- package/src/services/cdc/v20201214/cdc_models.ts +6 -0
- package/src/services/cynosdb/v20190107/cynosdb_models.ts +65 -10
- package/src/services/lighthouse/v20200324/lighthouse_models.ts +2 -2
- package/src/services/postgres/v20170312/postgres_client.ts +143 -44
- package/src/services/postgres/v20170312/postgres_models.ts +620 -212
- package/src/services/redis/v20180412/redis_client.ts +1 -1
- package/src/services/redis/v20180412/redis_models.ts +33 -33
- package/src/services/tcss/v20201101/tcss_client.ts +1 -1
- package/src/services/tcss/v20201101/tcss_models.ts +1 -1
- package/src/services/tem/v20210701/tem_models.ts +5 -0
- package/src/services/tiia/v20190529/tiia_client.ts +1 -1
- package/src/services/tiia/v20190529/tiia_models.ts +1 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/bda/v20200324/bda_models.d.ts +12 -5
- package/tencentcloud/services/bpaas/v20181217/bpaas_models.d.ts +21 -1
- package/tencentcloud/services/captcha/v20190722/captcha_client.d.ts +1 -1
- package/tencentcloud/services/captcha/v20190722/captcha_client.js +1 -1
- package/tencentcloud/services/cbs/v20170312/cbs_client.d.ts +1 -3
- package/tencentcloud/services/cbs/v20170312/cbs_client.js +1 -3
- package/tencentcloud/services/cbs/v20170312/cbs_models.d.ts +21 -21
- package/tencentcloud/services/cdc/v20201214/cdc_models.d.ts +5 -0
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +47 -2
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +2 -2
- package/tencentcloud/services/postgres/v20170312/postgres_client.d.ts +45 -13
- package/tencentcloud/services/postgres/v20170312/postgres_client.js +66 -18
- package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +517 -170
- package/tencentcloud/services/redis/v20180412/redis_client.d.ts +1 -1
- package/tencentcloud/services/redis/v20180412/redis_client.js +1 -1
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +33 -33
- package/tencentcloud/services/tcss/v20201101/tcss_client.d.ts +1 -1
- package/tencentcloud/services/tcss/v20201101/tcss_client.js +1 -1
- package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +1 -1
- package/tencentcloud/services/tem/v20210701/tem_models.d.ts +4 -0
- package/tencentcloud/services/tiia/v20190529/tiia_client.d.ts +1 -1
- package/tencentcloud/services/tiia/v20190529/tiia_client.js +1 -1
- package/tencentcloud/services/tiia/v20190529/tiia_models.d.ts +1 -1
- package/test/postgres.v20170312.test.js +92 -12
|
@@ -44,7 +44,7 @@ export declare class Client extends AbstractClient {
|
|
|
44
44
|
*/
|
|
45
45
|
UpgradeInstanceVersion(req: UpgradeInstanceVersionRequest, cb?: (error: string, rep: UpgradeInstanceVersionResponse) => void): Promise<UpgradeInstanceVersionResponse>;
|
|
46
46
|
/**
|
|
47
|
-
*
|
|
47
|
+
* 本接口(DescribeProductInfo)用于查询全地域 Redis 的售卖规格。
|
|
48
48
|
*/
|
|
49
49
|
DescribeProductInfo(req?: DescribeProductInfoRequest, cb?: (error: string, rep: DescribeProductInfoResponse) => void): Promise<DescribeProductInfoResponse>;
|
|
50
50
|
/**
|
|
@@ -82,7 +82,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
82
82
|
return this.request("UpgradeInstanceVersion", req, cb);
|
|
83
83
|
}
|
|
84
84
|
/**
|
|
85
|
-
*
|
|
85
|
+
* 本接口(DescribeProductInfo)用于查询全地域 Redis 的售卖规格。
|
|
86
86
|
*/
|
|
87
87
|
async DescribeProductInfo(req, cb) {
|
|
88
88
|
return this.request("DescribeProductInfo", req, cb);
|
|
@@ -1535,9 +1535,9 @@ export interface DescribeTendisSlowLogResponse {
|
|
|
1535
1535
|
*/
|
|
1536
1536
|
export interface DescribeProductInfoResponse {
|
|
1537
1537
|
/**
|
|
1538
|
-
*
|
|
1538
|
+
* 地域售卖信息。
|
|
1539
1539
|
*/
|
|
1540
|
-
RegionSet
|
|
1540
|
+
RegionSet: Array<RegionConf>;
|
|
1541
1541
|
/**
|
|
1542
1542
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1543
1543
|
*/
|
|
@@ -3021,11 +3021,11 @@ export interface Groups {
|
|
|
3021
3021
|
*/
|
|
3022
3022
|
export interface DescribeInstancesRequest {
|
|
3023
3023
|
/**
|
|
3024
|
-
*
|
|
3024
|
+
* 每页输出实例的数量,参数默认值20,最大值为1000。
|
|
3025
3025
|
*/
|
|
3026
3026
|
Limit?: number;
|
|
3027
3027
|
/**
|
|
3028
|
-
*
|
|
3028
|
+
* 分页偏移量,取Limit整数倍。
|
|
3029
3029
|
*/
|
|
3030
3030
|
Offset?: number;
|
|
3031
3031
|
/**
|
|
@@ -3357,7 +3357,7 @@ export interface ModfiyInstancePasswordResponse {
|
|
|
3357
3357
|
RequestId?: string;
|
|
3358
3358
|
}
|
|
3359
3359
|
/**
|
|
3360
|
-
*
|
|
3360
|
+
* 实例详细信息列表。
|
|
3361
3361
|
*/
|
|
3362
3362
|
export interface InstanceSet {
|
|
3363
3363
|
/**
|
|
@@ -3365,31 +3365,31 @@ export interface InstanceSet {
|
|
|
3365
3365
|
*/
|
|
3366
3366
|
InstanceName: string;
|
|
3367
3367
|
/**
|
|
3368
|
-
* 实例
|
|
3368
|
+
* 实例 ID。
|
|
3369
3369
|
*/
|
|
3370
3370
|
InstanceId: string;
|
|
3371
3371
|
/**
|
|
3372
|
-
* 用户的
|
|
3372
|
+
* 用户的 AppID。
|
|
3373
3373
|
*/
|
|
3374
3374
|
Appid: number;
|
|
3375
3375
|
/**
|
|
3376
|
-
* 项目
|
|
3376
|
+
* 项目 ID。
|
|
3377
3377
|
*/
|
|
3378
3378
|
ProjectId: number;
|
|
3379
3379
|
/**
|
|
3380
|
-
* 地域
|
|
3380
|
+
* 地域 ID。<ul><li>1:广州。</li><li>4:上海。</li><li>5:中国香港。</li><li>6:多伦多。</li> <li>7:上海金融。</li> <li>8:北京。</li> <li>9:新加坡。</li> <li>11:深圳金融。</li> <li>15:美西(硅谷)。</li><li>16:成都。</li><li>17:法兰克福。</li><li>18:首尔。</li><li>19:重庆。</li><li>21:孟买。</li><li>22:美东(弗吉尼亚)。</li><li>23:曼谷。</li><li>24:莫斯科。</li><li>25:东京。</li></ul>
|
|
3381
3381
|
*/
|
|
3382
3382
|
RegionId: number;
|
|
3383
3383
|
/**
|
|
3384
|
-
* 区域
|
|
3384
|
+
* 区域 ID。
|
|
3385
3385
|
*/
|
|
3386
3386
|
ZoneId: number;
|
|
3387
3387
|
/**
|
|
3388
|
-
* vpc网络
|
|
3388
|
+
* vpc网络 ID,例如75101。
|
|
3389
3389
|
*/
|
|
3390
3390
|
VpcId: number;
|
|
3391
3391
|
/**
|
|
3392
|
-
* vpc网络下子网
|
|
3392
|
+
* vpc网络下子网ID,如:46315。
|
|
3393
3393
|
*/
|
|
3394
3394
|
SubnetId: number;
|
|
3395
3395
|
/**
|
|
@@ -3397,7 +3397,7 @@ export interface InstanceSet {
|
|
|
3397
3397
|
*/
|
|
3398
3398
|
Status: number;
|
|
3399
3399
|
/**
|
|
3400
|
-
* 实例
|
|
3400
|
+
* 实例 VIP。
|
|
3401
3401
|
*/
|
|
3402
3402
|
WanIp: string;
|
|
3403
3403
|
/**
|
|
@@ -3481,7 +3481,7 @@ export interface InstanceSet {
|
|
|
3481
3481
|
*/
|
|
3482
3482
|
RedisReplicasNum: number;
|
|
3483
3483
|
/**
|
|
3484
|
-
* 计费
|
|
3484
|
+
* 计费 ID。
|
|
3485
3485
|
*/
|
|
3486
3486
|
PriceId: number;
|
|
3487
3487
|
/**
|
|
@@ -4575,35 +4575,35 @@ export interface DescribeProjectSecurityGroupResponse {
|
|
|
4575
4575
|
*/
|
|
4576
4576
|
export interface Instances {
|
|
4577
4577
|
/**
|
|
4578
|
-
* 用户AppID
|
|
4578
|
+
* 用户AppID。
|
|
4579
4579
|
*/
|
|
4580
4580
|
AppId: number;
|
|
4581
4581
|
/**
|
|
4582
|
-
* 实例ID
|
|
4582
|
+
* 实例 ID。
|
|
4583
4583
|
*/
|
|
4584
4584
|
InstanceId: string;
|
|
4585
4585
|
/**
|
|
4586
|
-
*
|
|
4586
|
+
* 实例名称。
|
|
4587
4587
|
*/
|
|
4588
4588
|
InstanceName: string;
|
|
4589
4589
|
/**
|
|
4590
|
-
* 地域ID
|
|
4590
|
+
* 地域ID。<ul><li>1:广州。</li><li>4:上海。</li><li> 5:香港。</li> <li> 6:多伦多。</li> <li> 7:上海金融。</li> <li> 8:北京。</li> <li> 9:新加坡。</li> <li> 11:深圳金融。</li> <li> 15:美西(硅谷)。</li> </ul>
|
|
4591
4591
|
*/
|
|
4592
4592
|
RegionId: number;
|
|
4593
4593
|
/**
|
|
4594
|
-
* 区域ID
|
|
4594
|
+
* 区域 ID。
|
|
4595
4595
|
*/
|
|
4596
4596
|
ZoneId: number;
|
|
4597
4597
|
/**
|
|
4598
|
-
*
|
|
4598
|
+
* 副本数量。
|
|
4599
4599
|
*/
|
|
4600
4600
|
RedisReplicasNum: number;
|
|
4601
4601
|
/**
|
|
4602
|
-
*
|
|
4602
|
+
* 分片数量。
|
|
4603
4603
|
*/
|
|
4604
4604
|
RedisShardNum: number;
|
|
4605
4605
|
/**
|
|
4606
|
-
*
|
|
4606
|
+
* 分片内存大小。
|
|
4607
4607
|
*/
|
|
4608
4608
|
RedisShardSize: number;
|
|
4609
4609
|
/**
|
|
@@ -4612,48 +4612,48 @@ export interface Instances {
|
|
|
4612
4612
|
*/
|
|
4613
4613
|
DiskSize: number;
|
|
4614
4614
|
/**
|
|
4615
|
-
* 引擎:社区版Redis、腾讯云CKV
|
|
4615
|
+
* 引擎:社区版Redis、腾讯云CKV。
|
|
4616
4616
|
*/
|
|
4617
4617
|
Engine: string;
|
|
4618
4618
|
/**
|
|
4619
|
-
*
|
|
4619
|
+
* 实例读写权限。<ul><li>rw:可读写。</li><li>r:只读。</li></ul>
|
|
4620
4620
|
*/
|
|
4621
4621
|
Role: string;
|
|
4622
4622
|
/**
|
|
4623
|
-
* 实例VIP
|
|
4623
|
+
* 实例 VIP 地址。
|
|
4624
4624
|
*/
|
|
4625
4625
|
Vip: string;
|
|
4626
4626
|
/**
|
|
4627
|
-
*
|
|
4627
|
+
* 内部参数,用户可忽略。
|
|
4628
4628
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4629
4629
|
*/
|
|
4630
4630
|
Vip6: string;
|
|
4631
4631
|
/**
|
|
4632
|
-
*
|
|
4632
|
+
* VPC 网络ID,如:75101。
|
|
4633
4633
|
*/
|
|
4634
4634
|
VpcID: number;
|
|
4635
4635
|
/**
|
|
4636
|
-
*
|
|
4636
|
+
* 实例端口。
|
|
4637
4637
|
*/
|
|
4638
4638
|
VPort: number;
|
|
4639
4639
|
/**
|
|
4640
|
-
*
|
|
4640
|
+
* 实例状态。<ul><li>0:待初始化。</li><li>1:流程中。</li><li>2:运行中。</li><li>-2:已隔离。</li><li>-3:待删除。</li></ul>
|
|
4641
4641
|
*/
|
|
4642
4642
|
Status: number;
|
|
4643
4643
|
/**
|
|
4644
|
-
* 仓库ID
|
|
4644
|
+
* 仓库ID。
|
|
4645
4645
|
*/
|
|
4646
4646
|
GrocerySysId: number;
|
|
4647
4647
|
/**
|
|
4648
|
-
*
|
|
4648
|
+
* 实例类型。<ul><li>1:Redis 2.8 内存版(集群架构)。</li><li>2:Redis 2.8 内存版(标准架构)。</li><li>3:CKV 3.2 内存版(标准架构)。</li><li>4:CKV 3.2 内存版(集群架构)。</li><li>5:Redis 2.8 单机版。</li><li>6:Redis 4.0 内存版(标准架构)。</li><li>7:Redis 4.0 内存版(集群架构)。</li><li>8:Redis 5.0 内存版(标准架构)。</li><li>9:Redis 5.0 内存版(集群架构)。</li></ul>
|
|
4649
4649
|
*/
|
|
4650
4650
|
ProductType: number;
|
|
4651
4651
|
/**
|
|
4652
|
-
*
|
|
4652
|
+
* 实例加入复制组的时间。
|
|
4653
4653
|
*/
|
|
4654
4654
|
CreateTime: string;
|
|
4655
4655
|
/**
|
|
4656
|
-
*
|
|
4656
|
+
* 复制组中实例更新的时间。
|
|
4657
4657
|
*/
|
|
4658
4658
|
UpdateTime: string;
|
|
4659
4659
|
}
|
|
@@ -618,7 +618,7 @@ export declare class Client extends AbstractClient {
|
|
|
618
618
|
*/
|
|
619
619
|
DescribeComplianceScanFailedAssetList(req: DescribeComplianceScanFailedAssetListRequest, cb?: (error: string, rep: DescribeComplianceScanFailedAssetListResponse) => void): Promise<DescribeComplianceScanFailedAssetListResponse>;
|
|
620
620
|
/**
|
|
621
|
-
* 查询
|
|
621
|
+
* 查询k8sapi 异常规则中范围列表
|
|
622
622
|
*/
|
|
623
623
|
DescribeK8sApiAbnormalRuleScopeList(req: DescribeK8sApiAbnormalRuleScopeListRequest, cb?: (error: string, rep: DescribeK8sApiAbnormalRuleScopeListResponse) => void): Promise<DescribeK8sApiAbnormalRuleScopeListResponse>;
|
|
624
624
|
/**
|
|
@@ -942,7 +942,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
942
942
|
return this.request("DescribeComplianceScanFailedAssetList", req, cb);
|
|
943
943
|
}
|
|
944
944
|
/**
|
|
945
|
-
* 查询
|
|
945
|
+
* 查询k8sapi 异常规则中范围列表
|
|
946
946
|
*/
|
|
947
947
|
async DescribeK8sApiAbnormalRuleScopeList(req, cb) {
|
|
948
948
|
return this.request("DescribeK8sApiAbnormalRuleScopeList", req, cb);
|
|
@@ -191,7 +191,7 @@ export declare class Client extends AbstractClient {
|
|
|
191
191
|
*/
|
|
192
192
|
DetectProduct(req: DetectProductRequest, cb?: (error: string, rep: DetectProductResponse) => void): Promise<DetectProductResponse>;
|
|
193
193
|
/**
|
|
194
|
-
*
|
|
194
|
+
* 安全属性识别可对图片中人体安全防护属性进行识别,支持识别安全帽,反光衣,护目镜,工服,手套,工地安全带,口罩,抽烟,玩手机等多种属性。
|
|
195
195
|
"被优选过滤"标签值在人体优选开关开启时才会返回。
|
|
196
196
|
|
|
197
197
|
|序号 | 标签名称 | 标签值 |
|
|
@@ -245,7 +245,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
245
245
|
return this.request("DetectProduct", req, cb);
|
|
246
246
|
}
|
|
247
247
|
/**
|
|
248
|
-
*
|
|
248
|
+
* 安全属性识别可对图片中人体安全防护属性进行识别,支持识别安全帽,反光衣,护目镜,工服,手套,工地安全带,口罩,抽烟,玩手机等多种属性。
|
|
249
249
|
"被优选过滤"标签值在人体优选开关开启时才会返回。
|
|
250
250
|
|
|
251
251
|
|序号 | 标签名称 | 标签值 |
|
|
@@ -881,7 +881,7 @@ export interface DetectSecurityResponse {
|
|
|
881
881
|
* 识别到的人体属性信息。单个人体属性信息包括人体检测置信度,属性信息,人体检测框。
|
|
882
882
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
883
883
|
*/
|
|
884
|
-
Bodies
|
|
884
|
+
Bodies?: Array<AttributesForBody>;
|
|
885
885
|
/**
|
|
886
886
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
887
887
|
*/
|
|
@@ -78,6 +78,16 @@ it("postgres.v20170312.DeleteReadOnlyGroupNetworkAccess", async function () {
|
|
|
78
78
|
}
|
|
79
79
|
})
|
|
80
80
|
|
|
81
|
+
it("postgres.v20170312.DescribeDefaultParameters", async function () {
|
|
82
|
+
try {
|
|
83
|
+
const data = await client.DescribeDefaultParameters({})
|
|
84
|
+
expect(data).to.be.ok
|
|
85
|
+
} catch(error) {
|
|
86
|
+
expect(error.requestId).to.be.ok
|
|
87
|
+
expect(error.code).to.be.ok
|
|
88
|
+
}
|
|
89
|
+
})
|
|
90
|
+
|
|
81
91
|
it("postgres.v20170312.UpgradeDBInstance", async function () {
|
|
82
92
|
try {
|
|
83
93
|
const data = await client.UpgradeDBInstance({})
|
|
@@ -108,6 +118,16 @@ it("postgres.v20170312.DestroyDBInstance", async function () {
|
|
|
108
118
|
}
|
|
109
119
|
})
|
|
110
120
|
|
|
121
|
+
it("postgres.v20170312.SetAutoRenewFlag", async function () {
|
|
122
|
+
try {
|
|
123
|
+
const data = await client.SetAutoRenewFlag({})
|
|
124
|
+
expect(data).to.be.ok
|
|
125
|
+
} catch(error) {
|
|
126
|
+
expect(error.requestId).to.be.ok
|
|
127
|
+
expect(error.code).to.be.ok
|
|
128
|
+
}
|
|
129
|
+
})
|
|
130
|
+
|
|
111
131
|
it("postgres.v20170312.DescribeBackupPlans", async function () {
|
|
112
132
|
try {
|
|
113
133
|
const data = await client.DescribeBackupPlans({})
|
|
@@ -158,9 +178,9 @@ it("postgres.v20170312.DescribeDBErrlogs", async function () {
|
|
|
158
178
|
}
|
|
159
179
|
})
|
|
160
180
|
|
|
161
|
-
it("postgres.v20170312.
|
|
181
|
+
it("postgres.v20170312.DescribeReadOnlyGroups", async function () {
|
|
162
182
|
try {
|
|
163
|
-
const data = await client.
|
|
183
|
+
const data = await client.DescribeReadOnlyGroups({})
|
|
164
184
|
expect(data).to.be.ok
|
|
165
185
|
} catch(error) {
|
|
166
186
|
expect(error.requestId).to.be.ok
|
|
@@ -188,6 +208,16 @@ it("postgres.v20170312.InquiryPriceCreateDBInstances", async function () {
|
|
|
188
208
|
}
|
|
189
209
|
})
|
|
190
210
|
|
|
211
|
+
it("postgres.v20170312.DescribeDBInstanceSecurityGroups", async function () {
|
|
212
|
+
try {
|
|
213
|
+
const data = await client.DescribeDBInstanceSecurityGroups({})
|
|
214
|
+
expect(data).to.be.ok
|
|
215
|
+
} catch(error) {
|
|
216
|
+
expect(error.requestId).to.be.ok
|
|
217
|
+
expect(error.code).to.be.ok
|
|
218
|
+
}
|
|
219
|
+
})
|
|
220
|
+
|
|
191
221
|
it("postgres.v20170312.OpenDBExtranetAccess", async function () {
|
|
192
222
|
try {
|
|
193
223
|
const data = await client.OpenDBExtranetAccess({})
|
|
@@ -198,6 +228,16 @@ it("postgres.v20170312.OpenDBExtranetAccess", async function () {
|
|
|
198
228
|
}
|
|
199
229
|
})
|
|
200
230
|
|
|
231
|
+
it("postgres.v20170312.DescribeParameterTemplateAttributes", async function () {
|
|
232
|
+
try {
|
|
233
|
+
const data = await client.DescribeParameterTemplateAttributes({})
|
|
234
|
+
expect(data).to.be.ok
|
|
235
|
+
} catch(error) {
|
|
236
|
+
expect(error.requestId).to.be.ok
|
|
237
|
+
expect(error.code).to.be.ok
|
|
238
|
+
}
|
|
239
|
+
})
|
|
240
|
+
|
|
201
241
|
it("postgres.v20170312.DeleteDBInstanceNetworkAccess", async function () {
|
|
202
242
|
try {
|
|
203
243
|
const data = await client.DeleteDBInstanceNetworkAccess({})
|
|
@@ -208,6 +248,16 @@ it("postgres.v20170312.DeleteDBInstanceNetworkAccess", async function () {
|
|
|
208
248
|
}
|
|
209
249
|
})
|
|
210
250
|
|
|
251
|
+
it("postgres.v20170312.RestartDBInstance", async function () {
|
|
252
|
+
try {
|
|
253
|
+
const data = await client.RestartDBInstance({})
|
|
254
|
+
expect(data).to.be.ok
|
|
255
|
+
} catch(error) {
|
|
256
|
+
expect(error.requestId).to.be.ok
|
|
257
|
+
expect(error.code).to.be.ok
|
|
258
|
+
}
|
|
259
|
+
})
|
|
260
|
+
|
|
211
261
|
it("postgres.v20170312.ModifyBackupPlan", async function () {
|
|
212
262
|
try {
|
|
213
263
|
const data = await client.ModifyBackupPlan({})
|
|
@@ -258,9 +308,9 @@ it("postgres.v20170312.DescribeDBXlogs", async function () {
|
|
|
258
308
|
}
|
|
259
309
|
})
|
|
260
310
|
|
|
261
|
-
it("postgres.v20170312.
|
|
311
|
+
it("postgres.v20170312.OpenServerlessDBExtranetAccess", async function () {
|
|
262
312
|
try {
|
|
263
|
-
const data = await client.
|
|
313
|
+
const data = await client.OpenServerlessDBExtranetAccess({})
|
|
264
314
|
expect(data).to.be.ok
|
|
265
315
|
} catch(error) {
|
|
266
316
|
expect(error.requestId).to.be.ok
|
|
@@ -318,6 +368,16 @@ it("postgres.v20170312.CreateDBInstances", async function () {
|
|
|
318
368
|
}
|
|
319
369
|
})
|
|
320
370
|
|
|
371
|
+
it("postgres.v20170312.RebalanceReadOnlyGroup", async function () {
|
|
372
|
+
try {
|
|
373
|
+
const data = await client.RebalanceReadOnlyGroup({})
|
|
374
|
+
expect(data).to.be.ok
|
|
375
|
+
} catch(error) {
|
|
376
|
+
expect(error.requestId).to.be.ok
|
|
377
|
+
expect(error.code).to.be.ok
|
|
378
|
+
}
|
|
379
|
+
})
|
|
380
|
+
|
|
321
381
|
it("postgres.v20170312.CreateServerlessDBInstance", async function () {
|
|
322
382
|
try {
|
|
323
383
|
const data = await client.CreateServerlessDBInstance({})
|
|
@@ -348,9 +408,9 @@ it("postgres.v20170312.DescribeZones", async function () {
|
|
|
348
408
|
}
|
|
349
409
|
})
|
|
350
410
|
|
|
351
|
-
it("postgres.v20170312.
|
|
411
|
+
it("postgres.v20170312.DeleteParameterTemplate", async function () {
|
|
352
412
|
try {
|
|
353
|
-
const data = await client.
|
|
413
|
+
const data = await client.DeleteParameterTemplate({})
|
|
354
414
|
expect(data).to.be.ok
|
|
355
415
|
} catch(error) {
|
|
356
416
|
expect(error.requestId).to.be.ok
|
|
@@ -528,9 +588,9 @@ it("postgres.v20170312.DescribeServerlessDBInstances", async function () {
|
|
|
528
588
|
}
|
|
529
589
|
})
|
|
530
590
|
|
|
531
|
-
it("postgres.v20170312.
|
|
591
|
+
it("postgres.v20170312.ModifyParameterTemplate", async function () {
|
|
532
592
|
try {
|
|
533
|
-
const data = await client.
|
|
593
|
+
const data = await client.ModifyParameterTemplate({})
|
|
534
594
|
expect(data).to.be.ok
|
|
535
595
|
} catch(error) {
|
|
536
596
|
expect(error.requestId).to.be.ok
|
|
@@ -548,6 +608,26 @@ it("postgres.v20170312.DescribeCloneDBInstanceSpec", async function () {
|
|
|
548
608
|
}
|
|
549
609
|
})
|
|
550
610
|
|
|
611
|
+
it("postgres.v20170312.CreateParameterTemplate", async function () {
|
|
612
|
+
try {
|
|
613
|
+
const data = await client.CreateParameterTemplate({})
|
|
614
|
+
expect(data).to.be.ok
|
|
615
|
+
} catch(error) {
|
|
616
|
+
expect(error.requestId).to.be.ok
|
|
617
|
+
expect(error.code).to.be.ok
|
|
618
|
+
}
|
|
619
|
+
})
|
|
620
|
+
|
|
621
|
+
it("postgres.v20170312.DescribeSlowQueryAnalysis", async function () {
|
|
622
|
+
try {
|
|
623
|
+
const data = await client.DescribeSlowQueryAnalysis({})
|
|
624
|
+
expect(data).to.be.ok
|
|
625
|
+
} catch(error) {
|
|
626
|
+
expect(error.requestId).to.be.ok
|
|
627
|
+
expect(error.code).to.be.ok
|
|
628
|
+
}
|
|
629
|
+
})
|
|
630
|
+
|
|
551
631
|
it("postgres.v20170312.DescribeDatabases", async function () {
|
|
552
632
|
try {
|
|
553
633
|
const data = await client.DescribeDatabases({})
|
|
@@ -568,9 +648,9 @@ it("postgres.v20170312.CreateReadOnlyDBInstance", async function () {
|
|
|
568
648
|
}
|
|
569
649
|
})
|
|
570
650
|
|
|
571
|
-
it("postgres.v20170312.
|
|
651
|
+
it("postgres.v20170312.DescribeParameterTemplates", async function () {
|
|
572
652
|
try {
|
|
573
|
-
const data = await client.
|
|
653
|
+
const data = await client.DescribeParameterTemplates({})
|
|
574
654
|
expect(data).to.be.ok
|
|
575
655
|
} catch(error) {
|
|
576
656
|
expect(error.requestId).to.be.ok
|
|
@@ -638,9 +718,9 @@ it("postgres.v20170312.DescribeDBSlowlogs", async function () {
|
|
|
638
718
|
}
|
|
639
719
|
})
|
|
640
720
|
|
|
641
|
-
it("postgres.v20170312.
|
|
721
|
+
it("postgres.v20170312.ModifyDBInstanceSecurityGroups", async function () {
|
|
642
722
|
try {
|
|
643
|
-
const data = await client.
|
|
723
|
+
const data = await client.ModifyDBInstanceSecurityGroups({})
|
|
644
724
|
expect(data).to.be.ok
|
|
645
725
|
} catch(error) {
|
|
646
726
|
expect(error.requestId).to.be.ok
|