@alicloud/esa20240910 2.5.2 → 2.5.3
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 +147 -195
- package/dist/client.js +71 -246
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +206 -350
package/src/client.ts
CHANGED
|
@@ -4823,14 +4823,28 @@ export class CreateWaitingRoomRequest extends $tea.Model {
|
|
|
4823
4823
|
/**
|
|
4824
4824
|
* @remarks
|
|
4825
4825
|
* This parameter is required.
|
|
4826
|
+
*
|
|
4827
|
+
* @example
|
|
4828
|
+
* __aliwaitingroom_example
|
|
4826
4829
|
*/
|
|
4827
4830
|
cookieName?: string;
|
|
4831
|
+
/**
|
|
4832
|
+
* @example
|
|
4833
|
+
* Hello%20world!
|
|
4834
|
+
*/
|
|
4828
4835
|
customPageHtml?: string;
|
|
4829
4836
|
description?: string;
|
|
4837
|
+
/**
|
|
4838
|
+
* @example
|
|
4839
|
+
* on
|
|
4840
|
+
*/
|
|
4830
4841
|
disableSessionRenewalEnable?: string;
|
|
4831
4842
|
/**
|
|
4832
4843
|
* @remarks
|
|
4833
4844
|
* This parameter is required.
|
|
4845
|
+
*
|
|
4846
|
+
* @example
|
|
4847
|
+
* on
|
|
4834
4848
|
*/
|
|
4835
4849
|
enable?: string;
|
|
4836
4850
|
/**
|
|
@@ -4838,47 +4852,83 @@ export class CreateWaitingRoomRequest extends $tea.Model {
|
|
|
4838
4852
|
* This parameter is required.
|
|
4839
4853
|
*/
|
|
4840
4854
|
hostNameAndPath?: CreateWaitingRoomRequestHostNameAndPath[];
|
|
4855
|
+
/**
|
|
4856
|
+
* @example
|
|
4857
|
+
* on
|
|
4858
|
+
*/
|
|
4841
4859
|
jsonResponseEnable?: string;
|
|
4860
|
+
/**
|
|
4861
|
+
* @example
|
|
4862
|
+
* enus
|
|
4863
|
+
*/
|
|
4842
4864
|
language?: string;
|
|
4843
4865
|
/**
|
|
4844
4866
|
* @remarks
|
|
4845
4867
|
* This parameter is required.
|
|
4868
|
+
*
|
|
4869
|
+
* @example
|
|
4870
|
+
* waitingroom_example
|
|
4846
4871
|
*/
|
|
4847
4872
|
name?: string;
|
|
4848
4873
|
/**
|
|
4849
4874
|
* @remarks
|
|
4850
4875
|
* This parameter is required.
|
|
4876
|
+
*
|
|
4877
|
+
* @example
|
|
4878
|
+
* 200
|
|
4851
4879
|
*/
|
|
4852
4880
|
newUsersPerMinute?: string;
|
|
4881
|
+
/**
|
|
4882
|
+
* @example
|
|
4883
|
+
* on
|
|
4884
|
+
*/
|
|
4853
4885
|
queueAllEnable?: string;
|
|
4854
4886
|
/**
|
|
4855
4887
|
* @remarks
|
|
4856
4888
|
* This parameter is required.
|
|
4889
|
+
*
|
|
4890
|
+
* @example
|
|
4891
|
+
* fifo
|
|
4857
4892
|
*/
|
|
4858
4893
|
queuingMethod?: string;
|
|
4859
4894
|
/**
|
|
4860
4895
|
* @remarks
|
|
4861
4896
|
* This parameter is required.
|
|
4897
|
+
*
|
|
4898
|
+
* @example
|
|
4899
|
+
* 200
|
|
4862
4900
|
*/
|
|
4863
4901
|
queuingStatusCode?: string;
|
|
4864
4902
|
/**
|
|
4865
4903
|
* @remarks
|
|
4866
4904
|
* This parameter is required.
|
|
4905
|
+
*
|
|
4906
|
+
* @example
|
|
4907
|
+
* 5
|
|
4867
4908
|
*/
|
|
4868
4909
|
sessionDuration?: string;
|
|
4869
4910
|
/**
|
|
4870
4911
|
* @remarks
|
|
4871
4912
|
* This parameter is required.
|
|
4913
|
+
*
|
|
4914
|
+
* @example
|
|
4915
|
+
* 1234567890123
|
|
4872
4916
|
*/
|
|
4873
4917
|
siteId?: number;
|
|
4874
4918
|
/**
|
|
4875
4919
|
* @remarks
|
|
4876
4920
|
* This parameter is required.
|
|
4921
|
+
*
|
|
4922
|
+
* @example
|
|
4923
|
+
* 300
|
|
4877
4924
|
*/
|
|
4878
4925
|
totalActiveUsers?: string;
|
|
4879
4926
|
/**
|
|
4880
4927
|
* @remarks
|
|
4881
4928
|
* This parameter is required.
|
|
4929
|
+
*
|
|
4930
|
+
* @example
|
|
4931
|
+
* default
|
|
4882
4932
|
*/
|
|
4883
4933
|
waitingRoomType?: string;
|
|
4884
4934
|
static names(): { [key: string]: string } {
|
|
@@ -4934,14 +4984,28 @@ export class CreateWaitingRoomShrinkRequest extends $tea.Model {
|
|
|
4934
4984
|
/**
|
|
4935
4985
|
* @remarks
|
|
4936
4986
|
* This parameter is required.
|
|
4987
|
+
*
|
|
4988
|
+
* @example
|
|
4989
|
+
* __aliwaitingroom_example
|
|
4937
4990
|
*/
|
|
4938
4991
|
cookieName?: string;
|
|
4992
|
+
/**
|
|
4993
|
+
* @example
|
|
4994
|
+
* Hello%20world!
|
|
4995
|
+
*/
|
|
4939
4996
|
customPageHtml?: string;
|
|
4940
4997
|
description?: string;
|
|
4998
|
+
/**
|
|
4999
|
+
* @example
|
|
5000
|
+
* on
|
|
5001
|
+
*/
|
|
4941
5002
|
disableSessionRenewalEnable?: string;
|
|
4942
5003
|
/**
|
|
4943
5004
|
* @remarks
|
|
4944
5005
|
* This parameter is required.
|
|
5006
|
+
*
|
|
5007
|
+
* @example
|
|
5008
|
+
* on
|
|
4945
5009
|
*/
|
|
4946
5010
|
enable?: string;
|
|
4947
5011
|
/**
|
|
@@ -4949,47 +5013,83 @@ export class CreateWaitingRoomShrinkRequest extends $tea.Model {
|
|
|
4949
5013
|
* This parameter is required.
|
|
4950
5014
|
*/
|
|
4951
5015
|
hostNameAndPathShrink?: string;
|
|
5016
|
+
/**
|
|
5017
|
+
* @example
|
|
5018
|
+
* on
|
|
5019
|
+
*/
|
|
4952
5020
|
jsonResponseEnable?: string;
|
|
5021
|
+
/**
|
|
5022
|
+
* @example
|
|
5023
|
+
* enus
|
|
5024
|
+
*/
|
|
4953
5025
|
language?: string;
|
|
4954
5026
|
/**
|
|
4955
5027
|
* @remarks
|
|
4956
5028
|
* This parameter is required.
|
|
5029
|
+
*
|
|
5030
|
+
* @example
|
|
5031
|
+
* waitingroom_example
|
|
4957
5032
|
*/
|
|
4958
5033
|
name?: string;
|
|
4959
5034
|
/**
|
|
4960
5035
|
* @remarks
|
|
4961
5036
|
* This parameter is required.
|
|
5037
|
+
*
|
|
5038
|
+
* @example
|
|
5039
|
+
* 200
|
|
4962
5040
|
*/
|
|
4963
5041
|
newUsersPerMinute?: string;
|
|
5042
|
+
/**
|
|
5043
|
+
* @example
|
|
5044
|
+
* on
|
|
5045
|
+
*/
|
|
4964
5046
|
queueAllEnable?: string;
|
|
4965
5047
|
/**
|
|
4966
5048
|
* @remarks
|
|
4967
5049
|
* This parameter is required.
|
|
5050
|
+
*
|
|
5051
|
+
* @example
|
|
5052
|
+
* fifo
|
|
4968
5053
|
*/
|
|
4969
5054
|
queuingMethod?: string;
|
|
4970
5055
|
/**
|
|
4971
5056
|
* @remarks
|
|
4972
5057
|
* This parameter is required.
|
|
5058
|
+
*
|
|
5059
|
+
* @example
|
|
5060
|
+
* 200
|
|
4973
5061
|
*/
|
|
4974
5062
|
queuingStatusCode?: string;
|
|
4975
5063
|
/**
|
|
4976
5064
|
* @remarks
|
|
4977
5065
|
* This parameter is required.
|
|
5066
|
+
*
|
|
5067
|
+
* @example
|
|
5068
|
+
* 5
|
|
4978
5069
|
*/
|
|
4979
5070
|
sessionDuration?: string;
|
|
4980
5071
|
/**
|
|
4981
5072
|
* @remarks
|
|
4982
5073
|
* This parameter is required.
|
|
5074
|
+
*
|
|
5075
|
+
* @example
|
|
5076
|
+
* 1234567890123
|
|
4983
5077
|
*/
|
|
4984
5078
|
siteId?: number;
|
|
4985
5079
|
/**
|
|
4986
5080
|
* @remarks
|
|
4987
5081
|
* This parameter is required.
|
|
5082
|
+
*
|
|
5083
|
+
* @example
|
|
5084
|
+
* 300
|
|
4988
5085
|
*/
|
|
4989
5086
|
totalActiveUsers?: string;
|
|
4990
5087
|
/**
|
|
4991
5088
|
* @remarks
|
|
4992
5089
|
* This parameter is required.
|
|
5090
|
+
*
|
|
5091
|
+
* @example
|
|
5092
|
+
* default
|
|
4993
5093
|
*/
|
|
4994
5094
|
waitingRoomType?: string;
|
|
4995
5095
|
static names(): { [key: string]: string } {
|
|
@@ -5042,6 +5142,10 @@ export class CreateWaitingRoomShrinkRequest extends $tea.Model {
|
|
|
5042
5142
|
}
|
|
5043
5143
|
|
|
5044
5144
|
export class CreateWaitingRoomResponseBody extends $tea.Model {
|
|
5145
|
+
/**
|
|
5146
|
+
* @example
|
|
5147
|
+
* 85H66C7B-671A-4297-9187-2C4477247A74
|
|
5148
|
+
*/
|
|
5045
5149
|
requestId?: string;
|
|
5046
5150
|
static names(): { [key: string]: string } {
|
|
5047
5151
|
return {
|
|
@@ -15098,6 +15202,7 @@ export class ListWafManagedRulesRequest extends $tea.Model {
|
|
|
15098
15202
|
* 20
|
|
15099
15203
|
*/
|
|
15100
15204
|
pageSize?: number;
|
|
15205
|
+
protectionLevel?: number;
|
|
15101
15206
|
queryArgs?: ListWafManagedRulesRequestQueryArgs;
|
|
15102
15207
|
/**
|
|
15103
15208
|
* @remarks
|
|
@@ -15114,6 +15219,7 @@ export class ListWafManagedRulesRequest extends $tea.Model {
|
|
|
15114
15219
|
language: 'Language',
|
|
15115
15220
|
pageNumber: 'PageNumber',
|
|
15116
15221
|
pageSize: 'PageSize',
|
|
15222
|
+
protectionLevel: 'ProtectionLevel',
|
|
15117
15223
|
queryArgs: 'QueryArgs',
|
|
15118
15224
|
siteId: 'SiteId',
|
|
15119
15225
|
};
|
|
@@ -15126,6 +15232,7 @@ export class ListWafManagedRulesRequest extends $tea.Model {
|
|
|
15126
15232
|
language: 'string',
|
|
15127
15233
|
pageNumber: 'number',
|
|
15128
15234
|
pageSize: 'number',
|
|
15235
|
+
protectionLevel: 'number',
|
|
15129
15236
|
queryArgs: ListWafManagedRulesRequestQueryArgs,
|
|
15130
15237
|
siteId: 'number',
|
|
15131
15238
|
};
|
|
@@ -15168,6 +15275,7 @@ export class ListWafManagedRulesShrinkRequest extends $tea.Model {
|
|
|
15168
15275
|
* 20
|
|
15169
15276
|
*/
|
|
15170
15277
|
pageSize?: number;
|
|
15278
|
+
protectionLevel?: number;
|
|
15171
15279
|
queryArgsShrink?: string;
|
|
15172
15280
|
/**
|
|
15173
15281
|
* @remarks
|
|
@@ -15184,6 +15292,7 @@ export class ListWafManagedRulesShrinkRequest extends $tea.Model {
|
|
|
15184
15292
|
language: 'Language',
|
|
15185
15293
|
pageNumber: 'PageNumber',
|
|
15186
15294
|
pageSize: 'PageSize',
|
|
15295
|
+
protectionLevel: 'ProtectionLevel',
|
|
15187
15296
|
queryArgsShrink: 'QueryArgs',
|
|
15188
15297
|
siteId: 'SiteId',
|
|
15189
15298
|
};
|
|
@@ -15196,6 +15305,7 @@ export class ListWafManagedRulesShrinkRequest extends $tea.Model {
|
|
|
15196
15305
|
language: 'string',
|
|
15197
15306
|
pageNumber: 'number',
|
|
15198
15307
|
pageSize: 'number',
|
|
15308
|
+
protectionLevel: 'number',
|
|
15199
15309
|
queryArgsShrink: 'string',
|
|
15200
15310
|
siteId: 'number',
|
|
15201
15311
|
};
|
|
@@ -15781,10 +15891,12 @@ export class ListWafTemplateRulesRequest extends $tea.Model {
|
|
|
15781
15891
|
*/
|
|
15782
15892
|
phase?: string;
|
|
15783
15893
|
queryArgs?: ListWafTemplateRulesRequestQueryArgs;
|
|
15894
|
+
siteId?: number;
|
|
15784
15895
|
static names(): { [key: string]: string } {
|
|
15785
15896
|
return {
|
|
15786
15897
|
phase: 'Phase',
|
|
15787
15898
|
queryArgs: 'QueryArgs',
|
|
15899
|
+
siteId: 'SiteId',
|
|
15788
15900
|
};
|
|
15789
15901
|
}
|
|
15790
15902
|
|
|
@@ -15792,6 +15904,7 @@ export class ListWafTemplateRulesRequest extends $tea.Model {
|
|
|
15792
15904
|
return {
|
|
15793
15905
|
phase: 'string',
|
|
15794
15906
|
queryArgs: ListWafTemplateRulesRequestQueryArgs,
|
|
15907
|
+
siteId: 'number',
|
|
15795
15908
|
};
|
|
15796
15909
|
}
|
|
15797
15910
|
|
|
@@ -15807,10 +15920,12 @@ export class ListWafTemplateRulesShrinkRequest extends $tea.Model {
|
|
|
15807
15920
|
*/
|
|
15808
15921
|
phase?: string;
|
|
15809
15922
|
queryArgsShrink?: string;
|
|
15923
|
+
siteId?: number;
|
|
15810
15924
|
static names(): { [key: string]: string } {
|
|
15811
15925
|
return {
|
|
15812
15926
|
phase: 'Phase',
|
|
15813
15927
|
queryArgsShrink: 'QueryArgs',
|
|
15928
|
+
siteId: 'SiteId',
|
|
15814
15929
|
};
|
|
15815
15930
|
}
|
|
15816
15931
|
|
|
@@ -15818,6 +15933,7 @@ export class ListWafTemplateRulesShrinkRequest extends $tea.Model {
|
|
|
15818
15933
|
return {
|
|
15819
15934
|
phase: 'string',
|
|
15820
15935
|
queryArgsShrink: 'string',
|
|
15936
|
+
siteId: 'number',
|
|
15821
15937
|
};
|
|
15822
15938
|
}
|
|
15823
15939
|
|
|
@@ -17975,225 +18091,6 @@ export class StopScheduledPreloadExecutionResponse extends $tea.Model {
|
|
|
17975
18091
|
}
|
|
17976
18092
|
}
|
|
17977
18093
|
|
|
17978
|
-
export class TransformExpressionToMatchRequest extends $tea.Model {
|
|
17979
|
-
/**
|
|
17980
|
-
* @example
|
|
17981
|
-
* http_bot
|
|
17982
|
-
*/
|
|
17983
|
-
expression?: string;
|
|
17984
|
-
/**
|
|
17985
|
-
* @example
|
|
17986
|
-
* http_bot
|
|
17987
|
-
*/
|
|
17988
|
-
phase?: string;
|
|
17989
|
-
/**
|
|
17990
|
-
* @example
|
|
17991
|
-
* 1
|
|
17992
|
-
*/
|
|
17993
|
-
siteId?: number;
|
|
17994
|
-
static names(): { [key: string]: string } {
|
|
17995
|
-
return {
|
|
17996
|
-
expression: 'Expression',
|
|
17997
|
-
phase: 'Phase',
|
|
17998
|
-
siteId: 'SiteId',
|
|
17999
|
-
};
|
|
18000
|
-
}
|
|
18001
|
-
|
|
18002
|
-
static types(): { [key: string]: any } {
|
|
18003
|
-
return {
|
|
18004
|
-
expression: 'string',
|
|
18005
|
-
phase: 'string',
|
|
18006
|
-
siteId: 'number',
|
|
18007
|
-
};
|
|
18008
|
-
}
|
|
18009
|
-
|
|
18010
|
-
constructor(map?: { [key: string]: any }) {
|
|
18011
|
-
super(map);
|
|
18012
|
-
}
|
|
18013
|
-
}
|
|
18014
|
-
|
|
18015
|
-
export class TransformExpressionToMatchResponseBody extends $tea.Model {
|
|
18016
|
-
match?: WafRuleMatch;
|
|
18017
|
-
/**
|
|
18018
|
-
* @remarks
|
|
18019
|
-
* Id of the request
|
|
18020
|
-
*
|
|
18021
|
-
* @example
|
|
18022
|
-
* 36af3fcc-43d0-441c-86b1-428951dc8225
|
|
18023
|
-
*/
|
|
18024
|
-
requestId?: string;
|
|
18025
|
-
static names(): { [key: string]: string } {
|
|
18026
|
-
return {
|
|
18027
|
-
match: 'Match',
|
|
18028
|
-
requestId: 'RequestId',
|
|
18029
|
-
};
|
|
18030
|
-
}
|
|
18031
|
-
|
|
18032
|
-
static types(): { [key: string]: any } {
|
|
18033
|
-
return {
|
|
18034
|
-
match: WafRuleMatch,
|
|
18035
|
-
requestId: 'string',
|
|
18036
|
-
};
|
|
18037
|
-
}
|
|
18038
|
-
|
|
18039
|
-
constructor(map?: { [key: string]: any }) {
|
|
18040
|
-
super(map);
|
|
18041
|
-
}
|
|
18042
|
-
}
|
|
18043
|
-
|
|
18044
|
-
export class TransformExpressionToMatchResponse extends $tea.Model {
|
|
18045
|
-
headers?: { [key: string]: string };
|
|
18046
|
-
statusCode?: number;
|
|
18047
|
-
body?: TransformExpressionToMatchResponseBody;
|
|
18048
|
-
static names(): { [key: string]: string } {
|
|
18049
|
-
return {
|
|
18050
|
-
headers: 'headers',
|
|
18051
|
-
statusCode: 'statusCode',
|
|
18052
|
-
body: 'body',
|
|
18053
|
-
};
|
|
18054
|
-
}
|
|
18055
|
-
|
|
18056
|
-
static types(): { [key: string]: any } {
|
|
18057
|
-
return {
|
|
18058
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
18059
|
-
statusCode: 'number',
|
|
18060
|
-
body: TransformExpressionToMatchResponseBody,
|
|
18061
|
-
};
|
|
18062
|
-
}
|
|
18063
|
-
|
|
18064
|
-
constructor(map?: { [key: string]: any }) {
|
|
18065
|
-
super(map);
|
|
18066
|
-
}
|
|
18067
|
-
}
|
|
18068
|
-
|
|
18069
|
-
export class TransformMatchToExpressionRequest extends $tea.Model {
|
|
18070
|
-
/**
|
|
18071
|
-
* @example
|
|
18072
|
-
* http_bot
|
|
18073
|
-
*/
|
|
18074
|
-
match?: WafRuleMatch;
|
|
18075
|
-
/**
|
|
18076
|
-
* @example
|
|
18077
|
-
* http_bot
|
|
18078
|
-
*/
|
|
18079
|
-
phase?: string;
|
|
18080
|
-
/**
|
|
18081
|
-
* @example
|
|
18082
|
-
* 1
|
|
18083
|
-
*/
|
|
18084
|
-
siteId?: number;
|
|
18085
|
-
static names(): { [key: string]: string } {
|
|
18086
|
-
return {
|
|
18087
|
-
match: 'Match',
|
|
18088
|
-
phase: 'Phase',
|
|
18089
|
-
siteId: 'SiteId',
|
|
18090
|
-
};
|
|
18091
|
-
}
|
|
18092
|
-
|
|
18093
|
-
static types(): { [key: string]: any } {
|
|
18094
|
-
return {
|
|
18095
|
-
match: WafRuleMatch,
|
|
18096
|
-
phase: 'string',
|
|
18097
|
-
siteId: 'number',
|
|
18098
|
-
};
|
|
18099
|
-
}
|
|
18100
|
-
|
|
18101
|
-
constructor(map?: { [key: string]: any }) {
|
|
18102
|
-
super(map);
|
|
18103
|
-
}
|
|
18104
|
-
}
|
|
18105
|
-
|
|
18106
|
-
export class TransformMatchToExpressionShrinkRequest extends $tea.Model {
|
|
18107
|
-
/**
|
|
18108
|
-
* @example
|
|
18109
|
-
* http_bot
|
|
18110
|
-
*/
|
|
18111
|
-
matchShrink?: string;
|
|
18112
|
-
/**
|
|
18113
|
-
* @example
|
|
18114
|
-
* http_bot
|
|
18115
|
-
*/
|
|
18116
|
-
phase?: string;
|
|
18117
|
-
/**
|
|
18118
|
-
* @example
|
|
18119
|
-
* 1
|
|
18120
|
-
*/
|
|
18121
|
-
siteId?: number;
|
|
18122
|
-
static names(): { [key: string]: string } {
|
|
18123
|
-
return {
|
|
18124
|
-
matchShrink: 'Match',
|
|
18125
|
-
phase: 'Phase',
|
|
18126
|
-
siteId: 'SiteId',
|
|
18127
|
-
};
|
|
18128
|
-
}
|
|
18129
|
-
|
|
18130
|
-
static types(): { [key: string]: any } {
|
|
18131
|
-
return {
|
|
18132
|
-
matchShrink: 'string',
|
|
18133
|
-
phase: 'string',
|
|
18134
|
-
siteId: 'number',
|
|
18135
|
-
};
|
|
18136
|
-
}
|
|
18137
|
-
|
|
18138
|
-
constructor(map?: { [key: string]: any }) {
|
|
18139
|
-
super(map);
|
|
18140
|
-
}
|
|
18141
|
-
}
|
|
18142
|
-
|
|
18143
|
-
export class TransformMatchToExpressionResponseBody extends $tea.Model {
|
|
18144
|
-
expression?: string;
|
|
18145
|
-
/**
|
|
18146
|
-
* @remarks
|
|
18147
|
-
* Id of the request
|
|
18148
|
-
*
|
|
18149
|
-
* @example
|
|
18150
|
-
* 36af3fcc-43d0-441c-86b1-428951dc8225
|
|
18151
|
-
*/
|
|
18152
|
-
requestId?: string;
|
|
18153
|
-
static names(): { [key: string]: string } {
|
|
18154
|
-
return {
|
|
18155
|
-
expression: 'Expression',
|
|
18156
|
-
requestId: 'RequestId',
|
|
18157
|
-
};
|
|
18158
|
-
}
|
|
18159
|
-
|
|
18160
|
-
static types(): { [key: string]: any } {
|
|
18161
|
-
return {
|
|
18162
|
-
expression: 'string',
|
|
18163
|
-
requestId: 'string',
|
|
18164
|
-
};
|
|
18165
|
-
}
|
|
18166
|
-
|
|
18167
|
-
constructor(map?: { [key: string]: any }) {
|
|
18168
|
-
super(map);
|
|
18169
|
-
}
|
|
18170
|
-
}
|
|
18171
|
-
|
|
18172
|
-
export class TransformMatchToExpressionResponse extends $tea.Model {
|
|
18173
|
-
headers?: { [key: string]: string };
|
|
18174
|
-
statusCode?: number;
|
|
18175
|
-
body?: TransformMatchToExpressionResponseBody;
|
|
18176
|
-
static names(): { [key: string]: string } {
|
|
18177
|
-
return {
|
|
18178
|
-
headers: 'headers',
|
|
18179
|
-
statusCode: 'statusCode',
|
|
18180
|
-
body: 'body',
|
|
18181
|
-
};
|
|
18182
|
-
}
|
|
18183
|
-
|
|
18184
|
-
static types(): { [key: string]: any } {
|
|
18185
|
-
return {
|
|
18186
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
18187
|
-
statusCode: 'number',
|
|
18188
|
-
body: TransformMatchToExpressionResponseBody,
|
|
18189
|
-
};
|
|
18190
|
-
}
|
|
18191
|
-
|
|
18192
|
-
constructor(map?: { [key: string]: any }) {
|
|
18193
|
-
super(map);
|
|
18194
|
-
}
|
|
18195
|
-
}
|
|
18196
|
-
|
|
18197
18094
|
export class UntagResourcesRequest extends $tea.Model {
|
|
18198
18095
|
/**
|
|
18199
18096
|
* @remarks
|
|
@@ -21081,12 +20978,14 @@ export class WafBatchRuleSharedActions extends $tea.Model {
|
|
|
21081
20978
|
}
|
|
21082
20979
|
|
|
21083
20980
|
export class WafRuleConfigActionsBypass extends $tea.Model {
|
|
20981
|
+
customRules?: number[];
|
|
21084
20982
|
regularRules?: number[];
|
|
21085
20983
|
regularTypes?: string[];
|
|
21086
20984
|
skip?: string;
|
|
21087
20985
|
tags?: string[];
|
|
21088
20986
|
static names(): { [key: string]: string } {
|
|
21089
20987
|
return {
|
|
20988
|
+
customRules: 'CustomRules',
|
|
21090
20989
|
regularRules: 'RegularRules',
|
|
21091
20990
|
regularTypes: 'RegularTypes',
|
|
21092
20991
|
skip: 'Skip',
|
|
@@ -21096,6 +20995,7 @@ export class WafRuleConfigActionsBypass extends $tea.Model {
|
|
|
21096
20995
|
|
|
21097
20996
|
static types(): { [key: string]: any } {
|
|
21098
20997
|
return {
|
|
20998
|
+
customRules: { 'type': 'array', 'itemType': 'number' },
|
|
21099
20999
|
regularRules: { 'type': 'array', 'itemType': 'number' },
|
|
21100
21000
|
regularTypes: { 'type': 'array', 'itemType': 'string' },
|
|
21101
21001
|
skip: 'string',
|
|
@@ -21697,6 +21597,37 @@ export class FieldContentValueFieldList extends $tea.Model {
|
|
|
21697
21597
|
}
|
|
21698
21598
|
}
|
|
21699
21599
|
|
|
21600
|
+
export class BatchCreateRecordsRequestRecordListAuthConf extends $tea.Model {
|
|
21601
|
+
accessKey?: string;
|
|
21602
|
+
authType?: string;
|
|
21603
|
+
region?: string;
|
|
21604
|
+
secretKey?: string;
|
|
21605
|
+
version?: string;
|
|
21606
|
+
static names(): { [key: string]: string } {
|
|
21607
|
+
return {
|
|
21608
|
+
accessKey: 'AccessKey',
|
|
21609
|
+
authType: 'AuthType',
|
|
21610
|
+
region: 'Region',
|
|
21611
|
+
secretKey: 'SecretKey',
|
|
21612
|
+
version: 'Version',
|
|
21613
|
+
};
|
|
21614
|
+
}
|
|
21615
|
+
|
|
21616
|
+
static types(): { [key: string]: any } {
|
|
21617
|
+
return {
|
|
21618
|
+
accessKey: 'string',
|
|
21619
|
+
authType: 'string',
|
|
21620
|
+
region: 'string',
|
|
21621
|
+
secretKey: 'string',
|
|
21622
|
+
version: 'string',
|
|
21623
|
+
};
|
|
21624
|
+
}
|
|
21625
|
+
|
|
21626
|
+
constructor(map?: { [key: string]: any }) {
|
|
21627
|
+
super(map);
|
|
21628
|
+
}
|
|
21629
|
+
}
|
|
21630
|
+
|
|
21700
21631
|
export class BatchCreateRecordsRequestRecordListData extends $tea.Model {
|
|
21701
21632
|
/**
|
|
21702
21633
|
* @example
|
|
@@ -21812,6 +21743,7 @@ export class BatchCreateRecordsRequestRecordListData extends $tea.Model {
|
|
|
21812
21743
|
}
|
|
21813
21744
|
|
|
21814
21745
|
export class BatchCreateRecordsRequestRecordList extends $tea.Model {
|
|
21746
|
+
authConf?: BatchCreateRecordsRequestRecordListAuthConf;
|
|
21815
21747
|
/**
|
|
21816
21748
|
* @example
|
|
21817
21749
|
* web
|
|
@@ -21866,6 +21798,7 @@ export class BatchCreateRecordsRequestRecordList extends $tea.Model {
|
|
|
21866
21798
|
type?: string;
|
|
21867
21799
|
static names(): { [key: string]: string } {
|
|
21868
21800
|
return {
|
|
21801
|
+
authConf: 'AuthConf',
|
|
21869
21802
|
bizName: 'BizName',
|
|
21870
21803
|
data: 'Data',
|
|
21871
21804
|
proxied: 'Proxied',
|
|
@@ -21878,6 +21811,7 @@ export class BatchCreateRecordsRequestRecordList extends $tea.Model {
|
|
|
21878
21811
|
|
|
21879
21812
|
static types(): { [key: string]: any } {
|
|
21880
21813
|
return {
|
|
21814
|
+
authConf: BatchCreateRecordsRequestRecordListAuthConf,
|
|
21881
21815
|
bizName: 'string',
|
|
21882
21816
|
data: BatchCreateRecordsRequestRecordListData,
|
|
21883
21817
|
proxied: 'boolean',
|
|
@@ -23426,16 +23360,25 @@ export class CreateWaitingRoomRequestHostNameAndPath extends $tea.Model {
|
|
|
23426
23360
|
/**
|
|
23427
23361
|
* @remarks
|
|
23428
23362
|
* This parameter is required.
|
|
23363
|
+
*
|
|
23364
|
+
* @example
|
|
23365
|
+
* example.com
|
|
23429
23366
|
*/
|
|
23430
23367
|
domain?: string;
|
|
23431
23368
|
/**
|
|
23432
23369
|
* @remarks
|
|
23433
23370
|
* This parameter is required.
|
|
23371
|
+
*
|
|
23372
|
+
* @example
|
|
23373
|
+
* /test
|
|
23434
23374
|
*/
|
|
23435
23375
|
path?: string;
|
|
23436
23376
|
/**
|
|
23437
23377
|
* @remarks
|
|
23438
23378
|
* This parameter is required.
|
|
23379
|
+
*
|
|
23380
|
+
* @example
|
|
23381
|
+
* test.
|
|
23439
23382
|
*/
|
|
23440
23383
|
subdomain?: string;
|
|
23441
23384
|
static names(): { [key: string]: string } {
|
|
@@ -24285,11 +24228,6 @@ export class GetEdgeContainerAppVersionResponseBodyVersionContainers extends $te
|
|
|
24285
24228
|
* {\\"exec\\":{\\"command\\":[\\"touch\\",\\"/home/admin/checkpoststartV1\\"]}}
|
|
24286
24229
|
*/
|
|
24287
24230
|
postStart?: string;
|
|
24288
|
-
/**
|
|
24289
|
-
* @example
|
|
24290
|
-
* sh prestart.sh "echo hello world"
|
|
24291
|
-
*/
|
|
24292
|
-
preStart?: string;
|
|
24293
24231
|
/**
|
|
24294
24232
|
* @example
|
|
24295
24233
|
* sh prestop.sh "echo hello world"
|
|
@@ -24317,7 +24255,6 @@ export class GetEdgeContainerAppVersionResponseBodyVersionContainers extends $te
|
|
|
24317
24255
|
isACRImage: 'IsACRImage',
|
|
24318
24256
|
name: 'Name',
|
|
24319
24257
|
postStart: 'PostStart',
|
|
24320
|
-
preStart: 'PreStart',
|
|
24321
24258
|
preStop: 'PreStop',
|
|
24322
24259
|
probeContent: 'ProbeContent',
|
|
24323
24260
|
probeType: 'ProbeType',
|
|
@@ -24336,7 +24273,6 @@ export class GetEdgeContainerAppVersionResponseBodyVersionContainers extends $te
|
|
|
24336
24273
|
isACRImage: 'boolean',
|
|
24337
24274
|
name: 'string',
|
|
24338
24275
|
postStart: 'string',
|
|
24339
|
-
preStart: 'string',
|
|
24340
24276
|
preStop: 'string',
|
|
24341
24277
|
probeContent: GetEdgeContainerAppVersionResponseBodyVersionContainersProbeContent,
|
|
24342
24278
|
probeType: 'string',
|
|
@@ -25824,11 +25760,6 @@ export class ListEdgeContainerAppVersionsResponseBodyVersionsContainers extends
|
|
|
25824
25760
|
* {\\"exec\\":{\\"command\\":[\\"bash\\",\\"-c\\",\\"cd /home/admin/
|
|
25825
25761
|
*/
|
|
25826
25762
|
postStart?: string;
|
|
25827
|
-
/**
|
|
25828
|
-
* @example
|
|
25829
|
-
* sh start.sh
|
|
25830
|
-
*/
|
|
25831
|
-
preStart?: string;
|
|
25832
25763
|
/**
|
|
25833
25764
|
* @example
|
|
25834
25765
|
* sh stop.sh
|
|
@@ -25853,7 +25784,6 @@ export class ListEdgeContainerAppVersionsResponseBodyVersionsContainers extends
|
|
|
25853
25784
|
image: 'Image',
|
|
25854
25785
|
name: 'Name',
|
|
25855
25786
|
postStart: 'PostStart',
|
|
25856
|
-
preStart: 'PreStart',
|
|
25857
25787
|
preStop: 'PreStop',
|
|
25858
25788
|
probeContent: 'ProbeContent',
|
|
25859
25789
|
probeType: 'ProbeType',
|
|
@@ -25869,7 +25799,6 @@ export class ListEdgeContainerAppVersionsResponseBodyVersionsContainers extends
|
|
|
25869
25799
|
image: 'string',
|
|
25870
25800
|
name: 'string',
|
|
25871
25801
|
postStart: 'string',
|
|
25872
|
-
preStart: 'string',
|
|
25873
25802
|
preStop: 'string',
|
|
25874
25803
|
probeContent: ListEdgeContainerAppVersionsResponseBodyVersionsContainersProbeContent,
|
|
25875
25804
|
probeType: 'string',
|
|
@@ -27626,6 +27555,7 @@ export class ListUserRatePlanInstancesResponseBodyInstanceInfo extends $tea.Mode
|
|
|
27626
27555
|
* PREPAY
|
|
27627
27556
|
*/
|
|
27628
27557
|
billingMode?: string;
|
|
27558
|
+
botInstanceLevel?: string;
|
|
27629
27559
|
/**
|
|
27630
27560
|
* @example
|
|
27631
27561
|
* domestic,overseas
|
|
@@ -27636,11 +27566,17 @@ export class ListUserRatePlanInstancesResponseBodyInstanceInfo extends $tea.Mode
|
|
|
27636
27566
|
* YYYY-MM-DDThh:mm:ssZ
|
|
27637
27567
|
*/
|
|
27638
27568
|
createTime?: string;
|
|
27569
|
+
crossborderTraffic?: string;
|
|
27570
|
+
ddosBurstableDomesticProtection?: string;
|
|
27571
|
+
ddosBurstableOverseasProtection?: string;
|
|
27572
|
+
ddosInstanceLevel?: string;
|
|
27639
27573
|
/**
|
|
27640
27574
|
* @example
|
|
27641
27575
|
* 3
|
|
27642
27576
|
*/
|
|
27643
27577
|
duration?: number;
|
|
27578
|
+
edgeRoutineRquest?: string;
|
|
27579
|
+
edgeWafRequest?: string;
|
|
27644
27580
|
/**
|
|
27645
27581
|
* @example
|
|
27646
27582
|
* YYYY-MM-DDThh:mm:ssZ
|
|
@@ -27651,11 +27587,14 @@ export class ListUserRatePlanInstancesResponseBodyInstanceInfo extends $tea.Mode
|
|
|
27651
27587
|
* sp-xcdn-96wblslz****
|
|
27652
27588
|
*/
|
|
27653
27589
|
instanceId?: string;
|
|
27590
|
+
layer4Traffic?: string;
|
|
27591
|
+
layer4TrafficIntl?: string;
|
|
27654
27592
|
/**
|
|
27655
27593
|
* @example
|
|
27656
27594
|
* basic
|
|
27657
27595
|
*/
|
|
27658
27596
|
planName?: string;
|
|
27597
|
+
planTraffic?: string;
|
|
27659
27598
|
/**
|
|
27660
27599
|
* @example
|
|
27661
27600
|
* normal
|
|
@@ -27667,6 +27606,8 @@ export class ListUserRatePlanInstancesResponseBodyInstanceInfo extends $tea.Mode
|
|
|
27667
27606
|
*/
|
|
27668
27607
|
siteQuota?: string;
|
|
27669
27608
|
sites?: ListUserRatePlanInstancesResponseBodyInstanceInfoSites[];
|
|
27609
|
+
smartRoutingRequest?: string;
|
|
27610
|
+
staticRequest?: string;
|
|
27670
27611
|
/**
|
|
27671
27612
|
* @example
|
|
27672
27613
|
* online
|
|
@@ -27675,15 +27616,27 @@ export class ListUserRatePlanInstancesResponseBodyInstanceInfo extends $tea.Mode
|
|
|
27675
27616
|
static names(): { [key: string]: string } {
|
|
27676
27617
|
return {
|
|
27677
27618
|
billingMode: 'BillingMode',
|
|
27619
|
+
botInstanceLevel: 'BotInstanceLevel',
|
|
27678
27620
|
coverages: 'Coverages',
|
|
27679
27621
|
createTime: 'CreateTime',
|
|
27622
|
+
crossborderTraffic: 'CrossborderTraffic',
|
|
27623
|
+
ddosBurstableDomesticProtection: 'DdosBurstableDomesticProtection',
|
|
27624
|
+
ddosBurstableOverseasProtection: 'DdosBurstableOverseasProtection',
|
|
27625
|
+
ddosInstanceLevel: 'DdosInstanceLevel',
|
|
27680
27626
|
duration: 'Duration',
|
|
27627
|
+
edgeRoutineRquest: 'EdgeRoutineRquest',
|
|
27628
|
+
edgeWafRequest: 'EdgeWafRequest',
|
|
27681
27629
|
expireTime: 'ExpireTime',
|
|
27682
27630
|
instanceId: 'InstanceId',
|
|
27631
|
+
layer4Traffic: 'Layer4Traffic',
|
|
27632
|
+
layer4TrafficIntl: 'Layer4TrafficIntl',
|
|
27683
27633
|
planName: 'PlanName',
|
|
27634
|
+
planTraffic: 'PlanTraffic',
|
|
27684
27635
|
planType: 'PlanType',
|
|
27685
27636
|
siteQuota: 'SiteQuota',
|
|
27686
27637
|
sites: 'Sites',
|
|
27638
|
+
smartRoutingRequest: 'SmartRoutingRequest',
|
|
27639
|
+
staticRequest: 'StaticRequest',
|
|
27687
27640
|
status: 'Status',
|
|
27688
27641
|
};
|
|
27689
27642
|
}
|
|
@@ -27691,15 +27644,27 @@ export class ListUserRatePlanInstancesResponseBodyInstanceInfo extends $tea.Mode
|
|
|
27691
27644
|
static types(): { [key: string]: any } {
|
|
27692
27645
|
return {
|
|
27693
27646
|
billingMode: 'string',
|
|
27647
|
+
botInstanceLevel: 'string',
|
|
27694
27648
|
coverages: 'string',
|
|
27695
27649
|
createTime: 'string',
|
|
27650
|
+
crossborderTraffic: 'string',
|
|
27651
|
+
ddosBurstableDomesticProtection: 'string',
|
|
27652
|
+
ddosBurstableOverseasProtection: 'string',
|
|
27653
|
+
ddosInstanceLevel: 'string',
|
|
27696
27654
|
duration: 'number',
|
|
27655
|
+
edgeRoutineRquest: 'string',
|
|
27656
|
+
edgeWafRequest: 'string',
|
|
27697
27657
|
expireTime: 'string',
|
|
27698
27658
|
instanceId: 'string',
|
|
27659
|
+
layer4Traffic: 'string',
|
|
27660
|
+
layer4TrafficIntl: 'string',
|
|
27699
27661
|
planName: 'string',
|
|
27662
|
+
planTraffic: 'string',
|
|
27700
27663
|
planType: 'string',
|
|
27701
27664
|
siteQuota: 'string',
|
|
27702
27665
|
sites: { 'type': 'array', 'itemType': ListUserRatePlanInstancesResponseBodyInstanceInfoSites },
|
|
27666
|
+
smartRoutingRequest: 'string',
|
|
27667
|
+
staticRequest: 'string',
|
|
27703
27668
|
status: 'string',
|
|
27704
27669
|
};
|
|
27705
27670
|
}
|
|
@@ -27720,11 +27685,6 @@ export class ListWafManagedRulesRequestQueryArgs extends $tea.Model {
|
|
|
27720
27685
|
* example
|
|
27721
27686
|
*/
|
|
27722
27687
|
idNameLike?: string;
|
|
27723
|
-
/**
|
|
27724
|
-
* @example
|
|
27725
|
-
* 1
|
|
27726
|
-
*/
|
|
27727
|
-
protectionLevel?: number;
|
|
27728
27688
|
protectionLevels?: number[];
|
|
27729
27689
|
/**
|
|
27730
27690
|
* @example
|
|
@@ -27735,7 +27695,6 @@ export class ListWafManagedRulesRequestQueryArgs extends $tea.Model {
|
|
|
27735
27695
|
return {
|
|
27736
27696
|
action: 'Action',
|
|
27737
27697
|
idNameLike: 'IdNameLike',
|
|
27738
|
-
protectionLevel: 'ProtectionLevel',
|
|
27739
27698
|
protectionLevels: 'ProtectionLevels',
|
|
27740
27699
|
status: 'Status',
|
|
27741
27700
|
};
|
|
@@ -27745,7 +27704,6 @@ export class ListWafManagedRulesRequestQueryArgs extends $tea.Model {
|
|
|
27745
27704
|
return {
|
|
27746
27705
|
action: 'string',
|
|
27747
27706
|
idNameLike: 'string',
|
|
27748
|
-
protectionLevel: 'number',
|
|
27749
27707
|
protectionLevels: { 'type': 'array', 'itemType': 'number' },
|
|
27750
27708
|
status: 'string',
|
|
27751
27709
|
};
|
|
@@ -35238,6 +35196,10 @@ export default class Client extends OpenApi {
|
|
|
35238
35196
|
query["PageSize"] = request.pageSize;
|
|
35239
35197
|
}
|
|
35240
35198
|
|
|
35199
|
+
if (!Util.isUnset(request.protectionLevel)) {
|
|
35200
|
+
query["ProtectionLevel"] = request.protectionLevel;
|
|
35201
|
+
}
|
|
35202
|
+
|
|
35241
35203
|
if (!Util.isUnset(request.queryArgsShrink)) {
|
|
35242
35204
|
query["QueryArgs"] = request.queryArgsShrink;
|
|
35243
35205
|
}
|
|
@@ -35480,6 +35442,10 @@ export default class Client extends OpenApi {
|
|
|
35480
35442
|
query["QueryArgs"] = request.queryArgsShrink;
|
|
35481
35443
|
}
|
|
35482
35444
|
|
|
35445
|
+
if (!Util.isUnset(request.siteId)) {
|
|
35446
|
+
query["SiteId"] = request.siteId;
|
|
35447
|
+
}
|
|
35448
|
+
|
|
35483
35449
|
let req = new $OpenApi.OpenApiRequest({
|
|
35484
35450
|
query: OpenApiUtil.query(query),
|
|
35485
35451
|
});
|
|
@@ -36527,116 +36493,6 @@ export default class Client extends OpenApi {
|
|
|
36527
36493
|
return await this.stopScheduledPreloadExecutionWithOptions(request, runtime);
|
|
36528
36494
|
}
|
|
36529
36495
|
|
|
36530
|
-
/**
|
|
36531
|
-
* 将表达式转换为匹配项
|
|
36532
|
-
*
|
|
36533
|
-
* @param request - TransformExpressionToMatchRequest
|
|
36534
|
-
* @param runtime - runtime options for this request RuntimeOptions
|
|
36535
|
-
* @returns TransformExpressionToMatchResponse
|
|
36536
|
-
*/
|
|
36537
|
-
async transformExpressionToMatchWithOptions(request: TransformExpressionToMatchRequest, runtime: $Util.RuntimeOptions): Promise<TransformExpressionToMatchResponse> {
|
|
36538
|
-
Util.validateModel(request);
|
|
36539
|
-
let query = { };
|
|
36540
|
-
if (!Util.isUnset(request.siteId)) {
|
|
36541
|
-
query["SiteId"] = request.siteId;
|
|
36542
|
-
}
|
|
36543
|
-
|
|
36544
|
-
let body : {[key: string ]: any} = { };
|
|
36545
|
-
if (!Util.isUnset(request.expression)) {
|
|
36546
|
-
body["Expression"] = request.expression;
|
|
36547
|
-
}
|
|
36548
|
-
|
|
36549
|
-
if (!Util.isUnset(request.phase)) {
|
|
36550
|
-
body["Phase"] = request.phase;
|
|
36551
|
-
}
|
|
36552
|
-
|
|
36553
|
-
let req = new $OpenApi.OpenApiRequest({
|
|
36554
|
-
query: OpenApiUtil.query(query),
|
|
36555
|
-
body: OpenApiUtil.parseToMap(body),
|
|
36556
|
-
});
|
|
36557
|
-
let params = new $OpenApi.Params({
|
|
36558
|
-
action: "TransformExpressionToMatch",
|
|
36559
|
-
version: "2024-09-10",
|
|
36560
|
-
protocol: "HTTPS",
|
|
36561
|
-
pathname: "/",
|
|
36562
|
-
method: "POST",
|
|
36563
|
-
authType: "AK",
|
|
36564
|
-
style: "RPC",
|
|
36565
|
-
reqBodyType: "formData",
|
|
36566
|
-
bodyType: "json",
|
|
36567
|
-
});
|
|
36568
|
-
return $tea.cast<TransformExpressionToMatchResponse>(await this.callApi(params, req, runtime), new TransformExpressionToMatchResponse({}));
|
|
36569
|
-
}
|
|
36570
|
-
|
|
36571
|
-
/**
|
|
36572
|
-
* 将表达式转换为匹配项
|
|
36573
|
-
*
|
|
36574
|
-
* @param request - TransformExpressionToMatchRequest
|
|
36575
|
-
* @returns TransformExpressionToMatchResponse
|
|
36576
|
-
*/
|
|
36577
|
-
async transformExpressionToMatch(request: TransformExpressionToMatchRequest): Promise<TransformExpressionToMatchResponse> {
|
|
36578
|
-
let runtime = new $Util.RuntimeOptions({ });
|
|
36579
|
-
return await this.transformExpressionToMatchWithOptions(request, runtime);
|
|
36580
|
-
}
|
|
36581
|
-
|
|
36582
|
-
/**
|
|
36583
|
-
* 将匹配项转换为表达式
|
|
36584
|
-
*
|
|
36585
|
-
* @param tmpReq - TransformMatchToExpressionRequest
|
|
36586
|
-
* @param runtime - runtime options for this request RuntimeOptions
|
|
36587
|
-
* @returns TransformMatchToExpressionResponse
|
|
36588
|
-
*/
|
|
36589
|
-
async transformMatchToExpressionWithOptions(tmpReq: TransformMatchToExpressionRequest, runtime: $Util.RuntimeOptions): Promise<TransformMatchToExpressionResponse> {
|
|
36590
|
-
Util.validateModel(tmpReq);
|
|
36591
|
-
let request = new TransformMatchToExpressionShrinkRequest({ });
|
|
36592
|
-
OpenApiUtil.convert(tmpReq, request);
|
|
36593
|
-
if (!Util.isUnset(tmpReq.match)) {
|
|
36594
|
-
request.matchShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.match, "Match", "json");
|
|
36595
|
-
}
|
|
36596
|
-
|
|
36597
|
-
let query = { };
|
|
36598
|
-
if (!Util.isUnset(request.siteId)) {
|
|
36599
|
-
query["SiteId"] = request.siteId;
|
|
36600
|
-
}
|
|
36601
|
-
|
|
36602
|
-
let body : {[key: string ]: any} = { };
|
|
36603
|
-
if (!Util.isUnset(request.matchShrink)) {
|
|
36604
|
-
body["Match"] = request.matchShrink;
|
|
36605
|
-
}
|
|
36606
|
-
|
|
36607
|
-
if (!Util.isUnset(request.phase)) {
|
|
36608
|
-
body["Phase"] = request.phase;
|
|
36609
|
-
}
|
|
36610
|
-
|
|
36611
|
-
let req = new $OpenApi.OpenApiRequest({
|
|
36612
|
-
query: OpenApiUtil.query(query),
|
|
36613
|
-
body: OpenApiUtil.parseToMap(body),
|
|
36614
|
-
});
|
|
36615
|
-
let params = new $OpenApi.Params({
|
|
36616
|
-
action: "TransformMatchToExpression",
|
|
36617
|
-
version: "2024-09-10",
|
|
36618
|
-
protocol: "HTTPS",
|
|
36619
|
-
pathname: "/",
|
|
36620
|
-
method: "POST",
|
|
36621
|
-
authType: "AK",
|
|
36622
|
-
style: "RPC",
|
|
36623
|
-
reqBodyType: "formData",
|
|
36624
|
-
bodyType: "json",
|
|
36625
|
-
});
|
|
36626
|
-
return $tea.cast<TransformMatchToExpressionResponse>(await this.callApi(params, req, runtime), new TransformMatchToExpressionResponse({}));
|
|
36627
|
-
}
|
|
36628
|
-
|
|
36629
|
-
/**
|
|
36630
|
-
* 将匹配项转换为表达式
|
|
36631
|
-
*
|
|
36632
|
-
* @param request - TransformMatchToExpressionRequest
|
|
36633
|
-
* @returns TransformMatchToExpressionResponse
|
|
36634
|
-
*/
|
|
36635
|
-
async transformMatchToExpression(request: TransformMatchToExpressionRequest): Promise<TransformMatchToExpressionResponse> {
|
|
36636
|
-
let runtime = new $Util.RuntimeOptions({ });
|
|
36637
|
-
return await this.transformMatchToExpressionWithOptions(request, runtime);
|
|
36638
|
-
}
|
|
36639
|
-
|
|
36640
36496
|
/**
|
|
36641
36497
|
* 为资源列表统一解绑标签
|
|
36642
36498
|
*
|