@alicloud/cloudfw20171207 8.1.0 → 8.2.1
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 +113 -60
- package/dist/client.js +252 -64
- package/dist/client.js.map +1 -1
- package/dist/models/AddAddressBookRequest.d.ts +291 -10
- package/dist/models/AddAddressBookRequest.js +146 -1
- package/dist/models/AddAddressBookRequest.js.map +1 -1
- package/dist/models/AddAddressBookResponseBody.d.ts +1 -1
- package/dist/models/AddAddressBookShrinkRequest.d.ts +186 -0
- package/dist/models/AddAddressBookShrinkRequest.js +135 -0
- package/dist/models/AddAddressBookShrinkRequest.js.map +1 -0
- package/dist/models/CreateSecurityProxyRequest.d.ts +1 -1
- package/dist/models/CreateVpcFirewallCenConfigureRequest.d.ts +22 -23
- package/dist/models/CreateVpcFirewallCenConfigureRequest.js.map +1 -1
- package/dist/models/CreateVpcFirewallCenConfigureResponseBody.d.ts +1 -1
- package/dist/models/DescribeAclRuleCountRequest.d.ts +1 -1
- package/dist/models/DescribeAclRuleCountResponseBody.d.ts +2 -2
- package/dist/models/DescribeAclWhitelistRequest.d.ts +1 -2
- package/dist/models/DescribeAclWhitelistRequest.js.map +1 -1
- package/dist/models/DescribeAclWhitelistResponseBody.d.ts +11 -19
- package/dist/models/DescribeAclWhitelistResponseBody.js.map +1 -1
- package/dist/models/DescribeAclprotectTrendRequest.d.ts +4 -4
- package/dist/models/DescribeAclprotectTrendResponseBody.d.ts +7 -7
- package/dist/models/DescribeAddressBookRequest.d.ts +16 -9
- package/dist/models/DescribeAddressBookRequest.js +5 -0
- package/dist/models/DescribeAddressBookRequest.js.map +1 -1
- package/dist/models/DescribeAddressBookResponseBody.d.ts +304 -19
- package/dist/models/DescribeAddressBookResponseBody.js +146 -1
- package/dist/models/DescribeAddressBookResponseBody.js.map +1 -1
- package/dist/models/DescribeAddressBookShrinkRequest.d.ts +82 -0
- package/dist/models/DescribeAddressBookShrinkRequest.js +72 -0
- package/dist/models/DescribeAddressBookShrinkRequest.js.map +1 -0
- package/dist/models/DescribeAssetStatisticResponseBody.d.ts +7 -7
- package/dist/models/DescribeFirewallDropTrendRequest.d.ts +40 -0
- package/dist/models/DescribeFirewallDropTrendRequest.js +62 -0
- package/dist/models/DescribeFirewallDropTrendRequest.js.map +1 -0
- package/dist/models/DescribeFirewallDropTrendResponse.d.ts +19 -0
- package/dist/models/DescribeFirewallDropTrendResponse.js +69 -0
- package/dist/models/DescribeFirewallDropTrendResponse.js.map +1 -0
- package/dist/models/DescribeFirewallDropTrendResponseBody.d.ts +96 -0
- package/dist/models/DescribeFirewallDropTrendResponseBody.js +94 -0
- package/dist/models/DescribeFirewallDropTrendResponseBody.js.map +1 -0
- package/dist/models/DescribeFirewallTrafficTrendRequest.d.ts +40 -0
- package/dist/models/DescribeFirewallTrafficTrendRequest.js +62 -0
- package/dist/models/DescribeFirewallTrafficTrendRequest.js.map +1 -0
- package/dist/models/DescribeFirewallTrafficTrendResponse.d.ts +19 -0
- package/dist/models/DescribeFirewallTrafficTrendResponse.js +69 -0
- package/dist/models/DescribeFirewallTrafficTrendResponse.js.map +1 -0
- package/dist/models/DescribeFirewallTrafficTrendResponseBody.d.ts +137 -0
- package/dist/models/DescribeFirewallTrafficTrendResponseBody.js +122 -0
- package/dist/models/DescribeFirewallTrafficTrendResponseBody.js.map +1 -0
- package/dist/models/DescribeInternetOpenIpRequest.d.ts +11 -16
- package/dist/models/DescribeInternetOpenIpRequest.js.map +1 -1
- package/dist/models/DescribeInternetOpenIpResponseBody.d.ts +28 -37
- package/dist/models/DescribeInternetOpenIpResponseBody.js.map +1 -1
- package/dist/models/DescribeOutgoingDomainDetailRequest.d.ts +14 -14
- package/dist/models/DescribeOutgoingDomainDetailResponseBody.d.ts +21 -17
- package/dist/models/DescribeOutgoingDomainDetailResponseBody.js.map +1 -1
- package/dist/models/DescribePageDocumentsResponseBody.d.ts +1 -1
- package/dist/models/DescribePostpayBillRequest.d.ts +4 -4
- package/dist/models/DescribePostpayBillResponseBody.d.ts +4 -4
- package/dist/models/DescribePrepayBillTotalRequest.d.ts +22 -0
- package/dist/models/DescribePrepayBillTotalRequest.js.map +1 -1
- package/dist/models/DescribePrepayBillTotalResponseBody.d.ts +52 -0
- package/dist/models/DescribePrepayBillTotalResponseBody.js.map +1 -1
- package/dist/models/DescribeRegionResourceTypeAutoEnableResponseBody.d.ts +1 -1
- package/dist/models/DescribeResourceTypeAutoEnableResponseBody.d.ts +1 -1
- package/dist/models/DescribeSdlLastPayloadRequest.d.ts +64 -0
- package/dist/models/DescribeSdlLastPayloadRequest.js +68 -0
- package/dist/models/DescribeSdlLastPayloadRequest.js.map +1 -0
- package/dist/models/DescribeSdlLastPayloadResponse.d.ts +19 -0
- package/dist/models/DescribeSdlLastPayloadResponse.js +69 -0
- package/dist/models/DescribeSdlLastPayloadResponse.js.map +1 -0
- package/dist/models/DescribeSdlLastPayloadResponseBody.d.ts +53 -0
- package/dist/models/DescribeSdlLastPayloadResponseBody.js +66 -0
- package/dist/models/DescribeSdlLastPayloadResponseBody.js.map +1 -0
- package/dist/models/DescribeTrafficLogRequest.d.ts +2 -2
- package/dist/models/DescribeTrafficLogResponseBody.d.ts +8 -8
- package/dist/models/DescribeUnprotectedPortTrendRequest.d.ts +2 -4
- package/dist/models/DescribeUnprotectedPortTrendRequest.js.map +1 -1
- package/dist/models/DescribeUnprotectedPortTrendResponseBody.d.ts +1 -1
- package/dist/models/DescribeVpcFirewallAssetListRequest.d.ts +4 -4
- package/dist/models/DescribeVpcFirewallAssetListResponseBody.d.ts +3 -3
- package/dist/models/ModifyAddressBookRequest.d.ts +302 -17
- package/dist/models/ModifyAddressBookRequest.js +146 -1
- package/dist/models/ModifyAddressBookRequest.js.map +1 -1
- package/dist/models/ModifyAddressBookShrinkRequest.d.ts +192 -0
- package/dist/models/ModifyAddressBookShrinkRequest.js +135 -0
- package/dist/models/ModifyAddressBookShrinkRequest.js.map +1 -0
- package/dist/models/ModifyNatFirewallControlPolicyPositionRequest.d.ts +6 -9
- package/dist/models/ModifyNatFirewallControlPolicyPositionRequest.js.map +1 -1
- package/dist/models/ModifyNatFirewallControlPolicyPositionResponseBody.d.ts +1 -1
- package/dist/models/model.d.ts +31 -0
- package/dist/models/model.js +95 -32
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +280 -64
- package/src/models/AddAddressBookRequest.ts +400 -10
- package/src/models/AddAddressBookResponseBody.ts +1 -1
- package/src/models/AddAddressBookShrinkRequest.ts +258 -0
- package/src/models/CreateSecurityProxyRequest.ts +1 -1
- package/src/models/CreateVpcFirewallCenConfigureRequest.ts +22 -23
- package/src/models/CreateVpcFirewallCenConfigureResponseBody.ts +1 -1
- package/src/models/DescribeAclRuleCountRequest.ts +1 -1
- package/src/models/DescribeAclRuleCountResponseBody.ts +2 -2
- package/src/models/DescribeAclWhitelistRequest.ts +1 -2
- package/src/models/DescribeAclWhitelistResponseBody.ts +11 -19
- package/src/models/DescribeAclprotectTrendRequest.ts +4 -4
- package/src/models/DescribeAclprotectTrendResponseBody.ts +7 -7
- package/src/models/DescribeAddressBookRequest.ts +21 -9
- package/src/models/DescribeAddressBookResponseBody.ts +413 -19
- package/src/models/DescribeAddressBookShrinkRequest.ts +109 -0
- package/src/models/DescribeAssetStatisticResponseBody.ts +7 -7
- package/src/models/DescribeFirewallDropTrendRequest.ts +57 -0
- package/src/models/DescribeFirewallDropTrendResponse.ts +40 -0
- package/src/models/DescribeFirewallDropTrendResponseBody.ts +136 -0
- package/src/models/DescribeFirewallTrafficTrendRequest.ts +57 -0
- package/src/models/DescribeFirewallTrafficTrendResponse.ts +40 -0
- package/src/models/DescribeFirewallTrafficTrendResponseBody.ts +196 -0
- package/src/models/DescribeInternetOpenIpRequest.ts +11 -16
- package/src/models/DescribeInternetOpenIpResponseBody.ts +28 -37
- package/src/models/DescribeOutgoingDomainDetailRequest.ts +14 -14
- package/src/models/DescribeOutgoingDomainDetailResponseBody.ts +21 -17
- package/src/models/DescribePageDocumentsResponseBody.ts +1 -1
- package/src/models/DescribePostpayBillRequest.ts +4 -4
- package/src/models/DescribePostpayBillResponseBody.ts +4 -4
- package/src/models/DescribePrepayBillTotalRequest.ts +22 -0
- package/src/models/DescribePrepayBillTotalResponseBody.ts +52 -0
- package/src/models/DescribeRegionResourceTypeAutoEnableResponseBody.ts +1 -1
- package/src/models/DescribeResourceTypeAutoEnableResponseBody.ts +1 -1
- package/src/models/DescribeSdlLastPayloadRequest.ts +87 -0
- package/src/models/DescribeSdlLastPayloadResponse.ts +40 -0
- package/src/models/DescribeSdlLastPayloadResponseBody.ts +74 -0
- package/src/models/DescribeTrafficLogRequest.ts +2 -2
- package/src/models/DescribeTrafficLogResponseBody.ts +8 -8
- package/src/models/DescribeUnprotectedPortTrendRequest.ts +2 -4
- package/src/models/DescribeUnprotectedPortTrendResponseBody.ts +1 -1
- package/src/models/DescribeVpcFirewallAssetListRequest.ts +4 -4
- package/src/models/DescribeVpcFirewallAssetListResponseBody.ts +3 -3
- package/src/models/ModifyAddressBookRequest.ts +411 -17
- package/src/models/ModifyAddressBookShrinkRequest.ts +264 -0
- package/src/models/ModifyNatFirewallControlPolicyPositionRequest.ts +6 -9
- package/src/models/ModifyNatFirewallControlPolicyPositionResponseBody.ts +1 -1
- package/src/models/model.ts +31 -0
package/src/client.ts
CHANGED
|
@@ -37,7 +37,7 @@ export default class Client extends OpenApi {
|
|
|
37
37
|
'cn-beijing-finance-1': "cloudfw.aliyuncs.com",
|
|
38
38
|
'cn-beijing': "cloudfw.aliyuncs.com",
|
|
39
39
|
'ap-southeast-5': "cloudfw.aliyuncs.com",
|
|
40
|
-
'ap-southeast-3': "cloudfw.aliyuncs.com",
|
|
40
|
+
'ap-southeast-3': "cloudfw.ap-southeast-1.aliyuncs.com",
|
|
41
41
|
'ap-northeast-1': "cloudfw.aliyuncs.com",
|
|
42
42
|
};
|
|
43
43
|
this.checkConfig(config);
|
|
@@ -112,19 +112,29 @@ export default class Client extends OpenApi {
|
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
/**
|
|
115
|
-
*
|
|
115
|
+
* Creates an address book, including IPv4 address books, ECS tag-based address books, IPv6 address books, domain name address books, and ACK address books.
|
|
116
116
|
*
|
|
117
117
|
* @remarks
|
|
118
|
-
* This
|
|
119
|
-
* ##
|
|
120
|
-
* The single-user QPS limit for this
|
|
118
|
+
* 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.
|
|
119
|
+
* ## Rate limit
|
|
120
|
+
* 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.
|
|
121
121
|
*
|
|
122
|
-
* @param
|
|
122
|
+
* @param tmpReq - AddAddressBookRequest
|
|
123
123
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
124
124
|
* @returns AddAddressBookResponse
|
|
125
125
|
*/
|
|
126
|
-
async addAddressBookWithOptions(
|
|
127
|
-
|
|
126
|
+
async addAddressBookWithOptions(tmpReq: $_model.AddAddressBookRequest, runtime: $dara.RuntimeOptions): Promise<$_model.AddAddressBookResponse> {
|
|
127
|
+
tmpReq.validate();
|
|
128
|
+
let request = new $_model.AddAddressBookShrinkRequest({ });
|
|
129
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
130
|
+
if (!$dara.isNull(tmpReq.assetMemberUids)) {
|
|
131
|
+
request.assetMemberUidsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.assetMemberUids, "AssetMemberUids", "json");
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
if (!$dara.isNull(tmpReq.assetRegionResourceTypes)) {
|
|
135
|
+
request.assetRegionResourceTypesShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.assetRegionResourceTypes, "AssetRegionResourceTypes", "json");
|
|
136
|
+
}
|
|
137
|
+
|
|
128
138
|
let query = { };
|
|
129
139
|
if (!$dara.isNull(request.ackClusterConnectorId)) {
|
|
130
140
|
query["AckClusterConnectorId"] = request.ackClusterConnectorId;
|
|
@@ -142,6 +152,14 @@ export default class Client extends OpenApi {
|
|
|
142
152
|
query["AddressList"] = request.addressList;
|
|
143
153
|
}
|
|
144
154
|
|
|
155
|
+
if (!$dara.isNull(request.assetMemberUidsShrink)) {
|
|
156
|
+
query["AssetMemberUids"] = request.assetMemberUidsShrink;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
if (!$dara.isNull(request.assetRegionResourceTypesShrink)) {
|
|
160
|
+
query["AssetRegionResourceTypes"] = request.assetRegionResourceTypesShrink;
|
|
161
|
+
}
|
|
162
|
+
|
|
145
163
|
if (!$dara.isNull(request.autoAddTagEcs)) {
|
|
146
164
|
query["AutoAddTagEcs"] = request.autoAddTagEcs;
|
|
147
165
|
}
|
|
@@ -192,12 +210,12 @@ export default class Client extends OpenApi {
|
|
|
192
210
|
}
|
|
193
211
|
|
|
194
212
|
/**
|
|
195
|
-
*
|
|
213
|
+
* Creates an address book, including IPv4 address books, ECS tag-based address books, IPv6 address books, domain name address books, and ACK address books.
|
|
196
214
|
*
|
|
197
215
|
* @remarks
|
|
198
|
-
* This
|
|
199
|
-
* ##
|
|
200
|
-
* The single-user QPS limit for this
|
|
216
|
+
* 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.
|
|
217
|
+
* ## Rate limit
|
|
218
|
+
* 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.
|
|
201
219
|
*
|
|
202
220
|
* @param request - AddAddressBookRequest
|
|
203
221
|
* @returns AddAddressBookResponse
|
|
@@ -1701,12 +1719,12 @@ export default class Client extends OpenApi {
|
|
|
1701
1719
|
}
|
|
1702
1720
|
|
|
1703
1721
|
/**
|
|
1704
|
-
* Creates a
|
|
1722
|
+
* Creates a virtual private cloud (VPC) firewall to protect traffic between network instances in a Cloud Enterprise Network (CEN) instance and a specified VPC.
|
|
1705
1723
|
*
|
|
1706
1724
|
* @remarks
|
|
1707
|
-
* This operation is
|
|
1725
|
+
* This operation is used to create a VPC firewall for VPC-connected instances in a CEN instance. The virtual private cloud (VPC) firewall protects traffic between network instances (including VPCs, virtual border routers (VBRs), and Cloud Connect Networks (CCNs)) in the CEN instance and a specified VPC. The VPC firewall does not protect traffic between VBRs, between CCNs, or between VBRs and CCNs. For more information, see [VPC firewall limits](https://help.aliyun.com/document_detail/172295.html).
|
|
1708
1726
|
* ## QPS limit
|
|
1709
|
-
* The single-user QPS limit for this operation is 10 calls per second. If the
|
|
1727
|
+
* The single-user QPS limit for this operation is 10 calls per second. If the number of calls per second exceeds the limit, throttling is triggered. Throttling may affect your business. Invoke this operation within the limit.
|
|
1710
1728
|
*
|
|
1711
1729
|
* @param request - CreateVpcFirewallCenConfigureRequest
|
|
1712
1730
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1781,12 +1799,12 @@ export default class Client extends OpenApi {
|
|
|
1781
1799
|
}
|
|
1782
1800
|
|
|
1783
1801
|
/**
|
|
1784
|
-
* Creates a
|
|
1802
|
+
* Creates a virtual private cloud (VPC) firewall to protect traffic between network instances in a Cloud Enterprise Network (CEN) instance and a specified VPC.
|
|
1785
1803
|
*
|
|
1786
1804
|
* @remarks
|
|
1787
|
-
* This operation is
|
|
1805
|
+
* This operation is used to create a VPC firewall for VPC-connected instances in a CEN instance. The virtual private cloud (VPC) firewall protects traffic between network instances (including VPCs, virtual border routers (VBRs), and Cloud Connect Networks (CCNs)) in the CEN instance and a specified VPC. The VPC firewall does not protect traffic between VBRs, between CCNs, or between VBRs and CCNs. For more information, see [VPC firewall limits](https://help.aliyun.com/document_detail/172295.html).
|
|
1788
1806
|
* ## QPS limit
|
|
1789
|
-
* The single-user QPS limit for this operation is 10 calls per second. If the
|
|
1807
|
+
* The single-user QPS limit for this operation is 10 calls per second. If the number of calls per second exceeds the limit, throttling is triggered. Throttling may affect your business. Invoke this operation within the limit.
|
|
1790
1808
|
*
|
|
1791
1809
|
* @param request - CreateVpcFirewallCenConfigureRequest
|
|
1792
1810
|
* @returns CreateVpcFirewallCenConfigureResponse
|
|
@@ -4155,7 +4173,7 @@ export default class Client extends OpenApi {
|
|
|
4155
4173
|
*
|
|
4156
4174
|
* @remarks
|
|
4157
4175
|
* ## QPS limit
|
|
4158
|
-
* The single-user QPS limit for this operation is 10 calls per second. If
|
|
4176
|
+
* 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 appropriately.
|
|
4159
4177
|
*
|
|
4160
4178
|
* @param request - DescribeAclRuleCountRequest
|
|
4161
4179
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4194,7 +4212,7 @@ export default class Client extends OpenApi {
|
|
|
4194
4212
|
*
|
|
4195
4213
|
* @remarks
|
|
4196
4214
|
* ## QPS limit
|
|
4197
|
-
* The single-user QPS limit for this operation is 10 calls per second. If
|
|
4215
|
+
* 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 appropriately.
|
|
4198
4216
|
*
|
|
4199
4217
|
* @param request - DescribeAclRuleCountRequest
|
|
4200
4218
|
* @returns DescribeAclRuleCountResponse
|
|
@@ -4205,11 +4223,11 @@ export default class Client extends OpenApi {
|
|
|
4205
4223
|
}
|
|
4206
4224
|
|
|
4207
4225
|
/**
|
|
4208
|
-
*
|
|
4226
|
+
* Retrieves the ACL whitelist.
|
|
4209
4227
|
*
|
|
4210
4228
|
* @remarks
|
|
4211
4229
|
* ## QPS limit
|
|
4212
|
-
* The
|
|
4230
|
+
* 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.
|
|
4213
4231
|
*
|
|
4214
4232
|
* @param request - DescribeAclWhitelistRequest
|
|
4215
4233
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4244,11 +4262,11 @@ export default class Client extends OpenApi {
|
|
|
4244
4262
|
}
|
|
4245
4263
|
|
|
4246
4264
|
/**
|
|
4247
|
-
*
|
|
4265
|
+
* Retrieves the ACL whitelist.
|
|
4248
4266
|
*
|
|
4249
4267
|
* @remarks
|
|
4250
4268
|
* ## QPS limit
|
|
4251
|
-
* The
|
|
4269
|
+
* 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.
|
|
4252
4270
|
*
|
|
4253
4271
|
* @param request - DescribeAclWhitelistRequest
|
|
4254
4272
|
* @returns DescribeAclWhitelistResponse
|
|
@@ -4259,20 +4277,30 @@ export default class Client extends OpenApi {
|
|
|
4259
4277
|
}
|
|
4260
4278
|
|
|
4261
4279
|
/**
|
|
4262
|
-
* Queries address books in
|
|
4280
|
+
* Queries address books in batches.
|
|
4263
4281
|
*
|
|
4264
4282
|
* @remarks
|
|
4265
|
-
*
|
|
4283
|
+
* This operation is used to query the details of access control policy address books.
|
|
4266
4284
|
* ## QPS limit
|
|
4267
|
-
* The
|
|
4285
|
+
* 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.
|
|
4268
4286
|
*
|
|
4269
|
-
* @param
|
|
4287
|
+
* @param tmpReq - DescribeAddressBookRequest
|
|
4270
4288
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
4271
4289
|
* @returns DescribeAddressBookResponse
|
|
4272
4290
|
*/
|
|
4273
|
-
async describeAddressBookWithOptions(
|
|
4274
|
-
|
|
4291
|
+
async describeAddressBookWithOptions(tmpReq: $_model.DescribeAddressBookRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeAddressBookResponse> {
|
|
4292
|
+
tmpReq.validate();
|
|
4293
|
+
let request = new $_model.DescribeAddressBookShrinkRequest({ });
|
|
4294
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
4295
|
+
if (!$dara.isNull(tmpReq.assetMemberUids)) {
|
|
4296
|
+
request.assetMemberUidsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.assetMemberUids, "AssetMemberUids", "json");
|
|
4297
|
+
}
|
|
4298
|
+
|
|
4275
4299
|
let query = { };
|
|
4300
|
+
if (!$dara.isNull(request.assetMemberUidsShrink)) {
|
|
4301
|
+
query["AssetMemberUids"] = request.assetMemberUidsShrink;
|
|
4302
|
+
}
|
|
4303
|
+
|
|
4276
4304
|
if (!$dara.isNull(request.containPort)) {
|
|
4277
4305
|
query["ContainPort"] = request.containPort;
|
|
4278
4306
|
}
|
|
@@ -4319,12 +4347,12 @@ export default class Client extends OpenApi {
|
|
|
4319
4347
|
}
|
|
4320
4348
|
|
|
4321
4349
|
/**
|
|
4322
|
-
* Queries address books in
|
|
4350
|
+
* Queries address books in batches.
|
|
4323
4351
|
*
|
|
4324
4352
|
* @remarks
|
|
4325
|
-
*
|
|
4353
|
+
* This operation is used to query the details of access control policy address books.
|
|
4326
4354
|
* ## QPS limit
|
|
4327
|
-
* The
|
|
4355
|
+
* 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.
|
|
4328
4356
|
*
|
|
4329
4357
|
* @param request - DescribeAddressBookRequest
|
|
4330
4358
|
* @returns DescribeAddressBookResponse
|
|
@@ -5469,6 +5497,56 @@ export default class Client extends OpenApi {
|
|
|
5469
5497
|
return await this.describeFirewallDropStatisticsWithOptions(runtime);
|
|
5470
5498
|
}
|
|
5471
5499
|
|
|
5500
|
+
/**
|
|
5501
|
+
* Retrieves the overall firewall interception trend, including Internet, VPC, and NAT traffic.
|
|
5502
|
+
*
|
|
5503
|
+
* @param request - DescribeFirewallDropTrendRequest
|
|
5504
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5505
|
+
* @returns DescribeFirewallDropTrendResponse
|
|
5506
|
+
*/
|
|
5507
|
+
async describeFirewallDropTrendWithOptions(request: $_model.DescribeFirewallDropTrendRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeFirewallDropTrendResponse> {
|
|
5508
|
+
request.validate();
|
|
5509
|
+
let query = { };
|
|
5510
|
+
if (!$dara.isNull(request.endTime)) {
|
|
5511
|
+
query["EndTime"] = request.endTime;
|
|
5512
|
+
}
|
|
5513
|
+
|
|
5514
|
+
if (!$dara.isNull(request.lang)) {
|
|
5515
|
+
query["Lang"] = request.lang;
|
|
5516
|
+
}
|
|
5517
|
+
|
|
5518
|
+
if (!$dara.isNull(request.startTime)) {
|
|
5519
|
+
query["StartTime"] = request.startTime;
|
|
5520
|
+
}
|
|
5521
|
+
|
|
5522
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
5523
|
+
query: OpenApiUtil.query(query),
|
|
5524
|
+
});
|
|
5525
|
+
let params = new $OpenApiUtil.Params({
|
|
5526
|
+
action: "DescribeFirewallDropTrend",
|
|
5527
|
+
version: "2017-12-07",
|
|
5528
|
+
protocol: "HTTPS",
|
|
5529
|
+
pathname: "/",
|
|
5530
|
+
method: "POST",
|
|
5531
|
+
authType: "AK",
|
|
5532
|
+
style: "RPC",
|
|
5533
|
+
reqBodyType: "formData",
|
|
5534
|
+
bodyType: "json",
|
|
5535
|
+
});
|
|
5536
|
+
return $dara.cast<$_model.DescribeFirewallDropTrendResponse>(await this.callApi(params, req, runtime), new $_model.DescribeFirewallDropTrendResponse({}));
|
|
5537
|
+
}
|
|
5538
|
+
|
|
5539
|
+
/**
|
|
5540
|
+
* Retrieves the overall firewall interception trend, including Internet, VPC, and NAT traffic.
|
|
5541
|
+
*
|
|
5542
|
+
* @param request - DescribeFirewallDropTrendRequest
|
|
5543
|
+
* @returns DescribeFirewallDropTrendResponse
|
|
5544
|
+
*/
|
|
5545
|
+
async describeFirewallDropTrend(request: $_model.DescribeFirewallDropTrendRequest): Promise<$_model.DescribeFirewallDropTrendResponse> {
|
|
5546
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
5547
|
+
return await this.describeFirewallDropTrendWithOptions(request, runtime);
|
|
5548
|
+
}
|
|
5549
|
+
|
|
5472
5550
|
/**
|
|
5473
5551
|
* Retrieves the details of a firewall task.
|
|
5474
5552
|
*
|
|
@@ -5535,6 +5613,56 @@ export default class Client extends OpenApi {
|
|
|
5535
5613
|
return await this.describeFirewallTaskWithOptions(request, runtime);
|
|
5536
5614
|
}
|
|
5537
5615
|
|
|
5616
|
+
/**
|
|
5617
|
+
* Queries the traffic trend of a firewall.
|
|
5618
|
+
*
|
|
5619
|
+
* @param request - DescribeFirewallTrafficTrendRequest
|
|
5620
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5621
|
+
* @returns DescribeFirewallTrafficTrendResponse
|
|
5622
|
+
*/
|
|
5623
|
+
async describeFirewallTrafficTrendWithOptions(request: $_model.DescribeFirewallTrafficTrendRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeFirewallTrafficTrendResponse> {
|
|
5624
|
+
request.validate();
|
|
5625
|
+
let query = { };
|
|
5626
|
+
if (!$dara.isNull(request.endTime)) {
|
|
5627
|
+
query["EndTime"] = request.endTime;
|
|
5628
|
+
}
|
|
5629
|
+
|
|
5630
|
+
if (!$dara.isNull(request.lang)) {
|
|
5631
|
+
query["Lang"] = request.lang;
|
|
5632
|
+
}
|
|
5633
|
+
|
|
5634
|
+
if (!$dara.isNull(request.startTime)) {
|
|
5635
|
+
query["StartTime"] = request.startTime;
|
|
5636
|
+
}
|
|
5637
|
+
|
|
5638
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
5639
|
+
query: OpenApiUtil.query(query),
|
|
5640
|
+
});
|
|
5641
|
+
let params = new $OpenApiUtil.Params({
|
|
5642
|
+
action: "DescribeFirewallTrafficTrend",
|
|
5643
|
+
version: "2017-12-07",
|
|
5644
|
+
protocol: "HTTPS",
|
|
5645
|
+
pathname: "/",
|
|
5646
|
+
method: "POST",
|
|
5647
|
+
authType: "AK",
|
|
5648
|
+
style: "RPC",
|
|
5649
|
+
reqBodyType: "formData",
|
|
5650
|
+
bodyType: "json",
|
|
5651
|
+
});
|
|
5652
|
+
return $dara.cast<$_model.DescribeFirewallTrafficTrendResponse>(await this.callApi(params, req, runtime), new $_model.DescribeFirewallTrafficTrendResponse({}));
|
|
5653
|
+
}
|
|
5654
|
+
|
|
5655
|
+
/**
|
|
5656
|
+
* Queries the traffic trend of a firewall.
|
|
5657
|
+
*
|
|
5658
|
+
* @param request - DescribeFirewallTrafficTrendRequest
|
|
5659
|
+
* @returns DescribeFirewallTrafficTrendResponse
|
|
5660
|
+
*/
|
|
5661
|
+
async describeFirewallTrafficTrend(request: $_model.DescribeFirewallTrafficTrendRequest): Promise<$_model.DescribeFirewallTrafficTrendResponse> {
|
|
5662
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
5663
|
+
return await this.describeFirewallTrafficTrendWithOptions(request, runtime);
|
|
5664
|
+
}
|
|
5665
|
+
|
|
5538
5666
|
/**
|
|
5539
5667
|
* Queries the vSwitches that are created by Cloud Firewall.
|
|
5540
5668
|
*
|
|
@@ -6166,7 +6294,7 @@ export default class Client extends OpenApi {
|
|
|
6166
6294
|
}
|
|
6167
6295
|
|
|
6168
6296
|
/**
|
|
6169
|
-
*
|
|
6297
|
+
* Queries the details of an access control policy group in Cloud Firewall.
|
|
6170
6298
|
*
|
|
6171
6299
|
* @param request - DescribeInternetOpenIpRequest
|
|
6172
6300
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6245,7 +6373,7 @@ export default class Client extends OpenApi {
|
|
|
6245
6373
|
}
|
|
6246
6374
|
|
|
6247
6375
|
/**
|
|
6248
|
-
*
|
|
6376
|
+
* Queries the details of an access control policy group in Cloud Firewall.
|
|
6249
6377
|
*
|
|
6250
6378
|
* @param request - DescribeInternetOpenIpRequest
|
|
6251
6379
|
* @returns DescribeInternetOpenIpResponse
|
|
@@ -8879,7 +9007,7 @@ export default class Client extends OpenApi {
|
|
|
8879
9007
|
}
|
|
8880
9008
|
|
|
8881
9009
|
/**
|
|
8882
|
-
* Retrieves details
|
|
9010
|
+
* Retrieves the details of an outbound domain.
|
|
8883
9011
|
*
|
|
8884
9012
|
* @param request - DescribeOutgoingDomainDetailRequest
|
|
8885
9013
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8974,7 +9102,7 @@ export default class Client extends OpenApi {
|
|
|
8974
9102
|
}
|
|
8975
9103
|
|
|
8976
9104
|
/**
|
|
8977
|
-
* Retrieves details
|
|
9105
|
+
* Retrieves the details of an outbound domain.
|
|
8978
9106
|
*
|
|
8979
9107
|
* @param request - DescribeOutgoingDomainDetailRequest
|
|
8980
9108
|
* @returns DescribeOutgoingDomainDetailResponse
|
|
@@ -9213,11 +9341,11 @@ export default class Client extends OpenApi {
|
|
|
9213
9341
|
}
|
|
9214
9342
|
|
|
9215
9343
|
/**
|
|
9216
|
-
* Queries the FAQ
|
|
9344
|
+
* Queries the FAQ for a page.
|
|
9217
9345
|
*
|
|
9218
9346
|
* @remarks
|
|
9219
9347
|
* ## QPS limit
|
|
9220
|
-
* The single-user QPS limit for this operation is 10 calls per second. If
|
|
9348
|
+
* 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.
|
|
9221
9349
|
*
|
|
9222
9350
|
* @deprecated OpenAPI DescribePageDocuments is deprecated
|
|
9223
9351
|
*
|
|
@@ -9270,11 +9398,11 @@ export default class Client extends OpenApi {
|
|
|
9270
9398
|
}
|
|
9271
9399
|
|
|
9272
9400
|
/**
|
|
9273
|
-
* Queries the FAQ
|
|
9401
|
+
* Queries the FAQ for a page.
|
|
9274
9402
|
*
|
|
9275
9403
|
* @remarks
|
|
9276
9404
|
* ## QPS limit
|
|
9277
|
-
* The single-user QPS limit for this operation is 10 calls per second. If
|
|
9405
|
+
* 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.
|
|
9278
9406
|
*
|
|
9279
9407
|
* @deprecated OpenAPI DescribePageDocuments is deprecated
|
|
9280
9408
|
*
|
|
@@ -9798,10 +9926,10 @@ export default class Client extends OpenApi {
|
|
|
9798
9926
|
}
|
|
9799
9927
|
|
|
9800
9928
|
/**
|
|
9801
|
-
*
|
|
9929
|
+
* Queries the billing overview of a subscription 2.0 instance.
|
|
9802
9930
|
*
|
|
9803
9931
|
* @remarks
|
|
9804
|
-
*
|
|
9932
|
+
* The statistics cover the current Cloud Firewall instance of the user, including all data since the purchase date.
|
|
9805
9933
|
*
|
|
9806
9934
|
* @param request - DescribePrepayBillTotalRequest
|
|
9807
9935
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9852,10 +9980,10 @@ export default class Client extends OpenApi {
|
|
|
9852
9980
|
}
|
|
9853
9981
|
|
|
9854
9982
|
/**
|
|
9855
|
-
*
|
|
9983
|
+
* Queries the billing overview of a subscription 2.0 instance.
|
|
9856
9984
|
*
|
|
9857
9985
|
* @remarks
|
|
9858
|
-
*
|
|
9986
|
+
* The statistics cover the current Cloud Firewall instance of the user, including all data since the purchase date.
|
|
9859
9987
|
*
|
|
9860
9988
|
* @param request - DescribePrepayBillTotalRequest
|
|
9861
9989
|
* @returns DescribePrepayBillTotalResponse
|
|
@@ -10042,7 +10170,7 @@ export default class Client extends OpenApi {
|
|
|
10042
10170
|
*
|
|
10043
10171
|
* @remarks
|
|
10044
10172
|
* ## QPS limit
|
|
10045
|
-
* The single-user QPS limit for this operation is 10 calls per second. If
|
|
10173
|
+
* The single-user QPS limit for this operation is 10 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation at a reasonable frequency.
|
|
10046
10174
|
*
|
|
10047
10175
|
* @param request - DescribeRegionInfoRequest
|
|
10048
10176
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10089,7 +10217,7 @@ export default class Client extends OpenApi {
|
|
|
10089
10217
|
*
|
|
10090
10218
|
* @remarks
|
|
10091
10219
|
* ## QPS limit
|
|
10092
|
-
* The single-user QPS limit for this operation is 10 calls per second. If
|
|
10220
|
+
* The single-user QPS limit for this operation is 10 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation at a reasonable frequency.
|
|
10093
10221
|
*
|
|
10094
10222
|
* @param request - DescribeRegionInfoRequest
|
|
10095
10223
|
* @returns DescribeRegionInfoResponse
|
|
@@ -10105,7 +10233,7 @@ export default class Client extends OpenApi {
|
|
|
10105
10233
|
* @remarks
|
|
10106
10234
|
* This operation is used to retrieve DNS resolution results for a domain name. Currently, only resolution results from Alibaba Cloud DNS are supported. The domain name that you want to query must use Alibaba Cloud DNS. Otherwise, the resolution results cannot be retrieved.
|
|
10107
10235
|
* ## QPS limit
|
|
10108
|
-
* 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
|
|
10236
|
+
* 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 an appropriate frequency.
|
|
10109
10237
|
*
|
|
10110
10238
|
* @param request - DescribeRegionResourceTypeAutoEnableRequest
|
|
10111
10239
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10141,7 +10269,7 @@ export default class Client extends OpenApi {
|
|
|
10141
10269
|
* @remarks
|
|
10142
10270
|
* This operation is used to retrieve DNS resolution results for a domain name. Currently, only resolution results from Alibaba Cloud DNS are supported. The domain name that you want to query must use Alibaba Cloud DNS. Otherwise, the resolution results cannot be retrieved.
|
|
10143
10271
|
* ## QPS limit
|
|
10144
|
-
* 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
|
|
10272
|
+
* 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 an appropriate frequency.
|
|
10145
10273
|
*
|
|
10146
10274
|
* @param request - DescribeRegionResourceTypeAutoEnableRequest
|
|
10147
10275
|
* @returns DescribeRegionResourceTypeAutoEnableResponse
|
|
@@ -10155,9 +10283,9 @@ export default class Client extends OpenApi {
|
|
|
10155
10283
|
* Queries the default traffic redirection for an asset type.
|
|
10156
10284
|
*
|
|
10157
10285
|
* @remarks
|
|
10158
|
-
* This operation is used to
|
|
10286
|
+
* This operation is used to retrieve DNS resolution results for a domain name. Currently, only resolution results from Alibaba Cloud DNS are supported. The domain name that you want to query must use Alibaba Cloud DNS. Otherwise, the resolution results cannot be retrieved.
|
|
10159
10287
|
* ## QPS limit
|
|
10160
|
-
* 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
|
|
10288
|
+
* 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.
|
|
10161
10289
|
*
|
|
10162
10290
|
* @param request - DescribeResourceTypeAutoEnableRequest
|
|
10163
10291
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10191,9 +10319,9 @@ export default class Client extends OpenApi {
|
|
|
10191
10319
|
* Queries the default traffic redirection for an asset type.
|
|
10192
10320
|
*
|
|
10193
10321
|
* @remarks
|
|
10194
|
-
* This operation is used to
|
|
10322
|
+
* This operation is used to retrieve DNS resolution results for a domain name. Currently, only resolution results from Alibaba Cloud DNS are supported. The domain name that you want to query must use Alibaba Cloud DNS. Otherwise, the resolution results cannot be retrieved.
|
|
10195
10323
|
* ## QPS limit
|
|
10196
|
-
* 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
|
|
10324
|
+
* 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.
|
|
10197
10325
|
*
|
|
10198
10326
|
* @param request - DescribeResourceTypeAutoEnableRequest
|
|
10199
10327
|
* @returns DescribeResourceTypeAutoEnableResponse
|
|
@@ -11064,6 +11192,76 @@ export default class Client extends OpenApi {
|
|
|
11064
11192
|
return await this.describeSdlEventStatisticWithOptions(request, runtime);
|
|
11065
11193
|
}
|
|
11066
11194
|
|
|
11195
|
+
/**
|
|
11196
|
+
* Retrieves the packet payload of a sensitive data leak event.
|
|
11197
|
+
*
|
|
11198
|
+
* @remarks
|
|
11199
|
+
* ## QPS limit
|
|
11200
|
+
* The single-user QPS limit for this operation is 10 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation at a reasonable frequency.
|
|
11201
|
+
*
|
|
11202
|
+
* @param request - DescribeSdlLastPayloadRequest
|
|
11203
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
11204
|
+
* @returns DescribeSdlLastPayloadResponse
|
|
11205
|
+
*/
|
|
11206
|
+
async describeSdlLastPayloadWithOptions(request: $_model.DescribeSdlLastPayloadRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeSdlLastPayloadResponse> {
|
|
11207
|
+
request.validate();
|
|
11208
|
+
let query = { };
|
|
11209
|
+
if (!$dara.isNull(request.dstIp)) {
|
|
11210
|
+
query["DstIp"] = request.dstIp;
|
|
11211
|
+
}
|
|
11212
|
+
|
|
11213
|
+
if (!$dara.isNull(request.endTime)) {
|
|
11214
|
+
query["EndTime"] = request.endTime;
|
|
11215
|
+
}
|
|
11216
|
+
|
|
11217
|
+
if (!$dara.isNull(request.lang)) {
|
|
11218
|
+
query["Lang"] = request.lang;
|
|
11219
|
+
}
|
|
11220
|
+
|
|
11221
|
+
if (!$dara.isNull(request.sensitiveCategory)) {
|
|
11222
|
+
query["SensitiveCategory"] = request.sensitiveCategory;
|
|
11223
|
+
}
|
|
11224
|
+
|
|
11225
|
+
if (!$dara.isNull(request.srcIp)) {
|
|
11226
|
+
query["SrcIp"] = request.srcIp;
|
|
11227
|
+
}
|
|
11228
|
+
|
|
11229
|
+
if (!$dara.isNull(request.startTime)) {
|
|
11230
|
+
query["StartTime"] = request.startTime;
|
|
11231
|
+
}
|
|
11232
|
+
|
|
11233
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
11234
|
+
query: OpenApiUtil.query(query),
|
|
11235
|
+
});
|
|
11236
|
+
let params = new $OpenApiUtil.Params({
|
|
11237
|
+
action: "DescribeSdlLastPayload",
|
|
11238
|
+
version: "2017-12-07",
|
|
11239
|
+
protocol: "HTTPS",
|
|
11240
|
+
pathname: "/",
|
|
11241
|
+
method: "POST",
|
|
11242
|
+
authType: "AK",
|
|
11243
|
+
style: "RPC",
|
|
11244
|
+
reqBodyType: "formData",
|
|
11245
|
+
bodyType: "json",
|
|
11246
|
+
});
|
|
11247
|
+
return $dara.cast<$_model.DescribeSdlLastPayloadResponse>(await this.callApi(params, req, runtime), new $_model.DescribeSdlLastPayloadResponse({}));
|
|
11248
|
+
}
|
|
11249
|
+
|
|
11250
|
+
/**
|
|
11251
|
+
* Retrieves the packet payload of a sensitive data leak event.
|
|
11252
|
+
*
|
|
11253
|
+
* @remarks
|
|
11254
|
+
* ## QPS limit
|
|
11255
|
+
* The single-user QPS limit for this operation is 10 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation at a reasonable frequency.
|
|
11256
|
+
*
|
|
11257
|
+
* @param request - DescribeSdlLastPayloadRequest
|
|
11258
|
+
* @returns DescribeSdlLastPayloadResponse
|
|
11259
|
+
*/
|
|
11260
|
+
async describeSdlLastPayload(request: $_model.DescribeSdlLastPayloadRequest): Promise<$_model.DescribeSdlLastPayloadResponse> {
|
|
11261
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
11262
|
+
return await this.describeSdlLastPayloadWithOptions(request, runtime);
|
|
11263
|
+
}
|
|
11264
|
+
|
|
11067
11265
|
/**
|
|
11068
11266
|
* Retrieves the details of sensitive data.
|
|
11069
11267
|
*
|
|
@@ -14461,19 +14659,29 @@ export default class Client extends OpenApi {
|
|
|
14461
14659
|
}
|
|
14462
14660
|
|
|
14463
14661
|
/**
|
|
14464
|
-
*
|
|
14662
|
+
* Modifies an address book.
|
|
14465
14663
|
*
|
|
14466
14664
|
* @remarks
|
|
14467
|
-
* This
|
|
14468
|
-
* ## QPS
|
|
14469
|
-
* The single-user QPS limit for this
|
|
14665
|
+
* This operation is used to modify an address book.
|
|
14666
|
+
* ## QPS limit
|
|
14667
|
+
* 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.
|
|
14470
14668
|
*
|
|
14471
|
-
* @param
|
|
14669
|
+
* @param tmpReq - ModifyAddressBookRequest
|
|
14472
14670
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
14473
14671
|
* @returns ModifyAddressBookResponse
|
|
14474
14672
|
*/
|
|
14475
|
-
async modifyAddressBookWithOptions(
|
|
14476
|
-
|
|
14673
|
+
async modifyAddressBookWithOptions(tmpReq: $_model.ModifyAddressBookRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyAddressBookResponse> {
|
|
14674
|
+
tmpReq.validate();
|
|
14675
|
+
let request = new $_model.ModifyAddressBookShrinkRequest({ });
|
|
14676
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
14677
|
+
if (!$dara.isNull(tmpReq.assetMemberUids)) {
|
|
14678
|
+
request.assetMemberUidsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.assetMemberUids, "AssetMemberUids", "json");
|
|
14679
|
+
}
|
|
14680
|
+
|
|
14681
|
+
if (!$dara.isNull(tmpReq.assetRegionResourceTypes)) {
|
|
14682
|
+
request.assetRegionResourceTypesShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.assetRegionResourceTypes, "AssetRegionResourceTypes", "json");
|
|
14683
|
+
}
|
|
14684
|
+
|
|
14477
14685
|
let query = { };
|
|
14478
14686
|
if (!$dara.isNull(request.ackLabels)) {
|
|
14479
14687
|
query["AckLabels"] = request.ackLabels;
|
|
@@ -14487,6 +14695,14 @@ export default class Client extends OpenApi {
|
|
|
14487
14695
|
query["AddressList"] = request.addressList;
|
|
14488
14696
|
}
|
|
14489
14697
|
|
|
14698
|
+
if (!$dara.isNull(request.assetMemberUidsShrink)) {
|
|
14699
|
+
query["AssetMemberUids"] = request.assetMemberUidsShrink;
|
|
14700
|
+
}
|
|
14701
|
+
|
|
14702
|
+
if (!$dara.isNull(request.assetRegionResourceTypesShrink)) {
|
|
14703
|
+
query["AssetRegionResourceTypes"] = request.assetRegionResourceTypesShrink;
|
|
14704
|
+
}
|
|
14705
|
+
|
|
14490
14706
|
if (!$dara.isNull(request.autoAddTagEcs)) {
|
|
14491
14707
|
query["AutoAddTagEcs"] = request.autoAddTagEcs;
|
|
14492
14708
|
}
|
|
@@ -14541,12 +14757,12 @@ export default class Client extends OpenApi {
|
|
|
14541
14757
|
}
|
|
14542
14758
|
|
|
14543
14759
|
/**
|
|
14544
|
-
*
|
|
14760
|
+
* Modifies an address book.
|
|
14545
14761
|
*
|
|
14546
14762
|
* @remarks
|
|
14547
|
-
* This
|
|
14548
|
-
* ## QPS
|
|
14549
|
-
* The single-user QPS limit for this
|
|
14763
|
+
* This operation is used to modify an address book.
|
|
14764
|
+
* ## QPS limit
|
|
14765
|
+
* 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.
|
|
14550
14766
|
*
|
|
14551
14767
|
* @param request - ModifyAddressBookRequest
|
|
14552
14768
|
* @returns ModifyAddressBookResponse
|