@alicloud/ddosbgp20180720 3.0.0 → 3.1.0

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.
Files changed (148) hide show
  1. package/dist/client.d.ts +89 -53
  2. package/dist/client.js +147 -53
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AddIpRequest.d.ts +11 -10
  5. package/dist/models/AddIpRequest.js.map +1 -1
  6. package/dist/models/AddIpResponseBody.d.ts +1 -1
  7. package/dist/models/AttachAssetGroupToInstanceRequest.d.ts +2 -2
  8. package/dist/models/AttachAssetGroupToInstanceShrinkRequest.d.ts +2 -2
  9. package/dist/models/AttachToPolicyRequest.d.ts +27 -10
  10. package/dist/models/AttachToPolicyRequest.js.map +1 -1
  11. package/dist/models/AttachToPolicyResponseBody.d.ts +1 -1
  12. package/dist/models/AttachToPolicyShrinkRequest.d.ts +12 -1
  13. package/dist/models/AttachToPolicyShrinkRequest.js.map +1 -1
  14. package/dist/models/CheckGrantRequest.d.ts +4 -3
  15. package/dist/models/CheckGrantRequest.js.map +1 -1
  16. package/dist/models/CheckGrantResponseBody.d.ts +3 -2
  17. package/dist/models/CheckGrantResponseBody.js.map +1 -1
  18. package/dist/models/CreatePolicyRequest.d.ts +15 -5
  19. package/dist/models/CreatePolicyRequest.js.map +1 -1
  20. package/dist/models/CreatePolicyResponseBody.d.ts +2 -2
  21. package/dist/models/DeleteIpRequest.d.ts +8 -10
  22. package/dist/models/DeleteIpRequest.js.map +1 -1
  23. package/dist/models/DeleteIpResponseBody.d.ts +1 -1
  24. package/dist/models/DescribeAssetGroupRequest.d.ts +4 -3
  25. package/dist/models/DescribeAssetGroupRequest.js.map +1 -1
  26. package/dist/models/DescribeAssetGroupToInstanceRequest.d.ts +5 -4
  27. package/dist/models/DescribeAssetGroupToInstanceRequest.js.map +1 -1
  28. package/dist/models/DescribeDdosOriginInstanceBillRequest.d.ts +12 -14
  29. package/dist/models/DescribeDdosOriginInstanceBillRequest.js.map +1 -1
  30. package/dist/models/DescribeDdosOriginInstanceBillResponseBody.d.ts +72 -85
  31. package/dist/models/DescribeDdosOriginInstanceBillResponseBody.js.map +1 -1
  32. package/dist/models/DescribeInstanceListRequest.d.ts +13 -9
  33. package/dist/models/DescribeInstanceListRequest.js.map +1 -1
  34. package/dist/models/DescribeInstanceListResponseBody.d.ts +28 -18
  35. package/dist/models/DescribeInstanceListResponseBody.js.map +1 -1
  36. package/dist/models/DescribeNetworkLayerInterceptsRequest.d.ts +107 -0
  37. package/dist/models/DescribeNetworkLayerInterceptsRequest.js +78 -0
  38. package/dist/models/DescribeNetworkLayerInterceptsRequest.js.map +1 -0
  39. package/dist/models/DescribeNetworkLayerInterceptsResponse.d.ts +19 -0
  40. package/dist/models/DescribeNetworkLayerInterceptsResponse.js +69 -0
  41. package/dist/models/DescribeNetworkLayerInterceptsResponse.js.map +1 -0
  42. package/dist/models/DescribeNetworkLayerInterceptsResponseBody.d.ts +144 -0
  43. package/dist/models/DescribeNetworkLayerInterceptsResponseBody.js +106 -0
  44. package/dist/models/DescribeNetworkLayerInterceptsResponseBody.js.map +1 -0
  45. package/dist/models/DescribePackIpListRequest.d.ts +14 -11
  46. package/dist/models/DescribePackIpListRequest.js.map +1 -1
  47. package/dist/models/DescribePackIpListResponseBody.d.ts +28 -22
  48. package/dist/models/DescribePackIpListResponseBody.js.map +1 -1
  49. package/dist/models/DescribeRdMemberListRequest.d.ts +1 -1
  50. package/dist/models/DescribeRdMemberListResponseBody.d.ts +2 -2
  51. package/dist/models/DescribeRdStatusResponseBody.d.ts +5 -3
  52. package/dist/models/DescribeRdStatusResponseBody.js.map +1 -1
  53. package/dist/models/DescribeRegionsRequest.d.ts +4 -4
  54. package/dist/models/DescribeRegionsResponseBody.d.ts +5 -6
  55. package/dist/models/DescribeRegionsResponseBody.js.map +1 -1
  56. package/dist/models/DescribeTrafficRequest.d.ts +16 -21
  57. package/dist/models/DescribeTrafficRequest.js.map +1 -1
  58. package/dist/models/DescribeTrafficResponseBody.d.ts +11 -12
  59. package/dist/models/DescribeTrafficResponseBody.js.map +1 -1
  60. package/dist/models/DetachFromPolicyRequest.d.ts +26 -8
  61. package/dist/models/DetachFromPolicyRequest.js.map +1 -1
  62. package/dist/models/DetachFromPolicyResponseBody.d.ts +1 -1
  63. package/dist/models/DetachFromPolicyShrinkRequest.d.ts +16 -6
  64. package/dist/models/DetachFromPolicyShrinkRequest.js.map +1 -1
  65. package/dist/models/DettachAssetGroupToInstanceRequest.d.ts +5 -4
  66. package/dist/models/DettachAssetGroupToInstanceRequest.js.map +1 -1
  67. package/dist/models/DettachAssetGroupToInstanceShrinkRequest.d.ts +2 -2
  68. package/dist/models/ListPolicyAttachmentRequest.d.ts +27 -11
  69. package/dist/models/ListPolicyAttachmentRequest.js.map +1 -1
  70. package/dist/models/ListPolicyAttachmentResponseBody.d.ts +19 -13
  71. package/dist/models/ListPolicyAttachmentResponseBody.js.map +1 -1
  72. package/dist/models/ListPolicyAttachmentShrinkRequest.d.ts +18 -9
  73. package/dist/models/ListPolicyAttachmentShrinkRequest.js.map +1 -1
  74. package/dist/models/ListPolicyRequest.d.ts +5 -16
  75. package/dist/models/ListPolicyRequest.js.map +1 -1
  76. package/dist/models/ListPolicyResponseBody.d.ts +182 -94
  77. package/dist/models/ListPolicyResponseBody.js +41 -1
  78. package/dist/models/ListPolicyResponseBody.js.map +1 -1
  79. package/dist/models/ModifyPolicyContentRequest.d.ts +176 -90
  80. package/dist/models/ModifyPolicyContentRequest.js +41 -1
  81. package/dist/models/ModifyPolicyContentRequest.js.map +1 -1
  82. package/dist/models/ModifyPolicyContentResponseBody.d.ts +1 -1
  83. package/dist/models/ModifyPolicyContentShrinkRequest.d.ts +9 -2
  84. package/dist/models/ModifyPolicyContentShrinkRequest.js.map +1 -1
  85. package/dist/models/ModifyPolicyRequest.d.ts +181 -118
  86. package/dist/models/ModifyPolicyRequest.js +41 -1
  87. package/dist/models/ModifyPolicyRequest.js.map +1 -1
  88. package/dist/models/ModifyPolicyResponseBody.d.ts +1 -1
  89. package/dist/models/ModifyPolicyShrinkRequest.d.ts +10 -26
  90. package/dist/models/ModifyPolicyShrinkRequest.js.map +1 -1
  91. package/dist/models/ModifyRemarkRequest.d.ts +5 -7
  92. package/dist/models/ModifyRemarkRequest.js.map +1 -1
  93. package/dist/models/ReleaseDdosOriginInstanceRequest.d.ts +1 -1
  94. package/dist/models/model.d.ts +7 -0
  95. package/dist/models/model.js +34 -20
  96. package/dist/models/model.js.map +1 -1
  97. package/package.json +2 -2
  98. package/src/client.ts +160 -53
  99. package/src/models/AddIpRequest.ts +11 -10
  100. package/src/models/AddIpResponseBody.ts +1 -1
  101. package/src/models/AttachAssetGroupToInstanceRequest.ts +2 -2
  102. package/src/models/AttachAssetGroupToInstanceShrinkRequest.ts +2 -2
  103. package/src/models/AttachToPolicyRequest.ts +27 -10
  104. package/src/models/AttachToPolicyResponseBody.ts +1 -1
  105. package/src/models/AttachToPolicyShrinkRequest.ts +12 -1
  106. package/src/models/CheckGrantRequest.ts +4 -3
  107. package/src/models/CheckGrantResponseBody.ts +3 -2
  108. package/src/models/CreatePolicyRequest.ts +15 -5
  109. package/src/models/CreatePolicyResponseBody.ts +2 -2
  110. package/src/models/DeleteIpRequest.ts +8 -10
  111. package/src/models/DeleteIpResponseBody.ts +1 -1
  112. package/src/models/DescribeAssetGroupRequest.ts +4 -3
  113. package/src/models/DescribeAssetGroupToInstanceRequest.ts +5 -4
  114. package/src/models/DescribeDdosOriginInstanceBillRequest.ts +12 -14
  115. package/src/models/DescribeDdosOriginInstanceBillResponseBody.ts +72 -85
  116. package/src/models/DescribeInstanceListRequest.ts +13 -9
  117. package/src/models/DescribeInstanceListResponseBody.ts +28 -18
  118. package/src/models/DescribeNetworkLayerInterceptsRequest.ts +140 -0
  119. package/src/models/DescribeNetworkLayerInterceptsResponse.ts +40 -0
  120. package/src/models/DescribeNetworkLayerInterceptsResponseBody.ts +196 -0
  121. package/src/models/DescribePackIpListRequest.ts +14 -11
  122. package/src/models/DescribePackIpListResponseBody.ts +28 -22
  123. package/src/models/DescribeRdMemberListRequest.ts +1 -1
  124. package/src/models/DescribeRdMemberListResponseBody.ts +2 -2
  125. package/src/models/DescribeRdStatusResponseBody.ts +5 -3
  126. package/src/models/DescribeRegionsRequest.ts +4 -4
  127. package/src/models/DescribeRegionsResponseBody.ts +5 -6
  128. package/src/models/DescribeTrafficRequest.ts +16 -21
  129. package/src/models/DescribeTrafficResponseBody.ts +11 -12
  130. package/src/models/DetachFromPolicyRequest.ts +26 -8
  131. package/src/models/DetachFromPolicyResponseBody.ts +1 -1
  132. package/src/models/DetachFromPolicyShrinkRequest.ts +16 -6
  133. package/src/models/DettachAssetGroupToInstanceRequest.ts +5 -4
  134. package/src/models/DettachAssetGroupToInstanceShrinkRequest.ts +2 -2
  135. package/src/models/ListPolicyAttachmentRequest.ts +27 -11
  136. package/src/models/ListPolicyAttachmentResponseBody.ts +19 -13
  137. package/src/models/ListPolicyAttachmentShrinkRequest.ts +18 -9
  138. package/src/models/ListPolicyRequest.ts +5 -16
  139. package/src/models/ListPolicyResponseBody.ts +213 -94
  140. package/src/models/ModifyPolicyContentRequest.ts +207 -90
  141. package/src/models/ModifyPolicyContentResponseBody.ts +1 -1
  142. package/src/models/ModifyPolicyContentShrinkRequest.ts +9 -2
  143. package/src/models/ModifyPolicyRequest.ts +212 -118
  144. package/src/models/ModifyPolicyResponseBody.ts +1 -1
  145. package/src/models/ModifyPolicyShrinkRequest.ts +10 -26
  146. package/src/models/ModifyRemarkRequest.ts +5 -7
  147. package/src/models/ReleaseDdosOriginInstanceRequest.ts +1 -1
  148. package/src/models/model.ts +7 -0
package/src/client.ts CHANGED
@@ -33,6 +33,10 @@ export default class Client extends OpenApi {
33
33
  'cn-shenzhen-finance-1': "ddosbgp.aliyuncs.com",
34
34
  'cn-shanghai-finance-1': "ddosbgp.aliyuncs.com",
35
35
  'cn-north-2-gov-1': "ddosbgp.aliyuncs.com",
36
+ 'us-west-1': "ddosbgp.us-west-1.aliyuncs.com",
37
+ 'us-east-1': "ddosbgp.us-east-1.aliyuncs.com",
38
+ 'cn-hongkong': "ddosbgp.cn-hongkong.aliyuncs.com",
39
+ 'ap-southeast-1': "ddosbgp.ap-southeast-1.aliyuncs.com",
36
40
  };
37
41
  this.checkConfig(config);
38
42
  this._endpoint = this.getEndpoint("ddosbgp", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
@@ -216,7 +220,10 @@ export default class Client extends OpenApi {
216
220
  }
217
221
 
218
222
  /**
219
- * Associates a mitigation policy to a protected object.
223
+ * Associates protection objects with a mitigation policy.
224
+ *
225
+ * @remarks
226
+ * A mitigation policy that is associated with protection objects cannot be deleted.
220
227
  *
221
228
  * @param tmpReq - AttachToPolicyRequest
222
229
  * @param runtime - runtime options for this request RuntimeOptions
@@ -261,7 +268,10 @@ export default class Client extends OpenApi {
261
268
  }
262
269
 
263
270
  /**
264
- * Associates a mitigation policy to a protected object.
271
+ * Associates protection objects with a mitigation policy.
272
+ *
273
+ * @remarks
274
+ * A mitigation policy that is associated with protection objects cannot be deleted.
265
275
  *
266
276
  * @param request - AttachToPolicyRequest
267
277
  * @returns AttachToPolicyResponse
@@ -368,6 +378,9 @@ export default class Client extends OpenApi {
368
378
  /**
369
379
  * Creates a mitigation policy.
370
380
  *
381
+ * @remarks
382
+ * A mitigation policy that is associated with protected objects cannot be deleted.
383
+ *
371
384
  * @param request - CreatePolicyRequest
372
385
  * @param runtime - runtime options for this request RuntimeOptions
373
386
  * @returns CreatePolicyResponse
@@ -407,6 +420,9 @@ export default class Client extends OpenApi {
407
420
  /**
408
421
  * Creates a mitigation policy.
409
422
  *
423
+ * @remarks
424
+ * A mitigation policy that is associated with protected objects cannot be deleted.
425
+ *
410
426
  * @param request - CreatePolicyRequest
411
427
  * @returns CreatePolicyResponse
412
428
  */
@@ -482,10 +498,7 @@ export default class Client extends OpenApi {
482
498
  }
483
499
 
484
500
  /**
485
- * Removes specific IP addresses from an Anti-DDoS Origin instance.
486
- *
487
- * @remarks
488
- * The Anti-DDoS Origin Enterprise instance no longer protects the IP addresses that are removed.
501
+ * Deletes an IP address from Anti-DDoS Origin and disables protection for that IP address.
489
502
  *
490
503
  * @param request - DeleteIpRequest
491
504
  * @param runtime - runtime options for this request RuntimeOptions
@@ -528,10 +541,7 @@ export default class Client extends OpenApi {
528
541
  }
529
542
 
530
543
  /**
531
- * Removes specific IP addresses from an Anti-DDoS Origin instance.
532
- *
533
- * @remarks
534
- * The Anti-DDoS Origin Enterprise instance no longer protects the IP addresses that are removed.
544
+ * Deletes an IP address from Anti-DDoS Origin and disables protection for that IP address.
535
545
  *
536
546
  * @param request - DeleteIpRequest
537
547
  * @returns DeleteIpResponse
@@ -840,7 +850,10 @@ export default class Client extends OpenApi {
840
850
  }
841
851
 
842
852
  /**
843
- * Queries the bill of an Anti-DDoS Origin (Pay-as-you-go) instance.
853
+ * Queries the pay-as-you-go billing information of an Anti-DDoS Origin instance.
854
+ *
855
+ * @remarks
856
+ * This operation is used to perform a paged query of the billing details of all Anti-DDoS Origin instances owned by the current Alibaba Cloud account. The billing details include instance IDs, validity periods, and statuses. Paging is supported for this query.
844
857
  *
845
858
  * @param request - DescribeDdosOriginInstanceBillRequest
846
859
  * @param runtime - runtime options for this request RuntimeOptions
@@ -883,7 +896,10 @@ export default class Client extends OpenApi {
883
896
  }
884
897
 
885
898
  /**
886
- * Queries the bill of an Anti-DDoS Origin (Pay-as-you-go) instance.
899
+ * Queries the pay-as-you-go billing information of an Anti-DDoS Origin instance.
900
+ *
901
+ * @remarks
902
+ * This operation is used to perform a paged query of the billing details of all Anti-DDoS Origin instances owned by the current Alibaba Cloud account. The billing details include instance IDs, validity periods, and statuses. Paging is supported for this query.
887
903
  *
888
904
  * @param request - DescribeDdosOriginInstanceBillRequest
889
905
  * @returns DescribeDdosOriginInstanceBillResponse
@@ -948,10 +964,10 @@ export default class Client extends OpenApi {
948
964
  }
949
965
 
950
966
  /**
951
- * Queries the details of all Anti-DDoS Origin instances.
967
+ * Retrieves the details of all Anti-DDoS Origin instances.
952
968
  *
953
969
  * @remarks
954
- * Queries the details of all Anti-DDoS Origin instances.
970
+ * Retrieves the details of all Anti-DDoS Origin instances.
955
971
  *
956
972
  * @param request - DescribeInstanceListRequest
957
973
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1030,10 +1046,10 @@ export default class Client extends OpenApi {
1030
1046
  }
1031
1047
 
1032
1048
  /**
1033
- * Queries the details of all Anti-DDoS Origin instances.
1049
+ * Retrieves the details of all Anti-DDoS Origin instances.
1034
1050
  *
1035
1051
  * @remarks
1036
- * Queries the details of all Anti-DDoS Origin instances.
1052
+ * Retrieves the details of all Anti-DDoS Origin instances.
1037
1053
  *
1038
1054
  * @param request - DescribeInstanceListRequest
1039
1055
  * @returns DescribeInstanceListResponse
@@ -1093,6 +1109,98 @@ export default class Client extends OpenApi {
1093
1109
  return await this.describeInstanceSpecsWithOptions(request, runtime);
1094
1110
  }
1095
1111
 
1112
+ /**
1113
+ * Queries the network-layer interception records of Anti-DDoS Origin instances.
1114
+ *
1115
+ * @remarks
1116
+ * This operation is used to perform a paged query of the details of Layer 3 and Layer 4 packet interception records for all Anti-DDoS Origin instances owned by the current Alibaba Cloud account. Paging is supported.
1117
+ * ### QPS limit
1118
+ * The single-user QPS limit for this operation is 10 calls per second. If the limit is exceeded, API invokes are throttled, which may affect your business. Invoke this operation at an appropriate frequency.
1119
+ *
1120
+ * @param request - DescribeNetworkLayerInterceptsRequest
1121
+ * @param runtime - runtime options for this request RuntimeOptions
1122
+ * @returns DescribeNetworkLayerInterceptsResponse
1123
+ */
1124
+ async describeNetworkLayerInterceptsWithOptions(request: $_model.DescribeNetworkLayerInterceptsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeNetworkLayerInterceptsResponse> {
1125
+ request.validate();
1126
+ let query = { };
1127
+ if (!$dara.isNull(request.destinationIp)) {
1128
+ query["DestinationIp"] = request.destinationIp;
1129
+ }
1130
+
1131
+ if (!$dara.isNull(request.destinationPort)) {
1132
+ query["DestinationPort"] = request.destinationPort;
1133
+ }
1134
+
1135
+ if (!$dara.isNull(request.endTime)) {
1136
+ query["EndTime"] = request.endTime;
1137
+ }
1138
+
1139
+ if (!$dara.isNull(request.instanceId)) {
1140
+ query["InstanceId"] = request.instanceId;
1141
+ }
1142
+
1143
+ if (!$dara.isNull(request.networkProtocol)) {
1144
+ query["NetworkProtocol"] = request.networkProtocol;
1145
+ }
1146
+
1147
+ if (!$dara.isNull(request.page)) {
1148
+ query["Page"] = request.page;
1149
+ }
1150
+
1151
+ if (!$dara.isNull(request.pageSize)) {
1152
+ query["PageSize"] = request.pageSize;
1153
+ }
1154
+
1155
+ if (!$dara.isNull(request.protocolNumber)) {
1156
+ query["ProtocolNumber"] = request.protocolNumber;
1157
+ }
1158
+
1159
+ if (!$dara.isNull(request.sourcePort)) {
1160
+ query["SourcePort"] = request.sourcePort;
1161
+ }
1162
+
1163
+ if (!$dara.isNull(request.srcIp)) {
1164
+ query["SrcIp"] = request.srcIp;
1165
+ }
1166
+
1167
+ if (!$dara.isNull(request.startTime)) {
1168
+ query["StartTime"] = request.startTime;
1169
+ }
1170
+
1171
+ let req = new $OpenApiUtil.OpenApiRequest({
1172
+ query: OpenApiUtil.query(query),
1173
+ });
1174
+ let params = new $OpenApiUtil.Params({
1175
+ action: "DescribeNetworkLayerIntercepts",
1176
+ version: "2018-07-20",
1177
+ protocol: "HTTPS",
1178
+ pathname: "/",
1179
+ method: "POST",
1180
+ authType: "AK",
1181
+ style: "RPC",
1182
+ reqBodyType: "formData",
1183
+ bodyType: "json",
1184
+ });
1185
+ return $dara.cast<$_model.DescribeNetworkLayerInterceptsResponse>(await this.callApi(params, req, runtime), new $_model.DescribeNetworkLayerInterceptsResponse({}));
1186
+ }
1187
+
1188
+ /**
1189
+ * Queries the network-layer interception records of Anti-DDoS Origin instances.
1190
+ *
1191
+ * @remarks
1192
+ * This operation is used to perform a paged query of the details of Layer 3 and Layer 4 packet interception records for all Anti-DDoS Origin instances owned by the current Alibaba Cloud account. Paging is supported.
1193
+ * ### QPS limit
1194
+ * The single-user QPS limit for this operation is 10 calls per second. If the limit is exceeded, API invokes are throttled, which may affect your business. Invoke this operation at an appropriate frequency.
1195
+ *
1196
+ * @param request - DescribeNetworkLayerInterceptsRequest
1197
+ * @returns DescribeNetworkLayerInterceptsResponse
1198
+ */
1199
+ async describeNetworkLayerIntercepts(request: $_model.DescribeNetworkLayerInterceptsRequest): Promise<$_model.DescribeNetworkLayerInterceptsResponse> {
1200
+ let runtime = new $dara.RuntimeOptions({ });
1201
+ return await this.describeNetworkLayerInterceptsWithOptions(request, runtime);
1202
+ }
1203
+
1096
1204
  /**
1097
1205
  * Queries the operation logs of an Anti-DDoS Origin instance.
1098
1206
  *
@@ -1182,12 +1290,12 @@ export default class Client extends OpenApi {
1182
1290
  }
1183
1291
 
1184
1292
  /**
1185
- * Queries the IP addresses that are protected by a specific Anti-DDoS Origin instance.
1293
+ * Queries the list of protected IP addresses for a single Anti-DDoS Origin instance.
1186
1294
  *
1187
1295
  * @remarks
1188
- * You can call the DescribePackIpList operation to query the details about each IP address that is protected by a specific Anti-DDoS Origin instance by page. The details include the IP address and the type of the cloud asset to which the IP address belongs. The details also include the status of the IP address, such as whether blackhole filtering is triggered for the IP address.
1189
- * ## Limits
1190
- * You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
1296
+ * You can call this operation to query a paginated list of protected IP addresses for an Anti-DDoS Origin instance. The query returns details such as the IP addresses, the types of cloud assets to which the IP addresses belong, and their current status, such as whether they are under blackhole filtering.
1297
+ * ### QPS limit
1298
+ * This operation has a queries per second (QPS) limit of 10 for each user. Calls that exceed this limit are throttled, which may affect your business. We recommend that you call this operation within this limit.
1191
1299
  *
1192
1300
  * @param request - DescribePackIpListRequest
1193
1301
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1246,12 +1354,12 @@ export default class Client extends OpenApi {
1246
1354
  }
1247
1355
 
1248
1356
  /**
1249
- * Queries the IP addresses that are protected by a specific Anti-DDoS Origin instance.
1357
+ * Queries the list of protected IP addresses for a single Anti-DDoS Origin instance.
1250
1358
  *
1251
1359
  * @remarks
1252
- * You can call the DescribePackIpList operation to query the details about each IP address that is protected by a specific Anti-DDoS Origin instance by page. The details include the IP address and the type of the cloud asset to which the IP address belongs. The details also include the status of the IP address, such as whether blackhole filtering is triggered for the IP address.
1253
- * ## Limits
1254
- * You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
1360
+ * You can call this operation to query a paginated list of protected IP addresses for an Anti-DDoS Origin instance. The query returns details such as the IP addresses, the types of cloud assets to which the IP addresses belong, and their current status, such as whether they are under blackhole filtering.
1361
+ * ### QPS limit
1362
+ * This operation has a queries per second (QPS) limit of 10 for each user. Calls that exceed this limit are throttled, which may affect your business. We recommend that you call this operation within this limit.
1255
1363
  *
1256
1364
  * @param request - DescribePackIpListRequest
1257
1365
  * @returns DescribePackIpListResponse
@@ -1314,7 +1422,6 @@ export default class Client extends OpenApi {
1314
1422
  /**
1315
1423
  * Queries the status of the multi-account management feature.
1316
1424
  *
1317
- * @param request - DescribeRdStatusRequest
1318
1425
  * @param runtime - runtime options for this request RuntimeOptions
1319
1426
  * @returns DescribeRdStatusResponse
1320
1427
  */
@@ -1344,7 +1451,7 @@ export default class Client extends OpenApi {
1344
1451
  }
1345
1452
 
1346
1453
  /**
1347
- * Queries the regions of assets that can be protected by Anti-DDoS Origin Enterprise in a specific region.
1454
+ * Queries all regions supported by Anti-DDoS Origin Enterprise.
1348
1455
  *
1349
1456
  * @param request - DescribeRegionsRequest
1350
1457
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1379,7 +1486,7 @@ export default class Client extends OpenApi {
1379
1486
  }
1380
1487
 
1381
1488
  /**
1382
- * Queries the regions of assets that can be protected by Anti-DDoS Origin Enterprise in a specific region.
1489
+ * Queries all regions supported by Anti-DDoS Origin Enterprise.
1383
1490
  *
1384
1491
  * @param request - DescribeRegionsRequest
1385
1492
  * @returns DescribeRegionsResponse
@@ -1390,13 +1497,13 @@ export default class Client extends OpenApi {
1390
1497
  }
1391
1498
 
1392
1499
  /**
1393
- * Queries traffic statistics of an Anti-DDoS Origin instance within a specific time period.
1500
+ * Queries the traffic statistics of a specified Anti-DDoS Origin instance within a specified time period.
1394
1501
  *
1395
1502
  * @remarks
1396
- * You can call the DescribeTraffic operation to query traffic statistics of an Anti-DDoS Origin instance within a specific time period.
1397
- * > When you call this operation, you must configure the **InstanceId** parameter to specify the Anti-DDoS Origin instance whose traffic statistics you want to query.
1398
- * ## Limits
1399
- * You can call this operation once per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
1503
+ * Queries the traffic statistics of a specified Anti-DDoS Origin instance within a specified time range.
1504
+ * > When calling this operation, you must set the **InstanceId** parameter to specify the Anti-DDoS Origin instance to query.
1505
+ * ### QPS limit
1506
+ * The single-user QPS limit for this operation is 1 call per second. If the limit is exceeded, the API call is throttled, which may affect your business. Call this operation as appropriate.
1400
1507
  *
1401
1508
  * @param request - DescribeTrafficRequest
1402
1509
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1459,13 +1566,13 @@ export default class Client extends OpenApi {
1459
1566
  }
1460
1567
 
1461
1568
  /**
1462
- * Queries traffic statistics of an Anti-DDoS Origin instance within a specific time period.
1569
+ * Queries the traffic statistics of a specified Anti-DDoS Origin instance within a specified time period.
1463
1570
  *
1464
1571
  * @remarks
1465
- * You can call the DescribeTraffic operation to query traffic statistics of an Anti-DDoS Origin instance within a specific time period.
1466
- * > When you call this operation, you must configure the **InstanceId** parameter to specify the Anti-DDoS Origin instance whose traffic statistics you want to query.
1467
- * ## Limits
1468
- * You can call this operation once per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
1572
+ * Queries the traffic statistics of a specified Anti-DDoS Origin instance within a specified time range.
1573
+ * > When calling this operation, you must set the **InstanceId** parameter to specify the Anti-DDoS Origin instance to query.
1574
+ * ### QPS limit
1575
+ * The single-user QPS limit for this operation is 1 call per second. If the limit is exceeded, the API call is throttled, which may affect your business. Call this operation as appropriate.
1469
1576
  *
1470
1577
  * @param request - DescribeTrafficRequest
1471
1578
  * @returns DescribeTrafficResponse
@@ -1476,7 +1583,7 @@ export default class Client extends OpenApi {
1476
1583
  }
1477
1584
 
1478
1585
  /**
1479
- * Removes protected objects from a mitigation policy.
1586
+ * Dissociates a mitigation policy from a protected object.
1480
1587
  *
1481
1588
  * @param tmpReq - DetachFromPolicyRequest
1482
1589
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1521,7 +1628,7 @@ export default class Client extends OpenApi {
1521
1628
  }
1522
1629
 
1523
1630
  /**
1524
- * Removes protected objects from a mitigation policy.
1631
+ * Dissociates a mitigation policy from a protected object.
1525
1632
  *
1526
1633
  * @param request - DetachFromPolicyRequest
1527
1634
  * @returns DetachFromPolicyResponse
@@ -1742,7 +1849,7 @@ export default class Client extends OpenApi {
1742
1849
  }
1743
1850
 
1744
1851
  /**
1745
- * Queries attachments to mitigation policies.
1852
+ * Queries the associations of mitigation policies.
1746
1853
  *
1747
1854
  * @param tmpReq - ListPolicyAttachmentRequest
1748
1855
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1799,7 +1906,7 @@ export default class Client extends OpenApi {
1799
1906
  }
1800
1907
 
1801
1908
  /**
1802
- * Queries attachments to mitigation policies.
1909
+ * Queries the associations of mitigation policies.
1803
1910
  *
1804
1911
  * @param request - ListPolicyAttachmentRequest
1805
1912
  * @returns ListPolicyAttachmentResponse
@@ -2010,10 +2117,10 @@ export default class Client extends OpenApi {
2010
2117
  }
2011
2118
 
2012
2119
  /**
2013
- * Modifies the content of the mitigation policy.
2120
+ * Modifies the content of a mitigation policy.
2014
2121
  *
2015
2122
  * @remarks
2016
- * Make sure that all request parameters are configured when you call this operation. If any parameter is left empty, the configuration is deleted.
2123
+ * Make sure that you pass all parameters when you call this operation. If a parameter is left empty, the corresponding configuration is deleted.
2017
2124
  *
2018
2125
  * @param tmpReq - ModifyPolicyContentRequest
2019
2126
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2062,10 +2169,10 @@ export default class Client extends OpenApi {
2062
2169
  }
2063
2170
 
2064
2171
  /**
2065
- * Modifies the content of the mitigation policy.
2172
+ * Modifies the content of a mitigation policy.
2066
2173
  *
2067
2174
  * @remarks
2068
- * Make sure that all request parameters are configured when you call this operation. If any parameter is left empty, the configuration is deleted.
2175
+ * Make sure that you pass all parameters when you call this operation. If a parameter is left empty, the corresponding configuration is deleted.
2069
2176
  *
2070
2177
  * @param request - ModifyPolicyContentRequest
2071
2178
  * @returns ModifyPolicyContentResponse
@@ -2076,12 +2183,12 @@ export default class Client extends OpenApi {
2076
2183
  }
2077
2184
 
2078
2185
  /**
2079
- * Adds remarks for a single Anti-DDoS Origin instance.
2186
+ * Sets a remark for a single Anti-DDoS Origin instance.
2080
2187
  *
2081
2188
  * @remarks
2082
- * You can call the ModifyRemark operation to add remarks for a single Anti-DDoS Origin instance.
2083
- * ### [](#qps-)Limits
2084
- * You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
2189
+ * Sets a remark for a single Anti-DDoS Origin instance.
2190
+ * ### QPS limit
2191
+ * The single-user QPS limit for this API is 10 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this API appropriately.
2085
2192
  *
2086
2193
  * @param request - ModifyRemarkRequest
2087
2194
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2124,12 +2231,12 @@ export default class Client extends OpenApi {
2124
2231
  }
2125
2232
 
2126
2233
  /**
2127
- * Adds remarks for a single Anti-DDoS Origin instance.
2234
+ * Sets a remark for a single Anti-DDoS Origin instance.
2128
2235
  *
2129
2236
  * @remarks
2130
- * You can call the ModifyRemark operation to add remarks for a single Anti-DDoS Origin instance.
2131
- * ### [](#qps-)Limits
2132
- * You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
2237
+ * Sets a remark for a single Anti-DDoS Origin instance.
2238
+ * ### QPS limit
2239
+ * The single-user QPS limit for this API is 10 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this API appropriately.
2133
2240
  *
2134
2241
  * @param request - ModifyRemarkRequest
2135
2242
  * @returns ModifyRemarkResponse
@@ -5,9 +5,9 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class AddIpRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The ID of the Anti-DDoS Origin instance.
8
+ * The ID of the Anti-DDoS Origin instance to manage.
9
9
  *
10
- * > You can call the [DescribeInstanceList](https://help.aliyun.com/document_detail/118698.html) operation to query the IDs of all Anti-DDoS Origin instances.
10
+ * > Call [DescribeInstanceList](https://help.aliyun.com/document_detail/118698.html) to query the IDs of all Anti-DDoS Origin instances.
11
11
  *
12
12
  * This parameter is required.
13
13
  *
@@ -17,22 +17,23 @@ export class AddIpRequest extends $dara.Model {
17
17
  instanceId?: string;
18
18
  /**
19
19
  * @remarks
20
- * The IP addresses that you want to add to the Anti-DDoS Origin instance. This parameter is a string consisting of JSON arrays. Each element in a JSON array is a JSON struct that includes the following fields:
20
+ * The list of IP addresses to add to the Anti-DDoS Origin instance for protection. The value is a string that is converted from a JSON array. Each element in the JSON array is a struct that contains the following fields:
21
21
  *
22
- * * **ip**: required. The IP address that you want to add. Data type: string.
23
- * * **member_uid**: optional. The member to which the asset belongs. Data type: string. This field is required only if the asset of a member is queried. Example: [{"ip":"121.41.XX.XX","member_uid":"120100811162\\*\\*\\*\\*"}].
22
+ * - **ip**: The IP address to add. This parameter is of the String type and is required.
23
+ *
24
+ * - **member_uid**: The ID of the member account that owns the asset. This parameter is of the String type and is optional. Specify this parameter only when you add an asset that belongs to a member account. For example: [{"ip":"121.41.XX.XX","member_uid":"120100811162\\*\\*\\*\\*"}]
24
25
  *
25
26
  * This parameter is required.
26
27
  *
27
28
  * @example
28
- * [{"ip":"1.XX.XX.1"},{"ip":"2.XX.XX.2"}]
29
+ * [{"ip":"121.41.XX.XX"},{"ip":"121.42.XX.XX"}]
29
30
  */
30
31
  ipList?: string;
31
32
  /**
32
33
  * @remarks
33
- * The ID of the region where the Anti-DDoS Origin instance resides.
34
+ * The region ID of the Anti-DDoS Origin instance.
34
35
  *
35
- * > You can call the [DescribeRegions](https://help.aliyun.com/document_detail/118703.html) operation to query the most recent region list.
36
+ * > Call [DescribeRegions](https://help.aliyun.com/document_detail/118703.html) to query information about all regions that Anti-DDoS Origin supports.
36
37
  *
37
38
  * @example
38
39
  * cn-hangzhou
@@ -40,9 +41,9 @@ export class AddIpRequest extends $dara.Model {
40
41
  regionId?: string;
41
42
  /**
42
43
  * @remarks
43
- * The ID of the resource group to which the Anti-DDoS Origin instance belongs in Resource Management. This parameter is empty by default, which indicates that the Anti-DDoS Origin instance belongs to the default resource group.
44
+ * The ID of the resource group in Resource Management to which the Anti-DDoS Origin instance belongs. If you leave this parameter empty, the instance is added to the default resource group.
44
45
  *
45
- * For information about resource groups, see [Create a resource group](https://help.aliyun.com/document_detail/94485.html).
46
+ * For more information about resource groups, see [Create a resource group](https://help.aliyun.com/document_detail/94485.html).
46
47
  *
47
48
  * @example
48
49
  * rg-acfm2pz25js****
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class AddIpResponseBody extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The request ID.
8
+ * The ID of the request.
9
9
  *
10
10
  * @example
11
11
  * C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E
@@ -80,7 +80,7 @@ export class AttachAssetGroupToInstanceRequest extends $dara.Model {
80
80
  * @remarks
81
81
  * The ID of the instance to query.
82
82
  *
83
- * > You can call the [DescribeInstanceList](https://help.aliyun.com/document_detail/118698.html) operation to query the IDs of all Anti-DDoS Origin instances of paid editions.
83
+ * > You can call the [DescribeInstanceList](https://help.aliyun.com/document_detail/118698.html) operation to query the IDs of all Anti-DDoS Origin instances of paid editions.
84
84
  *
85
85
  * This parameter is required.
86
86
  *
@@ -92,7 +92,7 @@ export class AttachAssetGroupToInstanceRequest extends $dara.Model {
92
92
  * @remarks
93
93
  * The ID of the region in which the instance resides.
94
94
  *
95
- * > You can call the [DescribeRegions](https://help.aliyun.com/document_detail/118703.html) operation to query the most recent region list.
95
+ * > You can call the [DescribeRegions](https://help.aliyun.com/document_detail/118703.html) operation to query the most recent region list.
96
96
  *
97
97
  * @example
98
98
  * cn-hangzhou
@@ -14,7 +14,7 @@ export class AttachAssetGroupToInstanceShrinkRequest extends $dara.Model {
14
14
  * @remarks
15
15
  * The ID of the instance to query.
16
16
  *
17
- * > You can call the [DescribeInstanceList](https://help.aliyun.com/document_detail/118698.html) operation to query the IDs of all Anti-DDoS Origin instances of paid editions.
17
+ * > You can call the [DescribeInstanceList](https://help.aliyun.com/document_detail/118698.html) operation to query the IDs of all Anti-DDoS Origin instances of paid editions.
18
18
  *
19
19
  * This parameter is required.
20
20
  *
@@ -26,7 +26,7 @@ export class AttachAssetGroupToInstanceShrinkRequest extends $dara.Model {
26
26
  * @remarks
27
27
  * The ID of the region in which the instance resides.
28
28
  *
29
- * > You can call the [DescribeRegions](https://help.aliyun.com/document_detail/118703.html) operation to query the most recent region list.
29
+ * > You can call the [DescribeRegions](https://help.aliyun.com/document_detail/118703.html) operation to query the most recent region list.
30
30
  *
31
31
  * @example
32
32
  * cn-hangzhou
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class AttachToPolicyRequestIpPortProtocolList extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The IP address of the protected object.
8
+ * The IP address of the protection object.
9
9
  *
10
10
  * This parameter is required.
11
11
  *
@@ -15,23 +15,29 @@ export class AttachToPolicyRequestIpPortProtocolList extends $dara.Model {
15
15
  ip?: string;
16
16
  /**
17
17
  * @remarks
18
- * The port number of the protected object.
19
- *
20
- * > This parameter is available for only port-specific mitigation policies.
18
+ * The port number of the protection object.
19
+ * > Only port-specific mitigation policies support this parameter.
21
20
  *
22
21
  * @example
23
22
  * 8*
24
23
  */
25
24
  port?: number;
26
- portRange?: string;
27
25
  /**
28
26
  * @remarks
29
- * The protocol type of the protected object. Valid values:
27
+ * The port range of the protection object.
28
+ * > Only port-specific mitigation policies support this parameter.
30
29
  *
31
- * * **tcp**
32
- * * **udp**
30
+ * @example
31
+ * 8*-9*
32
+ */
33
+ portRange?: string;
34
+ /**
35
+ * @remarks
36
+ * The protocol type of the protection object. Valid values:
33
37
  *
34
- * > This parameter is available for only port-specific mitigation policies.
38
+ * - **tcp**: Transmission Control Protocol.
39
+ * - **udp**: User Datagram Protocol.
40
+ * > Only port-specific mitigation policies support this parameter.
35
41
  *
36
42
  * @example
37
43
  * tcp
@@ -67,7 +73,7 @@ export class AttachToPolicyRequestIpPortProtocolList extends $dara.Model {
67
73
  export class AttachToPolicyRequest extends $dara.Model {
68
74
  /**
69
75
  * @remarks
70
- * The protected objects.
76
+ * The list of protection objects.
71
77
  *
72
78
  * This parameter is required.
73
79
  */
@@ -82,6 +88,17 @@ export class AttachToPolicyRequest extends $dara.Model {
82
88
  * cd8b4d70-e4e0-413a-b390-e71d********
83
89
  */
84
90
  policyId?: string;
91
+ /**
92
+ * @remarks
93
+ * The version of the port-specific mitigation policy. Valid values:
94
+ *
95
+ * - **Not specified**: Associates the default surf anti-DDoS engine policy.
96
+ * - **2**: Associates the new stream anti-DDoS engine policy.
97
+ * > Only port-specific mitigation policies support this parameter.
98
+ *
99
+ * @example
100
+ * 2
101
+ */
85
102
  portVersion?: string;
86
103
  static names(): { [key: string]: string } {
87
104
  return {
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class AttachToPolicyResponseBody extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The request ID.
8
+ * The request ID. Alibaba Cloud generates a unique identifier for each request. You can use the request ID to troubleshoot issues.
9
9
  *
10
10
  * @example
11
11
  * DC245DEE-9800-5579-BF99-189D6A5****
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class AttachToPolicyShrinkRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The protected objects.
8
+ * The list of protection objects.
9
9
  *
10
10
  * This parameter is required.
11
11
  */
@@ -20,6 +20,17 @@ export class AttachToPolicyShrinkRequest extends $dara.Model {
20
20
  * cd8b4d70-e4e0-413a-b390-e71d********
21
21
  */
22
22
  policyId?: string;
23
+ /**
24
+ * @remarks
25
+ * The version of the port-specific mitigation policy. Valid values:
26
+ *
27
+ * - **Not specified**: Associates the default surf anti-DDoS engine policy.
28
+ * - **2**: Associates the new stream anti-DDoS engine policy.
29
+ * > Only port-specific mitigation policies support this parameter.
30
+ *
31
+ * @example
32
+ * 2
33
+ */
23
34
  portVersion?: string;
24
35
  static names(): { [key: string]: string } {
25
36
  return {
@@ -7,8 +7,9 @@ export class CheckGrantRequest extends $dara.Model {
7
7
  * @remarks
8
8
  * Specifies whether to allow Anti-DDoS Origin to check the service-linked role. Valid values:
9
9
  *
10
- * * **true**
11
- * * **false**
10
+ * - **true**
11
+ *
12
+ * - **false**
12
13
  *
13
14
  * @example
14
15
  * true
@@ -18,7 +19,7 @@ export class CheckGrantRequest extends $dara.Model {
18
19
  * @remarks
19
20
  * The ID of the region where the Anti-DDoS Origin instance resides.
20
21
  *
21
- * > You can call the [DescribeRegions](https://help.aliyun.com/document_detail/118703.html) operation to query the most recent region list.
22
+ * > You can call the [DescribeRegions](https://help.aliyun.com/document_detail/118703.html) operation to query the most recent region list.
22
23
  *
23
24
  * @example
24
25
  * cn-hangzhou