@alicloud/cloudapi20160714 2.2.19 → 2.2.20
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 +47 -0
- package/dist/client.js +88 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +107 -0
package/dist/client.d.ts
CHANGED
|
@@ -5365,6 +5365,51 @@ export declare class DescribeSignaturesByApiResponse extends $tea.Model {
|
|
|
5365
5365
|
[key: string]: any;
|
|
5366
5366
|
});
|
|
5367
5367
|
}
|
|
5368
|
+
export declare class DescribeSummaryDataRequest extends $tea.Model {
|
|
5369
|
+
securityToken?: string;
|
|
5370
|
+
static names(): {
|
|
5371
|
+
[key: string]: string;
|
|
5372
|
+
};
|
|
5373
|
+
static types(): {
|
|
5374
|
+
[key: string]: any;
|
|
5375
|
+
};
|
|
5376
|
+
constructor(map?: {
|
|
5377
|
+
[key: string]: any;
|
|
5378
|
+
});
|
|
5379
|
+
}
|
|
5380
|
+
export declare class DescribeSummaryDataResponseBody extends $tea.Model {
|
|
5381
|
+
expireInstanceNum?: number;
|
|
5382
|
+
region?: string;
|
|
5383
|
+
requestId?: string;
|
|
5384
|
+
usageApiNum?: number;
|
|
5385
|
+
usageGroupNum?: number;
|
|
5386
|
+
usageInstanceNum?: number;
|
|
5387
|
+
static names(): {
|
|
5388
|
+
[key: string]: string;
|
|
5389
|
+
};
|
|
5390
|
+
static types(): {
|
|
5391
|
+
[key: string]: any;
|
|
5392
|
+
};
|
|
5393
|
+
constructor(map?: {
|
|
5394
|
+
[key: string]: any;
|
|
5395
|
+
});
|
|
5396
|
+
}
|
|
5397
|
+
export declare class DescribeSummaryDataResponse extends $tea.Model {
|
|
5398
|
+
headers: {
|
|
5399
|
+
[key: string]: string;
|
|
5400
|
+
};
|
|
5401
|
+
statusCode: number;
|
|
5402
|
+
body: DescribeSummaryDataResponseBody;
|
|
5403
|
+
static names(): {
|
|
5404
|
+
[key: string]: string;
|
|
5405
|
+
};
|
|
5406
|
+
static types(): {
|
|
5407
|
+
[key: string]: any;
|
|
5408
|
+
};
|
|
5409
|
+
constructor(map?: {
|
|
5410
|
+
[key: string]: any;
|
|
5411
|
+
});
|
|
5412
|
+
}
|
|
5368
5413
|
export declare class DescribeSystemParametersRequest extends $tea.Model {
|
|
5369
5414
|
securityToken?: string;
|
|
5370
5415
|
static names(): {
|
|
@@ -13465,6 +13510,8 @@ export default class Client extends OpenApi {
|
|
|
13465
13510
|
* @return DescribeSignaturesByApiResponse
|
|
13466
13511
|
*/
|
|
13467
13512
|
describeSignaturesByApi(request: DescribeSignaturesByApiRequest): Promise<DescribeSignaturesByApiResponse>;
|
|
13513
|
+
describeSummaryDataWithOptions(request: DescribeSummaryDataRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSummaryDataResponse>;
|
|
13514
|
+
describeSummaryData(request: DescribeSummaryDataRequest): Promise<DescribeSummaryDataResponse>;
|
|
13468
13515
|
/**
|
|
13469
13516
|
* The returned information about system parameters. It is an array that consists of SystemParam data.
|
|
13470
13517
|
*
|
package/dist/client.js
CHANGED
|
@@ -7549,6 +7549,68 @@ class DescribeSignaturesByApiResponse extends $tea.Model {
|
|
|
7549
7549
|
}
|
|
7550
7550
|
}
|
|
7551
7551
|
exports.DescribeSignaturesByApiResponse = DescribeSignaturesByApiResponse;
|
|
7552
|
+
class DescribeSummaryDataRequest extends $tea.Model {
|
|
7553
|
+
constructor(map) {
|
|
7554
|
+
super(map);
|
|
7555
|
+
}
|
|
7556
|
+
static names() {
|
|
7557
|
+
return {
|
|
7558
|
+
securityToken: 'SecurityToken',
|
|
7559
|
+
};
|
|
7560
|
+
}
|
|
7561
|
+
static types() {
|
|
7562
|
+
return {
|
|
7563
|
+
securityToken: 'string',
|
|
7564
|
+
};
|
|
7565
|
+
}
|
|
7566
|
+
}
|
|
7567
|
+
exports.DescribeSummaryDataRequest = DescribeSummaryDataRequest;
|
|
7568
|
+
class DescribeSummaryDataResponseBody extends $tea.Model {
|
|
7569
|
+
constructor(map) {
|
|
7570
|
+
super(map);
|
|
7571
|
+
}
|
|
7572
|
+
static names() {
|
|
7573
|
+
return {
|
|
7574
|
+
expireInstanceNum: 'ExpireInstanceNum',
|
|
7575
|
+
region: 'Region',
|
|
7576
|
+
requestId: 'RequestId',
|
|
7577
|
+
usageApiNum: 'UsageApiNum',
|
|
7578
|
+
usageGroupNum: 'UsageGroupNum',
|
|
7579
|
+
usageInstanceNum: 'UsageInstanceNum',
|
|
7580
|
+
};
|
|
7581
|
+
}
|
|
7582
|
+
static types() {
|
|
7583
|
+
return {
|
|
7584
|
+
expireInstanceNum: 'number',
|
|
7585
|
+
region: 'string',
|
|
7586
|
+
requestId: 'string',
|
|
7587
|
+
usageApiNum: 'number',
|
|
7588
|
+
usageGroupNum: 'number',
|
|
7589
|
+
usageInstanceNum: 'number',
|
|
7590
|
+
};
|
|
7591
|
+
}
|
|
7592
|
+
}
|
|
7593
|
+
exports.DescribeSummaryDataResponseBody = DescribeSummaryDataResponseBody;
|
|
7594
|
+
class DescribeSummaryDataResponse extends $tea.Model {
|
|
7595
|
+
constructor(map) {
|
|
7596
|
+
super(map);
|
|
7597
|
+
}
|
|
7598
|
+
static names() {
|
|
7599
|
+
return {
|
|
7600
|
+
headers: 'headers',
|
|
7601
|
+
statusCode: 'statusCode',
|
|
7602
|
+
body: 'body',
|
|
7603
|
+
};
|
|
7604
|
+
}
|
|
7605
|
+
static types() {
|
|
7606
|
+
return {
|
|
7607
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
7608
|
+
statusCode: 'number',
|
|
7609
|
+
body: DescribeSummaryDataResponseBody,
|
|
7610
|
+
};
|
|
7611
|
+
}
|
|
7612
|
+
}
|
|
7613
|
+
exports.DescribeSummaryDataResponse = DescribeSummaryDataResponse;
|
|
7552
7614
|
class DescribeSystemParametersRequest extends $tea.Model {
|
|
7553
7615
|
constructor(map) {
|
|
7554
7616
|
super(map);
|
|
@@ -22872,6 +22934,32 @@ class Client extends openapi_client_1.default {
|
|
|
22872
22934
|
let runtime = new $Util.RuntimeOptions({});
|
|
22873
22935
|
return await this.describeSignaturesByApiWithOptions(request, runtime);
|
|
22874
22936
|
}
|
|
22937
|
+
async describeSummaryDataWithOptions(request, runtime) {
|
|
22938
|
+
tea_util_1.default.validateModel(request);
|
|
22939
|
+
let query = {};
|
|
22940
|
+
if (!tea_util_1.default.isUnset(request.securityToken)) {
|
|
22941
|
+
query["SecurityToken"] = request.securityToken;
|
|
22942
|
+
}
|
|
22943
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
22944
|
+
query: openapi_util_1.default.query(query),
|
|
22945
|
+
});
|
|
22946
|
+
let params = new $OpenApi.Params({
|
|
22947
|
+
action: "DescribeSummaryData",
|
|
22948
|
+
version: "2016-07-14",
|
|
22949
|
+
protocol: "HTTPS",
|
|
22950
|
+
pathname: "/",
|
|
22951
|
+
method: "POST",
|
|
22952
|
+
authType: "AK",
|
|
22953
|
+
style: "RPC",
|
|
22954
|
+
reqBodyType: "formData",
|
|
22955
|
+
bodyType: "json",
|
|
22956
|
+
});
|
|
22957
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeSummaryDataResponse({}));
|
|
22958
|
+
}
|
|
22959
|
+
async describeSummaryData(request) {
|
|
22960
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
22961
|
+
return await this.describeSummaryDataWithOptions(request, runtime);
|
|
22962
|
+
}
|
|
22875
22963
|
/**
|
|
22876
22964
|
* The returned information about system parameters. It is an array that consists of SystemParam data.
|
|
22877
22965
|
*
|