@alicloud/gpdb20160503 1.0.18 → 1.0.21
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/dist/client.d.ts +148 -0
- package/dist/client.js +310 -0
- package/dist/client.js.map +1 -1
- package/package.json +4 -4
- package/src/client.ts +398 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alicloud/gpdb20160503",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.21",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/client.js",
|
|
6
6
|
"scripts": {
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@alicloud/tea-typescript": "^1.7.1",
|
|
23
|
-
"@alicloud/tea-util": "^1.4.
|
|
24
|
-
"@alicloud/openapi-client": "^0.4.
|
|
25
|
-
"@alicloud/openapi-util": "^0.
|
|
23
|
+
"@alicloud/tea-util": "^1.4.5",
|
|
24
|
+
"@alicloud/openapi-client": "^0.4.4",
|
|
25
|
+
"@alicloud/openapi-util": "^0.3.0",
|
|
26
26
|
"@alicloud/endpoint-util": "^0.0.1"
|
|
27
27
|
},
|
|
28
28
|
"files": [
|
package/src/client.ts
CHANGED
|
@@ -324,6 +324,7 @@ export class CreateDBInstanceRequest extends $tea.Model {
|
|
|
324
324
|
DBInstanceMode?: string;
|
|
325
325
|
engine?: string;
|
|
326
326
|
engineVersion?: string;
|
|
327
|
+
idleTime?: number;
|
|
327
328
|
instanceNetworkType?: string;
|
|
328
329
|
instanceSpec?: string;
|
|
329
330
|
masterNodeNum?: string;
|
|
@@ -336,6 +337,8 @@ export class CreateDBInstanceRequest extends $tea.Model {
|
|
|
336
337
|
securityIPList?: string;
|
|
337
338
|
segNodeNum?: string;
|
|
338
339
|
segStorageType?: string;
|
|
340
|
+
serverlessMode?: string;
|
|
341
|
+
serverlessResource?: number;
|
|
339
342
|
storageSize?: number;
|
|
340
343
|
storageType?: string;
|
|
341
344
|
tag?: CreateDBInstanceRequestTag[];
|
|
@@ -354,6 +357,7 @@ export class CreateDBInstanceRequest extends $tea.Model {
|
|
|
354
357
|
DBInstanceMode: 'DBInstanceMode',
|
|
355
358
|
engine: 'Engine',
|
|
356
359
|
engineVersion: 'EngineVersion',
|
|
360
|
+
idleTime: 'IdleTime',
|
|
357
361
|
instanceNetworkType: 'InstanceNetworkType',
|
|
358
362
|
instanceSpec: 'InstanceSpec',
|
|
359
363
|
masterNodeNum: 'MasterNodeNum',
|
|
@@ -366,6 +370,8 @@ export class CreateDBInstanceRequest extends $tea.Model {
|
|
|
366
370
|
securityIPList: 'SecurityIPList',
|
|
367
371
|
segNodeNum: 'SegNodeNum',
|
|
368
372
|
segStorageType: 'SegStorageType',
|
|
373
|
+
serverlessMode: 'ServerlessMode',
|
|
374
|
+
serverlessResource: 'ServerlessResource',
|
|
369
375
|
storageSize: 'StorageSize',
|
|
370
376
|
storageType: 'StorageType',
|
|
371
377
|
tag: 'Tag',
|
|
@@ -387,6 +393,7 @@ export class CreateDBInstanceRequest extends $tea.Model {
|
|
|
387
393
|
DBInstanceMode: 'string',
|
|
388
394
|
engine: 'string',
|
|
389
395
|
engineVersion: 'string',
|
|
396
|
+
idleTime: 'number',
|
|
390
397
|
instanceNetworkType: 'string',
|
|
391
398
|
instanceSpec: 'string',
|
|
392
399
|
masterNodeNum: 'string',
|
|
@@ -399,6 +406,8 @@ export class CreateDBInstanceRequest extends $tea.Model {
|
|
|
399
406
|
securityIPList: 'string',
|
|
400
407
|
segNodeNum: 'string',
|
|
401
408
|
segStorageType: 'string',
|
|
409
|
+
serverlessMode: 'string',
|
|
410
|
+
serverlessResource: 'number',
|
|
402
411
|
storageSize: 'number',
|
|
403
412
|
storageType: 'string',
|
|
404
413
|
tag: { 'type': 'array', 'itemType': CreateDBInstanceRequestTag },
|
|
@@ -5304,6 +5313,180 @@ export class DescribeUserEncryptionKeyListResponse extends $tea.Model {
|
|
|
5304
5313
|
}
|
|
5305
5314
|
}
|
|
5306
5315
|
|
|
5316
|
+
export class DescribeWaitingSQLInfoRequest extends $tea.Model {
|
|
5317
|
+
DBInstanceId?: string;
|
|
5318
|
+
database?: string;
|
|
5319
|
+
PID?: string;
|
|
5320
|
+
static names(): { [key: string]: string } {
|
|
5321
|
+
return {
|
|
5322
|
+
DBInstanceId: 'DBInstanceId',
|
|
5323
|
+
database: 'Database',
|
|
5324
|
+
PID: 'PID',
|
|
5325
|
+
};
|
|
5326
|
+
}
|
|
5327
|
+
|
|
5328
|
+
static types(): { [key: string]: any } {
|
|
5329
|
+
return {
|
|
5330
|
+
DBInstanceId: 'string',
|
|
5331
|
+
database: 'string',
|
|
5332
|
+
PID: 'string',
|
|
5333
|
+
};
|
|
5334
|
+
}
|
|
5335
|
+
|
|
5336
|
+
constructor(map?: { [key: string]: any }) {
|
|
5337
|
+
super(map);
|
|
5338
|
+
}
|
|
5339
|
+
}
|
|
5340
|
+
|
|
5341
|
+
export class DescribeWaitingSQLInfoResponseBody extends $tea.Model {
|
|
5342
|
+
database?: string;
|
|
5343
|
+
items?: DescribeWaitingSQLInfoResponseBodyItems[];
|
|
5344
|
+
requestId?: string;
|
|
5345
|
+
static names(): { [key: string]: string } {
|
|
5346
|
+
return {
|
|
5347
|
+
database: 'Database',
|
|
5348
|
+
items: 'Items',
|
|
5349
|
+
requestId: 'RequestId',
|
|
5350
|
+
};
|
|
5351
|
+
}
|
|
5352
|
+
|
|
5353
|
+
static types(): { [key: string]: any } {
|
|
5354
|
+
return {
|
|
5355
|
+
database: 'string',
|
|
5356
|
+
items: { 'type': 'array', 'itemType': DescribeWaitingSQLInfoResponseBodyItems },
|
|
5357
|
+
requestId: 'string',
|
|
5358
|
+
};
|
|
5359
|
+
}
|
|
5360
|
+
|
|
5361
|
+
constructor(map?: { [key: string]: any }) {
|
|
5362
|
+
super(map);
|
|
5363
|
+
}
|
|
5364
|
+
}
|
|
5365
|
+
|
|
5366
|
+
export class DescribeWaitingSQLInfoResponse extends $tea.Model {
|
|
5367
|
+
headers: { [key: string]: string };
|
|
5368
|
+
statusCode: number;
|
|
5369
|
+
body: DescribeWaitingSQLInfoResponseBody;
|
|
5370
|
+
static names(): { [key: string]: string } {
|
|
5371
|
+
return {
|
|
5372
|
+
headers: 'headers',
|
|
5373
|
+
statusCode: 'statusCode',
|
|
5374
|
+
body: 'body',
|
|
5375
|
+
};
|
|
5376
|
+
}
|
|
5377
|
+
|
|
5378
|
+
static types(): { [key: string]: any } {
|
|
5379
|
+
return {
|
|
5380
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
5381
|
+
statusCode: 'number',
|
|
5382
|
+
body: DescribeWaitingSQLInfoResponseBody,
|
|
5383
|
+
};
|
|
5384
|
+
}
|
|
5385
|
+
|
|
5386
|
+
constructor(map?: { [key: string]: any }) {
|
|
5387
|
+
super(map);
|
|
5388
|
+
}
|
|
5389
|
+
}
|
|
5390
|
+
|
|
5391
|
+
export class DescribeWaitingSQLRecordsRequest extends $tea.Model {
|
|
5392
|
+
DBInstanceId?: string;
|
|
5393
|
+
database?: string;
|
|
5394
|
+
endTime?: string;
|
|
5395
|
+
keyword?: string;
|
|
5396
|
+
order?: string;
|
|
5397
|
+
pageNumber?: number;
|
|
5398
|
+
pageSize?: number;
|
|
5399
|
+
queryCondition?: string;
|
|
5400
|
+
startTime?: string;
|
|
5401
|
+
user?: string;
|
|
5402
|
+
static names(): { [key: string]: string } {
|
|
5403
|
+
return {
|
|
5404
|
+
DBInstanceId: 'DBInstanceId',
|
|
5405
|
+
database: 'Database',
|
|
5406
|
+
endTime: 'EndTime',
|
|
5407
|
+
keyword: 'Keyword',
|
|
5408
|
+
order: 'Order',
|
|
5409
|
+
pageNumber: 'PageNumber',
|
|
5410
|
+
pageSize: 'PageSize',
|
|
5411
|
+
queryCondition: 'QueryCondition',
|
|
5412
|
+
startTime: 'StartTime',
|
|
5413
|
+
user: 'User',
|
|
5414
|
+
};
|
|
5415
|
+
}
|
|
5416
|
+
|
|
5417
|
+
static types(): { [key: string]: any } {
|
|
5418
|
+
return {
|
|
5419
|
+
DBInstanceId: 'string',
|
|
5420
|
+
database: 'string',
|
|
5421
|
+
endTime: 'string',
|
|
5422
|
+
keyword: 'string',
|
|
5423
|
+
order: 'string',
|
|
5424
|
+
pageNumber: 'number',
|
|
5425
|
+
pageSize: 'number',
|
|
5426
|
+
queryCondition: 'string',
|
|
5427
|
+
startTime: 'string',
|
|
5428
|
+
user: 'string',
|
|
5429
|
+
};
|
|
5430
|
+
}
|
|
5431
|
+
|
|
5432
|
+
constructor(map?: { [key: string]: any }) {
|
|
5433
|
+
super(map);
|
|
5434
|
+
}
|
|
5435
|
+
}
|
|
5436
|
+
|
|
5437
|
+
export class DescribeWaitingSQLRecordsResponseBody extends $tea.Model {
|
|
5438
|
+
items?: DescribeWaitingSQLRecordsResponseBodyItems[];
|
|
5439
|
+
pageNumber?: number;
|
|
5440
|
+
requestId?: string;
|
|
5441
|
+
totalCount?: number;
|
|
5442
|
+
static names(): { [key: string]: string } {
|
|
5443
|
+
return {
|
|
5444
|
+
items: 'Items',
|
|
5445
|
+
pageNumber: 'PageNumber',
|
|
5446
|
+
requestId: 'RequestId',
|
|
5447
|
+
totalCount: 'TotalCount',
|
|
5448
|
+
};
|
|
5449
|
+
}
|
|
5450
|
+
|
|
5451
|
+
static types(): { [key: string]: any } {
|
|
5452
|
+
return {
|
|
5453
|
+
items: { 'type': 'array', 'itemType': DescribeWaitingSQLRecordsResponseBodyItems },
|
|
5454
|
+
pageNumber: 'number',
|
|
5455
|
+
requestId: 'string',
|
|
5456
|
+
totalCount: 'number',
|
|
5457
|
+
};
|
|
5458
|
+
}
|
|
5459
|
+
|
|
5460
|
+
constructor(map?: { [key: string]: any }) {
|
|
5461
|
+
super(map);
|
|
5462
|
+
}
|
|
5463
|
+
}
|
|
5464
|
+
|
|
5465
|
+
export class DescribeWaitingSQLRecordsResponse extends $tea.Model {
|
|
5466
|
+
headers: { [key: string]: string };
|
|
5467
|
+
statusCode: number;
|
|
5468
|
+
body: DescribeWaitingSQLRecordsResponseBody;
|
|
5469
|
+
static names(): { [key: string]: string } {
|
|
5470
|
+
return {
|
|
5471
|
+
headers: 'headers',
|
|
5472
|
+
statusCode: 'statusCode',
|
|
5473
|
+
body: 'body',
|
|
5474
|
+
};
|
|
5475
|
+
}
|
|
5476
|
+
|
|
5477
|
+
static types(): { [key: string]: any } {
|
|
5478
|
+
return {
|
|
5479
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
5480
|
+
statusCode: 'number',
|
|
5481
|
+
body: DescribeWaitingSQLRecordsResponseBody,
|
|
5482
|
+
};
|
|
5483
|
+
}
|
|
5484
|
+
|
|
5485
|
+
constructor(map?: { [key: string]: any }) {
|
|
5486
|
+
super(map);
|
|
5487
|
+
}
|
|
5488
|
+
}
|
|
5489
|
+
|
|
5307
5490
|
export class DownloadDiagnosisRecordsRequest extends $tea.Model {
|
|
5308
5491
|
DBInstanceId?: string;
|
|
5309
5492
|
database?: string;
|
|
@@ -7700,6 +7883,7 @@ export class DescribeAvailableResourcesResponseBodyResourcesSupportedEnginesSupp
|
|
|
7700
7883
|
}
|
|
7701
7884
|
|
|
7702
7885
|
export class DescribeAvailableResourcesResponseBodyResourcesSupportedEnginesSupportedInstanceClasses extends $tea.Model {
|
|
7886
|
+
category?: string;
|
|
7703
7887
|
description?: string;
|
|
7704
7888
|
displayClass?: string;
|
|
7705
7889
|
instanceClass?: string;
|
|
@@ -7708,6 +7892,7 @@ export class DescribeAvailableResourcesResponseBodyResourcesSupportedEnginesSupp
|
|
|
7708
7892
|
storageType?: string;
|
|
7709
7893
|
static names(): { [key: string]: string } {
|
|
7710
7894
|
return {
|
|
7895
|
+
category: 'Category',
|
|
7711
7896
|
description: 'Description',
|
|
7712
7897
|
displayClass: 'DisplayClass',
|
|
7713
7898
|
instanceClass: 'InstanceClass',
|
|
@@ -7719,6 +7904,7 @@ export class DescribeAvailableResourcesResponseBodyResourcesSupportedEnginesSupp
|
|
|
7719
7904
|
|
|
7720
7905
|
static types(): { [key: string]: any } {
|
|
7721
7906
|
return {
|
|
7907
|
+
category: 'string',
|
|
7722
7908
|
description: 'string',
|
|
7723
7909
|
displayClass: 'string',
|
|
7724
7910
|
instanceClass: 'string',
|
|
@@ -7936,6 +8122,7 @@ export class DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute ext
|
|
|
7936
8122
|
engineVersion?: string;
|
|
7937
8123
|
expireTime?: string;
|
|
7938
8124
|
hostType?: string;
|
|
8125
|
+
idleTime?: number;
|
|
7939
8126
|
instanceNetworkType?: string;
|
|
7940
8127
|
lockMode?: string;
|
|
7941
8128
|
lockReason?: string;
|
|
@@ -7956,6 +8143,8 @@ export class DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute ext
|
|
|
7956
8143
|
securityIPList?: string;
|
|
7957
8144
|
segNodeNum?: number;
|
|
7958
8145
|
segmentCounts?: number;
|
|
8146
|
+
serverlessMode?: string;
|
|
8147
|
+
serverlessResource?: number;
|
|
7959
8148
|
startTime?: string;
|
|
7960
8149
|
storagePerNode?: number;
|
|
7961
8150
|
storageSize?: number;
|
|
@@ -7994,6 +8183,7 @@ export class DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute ext
|
|
|
7994
8183
|
engineVersion: 'EngineVersion',
|
|
7995
8184
|
expireTime: 'ExpireTime',
|
|
7996
8185
|
hostType: 'HostType',
|
|
8186
|
+
idleTime: 'IdleTime',
|
|
7997
8187
|
instanceNetworkType: 'InstanceNetworkType',
|
|
7998
8188
|
lockMode: 'LockMode',
|
|
7999
8189
|
lockReason: 'LockReason',
|
|
@@ -8014,6 +8204,8 @@ export class DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute ext
|
|
|
8014
8204
|
securityIPList: 'SecurityIPList',
|
|
8015
8205
|
segNodeNum: 'SegNodeNum',
|
|
8016
8206
|
segmentCounts: 'SegmentCounts',
|
|
8207
|
+
serverlessMode: 'ServerlessMode',
|
|
8208
|
+
serverlessResource: 'ServerlessResource',
|
|
8017
8209
|
startTime: 'StartTime',
|
|
8018
8210
|
storagePerNode: 'StoragePerNode',
|
|
8019
8211
|
storageSize: 'StorageSize',
|
|
@@ -8055,6 +8247,7 @@ export class DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute ext
|
|
|
8055
8247
|
engineVersion: 'string',
|
|
8056
8248
|
expireTime: 'string',
|
|
8057
8249
|
hostType: 'string',
|
|
8250
|
+
idleTime: 'number',
|
|
8058
8251
|
instanceNetworkType: 'string',
|
|
8059
8252
|
lockMode: 'string',
|
|
8060
8253
|
lockReason: 'string',
|
|
@@ -8075,6 +8268,8 @@ export class DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute ext
|
|
|
8075
8268
|
securityIPList: 'string',
|
|
8076
8269
|
segNodeNum: 'number',
|
|
8077
8270
|
segmentCounts: 'number',
|
|
8271
|
+
serverlessMode: 'string',
|
|
8272
|
+
serverlessResource: 'number',
|
|
8078
8273
|
startTime: 'string',
|
|
8079
8274
|
storagePerNode: 'number',
|
|
8080
8275
|
storageSize: 'number',
|
|
@@ -8869,6 +9064,7 @@ export class DescribeDBInstancesResponseBodyItemsDBInstance extends $tea.Model {
|
|
|
8869
9064
|
regionId?: string;
|
|
8870
9065
|
resourceGroupId?: string;
|
|
8871
9066
|
segNodeNum?: string;
|
|
9067
|
+
serverlessMode?: string;
|
|
8872
9068
|
storageSize?: string;
|
|
8873
9069
|
storageType?: string;
|
|
8874
9070
|
tags?: DescribeDBInstancesResponseBodyItemsDBInstanceTags;
|
|
@@ -8897,6 +9093,7 @@ export class DescribeDBInstancesResponseBodyItemsDBInstance extends $tea.Model {
|
|
|
8897
9093
|
regionId: 'RegionId',
|
|
8898
9094
|
resourceGroupId: 'ResourceGroupId',
|
|
8899
9095
|
segNodeNum: 'SegNodeNum',
|
|
9096
|
+
serverlessMode: 'ServerlessMode',
|
|
8900
9097
|
storageSize: 'StorageSize',
|
|
8901
9098
|
storageType: 'StorageType',
|
|
8902
9099
|
tags: 'Tags',
|
|
@@ -8928,6 +9125,7 @@ export class DescribeDBInstancesResponseBodyItemsDBInstance extends $tea.Model {
|
|
|
8928
9125
|
regionId: 'string',
|
|
8929
9126
|
resourceGroupId: 'string',
|
|
8930
9127
|
segNodeNum: 'string',
|
|
9128
|
+
serverlessMode: 'string',
|
|
8931
9129
|
storageSize: 'string',
|
|
8932
9130
|
storageType: 'string',
|
|
8933
9131
|
tags: DescribeDBInstancesResponseBodyItemsDBInstanceTags,
|
|
@@ -10535,6 +10733,92 @@ export class DescribeUserEncryptionKeyListResponseBodyKmsKeys extends $tea.Model
|
|
|
10535
10733
|
}
|
|
10536
10734
|
}
|
|
10537
10735
|
|
|
10736
|
+
export class DescribeWaitingSQLInfoResponseBodyItems extends $tea.Model {
|
|
10737
|
+
application?: string;
|
|
10738
|
+
blockedByApplication?: string;
|
|
10739
|
+
blockedByPID?: string;
|
|
10740
|
+
blockedBySQLStmt?: string;
|
|
10741
|
+
blockedByUser?: string;
|
|
10742
|
+
grantLocks?: string;
|
|
10743
|
+
notGrantLocks?: string;
|
|
10744
|
+
PID?: string;
|
|
10745
|
+
SQLStmt?: string;
|
|
10746
|
+
user?: string;
|
|
10747
|
+
static names(): { [key: string]: string } {
|
|
10748
|
+
return {
|
|
10749
|
+
application: 'Application',
|
|
10750
|
+
blockedByApplication: 'BlockedByApplication',
|
|
10751
|
+
blockedByPID: 'BlockedByPID',
|
|
10752
|
+
blockedBySQLStmt: 'BlockedBySQLStmt',
|
|
10753
|
+
blockedByUser: 'BlockedByUser',
|
|
10754
|
+
grantLocks: 'GrantLocks',
|
|
10755
|
+
notGrantLocks: 'NotGrantLocks',
|
|
10756
|
+
PID: 'PID',
|
|
10757
|
+
SQLStmt: 'SQLStmt',
|
|
10758
|
+
user: 'User',
|
|
10759
|
+
};
|
|
10760
|
+
}
|
|
10761
|
+
|
|
10762
|
+
static types(): { [key: string]: any } {
|
|
10763
|
+
return {
|
|
10764
|
+
application: 'string',
|
|
10765
|
+
blockedByApplication: 'string',
|
|
10766
|
+
blockedByPID: 'string',
|
|
10767
|
+
blockedBySQLStmt: 'string',
|
|
10768
|
+
blockedByUser: 'string',
|
|
10769
|
+
grantLocks: 'string',
|
|
10770
|
+
notGrantLocks: 'string',
|
|
10771
|
+
PID: 'string',
|
|
10772
|
+
SQLStmt: 'string',
|
|
10773
|
+
user: 'string',
|
|
10774
|
+
};
|
|
10775
|
+
}
|
|
10776
|
+
|
|
10777
|
+
constructor(map?: { [key: string]: any }) {
|
|
10778
|
+
super(map);
|
|
10779
|
+
}
|
|
10780
|
+
}
|
|
10781
|
+
|
|
10782
|
+
export class DescribeWaitingSQLRecordsResponseBodyItems extends $tea.Model {
|
|
10783
|
+
database?: string;
|
|
10784
|
+
PID?: string;
|
|
10785
|
+
SQLStmt?: string;
|
|
10786
|
+
sessionID?: string;
|
|
10787
|
+
startTime?: number;
|
|
10788
|
+
status?: string;
|
|
10789
|
+
user?: string;
|
|
10790
|
+
waitingTime?: number;
|
|
10791
|
+
static names(): { [key: string]: string } {
|
|
10792
|
+
return {
|
|
10793
|
+
database: 'Database',
|
|
10794
|
+
PID: 'PID',
|
|
10795
|
+
SQLStmt: 'SQLStmt',
|
|
10796
|
+
sessionID: 'SessionID',
|
|
10797
|
+
startTime: 'StartTime',
|
|
10798
|
+
status: 'Status',
|
|
10799
|
+
user: 'User',
|
|
10800
|
+
waitingTime: 'WaitingTime',
|
|
10801
|
+
};
|
|
10802
|
+
}
|
|
10803
|
+
|
|
10804
|
+
static types(): { [key: string]: any } {
|
|
10805
|
+
return {
|
|
10806
|
+
database: 'string',
|
|
10807
|
+
PID: 'string',
|
|
10808
|
+
SQLStmt: 'string',
|
|
10809
|
+
sessionID: 'string',
|
|
10810
|
+
startTime: 'number',
|
|
10811
|
+
status: 'string',
|
|
10812
|
+
user: 'string',
|
|
10813
|
+
waitingTime: 'number',
|
|
10814
|
+
};
|
|
10815
|
+
}
|
|
10816
|
+
|
|
10817
|
+
constructor(map?: { [key: string]: any }) {
|
|
10818
|
+
super(map);
|
|
10819
|
+
}
|
|
10820
|
+
}
|
|
10821
|
+
|
|
10538
10822
|
export class ListTagResourcesRequestTag extends $tea.Model {
|
|
10539
10823
|
key?: string;
|
|
10540
10824
|
value?: string;
|
|
@@ -10875,6 +11159,10 @@ export default class Client extends OpenApi {
|
|
|
10875
11159
|
query["EngineVersion"] = request.engineVersion;
|
|
10876
11160
|
}
|
|
10877
11161
|
|
|
11162
|
+
if (!Util.isUnset(request.idleTime)) {
|
|
11163
|
+
query["IdleTime"] = request.idleTime;
|
|
11164
|
+
}
|
|
11165
|
+
|
|
10878
11166
|
if (!Util.isUnset(request.instanceNetworkType)) {
|
|
10879
11167
|
query["InstanceNetworkType"] = request.instanceNetworkType;
|
|
10880
11168
|
}
|
|
@@ -10923,6 +11211,14 @@ export default class Client extends OpenApi {
|
|
|
10923
11211
|
query["SegStorageType"] = request.segStorageType;
|
|
10924
11212
|
}
|
|
10925
11213
|
|
|
11214
|
+
if (!Util.isUnset(request.serverlessMode)) {
|
|
11215
|
+
query["ServerlessMode"] = request.serverlessMode;
|
|
11216
|
+
}
|
|
11217
|
+
|
|
11218
|
+
if (!Util.isUnset(request.serverlessResource)) {
|
|
11219
|
+
query["ServerlessResource"] = request.serverlessResource;
|
|
11220
|
+
}
|
|
11221
|
+
|
|
10926
11222
|
if (!Util.isUnset(request.storageSize)) {
|
|
10927
11223
|
query["StorageSize"] = request.storageSize;
|
|
10928
11224
|
}
|
|
@@ -13623,6 +13919,108 @@ export default class Client extends OpenApi {
|
|
|
13623
13919
|
return await this.describeUserEncryptionKeyListWithOptions(request, runtime);
|
|
13624
13920
|
}
|
|
13625
13921
|
|
|
13922
|
+
async describeWaitingSQLInfoWithOptions(request: DescribeWaitingSQLInfoRequest, runtime: $Util.RuntimeOptions): Promise<DescribeWaitingSQLInfoResponse> {
|
|
13923
|
+
Util.validateModel(request);
|
|
13924
|
+
let query = { };
|
|
13925
|
+
if (!Util.isUnset(request.DBInstanceId)) {
|
|
13926
|
+
query["DBInstanceId"] = request.DBInstanceId;
|
|
13927
|
+
}
|
|
13928
|
+
|
|
13929
|
+
if (!Util.isUnset(request.database)) {
|
|
13930
|
+
query["Database"] = request.database;
|
|
13931
|
+
}
|
|
13932
|
+
|
|
13933
|
+
if (!Util.isUnset(request.PID)) {
|
|
13934
|
+
query["PID"] = request.PID;
|
|
13935
|
+
}
|
|
13936
|
+
|
|
13937
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
13938
|
+
query: OpenApiUtil.query(query),
|
|
13939
|
+
});
|
|
13940
|
+
let params = new $OpenApi.Params({
|
|
13941
|
+
action: "DescribeWaitingSQLInfo",
|
|
13942
|
+
version: "2016-05-03",
|
|
13943
|
+
protocol: "HTTPS",
|
|
13944
|
+
pathname: "/",
|
|
13945
|
+
method: "POST",
|
|
13946
|
+
authType: "AK",
|
|
13947
|
+
style: "RPC",
|
|
13948
|
+
reqBodyType: "formData",
|
|
13949
|
+
bodyType: "json",
|
|
13950
|
+
});
|
|
13951
|
+
return $tea.cast<DescribeWaitingSQLInfoResponse>(await this.callApi(params, req, runtime), new DescribeWaitingSQLInfoResponse({}));
|
|
13952
|
+
}
|
|
13953
|
+
|
|
13954
|
+
async describeWaitingSQLInfo(request: DescribeWaitingSQLInfoRequest): Promise<DescribeWaitingSQLInfoResponse> {
|
|
13955
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
13956
|
+
return await this.describeWaitingSQLInfoWithOptions(request, runtime);
|
|
13957
|
+
}
|
|
13958
|
+
|
|
13959
|
+
async describeWaitingSQLRecordsWithOptions(request: DescribeWaitingSQLRecordsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeWaitingSQLRecordsResponse> {
|
|
13960
|
+
Util.validateModel(request);
|
|
13961
|
+
let query = { };
|
|
13962
|
+
if (!Util.isUnset(request.DBInstanceId)) {
|
|
13963
|
+
query["DBInstanceId"] = request.DBInstanceId;
|
|
13964
|
+
}
|
|
13965
|
+
|
|
13966
|
+
if (!Util.isUnset(request.database)) {
|
|
13967
|
+
query["Database"] = request.database;
|
|
13968
|
+
}
|
|
13969
|
+
|
|
13970
|
+
if (!Util.isUnset(request.endTime)) {
|
|
13971
|
+
query["EndTime"] = request.endTime;
|
|
13972
|
+
}
|
|
13973
|
+
|
|
13974
|
+
if (!Util.isUnset(request.keyword)) {
|
|
13975
|
+
query["Keyword"] = request.keyword;
|
|
13976
|
+
}
|
|
13977
|
+
|
|
13978
|
+
if (!Util.isUnset(request.order)) {
|
|
13979
|
+
query["Order"] = request.order;
|
|
13980
|
+
}
|
|
13981
|
+
|
|
13982
|
+
if (!Util.isUnset(request.pageNumber)) {
|
|
13983
|
+
query["PageNumber"] = request.pageNumber;
|
|
13984
|
+
}
|
|
13985
|
+
|
|
13986
|
+
if (!Util.isUnset(request.pageSize)) {
|
|
13987
|
+
query["PageSize"] = request.pageSize;
|
|
13988
|
+
}
|
|
13989
|
+
|
|
13990
|
+
if (!Util.isUnset(request.queryCondition)) {
|
|
13991
|
+
query["QueryCondition"] = request.queryCondition;
|
|
13992
|
+
}
|
|
13993
|
+
|
|
13994
|
+
if (!Util.isUnset(request.startTime)) {
|
|
13995
|
+
query["StartTime"] = request.startTime;
|
|
13996
|
+
}
|
|
13997
|
+
|
|
13998
|
+
if (!Util.isUnset(request.user)) {
|
|
13999
|
+
query["User"] = request.user;
|
|
14000
|
+
}
|
|
14001
|
+
|
|
14002
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
14003
|
+
query: OpenApiUtil.query(query),
|
|
14004
|
+
});
|
|
14005
|
+
let params = new $OpenApi.Params({
|
|
14006
|
+
action: "DescribeWaitingSQLRecords",
|
|
14007
|
+
version: "2016-05-03",
|
|
14008
|
+
protocol: "HTTPS",
|
|
14009
|
+
pathname: "/",
|
|
14010
|
+
method: "POST",
|
|
14011
|
+
authType: "AK",
|
|
14012
|
+
style: "RPC",
|
|
14013
|
+
reqBodyType: "formData",
|
|
14014
|
+
bodyType: "json",
|
|
14015
|
+
});
|
|
14016
|
+
return $tea.cast<DescribeWaitingSQLRecordsResponse>(await this.callApi(params, req, runtime), new DescribeWaitingSQLRecordsResponse({}));
|
|
14017
|
+
}
|
|
14018
|
+
|
|
14019
|
+
async describeWaitingSQLRecords(request: DescribeWaitingSQLRecordsRequest): Promise<DescribeWaitingSQLRecordsResponse> {
|
|
14020
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
14021
|
+
return await this.describeWaitingSQLRecordsWithOptions(request, runtime);
|
|
14022
|
+
}
|
|
14023
|
+
|
|
13626
14024
|
async downloadDiagnosisRecordsWithOptions(request: DownloadDiagnosisRecordsRequest, runtime: $Util.RuntimeOptions): Promise<DownloadDiagnosisRecordsResponse> {
|
|
13627
14025
|
Util.validateModel(request);
|
|
13628
14026
|
let query = { };
|