@alicloud/cloudapi20160714 2.2.4 → 2.2.7
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 +64 -0
- package/dist/client.js +164 -0
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +214 -0
package/dist/client.d.ts
CHANGED
|
@@ -2198,6 +2198,7 @@ export declare class DescribeApiGroupResponseBody extends $tea.Model {
|
|
|
2198
2198
|
basePath?: string;
|
|
2199
2199
|
billingStatus?: string;
|
|
2200
2200
|
classicVpcSubDomain?: string;
|
|
2201
|
+
cloudMarketCommodity?: boolean;
|
|
2201
2202
|
cmsMonitorGroup?: string;
|
|
2202
2203
|
compatibleFlags?: string;
|
|
2203
2204
|
createdTime?: string;
|
|
@@ -2808,7 +2809,9 @@ export declare class DescribeApiTrafficDataResponse extends $tea.Model {
|
|
|
2808
2809
|
}
|
|
2809
2810
|
export declare class DescribeApisRequest extends $tea.Model {
|
|
2810
2811
|
apiId?: string;
|
|
2812
|
+
apiMethod?: string;
|
|
2811
2813
|
apiName?: string;
|
|
2814
|
+
apiPath?: string;
|
|
2812
2815
|
catalogId?: string;
|
|
2813
2816
|
enableTagAuth?: boolean;
|
|
2814
2817
|
groupId?: string;
|
|
@@ -2816,6 +2819,7 @@ export declare class DescribeApisRequest extends $tea.Model {
|
|
|
2816
2819
|
pageSize?: number;
|
|
2817
2820
|
securityToken?: string;
|
|
2818
2821
|
tag?: DescribeApisRequestTag[];
|
|
2822
|
+
unDeployed?: boolean;
|
|
2819
2823
|
visibility?: string;
|
|
2820
2824
|
static names(): {
|
|
2821
2825
|
[key: string]: string;
|
|
@@ -3598,7 +3602,9 @@ export declare class DescribeDeployedApiResponse extends $tea.Model {
|
|
|
3598
3602
|
}
|
|
3599
3603
|
export declare class DescribeDeployedApisRequest extends $tea.Model {
|
|
3600
3604
|
apiId?: string;
|
|
3605
|
+
apiMethod?: string;
|
|
3601
3606
|
apiName?: string;
|
|
3607
|
+
apiPath?: string;
|
|
3602
3608
|
enableTagAuth?: boolean;
|
|
3603
3609
|
groupId?: string;
|
|
3604
3610
|
pageNumber?: number;
|
|
@@ -5497,6 +5503,7 @@ export declare class ModifyInstanceSpecRequest extends $tea.Model {
|
|
|
5497
5503
|
instanceId?: string;
|
|
5498
5504
|
instanceSpec?: string;
|
|
5499
5505
|
modifyAction?: string;
|
|
5506
|
+
skipWaitSwitch?: boolean;
|
|
5500
5507
|
token?: string;
|
|
5501
5508
|
static names(): {
|
|
5502
5509
|
[key: string]: string;
|
|
@@ -5848,6 +5855,55 @@ export declare class ModifyTrafficControlResponse extends $tea.Model {
|
|
|
5848
5855
|
[key: string]: any;
|
|
5849
5856
|
});
|
|
5850
5857
|
}
|
|
5858
|
+
export declare class ModifyVpcAccessAndUpdateApisRequest extends $tea.Model {
|
|
5859
|
+
instanceId?: string;
|
|
5860
|
+
name?: string;
|
|
5861
|
+
needBatchWork?: boolean;
|
|
5862
|
+
port?: number;
|
|
5863
|
+
refresh?: boolean;
|
|
5864
|
+
securityToken?: string;
|
|
5865
|
+
token?: string;
|
|
5866
|
+
vpcId?: string;
|
|
5867
|
+
vpcTargetHostName?: string;
|
|
5868
|
+
static names(): {
|
|
5869
|
+
[key: string]: string;
|
|
5870
|
+
};
|
|
5871
|
+
static types(): {
|
|
5872
|
+
[key: string]: any;
|
|
5873
|
+
};
|
|
5874
|
+
constructor(map?: {
|
|
5875
|
+
[key: string]: any;
|
|
5876
|
+
});
|
|
5877
|
+
}
|
|
5878
|
+
export declare class ModifyVpcAccessAndUpdateApisResponseBody extends $tea.Model {
|
|
5879
|
+
operationId?: string;
|
|
5880
|
+
requestId?: string;
|
|
5881
|
+
static names(): {
|
|
5882
|
+
[key: string]: string;
|
|
5883
|
+
};
|
|
5884
|
+
static types(): {
|
|
5885
|
+
[key: string]: any;
|
|
5886
|
+
};
|
|
5887
|
+
constructor(map?: {
|
|
5888
|
+
[key: string]: any;
|
|
5889
|
+
});
|
|
5890
|
+
}
|
|
5891
|
+
export declare class ModifyVpcAccessAndUpdateApisResponse extends $tea.Model {
|
|
5892
|
+
headers: {
|
|
5893
|
+
[key: string]: string;
|
|
5894
|
+
};
|
|
5895
|
+
statusCode: number;
|
|
5896
|
+
body: ModifyVpcAccessAndUpdateApisResponseBody;
|
|
5897
|
+
static names(): {
|
|
5898
|
+
[key: string]: string;
|
|
5899
|
+
};
|
|
5900
|
+
static types(): {
|
|
5901
|
+
[key: string]: any;
|
|
5902
|
+
};
|
|
5903
|
+
constructor(map?: {
|
|
5904
|
+
[key: string]: any;
|
|
5905
|
+
});
|
|
5906
|
+
}
|
|
5851
5907
|
export declare class OpenApiGatewayServiceResponseBody extends $tea.Model {
|
|
5852
5908
|
orderId?: string;
|
|
5853
5909
|
requestId?: string;
|
|
@@ -7160,6 +7216,7 @@ export declare class BatchAbolishApisRequestApi extends $tea.Model {
|
|
|
7160
7216
|
apiUid?: string;
|
|
7161
7217
|
groupId?: string;
|
|
7162
7218
|
stageId?: string;
|
|
7219
|
+
stageName?: string;
|
|
7163
7220
|
static names(): {
|
|
7164
7221
|
[key: string]: string;
|
|
7165
7222
|
};
|
|
@@ -8716,7 +8773,9 @@ export declare class DescribeApisRequestTag extends $tea.Model {
|
|
|
8716
8773
|
}
|
|
8717
8774
|
export declare class DescribeApisResponseBodyApiSummarysApiSummary extends $tea.Model {
|
|
8718
8775
|
apiId?: string;
|
|
8776
|
+
apiMethod?: string;
|
|
8719
8777
|
apiName?: string;
|
|
8778
|
+
apiPath?: string;
|
|
8720
8779
|
createdTime?: string;
|
|
8721
8780
|
description?: string;
|
|
8722
8781
|
groupId?: string;
|
|
@@ -9133,6 +9192,7 @@ export declare class DescribeBackendInfoResponseBodyBackendInfoBackendModelsBack
|
|
|
9133
9192
|
vpcAccessId?: string;
|
|
9134
9193
|
vpcId?: string;
|
|
9135
9194
|
vpcScheme?: string;
|
|
9195
|
+
vpcTargetHostName?: string;
|
|
9136
9196
|
static names(): {
|
|
9137
9197
|
[key: string]: string;
|
|
9138
9198
|
};
|
|
@@ -9607,7 +9667,9 @@ export declare class DescribeDeployedApisRequestTag extends $tea.Model {
|
|
|
9607
9667
|
}
|
|
9608
9668
|
export declare class DescribeDeployedApisResponseBodyDeployedApisDeployedApiItem extends $tea.Model {
|
|
9609
9669
|
apiId?: string;
|
|
9670
|
+
apiMethod?: string;
|
|
9610
9671
|
apiName?: string;
|
|
9672
|
+
apiPath?: string;
|
|
9611
9673
|
deployedTime?: string;
|
|
9612
9674
|
description?: string;
|
|
9613
9675
|
groupId?: string;
|
|
@@ -11044,6 +11106,8 @@ export default class Client extends OpenApi {
|
|
|
11044
11106
|
modifySignature(request: ModifySignatureRequest): Promise<ModifySignatureResponse>;
|
|
11045
11107
|
modifyTrafficControlWithOptions(request: ModifyTrafficControlRequest, runtime: $Util.RuntimeOptions): Promise<ModifyTrafficControlResponse>;
|
|
11046
11108
|
modifyTrafficControl(request: ModifyTrafficControlRequest): Promise<ModifyTrafficControlResponse>;
|
|
11109
|
+
modifyVpcAccessAndUpdateApisWithOptions(request: ModifyVpcAccessAndUpdateApisRequest, runtime: $Util.RuntimeOptions): Promise<ModifyVpcAccessAndUpdateApisResponse>;
|
|
11110
|
+
modifyVpcAccessAndUpdateApis(request: ModifyVpcAccessAndUpdateApisRequest): Promise<ModifyVpcAccessAndUpdateApisResponse>;
|
|
11047
11111
|
openApiGatewayServiceWithOptions(runtime: $Util.RuntimeOptions): Promise<OpenApiGatewayServiceResponse>;
|
|
11048
11112
|
openApiGatewayService(): Promise<OpenApiGatewayServiceResponse>;
|
|
11049
11113
|
reactivateDomainWithOptions(request: ReactivateDomainRequest, runtime: $Util.RuntimeOptions): Promise<ReactivateDomainResponse>;
|
package/dist/client.js
CHANGED
|
@@ -3056,6 +3056,7 @@ class DescribeApiGroupResponseBody extends $tea.Model {
|
|
|
3056
3056
|
basePath: 'BasePath',
|
|
3057
3057
|
billingStatus: 'BillingStatus',
|
|
3058
3058
|
classicVpcSubDomain: 'ClassicVpcSubDomain',
|
|
3059
|
+
cloudMarketCommodity: 'CloudMarketCommodity',
|
|
3059
3060
|
cmsMonitorGroup: 'CmsMonitorGroup',
|
|
3060
3061
|
compatibleFlags: 'CompatibleFlags',
|
|
3061
3062
|
createdTime: 'CreatedTime',
|
|
@@ -3091,6 +3092,7 @@ class DescribeApiGroupResponseBody extends $tea.Model {
|
|
|
3091
3092
|
basePath: 'string',
|
|
3092
3093
|
billingStatus: 'string',
|
|
3093
3094
|
classicVpcSubDomain: 'string',
|
|
3095
|
+
cloudMarketCommodity: 'boolean',
|
|
3094
3096
|
cmsMonitorGroup: 'string',
|
|
3095
3097
|
compatibleFlags: 'string',
|
|
3096
3098
|
createdTime: 'string',
|
|
@@ -3950,7 +3952,9 @@ class DescribeApisRequest extends $tea.Model {
|
|
|
3950
3952
|
static names() {
|
|
3951
3953
|
return {
|
|
3952
3954
|
apiId: 'ApiId',
|
|
3955
|
+
apiMethod: 'ApiMethod',
|
|
3953
3956
|
apiName: 'ApiName',
|
|
3957
|
+
apiPath: 'ApiPath',
|
|
3954
3958
|
catalogId: 'CatalogId',
|
|
3955
3959
|
enableTagAuth: 'EnableTagAuth',
|
|
3956
3960
|
groupId: 'GroupId',
|
|
@@ -3958,13 +3962,16 @@ class DescribeApisRequest extends $tea.Model {
|
|
|
3958
3962
|
pageSize: 'PageSize',
|
|
3959
3963
|
securityToken: 'SecurityToken',
|
|
3960
3964
|
tag: 'Tag',
|
|
3965
|
+
unDeployed: 'UnDeployed',
|
|
3961
3966
|
visibility: 'Visibility',
|
|
3962
3967
|
};
|
|
3963
3968
|
}
|
|
3964
3969
|
static types() {
|
|
3965
3970
|
return {
|
|
3966
3971
|
apiId: 'string',
|
|
3972
|
+
apiMethod: 'string',
|
|
3967
3973
|
apiName: 'string',
|
|
3974
|
+
apiPath: 'string',
|
|
3968
3975
|
catalogId: 'string',
|
|
3969
3976
|
enableTagAuth: 'boolean',
|
|
3970
3977
|
groupId: 'string',
|
|
@@ -3972,6 +3979,7 @@ class DescribeApisRequest extends $tea.Model {
|
|
|
3972
3979
|
pageSize: 'number',
|
|
3973
3980
|
securityToken: 'string',
|
|
3974
3981
|
tag: { 'type': 'array', 'itemType': DescribeApisRequestTag },
|
|
3982
|
+
unDeployed: 'boolean',
|
|
3975
3983
|
visibility: 'string',
|
|
3976
3984
|
};
|
|
3977
3985
|
}
|
|
@@ -5082,7 +5090,9 @@ class DescribeDeployedApisRequest extends $tea.Model {
|
|
|
5082
5090
|
static names() {
|
|
5083
5091
|
return {
|
|
5084
5092
|
apiId: 'ApiId',
|
|
5093
|
+
apiMethod: 'ApiMethod',
|
|
5085
5094
|
apiName: 'ApiName',
|
|
5095
|
+
apiPath: 'ApiPath',
|
|
5086
5096
|
enableTagAuth: 'EnableTagAuth',
|
|
5087
5097
|
groupId: 'GroupId',
|
|
5088
5098
|
pageNumber: 'PageNumber',
|
|
@@ -5095,7 +5105,9 @@ class DescribeDeployedApisRequest extends $tea.Model {
|
|
|
5095
5105
|
static types() {
|
|
5096
5106
|
return {
|
|
5097
5107
|
apiId: 'string',
|
|
5108
|
+
apiMethod: 'string',
|
|
5098
5109
|
apiName: 'string',
|
|
5110
|
+
apiPath: 'string',
|
|
5099
5111
|
enableTagAuth: 'boolean',
|
|
5100
5112
|
groupId: 'string',
|
|
5101
5113
|
pageNumber: 'number',
|
|
@@ -7761,6 +7773,7 @@ class ModifyInstanceSpecRequest extends $tea.Model {
|
|
|
7761
7773
|
instanceId: 'InstanceId',
|
|
7762
7774
|
instanceSpec: 'InstanceSpec',
|
|
7763
7775
|
modifyAction: 'ModifyAction',
|
|
7776
|
+
skipWaitSwitch: 'SkipWaitSwitch',
|
|
7764
7777
|
token: 'Token',
|
|
7765
7778
|
};
|
|
7766
7779
|
}
|
|
@@ -7770,6 +7783,7 @@ class ModifyInstanceSpecRequest extends $tea.Model {
|
|
|
7770
7783
|
instanceId: 'string',
|
|
7771
7784
|
instanceSpec: 'string',
|
|
7772
7785
|
modifyAction: 'string',
|
|
7786
|
+
skipWaitSwitch: 'boolean',
|
|
7773
7787
|
token: 'string',
|
|
7774
7788
|
};
|
|
7775
7789
|
}
|
|
@@ -8239,6 +8253,76 @@ class ModifyTrafficControlResponse extends $tea.Model {
|
|
|
8239
8253
|
}
|
|
8240
8254
|
}
|
|
8241
8255
|
exports.ModifyTrafficControlResponse = ModifyTrafficControlResponse;
|
|
8256
|
+
class ModifyVpcAccessAndUpdateApisRequest extends $tea.Model {
|
|
8257
|
+
constructor(map) {
|
|
8258
|
+
super(map);
|
|
8259
|
+
}
|
|
8260
|
+
static names() {
|
|
8261
|
+
return {
|
|
8262
|
+
instanceId: 'InstanceId',
|
|
8263
|
+
name: 'Name',
|
|
8264
|
+
needBatchWork: 'NeedBatchWork',
|
|
8265
|
+
port: 'Port',
|
|
8266
|
+
refresh: 'Refresh',
|
|
8267
|
+
securityToken: 'SecurityToken',
|
|
8268
|
+
token: 'Token',
|
|
8269
|
+
vpcId: 'VpcId',
|
|
8270
|
+
vpcTargetHostName: 'VpcTargetHostName',
|
|
8271
|
+
};
|
|
8272
|
+
}
|
|
8273
|
+
static types() {
|
|
8274
|
+
return {
|
|
8275
|
+
instanceId: 'string',
|
|
8276
|
+
name: 'string',
|
|
8277
|
+
needBatchWork: 'boolean',
|
|
8278
|
+
port: 'number',
|
|
8279
|
+
refresh: 'boolean',
|
|
8280
|
+
securityToken: 'string',
|
|
8281
|
+
token: 'string',
|
|
8282
|
+
vpcId: 'string',
|
|
8283
|
+
vpcTargetHostName: 'string',
|
|
8284
|
+
};
|
|
8285
|
+
}
|
|
8286
|
+
}
|
|
8287
|
+
exports.ModifyVpcAccessAndUpdateApisRequest = ModifyVpcAccessAndUpdateApisRequest;
|
|
8288
|
+
class ModifyVpcAccessAndUpdateApisResponseBody extends $tea.Model {
|
|
8289
|
+
constructor(map) {
|
|
8290
|
+
super(map);
|
|
8291
|
+
}
|
|
8292
|
+
static names() {
|
|
8293
|
+
return {
|
|
8294
|
+
operationId: 'OperationId',
|
|
8295
|
+
requestId: 'RequestId',
|
|
8296
|
+
};
|
|
8297
|
+
}
|
|
8298
|
+
static types() {
|
|
8299
|
+
return {
|
|
8300
|
+
operationId: 'string',
|
|
8301
|
+
requestId: 'string',
|
|
8302
|
+
};
|
|
8303
|
+
}
|
|
8304
|
+
}
|
|
8305
|
+
exports.ModifyVpcAccessAndUpdateApisResponseBody = ModifyVpcAccessAndUpdateApisResponseBody;
|
|
8306
|
+
class ModifyVpcAccessAndUpdateApisResponse extends $tea.Model {
|
|
8307
|
+
constructor(map) {
|
|
8308
|
+
super(map);
|
|
8309
|
+
}
|
|
8310
|
+
static names() {
|
|
8311
|
+
return {
|
|
8312
|
+
headers: 'headers',
|
|
8313
|
+
statusCode: 'statusCode',
|
|
8314
|
+
body: 'body',
|
|
8315
|
+
};
|
|
8316
|
+
}
|
|
8317
|
+
static types() {
|
|
8318
|
+
return {
|
|
8319
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
8320
|
+
statusCode: 'number',
|
|
8321
|
+
body: ModifyVpcAccessAndUpdateApisResponseBody,
|
|
8322
|
+
};
|
|
8323
|
+
}
|
|
8324
|
+
}
|
|
8325
|
+
exports.ModifyVpcAccessAndUpdateApisResponse = ModifyVpcAccessAndUpdateApisResponse;
|
|
8242
8326
|
class OpenApiGatewayServiceResponseBody extends $tea.Model {
|
|
8243
8327
|
constructor(map) {
|
|
8244
8328
|
super(map);
|
|
@@ -10032,6 +10116,7 @@ class BatchAbolishApisRequestApi extends $tea.Model {
|
|
|
10032
10116
|
apiUid: 'ApiUid',
|
|
10033
10117
|
groupId: 'GroupId',
|
|
10034
10118
|
stageId: 'StageId',
|
|
10119
|
+
stageName: 'StageName',
|
|
10035
10120
|
};
|
|
10036
10121
|
}
|
|
10037
10122
|
static types() {
|
|
@@ -10039,6 +10124,7 @@ class BatchAbolishApisRequestApi extends $tea.Model {
|
|
|
10039
10124
|
apiUid: 'string',
|
|
10040
10125
|
groupId: 'string',
|
|
10041
10126
|
stageId: 'string',
|
|
10127
|
+
stageName: 'string',
|
|
10042
10128
|
};
|
|
10043
10129
|
}
|
|
10044
10130
|
}
|
|
@@ -12298,7 +12384,9 @@ class DescribeApisResponseBodyApiSummarysApiSummary extends $tea.Model {
|
|
|
12298
12384
|
static names() {
|
|
12299
12385
|
return {
|
|
12300
12386
|
apiId: 'ApiId',
|
|
12387
|
+
apiMethod: 'ApiMethod',
|
|
12301
12388
|
apiName: 'ApiName',
|
|
12389
|
+
apiPath: 'ApiPath',
|
|
12302
12390
|
createdTime: 'CreatedTime',
|
|
12303
12391
|
description: 'Description',
|
|
12304
12392
|
groupId: 'GroupId',
|
|
@@ -12311,7 +12399,9 @@ class DescribeApisResponseBodyApiSummarysApiSummary extends $tea.Model {
|
|
|
12311
12399
|
static types() {
|
|
12312
12400
|
return {
|
|
12313
12401
|
apiId: 'string',
|
|
12402
|
+
apiMethod: 'string',
|
|
12314
12403
|
apiName: 'string',
|
|
12404
|
+
apiPath: 'string',
|
|
12315
12405
|
createdTime: 'string',
|
|
12316
12406
|
description: 'string',
|
|
12317
12407
|
groupId: 'string',
|
|
@@ -12911,6 +13001,7 @@ class DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigVpcCon
|
|
|
12911
13001
|
vpcAccessId: 'VpcAccessId',
|
|
12912
13002
|
vpcId: 'VpcId',
|
|
12913
13003
|
vpcScheme: 'VpcScheme',
|
|
13004
|
+
vpcTargetHostName: 'VpcTargetHostName',
|
|
12914
13005
|
};
|
|
12915
13006
|
}
|
|
12916
13007
|
static types() {
|
|
@@ -12921,6 +13012,7 @@ class DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigVpcCon
|
|
|
12921
13012
|
vpcAccessId: 'string',
|
|
12922
13013
|
vpcId: 'string',
|
|
12923
13014
|
vpcScheme: 'string',
|
|
13015
|
+
vpcTargetHostName: 'string',
|
|
12924
13016
|
};
|
|
12925
13017
|
}
|
|
12926
13018
|
}
|
|
@@ -13616,7 +13708,9 @@ class DescribeDeployedApisResponseBodyDeployedApisDeployedApiItem extends $tea.M
|
|
|
13616
13708
|
static names() {
|
|
13617
13709
|
return {
|
|
13618
13710
|
apiId: 'ApiId',
|
|
13711
|
+
apiMethod: 'ApiMethod',
|
|
13619
13712
|
apiName: 'ApiName',
|
|
13713
|
+
apiPath: 'ApiPath',
|
|
13620
13714
|
deployedTime: 'DeployedTime',
|
|
13621
13715
|
description: 'Description',
|
|
13622
13716
|
groupId: 'GroupId',
|
|
@@ -13629,7 +13723,9 @@ class DescribeDeployedApisResponseBodyDeployedApisDeployedApiItem extends $tea.M
|
|
|
13629
13723
|
static types() {
|
|
13630
13724
|
return {
|
|
13631
13725
|
apiId: 'string',
|
|
13726
|
+
apiMethod: 'string',
|
|
13632
13727
|
apiName: 'string',
|
|
13728
|
+
apiPath: 'string',
|
|
13633
13729
|
deployedTime: 'string',
|
|
13634
13730
|
description: 'string',
|
|
13635
13731
|
groupId: 'string',
|
|
@@ -17562,9 +17658,15 @@ class Client extends openapi_client_1.default {
|
|
|
17562
17658
|
if (!tea_util_1.default.isUnset(request.apiId)) {
|
|
17563
17659
|
query["ApiId"] = request.apiId;
|
|
17564
17660
|
}
|
|
17661
|
+
if (!tea_util_1.default.isUnset(request.apiMethod)) {
|
|
17662
|
+
query["ApiMethod"] = request.apiMethod;
|
|
17663
|
+
}
|
|
17565
17664
|
if (!tea_util_1.default.isUnset(request.apiName)) {
|
|
17566
17665
|
query["ApiName"] = request.apiName;
|
|
17567
17666
|
}
|
|
17667
|
+
if (!tea_util_1.default.isUnset(request.apiPath)) {
|
|
17668
|
+
query["ApiPath"] = request.apiPath;
|
|
17669
|
+
}
|
|
17568
17670
|
if (!tea_util_1.default.isUnset(request.catalogId)) {
|
|
17569
17671
|
query["CatalogId"] = request.catalogId;
|
|
17570
17672
|
}
|
|
@@ -17586,6 +17688,9 @@ class Client extends openapi_client_1.default {
|
|
|
17586
17688
|
if (!tea_util_1.default.isUnset(request.tag)) {
|
|
17587
17689
|
query["Tag"] = request.tag;
|
|
17588
17690
|
}
|
|
17691
|
+
if (!tea_util_1.default.isUnset(request.unDeployed)) {
|
|
17692
|
+
query["UnDeployed"] = request.unDeployed;
|
|
17693
|
+
}
|
|
17589
17694
|
if (!tea_util_1.default.isUnset(request.visibility)) {
|
|
17590
17695
|
query["Visibility"] = request.visibility;
|
|
17591
17696
|
}
|
|
@@ -18176,9 +18281,15 @@ class Client extends openapi_client_1.default {
|
|
|
18176
18281
|
if (!tea_util_1.default.isUnset(request.apiId)) {
|
|
18177
18282
|
query["ApiId"] = request.apiId;
|
|
18178
18283
|
}
|
|
18284
|
+
if (!tea_util_1.default.isUnset(request.apiMethod)) {
|
|
18285
|
+
query["ApiMethod"] = request.apiMethod;
|
|
18286
|
+
}
|
|
18179
18287
|
if (!tea_util_1.default.isUnset(request.apiName)) {
|
|
18180
18288
|
query["ApiName"] = request.apiName;
|
|
18181
18289
|
}
|
|
18290
|
+
if (!tea_util_1.default.isUnset(request.apiPath)) {
|
|
18291
|
+
query["ApiPath"] = request.apiPath;
|
|
18292
|
+
}
|
|
18182
18293
|
if (!tea_util_1.default.isUnset(request.enableTagAuth)) {
|
|
18183
18294
|
query["EnableTagAuth"] = request.enableTagAuth;
|
|
18184
18295
|
}
|
|
@@ -19807,6 +19918,9 @@ class Client extends openapi_client_1.default {
|
|
|
19807
19918
|
if (!tea_util_1.default.isUnset(request.modifyAction)) {
|
|
19808
19919
|
query["ModifyAction"] = request.modifyAction;
|
|
19809
19920
|
}
|
|
19921
|
+
if (!tea_util_1.default.isUnset(request.skipWaitSwitch)) {
|
|
19922
|
+
query["SkipWaitSwitch"] = request.skipWaitSwitch;
|
|
19923
|
+
}
|
|
19810
19924
|
if (!tea_util_1.default.isUnset(request.token)) {
|
|
19811
19925
|
query["Token"] = request.token;
|
|
19812
19926
|
}
|
|
@@ -20102,6 +20216,56 @@ class Client extends openapi_client_1.default {
|
|
|
20102
20216
|
let runtime = new $Util.RuntimeOptions({});
|
|
20103
20217
|
return await this.modifyTrafficControlWithOptions(request, runtime);
|
|
20104
20218
|
}
|
|
20219
|
+
async modifyVpcAccessAndUpdateApisWithOptions(request, runtime) {
|
|
20220
|
+
tea_util_1.default.validateModel(request);
|
|
20221
|
+
let query = {};
|
|
20222
|
+
if (!tea_util_1.default.isUnset(request.instanceId)) {
|
|
20223
|
+
query["InstanceId"] = request.instanceId;
|
|
20224
|
+
}
|
|
20225
|
+
if (!tea_util_1.default.isUnset(request.name)) {
|
|
20226
|
+
query["Name"] = request.name;
|
|
20227
|
+
}
|
|
20228
|
+
if (!tea_util_1.default.isUnset(request.needBatchWork)) {
|
|
20229
|
+
query["NeedBatchWork"] = request.needBatchWork;
|
|
20230
|
+
}
|
|
20231
|
+
if (!tea_util_1.default.isUnset(request.port)) {
|
|
20232
|
+
query["Port"] = request.port;
|
|
20233
|
+
}
|
|
20234
|
+
if (!tea_util_1.default.isUnset(request.refresh)) {
|
|
20235
|
+
query["Refresh"] = request.refresh;
|
|
20236
|
+
}
|
|
20237
|
+
if (!tea_util_1.default.isUnset(request.securityToken)) {
|
|
20238
|
+
query["SecurityToken"] = request.securityToken;
|
|
20239
|
+
}
|
|
20240
|
+
if (!tea_util_1.default.isUnset(request.token)) {
|
|
20241
|
+
query["Token"] = request.token;
|
|
20242
|
+
}
|
|
20243
|
+
if (!tea_util_1.default.isUnset(request.vpcId)) {
|
|
20244
|
+
query["VpcId"] = request.vpcId;
|
|
20245
|
+
}
|
|
20246
|
+
if (!tea_util_1.default.isUnset(request.vpcTargetHostName)) {
|
|
20247
|
+
query["VpcTargetHostName"] = request.vpcTargetHostName;
|
|
20248
|
+
}
|
|
20249
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
20250
|
+
query: openapi_util_1.default.query(query),
|
|
20251
|
+
});
|
|
20252
|
+
let params = new $OpenApi.Params({
|
|
20253
|
+
action: "ModifyVpcAccessAndUpdateApis",
|
|
20254
|
+
version: "2016-07-14",
|
|
20255
|
+
protocol: "HTTPS",
|
|
20256
|
+
pathname: "/",
|
|
20257
|
+
method: "POST",
|
|
20258
|
+
authType: "AK",
|
|
20259
|
+
style: "RPC",
|
|
20260
|
+
reqBodyType: "formData",
|
|
20261
|
+
bodyType: "json",
|
|
20262
|
+
});
|
|
20263
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ModifyVpcAccessAndUpdateApisResponse({}));
|
|
20264
|
+
}
|
|
20265
|
+
async modifyVpcAccessAndUpdateApis(request) {
|
|
20266
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
20267
|
+
return await this.modifyVpcAccessAndUpdateApisWithOptions(request, runtime);
|
|
20268
|
+
}
|
|
20105
20269
|
async openApiGatewayServiceWithOptions(runtime) {
|
|
20106
20270
|
let req = new $OpenApi.OpenApiRequest({});
|
|
20107
20271
|
let params = new $OpenApi.Params({
|