@alicloud/cloudapi20160714 2.0.0 → 2.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 +6 -122
- package/dist/client.js +2444 -312
- package/dist/client.js.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +2450 -360
package/src/client.ts
CHANGED
|
@@ -3917,93 +3917,6 @@ export class DescribeApiSignaturesResponse extends $tea.Model {
|
|
|
3917
3917
|
}
|
|
3918
3918
|
}
|
|
3919
3919
|
|
|
3920
|
-
export class DescribeApiStageRequest extends $tea.Model {
|
|
3921
|
-
groupId?: string;
|
|
3922
|
-
securityToken?: string;
|
|
3923
|
-
stageId?: string;
|
|
3924
|
-
static names(): { [key: string]: string } {
|
|
3925
|
-
return {
|
|
3926
|
-
groupId: 'GroupId',
|
|
3927
|
-
securityToken: 'SecurityToken',
|
|
3928
|
-
stageId: 'StageId',
|
|
3929
|
-
};
|
|
3930
|
-
}
|
|
3931
|
-
|
|
3932
|
-
static types(): { [key: string]: any } {
|
|
3933
|
-
return {
|
|
3934
|
-
groupId: 'string',
|
|
3935
|
-
securityToken: 'string',
|
|
3936
|
-
stageId: 'string',
|
|
3937
|
-
};
|
|
3938
|
-
}
|
|
3939
|
-
|
|
3940
|
-
constructor(map?: { [key: string]: any }) {
|
|
3941
|
-
super(map);
|
|
3942
|
-
}
|
|
3943
|
-
}
|
|
3944
|
-
|
|
3945
|
-
export class DescribeApiStageResponseBody extends $tea.Model {
|
|
3946
|
-
createdTime?: string;
|
|
3947
|
-
description?: string;
|
|
3948
|
-
groupId?: string;
|
|
3949
|
-
modifiedTime?: string;
|
|
3950
|
-
requestId?: string;
|
|
3951
|
-
stageId?: string;
|
|
3952
|
-
stageName?: string;
|
|
3953
|
-
variables?: DescribeApiStageResponseBodyVariables;
|
|
3954
|
-
static names(): { [key: string]: string } {
|
|
3955
|
-
return {
|
|
3956
|
-
createdTime: 'CreatedTime',
|
|
3957
|
-
description: 'Description',
|
|
3958
|
-
groupId: 'GroupId',
|
|
3959
|
-
modifiedTime: 'ModifiedTime',
|
|
3960
|
-
requestId: 'RequestId',
|
|
3961
|
-
stageId: 'StageId',
|
|
3962
|
-
stageName: 'StageName',
|
|
3963
|
-
variables: 'Variables',
|
|
3964
|
-
};
|
|
3965
|
-
}
|
|
3966
|
-
|
|
3967
|
-
static types(): { [key: string]: any } {
|
|
3968
|
-
return {
|
|
3969
|
-
createdTime: 'string',
|
|
3970
|
-
description: 'string',
|
|
3971
|
-
groupId: 'string',
|
|
3972
|
-
modifiedTime: 'string',
|
|
3973
|
-
requestId: 'string',
|
|
3974
|
-
stageId: 'string',
|
|
3975
|
-
stageName: 'string',
|
|
3976
|
-
variables: DescribeApiStageResponseBodyVariables,
|
|
3977
|
-
};
|
|
3978
|
-
}
|
|
3979
|
-
|
|
3980
|
-
constructor(map?: { [key: string]: any }) {
|
|
3981
|
-
super(map);
|
|
3982
|
-
}
|
|
3983
|
-
}
|
|
3984
|
-
|
|
3985
|
-
export class DescribeApiStageResponse extends $tea.Model {
|
|
3986
|
-
headers: { [key: string]: string };
|
|
3987
|
-
body: DescribeApiStageResponseBody;
|
|
3988
|
-
static names(): { [key: string]: string } {
|
|
3989
|
-
return {
|
|
3990
|
-
headers: 'headers',
|
|
3991
|
-
body: 'body',
|
|
3992
|
-
};
|
|
3993
|
-
}
|
|
3994
|
-
|
|
3995
|
-
static types(): { [key: string]: any } {
|
|
3996
|
-
return {
|
|
3997
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3998
|
-
body: DescribeApiStageResponseBody,
|
|
3999
|
-
};
|
|
4000
|
-
}
|
|
4001
|
-
|
|
4002
|
-
constructor(map?: { [key: string]: any }) {
|
|
4003
|
-
super(map);
|
|
4004
|
-
}
|
|
4005
|
-
}
|
|
4006
|
-
|
|
4007
3920
|
export class DescribeApiTrafficControlsRequest extends $tea.Model {
|
|
4008
3921
|
apiIds?: string;
|
|
4009
3922
|
groupId?: string;
|
|
@@ -7098,28 +7011,28 @@ export class DescribeUpdateVpcInfoTaskResponse extends $tea.Model {
|
|
|
7098
7011
|
}
|
|
7099
7012
|
|
|
7100
7013
|
export class DescribeVpcAccessesRequest extends $tea.Model {
|
|
7101
|
-
accurateQuery?: boolean;
|
|
7102
7014
|
name?: string;
|
|
7103
7015
|
pageNumber?: number;
|
|
7104
7016
|
pageSize?: number;
|
|
7105
7017
|
securityToken?: string;
|
|
7018
|
+
vpcAccessId?: string;
|
|
7106
7019
|
static names(): { [key: string]: string } {
|
|
7107
7020
|
return {
|
|
7108
|
-
accurateQuery: 'AccurateQuery',
|
|
7109
7021
|
name: 'Name',
|
|
7110
7022
|
pageNumber: 'PageNumber',
|
|
7111
7023
|
pageSize: 'PageSize',
|
|
7112
7024
|
securityToken: 'SecurityToken',
|
|
7025
|
+
vpcAccessId: 'VpcAccessId',
|
|
7113
7026
|
};
|
|
7114
7027
|
}
|
|
7115
7028
|
|
|
7116
7029
|
static types(): { [key: string]: any } {
|
|
7117
7030
|
return {
|
|
7118
|
-
accurateQuery: 'boolean',
|
|
7119
7031
|
name: 'string',
|
|
7120
7032
|
pageNumber: 'number',
|
|
7121
7033
|
pageSize: 'number',
|
|
7122
7034
|
securityToken: 'string',
|
|
7035
|
+
vpcAccessId: 'string',
|
|
7123
7036
|
};
|
|
7124
7037
|
}
|
|
7125
7038
|
|
|
@@ -7253,6 +7166,7 @@ export class DryRunSwaggerRequest extends $tea.Model {
|
|
|
7253
7166
|
globalCondition?: { [key: string]: any };
|
|
7254
7167
|
groupId?: string;
|
|
7255
7168
|
overwrite?: boolean;
|
|
7169
|
+
securityToken?: string;
|
|
7256
7170
|
static names(): { [key: string]: string } {
|
|
7257
7171
|
return {
|
|
7258
7172
|
data: 'Data',
|
|
@@ -7260,6 +7174,7 @@ export class DryRunSwaggerRequest extends $tea.Model {
|
|
|
7260
7174
|
globalCondition: 'GlobalCondition',
|
|
7261
7175
|
groupId: 'GroupId',
|
|
7262
7176
|
overwrite: 'Overwrite',
|
|
7177
|
+
securityToken: 'SecurityToken',
|
|
7263
7178
|
};
|
|
7264
7179
|
}
|
|
7265
7180
|
|
|
@@ -7270,6 +7185,7 @@ export class DryRunSwaggerRequest extends $tea.Model {
|
|
|
7270
7185
|
globalCondition: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
7271
7186
|
groupId: 'string',
|
|
7272
7187
|
overwrite: 'boolean',
|
|
7188
|
+
securityToken: 'string',
|
|
7273
7189
|
};
|
|
7274
7190
|
}
|
|
7275
7191
|
|
|
@@ -7284,6 +7200,7 @@ export class DryRunSwaggerShrinkRequest extends $tea.Model {
|
|
|
7284
7200
|
globalConditionShrink?: string;
|
|
7285
7201
|
groupId?: string;
|
|
7286
7202
|
overwrite?: boolean;
|
|
7203
|
+
securityToken?: string;
|
|
7287
7204
|
static names(): { [key: string]: string } {
|
|
7288
7205
|
return {
|
|
7289
7206
|
data: 'Data',
|
|
@@ -7291,6 +7208,7 @@ export class DryRunSwaggerShrinkRequest extends $tea.Model {
|
|
|
7291
7208
|
globalConditionShrink: 'GlobalCondition',
|
|
7292
7209
|
groupId: 'GroupId',
|
|
7293
7210
|
overwrite: 'Overwrite',
|
|
7211
|
+
securityToken: 'SecurityToken',
|
|
7294
7212
|
};
|
|
7295
7213
|
}
|
|
7296
7214
|
|
|
@@ -7301,6 +7219,7 @@ export class DryRunSwaggerShrinkRequest extends $tea.Model {
|
|
|
7301
7219
|
globalConditionShrink: 'string',
|
|
7302
7220
|
groupId: 'string',
|
|
7303
7221
|
overwrite: 'boolean',
|
|
7222
|
+
securityToken: 'string',
|
|
7304
7223
|
};
|
|
7305
7224
|
}
|
|
7306
7225
|
|
|
@@ -7372,6 +7291,7 @@ export class ImportSwaggerRequest extends $tea.Model {
|
|
|
7372
7291
|
globalCondition?: { [key: string]: any };
|
|
7373
7292
|
groupId?: string;
|
|
7374
7293
|
overwrite?: boolean;
|
|
7294
|
+
securityToken?: string;
|
|
7375
7295
|
static names(): { [key: string]: string } {
|
|
7376
7296
|
return {
|
|
7377
7297
|
data: 'Data',
|
|
@@ -7380,6 +7300,7 @@ export class ImportSwaggerRequest extends $tea.Model {
|
|
|
7380
7300
|
globalCondition: 'GlobalCondition',
|
|
7381
7301
|
groupId: 'GroupId',
|
|
7382
7302
|
overwrite: 'Overwrite',
|
|
7303
|
+
securityToken: 'SecurityToken',
|
|
7383
7304
|
};
|
|
7384
7305
|
}
|
|
7385
7306
|
|
|
@@ -7391,6 +7312,7 @@ export class ImportSwaggerRequest extends $tea.Model {
|
|
|
7391
7312
|
globalCondition: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
7392
7313
|
groupId: 'string',
|
|
7393
7314
|
overwrite: 'boolean',
|
|
7315
|
+
securityToken: 'string',
|
|
7394
7316
|
};
|
|
7395
7317
|
}
|
|
7396
7318
|
|
|
@@ -7406,6 +7328,7 @@ export class ImportSwaggerShrinkRequest extends $tea.Model {
|
|
|
7406
7328
|
globalConditionShrink?: string;
|
|
7407
7329
|
groupId?: string;
|
|
7408
7330
|
overwrite?: boolean;
|
|
7331
|
+
securityToken?: string;
|
|
7409
7332
|
static names(): { [key: string]: string } {
|
|
7410
7333
|
return {
|
|
7411
7334
|
data: 'Data',
|
|
@@ -7414,6 +7337,7 @@ export class ImportSwaggerShrinkRequest extends $tea.Model {
|
|
|
7414
7337
|
globalConditionShrink: 'GlobalCondition',
|
|
7415
7338
|
groupId: 'GroupId',
|
|
7416
7339
|
overwrite: 'Overwrite',
|
|
7340
|
+
securityToken: 'SecurityToken',
|
|
7417
7341
|
};
|
|
7418
7342
|
}
|
|
7419
7343
|
|
|
@@ -7425,6 +7349,7 @@ export class ImportSwaggerShrinkRequest extends $tea.Model {
|
|
|
7425
7349
|
globalConditionShrink: 'string',
|
|
7426
7350
|
groupId: 'string',
|
|
7427
7351
|
overwrite: 'boolean',
|
|
7352
|
+
securityToken: 'string',
|
|
7428
7353
|
};
|
|
7429
7354
|
}
|
|
7430
7355
|
|
|
@@ -12976,134 +12901,6 @@ export class DescribeApiSignaturesResponseBodyApiSignatures extends $tea.Model {
|
|
|
12976
12901
|
}
|
|
12977
12902
|
}
|
|
12978
12903
|
|
|
12979
|
-
export class DescribeApiStageResponseBodyVariablesVariableItemStageRouteModelRouteRulesRouteRuleItem extends $tea.Model {
|
|
12980
|
-
conditionValue?: string;
|
|
12981
|
-
maxValue?: number;
|
|
12982
|
-
minValue?: number;
|
|
12983
|
-
resultValue?: string;
|
|
12984
|
-
static names(): { [key: string]: string } {
|
|
12985
|
-
return {
|
|
12986
|
-
conditionValue: 'ConditionValue',
|
|
12987
|
-
maxValue: 'MaxValue',
|
|
12988
|
-
minValue: 'MinValue',
|
|
12989
|
-
resultValue: 'ResultValue',
|
|
12990
|
-
};
|
|
12991
|
-
}
|
|
12992
|
-
|
|
12993
|
-
static types(): { [key: string]: any } {
|
|
12994
|
-
return {
|
|
12995
|
-
conditionValue: 'string',
|
|
12996
|
-
maxValue: 'number',
|
|
12997
|
-
minValue: 'number',
|
|
12998
|
-
resultValue: 'string',
|
|
12999
|
-
};
|
|
13000
|
-
}
|
|
13001
|
-
|
|
13002
|
-
constructor(map?: { [key: string]: any }) {
|
|
13003
|
-
super(map);
|
|
13004
|
-
}
|
|
13005
|
-
}
|
|
13006
|
-
|
|
13007
|
-
export class DescribeApiStageResponseBodyVariablesVariableItemStageRouteModelRouteRules extends $tea.Model {
|
|
13008
|
-
routeRuleItem?: DescribeApiStageResponseBodyVariablesVariableItemStageRouteModelRouteRulesRouteRuleItem[];
|
|
13009
|
-
static names(): { [key: string]: string } {
|
|
13010
|
-
return {
|
|
13011
|
-
routeRuleItem: 'RouteRuleItem',
|
|
13012
|
-
};
|
|
13013
|
-
}
|
|
13014
|
-
|
|
13015
|
-
static types(): { [key: string]: any } {
|
|
13016
|
-
return {
|
|
13017
|
-
routeRuleItem: { 'type': 'array', 'itemType': DescribeApiStageResponseBodyVariablesVariableItemStageRouteModelRouteRulesRouteRuleItem },
|
|
13018
|
-
};
|
|
13019
|
-
}
|
|
13020
|
-
|
|
13021
|
-
constructor(map?: { [key: string]: any }) {
|
|
13022
|
-
super(map);
|
|
13023
|
-
}
|
|
13024
|
-
}
|
|
13025
|
-
|
|
13026
|
-
export class DescribeApiStageResponseBodyVariablesVariableItemStageRouteModel extends $tea.Model {
|
|
13027
|
-
location?: string;
|
|
13028
|
-
parameterCatalog?: string;
|
|
13029
|
-
parameterType?: string;
|
|
13030
|
-
routeMatchSymbol?: string;
|
|
13031
|
-
routeRules?: DescribeApiStageResponseBodyVariablesVariableItemStageRouteModelRouteRules;
|
|
13032
|
-
serviceParameterName?: string;
|
|
13033
|
-
static names(): { [key: string]: string } {
|
|
13034
|
-
return {
|
|
13035
|
-
location: 'Location',
|
|
13036
|
-
parameterCatalog: 'ParameterCatalog',
|
|
13037
|
-
parameterType: 'ParameterType',
|
|
13038
|
-
routeMatchSymbol: 'RouteMatchSymbol',
|
|
13039
|
-
routeRules: 'RouteRules',
|
|
13040
|
-
serviceParameterName: 'ServiceParameterName',
|
|
13041
|
-
};
|
|
13042
|
-
}
|
|
13043
|
-
|
|
13044
|
-
static types(): { [key: string]: any } {
|
|
13045
|
-
return {
|
|
13046
|
-
location: 'string',
|
|
13047
|
-
parameterCatalog: 'string',
|
|
13048
|
-
parameterType: 'string',
|
|
13049
|
-
routeMatchSymbol: 'string',
|
|
13050
|
-
routeRules: DescribeApiStageResponseBodyVariablesVariableItemStageRouteModelRouteRules,
|
|
13051
|
-
serviceParameterName: 'string',
|
|
13052
|
-
};
|
|
13053
|
-
}
|
|
13054
|
-
|
|
13055
|
-
constructor(map?: { [key: string]: any }) {
|
|
13056
|
-
super(map);
|
|
13057
|
-
}
|
|
13058
|
-
}
|
|
13059
|
-
|
|
13060
|
-
export class DescribeApiStageResponseBodyVariablesVariableItem extends $tea.Model {
|
|
13061
|
-
stageRouteModel?: DescribeApiStageResponseBodyVariablesVariableItemStageRouteModel;
|
|
13062
|
-
supportRoute?: boolean;
|
|
13063
|
-
variableName?: string;
|
|
13064
|
-
variableValue?: string;
|
|
13065
|
-
static names(): { [key: string]: string } {
|
|
13066
|
-
return {
|
|
13067
|
-
stageRouteModel: 'StageRouteModel',
|
|
13068
|
-
supportRoute: 'SupportRoute',
|
|
13069
|
-
variableName: 'VariableName',
|
|
13070
|
-
variableValue: 'VariableValue',
|
|
13071
|
-
};
|
|
13072
|
-
}
|
|
13073
|
-
|
|
13074
|
-
static types(): { [key: string]: any } {
|
|
13075
|
-
return {
|
|
13076
|
-
stageRouteModel: DescribeApiStageResponseBodyVariablesVariableItemStageRouteModel,
|
|
13077
|
-
supportRoute: 'boolean',
|
|
13078
|
-
variableName: 'string',
|
|
13079
|
-
variableValue: 'string',
|
|
13080
|
-
};
|
|
13081
|
-
}
|
|
13082
|
-
|
|
13083
|
-
constructor(map?: { [key: string]: any }) {
|
|
13084
|
-
super(map);
|
|
13085
|
-
}
|
|
13086
|
-
}
|
|
13087
|
-
|
|
13088
|
-
export class DescribeApiStageResponseBodyVariables extends $tea.Model {
|
|
13089
|
-
variableItem?: DescribeApiStageResponseBodyVariablesVariableItem[];
|
|
13090
|
-
static names(): { [key: string]: string } {
|
|
13091
|
-
return {
|
|
13092
|
-
variableItem: 'VariableItem',
|
|
13093
|
-
};
|
|
13094
|
-
}
|
|
13095
|
-
|
|
13096
|
-
static types(): { [key: string]: any } {
|
|
13097
|
-
return {
|
|
13098
|
-
variableItem: { 'type': 'array', 'itemType': DescribeApiStageResponseBodyVariablesVariableItem },
|
|
13099
|
-
};
|
|
13100
|
-
}
|
|
13101
|
-
|
|
13102
|
-
constructor(map?: { [key: string]: any }) {
|
|
13103
|
-
super(map);
|
|
13104
|
-
}
|
|
13105
|
-
}
|
|
13106
|
-
|
|
13107
12904
|
export class DescribeApiTrafficControlsResponseBodyApiTrafficControlsApiTrafficControlItem extends $tea.Model {
|
|
13108
12905
|
apiId?: string;
|
|
13109
12906
|
apiName?: string;
|
|
@@ -15865,6 +15662,7 @@ export class DescribeVpcAccessesResponseBodyVpcAccessAttributesVpcAccessAttribut
|
|
|
15865
15662
|
name?: string;
|
|
15866
15663
|
port?: number;
|
|
15867
15664
|
regionId?: string;
|
|
15665
|
+
vpcAccessId?: string;
|
|
15868
15666
|
vpcId?: string;
|
|
15869
15667
|
static names(): { [key: string]: string } {
|
|
15870
15668
|
return {
|
|
@@ -15874,6 +15672,7 @@ export class DescribeVpcAccessesResponseBodyVpcAccessAttributesVpcAccessAttribut
|
|
|
15874
15672
|
name: 'Name',
|
|
15875
15673
|
port: 'Port',
|
|
15876
15674
|
regionId: 'RegionId',
|
|
15675
|
+
vpcAccessId: 'VpcAccessId',
|
|
15877
15676
|
vpcId: 'VpcId',
|
|
15878
15677
|
};
|
|
15879
15678
|
}
|
|
@@ -15886,6 +15685,7 @@ export class DescribeVpcAccessesResponseBodyVpcAccessAttributesVpcAccessAttribut
|
|
|
15886
15685
|
name: 'string',
|
|
15887
15686
|
port: 'number',
|
|
15888
15687
|
regionId: 'string',
|
|
15688
|
+
vpcAccessId: 'string',
|
|
15889
15689
|
vpcId: 'string',
|
|
15890
15690
|
};
|
|
15891
15691
|
}
|
|
@@ -16574,10 +16374,27 @@ export default class Client extends OpenApi {
|
|
|
16574
16374
|
|
|
16575
16375
|
async abolishApiWithOptions(request: AbolishApiRequest, runtime: $Util.RuntimeOptions): Promise<AbolishApiResponse> {
|
|
16576
16376
|
Util.validateModel(request);
|
|
16377
|
+
let query = { };
|
|
16378
|
+
query["ApiId"] = request.apiId;
|
|
16379
|
+
query["GroupId"] = request.groupId;
|
|
16380
|
+
query["SecurityToken"] = request.securityToken;
|
|
16381
|
+
query["StageName"] = request.stageName;
|
|
16577
16382
|
let req = new $OpenApi.OpenApiRequest({
|
|
16383
|
+
query: OpenApiUtil.query(query),
|
|
16578
16384
|
body: Util.toMap(request),
|
|
16579
16385
|
});
|
|
16580
|
-
|
|
16386
|
+
let params = new $OpenApi.Params({
|
|
16387
|
+
action: "AbolishApi",
|
|
16388
|
+
version: "2016-07-14",
|
|
16389
|
+
protocol: "HTTPS",
|
|
16390
|
+
pathname: "/",
|
|
16391
|
+
method: "POST",
|
|
16392
|
+
authType: "AK",
|
|
16393
|
+
style: "RPC",
|
|
16394
|
+
reqBodyType: "json",
|
|
16395
|
+
bodyType: "json",
|
|
16396
|
+
});
|
|
16397
|
+
return $tea.cast<AbolishApiResponse>(await this.callApi(params, req, runtime), new AbolishApiResponse({}));
|
|
16581
16398
|
}
|
|
16582
16399
|
|
|
16583
16400
|
async abolishApi(request: AbolishApiRequest): Promise<AbolishApiResponse> {
|
|
@@ -16587,10 +16404,27 @@ export default class Client extends OpenApi {
|
|
|
16587
16404
|
|
|
16588
16405
|
async addIpControlPolicyItemWithOptions(request: AddIpControlPolicyItemRequest, runtime: $Util.RuntimeOptions): Promise<AddIpControlPolicyItemResponse> {
|
|
16589
16406
|
Util.validateModel(request);
|
|
16407
|
+
let query = { };
|
|
16408
|
+
query["AppId"] = request.appId;
|
|
16409
|
+
query["CidrIp"] = request.cidrIp;
|
|
16410
|
+
query["IpControlId"] = request.ipControlId;
|
|
16411
|
+
query["SecurityToken"] = request.securityToken;
|
|
16590
16412
|
let req = new $OpenApi.OpenApiRequest({
|
|
16413
|
+
query: OpenApiUtil.query(query),
|
|
16591
16414
|
body: Util.toMap(request),
|
|
16592
16415
|
});
|
|
16593
|
-
|
|
16416
|
+
let params = new $OpenApi.Params({
|
|
16417
|
+
action: "AddIpControlPolicyItem",
|
|
16418
|
+
version: "2016-07-14",
|
|
16419
|
+
protocol: "HTTPS",
|
|
16420
|
+
pathname: "/",
|
|
16421
|
+
method: "POST",
|
|
16422
|
+
authType: "AK",
|
|
16423
|
+
style: "RPC",
|
|
16424
|
+
reqBodyType: "json",
|
|
16425
|
+
bodyType: "json",
|
|
16426
|
+
});
|
|
16427
|
+
return $tea.cast<AddIpControlPolicyItemResponse>(await this.callApi(params, req, runtime), new AddIpControlPolicyItemResponse({}));
|
|
16594
16428
|
}
|
|
16595
16429
|
|
|
16596
16430
|
async addIpControlPolicyItem(request: AddIpControlPolicyItemRequest): Promise<AddIpControlPolicyItemResponse> {
|
|
@@ -16600,10 +16434,28 @@ export default class Client extends OpenApi {
|
|
|
16600
16434
|
|
|
16601
16435
|
async addTrafficSpecialControlWithOptions(request: AddTrafficSpecialControlRequest, runtime: $Util.RuntimeOptions): Promise<AddTrafficSpecialControlResponse> {
|
|
16602
16436
|
Util.validateModel(request);
|
|
16437
|
+
let query = { };
|
|
16438
|
+
query["SecurityToken"] = request.securityToken;
|
|
16439
|
+
query["SpecialKey"] = request.specialKey;
|
|
16440
|
+
query["SpecialType"] = request.specialType;
|
|
16441
|
+
query["TrafficControlId"] = request.trafficControlId;
|
|
16442
|
+
query["TrafficValue"] = request.trafficValue;
|
|
16603
16443
|
let req = new $OpenApi.OpenApiRequest({
|
|
16444
|
+
query: OpenApiUtil.query(query),
|
|
16604
16445
|
body: Util.toMap(request),
|
|
16605
16446
|
});
|
|
16606
|
-
|
|
16447
|
+
let params = new $OpenApi.Params({
|
|
16448
|
+
action: "AddTrafficSpecialControl",
|
|
16449
|
+
version: "2016-07-14",
|
|
16450
|
+
protocol: "HTTPS",
|
|
16451
|
+
pathname: "/",
|
|
16452
|
+
method: "POST",
|
|
16453
|
+
authType: "AK",
|
|
16454
|
+
style: "RPC",
|
|
16455
|
+
reqBodyType: "json",
|
|
16456
|
+
bodyType: "json",
|
|
16457
|
+
});
|
|
16458
|
+
return $tea.cast<AddTrafficSpecialControlResponse>(await this.callApi(params, req, runtime), new AddTrafficSpecialControlResponse({}));
|
|
16607
16459
|
}
|
|
16608
16460
|
|
|
16609
16461
|
async addTrafficSpecialControl(request: AddTrafficSpecialControlRequest): Promise<AddTrafficSpecialControlResponse> {
|
|
@@ -16613,10 +16465,29 @@ export default class Client extends OpenApi {
|
|
|
16613
16465
|
|
|
16614
16466
|
async attachPluginWithOptions(request: AttachPluginRequest, runtime: $Util.RuntimeOptions): Promise<AttachPluginResponse> {
|
|
16615
16467
|
Util.validateModel(request);
|
|
16468
|
+
let query = { };
|
|
16469
|
+
query["ApiId"] = request.apiId;
|
|
16470
|
+
query["ApiIds"] = request.apiIds;
|
|
16471
|
+
query["GroupId"] = request.groupId;
|
|
16472
|
+
query["PluginId"] = request.pluginId;
|
|
16473
|
+
query["SecurityToken"] = request.securityToken;
|
|
16474
|
+
query["StageName"] = request.stageName;
|
|
16616
16475
|
let req = new $OpenApi.OpenApiRequest({
|
|
16476
|
+
query: OpenApiUtil.query(query),
|
|
16617
16477
|
body: Util.toMap(request),
|
|
16618
16478
|
});
|
|
16619
|
-
|
|
16479
|
+
let params = new $OpenApi.Params({
|
|
16480
|
+
action: "AttachPlugin",
|
|
16481
|
+
version: "2016-07-14",
|
|
16482
|
+
protocol: "HTTPS",
|
|
16483
|
+
pathname: "/",
|
|
16484
|
+
method: "POST",
|
|
16485
|
+
authType: "AK",
|
|
16486
|
+
style: "RPC",
|
|
16487
|
+
reqBodyType: "json",
|
|
16488
|
+
bodyType: "json",
|
|
16489
|
+
});
|
|
16490
|
+
return $tea.cast<AttachPluginResponse>(await this.callApi(params, req, runtime), new AttachPluginResponse({}));
|
|
16620
16491
|
}
|
|
16621
16492
|
|
|
16622
16493
|
async attachPlugin(request: AttachPluginRequest): Promise<AttachPluginResponse> {
|
|
@@ -16626,10 +16497,25 @@ export default class Client extends OpenApi {
|
|
|
16626
16497
|
|
|
16627
16498
|
async batchAbolishApisWithOptions(request: BatchAbolishApisRequest, runtime: $Util.RuntimeOptions): Promise<BatchAbolishApisResponse> {
|
|
16628
16499
|
Util.validateModel(request);
|
|
16500
|
+
let query = { };
|
|
16501
|
+
query["Api"] = request.api;
|
|
16502
|
+
query["SecurityToken"] = request.securityToken;
|
|
16629
16503
|
let req = new $OpenApi.OpenApiRequest({
|
|
16504
|
+
query: OpenApiUtil.query(query),
|
|
16630
16505
|
body: Util.toMap(request),
|
|
16631
16506
|
});
|
|
16632
|
-
|
|
16507
|
+
let params = new $OpenApi.Params({
|
|
16508
|
+
action: "BatchAbolishApis",
|
|
16509
|
+
version: "2016-07-14",
|
|
16510
|
+
protocol: "HTTPS",
|
|
16511
|
+
pathname: "/",
|
|
16512
|
+
method: "POST",
|
|
16513
|
+
authType: "AK",
|
|
16514
|
+
style: "RPC",
|
|
16515
|
+
reqBodyType: "json",
|
|
16516
|
+
bodyType: "json",
|
|
16517
|
+
});
|
|
16518
|
+
return $tea.cast<BatchAbolishApisResponse>(await this.callApi(params, req, runtime), new BatchAbolishApisResponse({}));
|
|
16633
16519
|
}
|
|
16634
16520
|
|
|
16635
16521
|
async batchAbolishApis(request: BatchAbolishApisRequest): Promise<BatchAbolishApisResponse> {
|
|
@@ -16639,10 +16525,27 @@ export default class Client extends OpenApi {
|
|
|
16639
16525
|
|
|
16640
16526
|
async batchDeployApisWithOptions(request: BatchDeployApisRequest, runtime: $Util.RuntimeOptions): Promise<BatchDeployApisResponse> {
|
|
16641
16527
|
Util.validateModel(request);
|
|
16528
|
+
let query = { };
|
|
16529
|
+
query["Api"] = request.api;
|
|
16530
|
+
query["Description"] = request.description;
|
|
16531
|
+
query["SecurityToken"] = request.securityToken;
|
|
16532
|
+
query["StageName"] = request.stageName;
|
|
16642
16533
|
let req = new $OpenApi.OpenApiRequest({
|
|
16534
|
+
query: OpenApiUtil.query(query),
|
|
16643
16535
|
body: Util.toMap(request),
|
|
16644
16536
|
});
|
|
16645
|
-
|
|
16537
|
+
let params = new $OpenApi.Params({
|
|
16538
|
+
action: "BatchDeployApis",
|
|
16539
|
+
version: "2016-07-14",
|
|
16540
|
+
protocol: "HTTPS",
|
|
16541
|
+
pathname: "/",
|
|
16542
|
+
method: "POST",
|
|
16543
|
+
authType: "AK",
|
|
16544
|
+
style: "RPC",
|
|
16545
|
+
reqBodyType: "json",
|
|
16546
|
+
bodyType: "json",
|
|
16547
|
+
});
|
|
16548
|
+
return $tea.cast<BatchDeployApisResponse>(await this.callApi(params, req, runtime), new BatchDeployApisResponse({}));
|
|
16646
16549
|
}
|
|
16647
16550
|
|
|
16648
16551
|
async batchDeployApis(request: BatchDeployApisRequest): Promise<BatchDeployApisResponse> {
|
|
@@ -16652,10 +16555,48 @@ export default class Client extends OpenApi {
|
|
|
16652
16555
|
|
|
16653
16556
|
async createApiWithOptions(request: CreateApiRequest, runtime: $Util.RuntimeOptions): Promise<CreateApiResponse> {
|
|
16654
16557
|
Util.validateModel(request);
|
|
16558
|
+
let query = { };
|
|
16559
|
+
query["AllowSignatureMethod"] = request.allowSignatureMethod;
|
|
16560
|
+
query["ApiName"] = request.apiName;
|
|
16561
|
+
query["AppCodeAuthType"] = request.appCodeAuthType;
|
|
16562
|
+
query["AuthType"] = request.authType;
|
|
16563
|
+
query["ConstantParameters"] = request.constantParameters;
|
|
16564
|
+
query["Description"] = request.description;
|
|
16565
|
+
query["DisableInternet"] = request.disableInternet;
|
|
16566
|
+
query["ErrorCodeSamples"] = request.errorCodeSamples;
|
|
16567
|
+
query["FailResultSample"] = request.failResultSample;
|
|
16568
|
+
query["ForceNonceCheck"] = request.forceNonceCheck;
|
|
16569
|
+
query["GroupId"] = request.groupId;
|
|
16570
|
+
query["OpenIdConnectConfig"] = request.openIdConnectConfig;
|
|
16571
|
+
query["RequestConfig"] = request.requestConfig;
|
|
16572
|
+
query["RequestParameters"] = request.requestParameters;
|
|
16573
|
+
query["ResultBodyModel"] = request.resultBodyModel;
|
|
16574
|
+
query["ResultDescriptions"] = request.resultDescriptions;
|
|
16575
|
+
query["ResultSample"] = request.resultSample;
|
|
16576
|
+
query["ResultType"] = request.resultType;
|
|
16577
|
+
query["SecurityToken"] = request.securityToken;
|
|
16578
|
+
query["ServiceConfig"] = request.serviceConfig;
|
|
16579
|
+
query["ServiceParameters"] = request.serviceParameters;
|
|
16580
|
+
query["ServiceParametersMap"] = request.serviceParametersMap;
|
|
16581
|
+
query["SystemParameters"] = request.systemParameters;
|
|
16582
|
+
query["Visibility"] = request.visibility;
|
|
16583
|
+
query["WebSocketApiType"] = request.webSocketApiType;
|
|
16655
16584
|
let req = new $OpenApi.OpenApiRequest({
|
|
16585
|
+
query: OpenApiUtil.query(query),
|
|
16656
16586
|
body: Util.toMap(request),
|
|
16657
16587
|
});
|
|
16658
|
-
|
|
16588
|
+
let params = new $OpenApi.Params({
|
|
16589
|
+
action: "CreateApi",
|
|
16590
|
+
version: "2016-07-14",
|
|
16591
|
+
protocol: "HTTPS",
|
|
16592
|
+
pathname: "/",
|
|
16593
|
+
method: "POST",
|
|
16594
|
+
authType: "AK",
|
|
16595
|
+
style: "RPC",
|
|
16596
|
+
reqBodyType: "json",
|
|
16597
|
+
bodyType: "json",
|
|
16598
|
+
});
|
|
16599
|
+
return $tea.cast<CreateApiResponse>(await this.callApi(params, req, runtime), new CreateApiResponse({}));
|
|
16659
16600
|
}
|
|
16660
16601
|
|
|
16661
16602
|
async createApi(request: CreateApiRequest): Promise<CreateApiResponse> {
|
|
@@ -16665,10 +16606,29 @@ export default class Client extends OpenApi {
|
|
|
16665
16606
|
|
|
16666
16607
|
async createApiGroupWithOptions(request: CreateApiGroupRequest, runtime: $Util.RuntimeOptions): Promise<CreateApiGroupResponse> {
|
|
16667
16608
|
Util.validateModel(request);
|
|
16609
|
+
let query = { };
|
|
16610
|
+
query["BasePath"] = request.basePath;
|
|
16611
|
+
query["Description"] = request.description;
|
|
16612
|
+
query["GroupName"] = request.groupName;
|
|
16613
|
+
query["InstanceId"] = request.instanceId;
|
|
16614
|
+
query["SecurityToken"] = request.securityToken;
|
|
16615
|
+
query["Tag"] = request.tag;
|
|
16668
16616
|
let req = new $OpenApi.OpenApiRequest({
|
|
16617
|
+
query: OpenApiUtil.query(query),
|
|
16669
16618
|
body: Util.toMap(request),
|
|
16670
16619
|
});
|
|
16671
|
-
|
|
16620
|
+
let params = new $OpenApi.Params({
|
|
16621
|
+
action: "CreateApiGroup",
|
|
16622
|
+
version: "2016-07-14",
|
|
16623
|
+
protocol: "HTTPS",
|
|
16624
|
+
pathname: "/",
|
|
16625
|
+
method: "POST",
|
|
16626
|
+
authType: "AK",
|
|
16627
|
+
style: "RPC",
|
|
16628
|
+
reqBodyType: "json",
|
|
16629
|
+
bodyType: "json",
|
|
16630
|
+
});
|
|
16631
|
+
return $tea.cast<CreateApiGroupResponse>(await this.callApi(params, req, runtime), new CreateApiGroupResponse({}));
|
|
16672
16632
|
}
|
|
16673
16633
|
|
|
16674
16634
|
async createApiGroup(request: CreateApiGroupRequest): Promise<CreateApiGroupResponse> {
|
|
@@ -16678,10 +16638,30 @@ export default class Client extends OpenApi {
|
|
|
16678
16638
|
|
|
16679
16639
|
async createApiStageVariableWithOptions(request: CreateApiStageVariableRequest, runtime: $Util.RuntimeOptions): Promise<CreateApiStageVariableResponse> {
|
|
16680
16640
|
Util.validateModel(request);
|
|
16641
|
+
let query = { };
|
|
16642
|
+
query["GroupId"] = request.groupId;
|
|
16643
|
+
query["SecurityToken"] = request.securityToken;
|
|
16644
|
+
query["StageId"] = request.stageId;
|
|
16645
|
+
query["StageRouteModel"] = request.stageRouteModel;
|
|
16646
|
+
query["SupportRoute"] = request.supportRoute;
|
|
16647
|
+
query["VariableName"] = request.variableName;
|
|
16648
|
+
query["VariableValue"] = request.variableValue;
|
|
16681
16649
|
let req = new $OpenApi.OpenApiRequest({
|
|
16650
|
+
query: OpenApiUtil.query(query),
|
|
16682
16651
|
body: Util.toMap(request),
|
|
16683
16652
|
});
|
|
16684
|
-
|
|
16653
|
+
let params = new $OpenApi.Params({
|
|
16654
|
+
action: "CreateApiStageVariable",
|
|
16655
|
+
version: "2016-07-14",
|
|
16656
|
+
protocol: "HTTPS",
|
|
16657
|
+
pathname: "/",
|
|
16658
|
+
method: "POST",
|
|
16659
|
+
authType: "AK",
|
|
16660
|
+
style: "RPC",
|
|
16661
|
+
reqBodyType: "json",
|
|
16662
|
+
bodyType: "json",
|
|
16663
|
+
});
|
|
16664
|
+
return $tea.cast<CreateApiStageVariableResponse>(await this.callApi(params, req, runtime), new CreateApiStageVariableResponse({}));
|
|
16685
16665
|
}
|
|
16686
16666
|
|
|
16687
16667
|
async createApiStageVariable(request: CreateApiStageVariableRequest): Promise<CreateApiStageVariableResponse> {
|
|
@@ -16691,10 +16671,28 @@ export default class Client extends OpenApi {
|
|
|
16691
16671
|
|
|
16692
16672
|
async createAppWithOptions(request: CreateAppRequest, runtime: $Util.RuntimeOptions): Promise<CreateAppResponse> {
|
|
16693
16673
|
Util.validateModel(request);
|
|
16674
|
+
let query = { };
|
|
16675
|
+
query["AppName"] = request.appName;
|
|
16676
|
+
query["Description"] = request.description;
|
|
16677
|
+
query["SecurityToken"] = request.securityToken;
|
|
16678
|
+
query["Source"] = request.source;
|
|
16679
|
+
query["Tag"] = request.tag;
|
|
16694
16680
|
let req = new $OpenApi.OpenApiRequest({
|
|
16681
|
+
query: OpenApiUtil.query(query),
|
|
16695
16682
|
body: Util.toMap(request),
|
|
16696
16683
|
});
|
|
16697
|
-
|
|
16684
|
+
let params = new $OpenApi.Params({
|
|
16685
|
+
action: "CreateApp",
|
|
16686
|
+
version: "2016-07-14",
|
|
16687
|
+
protocol: "HTTPS",
|
|
16688
|
+
pathname: "/",
|
|
16689
|
+
method: "POST",
|
|
16690
|
+
authType: "AK",
|
|
16691
|
+
style: "RPC",
|
|
16692
|
+
reqBodyType: "json",
|
|
16693
|
+
bodyType: "json",
|
|
16694
|
+
});
|
|
16695
|
+
return $tea.cast<CreateAppResponse>(await this.callApi(params, req, runtime), new CreateAppResponse({}));
|
|
16698
16696
|
}
|
|
16699
16697
|
|
|
16700
16698
|
async createApp(request: CreateAppRequest): Promise<CreateAppResponse> {
|
|
@@ -16704,10 +16702,32 @@ export default class Client extends OpenApi {
|
|
|
16704
16702
|
|
|
16705
16703
|
async createInstanceWithOptions(request: CreateInstanceRequest, runtime: $Util.RuntimeOptions): Promise<CreateInstanceResponse> {
|
|
16706
16704
|
Util.validateModel(request);
|
|
16705
|
+
let query = { };
|
|
16706
|
+
query["AutoPay"] = request.autoPay;
|
|
16707
|
+
query["ChargeType"] = request.chargeType;
|
|
16708
|
+
query["Duration"] = request.duration;
|
|
16709
|
+
query["HttpsPolicy"] = request.httpsPolicy;
|
|
16710
|
+
query["InstanceName"] = request.instanceName;
|
|
16711
|
+
query["InstanceSpec"] = request.instanceSpec;
|
|
16712
|
+
query["PricingCycle"] = request.pricingCycle;
|
|
16713
|
+
query["Token"] = request.token;
|
|
16714
|
+
query["ZoneId"] = request.zoneId;
|
|
16707
16715
|
let req = new $OpenApi.OpenApiRequest({
|
|
16716
|
+
query: OpenApiUtil.query(query),
|
|
16708
16717
|
body: Util.toMap(request),
|
|
16709
16718
|
});
|
|
16710
|
-
|
|
16719
|
+
let params = new $OpenApi.Params({
|
|
16720
|
+
action: "CreateInstance",
|
|
16721
|
+
version: "2016-07-14",
|
|
16722
|
+
protocol: "HTTPS",
|
|
16723
|
+
pathname: "/",
|
|
16724
|
+
method: "POST",
|
|
16725
|
+
authType: "AK",
|
|
16726
|
+
style: "RPC",
|
|
16727
|
+
reqBodyType: "json",
|
|
16728
|
+
bodyType: "json",
|
|
16729
|
+
});
|
|
16730
|
+
return $tea.cast<CreateInstanceResponse>(await this.callApi(params, req, runtime), new CreateInstanceResponse({}));
|
|
16711
16731
|
}
|
|
16712
16732
|
|
|
16713
16733
|
async createInstance(request: CreateInstanceRequest): Promise<CreateInstanceResponse> {
|
|
@@ -16717,10 +16737,25 @@ export default class Client extends OpenApi {
|
|
|
16717
16737
|
|
|
16718
16738
|
async createIntranetDomainWithOptions(request: CreateIntranetDomainRequest, runtime: $Util.RuntimeOptions): Promise<CreateIntranetDomainResponse> {
|
|
16719
16739
|
Util.validateModel(request);
|
|
16740
|
+
let query = { };
|
|
16741
|
+
query["GroupId"] = request.groupId;
|
|
16742
|
+
query["SecurityToken"] = request.securityToken;
|
|
16720
16743
|
let req = new $OpenApi.OpenApiRequest({
|
|
16744
|
+
query: OpenApiUtil.query(query),
|
|
16721
16745
|
body: Util.toMap(request),
|
|
16722
16746
|
});
|
|
16723
|
-
|
|
16747
|
+
let params = new $OpenApi.Params({
|
|
16748
|
+
action: "CreateIntranetDomain",
|
|
16749
|
+
version: "2016-07-14",
|
|
16750
|
+
protocol: "HTTPS",
|
|
16751
|
+
pathname: "/",
|
|
16752
|
+
method: "POST",
|
|
16753
|
+
authType: "AK",
|
|
16754
|
+
style: "RPC",
|
|
16755
|
+
reqBodyType: "json",
|
|
16756
|
+
bodyType: "json",
|
|
16757
|
+
});
|
|
16758
|
+
return $tea.cast<CreateIntranetDomainResponse>(await this.callApi(params, req, runtime), new CreateIntranetDomainResponse({}));
|
|
16724
16759
|
}
|
|
16725
16760
|
|
|
16726
16761
|
async createIntranetDomain(request: CreateIntranetDomainRequest): Promise<CreateIntranetDomainResponse> {
|
|
@@ -16730,10 +16765,28 @@ export default class Client extends OpenApi {
|
|
|
16730
16765
|
|
|
16731
16766
|
async createIpControlWithOptions(request: CreateIpControlRequest, runtime: $Util.RuntimeOptions): Promise<CreateIpControlResponse> {
|
|
16732
16767
|
Util.validateModel(request);
|
|
16768
|
+
let query = { };
|
|
16769
|
+
query["Description"] = request.description;
|
|
16770
|
+
query["IpControlName"] = request.ipControlName;
|
|
16771
|
+
query["IpControlPolicys"] = request.ipControlPolicys;
|
|
16772
|
+
query["IpControlType"] = request.ipControlType;
|
|
16773
|
+
query["SecurityToken"] = request.securityToken;
|
|
16733
16774
|
let req = new $OpenApi.OpenApiRequest({
|
|
16775
|
+
query: OpenApiUtil.query(query),
|
|
16734
16776
|
body: Util.toMap(request),
|
|
16735
16777
|
});
|
|
16736
|
-
|
|
16778
|
+
let params = new $OpenApi.Params({
|
|
16779
|
+
action: "CreateIpControl",
|
|
16780
|
+
version: "2016-07-14",
|
|
16781
|
+
protocol: "HTTPS",
|
|
16782
|
+
pathname: "/",
|
|
16783
|
+
method: "POST",
|
|
16784
|
+
authType: "AK",
|
|
16785
|
+
style: "RPC",
|
|
16786
|
+
reqBodyType: "json",
|
|
16787
|
+
bodyType: "json",
|
|
16788
|
+
});
|
|
16789
|
+
return $tea.cast<CreateIpControlResponse>(await this.callApi(params, req, runtime), new CreateIpControlResponse({}));
|
|
16737
16790
|
}
|
|
16738
16791
|
|
|
16739
16792
|
async createIpControl(request: CreateIpControlRequest): Promise<CreateIpControlResponse> {
|
|
@@ -16743,10 +16796,27 @@ export default class Client extends OpenApi {
|
|
|
16743
16796
|
|
|
16744
16797
|
async createLogConfigWithOptions(request: CreateLogConfigRequest, runtime: $Util.RuntimeOptions): Promise<CreateLogConfigResponse> {
|
|
16745
16798
|
Util.validateModel(request);
|
|
16799
|
+
let query = { };
|
|
16800
|
+
query["LogType"] = request.logType;
|
|
16801
|
+
query["SecurityToken"] = request.securityToken;
|
|
16802
|
+
query["SlsLogStore"] = request.slsLogStore;
|
|
16803
|
+
query["SlsProject"] = request.slsProject;
|
|
16746
16804
|
let req = new $OpenApi.OpenApiRequest({
|
|
16805
|
+
query: OpenApiUtil.query(query),
|
|
16747
16806
|
body: Util.toMap(request),
|
|
16748
16807
|
});
|
|
16749
|
-
|
|
16808
|
+
let params = new $OpenApi.Params({
|
|
16809
|
+
action: "CreateLogConfig",
|
|
16810
|
+
version: "2016-07-14",
|
|
16811
|
+
protocol: "HTTPS",
|
|
16812
|
+
pathname: "/",
|
|
16813
|
+
method: "POST",
|
|
16814
|
+
authType: "AK",
|
|
16815
|
+
style: "RPC",
|
|
16816
|
+
reqBodyType: "json",
|
|
16817
|
+
bodyType: "json",
|
|
16818
|
+
});
|
|
16819
|
+
return $tea.cast<CreateLogConfigResponse>(await this.callApi(params, req, runtime), new CreateLogConfigResponse({}));
|
|
16750
16820
|
}
|
|
16751
16821
|
|
|
16752
16822
|
async createLogConfig(request: CreateLogConfigRequest): Promise<CreateLogConfigResponse> {
|
|
@@ -16756,10 +16826,27 @@ export default class Client extends OpenApi {
|
|
|
16756
16826
|
|
|
16757
16827
|
async createModelWithOptions(request: CreateModelRequest, runtime: $Util.RuntimeOptions): Promise<CreateModelResponse> {
|
|
16758
16828
|
Util.validateModel(request);
|
|
16829
|
+
let query = { };
|
|
16830
|
+
query["Description"] = request.description;
|
|
16831
|
+
query["GroupId"] = request.groupId;
|
|
16832
|
+
query["ModelName"] = request.modelName;
|
|
16833
|
+
query["Schema"] = request.schema;
|
|
16759
16834
|
let req = new $OpenApi.OpenApiRequest({
|
|
16835
|
+
query: OpenApiUtil.query(query),
|
|
16760
16836
|
body: Util.toMap(request),
|
|
16761
16837
|
});
|
|
16762
|
-
|
|
16838
|
+
let params = new $OpenApi.Params({
|
|
16839
|
+
action: "CreateModel",
|
|
16840
|
+
version: "2016-07-14",
|
|
16841
|
+
protocol: "HTTPS",
|
|
16842
|
+
pathname: "/",
|
|
16843
|
+
method: "POST",
|
|
16844
|
+
authType: "AK",
|
|
16845
|
+
style: "RPC",
|
|
16846
|
+
reqBodyType: "json",
|
|
16847
|
+
bodyType: "json",
|
|
16848
|
+
});
|
|
16849
|
+
return $tea.cast<CreateModelResponse>(await this.callApi(params, req, runtime), new CreateModelResponse({}));
|
|
16763
16850
|
}
|
|
16764
16851
|
|
|
16765
16852
|
async createModel(request: CreateModelRequest): Promise<CreateModelResponse> {
|
|
@@ -16769,10 +16856,27 @@ export default class Client extends OpenApi {
|
|
|
16769
16856
|
|
|
16770
16857
|
async createMonitorGroupWithOptions(request: CreateMonitorGroupRequest, runtime: $Util.RuntimeOptions): Promise<CreateMonitorGroupResponse> {
|
|
16771
16858
|
Util.validateModel(request);
|
|
16859
|
+
let query = { };
|
|
16860
|
+
query["Auth"] = request.auth;
|
|
16861
|
+
query["GroupId"] = request.groupId;
|
|
16862
|
+
query["RawMonitorGroupId"] = request.rawMonitorGroupId;
|
|
16863
|
+
query["SecurityToken"] = request.securityToken;
|
|
16772
16864
|
let req = new $OpenApi.OpenApiRequest({
|
|
16865
|
+
query: OpenApiUtil.query(query),
|
|
16773
16866
|
body: Util.toMap(request),
|
|
16774
16867
|
});
|
|
16775
|
-
|
|
16868
|
+
let params = new $OpenApi.Params({
|
|
16869
|
+
action: "CreateMonitorGroup",
|
|
16870
|
+
version: "2016-07-14",
|
|
16871
|
+
protocol: "HTTPS",
|
|
16872
|
+
pathname: "/",
|
|
16873
|
+
method: "POST",
|
|
16874
|
+
authType: "AK",
|
|
16875
|
+
style: "RPC",
|
|
16876
|
+
reqBodyType: "json",
|
|
16877
|
+
bodyType: "json",
|
|
16878
|
+
});
|
|
16879
|
+
return $tea.cast<CreateMonitorGroupResponse>(await this.callApi(params, req, runtime), new CreateMonitorGroupResponse({}));
|
|
16776
16880
|
}
|
|
16777
16881
|
|
|
16778
16882
|
async createMonitorGroup(request: CreateMonitorGroupRequest): Promise<CreateMonitorGroupResponse> {
|
|
@@ -16782,10 +16886,29 @@ export default class Client extends OpenApi {
|
|
|
16782
16886
|
|
|
16783
16887
|
async createPluginWithOptions(request: CreatePluginRequest, runtime: $Util.RuntimeOptions): Promise<CreatePluginResponse> {
|
|
16784
16888
|
Util.validateModel(request);
|
|
16889
|
+
let query = { };
|
|
16890
|
+
query["Description"] = request.description;
|
|
16891
|
+
query["PluginData"] = request.pluginData;
|
|
16892
|
+
query["PluginName"] = request.pluginName;
|
|
16893
|
+
query["PluginType"] = request.pluginType;
|
|
16894
|
+
query["SecurityToken"] = request.securityToken;
|
|
16895
|
+
query["Tag"] = request.tag;
|
|
16785
16896
|
let req = new $OpenApi.OpenApiRequest({
|
|
16897
|
+
query: OpenApiUtil.query(query),
|
|
16786
16898
|
body: Util.toMap(request),
|
|
16787
16899
|
});
|
|
16788
|
-
|
|
16900
|
+
let params = new $OpenApi.Params({
|
|
16901
|
+
action: "CreatePlugin",
|
|
16902
|
+
version: "2016-07-14",
|
|
16903
|
+
protocol: "HTTPS",
|
|
16904
|
+
pathname: "/",
|
|
16905
|
+
method: "POST",
|
|
16906
|
+
authType: "AK",
|
|
16907
|
+
style: "RPC",
|
|
16908
|
+
reqBodyType: "json",
|
|
16909
|
+
bodyType: "json",
|
|
16910
|
+
});
|
|
16911
|
+
return $tea.cast<CreatePluginResponse>(await this.callApi(params, req, runtime), new CreatePluginResponse({}));
|
|
16789
16912
|
}
|
|
16790
16913
|
|
|
16791
16914
|
async createPlugin(request: CreatePluginRequest): Promise<CreatePluginResponse> {
|
|
@@ -16795,10 +16918,27 @@ export default class Client extends OpenApi {
|
|
|
16795
16918
|
|
|
16796
16919
|
async createSignatureWithOptions(request: CreateSignatureRequest, runtime: $Util.RuntimeOptions): Promise<CreateSignatureResponse> {
|
|
16797
16920
|
Util.validateModel(request);
|
|
16921
|
+
let query = { };
|
|
16922
|
+
query["SecurityToken"] = request.securityToken;
|
|
16923
|
+
query["SignatureKey"] = request.signatureKey;
|
|
16924
|
+
query["SignatureName"] = request.signatureName;
|
|
16925
|
+
query["SignatureSecret"] = request.signatureSecret;
|
|
16798
16926
|
let req = new $OpenApi.OpenApiRequest({
|
|
16927
|
+
query: OpenApiUtil.query(query),
|
|
16799
16928
|
body: Util.toMap(request),
|
|
16800
16929
|
});
|
|
16801
|
-
|
|
16930
|
+
let params = new $OpenApi.Params({
|
|
16931
|
+
action: "CreateSignature",
|
|
16932
|
+
version: "2016-07-14",
|
|
16933
|
+
protocol: "HTTPS",
|
|
16934
|
+
pathname: "/",
|
|
16935
|
+
method: "POST",
|
|
16936
|
+
authType: "AK",
|
|
16937
|
+
style: "RPC",
|
|
16938
|
+
reqBodyType: "json",
|
|
16939
|
+
bodyType: "json",
|
|
16940
|
+
});
|
|
16941
|
+
return $tea.cast<CreateSignatureResponse>(await this.callApi(params, req, runtime), new CreateSignatureResponse({}));
|
|
16802
16942
|
}
|
|
16803
16943
|
|
|
16804
16944
|
async createSignature(request: CreateSignatureRequest): Promise<CreateSignatureResponse> {
|
|
@@ -16808,10 +16948,30 @@ export default class Client extends OpenApi {
|
|
|
16808
16948
|
|
|
16809
16949
|
async createTrafficControlWithOptions(request: CreateTrafficControlRequest, runtime: $Util.RuntimeOptions): Promise<CreateTrafficControlResponse> {
|
|
16810
16950
|
Util.validateModel(request);
|
|
16951
|
+
let query = { };
|
|
16952
|
+
query["ApiDefault"] = request.apiDefault;
|
|
16953
|
+
query["AppDefault"] = request.appDefault;
|
|
16954
|
+
query["Description"] = request.description;
|
|
16955
|
+
query["SecurityToken"] = request.securityToken;
|
|
16956
|
+
query["TrafficControlName"] = request.trafficControlName;
|
|
16957
|
+
query["TrafficControlUnit"] = request.trafficControlUnit;
|
|
16958
|
+
query["UserDefault"] = request.userDefault;
|
|
16811
16959
|
let req = new $OpenApi.OpenApiRequest({
|
|
16960
|
+
query: OpenApiUtil.query(query),
|
|
16812
16961
|
body: Util.toMap(request),
|
|
16813
16962
|
});
|
|
16814
|
-
|
|
16963
|
+
let params = new $OpenApi.Params({
|
|
16964
|
+
action: "CreateTrafficControl",
|
|
16965
|
+
version: "2016-07-14",
|
|
16966
|
+
protocol: "HTTPS",
|
|
16967
|
+
pathname: "/",
|
|
16968
|
+
method: "POST",
|
|
16969
|
+
authType: "AK",
|
|
16970
|
+
style: "RPC",
|
|
16971
|
+
reqBodyType: "json",
|
|
16972
|
+
bodyType: "json",
|
|
16973
|
+
});
|
|
16974
|
+
return $tea.cast<CreateTrafficControlResponse>(await this.callApi(params, req, runtime), new CreateTrafficControlResponse({}));
|
|
16815
16975
|
}
|
|
16816
16976
|
|
|
16817
16977
|
async createTrafficControl(request: CreateTrafficControlRequest): Promise<CreateTrafficControlResponse> {
|
|
@@ -16821,10 +16981,25 @@ export default class Client extends OpenApi {
|
|
|
16821
16981
|
|
|
16822
16982
|
async deleteAllTrafficSpecialControlWithOptions(request: DeleteAllTrafficSpecialControlRequest, runtime: $Util.RuntimeOptions): Promise<DeleteAllTrafficSpecialControlResponse> {
|
|
16823
16983
|
Util.validateModel(request);
|
|
16984
|
+
let query = { };
|
|
16985
|
+
query["SecurityToken"] = request.securityToken;
|
|
16986
|
+
query["TrafficControlId"] = request.trafficControlId;
|
|
16824
16987
|
let req = new $OpenApi.OpenApiRequest({
|
|
16988
|
+
query: OpenApiUtil.query(query),
|
|
16825
16989
|
body: Util.toMap(request),
|
|
16826
16990
|
});
|
|
16827
|
-
|
|
16991
|
+
let params = new $OpenApi.Params({
|
|
16992
|
+
action: "DeleteAllTrafficSpecialControl",
|
|
16993
|
+
version: "2016-07-14",
|
|
16994
|
+
protocol: "HTTPS",
|
|
16995
|
+
pathname: "/",
|
|
16996
|
+
method: "POST",
|
|
16997
|
+
authType: "AK",
|
|
16998
|
+
style: "RPC",
|
|
16999
|
+
reqBodyType: "json",
|
|
17000
|
+
bodyType: "json",
|
|
17001
|
+
});
|
|
17002
|
+
return $tea.cast<DeleteAllTrafficSpecialControlResponse>(await this.callApi(params, req, runtime), new DeleteAllTrafficSpecialControlResponse({}));
|
|
16828
17003
|
}
|
|
16829
17004
|
|
|
16830
17005
|
async deleteAllTrafficSpecialControl(request: DeleteAllTrafficSpecialControlRequest): Promise<DeleteAllTrafficSpecialControlResponse> {
|
|
@@ -16834,10 +17009,26 @@ export default class Client extends OpenApi {
|
|
|
16834
17009
|
|
|
16835
17010
|
async deleteApiWithOptions(request: DeleteApiRequest, runtime: $Util.RuntimeOptions): Promise<DeleteApiResponse> {
|
|
16836
17011
|
Util.validateModel(request);
|
|
17012
|
+
let query = { };
|
|
17013
|
+
query["ApiId"] = request.apiId;
|
|
17014
|
+
query["GroupId"] = request.groupId;
|
|
17015
|
+
query["SecurityToken"] = request.securityToken;
|
|
16837
17016
|
let req = new $OpenApi.OpenApiRequest({
|
|
17017
|
+
query: OpenApiUtil.query(query),
|
|
16838
17018
|
body: Util.toMap(request),
|
|
16839
17019
|
});
|
|
16840
|
-
|
|
17020
|
+
let params = new $OpenApi.Params({
|
|
17021
|
+
action: "DeleteApi",
|
|
17022
|
+
version: "2016-07-14",
|
|
17023
|
+
protocol: "HTTPS",
|
|
17024
|
+
pathname: "/",
|
|
17025
|
+
method: "POST",
|
|
17026
|
+
authType: "AK",
|
|
17027
|
+
style: "RPC",
|
|
17028
|
+
reqBodyType: "json",
|
|
17029
|
+
bodyType: "json",
|
|
17030
|
+
});
|
|
17031
|
+
return $tea.cast<DeleteApiResponse>(await this.callApi(params, req, runtime), new DeleteApiResponse({}));
|
|
16841
17032
|
}
|
|
16842
17033
|
|
|
16843
17034
|
async deleteApi(request: DeleteApiRequest): Promise<DeleteApiResponse> {
|
|
@@ -16847,10 +17038,26 @@ export default class Client extends OpenApi {
|
|
|
16847
17038
|
|
|
16848
17039
|
async deleteApiGroupWithOptions(request: DeleteApiGroupRequest, runtime: $Util.RuntimeOptions): Promise<DeleteApiGroupResponse> {
|
|
16849
17040
|
Util.validateModel(request);
|
|
17041
|
+
let query = { };
|
|
17042
|
+
query["GroupId"] = request.groupId;
|
|
17043
|
+
query["SecurityToken"] = request.securityToken;
|
|
17044
|
+
query["Tag"] = request.tag;
|
|
16850
17045
|
let req = new $OpenApi.OpenApiRequest({
|
|
17046
|
+
query: OpenApiUtil.query(query),
|
|
16851
17047
|
body: Util.toMap(request),
|
|
16852
17048
|
});
|
|
16853
|
-
|
|
17049
|
+
let params = new $OpenApi.Params({
|
|
17050
|
+
action: "DeleteApiGroup",
|
|
17051
|
+
version: "2016-07-14",
|
|
17052
|
+
protocol: "HTTPS",
|
|
17053
|
+
pathname: "/",
|
|
17054
|
+
method: "POST",
|
|
17055
|
+
authType: "AK",
|
|
17056
|
+
style: "RPC",
|
|
17057
|
+
reqBodyType: "json",
|
|
17058
|
+
bodyType: "json",
|
|
17059
|
+
});
|
|
17060
|
+
return $tea.cast<DeleteApiGroupResponse>(await this.callApi(params, req, runtime), new DeleteApiGroupResponse({}));
|
|
16854
17061
|
}
|
|
16855
17062
|
|
|
16856
17063
|
async deleteApiGroup(request: DeleteApiGroupRequest): Promise<DeleteApiGroupResponse> {
|
|
@@ -16860,10 +17067,27 @@ export default class Client extends OpenApi {
|
|
|
16860
17067
|
|
|
16861
17068
|
async deleteApiStageVariableWithOptions(request: DeleteApiStageVariableRequest, runtime: $Util.RuntimeOptions): Promise<DeleteApiStageVariableResponse> {
|
|
16862
17069
|
Util.validateModel(request);
|
|
17070
|
+
let query = { };
|
|
17071
|
+
query["GroupId"] = request.groupId;
|
|
17072
|
+
query["SecurityToken"] = request.securityToken;
|
|
17073
|
+
query["StageId"] = request.stageId;
|
|
17074
|
+
query["VariableName"] = request.variableName;
|
|
16863
17075
|
let req = new $OpenApi.OpenApiRequest({
|
|
17076
|
+
query: OpenApiUtil.query(query),
|
|
16864
17077
|
body: Util.toMap(request),
|
|
16865
17078
|
});
|
|
16866
|
-
|
|
17079
|
+
let params = new $OpenApi.Params({
|
|
17080
|
+
action: "DeleteApiStageVariable",
|
|
17081
|
+
version: "2016-07-14",
|
|
17082
|
+
protocol: "HTTPS",
|
|
17083
|
+
pathname: "/",
|
|
17084
|
+
method: "POST",
|
|
17085
|
+
authType: "AK",
|
|
17086
|
+
style: "RPC",
|
|
17087
|
+
reqBodyType: "json",
|
|
17088
|
+
bodyType: "json",
|
|
17089
|
+
});
|
|
17090
|
+
return $tea.cast<DeleteApiStageVariableResponse>(await this.callApi(params, req, runtime), new DeleteApiStageVariableResponse({}));
|
|
16867
17091
|
}
|
|
16868
17092
|
|
|
16869
17093
|
async deleteApiStageVariable(request: DeleteApiStageVariableRequest): Promise<DeleteApiStageVariableResponse> {
|
|
@@ -16873,10 +17097,26 @@ export default class Client extends OpenApi {
|
|
|
16873
17097
|
|
|
16874
17098
|
async deleteAppWithOptions(request: DeleteAppRequest, runtime: $Util.RuntimeOptions): Promise<DeleteAppResponse> {
|
|
16875
17099
|
Util.validateModel(request);
|
|
17100
|
+
let query = { };
|
|
17101
|
+
query["AppId"] = request.appId;
|
|
17102
|
+
query["SecurityToken"] = request.securityToken;
|
|
17103
|
+
query["Tag"] = request.tag;
|
|
16876
17104
|
let req = new $OpenApi.OpenApiRequest({
|
|
17105
|
+
query: OpenApiUtil.query(query),
|
|
16877
17106
|
body: Util.toMap(request),
|
|
16878
17107
|
});
|
|
16879
|
-
|
|
17108
|
+
let params = new $OpenApi.Params({
|
|
17109
|
+
action: "DeleteApp",
|
|
17110
|
+
version: "2016-07-14",
|
|
17111
|
+
protocol: "HTTPS",
|
|
17112
|
+
pathname: "/",
|
|
17113
|
+
method: "POST",
|
|
17114
|
+
authType: "AK",
|
|
17115
|
+
style: "RPC",
|
|
17116
|
+
reqBodyType: "json",
|
|
17117
|
+
bodyType: "json",
|
|
17118
|
+
});
|
|
17119
|
+
return $tea.cast<DeleteAppResponse>(await this.callApi(params, req, runtime), new DeleteAppResponse({}));
|
|
16880
17120
|
}
|
|
16881
17121
|
|
|
16882
17122
|
async deleteApp(request: DeleteAppRequest): Promise<DeleteAppResponse> {
|
|
@@ -16886,10 +17126,26 @@ export default class Client extends OpenApi {
|
|
|
16886
17126
|
|
|
16887
17127
|
async deleteDomainWithOptions(request: DeleteDomainRequest, runtime: $Util.RuntimeOptions): Promise<DeleteDomainResponse> {
|
|
16888
17128
|
Util.validateModel(request);
|
|
17129
|
+
let query = { };
|
|
17130
|
+
query["DomainName"] = request.domainName;
|
|
17131
|
+
query["GroupId"] = request.groupId;
|
|
17132
|
+
query["SecurityToken"] = request.securityToken;
|
|
16889
17133
|
let req = new $OpenApi.OpenApiRequest({
|
|
17134
|
+
query: OpenApiUtil.query(query),
|
|
16890
17135
|
body: Util.toMap(request),
|
|
16891
17136
|
});
|
|
16892
|
-
|
|
17137
|
+
let params = new $OpenApi.Params({
|
|
17138
|
+
action: "DeleteDomain",
|
|
17139
|
+
version: "2016-07-14",
|
|
17140
|
+
protocol: "HTTPS",
|
|
17141
|
+
pathname: "/",
|
|
17142
|
+
method: "POST",
|
|
17143
|
+
authType: "AK",
|
|
17144
|
+
style: "RPC",
|
|
17145
|
+
reqBodyType: "json",
|
|
17146
|
+
bodyType: "json",
|
|
17147
|
+
});
|
|
17148
|
+
return $tea.cast<DeleteDomainResponse>(await this.callApi(params, req, runtime), new DeleteDomainResponse({}));
|
|
16893
17149
|
}
|
|
16894
17150
|
|
|
16895
17151
|
async deleteDomain(request: DeleteDomainRequest): Promise<DeleteDomainResponse> {
|
|
@@ -16899,10 +17155,27 @@ export default class Client extends OpenApi {
|
|
|
16899
17155
|
|
|
16900
17156
|
async deleteDomainCertificateWithOptions(request: DeleteDomainCertificateRequest, runtime: $Util.RuntimeOptions): Promise<DeleteDomainCertificateResponse> {
|
|
16901
17157
|
Util.validateModel(request);
|
|
17158
|
+
let query = { };
|
|
17159
|
+
query["CertificateId"] = request.certificateId;
|
|
17160
|
+
query["DomainName"] = request.domainName;
|
|
17161
|
+
query["GroupId"] = request.groupId;
|
|
17162
|
+
query["SecurityToken"] = request.securityToken;
|
|
16902
17163
|
let req = new $OpenApi.OpenApiRequest({
|
|
17164
|
+
query: OpenApiUtil.query(query),
|
|
16903
17165
|
body: Util.toMap(request),
|
|
16904
17166
|
});
|
|
16905
|
-
|
|
17167
|
+
let params = new $OpenApi.Params({
|
|
17168
|
+
action: "DeleteDomainCertificate",
|
|
17169
|
+
version: "2016-07-14",
|
|
17170
|
+
protocol: "HTTPS",
|
|
17171
|
+
pathname: "/",
|
|
17172
|
+
method: "POST",
|
|
17173
|
+
authType: "AK",
|
|
17174
|
+
style: "RPC",
|
|
17175
|
+
reqBodyType: "json",
|
|
17176
|
+
bodyType: "json",
|
|
17177
|
+
});
|
|
17178
|
+
return $tea.cast<DeleteDomainCertificateResponse>(await this.callApi(params, req, runtime), new DeleteDomainCertificateResponse({}));
|
|
16906
17179
|
}
|
|
16907
17180
|
|
|
16908
17181
|
async deleteDomainCertificate(request: DeleteDomainCertificateRequest): Promise<DeleteDomainCertificateResponse> {
|
|
@@ -16912,10 +17185,25 @@ export default class Client extends OpenApi {
|
|
|
16912
17185
|
|
|
16913
17186
|
async deleteInstanceWithOptions(request: DeleteInstanceRequest, runtime: $Util.RuntimeOptions): Promise<DeleteInstanceResponse> {
|
|
16914
17187
|
Util.validateModel(request);
|
|
17188
|
+
let query = { };
|
|
17189
|
+
query["InstanceId"] = request.instanceId;
|
|
17190
|
+
query["Tag"] = request.tag;
|
|
16915
17191
|
let req = new $OpenApi.OpenApiRequest({
|
|
17192
|
+
query: OpenApiUtil.query(query),
|
|
16916
17193
|
body: Util.toMap(request),
|
|
16917
17194
|
});
|
|
16918
|
-
|
|
17195
|
+
let params = new $OpenApi.Params({
|
|
17196
|
+
action: "DeleteInstance",
|
|
17197
|
+
version: "2016-07-14",
|
|
17198
|
+
protocol: "HTTPS",
|
|
17199
|
+
pathname: "/",
|
|
17200
|
+
method: "POST",
|
|
17201
|
+
authType: "AK",
|
|
17202
|
+
style: "RPC",
|
|
17203
|
+
reqBodyType: "json",
|
|
17204
|
+
bodyType: "json",
|
|
17205
|
+
});
|
|
17206
|
+
return $tea.cast<DeleteInstanceResponse>(await this.callApi(params, req, runtime), new DeleteInstanceResponse({}));
|
|
16919
17207
|
}
|
|
16920
17208
|
|
|
16921
17209
|
async deleteInstance(request: DeleteInstanceRequest): Promise<DeleteInstanceResponse> {
|
|
@@ -16925,10 +17213,25 @@ export default class Client extends OpenApi {
|
|
|
16925
17213
|
|
|
16926
17214
|
async deleteIpControlWithOptions(request: DeleteIpControlRequest, runtime: $Util.RuntimeOptions): Promise<DeleteIpControlResponse> {
|
|
16927
17215
|
Util.validateModel(request);
|
|
17216
|
+
let query = { };
|
|
17217
|
+
query["IpControlId"] = request.ipControlId;
|
|
17218
|
+
query["SecurityToken"] = request.securityToken;
|
|
16928
17219
|
let req = new $OpenApi.OpenApiRequest({
|
|
17220
|
+
query: OpenApiUtil.query(query),
|
|
16929
17221
|
body: Util.toMap(request),
|
|
16930
17222
|
});
|
|
16931
|
-
|
|
17223
|
+
let params = new $OpenApi.Params({
|
|
17224
|
+
action: "DeleteIpControl",
|
|
17225
|
+
version: "2016-07-14",
|
|
17226
|
+
protocol: "HTTPS",
|
|
17227
|
+
pathname: "/",
|
|
17228
|
+
method: "POST",
|
|
17229
|
+
authType: "AK",
|
|
17230
|
+
style: "RPC",
|
|
17231
|
+
reqBodyType: "json",
|
|
17232
|
+
bodyType: "json",
|
|
17233
|
+
});
|
|
17234
|
+
return $tea.cast<DeleteIpControlResponse>(await this.callApi(params, req, runtime), new DeleteIpControlResponse({}));
|
|
16932
17235
|
}
|
|
16933
17236
|
|
|
16934
17237
|
async deleteIpControl(request: DeleteIpControlRequest): Promise<DeleteIpControlResponse> {
|
|
@@ -16938,10 +17241,25 @@ export default class Client extends OpenApi {
|
|
|
16938
17241
|
|
|
16939
17242
|
async deleteLogConfigWithOptions(request: DeleteLogConfigRequest, runtime: $Util.RuntimeOptions): Promise<DeleteLogConfigResponse> {
|
|
16940
17243
|
Util.validateModel(request);
|
|
17244
|
+
let query = { };
|
|
17245
|
+
query["LogType"] = request.logType;
|
|
17246
|
+
query["SecurityToken"] = request.securityToken;
|
|
16941
17247
|
let req = new $OpenApi.OpenApiRequest({
|
|
17248
|
+
query: OpenApiUtil.query(query),
|
|
16942
17249
|
body: Util.toMap(request),
|
|
16943
17250
|
});
|
|
16944
|
-
|
|
17251
|
+
let params = new $OpenApi.Params({
|
|
17252
|
+
action: "DeleteLogConfig",
|
|
17253
|
+
version: "2016-07-14",
|
|
17254
|
+
protocol: "HTTPS",
|
|
17255
|
+
pathname: "/",
|
|
17256
|
+
method: "POST",
|
|
17257
|
+
authType: "AK",
|
|
17258
|
+
style: "RPC",
|
|
17259
|
+
reqBodyType: "json",
|
|
17260
|
+
bodyType: "json",
|
|
17261
|
+
});
|
|
17262
|
+
return $tea.cast<DeleteLogConfigResponse>(await this.callApi(params, req, runtime), new DeleteLogConfigResponse({}));
|
|
16945
17263
|
}
|
|
16946
17264
|
|
|
16947
17265
|
async deleteLogConfig(request: DeleteLogConfigRequest): Promise<DeleteLogConfigResponse> {
|
|
@@ -16951,10 +17269,25 @@ export default class Client extends OpenApi {
|
|
|
16951
17269
|
|
|
16952
17270
|
async deleteModelWithOptions(request: DeleteModelRequest, runtime: $Util.RuntimeOptions): Promise<DeleteModelResponse> {
|
|
16953
17271
|
Util.validateModel(request);
|
|
17272
|
+
let query = { };
|
|
17273
|
+
query["GroupId"] = request.groupId;
|
|
17274
|
+
query["ModelName"] = request.modelName;
|
|
16954
17275
|
let req = new $OpenApi.OpenApiRequest({
|
|
17276
|
+
query: OpenApiUtil.query(query),
|
|
16955
17277
|
body: Util.toMap(request),
|
|
16956
17278
|
});
|
|
16957
|
-
|
|
17279
|
+
let params = new $OpenApi.Params({
|
|
17280
|
+
action: "DeleteModel",
|
|
17281
|
+
version: "2016-07-14",
|
|
17282
|
+
protocol: "HTTPS",
|
|
17283
|
+
pathname: "/",
|
|
17284
|
+
method: "POST",
|
|
17285
|
+
authType: "AK",
|
|
17286
|
+
style: "RPC",
|
|
17287
|
+
reqBodyType: "json",
|
|
17288
|
+
bodyType: "json",
|
|
17289
|
+
});
|
|
17290
|
+
return $tea.cast<DeleteModelResponse>(await this.callApi(params, req, runtime), new DeleteModelResponse({}));
|
|
16958
17291
|
}
|
|
16959
17292
|
|
|
16960
17293
|
async deleteModel(request: DeleteModelRequest): Promise<DeleteModelResponse> {
|
|
@@ -16964,10 +17297,26 @@ export default class Client extends OpenApi {
|
|
|
16964
17297
|
|
|
16965
17298
|
async deletePluginWithOptions(request: DeletePluginRequest, runtime: $Util.RuntimeOptions): Promise<DeletePluginResponse> {
|
|
16966
17299
|
Util.validateModel(request);
|
|
17300
|
+
let query = { };
|
|
17301
|
+
query["PluginId"] = request.pluginId;
|
|
17302
|
+
query["SecurityToken"] = request.securityToken;
|
|
17303
|
+
query["Tag"] = request.tag;
|
|
16967
17304
|
let req = new $OpenApi.OpenApiRequest({
|
|
17305
|
+
query: OpenApiUtil.query(query),
|
|
16968
17306
|
body: Util.toMap(request),
|
|
16969
17307
|
});
|
|
16970
|
-
|
|
17308
|
+
let params = new $OpenApi.Params({
|
|
17309
|
+
action: "DeletePlugin",
|
|
17310
|
+
version: "2016-07-14",
|
|
17311
|
+
protocol: "HTTPS",
|
|
17312
|
+
pathname: "/",
|
|
17313
|
+
method: "POST",
|
|
17314
|
+
authType: "AK",
|
|
17315
|
+
style: "RPC",
|
|
17316
|
+
reqBodyType: "json",
|
|
17317
|
+
bodyType: "json",
|
|
17318
|
+
});
|
|
17319
|
+
return $tea.cast<DeletePluginResponse>(await this.callApi(params, req, runtime), new DeletePluginResponse({}));
|
|
16971
17320
|
}
|
|
16972
17321
|
|
|
16973
17322
|
async deletePlugin(request: DeletePluginRequest): Promise<DeletePluginResponse> {
|
|
@@ -16977,10 +17326,25 @@ export default class Client extends OpenApi {
|
|
|
16977
17326
|
|
|
16978
17327
|
async deleteSignatureWithOptions(request: DeleteSignatureRequest, runtime: $Util.RuntimeOptions): Promise<DeleteSignatureResponse> {
|
|
16979
17328
|
Util.validateModel(request);
|
|
17329
|
+
let query = { };
|
|
17330
|
+
query["SecurityToken"] = request.securityToken;
|
|
17331
|
+
query["SignatureId"] = request.signatureId;
|
|
16980
17332
|
let req = new $OpenApi.OpenApiRequest({
|
|
17333
|
+
query: OpenApiUtil.query(query),
|
|
16981
17334
|
body: Util.toMap(request),
|
|
16982
17335
|
});
|
|
16983
|
-
|
|
17336
|
+
let params = new $OpenApi.Params({
|
|
17337
|
+
action: "DeleteSignature",
|
|
17338
|
+
version: "2016-07-14",
|
|
17339
|
+
protocol: "HTTPS",
|
|
17340
|
+
pathname: "/",
|
|
17341
|
+
method: "POST",
|
|
17342
|
+
authType: "AK",
|
|
17343
|
+
style: "RPC",
|
|
17344
|
+
reqBodyType: "json",
|
|
17345
|
+
bodyType: "json",
|
|
17346
|
+
});
|
|
17347
|
+
return $tea.cast<DeleteSignatureResponse>(await this.callApi(params, req, runtime), new DeleteSignatureResponse({}));
|
|
16984
17348
|
}
|
|
16985
17349
|
|
|
16986
17350
|
async deleteSignature(request: DeleteSignatureRequest): Promise<DeleteSignatureResponse> {
|
|
@@ -16990,10 +17354,25 @@ export default class Client extends OpenApi {
|
|
|
16990
17354
|
|
|
16991
17355
|
async deleteTrafficControlWithOptions(request: DeleteTrafficControlRequest, runtime: $Util.RuntimeOptions): Promise<DeleteTrafficControlResponse> {
|
|
16992
17356
|
Util.validateModel(request);
|
|
17357
|
+
let query = { };
|
|
17358
|
+
query["SecurityToken"] = request.securityToken;
|
|
17359
|
+
query["TrafficControlId"] = request.trafficControlId;
|
|
16993
17360
|
let req = new $OpenApi.OpenApiRequest({
|
|
17361
|
+
query: OpenApiUtil.query(query),
|
|
16994
17362
|
body: Util.toMap(request),
|
|
16995
17363
|
});
|
|
16996
|
-
|
|
17364
|
+
let params = new $OpenApi.Params({
|
|
17365
|
+
action: "DeleteTrafficControl",
|
|
17366
|
+
version: "2016-07-14",
|
|
17367
|
+
protocol: "HTTPS",
|
|
17368
|
+
pathname: "/",
|
|
17369
|
+
method: "POST",
|
|
17370
|
+
authType: "AK",
|
|
17371
|
+
style: "RPC",
|
|
17372
|
+
reqBodyType: "json",
|
|
17373
|
+
bodyType: "json",
|
|
17374
|
+
});
|
|
17375
|
+
return $tea.cast<DeleteTrafficControlResponse>(await this.callApi(params, req, runtime), new DeleteTrafficControlResponse({}));
|
|
16997
17376
|
}
|
|
16998
17377
|
|
|
16999
17378
|
async deleteTrafficControl(request: DeleteTrafficControlRequest): Promise<DeleteTrafficControlResponse> {
|
|
@@ -17003,10 +17382,27 @@ export default class Client extends OpenApi {
|
|
|
17003
17382
|
|
|
17004
17383
|
async deleteTrafficSpecialControlWithOptions(request: DeleteTrafficSpecialControlRequest, runtime: $Util.RuntimeOptions): Promise<DeleteTrafficSpecialControlResponse> {
|
|
17005
17384
|
Util.validateModel(request);
|
|
17385
|
+
let query = { };
|
|
17386
|
+
query["SecurityToken"] = request.securityToken;
|
|
17387
|
+
query["SpecialKey"] = request.specialKey;
|
|
17388
|
+
query["SpecialType"] = request.specialType;
|
|
17389
|
+
query["TrafficControlId"] = request.trafficControlId;
|
|
17006
17390
|
let req = new $OpenApi.OpenApiRequest({
|
|
17391
|
+
query: OpenApiUtil.query(query),
|
|
17007
17392
|
body: Util.toMap(request),
|
|
17008
17393
|
});
|
|
17009
|
-
|
|
17394
|
+
let params = new $OpenApi.Params({
|
|
17395
|
+
action: "DeleteTrafficSpecialControl",
|
|
17396
|
+
version: "2016-07-14",
|
|
17397
|
+
protocol: "HTTPS",
|
|
17398
|
+
pathname: "/",
|
|
17399
|
+
method: "POST",
|
|
17400
|
+
authType: "AK",
|
|
17401
|
+
style: "RPC",
|
|
17402
|
+
reqBodyType: "json",
|
|
17403
|
+
bodyType: "json",
|
|
17404
|
+
});
|
|
17405
|
+
return $tea.cast<DeleteTrafficSpecialControlResponse>(await this.callApi(params, req, runtime), new DeleteTrafficSpecialControlResponse({}));
|
|
17010
17406
|
}
|
|
17011
17407
|
|
|
17012
17408
|
async deleteTrafficSpecialControl(request: DeleteTrafficSpecialControlRequest): Promise<DeleteTrafficSpecialControlResponse> {
|
|
@@ -17016,10 +17412,28 @@ export default class Client extends OpenApi {
|
|
|
17016
17412
|
|
|
17017
17413
|
async deployApiWithOptions(request: DeployApiRequest, runtime: $Util.RuntimeOptions): Promise<DeployApiResponse> {
|
|
17018
17414
|
Util.validateModel(request);
|
|
17415
|
+
let query = { };
|
|
17416
|
+
query["ApiId"] = request.apiId;
|
|
17417
|
+
query["Description"] = request.description;
|
|
17418
|
+
query["GroupId"] = request.groupId;
|
|
17419
|
+
query["SecurityToken"] = request.securityToken;
|
|
17420
|
+
query["StageName"] = request.stageName;
|
|
17019
17421
|
let req = new $OpenApi.OpenApiRequest({
|
|
17422
|
+
query: OpenApiUtil.query(query),
|
|
17020
17423
|
body: Util.toMap(request),
|
|
17021
17424
|
});
|
|
17022
|
-
|
|
17425
|
+
let params = new $OpenApi.Params({
|
|
17426
|
+
action: "DeployApi",
|
|
17427
|
+
version: "2016-07-14",
|
|
17428
|
+
protocol: "HTTPS",
|
|
17429
|
+
pathname: "/",
|
|
17430
|
+
method: "POST",
|
|
17431
|
+
authType: "AK",
|
|
17432
|
+
style: "RPC",
|
|
17433
|
+
reqBodyType: "json",
|
|
17434
|
+
bodyType: "json",
|
|
17435
|
+
});
|
|
17436
|
+
return $tea.cast<DeployApiResponse>(await this.callApi(params, req, runtime), new DeployApiResponse({}));
|
|
17023
17437
|
}
|
|
17024
17438
|
|
|
17025
17439
|
async deployApi(request: DeployApiRequest): Promise<DeployApiResponse> {
|
|
@@ -17029,10 +17443,25 @@ export default class Client extends OpenApi {
|
|
|
17029
17443
|
|
|
17030
17444
|
async describeAbolishApiTaskWithOptions(request: DescribeAbolishApiTaskRequest, runtime: $Util.RuntimeOptions): Promise<DescribeAbolishApiTaskResponse> {
|
|
17031
17445
|
Util.validateModel(request);
|
|
17446
|
+
let query = { };
|
|
17447
|
+
query["OperationUid"] = request.operationUid;
|
|
17448
|
+
query["SecurityToken"] = request.securityToken;
|
|
17032
17449
|
let req = new $OpenApi.OpenApiRequest({
|
|
17450
|
+
query: OpenApiUtil.query(query),
|
|
17033
17451
|
body: Util.toMap(request),
|
|
17034
17452
|
});
|
|
17035
|
-
|
|
17453
|
+
let params = new $OpenApi.Params({
|
|
17454
|
+
action: "DescribeAbolishApiTask",
|
|
17455
|
+
version: "2016-07-14",
|
|
17456
|
+
protocol: "HTTPS",
|
|
17457
|
+
pathname: "/",
|
|
17458
|
+
method: "POST",
|
|
17459
|
+
authType: "AK",
|
|
17460
|
+
style: "RPC",
|
|
17461
|
+
reqBodyType: "json",
|
|
17462
|
+
bodyType: "json",
|
|
17463
|
+
});
|
|
17464
|
+
return $tea.cast<DescribeAbolishApiTaskResponse>(await this.callApi(params, req, runtime), new DescribeAbolishApiTaskResponse({}));
|
|
17036
17465
|
}
|
|
17037
17466
|
|
|
17038
17467
|
async describeAbolishApiTask(request: DescribeAbolishApiTaskRequest): Promise<DescribeAbolishApiTaskResponse> {
|
|
@@ -17042,10 +17471,26 @@ export default class Client extends OpenApi {
|
|
|
17042
17471
|
|
|
17043
17472
|
async describeApiWithOptions(request: DescribeApiRequest, runtime: $Util.RuntimeOptions): Promise<DescribeApiResponse> {
|
|
17044
17473
|
Util.validateModel(request);
|
|
17474
|
+
let query = { };
|
|
17475
|
+
query["ApiId"] = request.apiId;
|
|
17476
|
+
query["GroupId"] = request.groupId;
|
|
17477
|
+
query["SecurityToken"] = request.securityToken;
|
|
17045
17478
|
let req = new $OpenApi.OpenApiRequest({
|
|
17479
|
+
query: OpenApiUtil.query(query),
|
|
17046
17480
|
body: Util.toMap(request),
|
|
17047
17481
|
});
|
|
17048
|
-
|
|
17482
|
+
let params = new $OpenApi.Params({
|
|
17483
|
+
action: "DescribeApi",
|
|
17484
|
+
version: "2016-07-14",
|
|
17485
|
+
protocol: "HTTPS",
|
|
17486
|
+
pathname: "/",
|
|
17487
|
+
method: "POST",
|
|
17488
|
+
authType: "AK",
|
|
17489
|
+
style: "RPC",
|
|
17490
|
+
reqBodyType: "json",
|
|
17491
|
+
bodyType: "json",
|
|
17492
|
+
});
|
|
17493
|
+
return $tea.cast<DescribeApiResponse>(await this.callApi(params, req, runtime), new DescribeApiResponse({}));
|
|
17049
17494
|
}
|
|
17050
17495
|
|
|
17051
17496
|
async describeApi(request: DescribeApiRequest): Promise<DescribeApiResponse> {
|
|
@@ -17055,10 +17500,27 @@ export default class Client extends OpenApi {
|
|
|
17055
17500
|
|
|
17056
17501
|
async describeApiDocWithOptions(request: DescribeApiDocRequest, runtime: $Util.RuntimeOptions): Promise<DescribeApiDocResponse> {
|
|
17057
17502
|
Util.validateModel(request);
|
|
17503
|
+
let query = { };
|
|
17504
|
+
query["ApiId"] = request.apiId;
|
|
17505
|
+
query["GroupId"] = request.groupId;
|
|
17506
|
+
query["SecurityToken"] = request.securityToken;
|
|
17507
|
+
query["StageName"] = request.stageName;
|
|
17058
17508
|
let req = new $OpenApi.OpenApiRequest({
|
|
17509
|
+
query: OpenApiUtil.query(query),
|
|
17059
17510
|
body: Util.toMap(request),
|
|
17060
17511
|
});
|
|
17061
|
-
|
|
17512
|
+
let params = new $OpenApi.Params({
|
|
17513
|
+
action: "DescribeApiDoc",
|
|
17514
|
+
version: "2016-07-14",
|
|
17515
|
+
protocol: "HTTPS",
|
|
17516
|
+
pathname: "/",
|
|
17517
|
+
method: "POST",
|
|
17518
|
+
authType: "AK",
|
|
17519
|
+
style: "RPC",
|
|
17520
|
+
reqBodyType: "json",
|
|
17521
|
+
bodyType: "json",
|
|
17522
|
+
});
|
|
17523
|
+
return $tea.cast<DescribeApiDocResponse>(await this.callApi(params, req, runtime), new DescribeApiDocResponse({}));
|
|
17062
17524
|
}
|
|
17063
17525
|
|
|
17064
17526
|
async describeApiDoc(request: DescribeApiDocRequest): Promise<DescribeApiDocResponse> {
|
|
@@ -17068,10 +17530,26 @@ export default class Client extends OpenApi {
|
|
|
17068
17530
|
|
|
17069
17531
|
async describeApiGroupWithOptions(request: DescribeApiGroupRequest, runtime: $Util.RuntimeOptions): Promise<DescribeApiGroupResponse> {
|
|
17070
17532
|
Util.validateModel(request);
|
|
17533
|
+
let query = { };
|
|
17534
|
+
query["GroupId"] = request.groupId;
|
|
17535
|
+
query["SecurityToken"] = request.securityToken;
|
|
17536
|
+
query["Tag"] = request.tag;
|
|
17071
17537
|
let req = new $OpenApi.OpenApiRequest({
|
|
17538
|
+
query: OpenApiUtil.query(query),
|
|
17072
17539
|
body: Util.toMap(request),
|
|
17073
17540
|
});
|
|
17074
|
-
|
|
17541
|
+
let params = new $OpenApi.Params({
|
|
17542
|
+
action: "DescribeApiGroup",
|
|
17543
|
+
version: "2016-07-14",
|
|
17544
|
+
protocol: "HTTPS",
|
|
17545
|
+
pathname: "/",
|
|
17546
|
+
method: "POST",
|
|
17547
|
+
authType: "AK",
|
|
17548
|
+
style: "RPC",
|
|
17549
|
+
reqBodyType: "json",
|
|
17550
|
+
bodyType: "json",
|
|
17551
|
+
});
|
|
17552
|
+
return $tea.cast<DescribeApiGroupResponse>(await this.callApi(params, req, runtime), new DescribeApiGroupResponse({}));
|
|
17075
17553
|
}
|
|
17076
17554
|
|
|
17077
17555
|
async describeApiGroup(request: DescribeApiGroupRequest): Promise<DescribeApiGroupResponse> {
|
|
@@ -17081,10 +17559,25 @@ export default class Client extends OpenApi {
|
|
|
17081
17559
|
|
|
17082
17560
|
async describeApiGroupVpcWhitelistWithOptions(request: DescribeApiGroupVpcWhitelistRequest, runtime: $Util.RuntimeOptions): Promise<DescribeApiGroupVpcWhitelistResponse> {
|
|
17083
17561
|
Util.validateModel(request);
|
|
17562
|
+
let query = { };
|
|
17563
|
+
query["GroupId"] = request.groupId;
|
|
17564
|
+
query["SecurityToken"] = request.securityToken;
|
|
17084
17565
|
let req = new $OpenApi.OpenApiRequest({
|
|
17566
|
+
query: OpenApiUtil.query(query),
|
|
17085
17567
|
body: Util.toMap(request),
|
|
17086
17568
|
});
|
|
17087
|
-
|
|
17569
|
+
let params = new $OpenApi.Params({
|
|
17570
|
+
action: "DescribeApiGroupVpcWhitelist",
|
|
17571
|
+
version: "2016-07-14",
|
|
17572
|
+
protocol: "HTTPS",
|
|
17573
|
+
pathname: "/",
|
|
17574
|
+
method: "POST",
|
|
17575
|
+
authType: "AK",
|
|
17576
|
+
style: "RPC",
|
|
17577
|
+
reqBodyType: "json",
|
|
17578
|
+
bodyType: "json",
|
|
17579
|
+
});
|
|
17580
|
+
return $tea.cast<DescribeApiGroupVpcWhitelistResponse>(await this.callApi(params, req, runtime), new DescribeApiGroupVpcWhitelistResponse({}));
|
|
17088
17581
|
}
|
|
17089
17582
|
|
|
17090
17583
|
async describeApiGroupVpcWhitelist(request: DescribeApiGroupVpcWhitelistRequest): Promise<DescribeApiGroupVpcWhitelistResponse> {
|
|
@@ -17094,10 +17587,32 @@ export default class Client extends OpenApi {
|
|
|
17094
17587
|
|
|
17095
17588
|
async describeApiGroupsWithOptions(request: DescribeApiGroupsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeApiGroupsResponse> {
|
|
17096
17589
|
Util.validateModel(request);
|
|
17590
|
+
let query = { };
|
|
17591
|
+
query["EnableTagAuth"] = request.enableTagAuth;
|
|
17592
|
+
query["GroupId"] = request.groupId;
|
|
17593
|
+
query["GroupName"] = request.groupName;
|
|
17594
|
+
query["InstanceId"] = request.instanceId;
|
|
17595
|
+
query["PageNumber"] = request.pageNumber;
|
|
17596
|
+
query["PageSize"] = request.pageSize;
|
|
17597
|
+
query["SecurityToken"] = request.securityToken;
|
|
17598
|
+
query["Sort"] = request.sort;
|
|
17599
|
+
query["Tag"] = request.tag;
|
|
17097
17600
|
let req = new $OpenApi.OpenApiRequest({
|
|
17601
|
+
query: OpenApiUtil.query(query),
|
|
17098
17602
|
body: Util.toMap(request),
|
|
17099
17603
|
});
|
|
17100
|
-
|
|
17604
|
+
let params = new $OpenApi.Params({
|
|
17605
|
+
action: "DescribeApiGroups",
|
|
17606
|
+
version: "2016-07-14",
|
|
17607
|
+
protocol: "HTTPS",
|
|
17608
|
+
pathname: "/",
|
|
17609
|
+
method: "POST",
|
|
17610
|
+
authType: "AK",
|
|
17611
|
+
style: "RPC",
|
|
17612
|
+
reqBodyType: "json",
|
|
17613
|
+
bodyType: "json",
|
|
17614
|
+
});
|
|
17615
|
+
return $tea.cast<DescribeApiGroupsResponse>(await this.callApi(params, req, runtime), new DescribeApiGroupsResponse({}));
|
|
17101
17616
|
}
|
|
17102
17617
|
|
|
17103
17618
|
async describeApiGroups(request: DescribeApiGroupsRequest): Promise<DescribeApiGroupsResponse> {
|
|
@@ -17107,10 +17622,30 @@ export default class Client extends OpenApi {
|
|
|
17107
17622
|
|
|
17108
17623
|
async describeApiHistoriesWithOptions(request: DescribeApiHistoriesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeApiHistoriesResponse> {
|
|
17109
17624
|
Util.validateModel(request);
|
|
17625
|
+
let query = { };
|
|
17626
|
+
query["ApiId"] = request.apiId;
|
|
17627
|
+
query["ApiName"] = request.apiName;
|
|
17628
|
+
query["GroupId"] = request.groupId;
|
|
17629
|
+
query["PageNumber"] = request.pageNumber;
|
|
17630
|
+
query["PageSize"] = request.pageSize;
|
|
17631
|
+
query["SecurityToken"] = request.securityToken;
|
|
17632
|
+
query["StageName"] = request.stageName;
|
|
17110
17633
|
let req = new $OpenApi.OpenApiRequest({
|
|
17634
|
+
query: OpenApiUtil.query(query),
|
|
17111
17635
|
body: Util.toMap(request),
|
|
17112
17636
|
});
|
|
17113
|
-
|
|
17637
|
+
let params = new $OpenApi.Params({
|
|
17638
|
+
action: "DescribeApiHistories",
|
|
17639
|
+
version: "2016-07-14",
|
|
17640
|
+
protocol: "HTTPS",
|
|
17641
|
+
pathname: "/",
|
|
17642
|
+
method: "POST",
|
|
17643
|
+
authType: "AK",
|
|
17644
|
+
style: "RPC",
|
|
17645
|
+
reqBodyType: "json",
|
|
17646
|
+
bodyType: "json",
|
|
17647
|
+
});
|
|
17648
|
+
return $tea.cast<DescribeApiHistoriesResponse>(await this.callApi(params, req, runtime), new DescribeApiHistoriesResponse({}));
|
|
17114
17649
|
}
|
|
17115
17650
|
|
|
17116
17651
|
async describeApiHistories(request: DescribeApiHistoriesRequest): Promise<DescribeApiHistoriesResponse> {
|
|
@@ -17120,10 +17655,28 @@ export default class Client extends OpenApi {
|
|
|
17120
17655
|
|
|
17121
17656
|
async describeApiHistoryWithOptions(request: DescribeApiHistoryRequest, runtime: $Util.RuntimeOptions): Promise<DescribeApiHistoryResponse> {
|
|
17122
17657
|
Util.validateModel(request);
|
|
17658
|
+
let query = { };
|
|
17659
|
+
query["ApiId"] = request.apiId;
|
|
17660
|
+
query["GroupId"] = request.groupId;
|
|
17661
|
+
query["HistoryVersion"] = request.historyVersion;
|
|
17662
|
+
query["SecurityToken"] = request.securityToken;
|
|
17663
|
+
query["StageName"] = request.stageName;
|
|
17123
17664
|
let req = new $OpenApi.OpenApiRequest({
|
|
17665
|
+
query: OpenApiUtil.query(query),
|
|
17124
17666
|
body: Util.toMap(request),
|
|
17125
17667
|
});
|
|
17126
|
-
|
|
17668
|
+
let params = new $OpenApi.Params({
|
|
17669
|
+
action: "DescribeApiHistory",
|
|
17670
|
+
version: "2016-07-14",
|
|
17671
|
+
protocol: "HTTPS",
|
|
17672
|
+
pathname: "/",
|
|
17673
|
+
method: "POST",
|
|
17674
|
+
authType: "AK",
|
|
17675
|
+
style: "RPC",
|
|
17676
|
+
reqBodyType: "json",
|
|
17677
|
+
bodyType: "json",
|
|
17678
|
+
});
|
|
17679
|
+
return $tea.cast<DescribeApiHistoryResponse>(await this.callApi(params, req, runtime), new DescribeApiHistoryResponse({}));
|
|
17127
17680
|
}
|
|
17128
17681
|
|
|
17129
17682
|
async describeApiHistory(request: DescribeApiHistoryRequest): Promise<DescribeApiHistoryResponse> {
|
|
@@ -17133,10 +17686,29 @@ export default class Client extends OpenApi {
|
|
|
17133
17686
|
|
|
17134
17687
|
async describeApiIpControlsWithOptions(request: DescribeApiIpControlsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeApiIpControlsResponse> {
|
|
17135
17688
|
Util.validateModel(request);
|
|
17689
|
+
let query = { };
|
|
17690
|
+
query["ApiIds"] = request.apiIds;
|
|
17691
|
+
query["GroupId"] = request.groupId;
|
|
17692
|
+
query["PageNumber"] = request.pageNumber;
|
|
17693
|
+
query["PageSize"] = request.pageSize;
|
|
17694
|
+
query["SecurityToken"] = request.securityToken;
|
|
17695
|
+
query["StageName"] = request.stageName;
|
|
17136
17696
|
let req = new $OpenApi.OpenApiRequest({
|
|
17697
|
+
query: OpenApiUtil.query(query),
|
|
17137
17698
|
body: Util.toMap(request),
|
|
17138
17699
|
});
|
|
17139
|
-
|
|
17700
|
+
let params = new $OpenApi.Params({
|
|
17701
|
+
action: "DescribeApiIpControls",
|
|
17702
|
+
version: "2016-07-14",
|
|
17703
|
+
protocol: "HTTPS",
|
|
17704
|
+
pathname: "/",
|
|
17705
|
+
method: "POST",
|
|
17706
|
+
authType: "AK",
|
|
17707
|
+
style: "RPC",
|
|
17708
|
+
reqBodyType: "json",
|
|
17709
|
+
bodyType: "json",
|
|
17710
|
+
});
|
|
17711
|
+
return $tea.cast<DescribeApiIpControlsResponse>(await this.callApi(params, req, runtime), new DescribeApiIpControlsResponse({}));
|
|
17140
17712
|
}
|
|
17141
17713
|
|
|
17142
17714
|
async describeApiIpControls(request: DescribeApiIpControlsRequest): Promise<DescribeApiIpControlsResponse> {
|
|
@@ -17146,10 +17718,29 @@ export default class Client extends OpenApi {
|
|
|
17146
17718
|
|
|
17147
17719
|
async describeApiLatencyDataWithOptions(request: DescribeApiLatencyDataRequest, runtime: $Util.RuntimeOptions): Promise<DescribeApiLatencyDataResponse> {
|
|
17148
17720
|
Util.validateModel(request);
|
|
17721
|
+
let query = { };
|
|
17722
|
+
query["ApiId"] = request.apiId;
|
|
17723
|
+
query["EndTime"] = request.endTime;
|
|
17724
|
+
query["GroupId"] = request.groupId;
|
|
17725
|
+
query["SecurityToken"] = request.securityToken;
|
|
17726
|
+
query["StageName"] = request.stageName;
|
|
17727
|
+
query["StartTime"] = request.startTime;
|
|
17149
17728
|
let req = new $OpenApi.OpenApiRequest({
|
|
17729
|
+
query: OpenApiUtil.query(query),
|
|
17150
17730
|
body: Util.toMap(request),
|
|
17151
17731
|
});
|
|
17152
|
-
|
|
17732
|
+
let params = new $OpenApi.Params({
|
|
17733
|
+
action: "DescribeApiLatencyData",
|
|
17734
|
+
version: "2016-07-14",
|
|
17735
|
+
protocol: "HTTPS",
|
|
17736
|
+
pathname: "/",
|
|
17737
|
+
method: "POST",
|
|
17738
|
+
authType: "AK",
|
|
17739
|
+
style: "RPC",
|
|
17740
|
+
reqBodyType: "json",
|
|
17741
|
+
bodyType: "json",
|
|
17742
|
+
});
|
|
17743
|
+
return $tea.cast<DescribeApiLatencyDataResponse>(await this.callApi(params, req, runtime), new DescribeApiLatencyDataResponse({}));
|
|
17153
17744
|
}
|
|
17154
17745
|
|
|
17155
17746
|
async describeApiLatencyData(request: DescribeApiLatencyDataRequest): Promise<DescribeApiLatencyDataResponse> {
|
|
@@ -17159,10 +17750,26 @@ export default class Client extends OpenApi {
|
|
|
17159
17750
|
|
|
17160
17751
|
async describeApiMarketAttributesWithOptions(request: DescribeApiMarketAttributesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeApiMarketAttributesResponse> {
|
|
17161
17752
|
Util.validateModel(request);
|
|
17753
|
+
let query = { };
|
|
17754
|
+
query["ApiId"] = request.apiId;
|
|
17755
|
+
query["GroupId"] = request.groupId;
|
|
17756
|
+
query["SecurityToken"] = request.securityToken;
|
|
17162
17757
|
let req = new $OpenApi.OpenApiRequest({
|
|
17758
|
+
query: OpenApiUtil.query(query),
|
|
17163
17759
|
body: Util.toMap(request),
|
|
17164
17760
|
});
|
|
17165
|
-
|
|
17761
|
+
let params = new $OpenApi.Params({
|
|
17762
|
+
action: "DescribeApiMarketAttributes",
|
|
17763
|
+
version: "2016-07-14",
|
|
17764
|
+
protocol: "HTTPS",
|
|
17765
|
+
pathname: "/",
|
|
17766
|
+
method: "POST",
|
|
17767
|
+
authType: "AK",
|
|
17768
|
+
style: "RPC",
|
|
17769
|
+
reqBodyType: "json",
|
|
17770
|
+
bodyType: "json",
|
|
17771
|
+
});
|
|
17772
|
+
return $tea.cast<DescribeApiMarketAttributesResponse>(await this.callApi(params, req, runtime), new DescribeApiMarketAttributesResponse({}));
|
|
17166
17773
|
}
|
|
17167
17774
|
|
|
17168
17775
|
async describeApiMarketAttributes(request: DescribeApiMarketAttributesRequest): Promise<DescribeApiMarketAttributesResponse> {
|
|
@@ -17172,10 +17779,29 @@ export default class Client extends OpenApi {
|
|
|
17172
17779
|
|
|
17173
17780
|
async describeApiQpsDataWithOptions(request: DescribeApiQpsDataRequest, runtime: $Util.RuntimeOptions): Promise<DescribeApiQpsDataResponse> {
|
|
17174
17781
|
Util.validateModel(request);
|
|
17782
|
+
let query = { };
|
|
17783
|
+
query["ApiId"] = request.apiId;
|
|
17784
|
+
query["EndTime"] = request.endTime;
|
|
17785
|
+
query["GroupId"] = request.groupId;
|
|
17786
|
+
query["SecurityToken"] = request.securityToken;
|
|
17787
|
+
query["StageName"] = request.stageName;
|
|
17788
|
+
query["StartTime"] = request.startTime;
|
|
17175
17789
|
let req = new $OpenApi.OpenApiRequest({
|
|
17790
|
+
query: OpenApiUtil.query(query),
|
|
17176
17791
|
body: Util.toMap(request),
|
|
17177
17792
|
});
|
|
17178
|
-
|
|
17793
|
+
let params = new $OpenApi.Params({
|
|
17794
|
+
action: "DescribeApiQpsData",
|
|
17795
|
+
version: "2016-07-14",
|
|
17796
|
+
protocol: "HTTPS",
|
|
17797
|
+
pathname: "/",
|
|
17798
|
+
method: "POST",
|
|
17799
|
+
authType: "AK",
|
|
17800
|
+
style: "RPC",
|
|
17801
|
+
reqBodyType: "json",
|
|
17802
|
+
bodyType: "json",
|
|
17803
|
+
});
|
|
17804
|
+
return $tea.cast<DescribeApiQpsDataResponse>(await this.callApi(params, req, runtime), new DescribeApiQpsDataResponse({}));
|
|
17179
17805
|
}
|
|
17180
17806
|
|
|
17181
17807
|
async describeApiQpsData(request: DescribeApiQpsDataRequest): Promise<DescribeApiQpsDataResponse> {
|
|
@@ -17185,10 +17811,29 @@ export default class Client extends OpenApi {
|
|
|
17185
17811
|
|
|
17186
17812
|
async describeApiSignaturesWithOptions(request: DescribeApiSignaturesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeApiSignaturesResponse> {
|
|
17187
17813
|
Util.validateModel(request);
|
|
17814
|
+
let query = { };
|
|
17815
|
+
query["ApiIds"] = request.apiIds;
|
|
17816
|
+
query["GroupId"] = request.groupId;
|
|
17817
|
+
query["PageNumber"] = request.pageNumber;
|
|
17818
|
+
query["PageSize"] = request.pageSize;
|
|
17819
|
+
query["SecurityToken"] = request.securityToken;
|
|
17820
|
+
query["StageName"] = request.stageName;
|
|
17188
17821
|
let req = new $OpenApi.OpenApiRequest({
|
|
17822
|
+
query: OpenApiUtil.query(query),
|
|
17189
17823
|
body: Util.toMap(request),
|
|
17190
17824
|
});
|
|
17191
|
-
|
|
17825
|
+
let params = new $OpenApi.Params({
|
|
17826
|
+
action: "DescribeApiSignatures",
|
|
17827
|
+
version: "2016-07-14",
|
|
17828
|
+
protocol: "HTTPS",
|
|
17829
|
+
pathname: "/",
|
|
17830
|
+
method: "POST",
|
|
17831
|
+
authType: "AK",
|
|
17832
|
+
style: "RPC",
|
|
17833
|
+
reqBodyType: "json",
|
|
17834
|
+
bodyType: "json",
|
|
17835
|
+
});
|
|
17836
|
+
return $tea.cast<DescribeApiSignaturesResponse>(await this.callApi(params, req, runtime), new DescribeApiSignaturesResponse({}));
|
|
17192
17837
|
}
|
|
17193
17838
|
|
|
17194
17839
|
async describeApiSignatures(request: DescribeApiSignaturesRequest): Promise<DescribeApiSignaturesResponse> {
|
|
@@ -17196,25 +17841,31 @@ export default class Client extends OpenApi {
|
|
|
17196
17841
|
return await this.describeApiSignaturesWithOptions(request, runtime);
|
|
17197
17842
|
}
|
|
17198
17843
|
|
|
17199
|
-
async describeApiStageWithOptions(request: DescribeApiStageRequest, runtime: $Util.RuntimeOptions): Promise<DescribeApiStageResponse> {
|
|
17200
|
-
Util.validateModel(request);
|
|
17201
|
-
let req = new $OpenApi.OpenApiRequest({
|
|
17202
|
-
body: Util.toMap(request),
|
|
17203
|
-
});
|
|
17204
|
-
return $tea.cast<DescribeApiStageResponse>(await this.doRPCRequest("DescribeApiStage", "2016-07-14", "HTTPS", "POST", "AK", "json", req, runtime), new DescribeApiStageResponse({}));
|
|
17205
|
-
}
|
|
17206
|
-
|
|
17207
|
-
async describeApiStage(request: DescribeApiStageRequest): Promise<DescribeApiStageResponse> {
|
|
17208
|
-
let runtime = new $Util.RuntimeOptions({ });
|
|
17209
|
-
return await this.describeApiStageWithOptions(request, runtime);
|
|
17210
|
-
}
|
|
17211
|
-
|
|
17212
17844
|
async describeApiTrafficControlsWithOptions(request: DescribeApiTrafficControlsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeApiTrafficControlsResponse> {
|
|
17213
17845
|
Util.validateModel(request);
|
|
17846
|
+
let query = { };
|
|
17847
|
+
query["ApiIds"] = request.apiIds;
|
|
17848
|
+
query["GroupId"] = request.groupId;
|
|
17849
|
+
query["PageNumber"] = request.pageNumber;
|
|
17850
|
+
query["PageSize"] = request.pageSize;
|
|
17851
|
+
query["SecurityToken"] = request.securityToken;
|
|
17852
|
+
query["StageName"] = request.stageName;
|
|
17214
17853
|
let req = new $OpenApi.OpenApiRequest({
|
|
17854
|
+
query: OpenApiUtil.query(query),
|
|
17215
17855
|
body: Util.toMap(request),
|
|
17216
17856
|
});
|
|
17217
|
-
|
|
17857
|
+
let params = new $OpenApi.Params({
|
|
17858
|
+
action: "DescribeApiTrafficControls",
|
|
17859
|
+
version: "2016-07-14",
|
|
17860
|
+
protocol: "HTTPS",
|
|
17861
|
+
pathname: "/",
|
|
17862
|
+
method: "POST",
|
|
17863
|
+
authType: "AK",
|
|
17864
|
+
style: "RPC",
|
|
17865
|
+
reqBodyType: "json",
|
|
17866
|
+
bodyType: "json",
|
|
17867
|
+
});
|
|
17868
|
+
return $tea.cast<DescribeApiTrafficControlsResponse>(await this.callApi(params, req, runtime), new DescribeApiTrafficControlsResponse({}));
|
|
17218
17869
|
}
|
|
17219
17870
|
|
|
17220
17871
|
async describeApiTrafficControls(request: DescribeApiTrafficControlsRequest): Promise<DescribeApiTrafficControlsResponse> {
|
|
@@ -17224,10 +17875,29 @@ export default class Client extends OpenApi {
|
|
|
17224
17875
|
|
|
17225
17876
|
async describeApiTrafficDataWithOptions(request: DescribeApiTrafficDataRequest, runtime: $Util.RuntimeOptions): Promise<DescribeApiTrafficDataResponse> {
|
|
17226
17877
|
Util.validateModel(request);
|
|
17878
|
+
let query = { };
|
|
17879
|
+
query["ApiId"] = request.apiId;
|
|
17880
|
+
query["EndTime"] = request.endTime;
|
|
17881
|
+
query["GroupId"] = request.groupId;
|
|
17882
|
+
query["SecurityToken"] = request.securityToken;
|
|
17883
|
+
query["StageName"] = request.stageName;
|
|
17884
|
+
query["StartTime"] = request.startTime;
|
|
17227
17885
|
let req = new $OpenApi.OpenApiRequest({
|
|
17886
|
+
query: OpenApiUtil.query(query),
|
|
17228
17887
|
body: Util.toMap(request),
|
|
17229
17888
|
});
|
|
17230
|
-
|
|
17889
|
+
let params = new $OpenApi.Params({
|
|
17890
|
+
action: "DescribeApiTrafficData",
|
|
17891
|
+
version: "2016-07-14",
|
|
17892
|
+
protocol: "HTTPS",
|
|
17893
|
+
pathname: "/",
|
|
17894
|
+
method: "POST",
|
|
17895
|
+
authType: "AK",
|
|
17896
|
+
style: "RPC",
|
|
17897
|
+
reqBodyType: "json",
|
|
17898
|
+
bodyType: "json",
|
|
17899
|
+
});
|
|
17900
|
+
return $tea.cast<DescribeApiTrafficDataResponse>(await this.callApi(params, req, runtime), new DescribeApiTrafficDataResponse({}));
|
|
17231
17901
|
}
|
|
17232
17902
|
|
|
17233
17903
|
async describeApiTrafficData(request: DescribeApiTrafficDataRequest): Promise<DescribeApiTrafficDataResponse> {
|
|
@@ -17237,10 +17907,33 @@ export default class Client extends OpenApi {
|
|
|
17237
17907
|
|
|
17238
17908
|
async describeApisWithOptions(request: DescribeApisRequest, runtime: $Util.RuntimeOptions): Promise<DescribeApisResponse> {
|
|
17239
17909
|
Util.validateModel(request);
|
|
17910
|
+
let query = { };
|
|
17911
|
+
query["ApiId"] = request.apiId;
|
|
17912
|
+
query["ApiName"] = request.apiName;
|
|
17913
|
+
query["CatalogId"] = request.catalogId;
|
|
17914
|
+
query["EnableTagAuth"] = request.enableTagAuth;
|
|
17915
|
+
query["GroupId"] = request.groupId;
|
|
17916
|
+
query["PageNumber"] = request.pageNumber;
|
|
17917
|
+
query["PageSize"] = request.pageSize;
|
|
17918
|
+
query["SecurityToken"] = request.securityToken;
|
|
17919
|
+
query["Tag"] = request.tag;
|
|
17920
|
+
query["Visibility"] = request.visibility;
|
|
17240
17921
|
let req = new $OpenApi.OpenApiRequest({
|
|
17922
|
+
query: OpenApiUtil.query(query),
|
|
17241
17923
|
body: Util.toMap(request),
|
|
17242
17924
|
});
|
|
17243
|
-
|
|
17925
|
+
let params = new $OpenApi.Params({
|
|
17926
|
+
action: "DescribeApis",
|
|
17927
|
+
version: "2016-07-14",
|
|
17928
|
+
protocol: "HTTPS",
|
|
17929
|
+
pathname: "/",
|
|
17930
|
+
method: "POST",
|
|
17931
|
+
authType: "AK",
|
|
17932
|
+
style: "RPC",
|
|
17933
|
+
reqBodyType: "json",
|
|
17934
|
+
bodyType: "json",
|
|
17935
|
+
});
|
|
17936
|
+
return $tea.cast<DescribeApisResponse>(await this.callApi(params, req, runtime), new DescribeApisResponse({}));
|
|
17244
17937
|
}
|
|
17245
17938
|
|
|
17246
17939
|
async describeApis(request: DescribeApisRequest): Promise<DescribeApisResponse> {
|
|
@@ -17250,10 +17943,31 @@ export default class Client extends OpenApi {
|
|
|
17250
17943
|
|
|
17251
17944
|
async describeApisByAppWithOptions(request: DescribeApisByAppRequest, runtime: $Util.RuntimeOptions): Promise<DescribeApisByAppResponse> {
|
|
17252
17945
|
Util.validateModel(request);
|
|
17946
|
+
let query = { };
|
|
17947
|
+
query["ApiName"] = request.apiName;
|
|
17948
|
+
query["ApiUid"] = request.apiUid;
|
|
17949
|
+
query["AppId"] = request.appId;
|
|
17950
|
+
query["Method"] = request.method;
|
|
17951
|
+
query["PageNumber"] = request.pageNumber;
|
|
17952
|
+
query["PageSize"] = request.pageSize;
|
|
17953
|
+
query["Path"] = request.path;
|
|
17954
|
+
query["SecurityToken"] = request.securityToken;
|
|
17253
17955
|
let req = new $OpenApi.OpenApiRequest({
|
|
17956
|
+
query: OpenApiUtil.query(query),
|
|
17254
17957
|
body: Util.toMap(request),
|
|
17255
17958
|
});
|
|
17256
|
-
|
|
17959
|
+
let params = new $OpenApi.Params({
|
|
17960
|
+
action: "DescribeApisByApp",
|
|
17961
|
+
version: "2016-07-14",
|
|
17962
|
+
protocol: "HTTPS",
|
|
17963
|
+
pathname: "/",
|
|
17964
|
+
method: "POST",
|
|
17965
|
+
authType: "AK",
|
|
17966
|
+
style: "RPC",
|
|
17967
|
+
reqBodyType: "json",
|
|
17968
|
+
bodyType: "json",
|
|
17969
|
+
});
|
|
17970
|
+
return $tea.cast<DescribeApisByAppResponse>(await this.callApi(params, req, runtime), new DescribeApisByAppResponse({}));
|
|
17257
17971
|
}
|
|
17258
17972
|
|
|
17259
17973
|
async describeApisByApp(request: DescribeApisByAppRequest): Promise<DescribeApisByAppResponse> {
|
|
@@ -17263,10 +17977,27 @@ export default class Client extends OpenApi {
|
|
|
17263
17977
|
|
|
17264
17978
|
async describeApisByIpControlWithOptions(request: DescribeApisByIpControlRequest, runtime: $Util.RuntimeOptions): Promise<DescribeApisByIpControlResponse> {
|
|
17265
17979
|
Util.validateModel(request);
|
|
17980
|
+
let query = { };
|
|
17981
|
+
query["IpControlId"] = request.ipControlId;
|
|
17982
|
+
query["PageNumber"] = request.pageNumber;
|
|
17983
|
+
query["PageSize"] = request.pageSize;
|
|
17984
|
+
query["SecurityToken"] = request.securityToken;
|
|
17266
17985
|
let req = new $OpenApi.OpenApiRequest({
|
|
17986
|
+
query: OpenApiUtil.query(query),
|
|
17267
17987
|
body: Util.toMap(request),
|
|
17268
17988
|
});
|
|
17269
|
-
|
|
17989
|
+
let params = new $OpenApi.Params({
|
|
17990
|
+
action: "DescribeApisByIpControl",
|
|
17991
|
+
version: "2016-07-14",
|
|
17992
|
+
protocol: "HTTPS",
|
|
17993
|
+
pathname: "/",
|
|
17994
|
+
method: "POST",
|
|
17995
|
+
authType: "AK",
|
|
17996
|
+
style: "RPC",
|
|
17997
|
+
reqBodyType: "json",
|
|
17998
|
+
bodyType: "json",
|
|
17999
|
+
});
|
|
18000
|
+
return $tea.cast<DescribeApisByIpControlResponse>(await this.callApi(params, req, runtime), new DescribeApisByIpControlResponse({}));
|
|
17270
18001
|
}
|
|
17271
18002
|
|
|
17272
18003
|
async describeApisByIpControl(request: DescribeApisByIpControlRequest): Promise<DescribeApisByIpControlResponse> {
|
|
@@ -17276,10 +18007,27 @@ export default class Client extends OpenApi {
|
|
|
17276
18007
|
|
|
17277
18008
|
async describeApisBySignatureWithOptions(request: DescribeApisBySignatureRequest, runtime: $Util.RuntimeOptions): Promise<DescribeApisBySignatureResponse> {
|
|
17278
18009
|
Util.validateModel(request);
|
|
18010
|
+
let query = { };
|
|
18011
|
+
query["PageNumber"] = request.pageNumber;
|
|
18012
|
+
query["PageSize"] = request.pageSize;
|
|
18013
|
+
query["SecurityToken"] = request.securityToken;
|
|
18014
|
+
query["SignatureId"] = request.signatureId;
|
|
17279
18015
|
let req = new $OpenApi.OpenApiRequest({
|
|
18016
|
+
query: OpenApiUtil.query(query),
|
|
17280
18017
|
body: Util.toMap(request),
|
|
17281
18018
|
});
|
|
17282
|
-
|
|
18019
|
+
let params = new $OpenApi.Params({
|
|
18020
|
+
action: "DescribeApisBySignature",
|
|
18021
|
+
version: "2016-07-14",
|
|
18022
|
+
protocol: "HTTPS",
|
|
18023
|
+
pathname: "/",
|
|
18024
|
+
method: "POST",
|
|
18025
|
+
authType: "AK",
|
|
18026
|
+
style: "RPC",
|
|
18027
|
+
reqBodyType: "json",
|
|
18028
|
+
bodyType: "json",
|
|
18029
|
+
});
|
|
18030
|
+
return $tea.cast<DescribeApisBySignatureResponse>(await this.callApi(params, req, runtime), new DescribeApisBySignatureResponse({}));
|
|
17283
18031
|
}
|
|
17284
18032
|
|
|
17285
18033
|
async describeApisBySignature(request: DescribeApisBySignatureRequest): Promise<DescribeApisBySignatureResponse> {
|
|
@@ -17289,10 +18037,27 @@ export default class Client extends OpenApi {
|
|
|
17289
18037
|
|
|
17290
18038
|
async describeApisByTrafficControlWithOptions(request: DescribeApisByTrafficControlRequest, runtime: $Util.RuntimeOptions): Promise<DescribeApisByTrafficControlResponse> {
|
|
17291
18039
|
Util.validateModel(request);
|
|
18040
|
+
let query = { };
|
|
18041
|
+
query["PageNumber"] = request.pageNumber;
|
|
18042
|
+
query["PageSize"] = request.pageSize;
|
|
18043
|
+
query["SecurityToken"] = request.securityToken;
|
|
18044
|
+
query["TrafficControlId"] = request.trafficControlId;
|
|
17292
18045
|
let req = new $OpenApi.OpenApiRequest({
|
|
18046
|
+
query: OpenApiUtil.query(query),
|
|
17293
18047
|
body: Util.toMap(request),
|
|
17294
18048
|
});
|
|
17295
|
-
|
|
18049
|
+
let params = new $OpenApi.Params({
|
|
18050
|
+
action: "DescribeApisByTrafficControl",
|
|
18051
|
+
version: "2016-07-14",
|
|
18052
|
+
protocol: "HTTPS",
|
|
18053
|
+
pathname: "/",
|
|
18054
|
+
method: "POST",
|
|
18055
|
+
authType: "AK",
|
|
18056
|
+
style: "RPC",
|
|
18057
|
+
reqBodyType: "json",
|
|
18058
|
+
bodyType: "json",
|
|
18059
|
+
});
|
|
18060
|
+
return $tea.cast<DescribeApisByTrafficControlResponse>(await this.callApi(params, req, runtime), new DescribeApisByTrafficControlResponse({}));
|
|
17296
18061
|
}
|
|
17297
18062
|
|
|
17298
18063
|
async describeApisByTrafficControl(request: DescribeApisByTrafficControlRequest): Promise<DescribeApisByTrafficControlResponse> {
|
|
@@ -17302,10 +18067,25 @@ export default class Client extends OpenApi {
|
|
|
17302
18067
|
|
|
17303
18068
|
async describeAppWithOptions(request: DescribeAppRequest, runtime: $Util.RuntimeOptions): Promise<DescribeAppResponse> {
|
|
17304
18069
|
Util.validateModel(request);
|
|
18070
|
+
let query = { };
|
|
18071
|
+
query["AppId"] = request.appId;
|
|
18072
|
+
query["SecurityToken"] = request.securityToken;
|
|
17305
18073
|
let req = new $OpenApi.OpenApiRequest({
|
|
18074
|
+
query: OpenApiUtil.query(query),
|
|
17306
18075
|
body: Util.toMap(request),
|
|
17307
18076
|
});
|
|
17308
|
-
|
|
18077
|
+
let params = new $OpenApi.Params({
|
|
18078
|
+
action: "DescribeApp",
|
|
18079
|
+
version: "2016-07-14",
|
|
18080
|
+
protocol: "HTTPS",
|
|
18081
|
+
pathname: "/",
|
|
18082
|
+
method: "POST",
|
|
18083
|
+
authType: "AK",
|
|
18084
|
+
style: "RPC",
|
|
18085
|
+
reqBodyType: "json",
|
|
18086
|
+
bodyType: "json",
|
|
18087
|
+
});
|
|
18088
|
+
return $tea.cast<DescribeAppResponse>(await this.callApi(params, req, runtime), new DescribeAppResponse({}));
|
|
17309
18089
|
}
|
|
17310
18090
|
|
|
17311
18091
|
async describeApp(request: DescribeAppRequest): Promise<DescribeAppResponse> {
|
|
@@ -17315,10 +18095,33 @@ export default class Client extends OpenApi {
|
|
|
17315
18095
|
|
|
17316
18096
|
async describeAppAttributesWithOptions(request: DescribeAppAttributesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeAppAttributesResponse> {
|
|
17317
18097
|
Util.validateModel(request);
|
|
18098
|
+
let query = { };
|
|
18099
|
+
query["AppCode"] = request.appCode;
|
|
18100
|
+
query["AppId"] = request.appId;
|
|
18101
|
+
query["AppKey"] = request.appKey;
|
|
18102
|
+
query["AppName"] = request.appName;
|
|
18103
|
+
query["EnableTagAuth"] = request.enableTagAuth;
|
|
18104
|
+
query["PageNumber"] = request.pageNumber;
|
|
18105
|
+
query["PageSize"] = request.pageSize;
|
|
18106
|
+
query["SecurityToken"] = request.securityToken;
|
|
18107
|
+
query["Sort"] = request.sort;
|
|
18108
|
+
query["Tag"] = request.tag;
|
|
17318
18109
|
let req = new $OpenApi.OpenApiRequest({
|
|
18110
|
+
query: OpenApiUtil.query(query),
|
|
17319
18111
|
body: Util.toMap(request),
|
|
17320
18112
|
});
|
|
17321
|
-
|
|
18113
|
+
let params = new $OpenApi.Params({
|
|
18114
|
+
action: "DescribeAppAttributes",
|
|
18115
|
+
version: "2016-07-14",
|
|
18116
|
+
protocol: "HTTPS",
|
|
18117
|
+
pathname: "/",
|
|
18118
|
+
method: "POST",
|
|
18119
|
+
authType: "AK",
|
|
18120
|
+
style: "RPC",
|
|
18121
|
+
reqBodyType: "json",
|
|
18122
|
+
bodyType: "json",
|
|
18123
|
+
});
|
|
18124
|
+
return $tea.cast<DescribeAppAttributesResponse>(await this.callApi(params, req, runtime), new DescribeAppAttributesResponse({}));
|
|
17322
18125
|
}
|
|
17323
18126
|
|
|
17324
18127
|
async describeAppAttributes(request: DescribeAppAttributesRequest): Promise<DescribeAppAttributesResponse> {
|
|
@@ -17328,10 +18131,26 @@ export default class Client extends OpenApi {
|
|
|
17328
18131
|
|
|
17329
18132
|
async describeAppSecurityWithOptions(request: DescribeAppSecurityRequest, runtime: $Util.RuntimeOptions): Promise<DescribeAppSecurityResponse> {
|
|
17330
18133
|
Util.validateModel(request);
|
|
18134
|
+
let query = { };
|
|
18135
|
+
query["AppId"] = request.appId;
|
|
18136
|
+
query["SecurityToken"] = request.securityToken;
|
|
18137
|
+
query["Tag"] = request.tag;
|
|
17331
18138
|
let req = new $OpenApi.OpenApiRequest({
|
|
18139
|
+
query: OpenApiUtil.query(query),
|
|
17332
18140
|
body: Util.toMap(request),
|
|
17333
18141
|
});
|
|
17334
|
-
|
|
18142
|
+
let params = new $OpenApi.Params({
|
|
18143
|
+
action: "DescribeAppSecurity",
|
|
18144
|
+
version: "2016-07-14",
|
|
18145
|
+
protocol: "HTTPS",
|
|
18146
|
+
pathname: "/",
|
|
18147
|
+
method: "POST",
|
|
18148
|
+
authType: "AK",
|
|
18149
|
+
style: "RPC",
|
|
18150
|
+
reqBodyType: "json",
|
|
18151
|
+
bodyType: "json",
|
|
18152
|
+
});
|
|
18153
|
+
return $tea.cast<DescribeAppSecurityResponse>(await this.callApi(params, req, runtime), new DescribeAppSecurityResponse({}));
|
|
17335
18154
|
}
|
|
17336
18155
|
|
|
17337
18156
|
async describeAppSecurity(request: DescribeAppSecurityRequest): Promise<DescribeAppSecurityResponse> {
|
|
@@ -17341,10 +18160,28 @@ export default class Client extends OpenApi {
|
|
|
17341
18160
|
|
|
17342
18161
|
async describeAppsWithOptions(request: DescribeAppsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeAppsResponse> {
|
|
17343
18162
|
Util.validateModel(request);
|
|
18163
|
+
let query = { };
|
|
18164
|
+
query["AppId"] = request.appId;
|
|
18165
|
+
query["AppOwner"] = request.appOwner;
|
|
18166
|
+
query["PageNumber"] = request.pageNumber;
|
|
18167
|
+
query["PageSize"] = request.pageSize;
|
|
18168
|
+
query["SecurityToken"] = request.securityToken;
|
|
17344
18169
|
let req = new $OpenApi.OpenApiRequest({
|
|
18170
|
+
query: OpenApiUtil.query(query),
|
|
17345
18171
|
body: Util.toMap(request),
|
|
17346
18172
|
});
|
|
17347
|
-
|
|
18173
|
+
let params = new $OpenApi.Params({
|
|
18174
|
+
action: "DescribeApps",
|
|
18175
|
+
version: "2016-07-14",
|
|
18176
|
+
protocol: "HTTPS",
|
|
18177
|
+
pathname: "/",
|
|
18178
|
+
method: "POST",
|
|
18179
|
+
authType: "AK",
|
|
18180
|
+
style: "RPC",
|
|
18181
|
+
reqBodyType: "json",
|
|
18182
|
+
bodyType: "json",
|
|
18183
|
+
});
|
|
18184
|
+
return $tea.cast<DescribeAppsResponse>(await this.callApi(params, req, runtime), new DescribeAppsResponse({}));
|
|
17348
18185
|
}
|
|
17349
18186
|
|
|
17350
18187
|
async describeApps(request: DescribeAppsRequest): Promise<DescribeAppsResponse> {
|
|
@@ -17354,10 +18191,27 @@ export default class Client extends OpenApi {
|
|
|
17354
18191
|
|
|
17355
18192
|
async describeAuthorizedApisWithOptions(request: DescribeAuthorizedApisRequest, runtime: $Util.RuntimeOptions): Promise<DescribeAuthorizedApisResponse> {
|
|
17356
18193
|
Util.validateModel(request);
|
|
18194
|
+
let query = { };
|
|
18195
|
+
query["AppId"] = request.appId;
|
|
18196
|
+
query["PageNumber"] = request.pageNumber;
|
|
18197
|
+
query["PageSize"] = request.pageSize;
|
|
18198
|
+
query["SecurityToken"] = request.securityToken;
|
|
17357
18199
|
let req = new $OpenApi.OpenApiRequest({
|
|
18200
|
+
query: OpenApiUtil.query(query),
|
|
17358
18201
|
body: Util.toMap(request),
|
|
17359
18202
|
});
|
|
17360
|
-
|
|
18203
|
+
let params = new $OpenApi.Params({
|
|
18204
|
+
action: "DescribeAuthorizedApis",
|
|
18205
|
+
version: "2016-07-14",
|
|
18206
|
+
protocol: "HTTPS",
|
|
18207
|
+
pathname: "/",
|
|
18208
|
+
method: "POST",
|
|
18209
|
+
authType: "AK",
|
|
18210
|
+
style: "RPC",
|
|
18211
|
+
reqBodyType: "json",
|
|
18212
|
+
bodyType: "json",
|
|
18213
|
+
});
|
|
18214
|
+
return $tea.cast<DescribeAuthorizedApisResponse>(await this.callApi(params, req, runtime), new DescribeAuthorizedApisResponse({}));
|
|
17361
18215
|
}
|
|
17362
18216
|
|
|
17363
18217
|
async describeAuthorizedApis(request: DescribeAuthorizedApisRequest): Promise<DescribeAuthorizedApisResponse> {
|
|
@@ -17367,10 +18221,32 @@ export default class Client extends OpenApi {
|
|
|
17367
18221
|
|
|
17368
18222
|
async describeAuthorizedAppsWithOptions(request: DescribeAuthorizedAppsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeAuthorizedAppsResponse> {
|
|
17369
18223
|
Util.validateModel(request);
|
|
18224
|
+
let query = { };
|
|
18225
|
+
query["ApiId"] = request.apiId;
|
|
18226
|
+
query["AppId"] = request.appId;
|
|
18227
|
+
query["AppName"] = request.appName;
|
|
18228
|
+
query["AppOwnerId"] = request.appOwnerId;
|
|
18229
|
+
query["GroupId"] = request.groupId;
|
|
18230
|
+
query["PageNumber"] = request.pageNumber;
|
|
18231
|
+
query["PageSize"] = request.pageSize;
|
|
18232
|
+
query["SecurityToken"] = request.securityToken;
|
|
18233
|
+
query["StageName"] = request.stageName;
|
|
17370
18234
|
let req = new $OpenApi.OpenApiRequest({
|
|
18235
|
+
query: OpenApiUtil.query(query),
|
|
17371
18236
|
body: Util.toMap(request),
|
|
17372
18237
|
});
|
|
17373
|
-
|
|
18238
|
+
let params = new $OpenApi.Params({
|
|
18239
|
+
action: "DescribeAuthorizedApps",
|
|
18240
|
+
version: "2016-07-14",
|
|
18241
|
+
protocol: "HTTPS",
|
|
18242
|
+
pathname: "/",
|
|
18243
|
+
method: "POST",
|
|
18244
|
+
authType: "AK",
|
|
18245
|
+
style: "RPC",
|
|
18246
|
+
reqBodyType: "json",
|
|
18247
|
+
bodyType: "json",
|
|
18248
|
+
});
|
|
18249
|
+
return $tea.cast<DescribeAuthorizedAppsResponse>(await this.callApi(params, req, runtime), new DescribeAuthorizedAppsResponse({}));
|
|
17374
18250
|
}
|
|
17375
18251
|
|
|
17376
18252
|
async describeAuthorizedApps(request: DescribeAuthorizedAppsRequest): Promise<DescribeAuthorizedAppsResponse> {
|
|
@@ -17380,10 +18256,25 @@ export default class Client extends OpenApi {
|
|
|
17380
18256
|
|
|
17381
18257
|
async describeDeployApiTaskWithOptions(request: DescribeDeployApiTaskRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDeployApiTaskResponse> {
|
|
17382
18258
|
Util.validateModel(request);
|
|
18259
|
+
let query = { };
|
|
18260
|
+
query["OperationUid"] = request.operationUid;
|
|
18261
|
+
query["SecurityToken"] = request.securityToken;
|
|
17383
18262
|
let req = new $OpenApi.OpenApiRequest({
|
|
18263
|
+
query: OpenApiUtil.query(query),
|
|
17384
18264
|
body: Util.toMap(request),
|
|
17385
18265
|
});
|
|
17386
|
-
|
|
18266
|
+
let params = new $OpenApi.Params({
|
|
18267
|
+
action: "DescribeDeployApiTask",
|
|
18268
|
+
version: "2016-07-14",
|
|
18269
|
+
protocol: "HTTPS",
|
|
18270
|
+
pathname: "/",
|
|
18271
|
+
method: "POST",
|
|
18272
|
+
authType: "AK",
|
|
18273
|
+
style: "RPC",
|
|
18274
|
+
reqBodyType: "json",
|
|
18275
|
+
bodyType: "json",
|
|
18276
|
+
});
|
|
18277
|
+
return $tea.cast<DescribeDeployApiTaskResponse>(await this.callApi(params, req, runtime), new DescribeDeployApiTaskResponse({}));
|
|
17387
18278
|
}
|
|
17388
18279
|
|
|
17389
18280
|
async describeDeployApiTask(request: DescribeDeployApiTaskRequest): Promise<DescribeDeployApiTaskResponse> {
|
|
@@ -17393,10 +18284,27 @@ export default class Client extends OpenApi {
|
|
|
17393
18284
|
|
|
17394
18285
|
async describeDeployedApiWithOptions(request: DescribeDeployedApiRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDeployedApiResponse> {
|
|
17395
18286
|
Util.validateModel(request);
|
|
18287
|
+
let query = { };
|
|
18288
|
+
query["ApiId"] = request.apiId;
|
|
18289
|
+
query["GroupId"] = request.groupId;
|
|
18290
|
+
query["SecurityToken"] = request.securityToken;
|
|
18291
|
+
query["StageName"] = request.stageName;
|
|
17396
18292
|
let req = new $OpenApi.OpenApiRequest({
|
|
18293
|
+
query: OpenApiUtil.query(query),
|
|
17397
18294
|
body: Util.toMap(request),
|
|
17398
18295
|
});
|
|
17399
|
-
|
|
18296
|
+
let params = new $OpenApi.Params({
|
|
18297
|
+
action: "DescribeDeployedApi",
|
|
18298
|
+
version: "2016-07-14",
|
|
18299
|
+
protocol: "HTTPS",
|
|
18300
|
+
pathname: "/",
|
|
18301
|
+
method: "POST",
|
|
18302
|
+
authType: "AK",
|
|
18303
|
+
style: "RPC",
|
|
18304
|
+
reqBodyType: "json",
|
|
18305
|
+
bodyType: "json",
|
|
18306
|
+
});
|
|
18307
|
+
return $tea.cast<DescribeDeployedApiResponse>(await this.callApi(params, req, runtime), new DescribeDeployedApiResponse({}));
|
|
17400
18308
|
}
|
|
17401
18309
|
|
|
17402
18310
|
async describeDeployedApi(request: DescribeDeployedApiRequest): Promise<DescribeDeployedApiResponse> {
|
|
@@ -17406,10 +18314,32 @@ export default class Client extends OpenApi {
|
|
|
17406
18314
|
|
|
17407
18315
|
async describeDeployedApisWithOptions(request: DescribeDeployedApisRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDeployedApisResponse> {
|
|
17408
18316
|
Util.validateModel(request);
|
|
18317
|
+
let query = { };
|
|
18318
|
+
query["ApiId"] = request.apiId;
|
|
18319
|
+
query["ApiName"] = request.apiName;
|
|
18320
|
+
query["EnableTagAuth"] = request.enableTagAuth;
|
|
18321
|
+
query["GroupId"] = request.groupId;
|
|
18322
|
+
query["PageNumber"] = request.pageNumber;
|
|
18323
|
+
query["PageSize"] = request.pageSize;
|
|
18324
|
+
query["SecurityToken"] = request.securityToken;
|
|
18325
|
+
query["StageName"] = request.stageName;
|
|
18326
|
+
query["Tag"] = request.tag;
|
|
17409
18327
|
let req = new $OpenApi.OpenApiRequest({
|
|
18328
|
+
query: OpenApiUtil.query(query),
|
|
17410
18329
|
body: Util.toMap(request),
|
|
17411
18330
|
});
|
|
17412
|
-
|
|
18331
|
+
let params = new $OpenApi.Params({
|
|
18332
|
+
action: "DescribeDeployedApis",
|
|
18333
|
+
version: "2016-07-14",
|
|
18334
|
+
protocol: "HTTPS",
|
|
18335
|
+
pathname: "/",
|
|
18336
|
+
method: "POST",
|
|
18337
|
+
authType: "AK",
|
|
18338
|
+
style: "RPC",
|
|
18339
|
+
reqBodyType: "json",
|
|
18340
|
+
bodyType: "json",
|
|
18341
|
+
});
|
|
18342
|
+
return $tea.cast<DescribeDeployedApisResponse>(await this.callApi(params, req, runtime), new DescribeDeployedApisResponse({}));
|
|
17413
18343
|
}
|
|
17414
18344
|
|
|
17415
18345
|
async describeDeployedApis(request: DescribeDeployedApisRequest): Promise<DescribeDeployedApisResponse> {
|
|
@@ -17419,10 +18349,26 @@ export default class Client extends OpenApi {
|
|
|
17419
18349
|
|
|
17420
18350
|
async describeDomainWithOptions(request: DescribeDomainRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDomainResponse> {
|
|
17421
18351
|
Util.validateModel(request);
|
|
18352
|
+
let query = { };
|
|
18353
|
+
query["DomainName"] = request.domainName;
|
|
18354
|
+
query["GroupId"] = request.groupId;
|
|
18355
|
+
query["SecurityToken"] = request.securityToken;
|
|
17422
18356
|
let req = new $OpenApi.OpenApiRequest({
|
|
18357
|
+
query: OpenApiUtil.query(query),
|
|
17423
18358
|
body: Util.toMap(request),
|
|
17424
18359
|
});
|
|
17425
|
-
|
|
18360
|
+
let params = new $OpenApi.Params({
|
|
18361
|
+
action: "DescribeDomain",
|
|
18362
|
+
version: "2016-07-14",
|
|
18363
|
+
protocol: "HTTPS",
|
|
18364
|
+
pathname: "/",
|
|
18365
|
+
method: "POST",
|
|
18366
|
+
authType: "AK",
|
|
18367
|
+
style: "RPC",
|
|
18368
|
+
reqBodyType: "json",
|
|
18369
|
+
bodyType: "json",
|
|
18370
|
+
});
|
|
18371
|
+
return $tea.cast<DescribeDomainResponse>(await this.callApi(params, req, runtime), new DescribeDomainResponse({}));
|
|
17426
18372
|
}
|
|
17427
18373
|
|
|
17428
18374
|
async describeDomain(request: DescribeDomainRequest): Promise<DescribeDomainResponse> {
|
|
@@ -17432,10 +18378,30 @@ export default class Client extends OpenApi {
|
|
|
17432
18378
|
|
|
17433
18379
|
async describeHistoryApisWithOptions(request: DescribeHistoryApisRequest, runtime: $Util.RuntimeOptions): Promise<DescribeHistoryApisResponse> {
|
|
17434
18380
|
Util.validateModel(request);
|
|
18381
|
+
let query = { };
|
|
18382
|
+
query["ApiId"] = request.apiId;
|
|
18383
|
+
query["ApiName"] = request.apiName;
|
|
18384
|
+
query["GroupId"] = request.groupId;
|
|
18385
|
+
query["PageNumber"] = request.pageNumber;
|
|
18386
|
+
query["PageSize"] = request.pageSize;
|
|
18387
|
+
query["SecurityToken"] = request.securityToken;
|
|
18388
|
+
query["StageName"] = request.stageName;
|
|
17435
18389
|
let req = new $OpenApi.OpenApiRequest({
|
|
18390
|
+
query: OpenApiUtil.query(query),
|
|
17436
18391
|
body: Util.toMap(request),
|
|
17437
18392
|
});
|
|
17438
|
-
|
|
18393
|
+
let params = new $OpenApi.Params({
|
|
18394
|
+
action: "DescribeHistoryApis",
|
|
18395
|
+
version: "2016-07-14",
|
|
18396
|
+
protocol: "HTTPS",
|
|
18397
|
+
pathname: "/",
|
|
18398
|
+
method: "POST",
|
|
18399
|
+
authType: "AK",
|
|
18400
|
+
style: "RPC",
|
|
18401
|
+
reqBodyType: "json",
|
|
18402
|
+
bodyType: "json",
|
|
18403
|
+
});
|
|
18404
|
+
return $tea.cast<DescribeHistoryApisResponse>(await this.callApi(params, req, runtime), new DescribeHistoryApisResponse({}));
|
|
17439
18405
|
}
|
|
17440
18406
|
|
|
17441
18407
|
async describeHistoryApis(request: DescribeHistoryApisRequest): Promise<DescribeHistoryApisResponse> {
|
|
@@ -17445,10 +18411,28 @@ export default class Client extends OpenApi {
|
|
|
17445
18411
|
|
|
17446
18412
|
async describeIpControlPolicyItemsWithOptions(request: DescribeIpControlPolicyItemsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeIpControlPolicyItemsResponse> {
|
|
17447
18413
|
Util.validateModel(request);
|
|
18414
|
+
let query = { };
|
|
18415
|
+
query["IpControlId"] = request.ipControlId;
|
|
18416
|
+
query["PageNumber"] = request.pageNumber;
|
|
18417
|
+
query["PageSize"] = request.pageSize;
|
|
18418
|
+
query["PolicyItemId"] = request.policyItemId;
|
|
18419
|
+
query["SecurityToken"] = request.securityToken;
|
|
17448
18420
|
let req = new $OpenApi.OpenApiRequest({
|
|
18421
|
+
query: OpenApiUtil.query(query),
|
|
17449
18422
|
body: Util.toMap(request),
|
|
17450
18423
|
});
|
|
17451
|
-
|
|
18424
|
+
let params = new $OpenApi.Params({
|
|
18425
|
+
action: "DescribeIpControlPolicyItems",
|
|
18426
|
+
version: "2016-07-14",
|
|
18427
|
+
protocol: "HTTPS",
|
|
18428
|
+
pathname: "/",
|
|
18429
|
+
method: "POST",
|
|
18430
|
+
authType: "AK",
|
|
18431
|
+
style: "RPC",
|
|
18432
|
+
reqBodyType: "json",
|
|
18433
|
+
bodyType: "json",
|
|
18434
|
+
});
|
|
18435
|
+
return $tea.cast<DescribeIpControlPolicyItemsResponse>(await this.callApi(params, req, runtime), new DescribeIpControlPolicyItemsResponse({}));
|
|
17452
18436
|
}
|
|
17453
18437
|
|
|
17454
18438
|
async describeIpControlPolicyItems(request: DescribeIpControlPolicyItemsRequest): Promise<DescribeIpControlPolicyItemsResponse> {
|
|
@@ -17458,10 +18442,29 @@ export default class Client extends OpenApi {
|
|
|
17458
18442
|
|
|
17459
18443
|
async describeIpControlsWithOptions(request: DescribeIpControlsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeIpControlsResponse> {
|
|
17460
18444
|
Util.validateModel(request);
|
|
18445
|
+
let query = { };
|
|
18446
|
+
query["IpControlId"] = request.ipControlId;
|
|
18447
|
+
query["IpControlName"] = request.ipControlName;
|
|
18448
|
+
query["IpControlType"] = request.ipControlType;
|
|
18449
|
+
query["PageNumber"] = request.pageNumber;
|
|
18450
|
+
query["PageSize"] = request.pageSize;
|
|
18451
|
+
query["SecurityToken"] = request.securityToken;
|
|
17461
18452
|
let req = new $OpenApi.OpenApiRequest({
|
|
18453
|
+
query: OpenApiUtil.query(query),
|
|
17462
18454
|
body: Util.toMap(request),
|
|
17463
18455
|
});
|
|
17464
|
-
|
|
18456
|
+
let params = new $OpenApi.Params({
|
|
18457
|
+
action: "DescribeIpControls",
|
|
18458
|
+
version: "2016-07-14",
|
|
18459
|
+
protocol: "HTTPS",
|
|
18460
|
+
pathname: "/",
|
|
18461
|
+
method: "POST",
|
|
18462
|
+
authType: "AK",
|
|
18463
|
+
style: "RPC",
|
|
18464
|
+
reqBodyType: "json",
|
|
18465
|
+
bodyType: "json",
|
|
18466
|
+
});
|
|
18467
|
+
return $tea.cast<DescribeIpControlsResponse>(await this.callApi(params, req, runtime), new DescribeIpControlsResponse({}));
|
|
17465
18468
|
}
|
|
17466
18469
|
|
|
17467
18470
|
async describeIpControls(request: DescribeIpControlsRequest): Promise<DescribeIpControlsResponse> {
|
|
@@ -17471,10 +18474,25 @@ export default class Client extends OpenApi {
|
|
|
17471
18474
|
|
|
17472
18475
|
async describeLogConfigWithOptions(request: DescribeLogConfigRequest, runtime: $Util.RuntimeOptions): Promise<DescribeLogConfigResponse> {
|
|
17473
18476
|
Util.validateModel(request);
|
|
18477
|
+
let query = { };
|
|
18478
|
+
query["LogType"] = request.logType;
|
|
18479
|
+
query["SecurityToken"] = request.securityToken;
|
|
17474
18480
|
let req = new $OpenApi.OpenApiRequest({
|
|
18481
|
+
query: OpenApiUtil.query(query),
|
|
17475
18482
|
body: Util.toMap(request),
|
|
17476
18483
|
});
|
|
17477
|
-
|
|
18484
|
+
let params = new $OpenApi.Params({
|
|
18485
|
+
action: "DescribeLogConfig",
|
|
18486
|
+
version: "2016-07-14",
|
|
18487
|
+
protocol: "HTTPS",
|
|
18488
|
+
pathname: "/",
|
|
18489
|
+
method: "POST",
|
|
18490
|
+
authType: "AK",
|
|
18491
|
+
style: "RPC",
|
|
18492
|
+
reqBodyType: "json",
|
|
18493
|
+
bodyType: "json",
|
|
18494
|
+
});
|
|
18495
|
+
return $tea.cast<DescribeLogConfigResponse>(await this.callApi(params, req, runtime), new DescribeLogConfigResponse({}));
|
|
17478
18496
|
}
|
|
17479
18497
|
|
|
17480
18498
|
async describeLogConfig(request: DescribeLogConfigRequest): Promise<DescribeLogConfigResponse> {
|
|
@@ -17484,10 +18502,25 @@ export default class Client extends OpenApi {
|
|
|
17484
18502
|
|
|
17485
18503
|
async describeMarketRemainsQuotaWithOptions(request: DescribeMarketRemainsQuotaRequest, runtime: $Util.RuntimeOptions): Promise<DescribeMarketRemainsQuotaResponse> {
|
|
17486
18504
|
Util.validateModel(request);
|
|
18505
|
+
let query = { };
|
|
18506
|
+
query["DomainName"] = request.domainName;
|
|
18507
|
+
query["SecurityToken"] = request.securityToken;
|
|
17487
18508
|
let req = new $OpenApi.OpenApiRequest({
|
|
18509
|
+
query: OpenApiUtil.query(query),
|
|
17488
18510
|
body: Util.toMap(request),
|
|
17489
18511
|
});
|
|
17490
|
-
|
|
18512
|
+
let params = new $OpenApi.Params({
|
|
18513
|
+
action: "DescribeMarketRemainsQuota",
|
|
18514
|
+
version: "2016-07-14",
|
|
18515
|
+
protocol: "HTTPS",
|
|
18516
|
+
pathname: "/",
|
|
18517
|
+
method: "POST",
|
|
18518
|
+
authType: "AK",
|
|
18519
|
+
style: "RPC",
|
|
18520
|
+
reqBodyType: "json",
|
|
18521
|
+
bodyType: "json",
|
|
18522
|
+
});
|
|
18523
|
+
return $tea.cast<DescribeMarketRemainsQuotaResponse>(await this.callApi(params, req, runtime), new DescribeMarketRemainsQuotaResponse({}));
|
|
17491
18524
|
}
|
|
17492
18525
|
|
|
17493
18526
|
async describeMarketRemainsQuota(request: DescribeMarketRemainsQuotaRequest): Promise<DescribeMarketRemainsQuotaResponse> {
|
|
@@ -17497,10 +18530,28 @@ export default class Client extends OpenApi {
|
|
|
17497
18530
|
|
|
17498
18531
|
async describeModelsWithOptions(request: DescribeModelsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeModelsResponse> {
|
|
17499
18532
|
Util.validateModel(request);
|
|
18533
|
+
let query = { };
|
|
18534
|
+
query["GroupId"] = request.groupId;
|
|
18535
|
+
query["ModelId"] = request.modelId;
|
|
18536
|
+
query["ModelName"] = request.modelName;
|
|
18537
|
+
query["PageNumber"] = request.pageNumber;
|
|
18538
|
+
query["PageSize"] = request.pageSize;
|
|
17500
18539
|
let req = new $OpenApi.OpenApiRequest({
|
|
18540
|
+
query: OpenApiUtil.query(query),
|
|
17501
18541
|
body: Util.toMap(request),
|
|
17502
18542
|
});
|
|
17503
|
-
|
|
18543
|
+
let params = new $OpenApi.Params({
|
|
18544
|
+
action: "DescribeModels",
|
|
18545
|
+
version: "2016-07-14",
|
|
18546
|
+
protocol: "HTTPS",
|
|
18547
|
+
pathname: "/",
|
|
18548
|
+
method: "POST",
|
|
18549
|
+
authType: "AK",
|
|
18550
|
+
style: "RPC",
|
|
18551
|
+
reqBodyType: "json",
|
|
18552
|
+
bodyType: "json",
|
|
18553
|
+
});
|
|
18554
|
+
return $tea.cast<DescribeModelsResponse>(await this.callApi(params, req, runtime), new DescribeModelsResponse({}));
|
|
17504
18555
|
}
|
|
17505
18556
|
|
|
17506
18557
|
async describeModels(request: DescribeModelsRequest): Promise<DescribeModelsResponse> {
|
|
@@ -17510,10 +18561,25 @@ export default class Client extends OpenApi {
|
|
|
17510
18561
|
|
|
17511
18562
|
async describePluginSchemasWithOptions(request: DescribePluginSchemasRequest, runtime: $Util.RuntimeOptions): Promise<DescribePluginSchemasResponse> {
|
|
17512
18563
|
Util.validateModel(request);
|
|
18564
|
+
let query = { };
|
|
18565
|
+
query["Language"] = request.language;
|
|
18566
|
+
query["SecurityToken"] = request.securityToken;
|
|
17513
18567
|
let req = new $OpenApi.OpenApiRequest({
|
|
18568
|
+
query: OpenApiUtil.query(query),
|
|
17514
18569
|
body: Util.toMap(request),
|
|
17515
18570
|
});
|
|
17516
|
-
|
|
18571
|
+
let params = new $OpenApi.Params({
|
|
18572
|
+
action: "DescribePluginSchemas",
|
|
18573
|
+
version: "2016-07-14",
|
|
18574
|
+
protocol: "HTTPS",
|
|
18575
|
+
pathname: "/",
|
|
18576
|
+
method: "POST",
|
|
18577
|
+
authType: "AK",
|
|
18578
|
+
style: "RPC",
|
|
18579
|
+
reqBodyType: "json",
|
|
18580
|
+
bodyType: "json",
|
|
18581
|
+
});
|
|
18582
|
+
return $tea.cast<DescribePluginSchemasResponse>(await this.callApi(params, req, runtime), new DescribePluginSchemasResponse({}));
|
|
17517
18583
|
}
|
|
17518
18584
|
|
|
17519
18585
|
async describePluginSchemas(request: DescribePluginSchemasRequest): Promise<DescribePluginSchemasResponse> {
|
|
@@ -17523,10 +18589,26 @@ export default class Client extends OpenApi {
|
|
|
17523
18589
|
|
|
17524
18590
|
async describePluginTemplatesWithOptions(request: DescribePluginTemplatesRequest, runtime: $Util.RuntimeOptions): Promise<DescribePluginTemplatesResponse> {
|
|
17525
18591
|
Util.validateModel(request);
|
|
18592
|
+
let query = { };
|
|
18593
|
+
query["Language"] = request.language;
|
|
18594
|
+
query["PluginName"] = request.pluginName;
|
|
18595
|
+
query["SecurityToken"] = request.securityToken;
|
|
17526
18596
|
let req = new $OpenApi.OpenApiRequest({
|
|
18597
|
+
query: OpenApiUtil.query(query),
|
|
17527
18598
|
body: Util.toMap(request),
|
|
17528
18599
|
});
|
|
17529
|
-
|
|
18600
|
+
let params = new $OpenApi.Params({
|
|
18601
|
+
action: "DescribePluginTemplates",
|
|
18602
|
+
version: "2016-07-14",
|
|
18603
|
+
protocol: "HTTPS",
|
|
18604
|
+
pathname: "/",
|
|
18605
|
+
method: "POST",
|
|
18606
|
+
authType: "AK",
|
|
18607
|
+
style: "RPC",
|
|
18608
|
+
reqBodyType: "json",
|
|
18609
|
+
bodyType: "json",
|
|
18610
|
+
});
|
|
18611
|
+
return $tea.cast<DescribePluginTemplatesResponse>(await this.callApi(params, req, runtime), new DescribePluginTemplatesResponse({}));
|
|
17530
18612
|
}
|
|
17531
18613
|
|
|
17532
18614
|
async describePluginTemplates(request: DescribePluginTemplatesRequest): Promise<DescribePluginTemplatesResponse> {
|
|
@@ -17536,10 +18618,30 @@ export default class Client extends OpenApi {
|
|
|
17536
18618
|
|
|
17537
18619
|
async describePluginsWithOptions(request: DescribePluginsRequest, runtime: $Util.RuntimeOptions): Promise<DescribePluginsResponse> {
|
|
17538
18620
|
Util.validateModel(request);
|
|
18621
|
+
let query = { };
|
|
18622
|
+
query["PageNumber"] = request.pageNumber;
|
|
18623
|
+
query["PageSize"] = request.pageSize;
|
|
18624
|
+
query["PluginId"] = request.pluginId;
|
|
18625
|
+
query["PluginName"] = request.pluginName;
|
|
18626
|
+
query["PluginType"] = request.pluginType;
|
|
18627
|
+
query["SecurityToken"] = request.securityToken;
|
|
18628
|
+
query["Tag"] = request.tag;
|
|
17539
18629
|
let req = new $OpenApi.OpenApiRequest({
|
|
18630
|
+
query: OpenApiUtil.query(query),
|
|
17540
18631
|
body: Util.toMap(request),
|
|
17541
18632
|
});
|
|
17542
|
-
|
|
18633
|
+
let params = new $OpenApi.Params({
|
|
18634
|
+
action: "DescribePlugins",
|
|
18635
|
+
version: "2016-07-14",
|
|
18636
|
+
protocol: "HTTPS",
|
|
18637
|
+
pathname: "/",
|
|
18638
|
+
method: "POST",
|
|
18639
|
+
authType: "AK",
|
|
18640
|
+
style: "RPC",
|
|
18641
|
+
reqBodyType: "json",
|
|
18642
|
+
bodyType: "json",
|
|
18643
|
+
});
|
|
18644
|
+
return $tea.cast<DescribePluginsResponse>(await this.callApi(params, req, runtime), new DescribePluginsResponse({}));
|
|
17543
18645
|
}
|
|
17544
18646
|
|
|
17545
18647
|
async describePlugins(request: DescribePluginsRequest): Promise<DescribePluginsResponse> {
|
|
@@ -17549,10 +18651,27 @@ export default class Client extends OpenApi {
|
|
|
17549
18651
|
|
|
17550
18652
|
async describePluginsByApiWithOptions(request: DescribePluginsByApiRequest, runtime: $Util.RuntimeOptions): Promise<DescribePluginsByApiResponse> {
|
|
17551
18653
|
Util.validateModel(request);
|
|
18654
|
+
let query = { };
|
|
18655
|
+
query["ApiId"] = request.apiId;
|
|
18656
|
+
query["GroupId"] = request.groupId;
|
|
18657
|
+
query["SecurityToken"] = request.securityToken;
|
|
18658
|
+
query["StageName"] = request.stageName;
|
|
17552
18659
|
let req = new $OpenApi.OpenApiRequest({
|
|
18660
|
+
query: OpenApiUtil.query(query),
|
|
17553
18661
|
body: Util.toMap(request),
|
|
17554
18662
|
});
|
|
17555
|
-
|
|
18663
|
+
let params = new $OpenApi.Params({
|
|
18664
|
+
action: "DescribePluginsByApi",
|
|
18665
|
+
version: "2016-07-14",
|
|
18666
|
+
protocol: "HTTPS",
|
|
18667
|
+
pathname: "/",
|
|
18668
|
+
method: "POST",
|
|
18669
|
+
authType: "AK",
|
|
18670
|
+
style: "RPC",
|
|
18671
|
+
reqBodyType: "json",
|
|
18672
|
+
bodyType: "json",
|
|
18673
|
+
});
|
|
18674
|
+
return $tea.cast<DescribePluginsByApiResponse>(await this.callApi(params, req, runtime), new DescribePluginsByApiResponse({}));
|
|
17556
18675
|
}
|
|
17557
18676
|
|
|
17558
18677
|
async describePluginsByApi(request: DescribePluginsByApiRequest): Promise<DescribePluginsByApiResponse> {
|
|
@@ -17562,10 +18681,25 @@ export default class Client extends OpenApi {
|
|
|
17562
18681
|
|
|
17563
18682
|
async describePurchasedApiGroupWithOptions(request: DescribePurchasedApiGroupRequest, runtime: $Util.RuntimeOptions): Promise<DescribePurchasedApiGroupResponse> {
|
|
17564
18683
|
Util.validateModel(request);
|
|
18684
|
+
let query = { };
|
|
18685
|
+
query["GroupId"] = request.groupId;
|
|
18686
|
+
query["SecurityToken"] = request.securityToken;
|
|
17565
18687
|
let req = new $OpenApi.OpenApiRequest({
|
|
18688
|
+
query: OpenApiUtil.query(query),
|
|
17566
18689
|
body: Util.toMap(request),
|
|
17567
18690
|
});
|
|
17568
|
-
|
|
18691
|
+
let params = new $OpenApi.Params({
|
|
18692
|
+
action: "DescribePurchasedApiGroup",
|
|
18693
|
+
version: "2016-07-14",
|
|
18694
|
+
protocol: "HTTPS",
|
|
18695
|
+
pathname: "/",
|
|
18696
|
+
method: "POST",
|
|
18697
|
+
authType: "AK",
|
|
18698
|
+
style: "RPC",
|
|
18699
|
+
reqBodyType: "json",
|
|
18700
|
+
bodyType: "json",
|
|
18701
|
+
});
|
|
18702
|
+
return $tea.cast<DescribePurchasedApiGroupResponse>(await this.callApi(params, req, runtime), new DescribePurchasedApiGroupResponse({}));
|
|
17569
18703
|
}
|
|
17570
18704
|
|
|
17571
18705
|
async describePurchasedApiGroup(request: DescribePurchasedApiGroupRequest): Promise<DescribePurchasedApiGroupResponse> {
|
|
@@ -17575,10 +18709,26 @@ export default class Client extends OpenApi {
|
|
|
17575
18709
|
|
|
17576
18710
|
async describePurchasedApiGroupsWithOptions(request: DescribePurchasedApiGroupsRequest, runtime: $Util.RuntimeOptions): Promise<DescribePurchasedApiGroupsResponse> {
|
|
17577
18711
|
Util.validateModel(request);
|
|
18712
|
+
let query = { };
|
|
18713
|
+
query["PageNumber"] = request.pageNumber;
|
|
18714
|
+
query["PageSize"] = request.pageSize;
|
|
18715
|
+
query["SecurityToken"] = request.securityToken;
|
|
17578
18716
|
let req = new $OpenApi.OpenApiRequest({
|
|
18717
|
+
query: OpenApiUtil.query(query),
|
|
17579
18718
|
body: Util.toMap(request),
|
|
17580
18719
|
});
|
|
17581
|
-
|
|
18720
|
+
let params = new $OpenApi.Params({
|
|
18721
|
+
action: "DescribePurchasedApiGroups",
|
|
18722
|
+
version: "2016-07-14",
|
|
18723
|
+
protocol: "HTTPS",
|
|
18724
|
+
pathname: "/",
|
|
18725
|
+
method: "POST",
|
|
18726
|
+
authType: "AK",
|
|
18727
|
+
style: "RPC",
|
|
18728
|
+
reqBodyType: "json",
|
|
18729
|
+
bodyType: "json",
|
|
18730
|
+
});
|
|
18731
|
+
return $tea.cast<DescribePurchasedApiGroupsResponse>(await this.callApi(params, req, runtime), new DescribePurchasedApiGroupsResponse({}));
|
|
17582
18732
|
}
|
|
17583
18733
|
|
|
17584
18734
|
async describePurchasedApiGroups(request: DescribePurchasedApiGroupsRequest): Promise<DescribePurchasedApiGroupsResponse> {
|
|
@@ -17588,10 +18738,31 @@ export default class Client extends OpenApi {
|
|
|
17588
18738
|
|
|
17589
18739
|
async describePurchasedApisWithOptions(request: DescribePurchasedApisRequest, runtime: $Util.RuntimeOptions): Promise<DescribePurchasedApisResponse> {
|
|
17590
18740
|
Util.validateModel(request);
|
|
18741
|
+
let query = { };
|
|
18742
|
+
query["ApiId"] = request.apiId;
|
|
18743
|
+
query["ApiName"] = request.apiName;
|
|
18744
|
+
query["GroupId"] = request.groupId;
|
|
18745
|
+
query["PageNumber"] = request.pageNumber;
|
|
18746
|
+
query["PageSize"] = request.pageSize;
|
|
18747
|
+
query["SecurityToken"] = request.securityToken;
|
|
18748
|
+
query["StageName"] = request.stageName;
|
|
18749
|
+
query["Visibility"] = request.visibility;
|
|
17591
18750
|
let req = new $OpenApi.OpenApiRequest({
|
|
18751
|
+
query: OpenApiUtil.query(query),
|
|
17592
18752
|
body: Util.toMap(request),
|
|
17593
18753
|
});
|
|
17594
|
-
|
|
18754
|
+
let params = new $OpenApi.Params({
|
|
18755
|
+
action: "DescribePurchasedApis",
|
|
18756
|
+
version: "2016-07-14",
|
|
18757
|
+
protocol: "HTTPS",
|
|
18758
|
+
pathname: "/",
|
|
18759
|
+
method: "POST",
|
|
18760
|
+
authType: "AK",
|
|
18761
|
+
style: "RPC",
|
|
18762
|
+
reqBodyType: "json",
|
|
18763
|
+
bodyType: "json",
|
|
18764
|
+
});
|
|
18765
|
+
return $tea.cast<DescribePurchasedApisResponse>(await this.callApi(params, req, runtime), new DescribePurchasedApisResponse({}));
|
|
17595
18766
|
}
|
|
17596
18767
|
|
|
17597
18768
|
async describePurchasedApis(request: DescribePurchasedApisRequest): Promise<DescribePurchasedApisResponse> {
|
|
@@ -17601,10 +18772,25 @@ export default class Client extends OpenApi {
|
|
|
17601
18772
|
|
|
17602
18773
|
async describeRegionsWithOptions(request: DescribeRegionsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeRegionsResponse> {
|
|
17603
18774
|
Util.validateModel(request);
|
|
18775
|
+
let query = { };
|
|
18776
|
+
query["Language"] = request.language;
|
|
18777
|
+
query["SecurityToken"] = request.securityToken;
|
|
17604
18778
|
let req = new $OpenApi.OpenApiRequest({
|
|
18779
|
+
query: OpenApiUtil.query(query),
|
|
17605
18780
|
body: Util.toMap(request),
|
|
17606
18781
|
});
|
|
17607
|
-
|
|
18782
|
+
let params = new $OpenApi.Params({
|
|
18783
|
+
action: "DescribeRegions",
|
|
18784
|
+
version: "2016-07-14",
|
|
18785
|
+
protocol: "HTTPS",
|
|
18786
|
+
pathname: "/",
|
|
18787
|
+
method: "POST",
|
|
18788
|
+
authType: "AK",
|
|
18789
|
+
style: "RPC",
|
|
18790
|
+
reqBodyType: "json",
|
|
18791
|
+
bodyType: "json",
|
|
18792
|
+
});
|
|
18793
|
+
return $tea.cast<DescribeRegionsResponse>(await this.callApi(params, req, runtime), new DescribeRegionsResponse({}));
|
|
17608
18794
|
}
|
|
17609
18795
|
|
|
17610
18796
|
async describeRegions(request: DescribeRegionsRequest): Promise<DescribeRegionsResponse> {
|
|
@@ -17614,10 +18800,28 @@ export default class Client extends OpenApi {
|
|
|
17614
18800
|
|
|
17615
18801
|
async describeSignaturesWithOptions(request: DescribeSignaturesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSignaturesResponse> {
|
|
17616
18802
|
Util.validateModel(request);
|
|
18803
|
+
let query = { };
|
|
18804
|
+
query["PageNumber"] = request.pageNumber;
|
|
18805
|
+
query["PageSize"] = request.pageSize;
|
|
18806
|
+
query["SecurityToken"] = request.securityToken;
|
|
18807
|
+
query["SignatureId"] = request.signatureId;
|
|
18808
|
+
query["SignatureName"] = request.signatureName;
|
|
17617
18809
|
let req = new $OpenApi.OpenApiRequest({
|
|
18810
|
+
query: OpenApiUtil.query(query),
|
|
17618
18811
|
body: Util.toMap(request),
|
|
17619
18812
|
});
|
|
17620
|
-
|
|
18813
|
+
let params = new $OpenApi.Params({
|
|
18814
|
+
action: "DescribeSignatures",
|
|
18815
|
+
version: "2016-07-14",
|
|
18816
|
+
protocol: "HTTPS",
|
|
18817
|
+
pathname: "/",
|
|
18818
|
+
method: "POST",
|
|
18819
|
+
authType: "AK",
|
|
18820
|
+
style: "RPC",
|
|
18821
|
+
reqBodyType: "json",
|
|
18822
|
+
bodyType: "json",
|
|
18823
|
+
});
|
|
18824
|
+
return $tea.cast<DescribeSignaturesResponse>(await this.callApi(params, req, runtime), new DescribeSignaturesResponse({}));
|
|
17621
18825
|
}
|
|
17622
18826
|
|
|
17623
18827
|
async describeSignatures(request: DescribeSignaturesRequest): Promise<DescribeSignaturesResponse> {
|
|
@@ -17627,10 +18831,27 @@ export default class Client extends OpenApi {
|
|
|
17627
18831
|
|
|
17628
18832
|
async describeSignaturesByApiWithOptions(request: DescribeSignaturesByApiRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSignaturesByApiResponse> {
|
|
17629
18833
|
Util.validateModel(request);
|
|
18834
|
+
let query = { };
|
|
18835
|
+
query["ApiId"] = request.apiId;
|
|
18836
|
+
query["GroupId"] = request.groupId;
|
|
18837
|
+
query["SecurityToken"] = request.securityToken;
|
|
18838
|
+
query["StageName"] = request.stageName;
|
|
17630
18839
|
let req = new $OpenApi.OpenApiRequest({
|
|
18840
|
+
query: OpenApiUtil.query(query),
|
|
17631
18841
|
body: Util.toMap(request),
|
|
17632
18842
|
});
|
|
17633
|
-
|
|
18843
|
+
let params = new $OpenApi.Params({
|
|
18844
|
+
action: "DescribeSignaturesByApi",
|
|
18845
|
+
version: "2016-07-14",
|
|
18846
|
+
protocol: "HTTPS",
|
|
18847
|
+
pathname: "/",
|
|
18848
|
+
method: "POST",
|
|
18849
|
+
authType: "AK",
|
|
18850
|
+
style: "RPC",
|
|
18851
|
+
reqBodyType: "json",
|
|
18852
|
+
bodyType: "json",
|
|
18853
|
+
});
|
|
18854
|
+
return $tea.cast<DescribeSignaturesByApiResponse>(await this.callApi(params, req, runtime), new DescribeSignaturesByApiResponse({}));
|
|
17634
18855
|
}
|
|
17635
18856
|
|
|
17636
18857
|
async describeSignaturesByApi(request: DescribeSignaturesByApiRequest): Promise<DescribeSignaturesByApiResponse> {
|
|
@@ -17640,10 +18861,24 @@ export default class Client extends OpenApi {
|
|
|
17640
18861
|
|
|
17641
18862
|
async describeSystemParametersWithOptions(request: DescribeSystemParametersRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSystemParametersResponse> {
|
|
17642
18863
|
Util.validateModel(request);
|
|
18864
|
+
let query = { };
|
|
18865
|
+
query["SecurityToken"] = request.securityToken;
|
|
17643
18866
|
let req = new $OpenApi.OpenApiRequest({
|
|
18867
|
+
query: OpenApiUtil.query(query),
|
|
17644
18868
|
body: Util.toMap(request),
|
|
17645
18869
|
});
|
|
17646
|
-
|
|
18870
|
+
let params = new $OpenApi.Params({
|
|
18871
|
+
action: "DescribeSystemParameters",
|
|
18872
|
+
version: "2016-07-14",
|
|
18873
|
+
protocol: "HTTPS",
|
|
18874
|
+
pathname: "/",
|
|
18875
|
+
method: "POST",
|
|
18876
|
+
authType: "AK",
|
|
18877
|
+
style: "RPC",
|
|
18878
|
+
reqBodyType: "json",
|
|
18879
|
+
bodyType: "json",
|
|
18880
|
+
});
|
|
18881
|
+
return $tea.cast<DescribeSystemParametersResponse>(await this.callApi(params, req, runtime), new DescribeSystemParametersResponse({}));
|
|
17647
18882
|
}
|
|
17648
18883
|
|
|
17649
18884
|
async describeSystemParameters(request: DescribeSystemParametersRequest): Promise<DescribeSystemParametersResponse> {
|
|
@@ -17653,10 +18888,31 @@ export default class Client extends OpenApi {
|
|
|
17653
18888
|
|
|
17654
18889
|
async describeTrafficControlsWithOptions(request: DescribeTrafficControlsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeTrafficControlsResponse> {
|
|
17655
18890
|
Util.validateModel(request);
|
|
18891
|
+
let query = { };
|
|
18892
|
+
query["ApiId"] = request.apiId;
|
|
18893
|
+
query["GroupId"] = request.groupId;
|
|
18894
|
+
query["PageNumber"] = request.pageNumber;
|
|
18895
|
+
query["PageSize"] = request.pageSize;
|
|
18896
|
+
query["SecurityToken"] = request.securityToken;
|
|
18897
|
+
query["StageName"] = request.stageName;
|
|
18898
|
+
query["TrafficControlId"] = request.trafficControlId;
|
|
18899
|
+
query["TrafficControlName"] = request.trafficControlName;
|
|
17656
18900
|
let req = new $OpenApi.OpenApiRequest({
|
|
18901
|
+
query: OpenApiUtil.query(query),
|
|
17657
18902
|
body: Util.toMap(request),
|
|
17658
18903
|
});
|
|
17659
|
-
|
|
18904
|
+
let params = new $OpenApi.Params({
|
|
18905
|
+
action: "DescribeTrafficControls",
|
|
18906
|
+
version: "2016-07-14",
|
|
18907
|
+
protocol: "HTTPS",
|
|
18908
|
+
pathname: "/",
|
|
18909
|
+
method: "POST",
|
|
18910
|
+
authType: "AK",
|
|
18911
|
+
style: "RPC",
|
|
18912
|
+
reqBodyType: "json",
|
|
18913
|
+
bodyType: "json",
|
|
18914
|
+
});
|
|
18915
|
+
return $tea.cast<DescribeTrafficControlsResponse>(await this.callApi(params, req, runtime), new DescribeTrafficControlsResponse({}));
|
|
17660
18916
|
}
|
|
17661
18917
|
|
|
17662
18918
|
async describeTrafficControls(request: DescribeTrafficControlsRequest): Promise<DescribeTrafficControlsResponse> {
|
|
@@ -17666,10 +18922,27 @@ export default class Client extends OpenApi {
|
|
|
17666
18922
|
|
|
17667
18923
|
async describeTrafficControlsByApiWithOptions(request: DescribeTrafficControlsByApiRequest, runtime: $Util.RuntimeOptions): Promise<DescribeTrafficControlsByApiResponse> {
|
|
17668
18924
|
Util.validateModel(request);
|
|
18925
|
+
let query = { };
|
|
18926
|
+
query["ApiId"] = request.apiId;
|
|
18927
|
+
query["GroupId"] = request.groupId;
|
|
18928
|
+
query["SecurityToken"] = request.securityToken;
|
|
18929
|
+
query["StageName"] = request.stageName;
|
|
17669
18930
|
let req = new $OpenApi.OpenApiRequest({
|
|
18931
|
+
query: OpenApiUtil.query(query),
|
|
17670
18932
|
body: Util.toMap(request),
|
|
17671
18933
|
});
|
|
17672
|
-
|
|
18934
|
+
let params = new $OpenApi.Params({
|
|
18935
|
+
action: "DescribeTrafficControlsByApi",
|
|
18936
|
+
version: "2016-07-14",
|
|
18937
|
+
protocol: "HTTPS",
|
|
18938
|
+
pathname: "/",
|
|
18939
|
+
method: "POST",
|
|
18940
|
+
authType: "AK",
|
|
18941
|
+
style: "RPC",
|
|
18942
|
+
reqBodyType: "json",
|
|
18943
|
+
bodyType: "json",
|
|
18944
|
+
});
|
|
18945
|
+
return $tea.cast<DescribeTrafficControlsByApiResponse>(await this.callApi(params, req, runtime), new DescribeTrafficControlsByApiResponse({}));
|
|
17673
18946
|
}
|
|
17674
18947
|
|
|
17675
18948
|
async describeTrafficControlsByApi(request: DescribeTrafficControlsByApiRequest): Promise<DescribeTrafficControlsByApiResponse> {
|
|
@@ -17679,10 +18952,25 @@ export default class Client extends OpenApi {
|
|
|
17679
18952
|
|
|
17680
18953
|
async describeUpdateVpcInfoTaskWithOptions(request: DescribeUpdateVpcInfoTaskRequest, runtime: $Util.RuntimeOptions): Promise<DescribeUpdateVpcInfoTaskResponse> {
|
|
17681
18954
|
Util.validateModel(request);
|
|
18955
|
+
let query = { };
|
|
18956
|
+
query["OperationUid"] = request.operationUid;
|
|
18957
|
+
query["SecurityToken"] = request.securityToken;
|
|
17682
18958
|
let req = new $OpenApi.OpenApiRequest({
|
|
18959
|
+
query: OpenApiUtil.query(query),
|
|
17683
18960
|
body: Util.toMap(request),
|
|
17684
18961
|
});
|
|
17685
|
-
|
|
18962
|
+
let params = new $OpenApi.Params({
|
|
18963
|
+
action: "DescribeUpdateVpcInfoTask",
|
|
18964
|
+
version: "2016-07-14",
|
|
18965
|
+
protocol: "HTTPS",
|
|
18966
|
+
pathname: "/",
|
|
18967
|
+
method: "POST",
|
|
18968
|
+
authType: "AK",
|
|
18969
|
+
style: "RPC",
|
|
18970
|
+
reqBodyType: "json",
|
|
18971
|
+
bodyType: "json",
|
|
18972
|
+
});
|
|
18973
|
+
return $tea.cast<DescribeUpdateVpcInfoTaskResponse>(await this.callApi(params, req, runtime), new DescribeUpdateVpcInfoTaskResponse({}));
|
|
17686
18974
|
}
|
|
17687
18975
|
|
|
17688
18976
|
async describeUpdateVpcInfoTask(request: DescribeUpdateVpcInfoTaskRequest): Promise<DescribeUpdateVpcInfoTaskResponse> {
|
|
@@ -17692,10 +18980,28 @@ export default class Client extends OpenApi {
|
|
|
17692
18980
|
|
|
17693
18981
|
async describeVpcAccessesWithOptions(request: DescribeVpcAccessesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeVpcAccessesResponse> {
|
|
17694
18982
|
Util.validateModel(request);
|
|
18983
|
+
let query = { };
|
|
18984
|
+
query["Name"] = request.name;
|
|
18985
|
+
query["PageNumber"] = request.pageNumber;
|
|
18986
|
+
query["PageSize"] = request.pageSize;
|
|
18987
|
+
query["SecurityToken"] = request.securityToken;
|
|
18988
|
+
query["VpcAccessId"] = request.vpcAccessId;
|
|
17695
18989
|
let req = new $OpenApi.OpenApiRequest({
|
|
18990
|
+
query: OpenApiUtil.query(query),
|
|
17696
18991
|
body: Util.toMap(request),
|
|
17697
18992
|
});
|
|
17698
|
-
|
|
18993
|
+
let params = new $OpenApi.Params({
|
|
18994
|
+
action: "DescribeVpcAccesses",
|
|
18995
|
+
version: "2016-07-14",
|
|
18996
|
+
protocol: "HTTPS",
|
|
18997
|
+
pathname: "/",
|
|
18998
|
+
method: "POST",
|
|
18999
|
+
authType: "AK",
|
|
19000
|
+
style: "RPC",
|
|
19001
|
+
reqBodyType: "json",
|
|
19002
|
+
bodyType: "json",
|
|
19003
|
+
});
|
|
19004
|
+
return $tea.cast<DescribeVpcAccessesResponse>(await this.callApi(params, req, runtime), new DescribeVpcAccessesResponse({}));
|
|
17699
19005
|
}
|
|
17700
19006
|
|
|
17701
19007
|
async describeVpcAccesses(request: DescribeVpcAccessesRequest): Promise<DescribeVpcAccessesResponse> {
|
|
@@ -17705,10 +19011,25 @@ export default class Client extends OpenApi {
|
|
|
17705
19011
|
|
|
17706
19012
|
async describeZonesWithOptions(request: DescribeZonesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeZonesResponse> {
|
|
17707
19013
|
Util.validateModel(request);
|
|
19014
|
+
let query = { };
|
|
19015
|
+
query["Language"] = request.language;
|
|
19016
|
+
query["SecurityToken"] = request.securityToken;
|
|
17708
19017
|
let req = new $OpenApi.OpenApiRequest({
|
|
19018
|
+
query: OpenApiUtil.query(query),
|
|
17709
19019
|
body: Util.toMap(request),
|
|
17710
19020
|
});
|
|
17711
|
-
|
|
19021
|
+
let params = new $OpenApi.Params({
|
|
19022
|
+
action: "DescribeZones",
|
|
19023
|
+
version: "2016-07-14",
|
|
19024
|
+
protocol: "HTTPS",
|
|
19025
|
+
pathname: "/",
|
|
19026
|
+
method: "POST",
|
|
19027
|
+
authType: "AK",
|
|
19028
|
+
style: "RPC",
|
|
19029
|
+
reqBodyType: "json",
|
|
19030
|
+
bodyType: "json",
|
|
19031
|
+
});
|
|
19032
|
+
return $tea.cast<DescribeZonesResponse>(await this.callApi(params, req, runtime), new DescribeZonesResponse({}));
|
|
17712
19033
|
}
|
|
17713
19034
|
|
|
17714
19035
|
async describeZones(request: DescribeZonesRequest): Promise<DescribeZonesResponse> {
|
|
@@ -17724,10 +19045,28 @@ export default class Client extends OpenApi {
|
|
|
17724
19045
|
request.globalConditionShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.globalCondition, "GlobalCondition", "json");
|
|
17725
19046
|
}
|
|
17726
19047
|
|
|
19048
|
+
let query = { };
|
|
19049
|
+
query["DataFormat"] = request.dataFormat;
|
|
19050
|
+
query["GlobalCondition"] = request.globalConditionShrink;
|
|
19051
|
+
query["GroupId"] = request.groupId;
|
|
19052
|
+
query["Overwrite"] = request.overwrite;
|
|
19053
|
+
query["SecurityToken"] = request.securityToken;
|
|
17727
19054
|
let req = new $OpenApi.OpenApiRequest({
|
|
19055
|
+
query: OpenApiUtil.query(query),
|
|
17728
19056
|
body: Util.toMap(request),
|
|
17729
19057
|
});
|
|
17730
|
-
|
|
19058
|
+
let params = new $OpenApi.Params({
|
|
19059
|
+
action: "DryRunSwagger",
|
|
19060
|
+
version: "2016-07-14",
|
|
19061
|
+
protocol: "HTTPS",
|
|
19062
|
+
pathname: "/",
|
|
19063
|
+
method: "POST",
|
|
19064
|
+
authType: "AK",
|
|
19065
|
+
style: "RPC",
|
|
19066
|
+
reqBodyType: "formData",
|
|
19067
|
+
bodyType: "json",
|
|
19068
|
+
});
|
|
19069
|
+
return $tea.cast<DryRunSwaggerResponse>(await this.callApi(params, req, runtime), new DryRunSwaggerResponse({}));
|
|
17731
19070
|
}
|
|
17732
19071
|
|
|
17733
19072
|
async dryRunSwagger(request: DryRunSwaggerRequest): Promise<DryRunSwaggerResponse> {
|
|
@@ -17743,10 +19082,29 @@ export default class Client extends OpenApi {
|
|
|
17743
19082
|
request.globalConditionShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.globalCondition, "GlobalCondition", "json");
|
|
17744
19083
|
}
|
|
17745
19084
|
|
|
19085
|
+
let query = { };
|
|
19086
|
+
query["DataFormat"] = request.dataFormat;
|
|
19087
|
+
query["DryRun"] = request.dryRun;
|
|
19088
|
+
query["GlobalCondition"] = request.globalConditionShrink;
|
|
19089
|
+
query["GroupId"] = request.groupId;
|
|
19090
|
+
query["Overwrite"] = request.overwrite;
|
|
19091
|
+
query["SecurityToken"] = request.securityToken;
|
|
17746
19092
|
let req = new $OpenApi.OpenApiRequest({
|
|
19093
|
+
query: OpenApiUtil.query(query),
|
|
17747
19094
|
body: Util.toMap(request),
|
|
17748
19095
|
});
|
|
17749
|
-
|
|
19096
|
+
let params = new $OpenApi.Params({
|
|
19097
|
+
action: "ImportSwagger",
|
|
19098
|
+
version: "2016-07-14",
|
|
19099
|
+
protocol: "HTTPS",
|
|
19100
|
+
pathname: "/",
|
|
19101
|
+
method: "POST",
|
|
19102
|
+
authType: "AK",
|
|
19103
|
+
style: "RPC",
|
|
19104
|
+
reqBodyType: "formData",
|
|
19105
|
+
bodyType: "json",
|
|
19106
|
+
});
|
|
19107
|
+
return $tea.cast<ImportSwaggerResponse>(await this.callApi(params, req, runtime), new ImportSwaggerResponse({}));
|
|
17750
19108
|
}
|
|
17751
19109
|
|
|
17752
19110
|
async importSwagger(request: ImportSwaggerRequest): Promise<ImportSwaggerResponse> {
|
|
@@ -17756,10 +19114,27 @@ export default class Client extends OpenApi {
|
|
|
17756
19114
|
|
|
17757
19115
|
async listTagResourcesWithOptions(request: ListTagResourcesRequest, runtime: $Util.RuntimeOptions): Promise<ListTagResourcesResponse> {
|
|
17758
19116
|
Util.validateModel(request);
|
|
19117
|
+
let query = { };
|
|
19118
|
+
query["NextToken"] = request.nextToken;
|
|
19119
|
+
query["ResourceId"] = request.resourceId;
|
|
19120
|
+
query["ResourceType"] = request.resourceType;
|
|
19121
|
+
query["Tag"] = request.tag;
|
|
17759
19122
|
let req = new $OpenApi.OpenApiRequest({
|
|
19123
|
+
query: OpenApiUtil.query(query),
|
|
17760
19124
|
body: Util.toMap(request),
|
|
17761
19125
|
});
|
|
17762
|
-
|
|
19126
|
+
let params = new $OpenApi.Params({
|
|
19127
|
+
action: "ListTagResources",
|
|
19128
|
+
version: "2016-07-14",
|
|
19129
|
+
protocol: "HTTPS",
|
|
19130
|
+
pathname: "/",
|
|
19131
|
+
method: "POST",
|
|
19132
|
+
authType: "AK",
|
|
19133
|
+
style: "RPC",
|
|
19134
|
+
reqBodyType: "json",
|
|
19135
|
+
bodyType: "json",
|
|
19136
|
+
});
|
|
19137
|
+
return $tea.cast<ListTagResourcesResponse>(await this.callApi(params, req, runtime), new ListTagResourcesResponse({}));
|
|
17763
19138
|
}
|
|
17764
19139
|
|
|
17765
19140
|
async listTagResources(request: ListTagResourcesRequest): Promise<ListTagResourcesResponse> {
|
|
@@ -17769,10 +19144,49 @@ export default class Client extends OpenApi {
|
|
|
17769
19144
|
|
|
17770
19145
|
async modifyApiWithOptions(request: ModifyApiRequest, runtime: $Util.RuntimeOptions): Promise<ModifyApiResponse> {
|
|
17771
19146
|
Util.validateModel(request);
|
|
19147
|
+
let query = { };
|
|
19148
|
+
query["AllowSignatureMethod"] = request.allowSignatureMethod;
|
|
19149
|
+
query["ApiId"] = request.apiId;
|
|
19150
|
+
query["ApiName"] = request.apiName;
|
|
19151
|
+
query["AppCodeAuthType"] = request.appCodeAuthType;
|
|
19152
|
+
query["AuthType"] = request.authType;
|
|
19153
|
+
query["ConstantParameters"] = request.constantParameters;
|
|
19154
|
+
query["Description"] = request.description;
|
|
19155
|
+
query["DisableInternet"] = request.disableInternet;
|
|
19156
|
+
query["ErrorCodeSamples"] = request.errorCodeSamples;
|
|
19157
|
+
query["FailResultSample"] = request.failResultSample;
|
|
19158
|
+
query["ForceNonceCheck"] = request.forceNonceCheck;
|
|
19159
|
+
query["GroupId"] = request.groupId;
|
|
19160
|
+
query["OpenIdConnectConfig"] = request.openIdConnectConfig;
|
|
19161
|
+
query["RequestConfig"] = request.requestConfig;
|
|
19162
|
+
query["RequestParameters"] = request.requestParameters;
|
|
19163
|
+
query["ResultBodyModel"] = request.resultBodyModel;
|
|
19164
|
+
query["ResultDescriptions"] = request.resultDescriptions;
|
|
19165
|
+
query["ResultSample"] = request.resultSample;
|
|
19166
|
+
query["ResultType"] = request.resultType;
|
|
19167
|
+
query["SecurityToken"] = request.securityToken;
|
|
19168
|
+
query["ServiceConfig"] = request.serviceConfig;
|
|
19169
|
+
query["ServiceParameters"] = request.serviceParameters;
|
|
19170
|
+
query["ServiceParametersMap"] = request.serviceParametersMap;
|
|
19171
|
+
query["SystemParameters"] = request.systemParameters;
|
|
19172
|
+
query["Visibility"] = request.visibility;
|
|
19173
|
+
query["WebSocketApiType"] = request.webSocketApiType;
|
|
17772
19174
|
let req = new $OpenApi.OpenApiRequest({
|
|
19175
|
+
query: OpenApiUtil.query(query),
|
|
17773
19176
|
body: Util.toMap(request),
|
|
17774
19177
|
});
|
|
17775
|
-
|
|
19178
|
+
let params = new $OpenApi.Params({
|
|
19179
|
+
action: "ModifyApi",
|
|
19180
|
+
version: "2016-07-14",
|
|
19181
|
+
protocol: "HTTPS",
|
|
19182
|
+
pathname: "/",
|
|
19183
|
+
method: "POST",
|
|
19184
|
+
authType: "AK",
|
|
19185
|
+
style: "RPC",
|
|
19186
|
+
reqBodyType: "json",
|
|
19187
|
+
bodyType: "json",
|
|
19188
|
+
});
|
|
19189
|
+
return $tea.cast<ModifyApiResponse>(await this.callApi(params, req, runtime), new ModifyApiResponse({}));
|
|
17776
19190
|
}
|
|
17777
19191
|
|
|
17778
19192
|
async modifyApi(request: ModifyApiRequest): Promise<ModifyApiResponse> {
|
|
@@ -17782,10 +19196,36 @@ export default class Client extends OpenApi {
|
|
|
17782
19196
|
|
|
17783
19197
|
async modifyApiGroupWithOptions(request: ModifyApiGroupRequest, runtime: $Util.RuntimeOptions): Promise<ModifyApiGroupResponse> {
|
|
17784
19198
|
Util.validateModel(request);
|
|
19199
|
+
let query = { };
|
|
19200
|
+
query["BasePath"] = request.basePath;
|
|
19201
|
+
query["CompatibleFlags"] = request.compatibleFlags;
|
|
19202
|
+
query["CustomTraceConfig"] = request.customTraceConfig;
|
|
19203
|
+
query["CustomerConfigs"] = request.customerConfigs;
|
|
19204
|
+
query["DefaultDomain"] = request.defaultDomain;
|
|
19205
|
+
query["Description"] = request.description;
|
|
19206
|
+
query["GroupId"] = request.groupId;
|
|
19207
|
+
query["GroupName"] = request.groupName;
|
|
19208
|
+
query["PassthroughHeaders"] = request.passthroughHeaders;
|
|
19209
|
+
query["RpcPattern"] = request.rpcPattern;
|
|
19210
|
+
query["SecurityToken"] = request.securityToken;
|
|
19211
|
+
query["Tag"] = request.tag;
|
|
19212
|
+
query["UserLogConfig"] = request.userLogConfig;
|
|
17785
19213
|
let req = new $OpenApi.OpenApiRequest({
|
|
19214
|
+
query: OpenApiUtil.query(query),
|
|
17786
19215
|
body: Util.toMap(request),
|
|
17787
19216
|
});
|
|
17788
|
-
|
|
19217
|
+
let params = new $OpenApi.Params({
|
|
19218
|
+
action: "ModifyApiGroup",
|
|
19219
|
+
version: "2016-07-14",
|
|
19220
|
+
protocol: "HTTPS",
|
|
19221
|
+
pathname: "/",
|
|
19222
|
+
method: "POST",
|
|
19223
|
+
authType: "AK",
|
|
19224
|
+
style: "RPC",
|
|
19225
|
+
reqBodyType: "json",
|
|
19226
|
+
bodyType: "json",
|
|
19227
|
+
});
|
|
19228
|
+
return $tea.cast<ModifyApiGroupResponse>(await this.callApi(params, req, runtime), new ModifyApiGroupResponse({}));
|
|
17789
19229
|
}
|
|
17790
19230
|
|
|
17791
19231
|
async modifyApiGroup(request: ModifyApiGroupRequest): Promise<ModifyApiGroupResponse> {
|
|
@@ -17795,10 +19235,26 @@ export default class Client extends OpenApi {
|
|
|
17795
19235
|
|
|
17796
19236
|
async modifyApiGroupVpcWhitelistWithOptions(request: ModifyApiGroupVpcWhitelistRequest, runtime: $Util.RuntimeOptions): Promise<ModifyApiGroupVpcWhitelistResponse> {
|
|
17797
19237
|
Util.validateModel(request);
|
|
19238
|
+
let query = { };
|
|
19239
|
+
query["GroupId"] = request.groupId;
|
|
19240
|
+
query["SecurityToken"] = request.securityToken;
|
|
19241
|
+
query["VpcIds"] = request.vpcIds;
|
|
17798
19242
|
let req = new $OpenApi.OpenApiRequest({
|
|
19243
|
+
query: OpenApiUtil.query(query),
|
|
17799
19244
|
body: Util.toMap(request),
|
|
17800
19245
|
});
|
|
17801
|
-
|
|
19246
|
+
let params = new $OpenApi.Params({
|
|
19247
|
+
action: "ModifyApiGroupVpcWhitelist",
|
|
19248
|
+
version: "2016-07-14",
|
|
19249
|
+
protocol: "HTTPS",
|
|
19250
|
+
pathname: "/",
|
|
19251
|
+
method: "POST",
|
|
19252
|
+
authType: "AK",
|
|
19253
|
+
style: "RPC",
|
|
19254
|
+
reqBodyType: "json",
|
|
19255
|
+
bodyType: "json",
|
|
19256
|
+
});
|
|
19257
|
+
return $tea.cast<ModifyApiGroupVpcWhitelistResponse>(await this.callApi(params, req, runtime), new ModifyApiGroupVpcWhitelistResponse({}));
|
|
17802
19258
|
}
|
|
17803
19259
|
|
|
17804
19260
|
async modifyApiGroupVpcWhitelist(request: ModifyApiGroupVpcWhitelistRequest): Promise<ModifyApiGroupVpcWhitelistResponse> {
|
|
@@ -17808,10 +19264,28 @@ export default class Client extends OpenApi {
|
|
|
17808
19264
|
|
|
17809
19265
|
async modifyAppWithOptions(request: ModifyAppRequest, runtime: $Util.RuntimeOptions): Promise<ModifyAppResponse> {
|
|
17810
19266
|
Util.validateModel(request);
|
|
19267
|
+
let query = { };
|
|
19268
|
+
query["AppId"] = request.appId;
|
|
19269
|
+
query["AppName"] = request.appName;
|
|
19270
|
+
query["Description"] = request.description;
|
|
19271
|
+
query["SecurityToken"] = request.securityToken;
|
|
19272
|
+
query["Tag"] = request.tag;
|
|
17811
19273
|
let req = new $OpenApi.OpenApiRequest({
|
|
19274
|
+
query: OpenApiUtil.query(query),
|
|
17812
19275
|
body: Util.toMap(request),
|
|
17813
19276
|
});
|
|
17814
|
-
|
|
19277
|
+
let params = new $OpenApi.Params({
|
|
19278
|
+
action: "ModifyApp",
|
|
19279
|
+
version: "2016-07-14",
|
|
19280
|
+
protocol: "HTTPS",
|
|
19281
|
+
pathname: "/",
|
|
19282
|
+
method: "POST",
|
|
19283
|
+
authType: "AK",
|
|
19284
|
+
style: "RPC",
|
|
19285
|
+
reqBodyType: "json",
|
|
19286
|
+
bodyType: "json",
|
|
19287
|
+
});
|
|
19288
|
+
return $tea.cast<ModifyAppResponse>(await this.callApi(params, req, runtime), new ModifyAppResponse({}));
|
|
17815
19289
|
}
|
|
17816
19290
|
|
|
17817
19291
|
async modifyApp(request: ModifyAppRequest): Promise<ModifyAppResponse> {
|
|
@@ -17821,10 +19295,27 @@ export default class Client extends OpenApi {
|
|
|
17821
19295
|
|
|
17822
19296
|
async modifyInstanceSpecWithOptions(request: ModifyInstanceSpecRequest, runtime: $Util.RuntimeOptions): Promise<ModifyInstanceSpecResponse> {
|
|
17823
19297
|
Util.validateModel(request);
|
|
19298
|
+
let query = { };
|
|
19299
|
+
query["AutoPay"] = request.autoPay;
|
|
19300
|
+
query["InstanceId"] = request.instanceId;
|
|
19301
|
+
query["InstanceSpec"] = request.instanceSpec;
|
|
19302
|
+
query["Token"] = request.token;
|
|
17824
19303
|
let req = new $OpenApi.OpenApiRequest({
|
|
19304
|
+
query: OpenApiUtil.query(query),
|
|
17825
19305
|
body: Util.toMap(request),
|
|
17826
19306
|
});
|
|
17827
|
-
|
|
19307
|
+
let params = new $OpenApi.Params({
|
|
19308
|
+
action: "ModifyInstanceSpec",
|
|
19309
|
+
version: "2016-07-14",
|
|
19310
|
+
protocol: "HTTPS",
|
|
19311
|
+
pathname: "/",
|
|
19312
|
+
method: "POST",
|
|
19313
|
+
authType: "AK",
|
|
19314
|
+
style: "RPC",
|
|
19315
|
+
reqBodyType: "json",
|
|
19316
|
+
bodyType: "json",
|
|
19317
|
+
});
|
|
19318
|
+
return $tea.cast<ModifyInstanceSpecResponse>(await this.callApi(params, req, runtime), new ModifyInstanceSpecResponse({}));
|
|
17828
19319
|
}
|
|
17829
19320
|
|
|
17830
19321
|
async modifyInstanceSpec(request: ModifyInstanceSpecRequest): Promise<ModifyInstanceSpecResponse> {
|
|
@@ -17834,10 +19325,27 @@ export default class Client extends OpenApi {
|
|
|
17834
19325
|
|
|
17835
19326
|
async modifyIpControlWithOptions(request: ModifyIpControlRequest, runtime: $Util.RuntimeOptions): Promise<ModifyIpControlResponse> {
|
|
17836
19327
|
Util.validateModel(request);
|
|
19328
|
+
let query = { };
|
|
19329
|
+
query["Description"] = request.description;
|
|
19330
|
+
query["IpControlId"] = request.ipControlId;
|
|
19331
|
+
query["IpControlName"] = request.ipControlName;
|
|
19332
|
+
query["SecurityToken"] = request.securityToken;
|
|
17837
19333
|
let req = new $OpenApi.OpenApiRequest({
|
|
19334
|
+
query: OpenApiUtil.query(query),
|
|
17838
19335
|
body: Util.toMap(request),
|
|
17839
19336
|
});
|
|
17840
|
-
|
|
19337
|
+
let params = new $OpenApi.Params({
|
|
19338
|
+
action: "ModifyIpControl",
|
|
19339
|
+
version: "2016-07-14",
|
|
19340
|
+
protocol: "HTTPS",
|
|
19341
|
+
pathname: "/",
|
|
19342
|
+
method: "POST",
|
|
19343
|
+
authType: "AK",
|
|
19344
|
+
style: "RPC",
|
|
19345
|
+
reqBodyType: "json",
|
|
19346
|
+
bodyType: "json",
|
|
19347
|
+
});
|
|
19348
|
+
return $tea.cast<ModifyIpControlResponse>(await this.callApi(params, req, runtime), new ModifyIpControlResponse({}));
|
|
17841
19349
|
}
|
|
17842
19350
|
|
|
17843
19351
|
async modifyIpControl(request: ModifyIpControlRequest): Promise<ModifyIpControlResponse> {
|
|
@@ -17847,10 +19355,28 @@ export default class Client extends OpenApi {
|
|
|
17847
19355
|
|
|
17848
19356
|
async modifyIpControlPolicyItemWithOptions(request: ModifyIpControlPolicyItemRequest, runtime: $Util.RuntimeOptions): Promise<ModifyIpControlPolicyItemResponse> {
|
|
17849
19357
|
Util.validateModel(request);
|
|
19358
|
+
let query = { };
|
|
19359
|
+
query["AppId"] = request.appId;
|
|
19360
|
+
query["CidrIp"] = request.cidrIp;
|
|
19361
|
+
query["IpControlId"] = request.ipControlId;
|
|
19362
|
+
query["PolicyItemId"] = request.policyItemId;
|
|
19363
|
+
query["SecurityToken"] = request.securityToken;
|
|
17850
19364
|
let req = new $OpenApi.OpenApiRequest({
|
|
19365
|
+
query: OpenApiUtil.query(query),
|
|
17851
19366
|
body: Util.toMap(request),
|
|
17852
19367
|
});
|
|
17853
|
-
|
|
19368
|
+
let params = new $OpenApi.Params({
|
|
19369
|
+
action: "ModifyIpControlPolicyItem",
|
|
19370
|
+
version: "2016-07-14",
|
|
19371
|
+
protocol: "HTTPS",
|
|
19372
|
+
pathname: "/",
|
|
19373
|
+
method: "POST",
|
|
19374
|
+
authType: "AK",
|
|
19375
|
+
style: "RPC",
|
|
19376
|
+
reqBodyType: "json",
|
|
19377
|
+
bodyType: "json",
|
|
19378
|
+
});
|
|
19379
|
+
return $tea.cast<ModifyIpControlPolicyItemResponse>(await this.callApi(params, req, runtime), new ModifyIpControlPolicyItemResponse({}));
|
|
17854
19380
|
}
|
|
17855
19381
|
|
|
17856
19382
|
async modifyIpControlPolicyItem(request: ModifyIpControlPolicyItemRequest): Promise<ModifyIpControlPolicyItemResponse> {
|
|
@@ -17860,10 +19386,27 @@ export default class Client extends OpenApi {
|
|
|
17860
19386
|
|
|
17861
19387
|
async modifyLogConfigWithOptions(request: ModifyLogConfigRequest, runtime: $Util.RuntimeOptions): Promise<ModifyLogConfigResponse> {
|
|
17862
19388
|
Util.validateModel(request);
|
|
19389
|
+
let query = { };
|
|
19390
|
+
query["LogType"] = request.logType;
|
|
19391
|
+
query["SecurityToken"] = request.securityToken;
|
|
19392
|
+
query["SlsLogStore"] = request.slsLogStore;
|
|
19393
|
+
query["SlsProject"] = request.slsProject;
|
|
17863
19394
|
let req = new $OpenApi.OpenApiRequest({
|
|
19395
|
+
query: OpenApiUtil.query(query),
|
|
17864
19396
|
body: Util.toMap(request),
|
|
17865
19397
|
});
|
|
17866
|
-
|
|
19398
|
+
let params = new $OpenApi.Params({
|
|
19399
|
+
action: "ModifyLogConfig",
|
|
19400
|
+
version: "2016-07-14",
|
|
19401
|
+
protocol: "HTTPS",
|
|
19402
|
+
pathname: "/",
|
|
19403
|
+
method: "POST",
|
|
19404
|
+
authType: "AK",
|
|
19405
|
+
style: "RPC",
|
|
19406
|
+
reqBodyType: "json",
|
|
19407
|
+
bodyType: "json",
|
|
19408
|
+
});
|
|
19409
|
+
return $tea.cast<ModifyLogConfigResponse>(await this.callApi(params, req, runtime), new ModifyLogConfigResponse({}));
|
|
17867
19410
|
}
|
|
17868
19411
|
|
|
17869
19412
|
async modifyLogConfig(request: ModifyLogConfigRequest): Promise<ModifyLogConfigResponse> {
|
|
@@ -17873,10 +19416,28 @@ export default class Client extends OpenApi {
|
|
|
17873
19416
|
|
|
17874
19417
|
async modifyModelWithOptions(request: ModifyModelRequest, runtime: $Util.RuntimeOptions): Promise<ModifyModelResponse> {
|
|
17875
19418
|
Util.validateModel(request);
|
|
19419
|
+
let query = { };
|
|
19420
|
+
query["Description"] = request.description;
|
|
19421
|
+
query["GroupId"] = request.groupId;
|
|
19422
|
+
query["ModelName"] = request.modelName;
|
|
19423
|
+
query["NewModelName"] = request.newModelName;
|
|
19424
|
+
query["Schema"] = request.schema;
|
|
17876
19425
|
let req = new $OpenApi.OpenApiRequest({
|
|
19426
|
+
query: OpenApiUtil.query(query),
|
|
17877
19427
|
body: Util.toMap(request),
|
|
17878
19428
|
});
|
|
17879
|
-
|
|
19429
|
+
let params = new $OpenApi.Params({
|
|
19430
|
+
action: "ModifyModel",
|
|
19431
|
+
version: "2016-07-14",
|
|
19432
|
+
protocol: "HTTPS",
|
|
19433
|
+
pathname: "/",
|
|
19434
|
+
method: "POST",
|
|
19435
|
+
authType: "AK",
|
|
19436
|
+
style: "RPC",
|
|
19437
|
+
reqBodyType: "json",
|
|
19438
|
+
bodyType: "json",
|
|
19439
|
+
});
|
|
19440
|
+
return $tea.cast<ModifyModelResponse>(await this.callApi(params, req, runtime), new ModifyModelResponse({}));
|
|
17880
19441
|
}
|
|
17881
19442
|
|
|
17882
19443
|
async modifyModel(request: ModifyModelRequest): Promise<ModifyModelResponse> {
|
|
@@ -17886,10 +19447,29 @@ export default class Client extends OpenApi {
|
|
|
17886
19447
|
|
|
17887
19448
|
async modifyPluginWithOptions(request: ModifyPluginRequest, runtime: $Util.RuntimeOptions): Promise<ModifyPluginResponse> {
|
|
17888
19449
|
Util.validateModel(request);
|
|
19450
|
+
let query = { };
|
|
19451
|
+
query["Description"] = request.description;
|
|
19452
|
+
query["PluginData"] = request.pluginData;
|
|
19453
|
+
query["PluginId"] = request.pluginId;
|
|
19454
|
+
query["PluginName"] = request.pluginName;
|
|
19455
|
+
query["SecurityToken"] = request.securityToken;
|
|
19456
|
+
query["Tag"] = request.tag;
|
|
17889
19457
|
let req = new $OpenApi.OpenApiRequest({
|
|
19458
|
+
query: OpenApiUtil.query(query),
|
|
17890
19459
|
body: Util.toMap(request),
|
|
17891
19460
|
});
|
|
17892
|
-
|
|
19461
|
+
let params = new $OpenApi.Params({
|
|
19462
|
+
action: "ModifyPlugin",
|
|
19463
|
+
version: "2016-07-14",
|
|
19464
|
+
protocol: "HTTPS",
|
|
19465
|
+
pathname: "/",
|
|
19466
|
+
method: "POST",
|
|
19467
|
+
authType: "AK",
|
|
19468
|
+
style: "RPC",
|
|
19469
|
+
reqBodyType: "json",
|
|
19470
|
+
bodyType: "json",
|
|
19471
|
+
});
|
|
19472
|
+
return $tea.cast<ModifyPluginResponse>(await this.callApi(params, req, runtime), new ModifyPluginResponse({}));
|
|
17893
19473
|
}
|
|
17894
19474
|
|
|
17895
19475
|
async modifyPlugin(request: ModifyPluginRequest): Promise<ModifyPluginResponse> {
|
|
@@ -17899,10 +19479,28 @@ export default class Client extends OpenApi {
|
|
|
17899
19479
|
|
|
17900
19480
|
async modifySignatureWithOptions(request: ModifySignatureRequest, runtime: $Util.RuntimeOptions): Promise<ModifySignatureResponse> {
|
|
17901
19481
|
Util.validateModel(request);
|
|
19482
|
+
let query = { };
|
|
19483
|
+
query["SecurityToken"] = request.securityToken;
|
|
19484
|
+
query["SignatureId"] = request.signatureId;
|
|
19485
|
+
query["SignatureKey"] = request.signatureKey;
|
|
19486
|
+
query["SignatureName"] = request.signatureName;
|
|
19487
|
+
query["SignatureSecret"] = request.signatureSecret;
|
|
17902
19488
|
let req = new $OpenApi.OpenApiRequest({
|
|
19489
|
+
query: OpenApiUtil.query(query),
|
|
17903
19490
|
body: Util.toMap(request),
|
|
17904
19491
|
});
|
|
17905
|
-
|
|
19492
|
+
let params = new $OpenApi.Params({
|
|
19493
|
+
action: "ModifySignature",
|
|
19494
|
+
version: "2016-07-14",
|
|
19495
|
+
protocol: "HTTPS",
|
|
19496
|
+
pathname: "/",
|
|
19497
|
+
method: "POST",
|
|
19498
|
+
authType: "AK",
|
|
19499
|
+
style: "RPC",
|
|
19500
|
+
reqBodyType: "json",
|
|
19501
|
+
bodyType: "json",
|
|
19502
|
+
});
|
|
19503
|
+
return $tea.cast<ModifySignatureResponse>(await this.callApi(params, req, runtime), new ModifySignatureResponse({}));
|
|
17906
19504
|
}
|
|
17907
19505
|
|
|
17908
19506
|
async modifySignature(request: ModifySignatureRequest): Promise<ModifySignatureResponse> {
|
|
@@ -17912,10 +19510,31 @@ export default class Client extends OpenApi {
|
|
|
17912
19510
|
|
|
17913
19511
|
async modifyTrafficControlWithOptions(request: ModifyTrafficControlRequest, runtime: $Util.RuntimeOptions): Promise<ModifyTrafficControlResponse> {
|
|
17914
19512
|
Util.validateModel(request);
|
|
19513
|
+
let query = { };
|
|
19514
|
+
query["ApiDefault"] = request.apiDefault;
|
|
19515
|
+
query["AppDefault"] = request.appDefault;
|
|
19516
|
+
query["Description"] = request.description;
|
|
19517
|
+
query["SecurityToken"] = request.securityToken;
|
|
19518
|
+
query["TrafficControlId"] = request.trafficControlId;
|
|
19519
|
+
query["TrafficControlName"] = request.trafficControlName;
|
|
19520
|
+
query["TrafficControlUnit"] = request.trafficControlUnit;
|
|
19521
|
+
query["UserDefault"] = request.userDefault;
|
|
17915
19522
|
let req = new $OpenApi.OpenApiRequest({
|
|
19523
|
+
query: OpenApiUtil.query(query),
|
|
17916
19524
|
body: Util.toMap(request),
|
|
17917
19525
|
});
|
|
17918
|
-
|
|
19526
|
+
let params = new $OpenApi.Params({
|
|
19527
|
+
action: "ModifyTrafficControl",
|
|
19528
|
+
version: "2016-07-14",
|
|
19529
|
+
protocol: "HTTPS",
|
|
19530
|
+
pathname: "/",
|
|
19531
|
+
method: "POST",
|
|
19532
|
+
authType: "AK",
|
|
19533
|
+
style: "RPC",
|
|
19534
|
+
reqBodyType: "json",
|
|
19535
|
+
bodyType: "json",
|
|
19536
|
+
});
|
|
19537
|
+
return $tea.cast<ModifyTrafficControlResponse>(await this.callApi(params, req, runtime), new ModifyTrafficControlResponse({}));
|
|
17919
19538
|
}
|
|
17920
19539
|
|
|
17921
19540
|
async modifyTrafficControl(request: ModifyTrafficControlRequest): Promise<ModifyTrafficControlResponse> {
|
|
@@ -17925,7 +19544,18 @@ export default class Client extends OpenApi {
|
|
|
17925
19544
|
|
|
17926
19545
|
async openApiGatewayServiceWithOptions(runtime: $Util.RuntimeOptions): Promise<OpenApiGatewayServiceResponse> {
|
|
17927
19546
|
let req = new $OpenApi.OpenApiRequest({ });
|
|
17928
|
-
|
|
19547
|
+
let params = new $OpenApi.Params({
|
|
19548
|
+
action: "OpenApiGatewayService",
|
|
19549
|
+
version: "2016-07-14",
|
|
19550
|
+
protocol: "HTTPS",
|
|
19551
|
+
pathname: "/",
|
|
19552
|
+
method: "POST",
|
|
19553
|
+
authType: "AK",
|
|
19554
|
+
style: "RPC",
|
|
19555
|
+
reqBodyType: "json",
|
|
19556
|
+
bodyType: "json",
|
|
19557
|
+
});
|
|
19558
|
+
return $tea.cast<OpenApiGatewayServiceResponse>(await this.callApi(params, req, runtime), new OpenApiGatewayServiceResponse({}));
|
|
17929
19559
|
}
|
|
17930
19560
|
|
|
17931
19561
|
async openApiGatewayService(): Promise<OpenApiGatewayServiceResponse> {
|
|
@@ -17935,10 +19565,26 @@ export default class Client extends OpenApi {
|
|
|
17935
19565
|
|
|
17936
19566
|
async reactivateDomainWithOptions(request: ReactivateDomainRequest, runtime: $Util.RuntimeOptions): Promise<ReactivateDomainResponse> {
|
|
17937
19567
|
Util.validateModel(request);
|
|
19568
|
+
let query = { };
|
|
19569
|
+
query["DomainName"] = request.domainName;
|
|
19570
|
+
query["GroupId"] = request.groupId;
|
|
19571
|
+
query["SecurityToken"] = request.securityToken;
|
|
17938
19572
|
let req = new $OpenApi.OpenApiRequest({
|
|
19573
|
+
query: OpenApiUtil.query(query),
|
|
17939
19574
|
body: Util.toMap(request),
|
|
17940
19575
|
});
|
|
17941
|
-
|
|
19576
|
+
let params = new $OpenApi.Params({
|
|
19577
|
+
action: "ReactivateDomain",
|
|
19578
|
+
version: "2016-07-14",
|
|
19579
|
+
protocol: "HTTPS",
|
|
19580
|
+
pathname: "/",
|
|
19581
|
+
method: "POST",
|
|
19582
|
+
authType: "AK",
|
|
19583
|
+
style: "RPC",
|
|
19584
|
+
reqBodyType: "json",
|
|
19585
|
+
bodyType: "json",
|
|
19586
|
+
});
|
|
19587
|
+
return $tea.cast<ReactivateDomainResponse>(await this.callApi(params, req, runtime), new ReactivateDomainResponse({}));
|
|
17942
19588
|
}
|
|
17943
19589
|
|
|
17944
19590
|
async reactivateDomain(request: ReactivateDomainRequest): Promise<ReactivateDomainResponse> {
|
|
@@ -17948,10 +19594,29 @@ export default class Client extends OpenApi {
|
|
|
17948
19594
|
|
|
17949
19595
|
async removeApisAuthoritiesWithOptions(request: RemoveApisAuthoritiesRequest, runtime: $Util.RuntimeOptions): Promise<RemoveApisAuthoritiesResponse> {
|
|
17950
19596
|
Util.validateModel(request);
|
|
19597
|
+
let query = { };
|
|
19598
|
+
query["ApiIds"] = request.apiIds;
|
|
19599
|
+
query["AppId"] = request.appId;
|
|
19600
|
+
query["Description"] = request.description;
|
|
19601
|
+
query["GroupId"] = request.groupId;
|
|
19602
|
+
query["SecurityToken"] = request.securityToken;
|
|
19603
|
+
query["StageName"] = request.stageName;
|
|
17951
19604
|
let req = new $OpenApi.OpenApiRequest({
|
|
19605
|
+
query: OpenApiUtil.query(query),
|
|
17952
19606
|
body: Util.toMap(request),
|
|
17953
19607
|
});
|
|
17954
|
-
|
|
19608
|
+
let params = new $OpenApi.Params({
|
|
19609
|
+
action: "RemoveApisAuthorities",
|
|
19610
|
+
version: "2016-07-14",
|
|
19611
|
+
protocol: "HTTPS",
|
|
19612
|
+
pathname: "/",
|
|
19613
|
+
method: "POST",
|
|
19614
|
+
authType: "AK",
|
|
19615
|
+
style: "RPC",
|
|
19616
|
+
reqBodyType: "json",
|
|
19617
|
+
bodyType: "json",
|
|
19618
|
+
});
|
|
19619
|
+
return $tea.cast<RemoveApisAuthoritiesResponse>(await this.callApi(params, req, runtime), new RemoveApisAuthoritiesResponse({}));
|
|
17955
19620
|
}
|
|
17956
19621
|
|
|
17957
19622
|
async removeApisAuthorities(request: RemoveApisAuthoritiesRequest): Promise<RemoveApisAuthoritiesResponse> {
|
|
@@ -17961,10 +19626,28 @@ export default class Client extends OpenApi {
|
|
|
17961
19626
|
|
|
17962
19627
|
async removeAppsAuthoritiesWithOptions(request: RemoveAppsAuthoritiesRequest, runtime: $Util.RuntimeOptions): Promise<RemoveAppsAuthoritiesResponse> {
|
|
17963
19628
|
Util.validateModel(request);
|
|
19629
|
+
let query = { };
|
|
19630
|
+
query["ApiId"] = request.apiId;
|
|
19631
|
+
query["AppIds"] = request.appIds;
|
|
19632
|
+
query["GroupId"] = request.groupId;
|
|
19633
|
+
query["SecurityToken"] = request.securityToken;
|
|
19634
|
+
query["StageName"] = request.stageName;
|
|
17964
19635
|
let req = new $OpenApi.OpenApiRequest({
|
|
19636
|
+
query: OpenApiUtil.query(query),
|
|
17965
19637
|
body: Util.toMap(request),
|
|
17966
19638
|
});
|
|
17967
|
-
|
|
19639
|
+
let params = new $OpenApi.Params({
|
|
19640
|
+
action: "RemoveAppsAuthorities",
|
|
19641
|
+
version: "2016-07-14",
|
|
19642
|
+
protocol: "HTTPS",
|
|
19643
|
+
pathname: "/",
|
|
19644
|
+
method: "POST",
|
|
19645
|
+
authType: "AK",
|
|
19646
|
+
style: "RPC",
|
|
19647
|
+
reqBodyType: "json",
|
|
19648
|
+
bodyType: "json",
|
|
19649
|
+
});
|
|
19650
|
+
return $tea.cast<RemoveAppsAuthoritiesResponse>(await this.callApi(params, req, runtime), new RemoveAppsAuthoritiesResponse({}));
|
|
17968
19651
|
}
|
|
17969
19652
|
|
|
17970
19653
|
async removeAppsAuthorities(request: RemoveAppsAuthoritiesRequest): Promise<RemoveAppsAuthoritiesResponse> {
|
|
@@ -17974,10 +19657,28 @@ export default class Client extends OpenApi {
|
|
|
17974
19657
|
|
|
17975
19658
|
async removeIpControlApisWithOptions(request: RemoveIpControlApisRequest, runtime: $Util.RuntimeOptions): Promise<RemoveIpControlApisResponse> {
|
|
17976
19659
|
Util.validateModel(request);
|
|
19660
|
+
let query = { };
|
|
19661
|
+
query["ApiIds"] = request.apiIds;
|
|
19662
|
+
query["GroupId"] = request.groupId;
|
|
19663
|
+
query["IpControlId"] = request.ipControlId;
|
|
19664
|
+
query["SecurityToken"] = request.securityToken;
|
|
19665
|
+
query["StageName"] = request.stageName;
|
|
17977
19666
|
let req = new $OpenApi.OpenApiRequest({
|
|
19667
|
+
query: OpenApiUtil.query(query),
|
|
17978
19668
|
body: Util.toMap(request),
|
|
17979
19669
|
});
|
|
17980
|
-
|
|
19670
|
+
let params = new $OpenApi.Params({
|
|
19671
|
+
action: "RemoveIpControlApis",
|
|
19672
|
+
version: "2016-07-14",
|
|
19673
|
+
protocol: "HTTPS",
|
|
19674
|
+
pathname: "/",
|
|
19675
|
+
method: "POST",
|
|
19676
|
+
authType: "AK",
|
|
19677
|
+
style: "RPC",
|
|
19678
|
+
reqBodyType: "json",
|
|
19679
|
+
bodyType: "json",
|
|
19680
|
+
});
|
|
19681
|
+
return $tea.cast<RemoveIpControlApisResponse>(await this.callApi(params, req, runtime), new RemoveIpControlApisResponse({}));
|
|
17981
19682
|
}
|
|
17982
19683
|
|
|
17983
19684
|
async removeIpControlApis(request: RemoveIpControlApisRequest): Promise<RemoveIpControlApisResponse> {
|
|
@@ -17987,10 +19688,26 @@ export default class Client extends OpenApi {
|
|
|
17987
19688
|
|
|
17988
19689
|
async removeIpControlPolicyItemWithOptions(request: RemoveIpControlPolicyItemRequest, runtime: $Util.RuntimeOptions): Promise<RemoveIpControlPolicyItemResponse> {
|
|
17989
19690
|
Util.validateModel(request);
|
|
19691
|
+
let query = { };
|
|
19692
|
+
query["IpControlId"] = request.ipControlId;
|
|
19693
|
+
query["PolicyItemIds"] = request.policyItemIds;
|
|
19694
|
+
query["SecurityToken"] = request.securityToken;
|
|
17990
19695
|
let req = new $OpenApi.OpenApiRequest({
|
|
19696
|
+
query: OpenApiUtil.query(query),
|
|
17991
19697
|
body: Util.toMap(request),
|
|
17992
19698
|
});
|
|
17993
|
-
|
|
19699
|
+
let params = new $OpenApi.Params({
|
|
19700
|
+
action: "RemoveIpControlPolicyItem",
|
|
19701
|
+
version: "2016-07-14",
|
|
19702
|
+
protocol: "HTTPS",
|
|
19703
|
+
pathname: "/",
|
|
19704
|
+
method: "POST",
|
|
19705
|
+
authType: "AK",
|
|
19706
|
+
style: "RPC",
|
|
19707
|
+
reqBodyType: "json",
|
|
19708
|
+
bodyType: "json",
|
|
19709
|
+
});
|
|
19710
|
+
return $tea.cast<RemoveIpControlPolicyItemResponse>(await this.callApi(params, req, runtime), new RemoveIpControlPolicyItemResponse({}));
|
|
17994
19711
|
}
|
|
17995
19712
|
|
|
17996
19713
|
async removeIpControlPolicyItem(request: RemoveIpControlPolicyItemRequest): Promise<RemoveIpControlPolicyItemResponse> {
|
|
@@ -18000,10 +19717,28 @@ export default class Client extends OpenApi {
|
|
|
18000
19717
|
|
|
18001
19718
|
async removeSignatureApisWithOptions(request: RemoveSignatureApisRequest, runtime: $Util.RuntimeOptions): Promise<RemoveSignatureApisResponse> {
|
|
18002
19719
|
Util.validateModel(request);
|
|
19720
|
+
let query = { };
|
|
19721
|
+
query["ApiIds"] = request.apiIds;
|
|
19722
|
+
query["GroupId"] = request.groupId;
|
|
19723
|
+
query["SecurityToken"] = request.securityToken;
|
|
19724
|
+
query["SignatureId"] = request.signatureId;
|
|
19725
|
+
query["StageName"] = request.stageName;
|
|
18003
19726
|
let req = new $OpenApi.OpenApiRequest({
|
|
19727
|
+
query: OpenApiUtil.query(query),
|
|
18004
19728
|
body: Util.toMap(request),
|
|
18005
19729
|
});
|
|
18006
|
-
|
|
19730
|
+
let params = new $OpenApi.Params({
|
|
19731
|
+
action: "RemoveSignatureApis",
|
|
19732
|
+
version: "2016-07-14",
|
|
19733
|
+
protocol: "HTTPS",
|
|
19734
|
+
pathname: "/",
|
|
19735
|
+
method: "POST",
|
|
19736
|
+
authType: "AK",
|
|
19737
|
+
style: "RPC",
|
|
19738
|
+
reqBodyType: "json",
|
|
19739
|
+
bodyType: "json",
|
|
19740
|
+
});
|
|
19741
|
+
return $tea.cast<RemoveSignatureApisResponse>(await this.callApi(params, req, runtime), new RemoveSignatureApisResponse({}));
|
|
18007
19742
|
}
|
|
18008
19743
|
|
|
18009
19744
|
async removeSignatureApis(request: RemoveSignatureApisRequest): Promise<RemoveSignatureApisResponse> {
|
|
@@ -18013,10 +19748,28 @@ export default class Client extends OpenApi {
|
|
|
18013
19748
|
|
|
18014
19749
|
async removeTrafficControlApisWithOptions(request: RemoveTrafficControlApisRequest, runtime: $Util.RuntimeOptions): Promise<RemoveTrafficControlApisResponse> {
|
|
18015
19750
|
Util.validateModel(request);
|
|
19751
|
+
let query = { };
|
|
19752
|
+
query["ApiIds"] = request.apiIds;
|
|
19753
|
+
query["GroupId"] = request.groupId;
|
|
19754
|
+
query["SecurityToken"] = request.securityToken;
|
|
19755
|
+
query["StageName"] = request.stageName;
|
|
19756
|
+
query["TrafficControlId"] = request.trafficControlId;
|
|
18016
19757
|
let req = new $OpenApi.OpenApiRequest({
|
|
19758
|
+
query: OpenApiUtil.query(query),
|
|
18017
19759
|
body: Util.toMap(request),
|
|
18018
19760
|
});
|
|
18019
|
-
|
|
19761
|
+
let params = new $OpenApi.Params({
|
|
19762
|
+
action: "RemoveTrafficControlApis",
|
|
19763
|
+
version: "2016-07-14",
|
|
19764
|
+
protocol: "HTTPS",
|
|
19765
|
+
pathname: "/",
|
|
19766
|
+
method: "POST",
|
|
19767
|
+
authType: "AK",
|
|
19768
|
+
style: "RPC",
|
|
19769
|
+
reqBodyType: "json",
|
|
19770
|
+
bodyType: "json",
|
|
19771
|
+
});
|
|
19772
|
+
return $tea.cast<RemoveTrafficControlApisResponse>(await this.callApi(params, req, runtime), new RemoveTrafficControlApisResponse({}));
|
|
18020
19773
|
}
|
|
18021
19774
|
|
|
18022
19775
|
async removeTrafficControlApis(request: RemoveTrafficControlApisRequest): Promise<RemoveTrafficControlApisResponse> {
|
|
@@ -18026,10 +19779,28 @@ export default class Client extends OpenApi {
|
|
|
18026
19779
|
|
|
18027
19780
|
async removeVpcAccessWithOptions(request: RemoveVpcAccessRequest, runtime: $Util.RuntimeOptions): Promise<RemoveVpcAccessResponse> {
|
|
18028
19781
|
Util.validateModel(request);
|
|
19782
|
+
let query = { };
|
|
19783
|
+
query["InstanceId"] = request.instanceId;
|
|
19784
|
+
query["NeedBatchWork"] = request.needBatchWork;
|
|
19785
|
+
query["Port"] = request.port;
|
|
19786
|
+
query["SecurityToken"] = request.securityToken;
|
|
19787
|
+
query["VpcId"] = request.vpcId;
|
|
18029
19788
|
let req = new $OpenApi.OpenApiRequest({
|
|
19789
|
+
query: OpenApiUtil.query(query),
|
|
18030
19790
|
body: Util.toMap(request),
|
|
18031
19791
|
});
|
|
18032
|
-
|
|
19792
|
+
let params = new $OpenApi.Params({
|
|
19793
|
+
action: "RemoveVpcAccess",
|
|
19794
|
+
version: "2016-07-14",
|
|
19795
|
+
protocol: "HTTPS",
|
|
19796
|
+
pathname: "/",
|
|
19797
|
+
method: "POST",
|
|
19798
|
+
authType: "AK",
|
|
19799
|
+
style: "RPC",
|
|
19800
|
+
reqBodyType: "json",
|
|
19801
|
+
bodyType: "json",
|
|
19802
|
+
});
|
|
19803
|
+
return $tea.cast<RemoveVpcAccessResponse>(await this.callApi(params, req, runtime), new RemoveVpcAccessResponse({}));
|
|
18033
19804
|
}
|
|
18034
19805
|
|
|
18035
19806
|
async removeVpcAccess(request: RemoveVpcAccessRequest): Promise<RemoveVpcAccessResponse> {
|
|
@@ -18039,10 +19810,28 @@ export default class Client extends OpenApi {
|
|
|
18039
19810
|
|
|
18040
19811
|
async removeVpcAccessAndAbolishApisWithOptions(request: RemoveVpcAccessAndAbolishApisRequest, runtime: $Util.RuntimeOptions): Promise<RemoveVpcAccessAndAbolishApisResponse> {
|
|
18041
19812
|
Util.validateModel(request);
|
|
19813
|
+
let query = { };
|
|
19814
|
+
query["InstanceId"] = request.instanceId;
|
|
19815
|
+
query["NeedBatchWork"] = request.needBatchWork;
|
|
19816
|
+
query["Port"] = request.port;
|
|
19817
|
+
query["SecurityToken"] = request.securityToken;
|
|
19818
|
+
query["VpcId"] = request.vpcId;
|
|
18042
19819
|
let req = new $OpenApi.OpenApiRequest({
|
|
19820
|
+
query: OpenApiUtil.query(query),
|
|
18043
19821
|
body: Util.toMap(request),
|
|
18044
19822
|
});
|
|
18045
|
-
|
|
19823
|
+
let params = new $OpenApi.Params({
|
|
19824
|
+
action: "RemoveVpcAccessAndAbolishApis",
|
|
19825
|
+
version: "2016-07-14",
|
|
19826
|
+
protocol: "HTTPS",
|
|
19827
|
+
pathname: "/",
|
|
19828
|
+
method: "POST",
|
|
19829
|
+
authType: "AK",
|
|
19830
|
+
style: "RPC",
|
|
19831
|
+
reqBodyType: "json",
|
|
19832
|
+
bodyType: "json",
|
|
19833
|
+
});
|
|
19834
|
+
return $tea.cast<RemoveVpcAccessAndAbolishApisResponse>(await this.callApi(params, req, runtime), new RemoveVpcAccessAndAbolishApisResponse({}));
|
|
18046
19835
|
}
|
|
18047
19836
|
|
|
18048
19837
|
async removeVpcAccessAndAbolishApis(request: RemoveVpcAccessAndAbolishApisRequest): Promise<RemoveVpcAccessAndAbolishApisResponse> {
|
|
@@ -18052,10 +19841,25 @@ export default class Client extends OpenApi {
|
|
|
18052
19841
|
|
|
18053
19842
|
async resetAppCodeWithOptions(request: ResetAppCodeRequest, runtime: $Util.RuntimeOptions): Promise<ResetAppCodeResponse> {
|
|
18054
19843
|
Util.validateModel(request);
|
|
19844
|
+
let query = { };
|
|
19845
|
+
query["AppCode"] = request.appCode;
|
|
19846
|
+
query["SecurityToken"] = request.securityToken;
|
|
18055
19847
|
let req = new $OpenApi.OpenApiRequest({
|
|
19848
|
+
query: OpenApiUtil.query(query),
|
|
18056
19849
|
body: Util.toMap(request),
|
|
18057
19850
|
});
|
|
18058
|
-
|
|
19851
|
+
let params = new $OpenApi.Params({
|
|
19852
|
+
action: "ResetAppCode",
|
|
19853
|
+
version: "2016-07-14",
|
|
19854
|
+
protocol: "HTTPS",
|
|
19855
|
+
pathname: "/",
|
|
19856
|
+
method: "POST",
|
|
19857
|
+
authType: "AK",
|
|
19858
|
+
style: "RPC",
|
|
19859
|
+
reqBodyType: "json",
|
|
19860
|
+
bodyType: "json",
|
|
19861
|
+
});
|
|
19862
|
+
return $tea.cast<ResetAppCodeResponse>(await this.callApi(params, req, runtime), new ResetAppCodeResponse({}));
|
|
18059
19863
|
}
|
|
18060
19864
|
|
|
18061
19865
|
async resetAppCode(request: ResetAppCodeRequest): Promise<ResetAppCodeResponse> {
|
|
@@ -18065,10 +19869,25 @@ export default class Client extends OpenApi {
|
|
|
18065
19869
|
|
|
18066
19870
|
async resetAppSecretWithOptions(request: ResetAppSecretRequest, runtime: $Util.RuntimeOptions): Promise<ResetAppSecretResponse> {
|
|
18067
19871
|
Util.validateModel(request);
|
|
19872
|
+
let query = { };
|
|
19873
|
+
query["AppKey"] = request.appKey;
|
|
19874
|
+
query["SecurityToken"] = request.securityToken;
|
|
18068
19875
|
let req = new $OpenApi.OpenApiRequest({
|
|
19876
|
+
query: OpenApiUtil.query(query),
|
|
18069
19877
|
body: Util.toMap(request),
|
|
18070
19878
|
});
|
|
18071
|
-
|
|
19879
|
+
let params = new $OpenApi.Params({
|
|
19880
|
+
action: "ResetAppSecret",
|
|
19881
|
+
version: "2016-07-14",
|
|
19882
|
+
protocol: "HTTPS",
|
|
19883
|
+
pathname: "/",
|
|
19884
|
+
method: "POST",
|
|
19885
|
+
authType: "AK",
|
|
19886
|
+
style: "RPC",
|
|
19887
|
+
reqBodyType: "json",
|
|
19888
|
+
bodyType: "json",
|
|
19889
|
+
});
|
|
19890
|
+
return $tea.cast<ResetAppSecretResponse>(await this.callApi(params, req, runtime), new ResetAppSecretResponse({}));
|
|
18072
19891
|
}
|
|
18073
19892
|
|
|
18074
19893
|
async resetAppSecret(request: ResetAppSecretRequest): Promise<ResetAppSecretResponse> {
|
|
@@ -18078,10 +19897,26 @@ export default class Client extends OpenApi {
|
|
|
18078
19897
|
|
|
18079
19898
|
async sdkGenerateByAppWithOptions(request: SdkGenerateByAppRequest, runtime: $Util.RuntimeOptions): Promise<SdkGenerateByAppResponse> {
|
|
18080
19899
|
Util.validateModel(request);
|
|
19900
|
+
let query = { };
|
|
19901
|
+
query["AppId"] = request.appId;
|
|
19902
|
+
query["Language"] = request.language;
|
|
19903
|
+
query["SecurityToken"] = request.securityToken;
|
|
18081
19904
|
let req = new $OpenApi.OpenApiRequest({
|
|
19905
|
+
query: OpenApiUtil.query(query),
|
|
18082
19906
|
body: Util.toMap(request),
|
|
18083
19907
|
});
|
|
18084
|
-
|
|
19908
|
+
let params = new $OpenApi.Params({
|
|
19909
|
+
action: "SdkGenerateByApp",
|
|
19910
|
+
version: "2016-07-14",
|
|
19911
|
+
protocol: "HTTPS",
|
|
19912
|
+
pathname: "/",
|
|
19913
|
+
method: "POST",
|
|
19914
|
+
authType: "AK",
|
|
19915
|
+
style: "RPC",
|
|
19916
|
+
reqBodyType: "json",
|
|
19917
|
+
bodyType: "json",
|
|
19918
|
+
});
|
|
19919
|
+
return $tea.cast<SdkGenerateByAppResponse>(await this.callApi(params, req, runtime), new SdkGenerateByAppResponse({}));
|
|
18085
19920
|
}
|
|
18086
19921
|
|
|
18087
19922
|
async sdkGenerateByApp(request: SdkGenerateByAppRequest): Promise<SdkGenerateByAppResponse> {
|
|
@@ -18091,10 +19926,26 @@ export default class Client extends OpenApi {
|
|
|
18091
19926
|
|
|
18092
19927
|
async sdkGenerateByGroupWithOptions(request: SdkGenerateByGroupRequest, runtime: $Util.RuntimeOptions): Promise<SdkGenerateByGroupResponse> {
|
|
18093
19928
|
Util.validateModel(request);
|
|
19929
|
+
let query = { };
|
|
19930
|
+
query["GroupId"] = request.groupId;
|
|
19931
|
+
query["Language"] = request.language;
|
|
19932
|
+
query["SecurityToken"] = request.securityToken;
|
|
18094
19933
|
let req = new $OpenApi.OpenApiRequest({
|
|
19934
|
+
query: OpenApiUtil.query(query),
|
|
18095
19935
|
body: Util.toMap(request),
|
|
18096
19936
|
});
|
|
18097
|
-
|
|
19937
|
+
let params = new $OpenApi.Params({
|
|
19938
|
+
action: "SdkGenerateByGroup",
|
|
19939
|
+
version: "2016-07-14",
|
|
19940
|
+
protocol: "HTTPS",
|
|
19941
|
+
pathname: "/",
|
|
19942
|
+
method: "POST",
|
|
19943
|
+
authType: "AK",
|
|
19944
|
+
style: "RPC",
|
|
19945
|
+
reqBodyType: "json",
|
|
19946
|
+
bodyType: "json",
|
|
19947
|
+
});
|
|
19948
|
+
return $tea.cast<SdkGenerateByGroupResponse>(await this.callApi(params, req, runtime), new SdkGenerateByGroupResponse({}));
|
|
18098
19949
|
}
|
|
18099
19950
|
|
|
18100
19951
|
async sdkGenerateByGroup(request: SdkGenerateByGroupRequest): Promise<SdkGenerateByGroupResponse> {
|
|
@@ -18104,10 +19955,30 @@ export default class Client extends OpenApi {
|
|
|
18104
19955
|
|
|
18105
19956
|
async setApisAuthoritiesWithOptions(request: SetApisAuthoritiesRequest, runtime: $Util.RuntimeOptions): Promise<SetApisAuthoritiesResponse> {
|
|
18106
19957
|
Util.validateModel(request);
|
|
19958
|
+
let query = { };
|
|
19959
|
+
query["ApiIds"] = request.apiIds;
|
|
19960
|
+
query["AppId"] = request.appId;
|
|
19961
|
+
query["AuthValidTime"] = request.authValidTime;
|
|
19962
|
+
query["Description"] = request.description;
|
|
19963
|
+
query["GroupId"] = request.groupId;
|
|
19964
|
+
query["SecurityToken"] = request.securityToken;
|
|
19965
|
+
query["StageName"] = request.stageName;
|
|
18107
19966
|
let req = new $OpenApi.OpenApiRequest({
|
|
19967
|
+
query: OpenApiUtil.query(query),
|
|
18108
19968
|
body: Util.toMap(request),
|
|
18109
19969
|
});
|
|
18110
|
-
|
|
19970
|
+
let params = new $OpenApi.Params({
|
|
19971
|
+
action: "SetApisAuthorities",
|
|
19972
|
+
version: "2016-07-14",
|
|
19973
|
+
protocol: "HTTPS",
|
|
19974
|
+
pathname: "/",
|
|
19975
|
+
method: "POST",
|
|
19976
|
+
authType: "AK",
|
|
19977
|
+
style: "RPC",
|
|
19978
|
+
reqBodyType: "json",
|
|
19979
|
+
bodyType: "json",
|
|
19980
|
+
});
|
|
19981
|
+
return $tea.cast<SetApisAuthoritiesResponse>(await this.callApi(params, req, runtime), new SetApisAuthoritiesResponse({}));
|
|
18111
19982
|
}
|
|
18112
19983
|
|
|
18113
19984
|
async setApisAuthorities(request: SetApisAuthoritiesRequest): Promise<SetApisAuthoritiesResponse> {
|
|
@@ -18117,10 +19988,30 @@ export default class Client extends OpenApi {
|
|
|
18117
19988
|
|
|
18118
19989
|
async setAppsAuthoritiesWithOptions(request: SetAppsAuthoritiesRequest, runtime: $Util.RuntimeOptions): Promise<SetAppsAuthoritiesResponse> {
|
|
18119
19990
|
Util.validateModel(request);
|
|
19991
|
+
let query = { };
|
|
19992
|
+
query["ApiId"] = request.apiId;
|
|
19993
|
+
query["AppIds"] = request.appIds;
|
|
19994
|
+
query["AuthValidTime"] = request.authValidTime;
|
|
19995
|
+
query["Description"] = request.description;
|
|
19996
|
+
query["GroupId"] = request.groupId;
|
|
19997
|
+
query["SecurityToken"] = request.securityToken;
|
|
19998
|
+
query["StageName"] = request.stageName;
|
|
18120
19999
|
let req = new $OpenApi.OpenApiRequest({
|
|
20000
|
+
query: OpenApiUtil.query(query),
|
|
18121
20001
|
body: Util.toMap(request),
|
|
18122
20002
|
});
|
|
18123
|
-
|
|
20003
|
+
let params = new $OpenApi.Params({
|
|
20004
|
+
action: "SetAppsAuthorities",
|
|
20005
|
+
version: "2016-07-14",
|
|
20006
|
+
protocol: "HTTPS",
|
|
20007
|
+
pathname: "/",
|
|
20008
|
+
method: "POST",
|
|
20009
|
+
authType: "AK",
|
|
20010
|
+
style: "RPC",
|
|
20011
|
+
reqBodyType: "json",
|
|
20012
|
+
bodyType: "json",
|
|
20013
|
+
});
|
|
20014
|
+
return $tea.cast<SetAppsAuthoritiesResponse>(await this.callApi(params, req, runtime), new SetAppsAuthoritiesResponse({}));
|
|
18124
20015
|
}
|
|
18125
20016
|
|
|
18126
20017
|
async setAppsAuthorities(request: SetAppsAuthoritiesRequest): Promise<SetAppsAuthoritiesResponse> {
|
|
@@ -18130,10 +20021,28 @@ export default class Client extends OpenApi {
|
|
|
18130
20021
|
|
|
18131
20022
|
async setDomainWithOptions(request: SetDomainRequest, runtime: $Util.RuntimeOptions): Promise<SetDomainResponse> {
|
|
18132
20023
|
Util.validateModel(request);
|
|
20024
|
+
let query = { };
|
|
20025
|
+
query["BindStageName"] = request.bindStageName;
|
|
20026
|
+
query["CustomDomainType"] = request.customDomainType;
|
|
20027
|
+
query["DomainName"] = request.domainName;
|
|
20028
|
+
query["GroupId"] = request.groupId;
|
|
20029
|
+
query["IsForce"] = request.isForce;
|
|
18133
20030
|
let req = new $OpenApi.OpenApiRequest({
|
|
20031
|
+
query: OpenApiUtil.query(query),
|
|
18134
20032
|
body: Util.toMap(request),
|
|
18135
20033
|
});
|
|
18136
|
-
|
|
20034
|
+
let params = new $OpenApi.Params({
|
|
20035
|
+
action: "SetDomain",
|
|
20036
|
+
version: "2016-07-14",
|
|
20037
|
+
protocol: "HTTPS",
|
|
20038
|
+
pathname: "/",
|
|
20039
|
+
method: "POST",
|
|
20040
|
+
authType: "AK",
|
|
20041
|
+
style: "RPC",
|
|
20042
|
+
reqBodyType: "json",
|
|
20043
|
+
bodyType: "json",
|
|
20044
|
+
});
|
|
20045
|
+
return $tea.cast<SetDomainResponse>(await this.callApi(params, req, runtime), new SetDomainResponse({}));
|
|
18137
20046
|
}
|
|
18138
20047
|
|
|
18139
20048
|
async setDomain(request: SetDomainRequest): Promise<SetDomainResponse> {
|
|
@@ -18143,10 +20052,30 @@ export default class Client extends OpenApi {
|
|
|
18143
20052
|
|
|
18144
20053
|
async setDomainCertificateWithOptions(request: SetDomainCertificateRequest, runtime: $Util.RuntimeOptions): Promise<SetDomainCertificateResponse> {
|
|
18145
20054
|
Util.validateModel(request);
|
|
20055
|
+
let query = { };
|
|
20056
|
+
query["CaCertificateBody"] = request.caCertificateBody;
|
|
20057
|
+
query["CertificateBody"] = request.certificateBody;
|
|
20058
|
+
query["CertificateName"] = request.certificateName;
|
|
20059
|
+
query["CertificatePrivateKey"] = request.certificatePrivateKey;
|
|
20060
|
+
query["DomainName"] = request.domainName;
|
|
20061
|
+
query["GroupId"] = request.groupId;
|
|
20062
|
+
query["SecurityToken"] = request.securityToken;
|
|
18146
20063
|
let req = new $OpenApi.OpenApiRequest({
|
|
20064
|
+
query: OpenApiUtil.query(query),
|
|
18147
20065
|
body: Util.toMap(request),
|
|
18148
20066
|
});
|
|
18149
|
-
|
|
20067
|
+
let params = new $OpenApi.Params({
|
|
20068
|
+
action: "SetDomainCertificate",
|
|
20069
|
+
version: "2016-07-14",
|
|
20070
|
+
protocol: "HTTPS",
|
|
20071
|
+
pathname: "/",
|
|
20072
|
+
method: "POST",
|
|
20073
|
+
authType: "AK",
|
|
20074
|
+
style: "RPC",
|
|
20075
|
+
reqBodyType: "json",
|
|
20076
|
+
bodyType: "json",
|
|
20077
|
+
});
|
|
20078
|
+
return $tea.cast<SetDomainCertificateResponse>(await this.callApi(params, req, runtime), new SetDomainCertificateResponse({}));
|
|
18150
20079
|
}
|
|
18151
20080
|
|
|
18152
20081
|
async setDomainCertificate(request: SetDomainCertificateRequest): Promise<SetDomainCertificateResponse> {
|
|
@@ -18156,10 +20085,27 @@ export default class Client extends OpenApi {
|
|
|
18156
20085
|
|
|
18157
20086
|
async setDomainWebSocketStatusWithOptions(request: SetDomainWebSocketStatusRequest, runtime: $Util.RuntimeOptions): Promise<SetDomainWebSocketStatusResponse> {
|
|
18158
20087
|
Util.validateModel(request);
|
|
20088
|
+
let query = { };
|
|
20089
|
+
query["ActionValue"] = request.actionValue;
|
|
20090
|
+
query["DomainName"] = request.domainName;
|
|
20091
|
+
query["GroupId"] = request.groupId;
|
|
20092
|
+
query["SecurityToken"] = request.securityToken;
|
|
18159
20093
|
let req = new $OpenApi.OpenApiRequest({
|
|
20094
|
+
query: OpenApiUtil.query(query),
|
|
18160
20095
|
body: Util.toMap(request),
|
|
18161
20096
|
});
|
|
18162
|
-
|
|
20097
|
+
let params = new $OpenApi.Params({
|
|
20098
|
+
action: "SetDomainWebSocketStatus",
|
|
20099
|
+
version: "2016-07-14",
|
|
20100
|
+
protocol: "HTTPS",
|
|
20101
|
+
pathname: "/",
|
|
20102
|
+
method: "POST",
|
|
20103
|
+
authType: "AK",
|
|
20104
|
+
style: "RPC",
|
|
20105
|
+
reqBodyType: "json",
|
|
20106
|
+
bodyType: "json",
|
|
20107
|
+
});
|
|
20108
|
+
return $tea.cast<SetDomainWebSocketStatusResponse>(await this.callApi(params, req, runtime), new SetDomainWebSocketStatusResponse({}));
|
|
18163
20109
|
}
|
|
18164
20110
|
|
|
18165
20111
|
async setDomainWebSocketStatus(request: SetDomainWebSocketStatusRequest): Promise<SetDomainWebSocketStatusResponse> {
|
|
@@ -18169,10 +20115,28 @@ export default class Client extends OpenApi {
|
|
|
18169
20115
|
|
|
18170
20116
|
async setIpControlApisWithOptions(request: SetIpControlApisRequest, runtime: $Util.RuntimeOptions): Promise<SetIpControlApisResponse> {
|
|
18171
20117
|
Util.validateModel(request);
|
|
20118
|
+
let query = { };
|
|
20119
|
+
query["ApiIds"] = request.apiIds;
|
|
20120
|
+
query["GroupId"] = request.groupId;
|
|
20121
|
+
query["IpControlId"] = request.ipControlId;
|
|
20122
|
+
query["SecurityToken"] = request.securityToken;
|
|
20123
|
+
query["StageName"] = request.stageName;
|
|
18172
20124
|
let req = new $OpenApi.OpenApiRequest({
|
|
20125
|
+
query: OpenApiUtil.query(query),
|
|
18173
20126
|
body: Util.toMap(request),
|
|
18174
20127
|
});
|
|
18175
|
-
|
|
20128
|
+
let params = new $OpenApi.Params({
|
|
20129
|
+
action: "SetIpControlApis",
|
|
20130
|
+
version: "2016-07-14",
|
|
20131
|
+
protocol: "HTTPS",
|
|
20132
|
+
pathname: "/",
|
|
20133
|
+
method: "POST",
|
|
20134
|
+
authType: "AK",
|
|
20135
|
+
style: "RPC",
|
|
20136
|
+
reqBodyType: "json",
|
|
20137
|
+
bodyType: "json",
|
|
20138
|
+
});
|
|
20139
|
+
return $tea.cast<SetIpControlApisResponse>(await this.callApi(params, req, runtime), new SetIpControlApisResponse({}));
|
|
18176
20140
|
}
|
|
18177
20141
|
|
|
18178
20142
|
async setIpControlApis(request: SetIpControlApisRequest): Promise<SetIpControlApisResponse> {
|
|
@@ -18182,10 +20146,28 @@ export default class Client extends OpenApi {
|
|
|
18182
20146
|
|
|
18183
20147
|
async setSignatureApisWithOptions(request: SetSignatureApisRequest, runtime: $Util.RuntimeOptions): Promise<SetSignatureApisResponse> {
|
|
18184
20148
|
Util.validateModel(request);
|
|
20149
|
+
let query = { };
|
|
20150
|
+
query["ApiIds"] = request.apiIds;
|
|
20151
|
+
query["GroupId"] = request.groupId;
|
|
20152
|
+
query["SecurityToken"] = request.securityToken;
|
|
20153
|
+
query["SignatureId"] = request.signatureId;
|
|
20154
|
+
query["StageName"] = request.stageName;
|
|
18185
20155
|
let req = new $OpenApi.OpenApiRequest({
|
|
20156
|
+
query: OpenApiUtil.query(query),
|
|
18186
20157
|
body: Util.toMap(request),
|
|
18187
20158
|
});
|
|
18188
|
-
|
|
20159
|
+
let params = new $OpenApi.Params({
|
|
20160
|
+
action: "SetSignatureApis",
|
|
20161
|
+
version: "2016-07-14",
|
|
20162
|
+
protocol: "HTTPS",
|
|
20163
|
+
pathname: "/",
|
|
20164
|
+
method: "POST",
|
|
20165
|
+
authType: "AK",
|
|
20166
|
+
style: "RPC",
|
|
20167
|
+
reqBodyType: "json",
|
|
20168
|
+
bodyType: "json",
|
|
20169
|
+
});
|
|
20170
|
+
return $tea.cast<SetSignatureApisResponse>(await this.callApi(params, req, runtime), new SetSignatureApisResponse({}));
|
|
18189
20171
|
}
|
|
18190
20172
|
|
|
18191
20173
|
async setSignatureApis(request: SetSignatureApisRequest): Promise<SetSignatureApisResponse> {
|
|
@@ -18195,10 +20177,28 @@ export default class Client extends OpenApi {
|
|
|
18195
20177
|
|
|
18196
20178
|
async setTrafficControlApisWithOptions(request: SetTrafficControlApisRequest, runtime: $Util.RuntimeOptions): Promise<SetTrafficControlApisResponse> {
|
|
18197
20179
|
Util.validateModel(request);
|
|
20180
|
+
let query = { };
|
|
20181
|
+
query["ApiIds"] = request.apiIds;
|
|
20182
|
+
query["GroupId"] = request.groupId;
|
|
20183
|
+
query["SecurityToken"] = request.securityToken;
|
|
20184
|
+
query["StageName"] = request.stageName;
|
|
20185
|
+
query["TrafficControlId"] = request.trafficControlId;
|
|
18198
20186
|
let req = new $OpenApi.OpenApiRequest({
|
|
20187
|
+
query: OpenApiUtil.query(query),
|
|
18199
20188
|
body: Util.toMap(request),
|
|
18200
20189
|
});
|
|
18201
|
-
|
|
20190
|
+
let params = new $OpenApi.Params({
|
|
20191
|
+
action: "SetTrafficControlApis",
|
|
20192
|
+
version: "2016-07-14",
|
|
20193
|
+
protocol: "HTTPS",
|
|
20194
|
+
pathname: "/",
|
|
20195
|
+
method: "POST",
|
|
20196
|
+
authType: "AK",
|
|
20197
|
+
style: "RPC",
|
|
20198
|
+
reqBodyType: "json",
|
|
20199
|
+
bodyType: "json",
|
|
20200
|
+
});
|
|
20201
|
+
return $tea.cast<SetTrafficControlApisResponse>(await this.callApi(params, req, runtime), new SetTrafficControlApisResponse({}));
|
|
18202
20202
|
}
|
|
18203
20203
|
|
|
18204
20204
|
async setTrafficControlApis(request: SetTrafficControlApisRequest): Promise<SetTrafficControlApisResponse> {
|
|
@@ -18208,10 +20208,29 @@ export default class Client extends OpenApi {
|
|
|
18208
20208
|
|
|
18209
20209
|
async setVpcAccessWithOptions(request: SetVpcAccessRequest, runtime: $Util.RuntimeOptions): Promise<SetVpcAccessResponse> {
|
|
18210
20210
|
Util.validateModel(request);
|
|
20211
|
+
let query = { };
|
|
20212
|
+
query["Description"] = request.description;
|
|
20213
|
+
query["InstanceId"] = request.instanceId;
|
|
20214
|
+
query["Name"] = request.name;
|
|
20215
|
+
query["Port"] = request.port;
|
|
20216
|
+
query["SecurityToken"] = request.securityToken;
|
|
20217
|
+
query["VpcId"] = request.vpcId;
|
|
18211
20218
|
let req = new $OpenApi.OpenApiRequest({
|
|
20219
|
+
query: OpenApiUtil.query(query),
|
|
18212
20220
|
body: Util.toMap(request),
|
|
18213
20221
|
});
|
|
18214
|
-
|
|
20222
|
+
let params = new $OpenApi.Params({
|
|
20223
|
+
action: "SetVpcAccess",
|
|
20224
|
+
version: "2016-07-14",
|
|
20225
|
+
protocol: "HTTPS",
|
|
20226
|
+
pathname: "/",
|
|
20227
|
+
method: "POST",
|
|
20228
|
+
authType: "AK",
|
|
20229
|
+
style: "RPC",
|
|
20230
|
+
reqBodyType: "json",
|
|
20231
|
+
bodyType: "json",
|
|
20232
|
+
});
|
|
20233
|
+
return $tea.cast<SetVpcAccessResponse>(await this.callApi(params, req, runtime), new SetVpcAccessResponse({}));
|
|
18215
20234
|
}
|
|
18216
20235
|
|
|
18217
20236
|
async setVpcAccess(request: SetVpcAccessRequest): Promise<SetVpcAccessResponse> {
|
|
@@ -18221,10 +20240,27 @@ export default class Client extends OpenApi {
|
|
|
18221
20240
|
|
|
18222
20241
|
async setWildcardDomainPatternsWithOptions(request: SetWildcardDomainPatternsRequest, runtime: $Util.RuntimeOptions): Promise<SetWildcardDomainPatternsResponse> {
|
|
18223
20242
|
Util.validateModel(request);
|
|
20243
|
+
let query = { };
|
|
20244
|
+
query["DomainName"] = request.domainName;
|
|
20245
|
+
query["GroupId"] = request.groupId;
|
|
20246
|
+
query["SecurityToken"] = request.securityToken;
|
|
20247
|
+
query["WildcardDomainPatterns"] = request.wildcardDomainPatterns;
|
|
18224
20248
|
let req = new $OpenApi.OpenApiRequest({
|
|
20249
|
+
query: OpenApiUtil.query(query),
|
|
18225
20250
|
body: Util.toMap(request),
|
|
18226
20251
|
});
|
|
18227
|
-
|
|
20252
|
+
let params = new $OpenApi.Params({
|
|
20253
|
+
action: "SetWildcardDomainPatterns",
|
|
20254
|
+
version: "2016-07-14",
|
|
20255
|
+
protocol: "HTTPS",
|
|
20256
|
+
pathname: "/",
|
|
20257
|
+
method: "POST",
|
|
20258
|
+
authType: "AK",
|
|
20259
|
+
style: "RPC",
|
|
20260
|
+
reqBodyType: "json",
|
|
20261
|
+
bodyType: "json",
|
|
20262
|
+
});
|
|
20263
|
+
return $tea.cast<SetWildcardDomainPatternsResponse>(await this.callApi(params, req, runtime), new SetWildcardDomainPatternsResponse({}));
|
|
18228
20264
|
}
|
|
18229
20265
|
|
|
18230
20266
|
async setWildcardDomainPatterns(request: SetWildcardDomainPatternsRequest): Promise<SetWildcardDomainPatternsResponse> {
|
|
@@ -18234,10 +20270,29 @@ export default class Client extends OpenApi {
|
|
|
18234
20270
|
|
|
18235
20271
|
async switchApiWithOptions(request: SwitchApiRequest, runtime: $Util.RuntimeOptions): Promise<SwitchApiResponse> {
|
|
18236
20272
|
Util.validateModel(request);
|
|
20273
|
+
let query = { };
|
|
20274
|
+
query["ApiId"] = request.apiId;
|
|
20275
|
+
query["Description"] = request.description;
|
|
20276
|
+
query["GroupId"] = request.groupId;
|
|
20277
|
+
query["HistoryVersion"] = request.historyVersion;
|
|
20278
|
+
query["SecurityToken"] = request.securityToken;
|
|
20279
|
+
query["StageName"] = request.stageName;
|
|
18237
20280
|
let req = new $OpenApi.OpenApiRequest({
|
|
20281
|
+
query: OpenApiUtil.query(query),
|
|
18238
20282
|
body: Util.toMap(request),
|
|
18239
20283
|
});
|
|
18240
|
-
|
|
20284
|
+
let params = new $OpenApi.Params({
|
|
20285
|
+
action: "SwitchApi",
|
|
20286
|
+
version: "2016-07-14",
|
|
20287
|
+
protocol: "HTTPS",
|
|
20288
|
+
pathname: "/",
|
|
20289
|
+
method: "POST",
|
|
20290
|
+
authType: "AK",
|
|
20291
|
+
style: "RPC",
|
|
20292
|
+
reqBodyType: "json",
|
|
20293
|
+
bodyType: "json",
|
|
20294
|
+
});
|
|
20295
|
+
return $tea.cast<SwitchApiResponse>(await this.callApi(params, req, runtime), new SwitchApiResponse({}));
|
|
18241
20296
|
}
|
|
18242
20297
|
|
|
18243
20298
|
async switchApi(request: SwitchApiRequest): Promise<SwitchApiResponse> {
|
|
@@ -18247,10 +20302,27 @@ export default class Client extends OpenApi {
|
|
|
18247
20302
|
|
|
18248
20303
|
async tagResourcesWithOptions(request: TagResourcesRequest, runtime: $Util.RuntimeOptions): Promise<TagResourcesResponse> {
|
|
18249
20304
|
Util.validateModel(request);
|
|
20305
|
+
let query = { };
|
|
20306
|
+
query["ResourceId"] = request.resourceId;
|
|
20307
|
+
query["ResourceType"] = request.resourceType;
|
|
20308
|
+
query["SecurityToken"] = request.securityToken;
|
|
20309
|
+
query["Tag"] = request.tag;
|
|
18250
20310
|
let req = new $OpenApi.OpenApiRequest({
|
|
20311
|
+
query: OpenApiUtil.query(query),
|
|
18251
20312
|
body: Util.toMap(request),
|
|
18252
20313
|
});
|
|
18253
|
-
|
|
20314
|
+
let params = new $OpenApi.Params({
|
|
20315
|
+
action: "TagResources",
|
|
20316
|
+
version: "2016-07-14",
|
|
20317
|
+
protocol: "HTTPS",
|
|
20318
|
+
pathname: "/",
|
|
20319
|
+
method: "POST",
|
|
20320
|
+
authType: "AK",
|
|
20321
|
+
style: "RPC",
|
|
20322
|
+
reqBodyType: "json",
|
|
20323
|
+
bodyType: "json",
|
|
20324
|
+
});
|
|
20325
|
+
return $tea.cast<TagResourcesResponse>(await this.callApi(params, req, runtime), new TagResourcesResponse({}));
|
|
18254
20326
|
}
|
|
18255
20327
|
|
|
18256
20328
|
async tagResources(request: TagResourcesRequest): Promise<TagResourcesResponse> {
|
|
@@ -18260,10 +20332,28 @@ export default class Client extends OpenApi {
|
|
|
18260
20332
|
|
|
18261
20333
|
async untagResourcesWithOptions(request: UntagResourcesRequest, runtime: $Util.RuntimeOptions): Promise<UntagResourcesResponse> {
|
|
18262
20334
|
Util.validateModel(request);
|
|
20335
|
+
let query = { };
|
|
20336
|
+
query["All"] = request.all;
|
|
20337
|
+
query["ResourceId"] = request.resourceId;
|
|
20338
|
+
query["ResourceType"] = request.resourceType;
|
|
20339
|
+
query["SecurityToken"] = request.securityToken;
|
|
20340
|
+
query["TagKey"] = request.tagKey;
|
|
18263
20341
|
let req = new $OpenApi.OpenApiRequest({
|
|
20342
|
+
query: OpenApiUtil.query(query),
|
|
18264
20343
|
body: Util.toMap(request),
|
|
18265
20344
|
});
|
|
18266
|
-
|
|
20345
|
+
let params = new $OpenApi.Params({
|
|
20346
|
+
action: "UntagResources",
|
|
20347
|
+
version: "2016-07-14",
|
|
20348
|
+
protocol: "HTTPS",
|
|
20349
|
+
pathname: "/",
|
|
20350
|
+
method: "POST",
|
|
20351
|
+
authType: "AK",
|
|
20352
|
+
style: "RPC",
|
|
20353
|
+
reqBodyType: "json",
|
|
20354
|
+
bodyType: "json",
|
|
20355
|
+
});
|
|
20356
|
+
return $tea.cast<UntagResourcesResponse>(await this.callApi(params, req, runtime), new UntagResourcesResponse({}));
|
|
18267
20357
|
}
|
|
18268
20358
|
|
|
18269
20359
|
async untagResources(request: UntagResourcesRequest): Promise<UntagResourcesResponse> {
|