@alicloud/cloudapi20160714 3.0.0 → 3.0.2

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 CHANGED
@@ -2384,6 +2384,7 @@ export declare class DescribeApiGroupResponseBody extends $tea.Model {
2384
2384
  dedicatedInstanceType?: string;
2385
2385
  defaultDomain?: string;
2386
2386
  description?: string;
2387
+ disableInnerDomain?: boolean;
2387
2388
  groupId?: string;
2388
2389
  groupName?: string;
2389
2390
  httpsPolicy?: string;
@@ -4071,6 +4072,51 @@ export declare class DescribeDomainResponse extends $tea.Model {
4071
4072
  [key: string]: any;
4072
4073
  });
4073
4074
  }
4075
+ export declare class DescribeGroupQpsRequest extends $tea.Model {
4076
+ endTime?: string;
4077
+ groupId?: string;
4078
+ securityToken?: string;
4079
+ stageName?: string;
4080
+ startTime?: string;
4081
+ static names(): {
4082
+ [key: string]: string;
4083
+ };
4084
+ static types(): {
4085
+ [key: string]: any;
4086
+ };
4087
+ constructor(map?: {
4088
+ [key: string]: any;
4089
+ });
4090
+ }
4091
+ export declare class DescribeGroupQpsResponseBody extends $tea.Model {
4092
+ groupQps?: DescribeGroupQpsResponseBodyGroupQps;
4093
+ requestId?: string;
4094
+ static names(): {
4095
+ [key: string]: string;
4096
+ };
4097
+ static types(): {
4098
+ [key: string]: any;
4099
+ };
4100
+ constructor(map?: {
4101
+ [key: string]: any;
4102
+ });
4103
+ }
4104
+ export declare class DescribeGroupQpsResponse extends $tea.Model {
4105
+ headers: {
4106
+ [key: string]: string;
4107
+ };
4108
+ statusCode: number;
4109
+ body: DescribeGroupQpsResponseBody;
4110
+ static names(): {
4111
+ [key: string]: string;
4112
+ };
4113
+ static types(): {
4114
+ [key: string]: any;
4115
+ };
4116
+ constructor(map?: {
4117
+ [key: string]: any;
4118
+ });
4119
+ }
4074
4120
  export declare class DescribeHistoryApisRequest extends $tea.Model {
4075
4121
  apiId?: string;
4076
4122
  apiName?: string;
@@ -11042,6 +11088,31 @@ export declare class DescribeDeployedApisResponseBodyDeployedApis extends $tea.M
11042
11088
  [key: string]: any;
11043
11089
  });
11044
11090
  }
11091
+ export declare class DescribeGroupQpsResponseBodyGroupQpsMonitorItem extends $tea.Model {
11092
+ itemTime?: string;
11093
+ itemValue?: string;
11094
+ static names(): {
11095
+ [key: string]: string;
11096
+ };
11097
+ static types(): {
11098
+ [key: string]: any;
11099
+ };
11100
+ constructor(map?: {
11101
+ [key: string]: any;
11102
+ });
11103
+ }
11104
+ export declare class DescribeGroupQpsResponseBodyGroupQps extends $tea.Model {
11105
+ monitorItem?: DescribeGroupQpsResponseBodyGroupQpsMonitorItem[];
11106
+ static names(): {
11107
+ [key: string]: string;
11108
+ };
11109
+ static types(): {
11110
+ [key: string]: any;
11111
+ };
11112
+ constructor(map?: {
11113
+ [key: string]: any;
11114
+ });
11115
+ }
11045
11116
  export declare class DescribeHistoryApisResponseBodyApiHisItemsApiHisItem extends $tea.Model {
11046
11117
  apiId?: string;
11047
11118
  apiName?: string;
@@ -13316,6 +13387,8 @@ export default class Client extends OpenApi {
13316
13387
  * @return DescribeDomainResponse
13317
13388
  */
13318
13389
  describeDomain(request: DescribeDomainRequest): Promise<DescribeDomainResponse>;
13390
+ describeGroupQpsWithOptions(request: DescribeGroupQpsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeGroupQpsResponse>;
13391
+ describeGroupQps(request: DescribeGroupQpsRequest): Promise<DescribeGroupQpsResponse>;
13319
13392
  describeHistoryApisWithOptions(request: DescribeHistoryApisRequest, runtime: $Util.RuntimeOptions): Promise<DescribeHistoryApisResponse>;
13320
13393
  describeHistoryApis(request: DescribeHistoryApisRequest): Promise<DescribeHistoryApisResponse>;
13321
13394
  describeImportOASTaskWithOptions(request: DescribeImportOASTaskRequest, runtime: $Util.RuntimeOptions): Promise<DescribeImportOASTaskResponse>;
package/dist/client.js CHANGED
@@ -3307,6 +3307,7 @@ class DescribeApiGroupResponseBody extends $tea.Model {
3307
3307
  dedicatedInstanceType: 'DedicatedInstanceType',
3308
3308
  defaultDomain: 'DefaultDomain',
3309
3309
  description: 'Description',
3310
+ disableInnerDomain: 'DisableInnerDomain',
3310
3311
  groupId: 'GroupId',
3311
3312
  groupName: 'GroupName',
3312
3313
  httpsPolicy: 'HttpsPolicy',
@@ -3343,6 +3344,7 @@ class DescribeApiGroupResponseBody extends $tea.Model {
3343
3344
  dedicatedInstanceType: 'string',
3344
3345
  defaultDomain: 'string',
3345
3346
  description: 'string',
3347
+ disableInnerDomain: 'boolean',
3346
3348
  groupId: 'string',
3347
3349
  groupName: 'string',
3348
3350
  httpsPolicy: 'string',
@@ -5745,6 +5747,68 @@ class DescribeDomainResponse extends $tea.Model {
5745
5747
  }
5746
5748
  }
5747
5749
  exports.DescribeDomainResponse = DescribeDomainResponse;
5750
+ class DescribeGroupQpsRequest extends $tea.Model {
5751
+ constructor(map) {
5752
+ super(map);
5753
+ }
5754
+ static names() {
5755
+ return {
5756
+ endTime: 'EndTime',
5757
+ groupId: 'GroupId',
5758
+ securityToken: 'SecurityToken',
5759
+ stageName: 'StageName',
5760
+ startTime: 'StartTime',
5761
+ };
5762
+ }
5763
+ static types() {
5764
+ return {
5765
+ endTime: 'string',
5766
+ groupId: 'string',
5767
+ securityToken: 'string',
5768
+ stageName: 'string',
5769
+ startTime: 'string',
5770
+ };
5771
+ }
5772
+ }
5773
+ exports.DescribeGroupQpsRequest = DescribeGroupQpsRequest;
5774
+ class DescribeGroupQpsResponseBody extends $tea.Model {
5775
+ constructor(map) {
5776
+ super(map);
5777
+ }
5778
+ static names() {
5779
+ return {
5780
+ groupQps: 'GroupQps',
5781
+ requestId: 'RequestId',
5782
+ };
5783
+ }
5784
+ static types() {
5785
+ return {
5786
+ groupQps: DescribeGroupQpsResponseBodyGroupQps,
5787
+ requestId: 'string',
5788
+ };
5789
+ }
5790
+ }
5791
+ exports.DescribeGroupQpsResponseBody = DescribeGroupQpsResponseBody;
5792
+ class DescribeGroupQpsResponse extends $tea.Model {
5793
+ constructor(map) {
5794
+ super(map);
5795
+ }
5796
+ static names() {
5797
+ return {
5798
+ headers: 'headers',
5799
+ statusCode: 'statusCode',
5800
+ body: 'body',
5801
+ };
5802
+ }
5803
+ static types() {
5804
+ return {
5805
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5806
+ statusCode: 'number',
5807
+ body: DescribeGroupQpsResponseBody,
5808
+ };
5809
+ }
5810
+ }
5811
+ exports.DescribeGroupQpsResponse = DescribeGroupQpsResponse;
5748
5812
  class DescribeHistoryApisRequest extends $tea.Model {
5749
5813
  constructor(map) {
5750
5814
  super(map);
@@ -15631,6 +15695,40 @@ class DescribeDeployedApisResponseBodyDeployedApis extends $tea.Model {
15631
15695
  }
15632
15696
  }
15633
15697
  exports.DescribeDeployedApisResponseBodyDeployedApis = DescribeDeployedApisResponseBodyDeployedApis;
15698
+ class DescribeGroupQpsResponseBodyGroupQpsMonitorItem extends $tea.Model {
15699
+ constructor(map) {
15700
+ super(map);
15701
+ }
15702
+ static names() {
15703
+ return {
15704
+ itemTime: 'ItemTime',
15705
+ itemValue: 'ItemValue',
15706
+ };
15707
+ }
15708
+ static types() {
15709
+ return {
15710
+ itemTime: 'string',
15711
+ itemValue: 'string',
15712
+ };
15713
+ }
15714
+ }
15715
+ exports.DescribeGroupQpsResponseBodyGroupQpsMonitorItem = DescribeGroupQpsResponseBodyGroupQpsMonitorItem;
15716
+ class DescribeGroupQpsResponseBodyGroupQps extends $tea.Model {
15717
+ constructor(map) {
15718
+ super(map);
15719
+ }
15720
+ static names() {
15721
+ return {
15722
+ monitorItem: 'MonitorItem',
15723
+ };
15724
+ }
15725
+ static types() {
15726
+ return {
15727
+ monitorItem: { 'type': 'array', 'itemType': DescribeGroupQpsResponseBodyGroupQpsMonitorItem },
15728
+ };
15729
+ }
15730
+ }
15731
+ exports.DescribeGroupQpsResponseBodyGroupQps = DescribeGroupQpsResponseBodyGroupQps;
15634
15732
  class DescribeHistoryApisResponseBodyApiHisItemsApiHisItem extends $tea.Model {
15635
15733
  constructor(map) {
15636
15734
  super(map);
@@ -21732,6 +21830,44 @@ class Client extends openapi_client_1.default {
21732
21830
  let runtime = new $Util.RuntimeOptions({});
21733
21831
  return await this.describeDomainWithOptions(request, runtime);
21734
21832
  }
21833
+ async describeGroupQpsWithOptions(request, runtime) {
21834
+ tea_util_1.default.validateModel(request);
21835
+ let query = {};
21836
+ if (!tea_util_1.default.isUnset(request.endTime)) {
21837
+ query["EndTime"] = request.endTime;
21838
+ }
21839
+ if (!tea_util_1.default.isUnset(request.groupId)) {
21840
+ query["GroupId"] = request.groupId;
21841
+ }
21842
+ if (!tea_util_1.default.isUnset(request.securityToken)) {
21843
+ query["SecurityToken"] = request.securityToken;
21844
+ }
21845
+ if (!tea_util_1.default.isUnset(request.stageName)) {
21846
+ query["StageName"] = request.stageName;
21847
+ }
21848
+ if (!tea_util_1.default.isUnset(request.startTime)) {
21849
+ query["StartTime"] = request.startTime;
21850
+ }
21851
+ let req = new $OpenApi.OpenApiRequest({
21852
+ query: openapi_util_1.default.query(query),
21853
+ });
21854
+ let params = new $OpenApi.Params({
21855
+ action: "DescribeGroupQps",
21856
+ version: "2016-07-14",
21857
+ protocol: "HTTPS",
21858
+ pathname: "/",
21859
+ method: "POST",
21860
+ authType: "AK",
21861
+ style: "RPC",
21862
+ reqBodyType: "formData",
21863
+ bodyType: "json",
21864
+ });
21865
+ return $tea.cast(await this.callApi(params, req, runtime), new DescribeGroupQpsResponse({}));
21866
+ }
21867
+ async describeGroupQps(request) {
21868
+ let runtime = new $Util.RuntimeOptions({});
21869
+ return await this.describeGroupQpsWithOptions(request, runtime);
21870
+ }
21735
21871
  async describeHistoryApisWithOptions(request, runtime) {
21736
21872
  tea_util_1.default.validateModel(request);
21737
21873
  let query = {};