@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alicloud/cloudapi20160714",
3
- "version": "2.2.19",
3
+ "version": "2.2.20",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -9593,6 +9593,84 @@ export class DescribeSignaturesByApiResponse extends $tea.Model {
9593
9593
  }
9594
9594
  }
9595
9595
 
9596
+ export class DescribeSummaryDataRequest extends $tea.Model {
9597
+ securityToken?: string;
9598
+ static names(): { [key: string]: string } {
9599
+ return {
9600
+ securityToken: 'SecurityToken',
9601
+ };
9602
+ }
9603
+
9604
+ static types(): { [key: string]: any } {
9605
+ return {
9606
+ securityToken: 'string',
9607
+ };
9608
+ }
9609
+
9610
+ constructor(map?: { [key: string]: any }) {
9611
+ super(map);
9612
+ }
9613
+ }
9614
+
9615
+ export class DescribeSummaryDataResponseBody extends $tea.Model {
9616
+ expireInstanceNum?: number;
9617
+ region?: string;
9618
+ requestId?: string;
9619
+ usageApiNum?: number;
9620
+ usageGroupNum?: number;
9621
+ usageInstanceNum?: number;
9622
+ static names(): { [key: string]: string } {
9623
+ return {
9624
+ expireInstanceNum: 'ExpireInstanceNum',
9625
+ region: 'Region',
9626
+ requestId: 'RequestId',
9627
+ usageApiNum: 'UsageApiNum',
9628
+ usageGroupNum: 'UsageGroupNum',
9629
+ usageInstanceNum: 'UsageInstanceNum',
9630
+ };
9631
+ }
9632
+
9633
+ static types(): { [key: string]: any } {
9634
+ return {
9635
+ expireInstanceNum: 'number',
9636
+ region: 'string',
9637
+ requestId: 'string',
9638
+ usageApiNum: 'number',
9639
+ usageGroupNum: 'number',
9640
+ usageInstanceNum: 'number',
9641
+ };
9642
+ }
9643
+
9644
+ constructor(map?: { [key: string]: any }) {
9645
+ super(map);
9646
+ }
9647
+ }
9648
+
9649
+ export class DescribeSummaryDataResponse extends $tea.Model {
9650
+ headers: { [key: string]: string };
9651
+ statusCode: number;
9652
+ body: DescribeSummaryDataResponseBody;
9653
+ static names(): { [key: string]: string } {
9654
+ return {
9655
+ headers: 'headers',
9656
+ statusCode: 'statusCode',
9657
+ body: 'body',
9658
+ };
9659
+ }
9660
+
9661
+ static types(): { [key: string]: any } {
9662
+ return {
9663
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
9664
+ statusCode: 'number',
9665
+ body: DescribeSummaryDataResponseBody,
9666
+ };
9667
+ }
9668
+
9669
+ constructor(map?: { [key: string]: any }) {
9670
+ super(map);
9671
+ }
9672
+ }
9673
+
9596
9674
  export class DescribeSystemParametersRequest extends $tea.Model {
9597
9675
  securityToken?: string;
9598
9676
  static names(): { [key: string]: string } {
@@ -28508,6 +28586,35 @@ export default class Client extends OpenApi {
28508
28586
  return await this.describeSignaturesByApiWithOptions(request, runtime);
28509
28587
  }
28510
28588
 
28589
+ async describeSummaryDataWithOptions(request: DescribeSummaryDataRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSummaryDataResponse> {
28590
+ Util.validateModel(request);
28591
+ let query = { };
28592
+ if (!Util.isUnset(request.securityToken)) {
28593
+ query["SecurityToken"] = request.securityToken;
28594
+ }
28595
+
28596
+ let req = new $OpenApi.OpenApiRequest({
28597
+ query: OpenApiUtil.query(query),
28598
+ });
28599
+ let params = new $OpenApi.Params({
28600
+ action: "DescribeSummaryData",
28601
+ version: "2016-07-14",
28602
+ protocol: "HTTPS",
28603
+ pathname: "/",
28604
+ method: "POST",
28605
+ authType: "AK",
28606
+ style: "RPC",
28607
+ reqBodyType: "formData",
28608
+ bodyType: "json",
28609
+ });
28610
+ return $tea.cast<DescribeSummaryDataResponse>(await this.callApi(params, req, runtime), new DescribeSummaryDataResponse({}));
28611
+ }
28612
+
28613
+ async describeSummaryData(request: DescribeSummaryDataRequest): Promise<DescribeSummaryDataResponse> {
28614
+ let runtime = new $Util.RuntimeOptions({ });
28615
+ return await this.describeSummaryDataWithOptions(request, runtime);
28616
+ }
28617
+
28511
28618
  /**
28512
28619
  * The returned information about system parameters. It is an array that consists of SystemParam data.
28513
28620
  *