@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/dist/client.js
CHANGED
|
@@ -74,7 +74,7 @@ class Client extends openapi_core_1.default {
|
|
|
74
74
|
'cn-beijing-finance-1': "cloudfw.aliyuncs.com",
|
|
75
75
|
'cn-beijing': "cloudfw.aliyuncs.com",
|
|
76
76
|
'ap-southeast-5': "cloudfw.aliyuncs.com",
|
|
77
|
-
'ap-southeast-3': "cloudfw.aliyuncs.com",
|
|
77
|
+
'ap-southeast-3': "cloudfw.ap-southeast-1.aliyuncs.com",
|
|
78
78
|
'ap-northeast-1': "cloudfw.aliyuncs.com",
|
|
79
79
|
};
|
|
80
80
|
this.checkConfig(config);
|
|
@@ -138,19 +138,27 @@ class Client extends openapi_core_1.default {
|
|
|
138
138
|
return await this.addAclBackupDataWithOptions(request, runtime);
|
|
139
139
|
}
|
|
140
140
|
/**
|
|
141
|
-
*
|
|
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
|
|
145
|
-
* ##
|
|
146
|
-
* The single-user QPS limit for this
|
|
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
|
|
148
|
+
* @param tmpReq - AddAddressBookRequest
|
|
149
149
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
150
150
|
* @returns AddAddressBookResponse
|
|
151
151
|
*/
|
|
152
|
-
async addAddressBookWithOptions(
|
|
153
|
-
|
|
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
|
-
*
|
|
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
|
|
212
|
-
* ##
|
|
213
|
-
* The single-user QPS limit for this
|
|
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
|
|
@@ -1519,12 +1533,12 @@ class Client extends openapi_core_1.default {
|
|
|
1519
1533
|
return await this.createTrFirewallV2RoutePolicyWithOptions(request, runtime);
|
|
1520
1534
|
}
|
|
1521
1535
|
/**
|
|
1522
|
-
* Creates a
|
|
1536
|
+
* Creates a virtual private cloud (VPC) firewall to protect traffic between network instances in a Cloud Enterprise Network (CEN) instance and a specified VPC.
|
|
1523
1537
|
*
|
|
1524
1538
|
* @remarks
|
|
1525
|
-
* This operation is
|
|
1539
|
+
* 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).
|
|
1526
1540
|
* ## QPS limit
|
|
1527
|
-
* The single-user QPS limit for this operation is 10 calls per second. If the
|
|
1541
|
+
* 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.
|
|
1528
1542
|
*
|
|
1529
1543
|
* @param request - CreateVpcFirewallCenConfigureRequest
|
|
1530
1544
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1586,12 +1600,12 @@ class Client extends openapi_core_1.default {
|
|
|
1586
1600
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateVpcFirewallCenConfigureResponse({}));
|
|
1587
1601
|
}
|
|
1588
1602
|
/**
|
|
1589
|
-
* Creates a
|
|
1603
|
+
* Creates a virtual private cloud (VPC) firewall to protect traffic between network instances in a Cloud Enterprise Network (CEN) instance and a specified VPC.
|
|
1590
1604
|
*
|
|
1591
1605
|
* @remarks
|
|
1592
|
-
* This operation is
|
|
1606
|
+
* 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).
|
|
1593
1607
|
* ## QPS limit
|
|
1594
|
-
* The single-user QPS limit for this operation is 10 calls per second. If the
|
|
1608
|
+
* 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.
|
|
1595
1609
|
*
|
|
1596
1610
|
* @param request - CreateVpcFirewallCenConfigureRequest
|
|
1597
1611
|
* @returns CreateVpcFirewallCenConfigureResponse
|
|
@@ -3739,7 +3753,7 @@ class Client extends openapi_core_1.default {
|
|
|
3739
3753
|
*
|
|
3740
3754
|
* @remarks
|
|
3741
3755
|
* ## QPS limit
|
|
3742
|
-
* The single-user QPS limit for this operation is 10 calls per second. If
|
|
3756
|
+
* 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.
|
|
3743
3757
|
*
|
|
3744
3758
|
* @param request - DescribeAclRuleCountRequest
|
|
3745
3759
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3775,7 +3789,7 @@ class Client extends openapi_core_1.default {
|
|
|
3775
3789
|
*
|
|
3776
3790
|
* @remarks
|
|
3777
3791
|
* ## QPS limit
|
|
3778
|
-
* The single-user QPS limit for this operation is 10 calls per second. If
|
|
3792
|
+
* 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.
|
|
3779
3793
|
*
|
|
3780
3794
|
* @param request - DescribeAclRuleCountRequest
|
|
3781
3795
|
* @returns DescribeAclRuleCountResponse
|
|
@@ -3785,11 +3799,11 @@ class Client extends openapi_core_1.default {
|
|
|
3785
3799
|
return await this.describeAclRuleCountWithOptions(request, runtime);
|
|
3786
3800
|
}
|
|
3787
3801
|
/**
|
|
3788
|
-
*
|
|
3802
|
+
* Retrieves the ACL whitelist.
|
|
3789
3803
|
*
|
|
3790
3804
|
* @remarks
|
|
3791
3805
|
* ## QPS limit
|
|
3792
|
-
* The
|
|
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
|
-
*
|
|
3838
|
+
* Retrieves the ACL whitelist.
|
|
3825
3839
|
*
|
|
3826
3840
|
* @remarks
|
|
3827
3841
|
* ## QPS limit
|
|
3828
|
-
* The
|
|
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
|
|
3852
|
+
* Queries address books in batches.
|
|
3839
3853
|
*
|
|
3840
3854
|
* @remarks
|
|
3841
|
-
*
|
|
3855
|
+
* This operation is used to query the details of access control policy address books.
|
|
3842
3856
|
* ## QPS limit
|
|
3843
|
-
* The
|
|
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
|
|
3859
|
+
* @param tmpReq - DescribeAddressBookRequest
|
|
3846
3860
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
3847
3861
|
* @returns DescribeAddressBookResponse
|
|
3848
3862
|
*/
|
|
3849
|
-
async describeAddressBookWithOptions(
|
|
3850
|
-
|
|
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
|
|
3912
|
+
* Queries address books in batches.
|
|
3891
3913
|
*
|
|
3892
3914
|
* @remarks
|
|
3893
|
-
*
|
|
3915
|
+
* This operation is used to query the details of access control policy address books.
|
|
3894
3916
|
* ## QPS limit
|
|
3895
|
-
* The
|
|
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
|
|
@@ -4910,6 +4932,51 @@ class Client extends openapi_core_1.default {
|
|
|
4910
4932
|
let runtime = new $dara.RuntimeOptions({});
|
|
4911
4933
|
return await this.describeFirewallDropStatisticsWithOptions(runtime);
|
|
4912
4934
|
}
|
|
4935
|
+
/**
|
|
4936
|
+
* Retrieves the overall firewall interception trend, including Internet, VPC, and NAT traffic.
|
|
4937
|
+
*
|
|
4938
|
+
* @param request - DescribeFirewallDropTrendRequest
|
|
4939
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4940
|
+
* @returns DescribeFirewallDropTrendResponse
|
|
4941
|
+
*/
|
|
4942
|
+
async describeFirewallDropTrendWithOptions(request, runtime) {
|
|
4943
|
+
request.validate();
|
|
4944
|
+
let query = {};
|
|
4945
|
+
if (!$dara.isNull(request.endTime)) {
|
|
4946
|
+
query["EndTime"] = request.endTime;
|
|
4947
|
+
}
|
|
4948
|
+
if (!$dara.isNull(request.lang)) {
|
|
4949
|
+
query["Lang"] = request.lang;
|
|
4950
|
+
}
|
|
4951
|
+
if (!$dara.isNull(request.startTime)) {
|
|
4952
|
+
query["StartTime"] = request.startTime;
|
|
4953
|
+
}
|
|
4954
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
4955
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
4956
|
+
});
|
|
4957
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
4958
|
+
action: "DescribeFirewallDropTrend",
|
|
4959
|
+
version: "2017-12-07",
|
|
4960
|
+
protocol: "HTTPS",
|
|
4961
|
+
pathname: "/",
|
|
4962
|
+
method: "POST",
|
|
4963
|
+
authType: "AK",
|
|
4964
|
+
style: "RPC",
|
|
4965
|
+
reqBodyType: "formData",
|
|
4966
|
+
bodyType: "json",
|
|
4967
|
+
});
|
|
4968
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeFirewallDropTrendResponse({}));
|
|
4969
|
+
}
|
|
4970
|
+
/**
|
|
4971
|
+
* Retrieves the overall firewall interception trend, including Internet, VPC, and NAT traffic.
|
|
4972
|
+
*
|
|
4973
|
+
* @param request - DescribeFirewallDropTrendRequest
|
|
4974
|
+
* @returns DescribeFirewallDropTrendResponse
|
|
4975
|
+
*/
|
|
4976
|
+
async describeFirewallDropTrend(request) {
|
|
4977
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
4978
|
+
return await this.describeFirewallDropTrendWithOptions(request, runtime);
|
|
4979
|
+
}
|
|
4913
4980
|
/**
|
|
4914
4981
|
* Retrieves the details of a firewall task.
|
|
4915
4982
|
*
|
|
@@ -4969,6 +5036,51 @@ class Client extends openapi_core_1.default {
|
|
|
4969
5036
|
let runtime = new $dara.RuntimeOptions({});
|
|
4970
5037
|
return await this.describeFirewallTaskWithOptions(request, runtime);
|
|
4971
5038
|
}
|
|
5039
|
+
/**
|
|
5040
|
+
* Queries the traffic trend of a firewall.
|
|
5041
|
+
*
|
|
5042
|
+
* @param request - DescribeFirewallTrafficTrendRequest
|
|
5043
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5044
|
+
* @returns DescribeFirewallTrafficTrendResponse
|
|
5045
|
+
*/
|
|
5046
|
+
async describeFirewallTrafficTrendWithOptions(request, runtime) {
|
|
5047
|
+
request.validate();
|
|
5048
|
+
let query = {};
|
|
5049
|
+
if (!$dara.isNull(request.endTime)) {
|
|
5050
|
+
query["EndTime"] = request.endTime;
|
|
5051
|
+
}
|
|
5052
|
+
if (!$dara.isNull(request.lang)) {
|
|
5053
|
+
query["Lang"] = request.lang;
|
|
5054
|
+
}
|
|
5055
|
+
if (!$dara.isNull(request.startTime)) {
|
|
5056
|
+
query["StartTime"] = request.startTime;
|
|
5057
|
+
}
|
|
5058
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
5059
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
5060
|
+
});
|
|
5061
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
5062
|
+
action: "DescribeFirewallTrafficTrend",
|
|
5063
|
+
version: "2017-12-07",
|
|
5064
|
+
protocol: "HTTPS",
|
|
5065
|
+
pathname: "/",
|
|
5066
|
+
method: "POST",
|
|
5067
|
+
authType: "AK",
|
|
5068
|
+
style: "RPC",
|
|
5069
|
+
reqBodyType: "formData",
|
|
5070
|
+
bodyType: "json",
|
|
5071
|
+
});
|
|
5072
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeFirewallTrafficTrendResponse({}));
|
|
5073
|
+
}
|
|
5074
|
+
/**
|
|
5075
|
+
* Queries the traffic trend of a firewall.
|
|
5076
|
+
*
|
|
5077
|
+
* @param request - DescribeFirewallTrafficTrendRequest
|
|
5078
|
+
* @returns DescribeFirewallTrafficTrendResponse
|
|
5079
|
+
*/
|
|
5080
|
+
async describeFirewallTrafficTrend(request) {
|
|
5081
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
5082
|
+
return await this.describeFirewallTrafficTrendWithOptions(request, runtime);
|
|
5083
|
+
}
|
|
4972
5084
|
/**
|
|
4973
5085
|
* Queries the vSwitches that are created by Cloud Firewall.
|
|
4974
5086
|
*
|
|
@@ -5509,7 +5621,7 @@ class Client extends openapi_core_1.default {
|
|
|
5509
5621
|
return await this.describeInternetOpenDetailWithOptions(request, runtime);
|
|
5510
5622
|
}
|
|
5511
5623
|
/**
|
|
5512
|
-
*
|
|
5624
|
+
* Queries the details of an access control policy group in Cloud Firewall.
|
|
5513
5625
|
*
|
|
5514
5626
|
* @param request - DescribeInternetOpenIpRequest
|
|
5515
5627
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5574,7 +5686,7 @@ class Client extends openapi_core_1.default {
|
|
|
5574
5686
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeInternetOpenIpResponse({}));
|
|
5575
5687
|
}
|
|
5576
5688
|
/**
|
|
5577
|
-
*
|
|
5689
|
+
* Queries the details of an access control policy group in Cloud Firewall.
|
|
5578
5690
|
*
|
|
5579
5691
|
* @param request - DescribeInternetOpenIpRequest
|
|
5580
5692
|
* @returns DescribeInternetOpenIpResponse
|
|
@@ -7844,7 +7956,7 @@ class Client extends openapi_core_1.default {
|
|
|
7844
7956
|
return await this.describeOutgoingDomainWithOptions(request, runtime);
|
|
7845
7957
|
}
|
|
7846
7958
|
/**
|
|
7847
|
-
* Retrieves details
|
|
7959
|
+
* Retrieves the details of an outbound domain.
|
|
7848
7960
|
*
|
|
7849
7961
|
* @param request - DescribeOutgoingDomainDetailRequest
|
|
7850
7962
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7921,7 +8033,7 @@ class Client extends openapi_core_1.default {
|
|
|
7921
8033
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeOutgoingDomainDetailResponse({}));
|
|
7922
8034
|
}
|
|
7923
8035
|
/**
|
|
7924
|
-
* Retrieves details
|
|
8036
|
+
* Retrieves the details of an outbound domain.
|
|
7925
8037
|
*
|
|
7926
8038
|
* @param request - DescribeOutgoingDomainDetailRequest
|
|
7927
8039
|
* @returns DescribeOutgoingDomainDetailResponse
|
|
@@ -8134,11 +8246,11 @@ class Client extends openapi_core_1.default {
|
|
|
8134
8246
|
return await this.describeOutgoingTagWithOptions(request, runtime);
|
|
8135
8247
|
}
|
|
8136
8248
|
/**
|
|
8137
|
-
* Queries the FAQ
|
|
8249
|
+
* Queries the FAQ for a page.
|
|
8138
8250
|
*
|
|
8139
8251
|
* @remarks
|
|
8140
8252
|
* ## QPS limit
|
|
8141
|
-
* The single-user QPS limit for this operation is 10 calls per second. If
|
|
8253
|
+
* 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.
|
|
8142
8254
|
*
|
|
8143
8255
|
* @deprecated OpenAPI DescribePageDocuments is deprecated
|
|
8144
8256
|
*
|
|
@@ -8184,11 +8296,11 @@ class Client extends openapi_core_1.default {
|
|
|
8184
8296
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribePageDocumentsResponse({}));
|
|
8185
8297
|
}
|
|
8186
8298
|
/**
|
|
8187
|
-
* Queries the FAQ
|
|
8299
|
+
* Queries the FAQ for a page.
|
|
8188
8300
|
*
|
|
8189
8301
|
* @remarks
|
|
8190
8302
|
* ## QPS limit
|
|
8191
|
-
* The single-user QPS limit for this operation is 10 calls per second. If
|
|
8303
|
+
* 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.
|
|
8192
8304
|
*
|
|
8193
8305
|
* @deprecated OpenAPI DescribePageDocuments is deprecated
|
|
8194
8306
|
*
|
|
@@ -8668,10 +8780,10 @@ class Client extends openapi_core_1.default {
|
|
|
8668
8780
|
return await this.describePrefixListsWithOptions(request, runtime);
|
|
8669
8781
|
}
|
|
8670
8782
|
/**
|
|
8671
|
-
*
|
|
8783
|
+
* Queries the billing overview of a subscription 2.0 instance.
|
|
8672
8784
|
*
|
|
8673
8785
|
* @remarks
|
|
8674
|
-
*
|
|
8786
|
+
* The statistics cover the current Cloud Firewall instance of the user, including all data since the purchase date.
|
|
8675
8787
|
*
|
|
8676
8788
|
* @param request - DescribePrepayBillTotalRequest
|
|
8677
8789
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8715,10 +8827,10 @@ class Client extends openapi_core_1.default {
|
|
|
8715
8827
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribePrepayBillTotalResponse({}));
|
|
8716
8828
|
}
|
|
8717
8829
|
/**
|
|
8718
|
-
*
|
|
8830
|
+
* Queries the billing overview of a subscription 2.0 instance.
|
|
8719
8831
|
*
|
|
8720
8832
|
* @remarks
|
|
8721
|
-
*
|
|
8833
|
+
* The statistics cover the current Cloud Firewall instance of the user, including all data since the purchase date.
|
|
8722
8834
|
*
|
|
8723
8835
|
* @param request - DescribePrepayBillTotalRequest
|
|
8724
8836
|
* @returns DescribePrepayBillTotalResponse
|
|
@@ -8894,7 +9006,7 @@ class Client extends openapi_core_1.default {
|
|
|
8894
9006
|
*
|
|
8895
9007
|
* @remarks
|
|
8896
9008
|
* ## QPS limit
|
|
8897
|
-
* The single-user QPS limit for this operation is 10 calls per second. If
|
|
9009
|
+
* 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.
|
|
8898
9010
|
*
|
|
8899
9011
|
* @param request - DescribeRegionInfoRequest
|
|
8900
9012
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8936,7 +9048,7 @@ class Client extends openapi_core_1.default {
|
|
|
8936
9048
|
*
|
|
8937
9049
|
* @remarks
|
|
8938
9050
|
* ## QPS limit
|
|
8939
|
-
* The single-user QPS limit for this operation is 10 calls per second. If
|
|
9051
|
+
* 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.
|
|
8940
9052
|
*
|
|
8941
9053
|
* @param request - DescribeRegionInfoRequest
|
|
8942
9054
|
* @returns DescribeRegionInfoResponse
|
|
@@ -8951,7 +9063,7 @@ class Client extends openapi_core_1.default {
|
|
|
8951
9063
|
* @remarks
|
|
8952
9064
|
* 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.
|
|
8953
9065
|
* ## QPS limit
|
|
8954
|
-
* 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
|
|
9066
|
+
* 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.
|
|
8955
9067
|
*
|
|
8956
9068
|
* @param request - DescribeRegionResourceTypeAutoEnableRequest
|
|
8957
9069
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8985,7 +9097,7 @@ class Client extends openapi_core_1.default {
|
|
|
8985
9097
|
* @remarks
|
|
8986
9098
|
* 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.
|
|
8987
9099
|
* ## QPS limit
|
|
8988
|
-
* 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
|
|
9100
|
+
* 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.
|
|
8989
9101
|
*
|
|
8990
9102
|
* @param request - DescribeRegionResourceTypeAutoEnableRequest
|
|
8991
9103
|
* @returns DescribeRegionResourceTypeAutoEnableResponse
|
|
@@ -8998,9 +9110,9 @@ class Client extends openapi_core_1.default {
|
|
|
8998
9110
|
* Queries the default traffic redirection for an asset type.
|
|
8999
9111
|
*
|
|
9000
9112
|
* @remarks
|
|
9001
|
-
* This operation is used to
|
|
9113
|
+
* 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.
|
|
9002
9114
|
* ## QPS limit
|
|
9003
|
-
* 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
|
|
9115
|
+
* 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.
|
|
9004
9116
|
*
|
|
9005
9117
|
* @param request - DescribeResourceTypeAutoEnableRequest
|
|
9006
9118
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9032,9 +9144,9 @@ class Client extends openapi_core_1.default {
|
|
|
9032
9144
|
* Queries the default traffic redirection for an asset type.
|
|
9033
9145
|
*
|
|
9034
9146
|
* @remarks
|
|
9035
|
-
* This operation is used to
|
|
9147
|
+
* 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.
|
|
9036
9148
|
* ## QPS limit
|
|
9037
|
-
* 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
|
|
9149
|
+
* 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.
|
|
9038
9150
|
*
|
|
9039
9151
|
* @param request - DescribeResourceTypeAutoEnableRequest
|
|
9040
9152
|
* @returns DescribeResourceTypeAutoEnableResponse
|
|
@@ -9777,6 +9889,68 @@ class Client extends openapi_core_1.default {
|
|
|
9777
9889
|
let runtime = new $dara.RuntimeOptions({});
|
|
9778
9890
|
return await this.describeSdlEventStatisticWithOptions(request, runtime);
|
|
9779
9891
|
}
|
|
9892
|
+
/**
|
|
9893
|
+
* Retrieves the packet payload of a sensitive data leak event.
|
|
9894
|
+
*
|
|
9895
|
+
* @remarks
|
|
9896
|
+
* ## QPS limit
|
|
9897
|
+
* 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.
|
|
9898
|
+
*
|
|
9899
|
+
* @param request - DescribeSdlLastPayloadRequest
|
|
9900
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
9901
|
+
* @returns DescribeSdlLastPayloadResponse
|
|
9902
|
+
*/
|
|
9903
|
+
async describeSdlLastPayloadWithOptions(request, runtime) {
|
|
9904
|
+
request.validate();
|
|
9905
|
+
let query = {};
|
|
9906
|
+
if (!$dara.isNull(request.dstIp)) {
|
|
9907
|
+
query["DstIp"] = request.dstIp;
|
|
9908
|
+
}
|
|
9909
|
+
if (!$dara.isNull(request.endTime)) {
|
|
9910
|
+
query["EndTime"] = request.endTime;
|
|
9911
|
+
}
|
|
9912
|
+
if (!$dara.isNull(request.lang)) {
|
|
9913
|
+
query["Lang"] = request.lang;
|
|
9914
|
+
}
|
|
9915
|
+
if (!$dara.isNull(request.sensitiveCategory)) {
|
|
9916
|
+
query["SensitiveCategory"] = request.sensitiveCategory;
|
|
9917
|
+
}
|
|
9918
|
+
if (!$dara.isNull(request.srcIp)) {
|
|
9919
|
+
query["SrcIp"] = request.srcIp;
|
|
9920
|
+
}
|
|
9921
|
+
if (!$dara.isNull(request.startTime)) {
|
|
9922
|
+
query["StartTime"] = request.startTime;
|
|
9923
|
+
}
|
|
9924
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
9925
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
9926
|
+
});
|
|
9927
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
9928
|
+
action: "DescribeSdlLastPayload",
|
|
9929
|
+
version: "2017-12-07",
|
|
9930
|
+
protocol: "HTTPS",
|
|
9931
|
+
pathname: "/",
|
|
9932
|
+
method: "POST",
|
|
9933
|
+
authType: "AK",
|
|
9934
|
+
style: "RPC",
|
|
9935
|
+
reqBodyType: "formData",
|
|
9936
|
+
bodyType: "json",
|
|
9937
|
+
});
|
|
9938
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeSdlLastPayloadResponse({}));
|
|
9939
|
+
}
|
|
9940
|
+
/**
|
|
9941
|
+
* Retrieves the packet payload of a sensitive data leak event.
|
|
9942
|
+
*
|
|
9943
|
+
* @remarks
|
|
9944
|
+
* ## QPS limit
|
|
9945
|
+
* 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.
|
|
9946
|
+
*
|
|
9947
|
+
* @param request - DescribeSdlLastPayloadRequest
|
|
9948
|
+
* @returns DescribeSdlLastPayloadResponse
|
|
9949
|
+
*/
|
|
9950
|
+
async describeSdlLastPayload(request) {
|
|
9951
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
9952
|
+
return await this.describeSdlLastPayloadWithOptions(request, runtime);
|
|
9953
|
+
}
|
|
9780
9954
|
/**
|
|
9781
9955
|
* Retrieves the details of sensitive data.
|
|
9782
9956
|
*
|
|
@@ -12751,19 +12925,27 @@ class Client extends openapi_core_1.default {
|
|
|
12751
12925
|
return await this.listTlsInspectCACertificatesWithOptions(request, runtime);
|
|
12752
12926
|
}
|
|
12753
12927
|
/**
|
|
12754
|
-
*
|
|
12928
|
+
* Modifies an address book.
|
|
12755
12929
|
*
|
|
12756
12930
|
* @remarks
|
|
12757
|
-
* This
|
|
12758
|
-
* ## QPS
|
|
12759
|
-
* The single-user QPS limit for this
|
|
12931
|
+
* This operation is used to modify an address book.
|
|
12932
|
+
* ## QPS limit
|
|
12933
|
+
* 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.
|
|
12760
12934
|
*
|
|
12761
|
-
* @param
|
|
12935
|
+
* @param tmpReq - ModifyAddressBookRequest
|
|
12762
12936
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
12763
12937
|
* @returns ModifyAddressBookResponse
|
|
12764
12938
|
*/
|
|
12765
|
-
async modifyAddressBookWithOptions(
|
|
12766
|
-
|
|
12939
|
+
async modifyAddressBookWithOptions(tmpReq, runtime) {
|
|
12940
|
+
tmpReq.validate();
|
|
12941
|
+
let request = new $_model.ModifyAddressBookShrinkRequest({});
|
|
12942
|
+
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
12943
|
+
if (!$dara.isNull(tmpReq.assetMemberUids)) {
|
|
12944
|
+
request.assetMemberUidsShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.assetMemberUids, "AssetMemberUids", "json");
|
|
12945
|
+
}
|
|
12946
|
+
if (!$dara.isNull(tmpReq.assetRegionResourceTypes)) {
|
|
12947
|
+
request.assetRegionResourceTypesShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.assetRegionResourceTypes, "AssetRegionResourceTypes", "json");
|
|
12948
|
+
}
|
|
12767
12949
|
let query = {};
|
|
12768
12950
|
if (!$dara.isNull(request.ackLabels)) {
|
|
12769
12951
|
query["AckLabels"] = request.ackLabels;
|
|
@@ -12774,6 +12956,12 @@ class Client extends openapi_core_1.default {
|
|
|
12774
12956
|
if (!$dara.isNull(request.addressList)) {
|
|
12775
12957
|
query["AddressList"] = request.addressList;
|
|
12776
12958
|
}
|
|
12959
|
+
if (!$dara.isNull(request.assetMemberUidsShrink)) {
|
|
12960
|
+
query["AssetMemberUids"] = request.assetMemberUidsShrink;
|
|
12961
|
+
}
|
|
12962
|
+
if (!$dara.isNull(request.assetRegionResourceTypesShrink)) {
|
|
12963
|
+
query["AssetRegionResourceTypes"] = request.assetRegionResourceTypesShrink;
|
|
12964
|
+
}
|
|
12777
12965
|
if (!$dara.isNull(request.autoAddTagEcs)) {
|
|
12778
12966
|
query["AutoAddTagEcs"] = request.autoAddTagEcs;
|
|
12779
12967
|
}
|
|
@@ -12818,12 +13006,12 @@ class Client extends openapi_core_1.default {
|
|
|
12818
13006
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyAddressBookResponse({}));
|
|
12819
13007
|
}
|
|
12820
13008
|
/**
|
|
12821
|
-
*
|
|
13009
|
+
* Modifies an address book.
|
|
12822
13010
|
*
|
|
12823
13011
|
* @remarks
|
|
12824
|
-
* This
|
|
12825
|
-
* ## QPS
|
|
12826
|
-
* The single-user QPS limit for this
|
|
13012
|
+
* This operation is used to modify an address book.
|
|
13013
|
+
* ## QPS limit
|
|
13014
|
+
* 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.
|
|
12827
13015
|
*
|
|
12828
13016
|
* @param request - ModifyAddressBookRequest
|
|
12829
13017
|
* @returns ModifyAddressBookResponse
|