@alicloud/waf-openapi20211001 6.1.1 → 6.2.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 +75 -0
- package/dist/client.js +246 -0
- package/dist/client.js.map +1 -1
- package/dist/models/DescribeAlarmBannerRequest.d.ts +31 -0
- package/dist/models/DescribeAlarmBannerRequest.js +62 -0
- package/dist/models/DescribeAlarmBannerRequest.js.map +1 -0
- package/dist/models/DescribeAlarmBannerResponse.d.ts +19 -0
- package/dist/models/DescribeAlarmBannerResponse.js +69 -0
- package/dist/models/DescribeAlarmBannerResponse.js.map +1 -0
- package/dist/models/DescribeAlarmBannerResponseBody.d.ts +51 -0
- package/dist/models/DescribeAlarmBannerResponseBody.js +88 -0
- package/dist/models/DescribeAlarmBannerResponseBody.js.map +1 -0
- package/dist/models/DescribeAlarmListRequest.d.ts +31 -0
- package/dist/models/DescribeAlarmListRequest.js +62 -0
- package/dist/models/DescribeAlarmListRequest.js.map +1 -0
- package/dist/models/DescribeAlarmListResponse.d.ts +19 -0
- package/dist/models/DescribeAlarmListResponse.js +69 -0
- package/dist/models/DescribeAlarmListResponse.js.map +1 -0
- package/dist/models/DescribeAlarmListResponseBody.d.ts +66 -0
- package/dist/models/DescribeAlarmListResponseBody.js +94 -0
- package/dist/models/DescribeAlarmListResponseBody.js.map +1 -0
- package/dist/models/DescribeBotAppKeyRequest.d.ts +36 -0
- package/dist/models/DescribeBotAppKeyRequest.js +64 -0
- package/dist/models/DescribeBotAppKeyRequest.js.map +1 -0
- package/dist/models/DescribeBotAppKeyResponse.d.ts +19 -0
- package/dist/models/DescribeBotAppKeyResponse.js +69 -0
- package/dist/models/DescribeBotAppKeyResponse.js.map +1 -0
- package/dist/models/DescribeBotAppKeyResponseBody.d.ts +26 -0
- package/dist/models/DescribeBotAppKeyResponseBody.js +60 -0
- package/dist/models/DescribeBotAppKeyResponseBody.js.map +1 -0
- package/dist/models/DescribeThreatEventDetailRequest.d.ts +39 -0
- package/dist/models/DescribeThreatEventDetailRequest.js +64 -0
- package/dist/models/DescribeThreatEventDetailRequest.js.map +1 -0
- package/dist/models/DescribeThreatEventDetailResponse.d.ts +19 -0
- package/dist/models/DescribeThreatEventDetailResponse.js +69 -0
- package/dist/models/DescribeThreatEventDetailResponse.js.map +1 -0
- package/dist/models/DescribeThreatEventDetailResponseBody.d.ts +91 -0
- package/dist/models/DescribeThreatEventDetailResponseBody.js +104 -0
- package/dist/models/DescribeThreatEventDetailResponseBody.js.map +1 -0
- package/dist/models/DescribeThreatEventRequest.d.ts +62 -0
- package/dist/models/DescribeThreatEventRequest.js +72 -0
- package/dist/models/DescribeThreatEventRequest.js.map +1 -0
- package/dist/models/DescribeThreatEventResponse.d.ts +19 -0
- package/dist/models/DescribeThreatEventResponse.js +69 -0
- package/dist/models/DescribeThreatEventResponse.js.map +1 -0
- package/dist/models/DescribeThreatEventResponseBody.d.ts +71 -0
- package/dist/models/DescribeThreatEventResponseBody.js +96 -0
- package/dist/models/DescribeThreatEventResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +19 -0
- package/dist/models/model.js +56 -18
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +278 -0
- package/src/models/DescribeAlarmBannerRequest.ts +48 -0
- package/src/models/DescribeAlarmBannerResponse.ts +40 -0
- package/src/models/DescribeAlarmBannerResponseBody.ts +85 -0
- package/src/models/DescribeAlarmListRequest.ts +48 -0
- package/src/models/DescribeAlarmListResponse.ts +40 -0
- package/src/models/DescribeAlarmListResponseBody.ts +106 -0
- package/src/models/DescribeBotAppKeyRequest.ts +55 -0
- package/src/models/DescribeBotAppKeyResponse.ts +40 -0
- package/src/models/DescribeBotAppKeyResponseBody.ts +41 -0
- package/src/models/DescribeThreatEventDetailRequest.ts +58 -0
- package/src/models/DescribeThreatEventDetailResponse.ts +40 -0
- package/src/models/DescribeThreatEventDetailResponseBody.ts +141 -0
- package/src/models/DescribeThreatEventRequest.ts +89 -0
- package/src/models/DescribeThreatEventResponse.ts +40 -0
- package/src/models/DescribeThreatEventResponseBody.ts +113 -0
- package/src/models/model.ts +19 -0
package/dist/client.d.ts
CHANGED
|
@@ -554,6 +554,36 @@ export default class Client extends OpenApi {
|
|
|
554
554
|
* @returns DescribeAccountDelegatedStatusResponse
|
|
555
555
|
*/
|
|
556
556
|
describeAccountDelegatedStatus(request: $_model.DescribeAccountDelegatedStatusRequest): Promise<$_model.DescribeAccountDelegatedStatusResponse>;
|
|
557
|
+
/**
|
|
558
|
+
* 查询实例信息
|
|
559
|
+
*
|
|
560
|
+
* @param request - DescribeAlarmBannerRequest
|
|
561
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
562
|
+
* @returns DescribeAlarmBannerResponse
|
|
563
|
+
*/
|
|
564
|
+
describeAlarmBannerWithOptions(request: $_model.DescribeAlarmBannerRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeAlarmBannerResponse>;
|
|
565
|
+
/**
|
|
566
|
+
* 查询实例信息
|
|
567
|
+
*
|
|
568
|
+
* @param request - DescribeAlarmBannerRequest
|
|
569
|
+
* @returns DescribeAlarmBannerResponse
|
|
570
|
+
*/
|
|
571
|
+
describeAlarmBanner(request: $_model.DescribeAlarmBannerRequest): Promise<$_model.DescribeAlarmBannerResponse>;
|
|
572
|
+
/**
|
|
573
|
+
* 查询实例信息
|
|
574
|
+
*
|
|
575
|
+
* @param request - DescribeAlarmListRequest
|
|
576
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
577
|
+
* @returns DescribeAlarmListResponse
|
|
578
|
+
*/
|
|
579
|
+
describeAlarmListWithOptions(request: $_model.DescribeAlarmListRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeAlarmListResponse>;
|
|
580
|
+
/**
|
|
581
|
+
* 查询实例信息
|
|
582
|
+
*
|
|
583
|
+
* @param request - DescribeAlarmListRequest
|
|
584
|
+
* @returns DescribeAlarmListResponse
|
|
585
|
+
*/
|
|
586
|
+
describeAlarmList(request: $_model.DescribeAlarmListRequest): Promise<$_model.DescribeAlarmListResponse>;
|
|
557
587
|
/**
|
|
558
588
|
* Queries the list of data export tasks in the API security module.
|
|
559
589
|
*
|
|
@@ -854,6 +884,21 @@ export default class Client extends OpenApi {
|
|
|
854
884
|
* @returns DescribeBaseSystemRulesResponse
|
|
855
885
|
*/
|
|
856
886
|
describeBaseSystemRules(request: $_model.DescribeBaseSystemRulesRequest): Promise<$_model.DescribeBaseSystemRulesResponse>;
|
|
887
|
+
/**
|
|
888
|
+
* 分页查询防护模板
|
|
889
|
+
*
|
|
890
|
+
* @param request - DescribeBotAppKeyRequest
|
|
891
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
892
|
+
* @returns DescribeBotAppKeyResponse
|
|
893
|
+
*/
|
|
894
|
+
describeBotAppKeyWithOptions(request: $_model.DescribeBotAppKeyRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeBotAppKeyResponse>;
|
|
895
|
+
/**
|
|
896
|
+
* 分页查询防护模板
|
|
897
|
+
*
|
|
898
|
+
* @param request - DescribeBotAppKeyRequest
|
|
899
|
+
* @returns DescribeBotAppKeyResponse
|
|
900
|
+
*/
|
|
901
|
+
describeBotAppKey(request: $_model.DescribeBotAppKeyRequest): Promise<$_model.DescribeBotAppKeyResponse>;
|
|
857
902
|
/**
|
|
858
903
|
* 分页获取Bot管理规则标签信息
|
|
859
904
|
*
|
|
@@ -2420,6 +2465,36 @@ export default class Client extends OpenApi {
|
|
|
2420
2465
|
* @returns DescribeTemplateResourcesResponse
|
|
2421
2466
|
*/
|
|
2422
2467
|
describeTemplateResources(request: $_model.DescribeTemplateResourcesRequest): Promise<$_model.DescribeTemplateResourcesResponse>;
|
|
2468
|
+
/**
|
|
2469
|
+
* 查看攻击事件列表
|
|
2470
|
+
*
|
|
2471
|
+
* @param request - DescribeThreatEventRequest
|
|
2472
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2473
|
+
* @returns DescribeThreatEventResponse
|
|
2474
|
+
*/
|
|
2475
|
+
describeThreatEventWithOptions(request: $_model.DescribeThreatEventRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeThreatEventResponse>;
|
|
2476
|
+
/**
|
|
2477
|
+
* 查看攻击事件列表
|
|
2478
|
+
*
|
|
2479
|
+
* @param request - DescribeThreatEventRequest
|
|
2480
|
+
* @returns DescribeThreatEventResponse
|
|
2481
|
+
*/
|
|
2482
|
+
describeThreatEvent(request: $_model.DescribeThreatEventRequest): Promise<$_model.DescribeThreatEventResponse>;
|
|
2483
|
+
/**
|
|
2484
|
+
* 查看威胁事件详情
|
|
2485
|
+
*
|
|
2486
|
+
* @param request - DescribeThreatEventDetailRequest
|
|
2487
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2488
|
+
* @returns DescribeThreatEventDetailResponse
|
|
2489
|
+
*/
|
|
2490
|
+
describeThreatEventDetailWithOptions(request: $_model.DescribeThreatEventDetailRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeThreatEventDetailResponse>;
|
|
2491
|
+
/**
|
|
2492
|
+
* 查看威胁事件详情
|
|
2493
|
+
*
|
|
2494
|
+
* @param request - DescribeThreatEventDetailRequest
|
|
2495
|
+
* @returns DescribeThreatEventDetailResponse
|
|
2496
|
+
*/
|
|
2497
|
+
describeThreatEventDetail(request: $_model.DescribeThreatEventDetailRequest): Promise<$_model.DescribeThreatEventDetailResponse>;
|
|
2423
2498
|
/**
|
|
2424
2499
|
* Queries the trends of API security risks.
|
|
2425
2500
|
*
|
package/dist/client.js
CHANGED
|
@@ -2087,6 +2087,96 @@ class Client extends openapi_core_1.default {
|
|
|
2087
2087
|
let runtime = new $dara.RuntimeOptions({});
|
|
2088
2088
|
return await this.describeAccountDelegatedStatusWithOptions(request, runtime);
|
|
2089
2089
|
}
|
|
2090
|
+
/**
|
|
2091
|
+
* 查询实例信息
|
|
2092
|
+
*
|
|
2093
|
+
* @param request - DescribeAlarmBannerRequest
|
|
2094
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2095
|
+
* @returns DescribeAlarmBannerResponse
|
|
2096
|
+
*/
|
|
2097
|
+
async describeAlarmBannerWithOptions(request, runtime) {
|
|
2098
|
+
request.validate();
|
|
2099
|
+
let query = {};
|
|
2100
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
2101
|
+
query["InstanceId"] = request.instanceId;
|
|
2102
|
+
}
|
|
2103
|
+
if (!$dara.isNull(request.regionId)) {
|
|
2104
|
+
query["RegionId"] = request.regionId;
|
|
2105
|
+
}
|
|
2106
|
+
if (!$dara.isNull(request.resourceManagerResourceGroupId)) {
|
|
2107
|
+
query["ResourceManagerResourceGroupId"] = request.resourceManagerResourceGroupId;
|
|
2108
|
+
}
|
|
2109
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2110
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
2111
|
+
});
|
|
2112
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2113
|
+
action: "DescribeAlarmBanner",
|
|
2114
|
+
version: "2021-10-01",
|
|
2115
|
+
protocol: "HTTPS",
|
|
2116
|
+
pathname: "/",
|
|
2117
|
+
method: "POST",
|
|
2118
|
+
authType: "AK",
|
|
2119
|
+
style: "RPC",
|
|
2120
|
+
reqBodyType: "formData",
|
|
2121
|
+
bodyType: "json",
|
|
2122
|
+
});
|
|
2123
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeAlarmBannerResponse({}));
|
|
2124
|
+
}
|
|
2125
|
+
/**
|
|
2126
|
+
* 查询实例信息
|
|
2127
|
+
*
|
|
2128
|
+
* @param request - DescribeAlarmBannerRequest
|
|
2129
|
+
* @returns DescribeAlarmBannerResponse
|
|
2130
|
+
*/
|
|
2131
|
+
async describeAlarmBanner(request) {
|
|
2132
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
2133
|
+
return await this.describeAlarmBannerWithOptions(request, runtime);
|
|
2134
|
+
}
|
|
2135
|
+
/**
|
|
2136
|
+
* 查询实例信息
|
|
2137
|
+
*
|
|
2138
|
+
* @param request - DescribeAlarmListRequest
|
|
2139
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2140
|
+
* @returns DescribeAlarmListResponse
|
|
2141
|
+
*/
|
|
2142
|
+
async describeAlarmListWithOptions(request, runtime) {
|
|
2143
|
+
request.validate();
|
|
2144
|
+
let query = {};
|
|
2145
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
2146
|
+
query["InstanceId"] = request.instanceId;
|
|
2147
|
+
}
|
|
2148
|
+
if (!$dara.isNull(request.regionId)) {
|
|
2149
|
+
query["RegionId"] = request.regionId;
|
|
2150
|
+
}
|
|
2151
|
+
if (!$dara.isNull(request.resourceManagerResourceGroupId)) {
|
|
2152
|
+
query["ResourceManagerResourceGroupId"] = request.resourceManagerResourceGroupId;
|
|
2153
|
+
}
|
|
2154
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2155
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
2156
|
+
});
|
|
2157
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2158
|
+
action: "DescribeAlarmList",
|
|
2159
|
+
version: "2021-10-01",
|
|
2160
|
+
protocol: "HTTPS",
|
|
2161
|
+
pathname: "/",
|
|
2162
|
+
method: "POST",
|
|
2163
|
+
authType: "AK",
|
|
2164
|
+
style: "RPC",
|
|
2165
|
+
reqBodyType: "formData",
|
|
2166
|
+
bodyType: "json",
|
|
2167
|
+
});
|
|
2168
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeAlarmListResponse({}));
|
|
2169
|
+
}
|
|
2170
|
+
/**
|
|
2171
|
+
* 查询实例信息
|
|
2172
|
+
*
|
|
2173
|
+
* @param request - DescribeAlarmListRequest
|
|
2174
|
+
* @returns DescribeAlarmListResponse
|
|
2175
|
+
*/
|
|
2176
|
+
async describeAlarmList(request) {
|
|
2177
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
2178
|
+
return await this.describeAlarmListWithOptions(request, runtime);
|
|
2179
|
+
}
|
|
2090
2180
|
/**
|
|
2091
2181
|
* Queries the list of data export tasks in the API security module.
|
|
2092
2182
|
*
|
|
@@ -3371,6 +3461,54 @@ class Client extends openapi_core_1.default {
|
|
|
3371
3461
|
let runtime = new $dara.RuntimeOptions({});
|
|
3372
3462
|
return await this.describeBaseSystemRulesWithOptions(request, runtime);
|
|
3373
3463
|
}
|
|
3464
|
+
/**
|
|
3465
|
+
* 分页查询防护模板
|
|
3466
|
+
*
|
|
3467
|
+
* @param request - DescribeBotAppKeyRequest
|
|
3468
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3469
|
+
* @returns DescribeBotAppKeyResponse
|
|
3470
|
+
*/
|
|
3471
|
+
async describeBotAppKeyWithOptions(request, runtime) {
|
|
3472
|
+
request.validate();
|
|
3473
|
+
let query = {};
|
|
3474
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
3475
|
+
query["InstanceId"] = request.instanceId;
|
|
3476
|
+
}
|
|
3477
|
+
if (!$dara.isNull(request.keyVersion)) {
|
|
3478
|
+
query["KeyVersion"] = request.keyVersion;
|
|
3479
|
+
}
|
|
3480
|
+
if (!$dara.isNull(request.regionId)) {
|
|
3481
|
+
query["RegionId"] = request.regionId;
|
|
3482
|
+
}
|
|
3483
|
+
if (!$dara.isNull(request.resourceManagerResourceGroupId)) {
|
|
3484
|
+
query["ResourceManagerResourceGroupId"] = request.resourceManagerResourceGroupId;
|
|
3485
|
+
}
|
|
3486
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
3487
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
3488
|
+
});
|
|
3489
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
3490
|
+
action: "DescribeBotAppKey",
|
|
3491
|
+
version: "2021-10-01",
|
|
3492
|
+
protocol: "HTTPS",
|
|
3493
|
+
pathname: "/",
|
|
3494
|
+
method: "POST",
|
|
3495
|
+
authType: "AK",
|
|
3496
|
+
style: "RPC",
|
|
3497
|
+
reqBodyType: "formData",
|
|
3498
|
+
bodyType: "json",
|
|
3499
|
+
});
|
|
3500
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeBotAppKeyResponse({}));
|
|
3501
|
+
}
|
|
3502
|
+
/**
|
|
3503
|
+
* 分页查询防护模板
|
|
3504
|
+
*
|
|
3505
|
+
* @param request - DescribeBotAppKeyRequest
|
|
3506
|
+
* @returns DescribeBotAppKeyResponse
|
|
3507
|
+
*/
|
|
3508
|
+
async describeBotAppKey(request) {
|
|
3509
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
3510
|
+
return await this.describeBotAppKeyWithOptions(request, runtime);
|
|
3511
|
+
}
|
|
3374
3512
|
/**
|
|
3375
3513
|
* 分页获取Bot管理规则标签信息
|
|
3376
3514
|
*
|
|
@@ -8912,6 +9050,114 @@ class Client extends openapi_core_1.default {
|
|
|
8912
9050
|
let runtime = new $dara.RuntimeOptions({});
|
|
8913
9051
|
return await this.describeTemplateResourcesWithOptions(request, runtime);
|
|
8914
9052
|
}
|
|
9053
|
+
/**
|
|
9054
|
+
* 查看攻击事件列表
|
|
9055
|
+
*
|
|
9056
|
+
* @param request - DescribeThreatEventRequest
|
|
9057
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
9058
|
+
* @returns DescribeThreatEventResponse
|
|
9059
|
+
*/
|
|
9060
|
+
async describeThreatEventWithOptions(request, runtime) {
|
|
9061
|
+
request.validate();
|
|
9062
|
+
let query = {};
|
|
9063
|
+
if (!$dara.isNull(request.domainName)) {
|
|
9064
|
+
query["DomainName"] = request.domainName;
|
|
9065
|
+
}
|
|
9066
|
+
if (!$dara.isNull(request.endTime)) {
|
|
9067
|
+
query["EndTime"] = request.endTime;
|
|
9068
|
+
}
|
|
9069
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
9070
|
+
query["InstanceId"] = request.instanceId;
|
|
9071
|
+
}
|
|
9072
|
+
if (!$dara.isNull(request.pageNumber)) {
|
|
9073
|
+
query["PageNumber"] = request.pageNumber;
|
|
9074
|
+
}
|
|
9075
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
9076
|
+
query["PageSize"] = request.pageSize;
|
|
9077
|
+
}
|
|
9078
|
+
if (!$dara.isNull(request.regionId)) {
|
|
9079
|
+
query["RegionId"] = request.regionId;
|
|
9080
|
+
}
|
|
9081
|
+
if (!$dara.isNull(request.resourceManagerResourceGroupId)) {
|
|
9082
|
+
query["ResourceManagerResourceGroupId"] = request.resourceManagerResourceGroupId;
|
|
9083
|
+
}
|
|
9084
|
+
if (!$dara.isNull(request.startTime)) {
|
|
9085
|
+
query["StartTime"] = request.startTime;
|
|
9086
|
+
}
|
|
9087
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
9088
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
9089
|
+
});
|
|
9090
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
9091
|
+
action: "DescribeThreatEvent",
|
|
9092
|
+
version: "2021-10-01",
|
|
9093
|
+
protocol: "HTTPS",
|
|
9094
|
+
pathname: "/",
|
|
9095
|
+
method: "POST",
|
|
9096
|
+
authType: "AK",
|
|
9097
|
+
style: "RPC",
|
|
9098
|
+
reqBodyType: "formData",
|
|
9099
|
+
bodyType: "json",
|
|
9100
|
+
});
|
|
9101
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeThreatEventResponse({}));
|
|
9102
|
+
}
|
|
9103
|
+
/**
|
|
9104
|
+
* 查看攻击事件列表
|
|
9105
|
+
*
|
|
9106
|
+
* @param request - DescribeThreatEventRequest
|
|
9107
|
+
* @returns DescribeThreatEventResponse
|
|
9108
|
+
*/
|
|
9109
|
+
async describeThreatEvent(request) {
|
|
9110
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
9111
|
+
return await this.describeThreatEventWithOptions(request, runtime);
|
|
9112
|
+
}
|
|
9113
|
+
/**
|
|
9114
|
+
* 查看威胁事件详情
|
|
9115
|
+
*
|
|
9116
|
+
* @param request - DescribeThreatEventDetailRequest
|
|
9117
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
9118
|
+
* @returns DescribeThreatEventDetailResponse
|
|
9119
|
+
*/
|
|
9120
|
+
async describeThreatEventDetailWithOptions(request, runtime) {
|
|
9121
|
+
request.validate();
|
|
9122
|
+
let query = {};
|
|
9123
|
+
if (!$dara.isNull(request.eventId)) {
|
|
9124
|
+
query["EventId"] = request.eventId;
|
|
9125
|
+
}
|
|
9126
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
9127
|
+
query["InstanceId"] = request.instanceId;
|
|
9128
|
+
}
|
|
9129
|
+
if (!$dara.isNull(request.regionId)) {
|
|
9130
|
+
query["RegionId"] = request.regionId;
|
|
9131
|
+
}
|
|
9132
|
+
if (!$dara.isNull(request.resourceManagerResourceGroupId)) {
|
|
9133
|
+
query["ResourceManagerResourceGroupId"] = request.resourceManagerResourceGroupId;
|
|
9134
|
+
}
|
|
9135
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
9136
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
9137
|
+
});
|
|
9138
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
9139
|
+
action: "DescribeThreatEventDetail",
|
|
9140
|
+
version: "2021-10-01",
|
|
9141
|
+
protocol: "HTTPS",
|
|
9142
|
+
pathname: "/",
|
|
9143
|
+
method: "POST",
|
|
9144
|
+
authType: "AK",
|
|
9145
|
+
style: "RPC",
|
|
9146
|
+
reqBodyType: "formData",
|
|
9147
|
+
bodyType: "json",
|
|
9148
|
+
});
|
|
9149
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeThreatEventDetailResponse({}));
|
|
9150
|
+
}
|
|
9151
|
+
/**
|
|
9152
|
+
* 查看威胁事件详情
|
|
9153
|
+
*
|
|
9154
|
+
* @param request - DescribeThreatEventDetailRequest
|
|
9155
|
+
* @returns DescribeThreatEventDetailResponse
|
|
9156
|
+
*/
|
|
9157
|
+
async describeThreatEventDetail(request) {
|
|
9158
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
9159
|
+
return await this.describeThreatEventDetailWithOptions(request, runtime);
|
|
9160
|
+
}
|
|
8915
9161
|
/**
|
|
8916
9162
|
* Queries the trends of API security risks.
|
|
8917
9163
|
*
|