@alicloud/cloudfw20171207 8.2.0 → 8.3.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 (71) hide show
  1. package/dist/client.d.ts +49 -34
  2. package/dist/client.js +130 -37
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AddAddressBookRequest.d.ts +291 -10
  5. package/dist/models/AddAddressBookRequest.js +146 -1
  6. package/dist/models/AddAddressBookRequest.js.map +1 -1
  7. package/dist/models/AddAddressBookResponseBody.d.ts +1 -1
  8. package/dist/models/AddAddressBookShrinkRequest.d.ts +186 -0
  9. package/dist/models/AddAddressBookShrinkRequest.js +135 -0
  10. package/dist/models/AddAddressBookShrinkRequest.js.map +1 -0
  11. package/dist/models/DescribeAclWhitelistRequest.d.ts +1 -2
  12. package/dist/models/DescribeAclWhitelistRequest.js.map +1 -1
  13. package/dist/models/DescribeAclWhitelistResponseBody.d.ts +11 -19
  14. package/dist/models/DescribeAclWhitelistResponseBody.js.map +1 -1
  15. package/dist/models/DescribeAddressBookRequest.d.ts +16 -9
  16. package/dist/models/DescribeAddressBookRequest.js +5 -0
  17. package/dist/models/DescribeAddressBookRequest.js.map +1 -1
  18. package/dist/models/DescribeAddressBookResponseBody.d.ts +304 -19
  19. package/dist/models/DescribeAddressBookResponseBody.js +146 -1
  20. package/dist/models/DescribeAddressBookResponseBody.js.map +1 -1
  21. package/dist/models/DescribeAddressBookShrinkRequest.d.ts +82 -0
  22. package/dist/models/DescribeAddressBookShrinkRequest.js +72 -0
  23. package/dist/models/DescribeAddressBookShrinkRequest.js.map +1 -0
  24. package/dist/models/DescribeFirewallTrafficTrendRequest.d.ts +12 -0
  25. package/dist/models/DescribeFirewallTrafficTrendRequest.js.map +1 -1
  26. package/dist/models/DescribeFirewallTrafficTrendResponseBody.d.ts +43 -0
  27. package/dist/models/DescribeFirewallTrafficTrendResponseBody.js.map +1 -1
  28. package/dist/models/DescribeOutgoingDomainDetailResponseBody.d.ts +6 -2
  29. package/dist/models/DescribeOutgoingDomainDetailResponseBody.js.map +1 -1
  30. package/dist/models/DescribeVpcFirewallTrafficTrendRequest.d.ts +69 -0
  31. package/dist/models/DescribeVpcFirewallTrafficTrendRequest.js +68 -0
  32. package/dist/models/DescribeVpcFirewallTrafficTrendRequest.js.map +1 -0
  33. package/dist/models/DescribeVpcFirewallTrafficTrendResponse.d.ts +19 -0
  34. package/dist/models/DescribeVpcFirewallTrafficTrendResponse.js +69 -0
  35. package/dist/models/DescribeVpcFirewallTrafficTrendResponse.js.map +1 -0
  36. package/dist/models/DescribeVpcFirewallTrafficTrendResponseBody.d.ts +214 -0
  37. package/dist/models/DescribeVpcFirewallTrafficTrendResponseBody.js +124 -0
  38. package/dist/models/DescribeVpcFirewallTrafficTrendResponseBody.js.map +1 -0
  39. package/dist/models/ModifyAddressBookRequest.d.ts +302 -17
  40. package/dist/models/ModifyAddressBookRequest.js +146 -1
  41. package/dist/models/ModifyAddressBookRequest.js.map +1 -1
  42. package/dist/models/ModifyAddressBookShrinkRequest.d.ts +192 -0
  43. package/dist/models/ModifyAddressBookShrinkRequest.js +135 -0
  44. package/dist/models/ModifyAddressBookShrinkRequest.js.map +1 -0
  45. package/dist/models/ModifyNatFirewallControlPolicyPositionRequest.d.ts +6 -9
  46. package/dist/models/ModifyNatFirewallControlPolicyPositionRequest.js.map +1 -1
  47. package/dist/models/ModifyNatFirewallControlPolicyPositionResponseBody.d.ts +1 -1
  48. package/dist/models/model.d.ts +23 -0
  49. package/dist/models/model.js +79 -32
  50. package/dist/models/model.js.map +1 -1
  51. package/package.json +1 -1
  52. package/src/client.ts +149 -37
  53. package/src/models/AddAddressBookRequest.ts +400 -10
  54. package/src/models/AddAddressBookResponseBody.ts +1 -1
  55. package/src/models/AddAddressBookShrinkRequest.ts +258 -0
  56. package/src/models/DescribeAclWhitelistRequest.ts +1 -2
  57. package/src/models/DescribeAclWhitelistResponseBody.ts +11 -19
  58. package/src/models/DescribeAddressBookRequest.ts +21 -9
  59. package/src/models/DescribeAddressBookResponseBody.ts +413 -19
  60. package/src/models/DescribeAddressBookShrinkRequest.ts +109 -0
  61. package/src/models/DescribeFirewallTrafficTrendRequest.ts +12 -0
  62. package/src/models/DescribeFirewallTrafficTrendResponseBody.ts +43 -0
  63. package/src/models/DescribeOutgoingDomainDetailResponseBody.ts +6 -2
  64. package/src/models/DescribeVpcFirewallTrafficTrendRequest.ts +92 -0
  65. package/src/models/DescribeVpcFirewallTrafficTrendResponse.ts +40 -0
  66. package/src/models/DescribeVpcFirewallTrafficTrendResponseBody.ts +284 -0
  67. package/src/models/ModifyAddressBookRequest.ts +411 -17
  68. package/src/models/ModifyAddressBookShrinkRequest.ts +264 -0
  69. package/src/models/ModifyNatFirewallControlPolicyPositionRequest.ts +6 -9
  70. package/src/models/ModifyNatFirewallControlPolicyPositionResponseBody.ts +1 -1
  71. package/src/models/model.ts +23 -0
package/dist/client.d.ts CHANGED
@@ -24,25 +24,25 @@ export default class Client extends OpenApi {
24
24
  */
25
25
  addAclBackupData(request: $_model.AddAclBackupDataRequest): Promise<$_model.AddAclBackupDataResponse>;
26
26
  /**
27
- * Create an address book, including IPv4 address book, ECS tag address book, IPv6 address book, domain address book, and ACK address book.
27
+ * Creates an address book, including IPv4 address books, ECS tag-based address books, IPv6 address books, domain name address books, and ACK address books.
28
28
  *
29
29
  * @remarks
30
- * This API operation is used to create an address book, including IPv4 address book, ECS tag address book, IPv6 address book, domain address book, and ACK address book.
31
- * ## QPS Limit
32
- * The single-user QPS limit for this API operation is 10 calls per second. If the limit is exceeded, API calls will be throttled, which may affect your business. Please make calls appropriately.
30
+ * This operation creates an address book, including IPv4 address books, ECS tag-based address books, IPv6 address books, domain name address books, and ACK address books.
31
+ * ## Rate limit
32
+ * The single-user QPS limit for this operation is 10 calls per second. If the limit is exceeded, the API call is throttled, which may affect your business. Call this operation at an appropriate frequency.
33
33
  *
34
- * @param request - AddAddressBookRequest
34
+ * @param tmpReq - AddAddressBookRequest
35
35
  * @param runtime - runtime options for this request RuntimeOptions
36
36
  * @returns AddAddressBookResponse
37
37
  */
38
- addAddressBookWithOptions(request: $_model.AddAddressBookRequest, runtime: $dara.RuntimeOptions): Promise<$_model.AddAddressBookResponse>;
38
+ addAddressBookWithOptions(tmpReq: $_model.AddAddressBookRequest, runtime: $dara.RuntimeOptions): Promise<$_model.AddAddressBookResponse>;
39
39
  /**
40
- * Create an address book, including IPv4 address book, ECS tag address book, IPv6 address book, domain address book, and ACK address book.
40
+ * Creates an address book, including IPv4 address books, ECS tag-based address books, IPv6 address books, domain name address books, and ACK address books.
41
41
  *
42
42
  * @remarks
43
- * This API operation is used to create an address book, including IPv4 address book, ECS tag address book, IPv6 address book, domain address book, and ACK address book.
44
- * ## QPS Limit
45
- * The single-user QPS limit for this API operation is 10 calls per second. If the limit is exceeded, API calls will be throttled, which may affect your business. Please make calls appropriately.
43
+ * This operation creates an address book, including IPv4 address books, ECS tag-based address books, IPv6 address books, domain name address books, and ACK address books.
44
+ * ## Rate limit
45
+ * The single-user QPS limit for this operation is 10 calls per second. If the limit is exceeded, the API call is throttled, which may affect your business. Call this operation at an appropriate frequency.
46
46
  *
47
47
  * @param request - AddAddressBookRequest
48
48
  * @returns AddAddressBookResponse
@@ -1341,11 +1341,11 @@ export default class Client extends OpenApi {
1341
1341
  */
1342
1342
  describeAclRuleCount(request: $_model.DescribeAclRuleCountRequest): Promise<$_model.DescribeAclRuleCountResponse>;
1343
1343
  /**
1344
- * Queries the Access Control List (ACL) whitelist.
1344
+ * Retrieves the ACL whitelist.
1345
1345
  *
1346
1346
  * @remarks
1347
1347
  * ## QPS limit
1348
- * The queries per second (QPS) limit for this API is 10 for each user. If you exceed this limit, API calls are throttled, which may affect your business. We recommend that you call the API at a reasonable rate.
1348
+ * The single-user QPS limit for this operation is 10 calls per second. If the limit is exceeded, API calls are throttled, which may affect your business. Call this operation as needed.
1349
1349
  *
1350
1350
  * @param request - DescribeAclWhitelistRequest
1351
1351
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1353,36 +1353,36 @@ export default class Client extends OpenApi {
1353
1353
  */
1354
1354
  describeAclWhitelistWithOptions(request: $_model.DescribeAclWhitelistRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeAclWhitelistResponse>;
1355
1355
  /**
1356
- * Queries the Access Control List (ACL) whitelist.
1356
+ * Retrieves the ACL whitelist.
1357
1357
  *
1358
1358
  * @remarks
1359
1359
  * ## QPS limit
1360
- * The queries per second (QPS) limit for this API is 10 for each user. If you exceed this limit, API calls are throttled, which may affect your business. We recommend that you call the API at a reasonable rate.
1360
+ * The single-user QPS limit for this operation is 10 calls per second. If the limit is exceeded, API calls are throttled, which may affect your business. Call this operation as needed.
1361
1361
  *
1362
1362
  * @param request - DescribeAclWhitelistRequest
1363
1363
  * @returns DescribeAclWhitelistResponse
1364
1364
  */
1365
1365
  describeAclWhitelist(request: $_model.DescribeAclWhitelistRequest): Promise<$_model.DescribeAclWhitelistResponse>;
1366
1366
  /**
1367
- * Queries address books in a batch.
1367
+ * Queries address books in batches.
1368
1368
  *
1369
1369
  * @remarks
1370
- * Use this API to query the details of an access control policy address book.
1370
+ * This operation is used to query the details of access control policy address books.
1371
1371
  * ## QPS limit
1372
- * The per-user QPS limit for this API is 10. Exceeding this limit throttles your API calls and may impact your business. Plan your calls accordingly.
1372
+ * The single-user QPS limit for this operation is 10 calls per second. If the limit is exceeded, API calls are throttled, which may affect your business. Call this operation at a reasonable frequency.
1373
1373
  *
1374
- * @param request - DescribeAddressBookRequest
1374
+ * @param tmpReq - DescribeAddressBookRequest
1375
1375
  * @param runtime - runtime options for this request RuntimeOptions
1376
1376
  * @returns DescribeAddressBookResponse
1377
1377
  */
1378
- describeAddressBookWithOptions(request: $_model.DescribeAddressBookRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeAddressBookResponse>;
1378
+ describeAddressBookWithOptions(tmpReq: $_model.DescribeAddressBookRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeAddressBookResponse>;
1379
1379
  /**
1380
- * Queries address books in a batch.
1380
+ * Queries address books in batches.
1381
1381
  *
1382
1382
  * @remarks
1383
- * Use this API to query the details of an access control policy address book.
1383
+ * This operation is used to query the details of access control policy address books.
1384
1384
  * ## QPS limit
1385
- * The per-user QPS limit for this API is 10. Exceeding this limit throttles your API calls and may impact your business. Plan your calls accordingly.
1385
+ * The single-user QPS limit for this operation is 10 calls per second. If the limit is exceeded, API calls are throttled, which may affect your business. Call this operation at a reasonable frequency.
1386
1386
  *
1387
1387
  * @param request - DescribeAddressBookRequest
1388
1388
  * @returns DescribeAddressBookResponse
@@ -1781,7 +1781,7 @@ export default class Client extends OpenApi {
1781
1781
  */
1782
1782
  describeFirewallTask(request: $_model.DescribeFirewallTaskRequest): Promise<$_model.DescribeFirewallTaskResponse>;
1783
1783
  /**
1784
- * 获取总流量趋势
1784
+ * Queries the traffic trend of a firewall.
1785
1785
  *
1786
1786
  * @param request - DescribeFirewallTrafficTrendRequest
1787
1787
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1789,7 +1789,7 @@ export default class Client extends OpenApi {
1789
1789
  */
1790
1790
  describeFirewallTrafficTrendWithOptions(request: $_model.DescribeFirewallTrafficTrendRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeFirewallTrafficTrendResponse>;
1791
1791
  /**
1792
- * 获取总流量趋势
1792
+ * Queries the traffic trend of a firewall.
1793
1793
  *
1794
1794
  * @param request - DescribeFirewallTrafficTrendRequest
1795
1795
  * @returns DescribeFirewallTrafficTrendResponse
@@ -4052,6 +4052,21 @@ export default class Client extends OpenApi {
4052
4052
  * @returns DescribeVpcFirewallTrafficAssetListResponse
4053
4053
  */
4054
4054
  describeVpcFirewallTrafficAssetList(request: $_model.DescribeVpcFirewallTrafficAssetListRequest): Promise<$_model.DescribeVpcFirewallTrafficAssetListResponse>;
4055
+ /**
4056
+ * Retrieves the traffic trend of a virtual private cloud (VPC) firewall.
4057
+ *
4058
+ * @param request - DescribeVpcFirewallTrafficTrendRequest
4059
+ * @param runtime - runtime options for this request RuntimeOptions
4060
+ * @returns DescribeVpcFirewallTrafficTrendResponse
4061
+ */
4062
+ describeVpcFirewallTrafficTrendWithOptions(request: $_model.DescribeVpcFirewallTrafficTrendRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeVpcFirewallTrafficTrendResponse>;
4063
+ /**
4064
+ * Retrieves the traffic trend of a virtual private cloud (VPC) firewall.
4065
+ *
4066
+ * @param request - DescribeVpcFirewallTrafficTrendRequest
4067
+ * @returns DescribeVpcFirewallTrafficTrendResponse
4068
+ */
4069
+ describeVpcFirewallTrafficTrend(request: $_model.DescribeVpcFirewallTrafficTrendRequest): Promise<$_model.DescribeVpcFirewallTrafficTrendResponse>;
4055
4070
  /**
4056
4071
  * Describes the available zones for a VPC firewall.
4057
4072
  *
@@ -4179,25 +4194,25 @@ export default class Client extends OpenApi {
4179
4194
  */
4180
4195
  listTlsInspectCACertificates(request: $_model.ListTlsInspectCACertificatesRequest): Promise<$_model.ListTlsInspectCACertificatesResponse>;
4181
4196
  /**
4182
- * Modify an address book.
4197
+ * Modifies an address book.
4183
4198
  *
4184
4199
  * @remarks
4185
- * This API is used to modify an address book.
4186
- * ## QPS Limit
4187
- * The single-user QPS limit for this API is 10 requests per second. Exceeding this limit will result in API throttling, which may affect your business. Please make calls responsibly.
4200
+ * This operation is used to modify an address book.
4201
+ * ## QPS limit
4202
+ * The single-user QPS limit for this operation is 10 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation appropriately.
4188
4203
  *
4189
- * @param request - ModifyAddressBookRequest
4204
+ * @param tmpReq - ModifyAddressBookRequest
4190
4205
  * @param runtime - runtime options for this request RuntimeOptions
4191
4206
  * @returns ModifyAddressBookResponse
4192
4207
  */
4193
- modifyAddressBookWithOptions(request: $_model.ModifyAddressBookRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyAddressBookResponse>;
4208
+ modifyAddressBookWithOptions(tmpReq: $_model.ModifyAddressBookRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyAddressBookResponse>;
4194
4209
  /**
4195
- * Modify an address book.
4210
+ * Modifies an address book.
4196
4211
  *
4197
4212
  * @remarks
4198
- * This API is used to modify an address book.
4199
- * ## QPS Limit
4200
- * The single-user QPS limit for this API is 10 requests per second. Exceeding this limit will result in API throttling, which may affect your business. Please make calls responsibly.
4213
+ * This operation is used to modify an address book.
4214
+ * ## QPS limit
4215
+ * The single-user QPS limit for this operation is 10 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation appropriately.
4201
4216
  *
4202
4217
  * @param request - ModifyAddressBookRequest
4203
4218
  * @returns ModifyAddressBookResponse
package/dist/client.js CHANGED
@@ -138,19 +138,27 @@ class Client extends openapi_core_1.default {
138
138
  return await this.addAclBackupDataWithOptions(request, runtime);
139
139
  }
140
140
  /**
141
- * Create an address book, including IPv4 address book, ECS tag address book, IPv6 address book, domain address book, and ACK address book.
141
+ * Creates an address book, including IPv4 address books, ECS tag-based address books, IPv6 address books, domain name address books, and ACK address books.
142
142
  *
143
143
  * @remarks
144
- * This API operation is used to create an address book, including IPv4 address book, ECS tag address book, IPv6 address book, domain address book, and ACK address book.
145
- * ## QPS Limit
146
- * The single-user QPS limit for this API operation is 10 calls per second. If the limit is exceeded, API calls will be throttled, which may affect your business. Please make calls appropriately.
144
+ * This operation creates an address book, including IPv4 address books, ECS tag-based address books, IPv6 address books, domain name address books, and ACK address books.
145
+ * ## Rate limit
146
+ * The single-user QPS limit for this operation is 10 calls per second. If the limit is exceeded, the API call is throttled, which may affect your business. Call this operation at an appropriate frequency.
147
147
  *
148
- * @param request - AddAddressBookRequest
148
+ * @param tmpReq - AddAddressBookRequest
149
149
  * @param runtime - runtime options for this request RuntimeOptions
150
150
  * @returns AddAddressBookResponse
151
151
  */
152
- async addAddressBookWithOptions(request, runtime) {
153
- request.validate();
152
+ async addAddressBookWithOptions(tmpReq, runtime) {
153
+ tmpReq.validate();
154
+ let request = new $_model.AddAddressBookShrinkRequest({});
155
+ openapi_core_2.OpenApiUtil.convert(tmpReq, request);
156
+ if (!$dara.isNull(tmpReq.assetMemberUids)) {
157
+ request.assetMemberUidsShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.assetMemberUids, "AssetMemberUids", "json");
158
+ }
159
+ if (!$dara.isNull(tmpReq.assetRegionResourceTypes)) {
160
+ request.assetRegionResourceTypesShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.assetRegionResourceTypes, "AssetRegionResourceTypes", "json");
161
+ }
154
162
  let query = {};
155
163
  if (!$dara.isNull(request.ackClusterConnectorId)) {
156
164
  query["AckClusterConnectorId"] = request.ackClusterConnectorId;
@@ -164,6 +172,12 @@ class Client extends openapi_core_1.default {
164
172
  if (!$dara.isNull(request.addressList)) {
165
173
  query["AddressList"] = request.addressList;
166
174
  }
175
+ if (!$dara.isNull(request.assetMemberUidsShrink)) {
176
+ query["AssetMemberUids"] = request.assetMemberUidsShrink;
177
+ }
178
+ if (!$dara.isNull(request.assetRegionResourceTypesShrink)) {
179
+ query["AssetRegionResourceTypes"] = request.assetRegionResourceTypesShrink;
180
+ }
167
181
  if (!$dara.isNull(request.autoAddTagEcs)) {
168
182
  query["AutoAddTagEcs"] = request.autoAddTagEcs;
169
183
  }
@@ -205,12 +219,12 @@ class Client extends openapi_core_1.default {
205
219
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.AddAddressBookResponse({}));
206
220
  }
207
221
  /**
208
- * Create an address book, including IPv4 address book, ECS tag address book, IPv6 address book, domain address book, and ACK address book.
222
+ * Creates an address book, including IPv4 address books, ECS tag-based address books, IPv6 address books, domain name address books, and ACK address books.
209
223
  *
210
224
  * @remarks
211
- * This API operation is used to create an address book, including IPv4 address book, ECS tag address book, IPv6 address book, domain address book, and ACK address book.
212
- * ## QPS Limit
213
- * The single-user QPS limit for this API operation is 10 calls per second. If the limit is exceeded, API calls will be throttled, which may affect your business. Please make calls appropriately.
225
+ * This operation creates an address book, including IPv4 address books, ECS tag-based address books, IPv6 address books, domain name address books, and ACK address books.
226
+ * ## Rate limit
227
+ * The single-user QPS limit for this operation is 10 calls per second. If the limit is exceeded, the API call is throttled, which may affect your business. Call this operation at an appropriate frequency.
214
228
  *
215
229
  * @param request - AddAddressBookRequest
216
230
  * @returns AddAddressBookResponse
@@ -3785,11 +3799,11 @@ class Client extends openapi_core_1.default {
3785
3799
  return await this.describeAclRuleCountWithOptions(request, runtime);
3786
3800
  }
3787
3801
  /**
3788
- * Queries the Access Control List (ACL) whitelist.
3802
+ * Retrieves the ACL whitelist.
3789
3803
  *
3790
3804
  * @remarks
3791
3805
  * ## QPS limit
3792
- * The queries per second (QPS) limit for this API is 10 for each user. If you exceed this limit, API calls are throttled, which may affect your business. We recommend that you call the API at a reasonable rate.
3806
+ * The single-user QPS limit for this operation is 10 calls per second. If the limit is exceeded, API calls are throttled, which may affect your business. Call this operation as needed.
3793
3807
  *
3794
3808
  * @param request - DescribeAclWhitelistRequest
3795
3809
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3821,11 +3835,11 @@ class Client extends openapi_core_1.default {
3821
3835
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeAclWhitelistResponse({}));
3822
3836
  }
3823
3837
  /**
3824
- * Queries the Access Control List (ACL) whitelist.
3838
+ * Retrieves the ACL whitelist.
3825
3839
  *
3826
3840
  * @remarks
3827
3841
  * ## QPS limit
3828
- * The queries per second (QPS) limit for this API is 10 for each user. If you exceed this limit, API calls are throttled, which may affect your business. We recommend that you call the API at a reasonable rate.
3842
+ * The single-user QPS limit for this operation is 10 calls per second. If the limit is exceeded, API calls are throttled, which may affect your business. Call this operation as needed.
3829
3843
  *
3830
3844
  * @param request - DescribeAclWhitelistRequest
3831
3845
  * @returns DescribeAclWhitelistResponse
@@ -3835,20 +3849,28 @@ class Client extends openapi_core_1.default {
3835
3849
  return await this.describeAclWhitelistWithOptions(request, runtime);
3836
3850
  }
3837
3851
  /**
3838
- * Queries address books in a batch.
3852
+ * Queries address books in batches.
3839
3853
  *
3840
3854
  * @remarks
3841
- * Use this API to query the details of an access control policy address book.
3855
+ * This operation is used to query the details of access control policy address books.
3842
3856
  * ## QPS limit
3843
- * The per-user QPS limit for this API is 10. Exceeding this limit throttles your API calls and may impact your business. Plan your calls accordingly.
3857
+ * The single-user QPS limit for this operation is 10 calls per second. If the limit is exceeded, API calls are throttled, which may affect your business. Call this operation at a reasonable frequency.
3844
3858
  *
3845
- * @param request - DescribeAddressBookRequest
3859
+ * @param tmpReq - DescribeAddressBookRequest
3846
3860
  * @param runtime - runtime options for this request RuntimeOptions
3847
3861
  * @returns DescribeAddressBookResponse
3848
3862
  */
3849
- async describeAddressBookWithOptions(request, runtime) {
3850
- request.validate();
3863
+ async describeAddressBookWithOptions(tmpReq, runtime) {
3864
+ tmpReq.validate();
3865
+ let request = new $_model.DescribeAddressBookShrinkRequest({});
3866
+ openapi_core_2.OpenApiUtil.convert(tmpReq, request);
3867
+ if (!$dara.isNull(tmpReq.assetMemberUids)) {
3868
+ request.assetMemberUidsShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.assetMemberUids, "AssetMemberUids", "json");
3869
+ }
3851
3870
  let query = {};
3871
+ if (!$dara.isNull(request.assetMemberUidsShrink)) {
3872
+ query["AssetMemberUids"] = request.assetMemberUidsShrink;
3873
+ }
3852
3874
  if (!$dara.isNull(request.containPort)) {
3853
3875
  query["ContainPort"] = request.containPort;
3854
3876
  }
@@ -3887,12 +3909,12 @@ class Client extends openapi_core_1.default {
3887
3909
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeAddressBookResponse({}));
3888
3910
  }
3889
3911
  /**
3890
- * Queries address books in a batch.
3912
+ * Queries address books in batches.
3891
3913
  *
3892
3914
  * @remarks
3893
- * Use this API to query the details of an access control policy address book.
3915
+ * This operation is used to query the details of access control policy address books.
3894
3916
  * ## QPS limit
3895
- * The per-user QPS limit for this API is 10. Exceeding this limit throttles your API calls and may impact your business. Plan your calls accordingly.
3917
+ * The single-user QPS limit for this operation is 10 calls per second. If the limit is exceeded, API calls are throttled, which may affect your business. Call this operation at a reasonable frequency.
3896
3918
  *
3897
3919
  * @param request - DescribeAddressBookRequest
3898
3920
  * @returns DescribeAddressBookResponse
@@ -5015,7 +5037,7 @@ class Client extends openapi_core_1.default {
5015
5037
  return await this.describeFirewallTaskWithOptions(request, runtime);
5016
5038
  }
5017
5039
  /**
5018
- * 获取总流量趋势
5040
+ * Queries the traffic trend of a firewall.
5019
5041
  *
5020
5042
  * @param request - DescribeFirewallTrafficTrendRequest
5021
5043
  * @param runtime - runtime options for this request RuntimeOptions
@@ -5050,7 +5072,7 @@ class Client extends openapi_core_1.default {
5050
5072
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeFirewallTrafficTrendResponse({}));
5051
5073
  }
5052
5074
  /**
5053
- * 获取总流量趋势
5075
+ * Queries the traffic trend of a firewall.
5054
5076
  *
5055
5077
  * @param request - DescribeFirewallTrafficTrendRequest
5056
5078
  * @returns DescribeFirewallTrafficTrendResponse
@@ -12479,6 +12501,63 @@ class Client extends openapi_core_1.default {
12479
12501
  let runtime = new $dara.RuntimeOptions({});
12480
12502
  return await this.describeVpcFirewallTrafficAssetListWithOptions(request, runtime);
12481
12503
  }
12504
+ /**
12505
+ * Retrieves the traffic trend of a virtual private cloud (VPC) firewall.
12506
+ *
12507
+ * @param request - DescribeVpcFirewallTrafficTrendRequest
12508
+ * @param runtime - runtime options for this request RuntimeOptions
12509
+ * @returns DescribeVpcFirewallTrafficTrendResponse
12510
+ */
12511
+ async describeVpcFirewallTrafficTrendWithOptions(request, runtime) {
12512
+ request.validate();
12513
+ let query = {};
12514
+ if (!$dara.isNull(request.endTime)) {
12515
+ query["EndTime"] = request.endTime;
12516
+ }
12517
+ if (!$dara.isNull(request.lang)) {
12518
+ query["Lang"] = request.lang;
12519
+ }
12520
+ if (!$dara.isNull(request.lang)) {
12521
+ query["Lang"] = request.lang;
12522
+ }
12523
+ if (!$dara.isNull(request.peerVpcId)) {
12524
+ query["PeerVpcId"] = request.peerVpcId;
12525
+ }
12526
+ if (!$dara.isNull(request.privateIP)) {
12527
+ query["PrivateIP"] = request.privateIP;
12528
+ }
12529
+ if (!$dara.isNull(request.startTime)) {
12530
+ query["StartTime"] = request.startTime;
12531
+ }
12532
+ if (!$dara.isNull(request.vpcId)) {
12533
+ query["VpcId"] = request.vpcId;
12534
+ }
12535
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
12536
+ query: openapi_core_2.OpenApiUtil.query(query),
12537
+ });
12538
+ let params = new openapi_core_2.$OpenApiUtil.Params({
12539
+ action: "DescribeVpcFirewallTrafficTrend",
12540
+ version: "2017-12-07",
12541
+ protocol: "HTTPS",
12542
+ pathname: "/",
12543
+ method: "POST",
12544
+ authType: "AK",
12545
+ style: "RPC",
12546
+ reqBodyType: "formData",
12547
+ bodyType: "json",
12548
+ });
12549
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeVpcFirewallTrafficTrendResponse({}));
12550
+ }
12551
+ /**
12552
+ * Retrieves the traffic trend of a virtual private cloud (VPC) firewall.
12553
+ *
12554
+ * @param request - DescribeVpcFirewallTrafficTrendRequest
12555
+ * @returns DescribeVpcFirewallTrafficTrendResponse
12556
+ */
12557
+ async describeVpcFirewallTrafficTrend(request) {
12558
+ let runtime = new $dara.RuntimeOptions({});
12559
+ return await this.describeVpcFirewallTrafficTrendWithOptions(request, runtime);
12560
+ }
12482
12561
  /**
12483
12562
  * Describes the available zones for a VPC firewall.
12484
12563
  *
@@ -12903,19 +12982,27 @@ class Client extends openapi_core_1.default {
12903
12982
  return await this.listTlsInspectCACertificatesWithOptions(request, runtime);
12904
12983
  }
12905
12984
  /**
12906
- * Modify an address book.
12985
+ * Modifies an address book.
12907
12986
  *
12908
12987
  * @remarks
12909
- * This API is used to modify an address book.
12910
- * ## QPS Limit
12911
- * The single-user QPS limit for this API is 10 requests per second. Exceeding this limit will result in API throttling, which may affect your business. Please make calls responsibly.
12988
+ * This operation is used to modify an address book.
12989
+ * ## QPS limit
12990
+ * The single-user QPS limit for this operation is 10 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation appropriately.
12912
12991
  *
12913
- * @param request - ModifyAddressBookRequest
12992
+ * @param tmpReq - ModifyAddressBookRequest
12914
12993
  * @param runtime - runtime options for this request RuntimeOptions
12915
12994
  * @returns ModifyAddressBookResponse
12916
12995
  */
12917
- async modifyAddressBookWithOptions(request, runtime) {
12918
- request.validate();
12996
+ async modifyAddressBookWithOptions(tmpReq, runtime) {
12997
+ tmpReq.validate();
12998
+ let request = new $_model.ModifyAddressBookShrinkRequest({});
12999
+ openapi_core_2.OpenApiUtil.convert(tmpReq, request);
13000
+ if (!$dara.isNull(tmpReq.assetMemberUids)) {
13001
+ request.assetMemberUidsShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.assetMemberUids, "AssetMemberUids", "json");
13002
+ }
13003
+ if (!$dara.isNull(tmpReq.assetRegionResourceTypes)) {
13004
+ request.assetRegionResourceTypesShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.assetRegionResourceTypes, "AssetRegionResourceTypes", "json");
13005
+ }
12919
13006
  let query = {};
12920
13007
  if (!$dara.isNull(request.ackLabels)) {
12921
13008
  query["AckLabels"] = request.ackLabels;
@@ -12926,6 +13013,12 @@ class Client extends openapi_core_1.default {
12926
13013
  if (!$dara.isNull(request.addressList)) {
12927
13014
  query["AddressList"] = request.addressList;
12928
13015
  }
13016
+ if (!$dara.isNull(request.assetMemberUidsShrink)) {
13017
+ query["AssetMemberUids"] = request.assetMemberUidsShrink;
13018
+ }
13019
+ if (!$dara.isNull(request.assetRegionResourceTypesShrink)) {
13020
+ query["AssetRegionResourceTypes"] = request.assetRegionResourceTypesShrink;
13021
+ }
12929
13022
  if (!$dara.isNull(request.autoAddTagEcs)) {
12930
13023
  query["AutoAddTagEcs"] = request.autoAddTagEcs;
12931
13024
  }
@@ -12970,12 +13063,12 @@ class Client extends openapi_core_1.default {
12970
13063
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyAddressBookResponse({}));
12971
13064
  }
12972
13065
  /**
12973
- * Modify an address book.
13066
+ * Modifies an address book.
12974
13067
  *
12975
13068
  * @remarks
12976
- * This API is used to modify an address book.
12977
- * ## QPS Limit
12978
- * The single-user QPS limit for this API is 10 requests per second. Exceeding this limit will result in API throttling, which may affect your business. Please make calls responsibly.
13069
+ * This operation is used to modify an address book.
13070
+ * ## QPS limit
13071
+ * The single-user QPS limit for this operation is 10 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation appropriately.
12979
13072
  *
12980
13073
  * @param request - ModifyAddressBookRequest
12981
13074
  * @returns ModifyAddressBookResponse