@alicloud/waf-openapi20211001 4.2.1 → 4.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.
- package/dist/client.d.ts +15 -0
- package/dist/client.js +60 -0
- package/dist/client.js.map +1 -1
- package/dist/models/DescribeIpAbroadCountryInfosRequest.d.ts +56 -0
- package/dist/models/DescribeIpAbroadCountryInfosRequest.js +72 -0
- package/dist/models/DescribeIpAbroadCountryInfosRequest.js.map +1 -0
- package/dist/models/DescribeIpAbroadCountryInfosResponse.d.ts +19 -0
- package/dist/models/DescribeIpAbroadCountryInfosResponse.js +69 -0
- package/dist/models/DescribeIpAbroadCountryInfosResponse.js.map +1 -0
- package/dist/models/DescribeIpAbroadCountryInfosResponseBody.d.ts +35 -0
- package/dist/models/DescribeIpAbroadCountryInfosResponseBody.js +70 -0
- package/dist/models/DescribeIpAbroadCountryInfosResponseBody.js.map +1 -0
- package/dist/models/DescribeIpAbroadCountryInfosResponseBodyAbroadInfos.d.ts +30 -0
- package/dist/models/DescribeIpAbroadCountryInfosResponseBodyAbroadInfos.js +68 -0
- package/dist/models/DescribeIpAbroadCountryInfosResponseBodyAbroadInfos.js.map +1 -0
- package/dist/models/DescribeIpAbroadCountryInfosResponseBodyAbroadInfosRegions.d.ts +23 -0
- package/dist/models/DescribeIpAbroadCountryInfosResponseBodyAbroadInfosRegions.js +60 -0
- package/dist/models/DescribeIpAbroadCountryInfosResponseBodyAbroadInfosRegions.js.map +1 -0
- package/dist/models/model.d.ts +5 -0
- package/dist/models/model.js +23 -13
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +70 -0
- package/src/models/DescribeIpAbroadCountryInfosRequest.ts +83 -0
- package/src/models/DescribeIpAbroadCountryInfosResponse.ts +40 -0
- package/src/models/DescribeIpAbroadCountryInfosResponseBody.ts +59 -0
- package/src/models/DescribeIpAbroadCountryInfosResponseBodyAbroadInfos.ts +52 -0
- package/src/models/DescribeIpAbroadCountryInfosResponseBodyAbroadInfosRegions.ts +38 -0
- package/src/models/model.ts +5 -0
package/dist/client.d.ts
CHANGED
|
@@ -1229,6 +1229,21 @@ export default class Client extends OpenApi {
|
|
|
1229
1229
|
* @returns DescribeInstanceResponse
|
|
1230
1230
|
*/
|
|
1231
1231
|
describeInstance(request: $_model.DescribeInstanceRequest): Promise<$_model.DescribeInstanceResponse>;
|
|
1232
|
+
/**
|
|
1233
|
+
* 获取支持的海外IP区域封禁支持的国际及地域。
|
|
1234
|
+
*
|
|
1235
|
+
* @param request - DescribeIpAbroadCountryInfosRequest
|
|
1236
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1237
|
+
* @returns DescribeIpAbroadCountryInfosResponse
|
|
1238
|
+
*/
|
|
1239
|
+
describeIpAbroadCountryInfosWithOptions(request: $_model.DescribeIpAbroadCountryInfosRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeIpAbroadCountryInfosResponse>;
|
|
1240
|
+
/**
|
|
1241
|
+
* 获取支持的海外IP区域封禁支持的国际及地域。
|
|
1242
|
+
*
|
|
1243
|
+
* @param request - DescribeIpAbroadCountryInfosRequest
|
|
1244
|
+
* @returns DescribeIpAbroadCountryInfosResponse
|
|
1245
|
+
*/
|
|
1246
|
+
describeIpAbroadCountryInfos(request: $_model.DescribeIpAbroadCountryInfosRequest): Promise<$_model.DescribeIpAbroadCountryInfosResponse>;
|
|
1232
1247
|
/**
|
|
1233
1248
|
* Queries IP addresses in an IP address blacklist for major event protection by page.
|
|
1234
1249
|
*
|
package/dist/client.js
CHANGED
|
@@ -4587,6 +4587,66 @@ class Client extends openapi_core_1.default {
|
|
|
4587
4587
|
let runtime = new $dara.RuntimeOptions({});
|
|
4588
4588
|
return await this.describeInstanceWithOptions(request, runtime);
|
|
4589
4589
|
}
|
|
4590
|
+
/**
|
|
4591
|
+
* 获取支持的海外IP区域封禁支持的国际及地域。
|
|
4592
|
+
*
|
|
4593
|
+
* @param request - DescribeIpAbroadCountryInfosRequest
|
|
4594
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4595
|
+
* @returns DescribeIpAbroadCountryInfosResponse
|
|
4596
|
+
*/
|
|
4597
|
+
async describeIpAbroadCountryInfosWithOptions(request, runtime) {
|
|
4598
|
+
request.validate();
|
|
4599
|
+
let query = {};
|
|
4600
|
+
if (!$dara.isNull(request.abroadRegion)) {
|
|
4601
|
+
query["AbroadRegion"] = request.abroadRegion;
|
|
4602
|
+
}
|
|
4603
|
+
if (!$dara.isNull(request.country)) {
|
|
4604
|
+
query["Country"] = request.country;
|
|
4605
|
+
}
|
|
4606
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
4607
|
+
query["InstanceId"] = request.instanceId;
|
|
4608
|
+
}
|
|
4609
|
+
if (!$dara.isNull(request.language)) {
|
|
4610
|
+
query["Language"] = request.language;
|
|
4611
|
+
}
|
|
4612
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
4613
|
+
query["MaxResults"] = request.maxResults;
|
|
4614
|
+
}
|
|
4615
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
4616
|
+
query["NextToken"] = request.nextToken;
|
|
4617
|
+
}
|
|
4618
|
+
if (!$dara.isNull(request.regionId)) {
|
|
4619
|
+
query["RegionId"] = request.regionId;
|
|
4620
|
+
}
|
|
4621
|
+
if (!$dara.isNull(request.resourceManagerResourceGroupId)) {
|
|
4622
|
+
query["ResourceManagerResourceGroupId"] = request.resourceManagerResourceGroupId;
|
|
4623
|
+
}
|
|
4624
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
4625
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
4626
|
+
});
|
|
4627
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
4628
|
+
action: "DescribeIpAbroadCountryInfos",
|
|
4629
|
+
version: "2021-10-01",
|
|
4630
|
+
protocol: "HTTPS",
|
|
4631
|
+
pathname: "/",
|
|
4632
|
+
method: "POST",
|
|
4633
|
+
authType: "AK",
|
|
4634
|
+
style: "RPC",
|
|
4635
|
+
reqBodyType: "formData",
|
|
4636
|
+
bodyType: "json",
|
|
4637
|
+
});
|
|
4638
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeIpAbroadCountryInfosResponse({}));
|
|
4639
|
+
}
|
|
4640
|
+
/**
|
|
4641
|
+
* 获取支持的海外IP区域封禁支持的国际及地域。
|
|
4642
|
+
*
|
|
4643
|
+
* @param request - DescribeIpAbroadCountryInfosRequest
|
|
4644
|
+
* @returns DescribeIpAbroadCountryInfosResponse
|
|
4645
|
+
*/
|
|
4646
|
+
async describeIpAbroadCountryInfos(request) {
|
|
4647
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
4648
|
+
return await this.describeIpAbroadCountryInfosWithOptions(request, runtime);
|
|
4649
|
+
}
|
|
4590
4650
|
/**
|
|
4591
4651
|
* Queries IP addresses in an IP address blacklist for major event protection by page.
|
|
4592
4652
|
*
|