@alicloud/ddoscoo20200101 4.0.0 → 4.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/dist/client.d.ts +22 -12
  2. package/dist/client.js +40 -12
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AssociateWebCertRequest.d.ts +43 -0
  5. package/dist/models/AssociateWebCertRequest.js.map +1 -1
  6. package/dist/models/DescribeDomainH2fingerprintRequest.d.ts +1 -0
  7. package/dist/models/DescribeDomainH2fingerprintRequest.js +2 -0
  8. package/dist/models/DescribeDomainH2fingerprintRequest.js.map +1 -1
  9. package/dist/models/DescribeDomainTopFingerprintRequest.d.ts +1 -0
  10. package/dist/models/DescribeDomainTopFingerprintRequest.js +2 -0
  11. package/dist/models/DescribeDomainTopFingerprintRequest.js.map +1 -1
  12. package/dist/models/DescribeDomainTopHttpMethodRequest.d.ts +1 -0
  13. package/dist/models/DescribeDomainTopHttpMethodRequest.js +2 -0
  14. package/dist/models/DescribeDomainTopHttpMethodRequest.js.map +1 -1
  15. package/dist/models/DescribeDomainTopRefererRequest.d.ts +1 -0
  16. package/dist/models/DescribeDomainTopRefererRequest.js +2 -0
  17. package/dist/models/DescribeDomainTopRefererRequest.js.map +1 -1
  18. package/dist/models/DescribeDomainTopUserAgentRequest.d.ts +1 -0
  19. package/dist/models/DescribeDomainTopUserAgentRequest.js +2 -0
  20. package/dist/models/DescribeDomainTopUserAgentRequest.js.map +1 -1
  21. package/dist/models/DescribeElasticQpsResponseBody.d.ts +1 -0
  22. package/dist/models/DescribeElasticQpsResponseBody.js +2 -0
  23. package/dist/models/DescribeElasticQpsResponseBody.js.map +1 -1
  24. package/dist/models/DescribeHeadersResponseBody.d.ts +8 -0
  25. package/dist/models/DescribeHeadersResponseBody.js +2 -0
  26. package/dist/models/DescribeHeadersResponseBody.js.map +1 -1
  27. package/dist/models/DescribeTagResourcesResponseBody.d.ts +0 -32
  28. package/dist/models/DescribeTagResourcesResponseBody.js.map +1 -1
  29. package/dist/models/ModifyHeadersRequest.d.ts +5 -0
  30. package/dist/models/ModifyHeadersRequest.js +2 -0
  31. package/dist/models/ModifyHeadersRequest.js.map +1 -1
  32. package/package.json +1 -1
  33. package/src/client.ts +46 -12
  34. package/src/models/AssociateWebCertRequest.ts +43 -0
  35. package/src/models/DescribeDomainH2fingerprintRequest.ts +3 -0
  36. package/src/models/DescribeDomainTopFingerprintRequest.ts +3 -0
  37. package/src/models/DescribeDomainTopHttpMethodRequest.ts +3 -0
  38. package/src/models/DescribeDomainTopRefererRequest.ts +3 -0
  39. package/src/models/DescribeDomainTopUserAgentRequest.ts +3 -0
  40. package/src/models/DescribeElasticQpsResponseBody.ts +3 -0
  41. package/src/models/DescribeHeadersResponseBody.ts +10 -0
  42. package/src/models/DescribeTagResourcesResponseBody.ts +0 -32
  43. package/src/models/ModifyHeadersRequest.ts +7 -0
package/dist/client.d.ts CHANGED
@@ -9,12 +9,16 @@ export default class Client extends OpenApi {
9
9
  [key: string]: string;
10
10
  }, endpoint: string): string;
11
11
  /**
12
+ * Adds IP addresses to the IP address blacklist of an Anti-DDoS Pro or Anti-DDoS Premium instance.
13
+ *
12
14
  * @param request - AddAutoCcBlacklistRequest
13
15
  * @param runtime - runtime options for this request RuntimeOptions
14
16
  * @returns AddAutoCcBlacklistResponse
15
17
  */
16
18
  addAutoCcBlacklistWithOptions(request: $_model.AddAutoCcBlacklistRequest, runtime: $dara.RuntimeOptions): Promise<$_model.AddAutoCcBlacklistResponse>;
17
19
  /**
20
+ * Adds IP addresses to the IP address blacklist of an Anti-DDoS Pro or Anti-DDoS Premium instance.
21
+ *
18
22
  * @param request - AddAutoCcBlacklistRequest
19
23
  * @returns AddAutoCcBlacklistResponse
20
24
  */
@@ -92,7 +96,7 @@ export default class Client extends OpenApi {
92
96
  */
93
97
  configDomainSecurityProfile(request: $_model.ConfigDomainSecurityProfileRequest): Promise<$_model.ConfigDomainSecurityProfileResponse>;
94
98
  /**
95
- * 配置全局模板规则
99
+ * Configures an Anti-DDoS global mitigation policy.
96
100
  *
97
101
  * @param request - ConfigL7GlobalRuleRequest
98
102
  * @param runtime - runtime options for this request RuntimeOptions
@@ -100,7 +104,7 @@ export default class Client extends OpenApi {
100
104
  */
101
105
  configL7GlobalRuleWithOptions(request: $_model.ConfigL7GlobalRuleRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ConfigL7GlobalRuleResponse>;
102
106
  /**
103
- * 配置全局模板规则
107
+ * Configures an Anti-DDoS global mitigation policy.
104
108
  *
105
109
  * @param request - ConfigL7GlobalRuleRequest
106
110
  * @returns ConfigL7GlobalRuleResponse
@@ -258,7 +262,7 @@ export default class Client extends OpenApi {
258
262
  */
259
263
  configUdpReflect(request: $_model.ConfigUdpReflectRequest): Promise<$_model.ConfigUdpReflectResponse>;
260
264
  /**
261
- * 配置新版基于匹配条件的cc规则
265
+ * Creates or modifies the custom frequency control rule of a website.
262
266
  *
263
267
  * @param request - ConfigWebCCRuleV2Request
264
268
  * @param runtime - runtime options for this request RuntimeOptions
@@ -266,7 +270,7 @@ export default class Client extends OpenApi {
266
270
  */
267
271
  configWebCCRuleV2WithOptions(request: $_model.ConfigWebCCRuleV2Request, runtime: $dara.RuntimeOptions): Promise<$_model.ConfigWebCCRuleV2Response>;
268
272
  /**
269
- * 配置新版基于匹配条件的cc规则
273
+ * Creates or modifies the custom frequency control rule of a website.
270
274
  *
271
275
  * @param request - ConfigWebCCRuleV2Request
272
276
  * @returns ConfigWebCCRuleV2Response
@@ -878,12 +882,16 @@ export default class Client extends OpenApi {
878
882
  */
879
883
  describeCerts(request: $_model.DescribeCertsRequest): Promise<$_model.DescribeCertsResponse>;
880
884
  /**
885
+ * Queries the CNAME reuse information about websites.
886
+ *
881
887
  * @param request - DescribeCnameReusesRequest
882
888
  * @param runtime - runtime options for this request RuntimeOptions
883
889
  * @returns DescribeCnameReusesResponse
884
890
  */
885
891
  describeCnameReusesWithOptions(request: $_model.DescribeCnameReusesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeCnameReusesResponse>;
886
892
  /**
893
+ * Queries the CNAME reuse information about websites.
894
+ *
887
895
  * @param request - DescribeCnameReusesRequest
888
896
  * @returns DescribeCnameReusesResponse
889
897
  */
@@ -1626,7 +1634,7 @@ export default class Client extends OpenApi {
1626
1634
  */
1627
1635
  describeInstances(request: $_model.DescribeInstancesRequest): Promise<$_model.DescribeInstancesResponse>;
1628
1636
  /**
1629
- * 展示全局模板规则
1637
+ * Queries an Anti-DDoS global mitigation policy.
1630
1638
  *
1631
1639
  * @param request - DescribeL7GlobalRuleRequest
1632
1640
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1634,7 +1642,7 @@ export default class Client extends OpenApi {
1634
1642
  */
1635
1643
  describeL7GlobalRuleWithOptions(request: $_model.DescribeL7GlobalRuleRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeL7GlobalRuleResponse>;
1636
1644
  /**
1637
- * 展示全局模板规则
1645
+ * Queries an Anti-DDoS global mitigation policy.
1638
1646
  *
1639
1647
  * @param request - DescribeL7GlobalRuleRequest
1640
1648
  * @returns DescribeL7GlobalRuleResponse
@@ -1875,7 +1883,7 @@ export default class Client extends OpenApi {
1875
1883
  */
1876
1884
  describePortConnsList(request: $_model.DescribePortConnsListRequest): Promise<$_model.DescribePortConnsListResponse>;
1877
1885
  /**
1878
- * Queries the traffic data of one or more Anti-DDoS Pro or Anti-DDoS Premium instances.
1886
+ * Queries the traffic data of one or more Anti-DDoS Proxy instances.
1879
1887
  *
1880
1888
  * @param request - DescribePortFlowListRequest
1881
1889
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1883,7 +1891,7 @@ export default class Client extends OpenApi {
1883
1891
  */
1884
1892
  describePortFlowListWithOptions(request: $_model.DescribePortFlowListRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribePortFlowListResponse>;
1885
1893
  /**
1886
- * Queries the traffic data of one or more Anti-DDoS Pro or Anti-DDoS Premium instances.
1894
+ * Queries the traffic data of one or more Anti-DDoS Proxy instances.
1887
1895
  *
1888
1896
  * @param request - DescribePortFlowListRequest
1889
1897
  * @returns DescribePortFlowListResponse
@@ -2014,12 +2022,16 @@ export default class Client extends OpenApi {
2014
2022
  */
2015
2023
  describeSceneDefensePolicies(request: $_model.DescribeSceneDefensePoliciesRequest): Promise<$_model.DescribeSceneDefensePoliciesResponse>;
2016
2024
  /**
2025
+ * Queries the scheduling rules of Sec-Traffic Manager.
2026
+ *
2017
2027
  * @param request - DescribeSchedulerRulesRequest
2018
2028
  * @param runtime - runtime options for this request RuntimeOptions
2019
2029
  * @returns DescribeSchedulerRulesResponse
2020
2030
  */
2021
2031
  describeSchedulerRulesWithOptions(request: $_model.DescribeSchedulerRulesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeSchedulerRulesResponse>;
2022
2032
  /**
2033
+ * Queries the scheduling rules of Sec-Traffic Manager.
2034
+ *
2023
2035
  * @param request - DescribeSchedulerRulesRequest
2024
2036
  * @returns DescribeSchedulerRulesResponse
2025
2037
  */
@@ -3309,8 +3321,7 @@ export default class Client extends OpenApi {
3309
3321
  */
3310
3322
  modifyWebRule(request: $_model.ModifyWebRuleRequest): Promise<$_model.ModifyWebRuleResponse>;
3311
3323
  /**
3312
- * The ID of the instance that you want to release.
3313
- * > You can release only expired instances. You can call the [DescribeInstances](https://help.aliyun.com/document_detail/91478.html) operation to query the IDs and expiration status of all instances.
3324
+ * Releases an expired Anti-DDoS Pro or Anti-DDoS Premium instance.
3314
3325
  *
3315
3326
  * @remarks
3316
3327
  * The ID of the request, which is used to locate and troubleshoot issues.
@@ -3321,8 +3332,7 @@ export default class Client extends OpenApi {
3321
3332
  */
3322
3333
  releaseInstanceWithOptions(request: $_model.ReleaseInstanceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ReleaseInstanceResponse>;
3323
3334
  /**
3324
- * The ID of the instance that you want to release.
3325
- * > You can release only expired instances. You can call the [DescribeInstances](https://help.aliyun.com/document_detail/91478.html) operation to query the IDs and expiration status of all instances.
3335
+ * Releases an expired Anti-DDoS Pro or Anti-DDoS Premium instance.
3326
3336
  *
3327
3337
  * @remarks
3328
3338
  * The ID of the request, which is used to locate and troubleshoot issues.
package/dist/client.js CHANGED
@@ -62,6 +62,8 @@ class Client extends openapi_core_1.default {
62
62
  return openapi_core_2.OpenApiUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
63
63
  }
64
64
  /**
65
+ * Adds IP addresses to the IP address blacklist of an Anti-DDoS Pro or Anti-DDoS Premium instance.
66
+ *
65
67
  * @param request - AddAutoCcBlacklistRequest
66
68
  * @param runtime - runtime options for this request RuntimeOptions
67
69
  * @returns AddAutoCcBlacklistResponse
@@ -95,6 +97,8 @@ class Client extends openapi_core_1.default {
95
97
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.AddAutoCcBlacklistResponse({}));
96
98
  }
97
99
  /**
100
+ * Adds IP addresses to the IP address blacklist of an Anti-DDoS Pro or Anti-DDoS Premium instance.
101
+ *
98
102
  * @param request - AddAutoCcBlacklistRequest
99
103
  * @returns AddAutoCcBlacklistResponse
100
104
  */
@@ -307,7 +311,7 @@ class Client extends openapi_core_1.default {
307
311
  return await this.configDomainSecurityProfileWithOptions(request, runtime);
308
312
  }
309
313
  /**
310
- * 配置全局模板规则
314
+ * Configures an Anti-DDoS global mitigation policy.
311
315
  *
312
316
  * @param request - ConfigL7GlobalRuleRequest
313
317
  * @param runtime - runtime options for this request RuntimeOptions
@@ -339,7 +343,7 @@ class Client extends openapi_core_1.default {
339
343
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ConfigL7GlobalRuleResponse({}));
340
344
  }
341
345
  /**
342
- * 配置全局模板规则
346
+ * Configures an Anti-DDoS global mitigation policy.
343
347
  *
344
348
  * @param request - ConfigL7GlobalRuleRequest
345
349
  * @returns ConfigL7GlobalRuleResponse
@@ -746,7 +750,7 @@ class Client extends openapi_core_1.default {
746
750
  return await this.configUdpReflectWithOptions(request, runtime);
747
751
  }
748
752
  /**
749
- * 配置新版基于匹配条件的cc规则
753
+ * Creates or modifies the custom frequency control rule of a website.
750
754
  *
751
755
  * @param request - ConfigWebCCRuleV2Request
752
756
  * @param runtime - runtime options for this request RuntimeOptions
@@ -781,7 +785,7 @@ class Client extends openapi_core_1.default {
781
785
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ConfigWebCCRuleV2Response({}));
782
786
  }
783
787
  /**
784
- * 配置新版基于匹配条件的cc规则
788
+ * Creates or modifies the custom frequency control rule of a website.
785
789
  *
786
790
  * @param request - ConfigWebCCRuleV2Request
787
791
  * @returns ConfigWebCCRuleV2Response
@@ -2490,6 +2494,8 @@ class Client extends openapi_core_1.default {
2490
2494
  return await this.describeCertsWithOptions(request, runtime);
2491
2495
  }
2492
2496
  /**
2497
+ * Queries the CNAME reuse information about websites.
2498
+ *
2493
2499
  * @param request - DescribeCnameReusesRequest
2494
2500
  * @param runtime - runtime options for this request RuntimeOptions
2495
2501
  * @returns DescribeCnameReusesResponse
@@ -2520,6 +2526,8 @@ class Client extends openapi_core_1.default {
2520
2526
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeCnameReusesResponse({}));
2521
2527
  }
2522
2528
  /**
2529
+ * Queries the CNAME reuse information about websites.
2530
+ *
2523
2531
  * @param request - DescribeCnameReusesRequest
2524
2532
  * @returns DescribeCnameReusesResponse
2525
2533
  */
@@ -3227,6 +3235,9 @@ class Client extends openapi_core_1.default {
3227
3235
  if (!$dara.isNull(request.limit)) {
3228
3236
  query["Limit"] = request.limit;
3229
3237
  }
3238
+ if (!$dara.isNull(request.queryType)) {
3239
+ query["QueryType"] = request.queryType;
3240
+ }
3230
3241
  if (!$dara.isNull(request.startTime)) {
3231
3242
  query["StartTime"] = request.startTime;
3232
3243
  }
@@ -3629,6 +3640,9 @@ class Client extends openapi_core_1.default {
3629
3640
  if (!$dara.isNull(request.limit)) {
3630
3641
  query["Limit"] = request.limit;
3631
3642
  }
3643
+ if (!$dara.isNull(request.queryType)) {
3644
+ query["QueryType"] = request.queryType;
3645
+ }
3632
3646
  if (!$dara.isNull(request.region)) {
3633
3647
  query["Region"] = request.region;
3634
3648
  }
@@ -3680,6 +3694,9 @@ class Client extends openapi_core_1.default {
3680
3694
  if (!$dara.isNull(request.limit)) {
3681
3695
  query["Limit"] = request.limit;
3682
3696
  }
3697
+ if (!$dara.isNull(request.queryType)) {
3698
+ query["QueryType"] = request.queryType;
3699
+ }
3683
3700
  if (!$dara.isNull(request.region)) {
3684
3701
  query["Region"] = request.region;
3685
3702
  }
@@ -3731,6 +3748,9 @@ class Client extends openapi_core_1.default {
3731
3748
  if (!$dara.isNull(request.limit)) {
3732
3749
  query["Limit"] = request.limit;
3733
3750
  }
3751
+ if (!$dara.isNull(request.queryType)) {
3752
+ query["QueryType"] = request.queryType;
3753
+ }
3734
3754
  if (!$dara.isNull(request.region)) {
3735
3755
  query["Region"] = request.region;
3736
3756
  }
@@ -3782,6 +3802,9 @@ class Client extends openapi_core_1.default {
3782
3802
  if (!$dara.isNull(request.limit)) {
3783
3803
  query["Limit"] = request.limit;
3784
3804
  }
3805
+ if (!$dara.isNull(request.queryType)) {
3806
+ query["QueryType"] = request.queryType;
3807
+ }
3785
3808
  if (!$dara.isNull(request.region)) {
3786
3809
  query["Region"] = request.region;
3787
3810
  }
@@ -4666,7 +4689,7 @@ class Client extends openapi_core_1.default {
4666
4689
  return await this.describeInstancesWithOptions(request, runtime);
4667
4690
  }
4668
4691
  /**
4669
- * 展示全局模板规则
4692
+ * Queries an Anti-DDoS global mitigation policy.
4670
4693
  *
4671
4694
  * @param request - DescribeL7GlobalRuleRequest
4672
4695
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4698,7 +4721,7 @@ class Client extends openapi_core_1.default {
4698
4721
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeL7GlobalRuleResponse({}));
4699
4722
  }
4700
4723
  /**
4701
- * 展示全局模板规则
4724
+ * Queries an Anti-DDoS global mitigation policy.
4702
4725
  *
4703
4726
  * @param request - DescribeL7GlobalRuleRequest
4704
4727
  * @returns DescribeL7GlobalRuleResponse
@@ -5371,7 +5394,7 @@ class Client extends openapi_core_1.default {
5371
5394
  return await this.describePortConnsListWithOptions(request, runtime);
5372
5395
  }
5373
5396
  /**
5374
- * Queries the traffic data of one or more Anti-DDoS Pro or Anti-DDoS Premium instances.
5397
+ * Queries the traffic data of one or more Anti-DDoS Proxy instances.
5375
5398
  *
5376
5399
  * @param request - DescribePortFlowListRequest
5377
5400
  * @param runtime - runtime options for this request RuntimeOptions
@@ -5412,7 +5435,7 @@ class Client extends openapi_core_1.default {
5412
5435
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribePortFlowListResponse({}));
5413
5436
  }
5414
5437
  /**
5415
- * Queries the traffic data of one or more Anti-DDoS Pro or Anti-DDoS Premium instances.
5438
+ * Queries the traffic data of one or more Anti-DDoS Proxy instances.
5416
5439
  *
5417
5440
  * @param request - DescribePortFlowListRequest
5418
5441
  * @returns DescribePortFlowListResponse
@@ -5735,6 +5758,8 @@ class Client extends openapi_core_1.default {
5735
5758
  return await this.describeSceneDefensePoliciesWithOptions(request, runtime);
5736
5759
  }
5737
5760
  /**
5761
+ * Queries the scheduling rules of Sec-Traffic Manager.
5762
+ *
5738
5763
  * @param request - DescribeSchedulerRulesRequest
5739
5764
  * @param runtime - runtime options for this request RuntimeOptions
5740
5765
  * @returns DescribeSchedulerRulesResponse
@@ -5771,6 +5796,8 @@ class Client extends openapi_core_1.default {
5771
5796
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeSchedulerRulesResponse({}));
5772
5797
  }
5773
5798
  /**
5799
+ * Queries the scheduling rules of Sec-Traffic Manager.
5800
+ *
5774
5801
  * @param request - DescribeSchedulerRulesRequest
5775
5802
  * @returns DescribeSchedulerRulesResponse
5776
5803
  */
@@ -7983,6 +8010,9 @@ class Client extends openapi_core_1.default {
7983
8010
  if (!$dara.isNull(request.domain)) {
7984
8011
  query["Domain"] = request.domain;
7985
8012
  }
8013
+ if (!$dara.isNull(request.embeddedHeaders)) {
8014
+ query["EmbeddedHeaders"] = request.embeddedHeaders;
8015
+ }
7986
8016
  if (!$dara.isNull(request.resourceGroupId)) {
7987
8017
  query["ResourceGroupId"] = request.resourceGroupId;
7988
8018
  }
@@ -9318,8 +9348,7 @@ class Client extends openapi_core_1.default {
9318
9348
  return await this.modifyWebRuleWithOptions(request, runtime);
9319
9349
  }
9320
9350
  /**
9321
- * The ID of the instance that you want to release.
9322
- * > You can release only expired instances. You can call the [DescribeInstances](https://help.aliyun.com/document_detail/91478.html) operation to query the IDs and expiration status of all instances.
9351
+ * Releases an expired Anti-DDoS Pro or Anti-DDoS Premium instance.
9323
9352
  *
9324
9353
  * @remarks
9325
9354
  * The ID of the request, which is used to locate and troubleshoot issues.
@@ -9351,8 +9380,7 @@ class Client extends openapi_core_1.default {
9351
9380
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ReleaseInstanceResponse({}));
9352
9381
  }
9353
9382
  /**
9354
- * The ID of the instance that you want to release.
9355
- * > You can release only expired instances. You can call the [DescribeInstances](https://help.aliyun.com/document_detail/91478.html) operation to query the IDs and expiration status of all instances.
9383
+ * Releases an expired Anti-DDoS Pro or Anti-DDoS Premium instance.
9356
9384
  *
9357
9385
  * @remarks
9358
9386
  * The ID of the request, which is used to locate and troubleshoot issues.