@alicloud/rds20140815 2.3.5 → 2.3.6
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 +244 -0
- package/dist/client.js +543 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +688 -0
package/src/client.ts
CHANGED
|
@@ -3772,6 +3772,99 @@ export class CreateParameterGroupResponse extends $tea.Model {
|
|
|
3772
3772
|
}
|
|
3773
3773
|
}
|
|
3774
3774
|
|
|
3775
|
+
export class CreatePostgresExtensionsRequest extends $tea.Model {
|
|
3776
|
+
accountName?: string;
|
|
3777
|
+
clientToken?: string;
|
|
3778
|
+
DBInstanceId?: string;
|
|
3779
|
+
DBNames?: string;
|
|
3780
|
+
extensions?: string;
|
|
3781
|
+
ownerAccount?: string;
|
|
3782
|
+
ownerId?: number;
|
|
3783
|
+
resourceGroupId?: string;
|
|
3784
|
+
resourceOwnerAccount?: string;
|
|
3785
|
+
resourceOwnerId?: number;
|
|
3786
|
+
sourceDatabase?: string;
|
|
3787
|
+
static names(): { [key: string]: string } {
|
|
3788
|
+
return {
|
|
3789
|
+
accountName: 'AccountName',
|
|
3790
|
+
clientToken: 'ClientToken',
|
|
3791
|
+
DBInstanceId: 'DBInstanceId',
|
|
3792
|
+
DBNames: 'DBNames',
|
|
3793
|
+
extensions: 'Extensions',
|
|
3794
|
+
ownerAccount: 'OwnerAccount',
|
|
3795
|
+
ownerId: 'OwnerId',
|
|
3796
|
+
resourceGroupId: 'ResourceGroupId',
|
|
3797
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
3798
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
3799
|
+
sourceDatabase: 'SourceDatabase',
|
|
3800
|
+
};
|
|
3801
|
+
}
|
|
3802
|
+
|
|
3803
|
+
static types(): { [key: string]: any } {
|
|
3804
|
+
return {
|
|
3805
|
+
accountName: 'string',
|
|
3806
|
+
clientToken: 'string',
|
|
3807
|
+
DBInstanceId: 'string',
|
|
3808
|
+
DBNames: 'string',
|
|
3809
|
+
extensions: 'string',
|
|
3810
|
+
ownerAccount: 'string',
|
|
3811
|
+
ownerId: 'number',
|
|
3812
|
+
resourceGroupId: 'string',
|
|
3813
|
+
resourceOwnerAccount: 'string',
|
|
3814
|
+
resourceOwnerId: 'number',
|
|
3815
|
+
sourceDatabase: 'string',
|
|
3816
|
+
};
|
|
3817
|
+
}
|
|
3818
|
+
|
|
3819
|
+
constructor(map?: { [key: string]: any }) {
|
|
3820
|
+
super(map);
|
|
3821
|
+
}
|
|
3822
|
+
}
|
|
3823
|
+
|
|
3824
|
+
export class CreatePostgresExtensionsResponseBody extends $tea.Model {
|
|
3825
|
+
requestId?: string;
|
|
3826
|
+
static names(): { [key: string]: string } {
|
|
3827
|
+
return {
|
|
3828
|
+
requestId: 'RequestId',
|
|
3829
|
+
};
|
|
3830
|
+
}
|
|
3831
|
+
|
|
3832
|
+
static types(): { [key: string]: any } {
|
|
3833
|
+
return {
|
|
3834
|
+
requestId: 'string',
|
|
3835
|
+
};
|
|
3836
|
+
}
|
|
3837
|
+
|
|
3838
|
+
constructor(map?: { [key: string]: any }) {
|
|
3839
|
+
super(map);
|
|
3840
|
+
}
|
|
3841
|
+
}
|
|
3842
|
+
|
|
3843
|
+
export class CreatePostgresExtensionsResponse extends $tea.Model {
|
|
3844
|
+
headers: { [key: string]: string };
|
|
3845
|
+
statusCode: number;
|
|
3846
|
+
body: CreatePostgresExtensionsResponseBody;
|
|
3847
|
+
static names(): { [key: string]: string } {
|
|
3848
|
+
return {
|
|
3849
|
+
headers: 'headers',
|
|
3850
|
+
statusCode: 'statusCode',
|
|
3851
|
+
body: 'body',
|
|
3852
|
+
};
|
|
3853
|
+
}
|
|
3854
|
+
|
|
3855
|
+
static types(): { [key: string]: any } {
|
|
3856
|
+
return {
|
|
3857
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3858
|
+
statusCode: 'number',
|
|
3859
|
+
body: CreatePostgresExtensionsResponseBody,
|
|
3860
|
+
};
|
|
3861
|
+
}
|
|
3862
|
+
|
|
3863
|
+
constructor(map?: { [key: string]: any }) {
|
|
3864
|
+
super(map);
|
|
3865
|
+
}
|
|
3866
|
+
}
|
|
3867
|
+
|
|
3775
3868
|
export class CreateReadOnlyDBInstanceRequest extends $tea.Model {
|
|
3776
3869
|
autoPay?: boolean;
|
|
3777
3870
|
autoRenew?: string;
|
|
@@ -5180,6 +5273,93 @@ export class DeleteParameterGroupResponse extends $tea.Model {
|
|
|
5180
5273
|
}
|
|
5181
5274
|
}
|
|
5182
5275
|
|
|
5276
|
+
export class DeletePostgresExtensionsRequest extends $tea.Model {
|
|
5277
|
+
clientToken?: string;
|
|
5278
|
+
DBInstanceId?: string;
|
|
5279
|
+
DBNames?: string;
|
|
5280
|
+
extensions?: string;
|
|
5281
|
+
ownerAccount?: string;
|
|
5282
|
+
ownerId?: number;
|
|
5283
|
+
resourceGroupId?: string;
|
|
5284
|
+
resourceOwnerAccount?: string;
|
|
5285
|
+
resourceOwnerId?: number;
|
|
5286
|
+
static names(): { [key: string]: string } {
|
|
5287
|
+
return {
|
|
5288
|
+
clientToken: 'ClientToken',
|
|
5289
|
+
DBInstanceId: 'DBInstanceId',
|
|
5290
|
+
DBNames: 'DBNames',
|
|
5291
|
+
extensions: 'Extensions',
|
|
5292
|
+
ownerAccount: 'OwnerAccount',
|
|
5293
|
+
ownerId: 'OwnerId',
|
|
5294
|
+
resourceGroupId: 'ResourceGroupId',
|
|
5295
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
5296
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
5297
|
+
};
|
|
5298
|
+
}
|
|
5299
|
+
|
|
5300
|
+
static types(): { [key: string]: any } {
|
|
5301
|
+
return {
|
|
5302
|
+
clientToken: 'string',
|
|
5303
|
+
DBInstanceId: 'string',
|
|
5304
|
+
DBNames: 'string',
|
|
5305
|
+
extensions: 'string',
|
|
5306
|
+
ownerAccount: 'string',
|
|
5307
|
+
ownerId: 'number',
|
|
5308
|
+
resourceGroupId: 'string',
|
|
5309
|
+
resourceOwnerAccount: 'string',
|
|
5310
|
+
resourceOwnerId: 'number',
|
|
5311
|
+
};
|
|
5312
|
+
}
|
|
5313
|
+
|
|
5314
|
+
constructor(map?: { [key: string]: any }) {
|
|
5315
|
+
super(map);
|
|
5316
|
+
}
|
|
5317
|
+
}
|
|
5318
|
+
|
|
5319
|
+
export class DeletePostgresExtensionsResponseBody extends $tea.Model {
|
|
5320
|
+
requestId?: string;
|
|
5321
|
+
static names(): { [key: string]: string } {
|
|
5322
|
+
return {
|
|
5323
|
+
requestId: 'RequestId',
|
|
5324
|
+
};
|
|
5325
|
+
}
|
|
5326
|
+
|
|
5327
|
+
static types(): { [key: string]: any } {
|
|
5328
|
+
return {
|
|
5329
|
+
requestId: 'string',
|
|
5330
|
+
};
|
|
5331
|
+
}
|
|
5332
|
+
|
|
5333
|
+
constructor(map?: { [key: string]: any }) {
|
|
5334
|
+
super(map);
|
|
5335
|
+
}
|
|
5336
|
+
}
|
|
5337
|
+
|
|
5338
|
+
export class DeletePostgresExtensionsResponse extends $tea.Model {
|
|
5339
|
+
headers: { [key: string]: string };
|
|
5340
|
+
statusCode: number;
|
|
5341
|
+
body: DeletePostgresExtensionsResponseBody;
|
|
5342
|
+
static names(): { [key: string]: string } {
|
|
5343
|
+
return {
|
|
5344
|
+
headers: 'headers',
|
|
5345
|
+
statusCode: 'statusCode',
|
|
5346
|
+
body: 'body',
|
|
5347
|
+
};
|
|
5348
|
+
}
|
|
5349
|
+
|
|
5350
|
+
static types(): { [key: string]: any } {
|
|
5351
|
+
return {
|
|
5352
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
5353
|
+
statusCode: 'number',
|
|
5354
|
+
body: DeletePostgresExtensionsResponseBody,
|
|
5355
|
+
};
|
|
5356
|
+
}
|
|
5357
|
+
|
|
5358
|
+
constructor(map?: { [key: string]: any }) {
|
|
5359
|
+
super(map);
|
|
5360
|
+
}
|
|
5361
|
+
}
|
|
5362
|
+
|
|
5183
5363
|
export class DeleteSecretRequest extends $tea.Model {
|
|
5184
5364
|
clientToken?: string;
|
|
5185
5365
|
dbInstanceId?: string;
|
|
@@ -13244,6 +13424,99 @@ export class DescribeParametersResponse extends $tea.Model {
|
|
|
13244
13424
|
}
|
|
13245
13425
|
}
|
|
13246
13426
|
|
|
13427
|
+
export class DescribePostgresExtensionsRequest extends $tea.Model {
|
|
13428
|
+
clientToken?: string;
|
|
13429
|
+
DBInstanceId?: string;
|
|
13430
|
+
DBName?: string;
|
|
13431
|
+
ownerAccount?: string;
|
|
13432
|
+
ownerId?: number;
|
|
13433
|
+
resourceGroupId?: string;
|
|
13434
|
+
resourceOwnerAccount?: string;
|
|
13435
|
+
resourceOwnerId?: number;
|
|
13436
|
+
static names(): { [key: string]: string } {
|
|
13437
|
+
return {
|
|
13438
|
+
clientToken: 'ClientToken',
|
|
13439
|
+
DBInstanceId: 'DBInstanceId',
|
|
13440
|
+
DBName: 'DBName',
|
|
13441
|
+
ownerAccount: 'OwnerAccount',
|
|
13442
|
+
ownerId: 'OwnerId',
|
|
13443
|
+
resourceGroupId: 'ResourceGroupId',
|
|
13444
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
13445
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
13446
|
+
};
|
|
13447
|
+
}
|
|
13448
|
+
|
|
13449
|
+
static types(): { [key: string]: any } {
|
|
13450
|
+
return {
|
|
13451
|
+
clientToken: 'string',
|
|
13452
|
+
DBInstanceId: 'string',
|
|
13453
|
+
DBName: 'string',
|
|
13454
|
+
ownerAccount: 'string',
|
|
13455
|
+
ownerId: 'number',
|
|
13456
|
+
resourceGroupId: 'string',
|
|
13457
|
+
resourceOwnerAccount: 'string',
|
|
13458
|
+
resourceOwnerId: 'number',
|
|
13459
|
+
};
|
|
13460
|
+
}
|
|
13461
|
+
|
|
13462
|
+
constructor(map?: { [key: string]: any }) {
|
|
13463
|
+
super(map);
|
|
13464
|
+
}
|
|
13465
|
+
}
|
|
13466
|
+
|
|
13467
|
+
export class DescribePostgresExtensionsResponseBody extends $tea.Model {
|
|
13468
|
+
installedExtensions?: DescribePostgresExtensionsResponseBodyInstalledExtensions[];
|
|
13469
|
+
overview?: { [key: string]: any };
|
|
13470
|
+
requestId?: string;
|
|
13471
|
+
uninstalledExtensions?: DescribePostgresExtensionsResponseBodyUninstalledExtensions[];
|
|
13472
|
+
static names(): { [key: string]: string } {
|
|
13473
|
+
return {
|
|
13474
|
+
installedExtensions: 'InstalledExtensions',
|
|
13475
|
+
overview: 'Overview',
|
|
13476
|
+
requestId: 'RequestId',
|
|
13477
|
+
uninstalledExtensions: 'UninstalledExtensions',
|
|
13478
|
+
};
|
|
13479
|
+
}
|
|
13480
|
+
|
|
13481
|
+
static types(): { [key: string]: any } {
|
|
13482
|
+
return {
|
|
13483
|
+
installedExtensions: { 'type': 'array', 'itemType': DescribePostgresExtensionsResponseBodyInstalledExtensions },
|
|
13484
|
+
overview: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
13485
|
+
requestId: 'string',
|
|
13486
|
+
uninstalledExtensions: { 'type': 'array', 'itemType': DescribePostgresExtensionsResponseBodyUninstalledExtensions },
|
|
13487
|
+
};
|
|
13488
|
+
}
|
|
13489
|
+
|
|
13490
|
+
constructor(map?: { [key: string]: any }) {
|
|
13491
|
+
super(map);
|
|
13492
|
+
}
|
|
13493
|
+
}
|
|
13494
|
+
|
|
13495
|
+
export class DescribePostgresExtensionsResponse extends $tea.Model {
|
|
13496
|
+
headers: { [key: string]: string };
|
|
13497
|
+
statusCode: number;
|
|
13498
|
+
body: DescribePostgresExtensionsResponseBody;
|
|
13499
|
+
static names(): { [key: string]: string } {
|
|
13500
|
+
return {
|
|
13501
|
+
headers: 'headers',
|
|
13502
|
+
statusCode: 'statusCode',
|
|
13503
|
+
body: 'body',
|
|
13504
|
+
};
|
|
13505
|
+
}
|
|
13506
|
+
|
|
13507
|
+
static types(): { [key: string]: any } {
|
|
13508
|
+
return {
|
|
13509
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
13510
|
+
statusCode: 'number',
|
|
13511
|
+
body: DescribePostgresExtensionsResponseBody,
|
|
13512
|
+
};
|
|
13513
|
+
}
|
|
13514
|
+
|
|
13515
|
+
constructor(map?: { [key: string]: any }) {
|
|
13516
|
+
super(map);
|
|
13517
|
+
}
|
|
13518
|
+
}
|
|
13519
|
+
|
|
13247
13520
|
export class DescribePriceRequest extends $tea.Model {
|
|
13248
13521
|
clientToken?: string;
|
|
13249
13522
|
commodityCode?: string;
|
|
@@ -23699,6 +23972,93 @@ export class UntagResourcesResponse extends $tea.Model {
|
|
|
23699
23972
|
}
|
|
23700
23973
|
}
|
|
23701
23974
|
|
|
23975
|
+
export class UpdatePostgresExtensionsRequest extends $tea.Model {
|
|
23976
|
+
clientToken?: string;
|
|
23977
|
+
DBInstanceId?: string;
|
|
23978
|
+
DBNames?: string;
|
|
23979
|
+
extensions?: string;
|
|
23980
|
+
ownerAccount?: string;
|
|
23981
|
+
ownerId?: number;
|
|
23982
|
+
resourceGroupId?: string;
|
|
23983
|
+
resourceOwnerAccount?: string;
|
|
23984
|
+
resourceOwnerId?: number;
|
|
23985
|
+
static names(): { [key: string]: string } {
|
|
23986
|
+
return {
|
|
23987
|
+
clientToken: 'ClientToken',
|
|
23988
|
+
DBInstanceId: 'DBInstanceId',
|
|
23989
|
+
DBNames: 'DBNames',
|
|
23990
|
+
extensions: 'Extensions',
|
|
23991
|
+
ownerAccount: 'OwnerAccount',
|
|
23992
|
+
ownerId: 'OwnerId',
|
|
23993
|
+
resourceGroupId: 'ResourceGroupId',
|
|
23994
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
23995
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
23996
|
+
};
|
|
23997
|
+
}
|
|
23998
|
+
|
|
23999
|
+
static types(): { [key: string]: any } {
|
|
24000
|
+
return {
|
|
24001
|
+
clientToken: 'string',
|
|
24002
|
+
DBInstanceId: 'string',
|
|
24003
|
+
DBNames: 'string',
|
|
24004
|
+
extensions: 'string',
|
|
24005
|
+
ownerAccount: 'string',
|
|
24006
|
+
ownerId: 'number',
|
|
24007
|
+
resourceGroupId: 'string',
|
|
24008
|
+
resourceOwnerAccount: 'string',
|
|
24009
|
+
resourceOwnerId: 'number',
|
|
24010
|
+
};
|
|
24011
|
+
}
|
|
24012
|
+
|
|
24013
|
+
constructor(map?: { [key: string]: any }) {
|
|
24014
|
+
super(map);
|
|
24015
|
+
}
|
|
24016
|
+
}
|
|
24017
|
+
|
|
24018
|
+
export class UpdatePostgresExtensionsResponseBody extends $tea.Model {
|
|
24019
|
+
requestId?: string;
|
|
24020
|
+
static names(): { [key: string]: string } {
|
|
24021
|
+
return {
|
|
24022
|
+
requestId: 'RequestId',
|
|
24023
|
+
};
|
|
24024
|
+
}
|
|
24025
|
+
|
|
24026
|
+
static types(): { [key: string]: any } {
|
|
24027
|
+
return {
|
|
24028
|
+
requestId: 'string',
|
|
24029
|
+
};
|
|
24030
|
+
}
|
|
24031
|
+
|
|
24032
|
+
constructor(map?: { [key: string]: any }) {
|
|
24033
|
+
super(map);
|
|
24034
|
+
}
|
|
24035
|
+
}
|
|
24036
|
+
|
|
24037
|
+
export class UpdatePostgresExtensionsResponse extends $tea.Model {
|
|
24038
|
+
headers: { [key: string]: string };
|
|
24039
|
+
statusCode: number;
|
|
24040
|
+
body: UpdatePostgresExtensionsResponseBody;
|
|
24041
|
+
static names(): { [key: string]: string } {
|
|
24042
|
+
return {
|
|
24043
|
+
headers: 'headers',
|
|
24044
|
+
statusCode: 'statusCode',
|
|
24045
|
+
body: 'body',
|
|
24046
|
+
};
|
|
24047
|
+
}
|
|
24048
|
+
|
|
24049
|
+
static types(): { [key: string]: any } {
|
|
24050
|
+
return {
|
|
24051
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
24052
|
+
statusCode: 'number',
|
|
24053
|
+
body: UpdatePostgresExtensionsResponseBody,
|
|
24054
|
+
};
|
|
24055
|
+
}
|
|
24056
|
+
|
|
24057
|
+
constructor(map?: { [key: string]: any }) {
|
|
24058
|
+
super(map);
|
|
24059
|
+
}
|
|
24060
|
+
}
|
|
24061
|
+
|
|
23702
24062
|
export class UpdateUserBackupFileRequest extends $tea.Model {
|
|
23703
24063
|
backupId?: string;
|
|
23704
24064
|
comment?: string;
|
|
@@ -30250,6 +30610,86 @@ export class DescribeParametersResponseBodyRunningParameters extends $tea.Model
|
|
|
30250
30610
|
}
|
|
30251
30611
|
}
|
|
30252
30612
|
|
|
30613
|
+
export class DescribePostgresExtensionsResponseBodyInstalledExtensions extends $tea.Model {
|
|
30614
|
+
category?: string;
|
|
30615
|
+
comment?: string;
|
|
30616
|
+
defaultVersion?: string;
|
|
30617
|
+
installedVersion?: string;
|
|
30618
|
+
name?: string;
|
|
30619
|
+
owner?: string;
|
|
30620
|
+
priority?: string;
|
|
30621
|
+
requires?: string;
|
|
30622
|
+
static names(): { [key: string]: string } {
|
|
30623
|
+
return {
|
|
30624
|
+
category: 'Category',
|
|
30625
|
+
comment: 'Comment',
|
|
30626
|
+
defaultVersion: 'DefaultVersion',
|
|
30627
|
+
installedVersion: 'InstalledVersion',
|
|
30628
|
+
name: 'Name',
|
|
30629
|
+
owner: 'Owner',
|
|
30630
|
+
priority: 'Priority',
|
|
30631
|
+
requires: 'Requires',
|
|
30632
|
+
};
|
|
30633
|
+
}
|
|
30634
|
+
|
|
30635
|
+
static types(): { [key: string]: any } {
|
|
30636
|
+
return {
|
|
30637
|
+
category: 'string',
|
|
30638
|
+
comment: 'string',
|
|
30639
|
+
defaultVersion: 'string',
|
|
30640
|
+
installedVersion: 'string',
|
|
30641
|
+
name: 'string',
|
|
30642
|
+
owner: 'string',
|
|
30643
|
+
priority: 'string',
|
|
30644
|
+
requires: 'string',
|
|
30645
|
+
};
|
|
30646
|
+
}
|
|
30647
|
+
|
|
30648
|
+
constructor(map?: { [key: string]: any }) {
|
|
30649
|
+
super(map);
|
|
30650
|
+
}
|
|
30651
|
+
}
|
|
30652
|
+
|
|
30653
|
+
export class DescribePostgresExtensionsResponseBodyUninstalledExtensions extends $tea.Model {
|
|
30654
|
+
category?: string;
|
|
30655
|
+
comment?: string;
|
|
30656
|
+
defaultVersion?: string;
|
|
30657
|
+
installedVersion?: string;
|
|
30658
|
+
name?: string;
|
|
30659
|
+
owner?: string;
|
|
30660
|
+
priority?: string;
|
|
30661
|
+
requires?: string;
|
|
30662
|
+
static names(): { [key: string]: string } {
|
|
30663
|
+
return {
|
|
30664
|
+
category: 'Category',
|
|
30665
|
+
comment: 'Comment',
|
|
30666
|
+
defaultVersion: 'DefaultVersion',
|
|
30667
|
+
installedVersion: 'InstalledVersion',
|
|
30668
|
+
name: 'Name',
|
|
30669
|
+
owner: 'Owner',
|
|
30670
|
+
priority: 'Priority',
|
|
30671
|
+
requires: 'Requires',
|
|
30672
|
+
};
|
|
30673
|
+
}
|
|
30674
|
+
|
|
30675
|
+
static types(): { [key: string]: any } {
|
|
30676
|
+
return {
|
|
30677
|
+
category: 'string',
|
|
30678
|
+
comment: 'string',
|
|
30679
|
+
defaultVersion: 'string',
|
|
30680
|
+
installedVersion: 'string',
|
|
30681
|
+
name: 'string',
|
|
30682
|
+
owner: 'string',
|
|
30683
|
+
priority: 'string',
|
|
30684
|
+
requires: 'string',
|
|
30685
|
+
};
|
|
30686
|
+
}
|
|
30687
|
+
|
|
30688
|
+
constructor(map?: { [key: string]: any }) {
|
|
30689
|
+
super(map);
|
|
30690
|
+
}
|
|
30691
|
+
}
|
|
30692
|
+
|
|
30253
30693
|
export class DescribePriceRequestDBNode extends $tea.Model {
|
|
30254
30694
|
classCode?: string;
|
|
30255
30695
|
zoneId?: string;
|
|
@@ -35491,6 +35931,75 @@ export default class Client extends OpenApi {
|
|
|
35491
35931
|
return await this.createParameterGroupWithOptions(request, runtime);
|
|
35492
35932
|
}
|
|
35493
35933
|
|
|
35934
|
+
async createPostgresExtensionsWithOptions(request: CreatePostgresExtensionsRequest, runtime: $Util.RuntimeOptions): Promise<CreatePostgresExtensionsResponse> {
|
|
35935
|
+
Util.validateModel(request);
|
|
35936
|
+
let query = { };
|
|
35937
|
+
if (!Util.isUnset(request.accountName)) {
|
|
35938
|
+
query["AccountName"] = request.accountName;
|
|
35939
|
+
}
|
|
35940
|
+
|
|
35941
|
+
if (!Util.isUnset(request.clientToken)) {
|
|
35942
|
+
query["ClientToken"] = request.clientToken;
|
|
35943
|
+
}
|
|
35944
|
+
|
|
35945
|
+
if (!Util.isUnset(request.DBInstanceId)) {
|
|
35946
|
+
query["DBInstanceId"] = request.DBInstanceId;
|
|
35947
|
+
}
|
|
35948
|
+
|
|
35949
|
+
if (!Util.isUnset(request.DBNames)) {
|
|
35950
|
+
query["DBNames"] = request.DBNames;
|
|
35951
|
+
}
|
|
35952
|
+
|
|
35953
|
+
if (!Util.isUnset(request.extensions)) {
|
|
35954
|
+
query["Extensions"] = request.extensions;
|
|
35955
|
+
}
|
|
35956
|
+
|
|
35957
|
+
if (!Util.isUnset(request.ownerAccount)) {
|
|
35958
|
+
query["OwnerAccount"] = request.ownerAccount;
|
|
35959
|
+
}
|
|
35960
|
+
|
|
35961
|
+
if (!Util.isUnset(request.ownerId)) {
|
|
35962
|
+
query["OwnerId"] = request.ownerId;
|
|
35963
|
+
}
|
|
35964
|
+
|
|
35965
|
+
if (!Util.isUnset(request.resourceGroupId)) {
|
|
35966
|
+
query["ResourceGroupId"] = request.resourceGroupId;
|
|
35967
|
+
}
|
|
35968
|
+
|
|
35969
|
+
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
35970
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
35971
|
+
}
|
|
35972
|
+
|
|
35973
|
+
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
35974
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
35975
|
+
}
|
|
35976
|
+
|
|
35977
|
+
if (!Util.isUnset(request.sourceDatabase)) {
|
|
35978
|
+
query["SourceDatabase"] = request.sourceDatabase;
|
|
35979
|
+
}
|
|
35980
|
+
|
|
35981
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
35982
|
+
query: OpenApiUtil.query(query),
|
|
35983
|
+
});
|
|
35984
|
+
let params = new $OpenApi.Params({
|
|
35985
|
+
action: "CreatePostgresExtensions",
|
|
35986
|
+
version: "2014-08-15",
|
|
35987
|
+
protocol: "HTTPS",
|
|
35988
|
+
pathname: "/",
|
|
35989
|
+
method: "POST",
|
|
35990
|
+
authType: "AK",
|
|
35991
|
+
style: "RPC",
|
|
35992
|
+
reqBodyType: "formData",
|
|
35993
|
+
bodyType: "json",
|
|
35994
|
+
});
|
|
35995
|
+
return $tea.cast<CreatePostgresExtensionsResponse>(await this.callApi(params, req, runtime), new CreatePostgresExtensionsResponse({}));
|
|
35996
|
+
}
|
|
35997
|
+
|
|
35998
|
+
async createPostgresExtensions(request: CreatePostgresExtensionsRequest): Promise<CreatePostgresExtensionsResponse> {
|
|
35999
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
36000
|
+
return await this.createPostgresExtensionsWithOptions(request, runtime);
|
|
36001
|
+
}
|
|
36002
|
+
|
|
35494
36003
|
/**
|
|
35495
36004
|
* **Before you call this operation, take note of the following limits:**
|
|
35496
36005
|
* * The primary instance cannot belong to a dedicated cluster and must run one of the following database engine versions and RDS editions:
|
|
@@ -36621,6 +37130,67 @@ export default class Client extends OpenApi {
|
|
|
36621
37130
|
return await this.deleteParameterGroupWithOptions(request, runtime);
|
|
36622
37131
|
}
|
|
36623
37132
|
|
|
37133
|
+
async deletePostgresExtensionsWithOptions(request: DeletePostgresExtensionsRequest, runtime: $Util.RuntimeOptions): Promise<DeletePostgresExtensionsResponse> {
|
|
37134
|
+
Util.validateModel(request);
|
|
37135
|
+
let query = { };
|
|
37136
|
+
if (!Util.isUnset(request.clientToken)) {
|
|
37137
|
+
query["ClientToken"] = request.clientToken;
|
|
37138
|
+
}
|
|
37139
|
+
|
|
37140
|
+
if (!Util.isUnset(request.DBInstanceId)) {
|
|
37141
|
+
query["DBInstanceId"] = request.DBInstanceId;
|
|
37142
|
+
}
|
|
37143
|
+
|
|
37144
|
+
if (!Util.isUnset(request.DBNames)) {
|
|
37145
|
+
query["DBNames"] = request.DBNames;
|
|
37146
|
+
}
|
|
37147
|
+
|
|
37148
|
+
if (!Util.isUnset(request.extensions)) {
|
|
37149
|
+
query["Extensions"] = request.extensions;
|
|
37150
|
+
}
|
|
37151
|
+
|
|
37152
|
+
if (!Util.isUnset(request.ownerAccount)) {
|
|
37153
|
+
query["OwnerAccount"] = request.ownerAccount;
|
|
37154
|
+
}
|
|
37155
|
+
|
|
37156
|
+
if (!Util.isUnset(request.ownerId)) {
|
|
37157
|
+
query["OwnerId"] = request.ownerId;
|
|
37158
|
+
}
|
|
37159
|
+
|
|
37160
|
+
if (!Util.isUnset(request.resourceGroupId)) {
|
|
37161
|
+
query["ResourceGroupId"] = request.resourceGroupId;
|
|
37162
|
+
}
|
|
37163
|
+
|
|
37164
|
+
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
37165
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
37166
|
+
}
|
|
37167
|
+
|
|
37168
|
+
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
37169
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
37170
|
+
}
|
|
37171
|
+
|
|
37172
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
37173
|
+
query: OpenApiUtil.query(query),
|
|
37174
|
+
});
|
|
37175
|
+
let params = new $OpenApi.Params({
|
|
37176
|
+
action: "DeletePostgresExtensions",
|
|
37177
|
+
version: "2014-08-15",
|
|
37178
|
+
protocol: "HTTPS",
|
|
37179
|
+
pathname: "/",
|
|
37180
|
+
method: "POST",
|
|
37181
|
+
authType: "AK",
|
|
37182
|
+
style: "RPC",
|
|
37183
|
+
reqBodyType: "formData",
|
|
37184
|
+
bodyType: "json",
|
|
37185
|
+
});
|
|
37186
|
+
return $tea.cast<DeletePostgresExtensionsResponse>(await this.callApi(params, req, runtime), new DeletePostgresExtensionsResponse({}));
|
|
37187
|
+
}
|
|
37188
|
+
|
|
37189
|
+
async deletePostgresExtensions(request: DeletePostgresExtensionsRequest): Promise<DeletePostgresExtensionsResponse> {
|
|
37190
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
37191
|
+
return await this.deletePostgresExtensionsWithOptions(request, runtime);
|
|
37192
|
+
}
|
|
37193
|
+
|
|
36624
37194
|
async deleteSecretWithOptions(request: DeleteSecretRequest, runtime: $Util.RuntimeOptions): Promise<DeleteSecretResponse> {
|
|
36625
37195
|
Util.validateModel(request);
|
|
36626
37196
|
let query = { };
|
|
@@ -42359,6 +42929,63 @@ export default class Client extends OpenApi {
|
|
|
42359
42929
|
return await this.describeParametersWithOptions(request, runtime);
|
|
42360
42930
|
}
|
|
42361
42931
|
|
|
42932
|
+
async describePostgresExtensionsWithOptions(request: DescribePostgresExtensionsRequest, runtime: $Util.RuntimeOptions): Promise<DescribePostgresExtensionsResponse> {
|
|
42933
|
+
Util.validateModel(request);
|
|
42934
|
+
let query = { };
|
|
42935
|
+
if (!Util.isUnset(request.clientToken)) {
|
|
42936
|
+
query["ClientToken"] = request.clientToken;
|
|
42937
|
+
}
|
|
42938
|
+
|
|
42939
|
+
if (!Util.isUnset(request.DBInstanceId)) {
|
|
42940
|
+
query["DBInstanceId"] = request.DBInstanceId;
|
|
42941
|
+
}
|
|
42942
|
+
|
|
42943
|
+
if (!Util.isUnset(request.DBName)) {
|
|
42944
|
+
query["DBName"] = request.DBName;
|
|
42945
|
+
}
|
|
42946
|
+
|
|
42947
|
+
if (!Util.isUnset(request.ownerAccount)) {
|
|
42948
|
+
query["OwnerAccount"] = request.ownerAccount;
|
|
42949
|
+
}
|
|
42950
|
+
|
|
42951
|
+
if (!Util.isUnset(request.ownerId)) {
|
|
42952
|
+
query["OwnerId"] = request.ownerId;
|
|
42953
|
+
}
|
|
42954
|
+
|
|
42955
|
+
if (!Util.isUnset(request.resourceGroupId)) {
|
|
42956
|
+
query["ResourceGroupId"] = request.resourceGroupId;
|
|
42957
|
+
}
|
|
42958
|
+
|
|
42959
|
+
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
42960
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
42961
|
+
}
|
|
42962
|
+
|
|
42963
|
+
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
42964
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
42965
|
+
}
|
|
42966
|
+
|
|
42967
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
42968
|
+
query: OpenApiUtil.query(query),
|
|
42969
|
+
});
|
|
42970
|
+
let params = new $OpenApi.Params({
|
|
42971
|
+
action: "DescribePostgresExtensions",
|
|
42972
|
+
version: "2014-08-15",
|
|
42973
|
+
protocol: "HTTPS",
|
|
42974
|
+
pathname: "/",
|
|
42975
|
+
method: "POST",
|
|
42976
|
+
authType: "AK",
|
|
42977
|
+
style: "RPC",
|
|
42978
|
+
reqBodyType: "formData",
|
|
42979
|
+
bodyType: "json",
|
|
42980
|
+
});
|
|
42981
|
+
return $tea.cast<DescribePostgresExtensionsResponse>(await this.callApi(params, req, runtime), new DescribePostgresExtensionsResponse({}));
|
|
42982
|
+
}
|
|
42983
|
+
|
|
42984
|
+
async describePostgresExtensions(request: DescribePostgresExtensionsRequest): Promise<DescribePostgresExtensionsResponse> {
|
|
42985
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
42986
|
+
return await this.describePostgresExtensionsWithOptions(request, runtime);
|
|
42987
|
+
}
|
|
42988
|
+
|
|
42362
42989
|
async describePriceWithOptions(tmpReq: DescribePriceRequest, runtime: $Util.RuntimeOptions): Promise<DescribePriceResponse> {
|
|
42363
42990
|
Util.validateModel(tmpReq);
|
|
42364
42991
|
let request = new DescribePriceShrinkRequest({ });
|
|
@@ -50803,6 +51430,67 @@ export default class Client extends OpenApi {
|
|
|
50803
51430
|
return await this.untagResourcesWithOptions(request, runtime);
|
|
50804
51431
|
}
|
|
50805
51432
|
|
|
51433
|
+
async updatePostgresExtensionsWithOptions(request: UpdatePostgresExtensionsRequest, runtime: $Util.RuntimeOptions): Promise<UpdatePostgresExtensionsResponse> {
|
|
51434
|
+
Util.validateModel(request);
|
|
51435
|
+
let query = { };
|
|
51436
|
+
if (!Util.isUnset(request.clientToken)) {
|
|
51437
|
+
query["ClientToken"] = request.clientToken;
|
|
51438
|
+
}
|
|
51439
|
+
|
|
51440
|
+
if (!Util.isUnset(request.DBInstanceId)) {
|
|
51441
|
+
query["DBInstanceId"] = request.DBInstanceId;
|
|
51442
|
+
}
|
|
51443
|
+
|
|
51444
|
+
if (!Util.isUnset(request.DBNames)) {
|
|
51445
|
+
query["DBNames"] = request.DBNames;
|
|
51446
|
+
}
|
|
51447
|
+
|
|
51448
|
+
if (!Util.isUnset(request.extensions)) {
|
|
51449
|
+
query["Extensions"] = request.extensions;
|
|
51450
|
+
}
|
|
51451
|
+
|
|
51452
|
+
if (!Util.isUnset(request.ownerAccount)) {
|
|
51453
|
+
query["OwnerAccount"] = request.ownerAccount;
|
|
51454
|
+
}
|
|
51455
|
+
|
|
51456
|
+
if (!Util.isUnset(request.ownerId)) {
|
|
51457
|
+
query["OwnerId"] = request.ownerId;
|
|
51458
|
+
}
|
|
51459
|
+
|
|
51460
|
+
if (!Util.isUnset(request.resourceGroupId)) {
|
|
51461
|
+
query["ResourceGroupId"] = request.resourceGroupId;
|
|
51462
|
+
}
|
|
51463
|
+
|
|
51464
|
+
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
51465
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
51466
|
+
}
|
|
51467
|
+
|
|
51468
|
+
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
51469
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
51470
|
+
}
|
|
51471
|
+
|
|
51472
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
51473
|
+
query: OpenApiUtil.query(query),
|
|
51474
|
+
});
|
|
51475
|
+
let params = new $OpenApi.Params({
|
|
51476
|
+
action: "UpdatePostgresExtensions",
|
|
51477
|
+
version: "2014-08-15",
|
|
51478
|
+
protocol: "HTTPS",
|
|
51479
|
+
pathname: "/",
|
|
51480
|
+
method: "POST",
|
|
51481
|
+
authType: "AK",
|
|
51482
|
+
style: "RPC",
|
|
51483
|
+
reqBodyType: "formData",
|
|
51484
|
+
bodyType: "json",
|
|
51485
|
+
});
|
|
51486
|
+
return $tea.cast<UpdatePostgresExtensionsResponse>(await this.callApi(params, req, runtime), new UpdatePostgresExtensionsResponse({}));
|
|
51487
|
+
}
|
|
51488
|
+
|
|
51489
|
+
async updatePostgresExtensions(request: UpdatePostgresExtensionsRequest): Promise<UpdatePostgresExtensionsResponse> {
|
|
51490
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
51491
|
+
return await this.updatePostgresExtensionsWithOptions(request, runtime);
|
|
51492
|
+
}
|
|
51493
|
+
|
|
50806
51494
|
/**
|
|
50807
51495
|
* > A full backup file contains the data of a self-managed MySQL database. You can restore the data of a self-managed MySQL database from a full backup file to an ApsaraDB RDS for MySQL instance. For more information, see [Migrate the data of a self-managed MySQL 5.7 instance to the cloud](~~251779~~).
|
|
50808
51496
|
*
|