@alicloud/dds20151201 3.6.13 → 3.6.15
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 +5 -4
- package/dist/client.js +68 -5
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +69 -5
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -11304,6 +11304,7 @@ export class DescribePriceResponseBodyOrder extends $tea.Model {
|
|
|
11304
11304
|
discountAmount?: string;
|
|
11305
11305
|
originalAmount?: string;
|
|
11306
11306
|
ruleIds?: DescribePriceResponseBodyOrderRuleIds;
|
|
11307
|
+
showDiscountInfo?: boolean;
|
|
11307
11308
|
tradeAmount?: string;
|
|
11308
11309
|
static names(): { [key: string]: string } {
|
|
11309
11310
|
return {
|
|
@@ -11312,6 +11313,7 @@ export class DescribePriceResponseBodyOrder extends $tea.Model {
|
|
|
11312
11313
|
discountAmount: 'DiscountAmount',
|
|
11313
11314
|
originalAmount: 'OriginalAmount',
|
|
11314
11315
|
ruleIds: 'RuleIds',
|
|
11316
|
+
showDiscountInfo: 'ShowDiscountInfo',
|
|
11315
11317
|
tradeAmount: 'TradeAmount',
|
|
11316
11318
|
};
|
|
11317
11319
|
}
|
|
@@ -11323,6 +11325,7 @@ export class DescribePriceResponseBodyOrder extends $tea.Model {
|
|
|
11323
11325
|
discountAmount: 'string',
|
|
11324
11326
|
originalAmount: 'string',
|
|
11325
11327
|
ruleIds: DescribePriceResponseBodyOrderRuleIds,
|
|
11328
|
+
showDiscountInfo: 'boolean',
|
|
11326
11329
|
tradeAmount: 'string',
|
|
11327
11330
|
};
|
|
11328
11331
|
}
|
|
@@ -12338,7 +12341,68 @@ export default class Client extends OpenApi {
|
|
|
12338
12341
|
|
|
12339
12342
|
constructor(config: $OpenApi.Config) {
|
|
12340
12343
|
super(config);
|
|
12341
|
-
this._endpointRule = "";
|
|
12344
|
+
this._endpointRule = "regional";
|
|
12345
|
+
this._endpointMap = {
|
|
12346
|
+
'cn-qingdao': "mongodb.aliyuncs.com",
|
|
12347
|
+
'cn-beijing': "mongodb.aliyuncs.com",
|
|
12348
|
+
'cn-zhangjiakou': "mongodb.cn-zhangjiakou.aliyuncs.com",
|
|
12349
|
+
'cn-huhehaote': "mongodb.cn-huhehaote.aliyuncs.com",
|
|
12350
|
+
'cn-wulanchabu': "mongodb.aliyuncs.com",
|
|
12351
|
+
'cn-hangzhou': "mongodb.aliyuncs.com",
|
|
12352
|
+
'cn-shanghai': "mongodb.aliyuncs.com",
|
|
12353
|
+
'cn-shenzhen': "mongodb.aliyuncs.com",
|
|
12354
|
+
'cn-heyuan': "mongodb.aliyuncs.com",
|
|
12355
|
+
'cn-guangzhou': "mongodb.aliyuncs.com",
|
|
12356
|
+
'cn-chengdu': "mongodb.cn-chengdu.aliyuncs.com",
|
|
12357
|
+
'cn-hongkong': "mongodb.aliyuncs.com",
|
|
12358
|
+
'ap-northeast-1': "mongodb.ap-northeast-1.aliyuncs.com",
|
|
12359
|
+
'ap-southeast-1': "mongodb.aliyuncs.com",
|
|
12360
|
+
'ap-southeast-2': "mongodb.ap-southeast-2.aliyuncs.com",
|
|
12361
|
+
'ap-southeast-3': "mongodb.ap-southeast-3.aliyuncs.com",
|
|
12362
|
+
'ap-southeast-5': "mongodb.ap-southeast-5.aliyuncs.com",
|
|
12363
|
+
'us-east-1': "mongodb.us-east-1.aliyuncs.com",
|
|
12364
|
+
'us-west-1': "mongodb.us-west-1.aliyuncs.com",
|
|
12365
|
+
'eu-west-1': "mongodb.eu-west-1.aliyuncs.com",
|
|
12366
|
+
'eu-central-1': "mongodb.eu-central-1.aliyuncs.com",
|
|
12367
|
+
'ap-south-1': "mongodb.ap-south-1.aliyuncs.com",
|
|
12368
|
+
'me-east-1': "mongodb.me-east-1.aliyuncs.com",
|
|
12369
|
+
'cn-hangzhou-finance': "mongodb.aliyuncs.com",
|
|
12370
|
+
'cn-shanghai-finance-1': "mongodb.aliyuncs.com",
|
|
12371
|
+
'cn-shenzhen-finance-1': "mongodb.aliyuncs.com",
|
|
12372
|
+
'cn-north-2-gov-1': "mongodb.aliyuncs.com",
|
|
12373
|
+
'ap-northeast-2-pop': "mongodb.aliyuncs.com",
|
|
12374
|
+
'cn-beijing-finance-1': "mongodb.aliyuncs.com",
|
|
12375
|
+
'cn-beijing-finance-pop': "mongodb.aliyuncs.com",
|
|
12376
|
+
'cn-beijing-gov-1': "mongodb.aliyuncs.com",
|
|
12377
|
+
'cn-beijing-nu16-b01': "mongodb.aliyuncs.com",
|
|
12378
|
+
'cn-edge-1': "mongodb.aliyuncs.com",
|
|
12379
|
+
'cn-fujian': "mongodb.aliyuncs.com",
|
|
12380
|
+
'cn-haidian-cm12-c01': "mongodb.aliyuncs.com",
|
|
12381
|
+
'cn-hangzhou-bj-b01': "mongodb.aliyuncs.com",
|
|
12382
|
+
'cn-hangzhou-internal-prod-1': "mongodb.aliyuncs.com",
|
|
12383
|
+
'cn-hangzhou-internal-test-1': "mongodb.aliyuncs.com",
|
|
12384
|
+
'cn-hangzhou-internal-test-2': "mongodb.aliyuncs.com",
|
|
12385
|
+
'cn-hangzhou-internal-test-3': "mongodb.aliyuncs.com",
|
|
12386
|
+
'cn-hangzhou-test-306': "mongodb.aliyuncs.com",
|
|
12387
|
+
'cn-hongkong-finance-pop': "mongodb.aliyuncs.com",
|
|
12388
|
+
'cn-huhehaote-nebula-1': "mongodb.aliyuncs.com",
|
|
12389
|
+
'cn-qingdao-nebula': "mongodb.aliyuncs.com",
|
|
12390
|
+
'cn-shanghai-et15-b01': "mongodb.aliyuncs.com",
|
|
12391
|
+
'cn-shanghai-et2-b01': "mongodb.aliyuncs.com",
|
|
12392
|
+
'cn-shanghai-inner': "mongodb.aliyuncs.com",
|
|
12393
|
+
'cn-shanghai-internal-test-1': "mongodb.aliyuncs.com",
|
|
12394
|
+
'cn-shenzhen-inner': "mongodb.aliyuncs.com",
|
|
12395
|
+
'cn-shenzhen-st4-d01': "mongodb.aliyuncs.com",
|
|
12396
|
+
'cn-shenzhen-su18-b01': "mongodb.aliyuncs.com",
|
|
12397
|
+
'cn-wuhan': "mongodb.aliyuncs.com",
|
|
12398
|
+
'cn-yushanfang': "mongodb.aliyuncs.com",
|
|
12399
|
+
'cn-zhangbei': "mongodb.aliyuncs.com",
|
|
12400
|
+
'cn-zhangbei-na61-b01': "mongodb.aliyuncs.com",
|
|
12401
|
+
'cn-zhangjiakou-na62-a01': "mongodb.aliyuncs.com",
|
|
12402
|
+
'cn-zhengzhou-nebula-1': "mongodb.aliyuncs.com",
|
|
12403
|
+
'eu-west-1-oxs': "mongodb.aliyuncs.com",
|
|
12404
|
+
'rus-west-1-pop': "mongodb.aliyuncs.com",
|
|
12405
|
+
};
|
|
12342
12406
|
this.checkConfig(config);
|
|
12343
12407
|
this._endpoint = this.getEndpoint("dds", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
|
|
12344
12408
|
}
|
|
@@ -14781,7 +14845,7 @@ export default class Client extends OpenApi {
|
|
|
14781
14845
|
}
|
|
14782
14846
|
|
|
14783
14847
|
/**
|
|
14784
|
-
* The list of replica set and standalone instances is displayed when the **DBInstanceType** parameter uses the default value **replicate**. To query
|
|
14848
|
+
* The list of replica set and standalone instances is displayed when the **DBInstanceType** parameter uses the default value **replicate**. To query a list of sharded cluster instances, you must set the **DBInstanceType** parameter to **sharding**.
|
|
14785
14849
|
*
|
|
14786
14850
|
* @param request DescribeDBInstancesRequest
|
|
14787
14851
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -14916,7 +14980,7 @@ export default class Client extends OpenApi {
|
|
|
14916
14980
|
}
|
|
14917
14981
|
|
|
14918
14982
|
/**
|
|
14919
|
-
* The list of replica set and standalone instances is displayed when the **DBInstanceType** parameter uses the default value **replicate**. To query
|
|
14983
|
+
* The list of replica set and standalone instances is displayed when the **DBInstanceType** parameter uses the default value **replicate**. To query a list of sharded cluster instances, you must set the **DBInstanceType** parameter to **sharding**.
|
|
14920
14984
|
*
|
|
14921
14985
|
* @param request DescribeDBInstancesRequest
|
|
14922
14986
|
* @return DescribeDBInstancesResponse
|
|
@@ -18844,7 +18908,7 @@ export default class Client extends OpenApi {
|
|
|
18844
18908
|
}
|
|
18845
18909
|
|
|
18846
18910
|
/**
|
|
18847
|
-
* This operation can also be used to restart a shard or mongos node in a sharded cluster instance.
|
|
18911
|
+
* This operation can also be used to restart an instance, or restart a shard or mongos node in a sharded cluster instance.
|
|
18848
18912
|
*
|
|
18849
18913
|
* @param request RestartDBInstanceRequest
|
|
18850
18914
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -18899,7 +18963,7 @@ export default class Client extends OpenApi {
|
|
|
18899
18963
|
}
|
|
18900
18964
|
|
|
18901
18965
|
/**
|
|
18902
|
-
* This operation can also be used to restart a shard or mongos node in a sharded cluster instance.
|
|
18966
|
+
* This operation can also be used to restart an instance, or restart a shard or mongos node in a sharded cluster instance.
|
|
18903
18967
|
*
|
|
18904
18968
|
* @param request RestartDBInstanceRequest
|
|
18905
18969
|
* @return RestartDBInstanceResponse
|