@alicloud/ddoscoo20200101 2.4.3 → 2.5.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/src/client.ts CHANGED
@@ -236,14 +236,6 @@ export class AssociateWebCertRequest extends $tea.Model {
236
236
  */
237
237
  domain?: string;
238
238
  key?: string;
239
- /**
240
- * @remarks
241
- * The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.
242
- *
243
- * @example
244
- * default
245
- */
246
- resourceGroupId?: string;
247
239
  static names(): { [key: string]: string } {
248
240
  return {
249
241
  cert: 'Cert',
@@ -253,7 +245,6 @@ export class AssociateWebCertRequest extends $tea.Model {
253
245
  certRegion: 'CertRegion',
254
246
  domain: 'Domain',
255
247
  key: 'Key',
256
- resourceGroupId: 'ResourceGroupId',
257
248
  };
258
249
  }
259
250
 
@@ -266,7 +257,6 @@ export class AssociateWebCertRequest extends $tea.Model {
266
257
  certRegion: 'string',
267
258
  domain: 'string',
268
259
  key: 'string',
269
- resourceGroupId: 'string',
270
260
  };
271
261
  }
272
262
 
@@ -2050,11 +2040,11 @@ export class CreateDomainResourceRequest extends $tea.Model {
2050
2040
  * @remarks
2051
2041
  * The address type of the origin server. Valid values:
2052
2042
  *
2053
- * * **0**: IP address
2043
+ * * **0**: IP address.
2054
2044
  *
2055
- * * **1**: domain name
2045
+ * * **1**: domain name.
2056
2046
  *
2057
- * This parameter is suitable for scenarios where another proxy service, such as Web Application Firewall (WAF), is deployed between the origin server and Anti-DDoS Pro or Anti-DDoS Premium. The address is the jump address of the proxy service, such as the CNAME address of WAF.
2047
+ * This parameter is suitable for scenarios in which another proxy service, such as Web Application Firewall (WAF), is deployed between the origin server and Anti-DDoS Proxy. The address is the redirection address of the proxy service, such as the CNAME of WAF.
2058
2048
  *
2059
2049
  * This parameter is required.
2060
2050
  *
@@ -2246,7 +2236,7 @@ export class CreatePortRequest extends $tea.Model {
2246
2236
  frontendPort?: string;
2247
2237
  /**
2248
2238
  * @remarks
2249
- * The type of the protocol. Valid values:
2239
+ * The type of the forwarding protocol. Valid values:
2250
2240
  *
2251
2241
  * * **tcp**
2252
2242
  * * **udp**
@@ -3744,7 +3734,7 @@ export class DeleteSceneDefensePolicyRequest extends $tea.Model {
3744
3734
  export class DeleteSceneDefensePolicyResponseBody extends $tea.Model {
3745
3735
  /**
3746
3736
  * @remarks
3747
- * The ID of the request.
3737
+ * The request ID.
3748
3738
  *
3749
3739
  * @example
3750
3740
  * F65DF043-E0EB-4796-9467-23DDCDF92C1D
@@ -3754,8 +3744,8 @@ export class DeleteSceneDefensePolicyResponseBody extends $tea.Model {
3754
3744
  * @remarks
3755
3745
  * Indicates whether the request was successful. Valid values:
3756
3746
  *
3757
- * * **true**: yes
3758
- * * **false**: no
3747
+ * * **true**
3748
+ * * **false**
3759
3749
  *
3760
3750
  * @example
3761
3751
  * true
@@ -7070,54 +7060,50 @@ export class DescribeDomainAttackEventsResponse extends $tea.Model {
7070
7060
  }
7071
7061
  }
7072
7062
 
7073
- export class DescribeDomainOverviewRequest extends $tea.Model {
7063
+ export class DescribeDomainBpsRequest extends $tea.Model {
7074
7064
  /**
7075
- * @remarks
7076
- * The domain name of the website that you want to query. If you leave this parameter unspecified, the statistics on all domain names are queried.
7077
- *
7078
- * > The domain name must be added to Anti-DDoS Pro or Anti-DDoS Premium. You can call the [DescribeDomains](https://help.aliyun.com/document_detail/91724.html) operation to query all the domain names that are added to Anti-DDoS Pro or Anti-DDoS Premium.
7079
- *
7080
7065
  * @example
7081
- * example.aliyundoc.com
7066
+ * www.example.com
7082
7067
  */
7083
7068
  domain?: string;
7084
7069
  /**
7085
7070
  * @remarks
7086
- * The end of the time range to query. The value is a UNIX timestamp. Unit: seconds. If you leave this parameter unspecified, the current system time is used as the end time.
7087
- *
7088
- * > This UNIX timestamp must indicate a point in time that is accurate to the minute.
7071
+ * This parameter is required.
7089
7072
  *
7090
7073
  * @example
7091
- * 1623427200
7074
+ * 1722339300
7092
7075
  */
7093
7076
  endTime?: number;
7094
7077
  /**
7095
7078
  * @remarks
7096
- * The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.
7097
- *
7098
- * For more information about resource groups, see [Create a resource group](https://help.aliyun.com/document_detail/94485.html).
7079
+ * This parameter is required.
7099
7080
  *
7100
7081
  * @example
7101
- * rg-acfm2pz25js****
7082
+ * 600
7102
7083
  */
7103
- resourceGroupId?: string;
7084
+ interval?: number;
7104
7085
  /**
7105
7086
  * @remarks
7106
- * The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.
7107
- *
7108
- * > This UNIX timestamp must indicate a point in time that is accurate to the minute.
7087
+ * This parameter is required.
7109
7088
  *
7089
+ * @example
7090
+ * cn
7091
+ */
7092
+ region?: string;
7093
+ /**
7094
+ * @remarks
7110
7095
  * This parameter is required.
7111
7096
  *
7112
7097
  * @example
7113
- * 1619798400
7098
+ * 1719211800
7114
7099
  */
7115
7100
  startTime?: number;
7116
7101
  static names(): { [key: string]: string } {
7117
7102
  return {
7118
7103
  domain: 'Domain',
7119
7104
  endTime: 'EndTime',
7120
- resourceGroupId: 'ResourceGroupId',
7105
+ interval: 'Interval',
7106
+ region: 'Region',
7121
7107
  startTime: 'StartTime',
7122
7108
  };
7123
7109
  }
@@ -7126,7 +7112,8 @@ export class DescribeDomainOverviewRequest extends $tea.Model {
7126
7112
  return {
7127
7113
  domain: 'string',
7128
7114
  endTime: 'number',
7129
- resourceGroupId: 'string',
7115
+ interval: 'number',
7116
+ region: 'string',
7130
7117
  startTime: 'number',
7131
7118
  };
7132
7119
  }
@@ -7136,43 +7123,23 @@ export class DescribeDomainOverviewRequest extends $tea.Model {
7136
7123
  }
7137
7124
  }
7138
7125
 
7139
- export class DescribeDomainOverviewResponseBody extends $tea.Model {
7126
+ export class DescribeDomainBpsResponseBody extends $tea.Model {
7127
+ domainBps?: DescribeDomainBpsResponseBodyDomainBps[];
7140
7128
  /**
7141
- * @remarks
7142
- * The peak queries per second (QPS) during HTTP traffic scrubbing. Unit: QPS.
7143
- *
7144
- * @example
7145
- * 41652
7146
- */
7147
- maxHttp?: number;
7148
- /**
7149
- * @remarks
7150
- * The peak QPS during HTTPS traffic scrubbing. Unit: QPS.
7151
- *
7152
- * @example
7153
- * 0
7154
- */
7155
- maxHttps?: number;
7156
- /**
7157
- * @remarks
7158
- * The ID of the request, which is used to locate and troubleshoot issues.
7159
- *
7160
7129
  * @example
7161
7130
  * C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E
7162
7131
  */
7163
7132
  requestId?: string;
7164
7133
  static names(): { [key: string]: string } {
7165
7134
  return {
7166
- maxHttp: 'MaxHttp',
7167
- maxHttps: 'MaxHttps',
7135
+ domainBps: 'DomainBps',
7168
7136
  requestId: 'RequestId',
7169
7137
  };
7170
7138
  }
7171
7139
 
7172
7140
  static types(): { [key: string]: any } {
7173
7141
  return {
7174
- maxHttp: 'number',
7175
- maxHttps: 'number',
7142
+ domainBps: { 'type': 'array', 'itemType': DescribeDomainBpsResponseBodyDomainBps },
7176
7143
  requestId: 'string',
7177
7144
  };
7178
7145
  }
@@ -7182,10 +7149,10 @@ export class DescribeDomainOverviewResponseBody extends $tea.Model {
7182
7149
  }
7183
7150
  }
7184
7151
 
7185
- export class DescribeDomainOverviewResponse extends $tea.Model {
7152
+ export class DescribeDomainBpsResponse extends $tea.Model {
7186
7153
  headers?: { [key: string]: string };
7187
7154
  statusCode?: number;
7188
- body?: DescribeDomainOverviewResponseBody;
7155
+ body?: DescribeDomainBpsResponseBody;
7189
7156
  static names(): { [key: string]: string } {
7190
7157
  return {
7191
7158
  headers: 'headers',
@@ -7198,7 +7165,7 @@ export class DescribeDomainOverviewResponse extends $tea.Model {
7198
7165
  return {
7199
7166
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
7200
7167
  statusCode: 'number',
7201
- body: DescribeDomainOverviewResponseBody,
7168
+ body: DescribeDomainBpsResponseBody,
7202
7169
  };
7203
7170
  }
7204
7171
 
@@ -7207,65 +7174,38 @@ export class DescribeDomainOverviewResponse extends $tea.Model {
7207
7174
  }
7208
7175
  }
7209
7176
 
7210
- export class DescribeDomainQPSListRequest extends $tea.Model {
7177
+ export class DescribeDomainH2FingerprintRequest extends $tea.Model {
7211
7178
  /**
7212
- * @remarks
7213
- * The domain name of the website. If you do not specify this parameter, the statistics on the QPS of all domain names are queried.
7214
- *
7215
- * > A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](https://help.aliyun.com/document_detail/91724.html) operation to query all domain names.
7216
- *
7217
7179
  * @example
7218
- * www.aliyun.com
7180
+ * example.aliyundoc.com
7219
7181
  */
7220
7182
  domain?: string;
7221
7183
  /**
7222
- * @remarks
7223
- * The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.
7224
- *
7225
- * > This UNIX timestamp must indicate a point in time that is accurate to the minute.
7226
- *
7227
- * This parameter is required.
7228
- *
7229
7184
  * @example
7230
- * 1583683200
7185
+ * 1726318200
7231
7186
  */
7232
7187
  endTime?: number;
7233
7188
  /**
7234
7189
  * @remarks
7235
- * The interval for returning data. Unit: seconds.
7236
- *
7237
7190
  * This parameter is required.
7238
7191
  *
7239
7192
  * @example
7240
- * 1000
7241
- */
7242
- interval?: number;
7243
- /**
7244
- * @remarks
7245
- * The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.
7246
- *
7247
- * @example
7248
- * default
7193
+ * 20
7249
7194
  */
7250
- resourceGroupId?: string;
7195
+ limit?: number;
7251
7196
  /**
7252
7197
  * @remarks
7253
- * The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.
7254
- *
7255
- * > This UNIX timestamp must indicate a point in time that is accurate to the minute.
7256
- *
7257
7198
  * This parameter is required.
7258
7199
  *
7259
7200
  * @example
7260
- * 1582992000
7201
+ * 1716435180
7261
7202
  */
7262
7203
  startTime?: number;
7263
7204
  static names(): { [key: string]: string } {
7264
7205
  return {
7265
7206
  domain: 'Domain',
7266
7207
  endTime: 'EndTime',
7267
- interval: 'Interval',
7268
- resourceGroupId: 'ResourceGroupId',
7208
+ limit: 'Limit',
7269
7209
  startTime: 'StartTime',
7270
7210
  };
7271
7211
  }
@@ -7274,8 +7214,7 @@ export class DescribeDomainQPSListRequest extends $tea.Model {
7274
7214
  return {
7275
7215
  domain: 'string',
7276
7216
  endTime: 'number',
7277
- interval: 'number',
7278
- resourceGroupId: 'string',
7217
+ limit: 'number',
7279
7218
  startTime: 'number',
7280
7219
  };
7281
7220
  }
@@ -7285,30 +7224,23 @@ export class DescribeDomainQPSListRequest extends $tea.Model {
7285
7224
  }
7286
7225
  }
7287
7226
 
7288
- export class DescribeDomainQPSListResponseBody extends $tea.Model {
7289
- /**
7290
- * @remarks
7291
- * An array that consists of the statistics on the QPS of the website.
7292
- */
7293
- domainQPSList?: DescribeDomainQPSListResponseBodyDomainQPSList[];
7227
+ export class DescribeDomainH2FingerprintResponseBody extends $tea.Model {
7228
+ domainH2Fp?: DescribeDomainH2FingerprintResponseBodyDomainH2Fp[];
7294
7229
  /**
7295
- * @remarks
7296
- * The ID of the request.
7297
- *
7298
7230
  * @example
7299
- * 327F2ABB-104D-437A-AAB5-D633E29A8C51
7231
+ * 112777CC-2AD6-46FC-A263-00B931406FCD
7300
7232
  */
7301
7233
  requestId?: string;
7302
7234
  static names(): { [key: string]: string } {
7303
7235
  return {
7304
- domainQPSList: 'DomainQPSList',
7236
+ domainH2Fp: 'DomainH2Fp',
7305
7237
  requestId: 'RequestId',
7306
7238
  };
7307
7239
  }
7308
7240
 
7309
7241
  static types(): { [key: string]: any } {
7310
7242
  return {
7311
- domainQPSList: { 'type': 'array', 'itemType': DescribeDomainQPSListResponseBodyDomainQPSList },
7243
+ domainH2Fp: { 'type': 'array', 'itemType': DescribeDomainH2FingerprintResponseBodyDomainH2Fp },
7312
7244
  requestId: 'string',
7313
7245
  };
7314
7246
  }
@@ -7318,10 +7250,10 @@ export class DescribeDomainQPSListResponseBody extends $tea.Model {
7318
7250
  }
7319
7251
  }
7320
7252
 
7321
- export class DescribeDomainQPSListResponse extends $tea.Model {
7253
+ export class DescribeDomainH2FingerprintResponse extends $tea.Model {
7322
7254
  headers?: { [key: string]: string };
7323
7255
  statusCode?: number;
7324
- body?: DescribeDomainQPSListResponseBody;
7256
+ body?: DescribeDomainH2FingerprintResponseBody;
7325
7257
  static names(): { [key: string]: string } {
7326
7258
  return {
7327
7259
  headers: 'headers',
@@ -7334,7 +7266,7 @@ export class DescribeDomainQPSListResponse extends $tea.Model {
7334
7266
  return {
7335
7267
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
7336
7268
  statusCode: 'number',
7337
- body: DescribeDomainQPSListResponseBody,
7269
+ body: DescribeDomainH2FingerprintResponseBody,
7338
7270
  };
7339
7271
  }
7340
7272
 
@@ -7343,66 +7275,64 @@ export class DescribeDomainQPSListResponse extends $tea.Model {
7343
7275
  }
7344
7276
  }
7345
7277
 
7346
- export class DescribeDomainResourceRequest extends $tea.Model {
7278
+ export class DescribeDomainOverviewRequest extends $tea.Model {
7347
7279
  /**
7348
7280
  * @remarks
7349
- * The domain name of the website that you want to query.
7281
+ * The domain name of the website that you want to query. If you leave this parameter unspecified, the statistics on all domain names are queried.
7282
+ *
7283
+ * > The domain name must be added to Anti-DDoS Pro or Anti-DDoS Premium. You can call the [DescribeDomains](https://help.aliyun.com/document_detail/91724.html) operation to query all the domain names that are added to Anti-DDoS Pro or Anti-DDoS Premium.
7350
7284
  *
7351
7285
  * @example
7352
- * www.example.com
7286
+ * example.aliyundoc.com
7353
7287
  */
7354
7288
  domain?: string;
7355
7289
  /**
7356
7290
  * @remarks
7357
- * An array that consists of the IDs of instances to query.
7358
- */
7359
- instanceIds?: string[];
7360
- /**
7361
- * @remarks
7362
- * The number of the page to return. Default value: **1**.
7291
+ * The end of the time range to query. The value is a UNIX timestamp. Unit: seconds. If you leave this parameter unspecified, the current system time is used as the end time.
7292
+ *
7293
+ * > This UNIX timestamp must indicate a point in time that is accurate to the minute.
7363
7294
  *
7364
7295
  * @example
7365
- * 1
7296
+ * 1623427200
7366
7297
  */
7367
- pageNumber?: number;
7298
+ endTime?: number;
7368
7299
  /**
7369
7300
  * @remarks
7370
- * The number of entries to return on each page.
7301
+ * The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.
7371
7302
  *
7372
- * This parameter is required.
7303
+ * For more information about resource groups, see [Create a resource group](https://help.aliyun.com/document_detail/94485.html).
7373
7304
  *
7374
7305
  * @example
7375
- * 10
7306
+ * rg-acfm2pz25js****
7376
7307
  */
7377
- pageSize?: number;
7308
+ resourceGroupId?: string;
7378
7309
  /**
7379
7310
  * @remarks
7380
- * The match mode. Valid values:
7311
+ * The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.
7381
7312
  *
7382
- * * **fuzzy**: fuzzy match. This is the default value.
7383
- * * **exact**: exact match.
7313
+ * > This UNIX timestamp must indicate a point in time that is accurate to the minute.
7314
+ *
7315
+ * This parameter is required.
7384
7316
  *
7385
7317
  * @example
7386
- * fuzzy
7318
+ * 1619798400
7387
7319
  */
7388
- queryDomainPattern?: string;
7320
+ startTime?: number;
7389
7321
  static names(): { [key: string]: string } {
7390
7322
  return {
7391
7323
  domain: 'Domain',
7392
- instanceIds: 'InstanceIds',
7393
- pageNumber: 'PageNumber',
7394
- pageSize: 'PageSize',
7395
- queryDomainPattern: 'QueryDomainPattern',
7324
+ endTime: 'EndTime',
7325
+ resourceGroupId: 'ResourceGroupId',
7326
+ startTime: 'StartTime',
7396
7327
  };
7397
7328
  }
7398
7329
 
7399
7330
  static types(): { [key: string]: any } {
7400
7331
  return {
7401
7332
  domain: 'string',
7402
- instanceIds: { 'type': 'array', 'itemType': 'string' },
7403
- pageNumber: 'number',
7404
- pageSize: 'number',
7405
- queryDomainPattern: 'string',
7333
+ endTime: 'number',
7334
+ resourceGroupId: 'string',
7335
+ startTime: 'number',
7406
7336
  };
7407
7337
  }
7408
7338
 
@@ -7411,126 +7341,44 @@ export class DescribeDomainResourceRequest extends $tea.Model {
7411
7341
  }
7412
7342
  }
7413
7343
 
7414
- export class DescribeDomainResourceResponseBody extends $tea.Model {
7344
+ export class DescribeDomainOverviewResponseBody extends $tea.Model {
7415
7345
  /**
7416
7346
  * @remarks
7417
- * The ID of the request.
7347
+ * The peak queries per second (QPS) during HTTP traffic scrubbing. Unit: QPS.
7418
7348
  *
7419
7349
  * @example
7420
- * 39499F01-19D9-4EA4-A0E9-C6014BA5CDBE
7350
+ * 41652
7421
7351
  */
7422
- requestId?: string;
7352
+ maxHttp?: number;
7423
7353
  /**
7424
7354
  * @remarks
7425
- * The total number of forwarding rules.
7355
+ * The peak QPS during HTTPS traffic scrubbing. Unit: QPS.
7426
7356
  *
7427
7357
  * @example
7428
- * 1
7429
- */
7430
- totalCount?: number;
7431
- /**
7432
- * @remarks
7433
- * The configurations of the forwarding rule.
7358
+ * 0
7434
7359
  */
7435
- webRules?: DescribeDomainResourceResponseBodyWebRules[];
7436
- static names(): { [key: string]: string } {
7437
- return {
7438
- requestId: 'RequestId',
7439
- totalCount: 'TotalCount',
7440
- webRules: 'WebRules',
7441
- };
7442
- }
7443
-
7444
- static types(): { [key: string]: any } {
7445
- return {
7446
- requestId: 'string',
7447
- totalCount: 'number',
7448
- webRules: { 'type': 'array', 'itemType': DescribeDomainResourceResponseBodyWebRules },
7449
- };
7450
- }
7451
-
7452
- constructor(map?: { [key: string]: any }) {
7453
- super(map);
7454
- }
7455
- }
7456
-
7457
- export class DescribeDomainResourceResponse extends $tea.Model {
7458
- headers?: { [key: string]: string };
7459
- statusCode?: number;
7460
- body?: DescribeDomainResourceResponseBody;
7461
- static names(): { [key: string]: string } {
7462
- return {
7463
- headers: 'headers',
7464
- statusCode: 'statusCode',
7465
- body: 'body',
7466
- };
7467
- }
7468
-
7469
- static types(): { [key: string]: any } {
7470
- return {
7471
- headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
7472
- statusCode: 'number',
7473
- body: DescribeDomainResourceResponseBody,
7474
- };
7475
- }
7476
-
7477
- constructor(map?: { [key: string]: any }) {
7478
- super(map);
7479
- }
7480
- }
7481
-
7482
- export class DescribeDomainSecurityProfileRequest extends $tea.Model {
7360
+ maxHttps?: number;
7483
7361
  /**
7484
7362
  * @remarks
7485
- * The domain name of the website.
7486
- *
7487
- * > A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](https://help.aliyun.com/document_detail/91724.html) operation to query all domain names.
7488
- *
7489
- * This parameter is required.
7363
+ * The ID of the request, which is used to locate and troubleshoot issues.
7490
7364
  *
7491
7365
  * @example
7492
- * example.aliyundoc.com
7493
- */
7494
- domain?: string;
7495
- static names(): { [key: string]: string } {
7496
- return {
7497
- domain: 'Domain',
7498
- };
7499
- }
7500
-
7501
- static types(): { [key: string]: any } {
7502
- return {
7503
- domain: 'string',
7504
- };
7505
- }
7506
-
7507
- constructor(map?: { [key: string]: any }) {
7508
- super(map);
7509
- }
7510
- }
7511
-
7512
- export class DescribeDomainSecurityProfileResponseBody extends $tea.Model {
7513
- /**
7514
- * @remarks
7515
- * The ID of the request, which is used to locate and troubleshoot issues.
7366
+ * C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E
7516
7367
  */
7517
7368
  requestId?: string;
7518
- /**
7519
- * @remarks
7520
- * The returned results.
7521
- */
7522
- result?: DescribeDomainSecurityProfileResponseBodyResult[];
7523
7369
  static names(): { [key: string]: string } {
7524
7370
  return {
7371
+ maxHttp: 'MaxHttp',
7372
+ maxHttps: 'MaxHttps',
7525
7373
  requestId: 'RequestId',
7526
- result: 'Result',
7527
7374
  };
7528
7375
  }
7529
7376
 
7530
7377
  static types(): { [key: string]: any } {
7531
7378
  return {
7379
+ maxHttp: 'number',
7380
+ maxHttps: 'number',
7532
7381
  requestId: 'string',
7533
- result: { 'type': 'array', 'itemType': DescribeDomainSecurityProfileResponseBodyResult },
7534
7382
  };
7535
7383
  }
7536
7384
 
@@ -7539,10 +7387,10 @@ export class DescribeDomainSecurityProfileResponseBody extends $tea.Model {
7539
7387
  }
7540
7388
  }
7541
7389
 
7542
- export class DescribeDomainSecurityProfileResponse extends $tea.Model {
7390
+ export class DescribeDomainOverviewResponse extends $tea.Model {
7543
7391
  headers?: { [key: string]: string };
7544
7392
  statusCode?: number;
7545
- body?: DescribeDomainSecurityProfileResponseBody;
7393
+ body?: DescribeDomainOverviewResponseBody;
7546
7394
  static names(): { [key: string]: string } {
7547
7395
  return {
7548
7396
  headers: 'headers',
@@ -7555,7 +7403,7 @@ export class DescribeDomainSecurityProfileResponse extends $tea.Model {
7555
7403
  return {
7556
7404
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
7557
7405
  statusCode: 'number',
7558
- body: DescribeDomainSecurityProfileResponseBody,
7406
+ body: DescribeDomainOverviewResponseBody,
7559
7407
  };
7560
7408
  }
7561
7409
 
@@ -7564,10 +7412,365 @@ export class DescribeDomainSecurityProfileResponse extends $tea.Model {
7564
7412
  }
7565
7413
  }
7566
7414
 
7567
- export class DescribeDomainStatusCodeCountRequest extends $tea.Model {
7415
+ export class DescribeDomainQPSListRequest extends $tea.Model {
7568
7416
  /**
7569
7417
  * @remarks
7570
- * The domain name of the website.
7418
+ * The domain name of the website. If you do not specify this parameter, the statistics on the QPS of all domain names are queried.
7419
+ *
7420
+ * > A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](https://help.aliyun.com/document_detail/91724.html) operation to query all domain names.
7421
+ *
7422
+ * @example
7423
+ * www.aliyun.com
7424
+ */
7425
+ domain?: string;
7426
+ /**
7427
+ * @remarks
7428
+ * The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.
7429
+ *
7430
+ * > This UNIX timestamp must indicate a point in time that is accurate to the minute.
7431
+ *
7432
+ * This parameter is required.
7433
+ *
7434
+ * @example
7435
+ * 1583683200
7436
+ */
7437
+ endTime?: number;
7438
+ /**
7439
+ * @remarks
7440
+ * The interval for returning data. Unit: seconds.
7441
+ *
7442
+ * This parameter is required.
7443
+ *
7444
+ * @example
7445
+ * 1000
7446
+ */
7447
+ interval?: number;
7448
+ /**
7449
+ * @remarks
7450
+ * The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.
7451
+ *
7452
+ * @example
7453
+ * default
7454
+ */
7455
+ resourceGroupId?: string;
7456
+ /**
7457
+ * @remarks
7458
+ * The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.
7459
+ *
7460
+ * > This UNIX timestamp must indicate a point in time that is accurate to the minute.
7461
+ *
7462
+ * This parameter is required.
7463
+ *
7464
+ * @example
7465
+ * 1582992000
7466
+ */
7467
+ startTime?: number;
7468
+ static names(): { [key: string]: string } {
7469
+ return {
7470
+ domain: 'Domain',
7471
+ endTime: 'EndTime',
7472
+ interval: 'Interval',
7473
+ resourceGroupId: 'ResourceGroupId',
7474
+ startTime: 'StartTime',
7475
+ };
7476
+ }
7477
+
7478
+ static types(): { [key: string]: any } {
7479
+ return {
7480
+ domain: 'string',
7481
+ endTime: 'number',
7482
+ interval: 'number',
7483
+ resourceGroupId: 'string',
7484
+ startTime: 'number',
7485
+ };
7486
+ }
7487
+
7488
+ constructor(map?: { [key: string]: any }) {
7489
+ super(map);
7490
+ }
7491
+ }
7492
+
7493
+ export class DescribeDomainQPSListResponseBody extends $tea.Model {
7494
+ /**
7495
+ * @remarks
7496
+ * An array that consists of the statistics on the QPS of the website.
7497
+ */
7498
+ domainQPSList?: DescribeDomainQPSListResponseBodyDomainQPSList[];
7499
+ /**
7500
+ * @remarks
7501
+ * The ID of the request.
7502
+ *
7503
+ * @example
7504
+ * 327F2ABB-104D-437A-AAB5-D633E29A8C51
7505
+ */
7506
+ requestId?: string;
7507
+ static names(): { [key: string]: string } {
7508
+ return {
7509
+ domainQPSList: 'DomainQPSList',
7510
+ requestId: 'RequestId',
7511
+ };
7512
+ }
7513
+
7514
+ static types(): { [key: string]: any } {
7515
+ return {
7516
+ domainQPSList: { 'type': 'array', 'itemType': DescribeDomainQPSListResponseBodyDomainQPSList },
7517
+ requestId: 'string',
7518
+ };
7519
+ }
7520
+
7521
+ constructor(map?: { [key: string]: any }) {
7522
+ super(map);
7523
+ }
7524
+ }
7525
+
7526
+ export class DescribeDomainQPSListResponse extends $tea.Model {
7527
+ headers?: { [key: string]: string };
7528
+ statusCode?: number;
7529
+ body?: DescribeDomainQPSListResponseBody;
7530
+ static names(): { [key: string]: string } {
7531
+ return {
7532
+ headers: 'headers',
7533
+ statusCode: 'statusCode',
7534
+ body: 'body',
7535
+ };
7536
+ }
7537
+
7538
+ static types(): { [key: string]: any } {
7539
+ return {
7540
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
7541
+ statusCode: 'number',
7542
+ body: DescribeDomainQPSListResponseBody,
7543
+ };
7544
+ }
7545
+
7546
+ constructor(map?: { [key: string]: any }) {
7547
+ super(map);
7548
+ }
7549
+ }
7550
+
7551
+ export class DescribeDomainResourceRequest extends $tea.Model {
7552
+ /**
7553
+ * @remarks
7554
+ * The domain name of the website that you want to query.
7555
+ *
7556
+ * @example
7557
+ * www.example.com
7558
+ */
7559
+ domain?: string;
7560
+ /**
7561
+ * @remarks
7562
+ * An array that consists of the IDs of instances to query.
7563
+ */
7564
+ instanceIds?: string[];
7565
+ /**
7566
+ * @remarks
7567
+ * The page number. Default value: **1**.
7568
+ *
7569
+ * @example
7570
+ * 1
7571
+ */
7572
+ pageNumber?: number;
7573
+ /**
7574
+ * @remarks
7575
+ * The number of entries per page.
7576
+ *
7577
+ * @example
7578
+ * 10
7579
+ */
7580
+ pageSize?: number;
7581
+ /**
7582
+ * @remarks
7583
+ * The match mode. Valid values:
7584
+ *
7585
+ * * **fuzzy**: fuzzy match. This is the default value.
7586
+ * * **exact**: exact match.
7587
+ *
7588
+ * @example
7589
+ * fuzzy
7590
+ */
7591
+ queryDomainPattern?: string;
7592
+ static names(): { [key: string]: string } {
7593
+ return {
7594
+ domain: 'Domain',
7595
+ instanceIds: 'InstanceIds',
7596
+ pageNumber: 'PageNumber',
7597
+ pageSize: 'PageSize',
7598
+ queryDomainPattern: 'QueryDomainPattern',
7599
+ };
7600
+ }
7601
+
7602
+ static types(): { [key: string]: any } {
7603
+ return {
7604
+ domain: 'string',
7605
+ instanceIds: { 'type': 'array', 'itemType': 'string' },
7606
+ pageNumber: 'number',
7607
+ pageSize: 'number',
7608
+ queryDomainPattern: 'string',
7609
+ };
7610
+ }
7611
+
7612
+ constructor(map?: { [key: string]: any }) {
7613
+ super(map);
7614
+ }
7615
+ }
7616
+
7617
+ export class DescribeDomainResourceResponseBody extends $tea.Model {
7618
+ /**
7619
+ * @remarks
7620
+ * The ID of the request.
7621
+ *
7622
+ * @example
7623
+ * 39499F01-19D9-4EA4-A0E9-C6014BA5CDBE
7624
+ */
7625
+ requestId?: string;
7626
+ /**
7627
+ * @remarks
7628
+ * The total number of forwarding rules.
7629
+ *
7630
+ * @example
7631
+ * 1
7632
+ */
7633
+ totalCount?: number;
7634
+ /**
7635
+ * @remarks
7636
+ * The configurations of the forwarding rule.
7637
+ */
7638
+ webRules?: DescribeDomainResourceResponseBodyWebRules[];
7639
+ static names(): { [key: string]: string } {
7640
+ return {
7641
+ requestId: 'RequestId',
7642
+ totalCount: 'TotalCount',
7643
+ webRules: 'WebRules',
7644
+ };
7645
+ }
7646
+
7647
+ static types(): { [key: string]: any } {
7648
+ return {
7649
+ requestId: 'string',
7650
+ totalCount: 'number',
7651
+ webRules: { 'type': 'array', 'itemType': DescribeDomainResourceResponseBodyWebRules },
7652
+ };
7653
+ }
7654
+
7655
+ constructor(map?: { [key: string]: any }) {
7656
+ super(map);
7657
+ }
7658
+ }
7659
+
7660
+ export class DescribeDomainResourceResponse extends $tea.Model {
7661
+ headers?: { [key: string]: string };
7662
+ statusCode?: number;
7663
+ body?: DescribeDomainResourceResponseBody;
7664
+ static names(): { [key: string]: string } {
7665
+ return {
7666
+ headers: 'headers',
7667
+ statusCode: 'statusCode',
7668
+ body: 'body',
7669
+ };
7670
+ }
7671
+
7672
+ static types(): { [key: string]: any } {
7673
+ return {
7674
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
7675
+ statusCode: 'number',
7676
+ body: DescribeDomainResourceResponseBody,
7677
+ };
7678
+ }
7679
+
7680
+ constructor(map?: { [key: string]: any }) {
7681
+ super(map);
7682
+ }
7683
+ }
7684
+
7685
+ export class DescribeDomainSecurityProfileRequest extends $tea.Model {
7686
+ /**
7687
+ * @remarks
7688
+ * The domain name of the website.
7689
+ *
7690
+ * > A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](https://help.aliyun.com/document_detail/91724.html) operation to query all domain names.
7691
+ *
7692
+ * This parameter is required.
7693
+ *
7694
+ * @example
7695
+ * example.aliyundoc.com
7696
+ */
7697
+ domain?: string;
7698
+ static names(): { [key: string]: string } {
7699
+ return {
7700
+ domain: 'Domain',
7701
+ };
7702
+ }
7703
+
7704
+ static types(): { [key: string]: any } {
7705
+ return {
7706
+ domain: 'string',
7707
+ };
7708
+ }
7709
+
7710
+ constructor(map?: { [key: string]: any }) {
7711
+ super(map);
7712
+ }
7713
+ }
7714
+
7715
+ export class DescribeDomainSecurityProfileResponseBody extends $tea.Model {
7716
+ /**
7717
+ * @remarks
7718
+ * The ID of the request, which is used to locate and troubleshoot issues.
7719
+ */
7720
+ requestId?: string;
7721
+ /**
7722
+ * @remarks
7723
+ * The returned results.
7724
+ */
7725
+ result?: DescribeDomainSecurityProfileResponseBodyResult[];
7726
+ static names(): { [key: string]: string } {
7727
+ return {
7728
+ requestId: 'RequestId',
7729
+ result: 'Result',
7730
+ };
7731
+ }
7732
+
7733
+ static types(): { [key: string]: any } {
7734
+ return {
7735
+ requestId: 'string',
7736
+ result: { 'type': 'array', 'itemType': DescribeDomainSecurityProfileResponseBodyResult },
7737
+ };
7738
+ }
7739
+
7740
+ constructor(map?: { [key: string]: any }) {
7741
+ super(map);
7742
+ }
7743
+ }
7744
+
7745
+ export class DescribeDomainSecurityProfileResponse extends $tea.Model {
7746
+ headers?: { [key: string]: string };
7747
+ statusCode?: number;
7748
+ body?: DescribeDomainSecurityProfileResponseBody;
7749
+ static names(): { [key: string]: string } {
7750
+ return {
7751
+ headers: 'headers',
7752
+ statusCode: 'statusCode',
7753
+ body: 'body',
7754
+ };
7755
+ }
7756
+
7757
+ static types(): { [key: string]: any } {
7758
+ return {
7759
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
7760
+ statusCode: 'number',
7761
+ body: DescribeDomainSecurityProfileResponseBody,
7762
+ };
7763
+ }
7764
+
7765
+ constructor(map?: { [key: string]: any }) {
7766
+ super(map);
7767
+ }
7768
+ }
7769
+
7770
+ export class DescribeDomainStatusCodeCountRequest extends $tea.Model {
7771
+ /**
7772
+ * @remarks
7773
+ * The domain name of the website.
7571
7774
  *
7572
7775
  * > A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](https://help.aliyun.com/document_detail/91724.html) operation to query all domain names.
7573
7776
  *
@@ -8062,6 +8265,472 @@ export class DescribeDomainTopAttackListResponse extends $tea.Model {
8062
8265
  }
8063
8266
  }
8064
8267
 
8268
+ export class DescribeDomainTopFingerprintRequest extends $tea.Model {
8269
+ /**
8270
+ * @example
8271
+ * example.aliyundoc.com
8272
+ */
8273
+ domain?: string;
8274
+ /**
8275
+ * @remarks
8276
+ * This parameter is required.
8277
+ *
8278
+ * @example
8279
+ * 1723552200
8280
+ */
8281
+ endTime?: number;
8282
+ /**
8283
+ * @remarks
8284
+ * This parameter is required.
8285
+ *
8286
+ * @example
8287
+ * 60
8288
+ */
8289
+ interval?: number;
8290
+ /**
8291
+ * @remarks
8292
+ * This parameter is required.
8293
+ *
8294
+ * @example
8295
+ * 10
8296
+ */
8297
+ limit?: number;
8298
+ /**
8299
+ * @remarks
8300
+ * This parameter is required.
8301
+ *
8302
+ * @example
8303
+ * cn
8304
+ */
8305
+ region?: string;
8306
+ /**
8307
+ * @remarks
8308
+ * This parameter is required.
8309
+ *
8310
+ * @example
8311
+ * 1719211800
8312
+ */
8313
+ startTime?: number;
8314
+ static names(): { [key: string]: string } {
8315
+ return {
8316
+ domain: 'Domain',
8317
+ endTime: 'EndTime',
8318
+ interval: 'Interval',
8319
+ limit: 'Limit',
8320
+ region: 'Region',
8321
+ startTime: 'StartTime',
8322
+ };
8323
+ }
8324
+
8325
+ static types(): { [key: string]: any } {
8326
+ return {
8327
+ domain: 'string',
8328
+ endTime: 'number',
8329
+ interval: 'number',
8330
+ limit: 'number',
8331
+ region: 'string',
8332
+ startTime: 'number',
8333
+ };
8334
+ }
8335
+
8336
+ constructor(map?: { [key: string]: any }) {
8337
+ super(map);
8338
+ }
8339
+ }
8340
+
8341
+ export class DescribeDomainTopFingerprintResponseBody extends $tea.Model {
8342
+ domainTopFp?: DescribeDomainTopFingerprintResponseBodyDomainTopFp[];
8343
+ /**
8344
+ * @example
8345
+ * C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E
8346
+ */
8347
+ requestId?: string;
8348
+ static names(): { [key: string]: string } {
8349
+ return {
8350
+ domainTopFp: 'DomainTopFp',
8351
+ requestId: 'RequestId',
8352
+ };
8353
+ }
8354
+
8355
+ static types(): { [key: string]: any } {
8356
+ return {
8357
+ domainTopFp: { 'type': 'array', 'itemType': DescribeDomainTopFingerprintResponseBodyDomainTopFp },
8358
+ requestId: 'string',
8359
+ };
8360
+ }
8361
+
8362
+ constructor(map?: { [key: string]: any }) {
8363
+ super(map);
8364
+ }
8365
+ }
8366
+
8367
+ export class DescribeDomainTopFingerprintResponse extends $tea.Model {
8368
+ headers?: { [key: string]: string };
8369
+ statusCode?: number;
8370
+ body?: DescribeDomainTopFingerprintResponseBody;
8371
+ static names(): { [key: string]: string } {
8372
+ return {
8373
+ headers: 'headers',
8374
+ statusCode: 'statusCode',
8375
+ body: 'body',
8376
+ };
8377
+ }
8378
+
8379
+ static types(): { [key: string]: any } {
8380
+ return {
8381
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
8382
+ statusCode: 'number',
8383
+ body: DescribeDomainTopFingerprintResponseBody,
8384
+ };
8385
+ }
8386
+
8387
+ constructor(map?: { [key: string]: any }) {
8388
+ super(map);
8389
+ }
8390
+ }
8391
+
8392
+ export class DescribeDomainTopHttpMethodRequest extends $tea.Model {
8393
+ /**
8394
+ * @example
8395
+ * example.aliyundoc.com
8396
+ */
8397
+ domain?: string;
8398
+ /**
8399
+ * @remarks
8400
+ * This parameter is required.
8401
+ *
8402
+ * @example
8403
+ * 1722339300
8404
+ */
8405
+ endTime?: number;
8406
+ /**
8407
+ * @remarks
8408
+ * This parameter is required.
8409
+ *
8410
+ * @example
8411
+ * 20
8412
+ */
8413
+ limit?: number;
8414
+ /**
8415
+ * @remarks
8416
+ * This parameter is required.
8417
+ *
8418
+ * @example
8419
+ * cn
8420
+ */
8421
+ region?: string;
8422
+ /**
8423
+ * @remarks
8424
+ * This parameter is required.
8425
+ *
8426
+ * @example
8427
+ * 1712449710
8428
+ */
8429
+ startTime?: number;
8430
+ static names(): { [key: string]: string } {
8431
+ return {
8432
+ domain: 'Domain',
8433
+ endTime: 'EndTime',
8434
+ limit: 'Limit',
8435
+ region: 'Region',
8436
+ startTime: 'StartTime',
8437
+ };
8438
+ }
8439
+
8440
+ static types(): { [key: string]: any } {
8441
+ return {
8442
+ domain: 'string',
8443
+ endTime: 'number',
8444
+ limit: 'number',
8445
+ region: 'string',
8446
+ startTime: 'number',
8447
+ };
8448
+ }
8449
+
8450
+ constructor(map?: { [key: string]: any }) {
8451
+ super(map);
8452
+ }
8453
+ }
8454
+
8455
+ export class DescribeDomainTopHttpMethodResponseBody extends $tea.Model {
8456
+ domainTopMethod?: DescribeDomainTopHttpMethodResponseBodyDomainTopMethod[];
8457
+ /**
8458
+ * @example
8459
+ * CF33B4C3-196E-4015-AADD-5CAD00057B80
8460
+ */
8461
+ requestId?: string;
8462
+ static names(): { [key: string]: string } {
8463
+ return {
8464
+ domainTopMethod: 'DomainTopMethod',
8465
+ requestId: 'RequestId',
8466
+ };
8467
+ }
8468
+
8469
+ static types(): { [key: string]: any } {
8470
+ return {
8471
+ domainTopMethod: { 'type': 'array', 'itemType': DescribeDomainTopHttpMethodResponseBodyDomainTopMethod },
8472
+ requestId: 'string',
8473
+ };
8474
+ }
8475
+
8476
+ constructor(map?: { [key: string]: any }) {
8477
+ super(map);
8478
+ }
8479
+ }
8480
+
8481
+ export class DescribeDomainTopHttpMethodResponse extends $tea.Model {
8482
+ headers?: { [key: string]: string };
8483
+ statusCode?: number;
8484
+ body?: DescribeDomainTopHttpMethodResponseBody;
8485
+ static names(): { [key: string]: string } {
8486
+ return {
8487
+ headers: 'headers',
8488
+ statusCode: 'statusCode',
8489
+ body: 'body',
8490
+ };
8491
+ }
8492
+
8493
+ static types(): { [key: string]: any } {
8494
+ return {
8495
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
8496
+ statusCode: 'number',
8497
+ body: DescribeDomainTopHttpMethodResponseBody,
8498
+ };
8499
+ }
8500
+
8501
+ constructor(map?: { [key: string]: any }) {
8502
+ super(map);
8503
+ }
8504
+ }
8505
+
8506
+ export class DescribeDomainTopRefererRequest extends $tea.Model {
8507
+ /**
8508
+ * @example
8509
+ * example.aliyundoc.com
8510
+ */
8511
+ domain?: string;
8512
+ /**
8513
+ * @remarks
8514
+ * This parameter is required.
8515
+ *
8516
+ * @example
8517
+ * 1721561100
8518
+ */
8519
+ endTime?: number;
8520
+ /**
8521
+ * @remarks
8522
+ * This parameter is required.
8523
+ *
8524
+ * @example
8525
+ * 10
8526
+ */
8527
+ limit?: number;
8528
+ /**
8529
+ * @remarks
8530
+ * This parameter is required.
8531
+ *
8532
+ * @example
8533
+ * cn
8534
+ */
8535
+ region?: string;
8536
+ /**
8537
+ * @remarks
8538
+ * This parameter is required.
8539
+ *
8540
+ * @example
8541
+ * 1701991920
8542
+ */
8543
+ startTime?: number;
8544
+ static names(): { [key: string]: string } {
8545
+ return {
8546
+ domain: 'Domain',
8547
+ endTime: 'EndTime',
8548
+ limit: 'Limit',
8549
+ region: 'Region',
8550
+ startTime: 'StartTime',
8551
+ };
8552
+ }
8553
+
8554
+ static types(): { [key: string]: any } {
8555
+ return {
8556
+ domain: 'string',
8557
+ endTime: 'number',
8558
+ limit: 'number',
8559
+ region: 'string',
8560
+ startTime: 'number',
8561
+ };
8562
+ }
8563
+
8564
+ constructor(map?: { [key: string]: any }) {
8565
+ super(map);
8566
+ }
8567
+ }
8568
+
8569
+ export class DescribeDomainTopRefererResponseBody extends $tea.Model {
8570
+ domainTopReferer?: DescribeDomainTopRefererResponseBodyDomainTopReferer[];
8571
+ /**
8572
+ * @example
8573
+ * CF33B4C3-196E-4015-AADD-5CAD00057B80
8574
+ */
8575
+ requestId?: string;
8576
+ static names(): { [key: string]: string } {
8577
+ return {
8578
+ domainTopReferer: 'DomainTopReferer',
8579
+ requestId: 'RequestId',
8580
+ };
8581
+ }
8582
+
8583
+ static types(): { [key: string]: any } {
8584
+ return {
8585
+ domainTopReferer: { 'type': 'array', 'itemType': DescribeDomainTopRefererResponseBodyDomainTopReferer },
8586
+ requestId: 'string',
8587
+ };
8588
+ }
8589
+
8590
+ constructor(map?: { [key: string]: any }) {
8591
+ super(map);
8592
+ }
8593
+ }
8594
+
8595
+ export class DescribeDomainTopRefererResponse extends $tea.Model {
8596
+ headers?: { [key: string]: string };
8597
+ statusCode?: number;
8598
+ body?: DescribeDomainTopRefererResponseBody;
8599
+ static names(): { [key: string]: string } {
8600
+ return {
8601
+ headers: 'headers',
8602
+ statusCode: 'statusCode',
8603
+ body: 'body',
8604
+ };
8605
+ }
8606
+
8607
+ static types(): { [key: string]: any } {
8608
+ return {
8609
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
8610
+ statusCode: 'number',
8611
+ body: DescribeDomainTopRefererResponseBody,
8612
+ };
8613
+ }
8614
+
8615
+ constructor(map?: { [key: string]: any }) {
8616
+ super(map);
8617
+ }
8618
+ }
8619
+
8620
+ export class DescribeDomainTopUserAgentRequest extends $tea.Model {
8621
+ /**
8622
+ * @example
8623
+ * www.example.com
8624
+ */
8625
+ domain?: string;
8626
+ /**
8627
+ * @remarks
8628
+ * This parameter is required.
8629
+ *
8630
+ * @example
8631
+ * 1708352700
8632
+ */
8633
+ endTime?: number;
8634
+ /**
8635
+ * @remarks
8636
+ * This parameter is required.
8637
+ *
8638
+ * @example
8639
+ * 20
8640
+ */
8641
+ limit?: number;
8642
+ /**
8643
+ * @remarks
8644
+ * This parameter is required.
8645
+ *
8646
+ * @example
8647
+ * cn
8648
+ */
8649
+ region?: string;
8650
+ /**
8651
+ * @remarks
8652
+ * This parameter is required.
8653
+ *
8654
+ * @example
8655
+ * 1609430400
8656
+ */
8657
+ startTime?: number;
8658
+ static names(): { [key: string]: string } {
8659
+ return {
8660
+ domain: 'Domain',
8661
+ endTime: 'EndTime',
8662
+ limit: 'Limit',
8663
+ region: 'Region',
8664
+ startTime: 'StartTime',
8665
+ };
8666
+ }
8667
+
8668
+ static types(): { [key: string]: any } {
8669
+ return {
8670
+ domain: 'string',
8671
+ endTime: 'number',
8672
+ limit: 'number',
8673
+ region: 'string',
8674
+ startTime: 'number',
8675
+ };
8676
+ }
8677
+
8678
+ constructor(map?: { [key: string]: any }) {
8679
+ super(map);
8680
+ }
8681
+ }
8682
+
8683
+ export class DescribeDomainTopUserAgentResponseBody extends $tea.Model {
8684
+ domainTopUa?: DescribeDomainTopUserAgentResponseBodyDomainTopUa[];
8685
+ /**
8686
+ * @example
8687
+ * CF33B4C3-196E-4015-AADD-5CAD00057B80
8688
+ */
8689
+ requestId?: string;
8690
+ static names(): { [key: string]: string } {
8691
+ return {
8692
+ domainTopUa: 'DomainTopUa',
8693
+ requestId: 'RequestId',
8694
+ };
8695
+ }
8696
+
8697
+ static types(): { [key: string]: any } {
8698
+ return {
8699
+ domainTopUa: { 'type': 'array', 'itemType': DescribeDomainTopUserAgentResponseBodyDomainTopUa },
8700
+ requestId: 'string',
8701
+ };
8702
+ }
8703
+
8704
+ constructor(map?: { [key: string]: any }) {
8705
+ super(map);
8706
+ }
8707
+ }
8708
+
8709
+ export class DescribeDomainTopUserAgentResponse extends $tea.Model {
8710
+ headers?: { [key: string]: string };
8711
+ statusCode?: number;
8712
+ body?: DescribeDomainTopUserAgentResponseBody;
8713
+ static names(): { [key: string]: string } {
8714
+ return {
8715
+ headers: 'headers',
8716
+ statusCode: 'statusCode',
8717
+ body: 'body',
8718
+ };
8719
+ }
8720
+
8721
+ static types(): { [key: string]: any } {
8722
+ return {
8723
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
8724
+ statusCode: 'number',
8725
+ body: DescribeDomainTopUserAgentResponseBody,
8726
+ };
8727
+ }
8728
+
8729
+ constructor(map?: { [key: string]: any }) {
8730
+ super(map);
8731
+ }
8732
+ }
8733
+
8065
8734
  export class DescribeDomainViewSourceCountriesRequest extends $tea.Model {
8066
8735
  /**
8067
8736
  * @remarks
@@ -9153,7 +9822,7 @@ export class DescribeHealthCheckListResponseBody extends $tea.Model {
9153
9822
  healthCheckList?: DescribeHealthCheckListResponseBodyHealthCheckList[];
9154
9823
  /**
9155
9824
  * @remarks
9156
- * The ID of the request.
9825
+ * The request ID.
9157
9826
  *
9158
9827
  * @example
9159
9828
  * 83B4AF42-E8EE-4DC9-BD73-87B7733A36F9
@@ -10175,6 +10844,11 @@ export class DescribeL7RsPolicyResponseBody extends $tea.Model {
10175
10844
  * 9E7F6B2C-03F2-462F-9076-B782CF0DD502
10176
10845
  */
10177
10846
  requestId?: string;
10847
+ /**
10848
+ * @example
10849
+ * 300
10850
+ */
10851
+ rsAttrRwTimeoutMax?: number;
10178
10852
  /**
10179
10853
  * @remarks
10180
10854
  * The back-to-origin retry switch. Valid values:
@@ -10191,6 +10865,7 @@ export class DescribeL7RsPolicyResponseBody extends $tea.Model {
10191
10865
  attributes: 'Attributes',
10192
10866
  proxyMode: 'ProxyMode',
10193
10867
  requestId: 'RequestId',
10868
+ rsAttrRwTimeoutMax: 'RsAttrRwTimeoutMax',
10194
10869
  upstreamRetry: 'UpstreamRetry',
10195
10870
  };
10196
10871
  }
@@ -10200,6 +10875,7 @@ export class DescribeL7RsPolicyResponseBody extends $tea.Model {
10200
10875
  attributes: { 'type': 'array', 'itemType': DescribeL7RsPolicyResponseBodyAttributes },
10201
10876
  proxyMode: 'string',
10202
10877
  requestId: 'string',
10878
+ rsAttrRwTimeoutMax: 'number',
10203
10879
  upstreamRetry: 'number',
10204
10880
  };
10205
10881
  }
@@ -10837,7 +11513,7 @@ export class DescribeNetworkRulesRequest extends $tea.Model {
10837
11513
  export class DescribeNetworkRulesResponseBody extends $tea.Model {
10838
11514
  /**
10839
11515
  * @remarks
10840
- * The details of a port forwarding rule.
11516
+ * The details of the port forwarding rule.
10841
11517
  */
10842
11518
  networkRules?: DescribeNetworkRulesResponseBodyNetworkRules[];
10843
11519
  /**
@@ -11107,9 +11783,7 @@ export class DescribePortRequest extends $tea.Model {
11107
11783
  instanceId?: string;
11108
11784
  /**
11109
11785
  * @remarks
11110
- * The number of the page to return. For example, if you want to obtain results on the first page, set the value to **1**.
11111
- *
11112
- * This parameter is required.
11786
+ * The page number. For example, if you want to obtain results on the first page, set the value to **1**.
11113
11787
  *
11114
11788
  * @example
11115
11789
  * 1
@@ -11117,9 +11791,7 @@ export class DescribePortRequest extends $tea.Model {
11117
11791
  pageNumber?: number;
11118
11792
  /**
11119
11793
  * @remarks
11120
- * The number of entries to return on each page.
11121
- *
11122
- * This parameter is required.
11794
+ * The number of entries per page.
11123
11795
  *
11124
11796
  * @example
11125
11797
  * 10
@@ -11518,7 +12190,7 @@ export class DescribePortCcAttackTopIPResponseBody extends $tea.Model {
11518
12190
  requestId?: string;
11519
12191
  /**
11520
12192
  * @remarks
11521
- * The information about the source IP address of the attack.
12193
+ * The top IP addresses from which most attacks are initiated.
11522
12194
  */
11523
12195
  topIp?: DescribePortCcAttackTopIPResponseBodyTopIp[];
11524
12196
  static names(): { [key: string]: string } {
@@ -14270,7 +14942,7 @@ export class DescribeUnBlockCountRequest extends $tea.Model {
14270
14942
  export class DescribeUnBlockCountResponseBody extends $tea.Model {
14271
14943
  /**
14272
14944
  * @remarks
14273
- * The remaining quota that you can use the Diversion from Origin Server policy.
14945
+ * The remaining number of times that you can enable the near-origin traffic diversion feature.
14274
14946
  *
14275
14947
  * @example
14276
14948
  * 7
@@ -14278,7 +14950,7 @@ export class DescribeUnBlockCountResponseBody extends $tea.Model {
14278
14950
  remainCount?: number;
14279
14951
  /**
14280
14952
  * @remarks
14281
- * The ID of the request.
14953
+ * The request ID.
14282
14954
  *
14283
14955
  * @example
14284
14956
  * C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E
@@ -14286,7 +14958,7 @@ export class DescribeUnBlockCountResponseBody extends $tea.Model {
14286
14958
  requestId?: string;
14287
14959
  /**
14288
14960
  * @remarks
14289
- * The total quota that you can use the Diversion from Origin Server policy.
14961
+ * The total number of times that you can enable the near-origin traffic diversion feature.
14290
14962
  *
14291
14963
  * @example
14292
14964
  * 10
@@ -15751,39 +16423,63 @@ export class DescribeWebReportTopIpResponse extends $tea.Model {
15751
16423
 
15752
16424
  export class DescribeWebRulesRequest extends $tea.Model {
15753
16425
  /**
16426
+ * @remarks
16427
+ * The CNAME address to query.
16428
+ *
15754
16429
  * @example
15755
16430
  * kzmk7b8tt351****.aliyunddos1014****
15756
16431
  */
15757
16432
  cname?: string;
15758
16433
  /**
16434
+ * @remarks
16435
+ * The domain name of the website to query.
16436
+ *
16437
+ * > The domain must have been configured with website business forwarding rules. You can call [DescribeDomains](~~DescribeDomains~~) to query all domains that have been configured with website business forwarding rules.
16438
+ *
15759
16439
  * @example
15760
16440
  * example.com
15761
16441
  */
15762
16442
  domain?: string;
15763
16443
  /**
16444
+ * @remarks
16445
+ * The list of DDoS protection instance IDs to query.
16446
+ *
15764
16447
  * @example
15765
16448
  * ddoscoo-cn-mp91j1ao****
15766
16449
  */
15767
16450
  instanceIds?: string[];
15768
16451
  /**
16452
+ * @remarks
16453
+ * The page number. Default value: **1**.
16454
+ *
15769
16455
  * @example
15770
16456
  * 1
15771
16457
  */
15772
16458
  pageNumber?: number;
15773
16459
  /**
15774
16460
  * @remarks
15775
- * This parameter is required.
16461
+ * The number of entries per page. Valid values: **1** to **10**.
15776
16462
  *
15777
16463
  * @example
15778
16464
  * 10
15779
16465
  */
15780
16466
  pageSize?: number;
15781
16467
  /**
16468
+ * @remarks
16469
+ * The query matching pattern. Values:
16470
+ * - **fuzzy** (default): Indicates fuzzy query.
16471
+ * - **exact**: Indicates exact query.
16472
+ *
15782
16473
  * @example
15783
16474
  * exact
15784
16475
  */
15785
16476
  queryDomainPattern?: string;
15786
16477
  /**
16478
+ * @remarks
16479
+ * The resource group ID of the DDoS protection instance in the resource management service.
16480
+ *
16481
+ * Not setting this parameter indicates the default resource group.
16482
+ *
15787
16483
  * @example
15788
16484
  * rg-acfm2pz25js****
15789
16485
  */
@@ -15819,15 +16515,25 @@ export class DescribeWebRulesRequest extends $tea.Model {
15819
16515
 
15820
16516
  export class DescribeWebRulesResponseBody extends $tea.Model {
15821
16517
  /**
16518
+ * @remarks
16519
+ * The ID of the request.
16520
+ *
15822
16521
  * @example
15823
16522
  * 0F5B72DD-96F4-423A-B12B-A5151DD746B8
15824
16523
  */
15825
16524
  requestId?: string;
15826
16525
  /**
16526
+ * @remarks
16527
+ * The total number of queried website business forwarding rules.
16528
+ *
15827
16529
  * @example
15828
16530
  * 1
15829
16531
  */
15830
16532
  totalCount?: number;
16533
+ /**
16534
+ * @remarks
16535
+ * The configurations of the forwarding rule.
16536
+ */
15831
16537
  webRules?: DescribeWebRulesResponseBodyWebRules[];
15832
16538
  static names(): { [key: string]: string } {
15833
16539
  return {
@@ -17166,9 +17872,9 @@ export class ModifyBlockStatusRequest extends $tea.Model {
17166
17872
  duration?: number;
17167
17873
  /**
17168
17874
  * @remarks
17169
- * The ID of the Anti-DDoS Pro instance to manage.
17875
+ * The ID of the Anti-DDoS Proxy (Chinese Mainland) instance to manage.
17170
17876
  *
17171
- * > You can call the [DescribeInstanceIds](https://help.aliyun.com/document_detail/157459.html) operation to query the IDs of all instances.
17877
+ * > You can call the [DescribeInstanceIds](https://help.aliyun.com/document_detail/157459.html) operation to query the IDs of all Anti-DDoS Proxy instances.
17172
17878
  *
17173
17879
  * This parameter is required.
17174
17880
  *
@@ -18397,9 +19103,34 @@ export class ModifyInstanceRemarkResponse extends $tea.Model {
18397
19103
  export class ModifyNetworkRuleAttributeRequest extends $tea.Model {
18398
19104
  /**
18399
19105
  * @remarks
18400
- * The session persistence settings of the port forwarding rule. This parameter is a JSON string. The string contains the following fields:
19106
+ * The detailed settings of the port forwarding rule. This parameter is a JSON string and contains the following fields. The detailed settings of a TCP port forwarding rule contain the following fields.
19107
+ *
19108
+ * * **PersistenceTimeout**: the timeout period of session persistence. This field is required and of the integer type. Valid values: **30** to **3600**. Unit: seconds. Default value: **0**, which indicates that session persistence is disabled.
19109
+ * * **Synproxy**: specifies whether to enable the false source feature in the DDoS mitigation policy. This field is required and of the string type. Valid values: off and on.
19110
+ * * **NodataConn**: specifies whether to enable the empty connection feature in the DDoS mitigation policy. This field is required and of the string type. Valid values: off and on.
19111
+ * * **Sla**: the settings of the speed limit for destination feature. This field is required and of the struct type. For more information, see the following description about Sla.
19112
+ * * **Slimit**: the settings of the rate limit for source feature. This field is required and of the struct type. For more information, see the following description about Slimit.
19113
+ * * **PayloadLen**: the settings of the packet length limit feature. This field is required and of the struct type. For more information, see the following description about PayloadLen.
19114
+ *
19115
+ * Sla contains the following fields:
19116
+ *
19117
+ * * **Cps**: the destination rate limit on new connections in the DDoS mitigation policy. This field is required and of the integer type. Valid values: 100 to 100000.
19118
+ * * **Maxconn**: the destination rate limit on concurrent connections in the DDoS mitigation policy. This field is required and of the integer type. Valid values: 1000 to 1000000.
19119
+ * * **CpsEnable**: specifies whether to enable Cps. This field is required and of the integer type. Valid values: 0 and 1. Default value: 1. The value 0 indicates that Cps is disabled, and the value 1 indicates that Cps is enabled.
19120
+ * * **MaxconnEnable**: specifies whether to enable Maxconn. This field is required and of the integer type. Valid values: 0 and 1. Default value: 1. The value 0 indicates that Maxconn is disabled, and the value 1 indicates that Maxconn is enabled.
18401
19121
  *
18402
- * * **PersistenceTimeout**: The timeout period of session persistence. This field is required and must be of the integer type. Valid values: **30** to **3600**. Unit: seconds. Default value: **0**. A value of 0 indicates that session persistence is disabled.
19122
+ * Slimit contains the following fields:
19123
+ *
19124
+ * * **Cps**: the source rate limit on new connections in the DDoS mitigation policy. This field is required and of the integer type. Valid values: 1 to 50000.
19125
+ * * **Maxconn**: the source rate limit on concurrent connections in the DDoS mitigation policy. This field is required and of the integer type. Valid values: 1 to 50000.
19126
+ * * **CpsEnable**: specifies whether to enable Cps. This field is required and of the integer type. Valid values: 0 and 1. Default value: 1. The value 0 indicates that Cps is disabled, and the value 1 indicates that Cps is enabled.
19127
+ * * **MaxconnEnable**: specifies whether to enable Maxconn. This field is required and of the integer type. Valid values: 0 and 1. Default value: 1. The value 0 indicates that Maxconn is disabled, and the value 1 indicates that Maxconn is enabled.
19128
+ * * **CpsMode**: specifies whether to enable the source rate limit on new connections. This field is required and of the integer type. Valid values: 1 and 2. The value 1 indicates that the source rate limit is disabled. The value 2 indicates that the system determines whether to enable the source rate limit.
19129
+ *
19130
+ * PayloadLen contains the following fields:
19131
+ *
19132
+ * * **Min**: the minimum packet length in the DDoS mitigation policy. This field is required and of the integer type. Valid values: 0 to 1500.
19133
+ * * **Max**: the maximum packet length in the DDoS mitigation policy. This field is required and of the integer type. Valid values: 0 to 1500.
18403
19134
  *
18404
19135
  * This parameter is required.
18405
19136
  *
@@ -18468,7 +19199,7 @@ export class ModifyNetworkRuleAttributeRequest extends $tea.Model {
18468
19199
  export class ModifyNetworkRuleAttributeResponseBody extends $tea.Model {
18469
19200
  /**
18470
19201
  * @remarks
18471
- * The ID of the request.
19202
+ * The request ID.
18472
19203
  *
18473
19204
  * @example
18474
19205
  * 0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc
@@ -18632,7 +19363,7 @@ export class ModifyPortRequest extends $tea.Model {
18632
19363
  frontendPort?: string;
18633
19364
  /**
18634
19365
  * @remarks
18635
- * The type of the protocol. Valid values:
19366
+ * The type of the forwarding protocol. Valid values:
18636
19367
  *
18637
19368
  * * **tcp**
18638
19369
  * * **udp**
@@ -18805,7 +19536,7 @@ export class ModifyPortAutoCcStatusRequest extends $tea.Model {
18805
19536
  export class ModifyPortAutoCcStatusResponseBody extends $tea.Model {
18806
19537
  /**
18807
19538
  * @remarks
18808
- * The ID of the request.
19539
+ * The request ID.
18809
19540
  *
18810
19541
  * @example
18811
19542
  * 0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc
@@ -22472,6 +23203,80 @@ export class DescribeDomainAttackEventsResponseBodyDomainAttackEvents extends $t
22472
23203
  }
22473
23204
  }
22474
23205
 
23206
+ export class DescribeDomainBpsResponseBodyDomainBps extends $tea.Model {
23207
+ /**
23208
+ * @example
23209
+ * 0
23210
+ */
23211
+ inBps?: number;
23212
+ /**
23213
+ * @example
23214
+ * 1
23215
+ */
23216
+ index?: number;
23217
+ /**
23218
+ * @example
23219
+ * 0
23220
+ */
23221
+ outBps?: number;
23222
+ static names(): { [key: string]: string } {
23223
+ return {
23224
+ inBps: 'InBps',
23225
+ index: 'Index',
23226
+ outBps: 'OutBps',
23227
+ };
23228
+ }
23229
+
23230
+ static types(): { [key: string]: any } {
23231
+ return {
23232
+ inBps: 'number',
23233
+ index: 'number',
23234
+ outBps: 'number',
23235
+ };
23236
+ }
23237
+
23238
+ constructor(map?: { [key: string]: any }) {
23239
+ super(map);
23240
+ }
23241
+ }
23242
+
23243
+ export class DescribeDomainH2FingerprintResponseBodyDomainH2Fp extends $tea.Model {
23244
+ /**
23245
+ * @example
23246
+ * example.aliyundoc.com
23247
+ */
23248
+ domain?: string;
23249
+ /**
23250
+ * @example
23251
+ * 532501bc316d02c8b1a007db76f2c796
23252
+ */
23253
+ h2Fingerprint?: string;
23254
+ /**
23255
+ * @example
23256
+ * 471755
23257
+ */
23258
+ pv?: number;
23259
+ static names(): { [key: string]: string } {
23260
+ return {
23261
+ domain: 'Domain',
23262
+ h2Fingerprint: 'H2Fingerprint',
23263
+ pv: 'Pv',
23264
+ };
23265
+ }
23266
+
23267
+ static types(): { [key: string]: any } {
23268
+ return {
23269
+ domain: 'string',
23270
+ h2Fingerprint: 'string',
23271
+ pv: 'number',
23272
+ };
23273
+ }
23274
+
23275
+ constructor(map?: { [key: string]: any }) {
23276
+ super(map);
23277
+ }
23278
+ }
23279
+
22475
23280
  export class DescribeDomainQPSListResponseBodyDomainQPSList extends $tea.Model {
22476
23281
  /**
22477
23282
  * @remarks
@@ -23165,6 +23970,154 @@ export class DescribeDomainTopAttackListResponseBodyAttackList extends $tea.Mode
23165
23970
  }
23166
23971
  }
23167
23972
 
23973
+ export class DescribeDomainTopFingerprintResponseBodyDomainTopFp extends $tea.Model {
23974
+ /**
23975
+ * @example
23976
+ * example.aliyundoc.com
23977
+ */
23978
+ domain?: string;
23979
+ /**
23980
+ * @example
23981
+ * 8a374c9724582b14a4cfa58c8c9fb2bc
23982
+ */
23983
+ fingerprinting?: string;
23984
+ /**
23985
+ * @example
23986
+ * 22121
23987
+ */
23988
+ pv?: number;
23989
+ static names(): { [key: string]: string } {
23990
+ return {
23991
+ domain: 'Domain',
23992
+ fingerprinting: 'Fingerprinting',
23993
+ pv: 'Pv',
23994
+ };
23995
+ }
23996
+
23997
+ static types(): { [key: string]: any } {
23998
+ return {
23999
+ domain: 'string',
24000
+ fingerprinting: 'string',
24001
+ pv: 'number',
24002
+ };
24003
+ }
24004
+
24005
+ constructor(map?: { [key: string]: any }) {
24006
+ super(map);
24007
+ }
24008
+ }
24009
+
24010
+ export class DescribeDomainTopHttpMethodResponseBodyDomainTopMethod extends $tea.Model {
24011
+ /**
24012
+ * @example
24013
+ * example.aliyundoc.com
24014
+ */
24015
+ domain?: string;
24016
+ /**
24017
+ * @example
24018
+ * GET
24019
+ */
24020
+ httpMethod?: string;
24021
+ /**
24022
+ * @example
24023
+ * 22121
24024
+ */
24025
+ pv?: number;
24026
+ static names(): { [key: string]: string } {
24027
+ return {
24028
+ domain: 'Domain',
24029
+ httpMethod: 'HttpMethod',
24030
+ pv: 'Pv',
24031
+ };
24032
+ }
24033
+
24034
+ static types(): { [key: string]: any } {
24035
+ return {
24036
+ domain: 'string',
24037
+ httpMethod: 'string',
24038
+ pv: 'number',
24039
+ };
24040
+ }
24041
+
24042
+ constructor(map?: { [key: string]: any }) {
24043
+ super(map);
24044
+ }
24045
+ }
24046
+
24047
+ export class DescribeDomainTopRefererResponseBodyDomainTopReferer extends $tea.Model {
24048
+ /**
24049
+ * @example
24050
+ * example.aliyundoc.com
24051
+ */
24052
+ domain?: string;
24053
+ /**
24054
+ * @example
24055
+ * 257031
24056
+ */
24057
+ pv?: number;
24058
+ /**
24059
+ * @example
24060
+ * aHR0cHM6Ly9zZXJ2aWNld2VjaGF0LmNvbS93eGY3ZDc5YWY0YzU4ZDH3NTEvNC9wYWdlLWZyYW1lLmh0bWw=
24061
+ */
24062
+ referer?: string;
24063
+ static names(): { [key: string]: string } {
24064
+ return {
24065
+ domain: 'Domain',
24066
+ pv: 'Pv',
24067
+ referer: 'Referer',
24068
+ };
24069
+ }
24070
+
24071
+ static types(): { [key: string]: any } {
24072
+ return {
24073
+ domain: 'string',
24074
+ pv: 'number',
24075
+ referer: 'string',
24076
+ };
24077
+ }
24078
+
24079
+ constructor(map?: { [key: string]: any }) {
24080
+ super(map);
24081
+ }
24082
+ }
24083
+
24084
+ export class DescribeDomainTopUserAgentResponseBodyDomainTopUa extends $tea.Model {
24085
+ /**
24086
+ * @example
24087
+ * www.example.com
24088
+ */
24089
+ domain?: string;
24090
+ /**
24091
+ * @example
24092
+ * 22121
24093
+ */
24094
+ pv?: number;
24095
+ /**
24096
+ * @example
24097
+ * TW96aWxsYS81LjAgKFgxMTsgTGludXggeDg2XzY0KSBBcHBsZVdlYktpdC81MzcuMzYgKEtIVE1MLCBsaWtlIEdlY2tvKSBDaHJvbWUvOTYuMC40NjY0LjExMCACYWZhcmkvNTM3LjM2
24098
+ */
24099
+ userAgent?: string;
24100
+ static names(): { [key: string]: string } {
24101
+ return {
24102
+ domain: 'Domain',
24103
+ pv: 'Pv',
24104
+ userAgent: 'UserAgent',
24105
+ };
24106
+ }
24107
+
24108
+ static types(): { [key: string]: any } {
24109
+ return {
24110
+ domain: 'string',
24111
+ pv: 'number',
24112
+ userAgent: 'string',
24113
+ };
24114
+ }
24115
+
24116
+ constructor(map?: { [key: string]: any }) {
24117
+ super(map);
24118
+ }
24119
+ }
24120
+
23168
24121
  export class DescribeDomainViewSourceCountriesResponseBodySourceCountrys extends $tea.Model {
23169
24122
  /**
23170
24123
  * @remarks
@@ -23586,7 +24539,7 @@ export class DescribeHealthCheckListResponseBodyHealthCheckListHealthCheck exten
23586
24539
  * @remarks
23587
24540
  * The domain name.
23588
24541
  *
23589
- * > This parameter is returned only when the Layer 7 health check configuration is queried.
24542
+ * > This parameter is returned only when the Layer 7 health check configuration is queried.
23590
24543
  *
23591
24544
  * @example
23592
24545
  * www.aliyun.com
@@ -23647,7 +24600,7 @@ export class DescribeHealthCheckListResponseBodyHealthCheckListHealthCheck exten
23647
24600
  * @remarks
23648
24601
  * The check path.
23649
24602
  *
23650
- * > This parameter is returned only when the Layer 7 health check configuration is queried.
24603
+ * > This parameter is returned only when the Layer 7 health check configuration is queried.
23651
24604
  *
23652
24605
  * @example
23653
24606
  * /abc
@@ -27236,6 +28189,13 @@ export class DescribeWebCCRulesV2ResponseBodyWebCCRulesRuleDetailCondition exten
27236
28189
  * 192.0.XX.XX
27237
28190
  */
27238
28191
  content?: string;
28192
+ /**
28193
+ * @remarks
28194
+ * The match content when the match method is Equals to One of Multiple Values.
28195
+ *
28196
+ * @example
28197
+ * ["2","3","ad"]
28198
+ */
27239
28199
  contentList?: string;
27240
28200
  /**
27241
28201
  * @remarks
@@ -28279,16 +29239,31 @@ export class DescribeWebReportTopIpResponseBodyDataList extends $tea.Model {
28279
29239
 
28280
29240
  export class DescribeWebRulesResponseBodyWebRulesGmCert extends $tea.Model {
28281
29241
  /**
29242
+ * @remarks
29243
+ * The ID of the SM certificate.
29244
+ *
28282
29245
  * @example
28283
29246
  * 725****
28284
29247
  */
28285
29248
  certId?: string;
28286
29249
  /**
29250
+ * @remarks
29251
+ * Indicates whether Enable SM Certificate-based Verification is turned on.
29252
+ *
29253
+ * * 0: no
29254
+ * * 1: yes
29255
+ *
28287
29256
  * @example
28288
29257
  * 1
28289
29258
  */
28290
29259
  gmEnable?: number;
28291
29260
  /**
29261
+ * @remarks
29262
+ * Indicates whether Allow Access Only from SM Certificates-based Clients is turned on.
29263
+ *
29264
+ * * 0: no
29265
+ * * 1: yes
29266
+ *
28292
29267
  * @example
28293
29268
  * 1
28294
29269
  */
@@ -28315,8 +29290,20 @@ export class DescribeWebRulesResponseBodyWebRulesGmCert extends $tea.Model {
28315
29290
  }
28316
29291
 
28317
29292
  export class DescribeWebRulesResponseBodyWebRulesProxyTypes extends $tea.Model {
29293
+ /**
29294
+ * @remarks
29295
+ * The ports.
29296
+ */
28318
29297
  proxyPorts?: string[];
28319
29298
  /**
29299
+ * @remarks
29300
+ * The type of the protocol. Valid values:
29301
+ *
29302
+ * * **http**
29303
+ * * **https**
29304
+ * * **websocket**
29305
+ * * **websockets**
29306
+ *
28320
29307
  * @example
28321
29308
  * https
28322
29309
  */
@@ -28342,11 +29329,20 @@ export class DescribeWebRulesResponseBodyWebRulesProxyTypes extends $tea.Model {
28342
29329
 
28343
29330
  export class DescribeWebRulesResponseBodyWebRulesRealServers extends $tea.Model {
28344
29331
  /**
29332
+ * @remarks
29333
+ * The address of the origin server.
29334
+ *
28345
29335
  * @example
28346
29336
  * 192.0.XX.XX
28347
29337
  */
28348
29338
  realServer?: string;
28349
29339
  /**
29340
+ * @remarks
29341
+ * The type of the origin server address. Valid values:
29342
+ *
29343
+ * * **0**: IP address
29344
+ * * **1**: domain name The domain name of the origin server is returned if you deploy proxies, such as Web Application Firewall (WAF), between the origin server and the instance. In this case, the address of the proxy, such as the CNAME provided by WAF, is returned.
29345
+ *
28350
29346
  * @example
28351
29347
  * 0
28352
29348
  */
@@ -28371,97 +29367,239 @@ export class DescribeWebRulesResponseBodyWebRulesRealServers extends $tea.Model
28371
29367
  }
28372
29368
 
28373
29369
  export class DescribeWebRulesResponseBodyWebRules extends $tea.Model {
29370
+ /**
29371
+ * @remarks
29372
+ * The IP addresses in the blacklist for the domain name.
29373
+ */
28374
29374
  blackList?: string[];
28375
29375
  /**
29376
+ * @remarks
29377
+ * Indicates whether the Frequency Control policy is enabled. Valid values:
29378
+ *
29379
+ * * **true**
29380
+ * * **false**
29381
+ *
28376
29382
  * @example
28377
29383
  * true
28378
29384
  */
28379
29385
  ccEnabled?: boolean;
28380
29386
  /**
29387
+ * @remarks
29388
+ * Indicates whether the Custom Rule switch of the Frequency Control policy is turned on. Valid values:
29389
+ *
29390
+ * * **true**
29391
+ * * **false**
29392
+ *
28381
29393
  * @example
28382
29394
  * false
28383
29395
  */
28384
29396
  ccRuleEnabled?: boolean;
28385
29397
  /**
29398
+ * @remarks
29399
+ * The mode of the Frequency Control policy. Valid values:
29400
+ *
29401
+ * * **default**: the Normal mode
29402
+ * * **gf_under_attack**: the Emergency mode
29403
+ * * **gf_sos_verify**: the Strict mode
29404
+ * * **gf_sos_verify**: the Super Strict mode
29405
+ *
28386
29406
  * @example
28387
29407
  * default
28388
29408
  */
28389
29409
  ccTemplate?: string;
28390
29410
  /**
29411
+ * @remarks
29412
+ * The name of the SSL certificate.
29413
+ *
28391
29414
  * @example
28392
29415
  * testcert
28393
29416
  */
28394
29417
  certName?: string;
29418
+ /**
29419
+ * @remarks
29420
+ * The region where the certificate is used. Valid values:
29421
+ *
29422
+ * * cn-hangzhou (default): the Chinese mainland
29423
+ * * ap-southeast-1: outside the Chinese mainland
29424
+ *
29425
+ * @example
29426
+ * cn-hangzhou
29427
+ */
28395
29428
  certRegion?: string;
28396
29429
  /**
29430
+ * @remarks
29431
+ * The CNAME provided by the Anti-DDoS Pro or Anti-DDoS Premium instance to which the domain name is added.
29432
+ *
28397
29433
  * @example
28398
29434
  * kzmk7b8tt351****.aliyunddos1014****
28399
29435
  */
28400
29436
  cname?: string;
29437
+ /**
29438
+ * @remarks
29439
+ * The custom cipher suites.
29440
+ */
28401
29441
  customCiphers?: string[];
28402
29442
  /**
29443
+ * @remarks
29444
+ * The domain name of the website.
29445
+ *
28403
29446
  * @example
28404
29447
  * example.com
28405
29448
  */
28406
29449
  domain?: string;
29450
+ /**
29451
+ * @remarks
29452
+ * The SM certificate settings.
29453
+ */
28407
29454
  gmCert?: DescribeWebRulesResponseBodyWebRulesGmCert;
28408
29455
  /**
29456
+ * @remarks
29457
+ * Indicates whether Enable HTTP/2 is turned on. Valid values:
29458
+ *
29459
+ * * **true**
29460
+ * * **false**
29461
+ *
28409
29462
  * @example
28410
29463
  * true
28411
29464
  */
28412
29465
  http2Enable?: boolean;
28413
29466
  /**
29467
+ * @remarks
29468
+ * Indicates whether Enable HTTPS Redirection was turned on. Valid values:
29469
+ *
29470
+ * * **true**
29471
+ * * **false**
29472
+ *
28414
29473
  * @example
28415
29474
  * true
28416
29475
  */
28417
29476
  http2HttpsEnable?: boolean;
28418
29477
  /**
29478
+ * @remarks
29479
+ * Indicates whether Enable HTTP Redirection of Back-to-origin Requests is turned on. Valid values:
29480
+ *
29481
+ * * **true**
29482
+ * * **false**
29483
+ *
28419
29484
  * @example
28420
29485
  * true
28421
29486
  */
28422
29487
  https2HttpEnable?: boolean;
28423
29488
  /**
29489
+ * @remarks
29490
+ * Indicates whether the Online Certificate Status Protocol (OCSP) feature is enabled. Valid values:
29491
+ *
29492
+ * * **true**
29493
+ * * **false**
29494
+ *
28424
29495
  * @example
28425
29496
  * false
28426
29497
  */
28427
29498
  ocspEnabled?: boolean;
28428
29499
  /**
29500
+ * @remarks
29501
+ * The load balancing algorithm for back-to-origin traffic. Valid values:
29502
+ *
29503
+ * * **ip_hash**: the IP hash algorithm. This algorithm is used to redirect the requests from the same IP address to the same origin server.
29504
+ * * **rr**: the round-robin algorithm. This algorithm is used to redirect requests to origin servers in turn.
29505
+ * * **least_time**: the least response time algorithm. This algorithm is used to minimize the latency when requests are forwarded from Anti-DDoS Pro or Anti-DDoS Premium instances to origin servers based on the intelligent DNS resolution feature.
29506
+ *
28429
29507
  * @example
28430
29508
  * ip_hash
28431
29509
  */
28432
29510
  policyMode?: string;
28433
29511
  /**
29512
+ * @remarks
29513
+ * Indicates whether the forwarding rule is enabled. Valid values:
29514
+ *
29515
+ * * **true**
29516
+ * * **false**
29517
+ *
28434
29518
  * @example
28435
29519
  * true
28436
29520
  */
28437
29521
  proxyEnabled?: boolean;
29522
+ /**
29523
+ * @remarks
29524
+ * The details of the protocol type and port number.
29525
+ */
28438
29526
  proxyTypes?: DescribeWebRulesResponseBodyWebRulesProxyTypes[];
28439
29527
  /**
29528
+ * @remarks
29529
+ * The reason why the domain name is invalid. Valid values:
29530
+ *
29531
+ * * **1**: No Content Provider (ICP) filing is completed for the domain name.
29532
+ * * **2**: The business for which you registered the domain name does not meet regulatory requirements.
29533
+ *
29534
+ * If the two reasons are both involved, the value **2** is returned.
29535
+ *
28440
29536
  * @example
28441
29537
  * 1
28442
29538
  */
28443
29539
  punishReason?: number;
28444
29540
  /**
29541
+ * @remarks
29542
+ * Indicates whether the domain name is invalid. Valid values:
29543
+ *
29544
+ * * **true**: You can view the specific reasons from the **PunishReason** parameter.
29545
+ * * **false**
29546
+ *
28445
29547
  * @example
28446
29548
  * true
28447
29549
  */
28448
29550
  punishStatus?: boolean;
29551
+ /**
29552
+ * @remarks
29553
+ * The details of the origin server address.
29554
+ */
28449
29555
  realServers?: DescribeWebRulesResponseBodyWebRulesRealServers[];
28450
29556
  /**
29557
+ * @remarks
29558
+ * Indicates whether TLS 1.3 is supported. Valid values:
29559
+ *
29560
+ * * **true**
29561
+ * * **false**
29562
+ *
28451
29563
  * @example
28452
29564
  * false
28453
29565
  */
28454
29566
  ssl13Enabled?: boolean;
28455
29567
  /**
29568
+ * @remarks
29569
+ * The type of the cipher suite. Valid values:
29570
+ *
29571
+ * * **default**: custom cipher suites
29572
+ * * **all**: all cipher suites, which contain strong and weak cipher suites
29573
+ * * **strong**: strong cipher suites
29574
+ *
28456
29575
  * @example
28457
29576
  * default
28458
29577
  */
28459
29578
  sslCiphers?: string;
28460
29579
  /**
29580
+ * @remarks
29581
+ * The version of the Transport Layer Security (TLS) protocol. Valid values:
29582
+ *
29583
+ * * **tls1.0**: TLS 1.0 or later
29584
+ * * **tls1.1**: TLS 1.1 or later
29585
+ * * **tls1.2**: TLS 1.2 or later
29586
+ *
28461
29587
  * @example
28462
29588
  * tls1.1
28463
29589
  */
28464
29590
  sslProtocols?: string;
29591
+ /**
29592
+ * @remarks
29593
+ * The name of the certificate uploaded by the user to the certificate center.
29594
+ *
29595
+ * @example
29596
+ * test
29597
+ */
29598
+ userCertName?: string;
29599
+ /**
29600
+ * @remarks
29601
+ * The IP addresses in the whitelist for the domain name.
29602
+ */
28465
29603
  whiteList?: string[];
28466
29604
  static names(): { [key: string]: string } {
28467
29605
  return {
@@ -28488,6 +29626,7 @@ export class DescribeWebRulesResponseBodyWebRules extends $tea.Model {
28488
29626
  ssl13Enabled: 'Ssl13Enabled',
28489
29627
  sslCiphers: 'SslCiphers',
28490
29628
  sslProtocols: 'SslProtocols',
29629
+ userCertName: 'UserCertName',
28491
29630
  whiteList: 'WhiteList',
28492
29631
  };
28493
29632
  }
@@ -28517,6 +29656,7 @@ export class DescribeWebRulesResponseBodyWebRules extends $tea.Model {
28517
29656
  ssl13Enabled: 'boolean',
28518
29657
  sslCiphers: 'string',
28519
29658
  sslProtocols: 'string',
29659
+ userCertName: 'string',
28520
29660
  whiteList: { 'type': 'array', 'itemType': 'string' },
28521
29661
  };
28522
29662
  }
@@ -28706,11 +29846,6 @@ export default class Client extends OpenApi {
28706
29846
  */
28707
29847
  async associateWebCertWithOptions(request: AssociateWebCertRequest, runtime: $Util.RuntimeOptions): Promise<AssociateWebCertResponse> {
28708
29848
  Util.validateModel(request);
28709
- let query = { };
28710
- if (!Util.isUnset(request.resourceGroupId)) {
28711
- query["ResourceGroupId"] = request.resourceGroupId;
28712
- }
28713
-
28714
29849
  let body : {[key: string ]: any} = { };
28715
29850
  if (!Util.isUnset(request.cert)) {
28716
29851
  body["Cert"] = request.cert;
@@ -28741,7 +29876,6 @@ export default class Client extends OpenApi {
28741
29876
  }
28742
29877
 
28743
29878
  let req = new $OpenApi.OpenApiRequest({
28744
- query: OpenApiUtil.query(query),
28745
29879
  body: OpenApiUtil.parseToMap(body),
28746
29880
  });
28747
29881
  let params = new $OpenApi.Params({
@@ -31720,7 +32854,130 @@ export default class Client extends OpenApi {
31720
32854
  query: OpenApiUtil.query(query),
31721
32855
  });
31722
32856
  let params = new $OpenApi.Params({
31723
- action: "DescribeDefenseRecords",
32857
+ action: "DescribeDefenseRecords",
32858
+ version: "2020-01-01",
32859
+ protocol: "HTTPS",
32860
+ pathname: "/",
32861
+ method: "POST",
32862
+ authType: "AK",
32863
+ style: "RPC",
32864
+ reqBodyType: "formData",
32865
+ bodyType: "json",
32866
+ });
32867
+ return $tea.cast<DescribeDefenseRecordsResponse>(await this.callApi(params, req, runtime), new DescribeDefenseRecordsResponse({}));
32868
+ }
32869
+
32870
+ /**
32871
+ * Queries the advanced mitigation logs of Anti-DDoS Premium.
32872
+ *
32873
+ * @remarks
32874
+ * > This operation is suitable only for Anti-DDoS Premium.
32875
+ *
32876
+ * @param request - DescribeDefenseRecordsRequest
32877
+ * @returns DescribeDefenseRecordsResponse
32878
+ */
32879
+ async describeDefenseRecords(request: DescribeDefenseRecordsRequest): Promise<DescribeDefenseRecordsResponse> {
32880
+ let runtime = new $Util.RuntimeOptions({ });
32881
+ return await this.describeDefenseRecordsWithOptions(request, runtime);
32882
+ }
32883
+
32884
+ /**
32885
+ * Queries the number of request packets received by the destination ports of the attacked IP address that is protected by Anti-DDoS Proxy.
32886
+ *
32887
+ * @param request - DescribeDestinationPortEventRequest
32888
+ * @param runtime - runtime options for this request RuntimeOptions
32889
+ * @returns DescribeDestinationPortEventResponse
32890
+ */
32891
+ async describeDestinationPortEventWithOptions(request: DescribeDestinationPortEventRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDestinationPortEventResponse> {
32892
+ Util.validateModel(request);
32893
+ let query = { };
32894
+ if (!Util.isUnset(request.eventType)) {
32895
+ query["EventType"] = request.eventType;
32896
+ }
32897
+
32898
+ if (!Util.isUnset(request.ip)) {
32899
+ query["Ip"] = request.ip;
32900
+ }
32901
+
32902
+ if (!Util.isUnset(request.range)) {
32903
+ query["Range"] = request.range;
32904
+ }
32905
+
32906
+ if (!Util.isUnset(request.region)) {
32907
+ query["Region"] = request.region;
32908
+ }
32909
+
32910
+ if (!Util.isUnset(request.startTime)) {
32911
+ query["StartTime"] = request.startTime;
32912
+ }
32913
+
32914
+ let req = new $OpenApi.OpenApiRequest({
32915
+ query: OpenApiUtil.query(query),
32916
+ });
32917
+ let params = new $OpenApi.Params({
32918
+ action: "DescribeDestinationPortEvent",
32919
+ version: "2020-01-01",
32920
+ protocol: "HTTPS",
32921
+ pathname: "/",
32922
+ method: "POST",
32923
+ authType: "AK",
32924
+ style: "RPC",
32925
+ reqBodyType: "formData",
32926
+ bodyType: "json",
32927
+ });
32928
+ return $tea.cast<DescribeDestinationPortEventResponse>(await this.callApi(params, req, runtime), new DescribeDestinationPortEventResponse({}));
32929
+ }
32930
+
32931
+ /**
32932
+ * Queries the number of request packets received by the destination ports of the attacked IP address that is protected by Anti-DDoS Proxy.
32933
+ *
32934
+ * @param request - DescribeDestinationPortEventRequest
32935
+ * @returns DescribeDestinationPortEventResponse
32936
+ */
32937
+ async describeDestinationPortEvent(request: DescribeDestinationPortEventRequest): Promise<DescribeDestinationPortEventResponse> {
32938
+ let runtime = new $Util.RuntimeOptions({ });
32939
+ return await this.describeDestinationPortEventWithOptions(request, runtime);
32940
+ }
32941
+
32942
+ /**
32943
+ * Queries the attack events launched against a website.
32944
+ *
32945
+ * @param request - DescribeDomainAttackEventsRequest
32946
+ * @param runtime - runtime options for this request RuntimeOptions
32947
+ * @returns DescribeDomainAttackEventsResponse
32948
+ */
32949
+ async describeDomainAttackEventsWithOptions(request: DescribeDomainAttackEventsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDomainAttackEventsResponse> {
32950
+ Util.validateModel(request);
32951
+ let query = { };
32952
+ if (!Util.isUnset(request.domain)) {
32953
+ query["Domain"] = request.domain;
32954
+ }
32955
+
32956
+ if (!Util.isUnset(request.endTime)) {
32957
+ query["EndTime"] = request.endTime;
32958
+ }
32959
+
32960
+ if (!Util.isUnset(request.pageNumber)) {
32961
+ query["PageNumber"] = request.pageNumber;
32962
+ }
32963
+
32964
+ if (!Util.isUnset(request.pageSize)) {
32965
+ query["PageSize"] = request.pageSize;
32966
+ }
32967
+
32968
+ if (!Util.isUnset(request.resourceGroupId)) {
32969
+ query["ResourceGroupId"] = request.resourceGroupId;
32970
+ }
32971
+
32972
+ if (!Util.isUnset(request.startTime)) {
32973
+ query["StartTime"] = request.startTime;
32974
+ }
32975
+
32976
+ let req = new $OpenApi.OpenApiRequest({
32977
+ query: OpenApiUtil.query(query),
32978
+ });
32979
+ let params = new $OpenApi.Params({
32980
+ action: "DescribeDomainAttackEvents",
31724
32981
  version: "2020-01-01",
31725
32982
  protocol: "HTTPS",
31726
32983
  pathname: "/",
@@ -31730,43 +32987,40 @@ export default class Client extends OpenApi {
31730
32987
  reqBodyType: "formData",
31731
32988
  bodyType: "json",
31732
32989
  });
31733
- return $tea.cast<DescribeDefenseRecordsResponse>(await this.callApi(params, req, runtime), new DescribeDefenseRecordsResponse({}));
32990
+ return $tea.cast<DescribeDomainAttackEventsResponse>(await this.callApi(params, req, runtime), new DescribeDomainAttackEventsResponse({}));
31734
32991
  }
31735
32992
 
31736
32993
  /**
31737
- * Queries the advanced mitigation logs of Anti-DDoS Premium.
31738
- *
31739
- * @remarks
31740
- * > This operation is suitable only for Anti-DDoS Premium.
32994
+ * Queries the attack events launched against a website.
31741
32995
  *
31742
- * @param request - DescribeDefenseRecordsRequest
31743
- * @returns DescribeDefenseRecordsResponse
32996
+ * @param request - DescribeDomainAttackEventsRequest
32997
+ * @returns DescribeDomainAttackEventsResponse
31744
32998
  */
31745
- async describeDefenseRecords(request: DescribeDefenseRecordsRequest): Promise<DescribeDefenseRecordsResponse> {
32999
+ async describeDomainAttackEvents(request: DescribeDomainAttackEventsRequest): Promise<DescribeDomainAttackEventsResponse> {
31746
33000
  let runtime = new $Util.RuntimeOptions({ });
31747
- return await this.describeDefenseRecordsWithOptions(request, runtime);
33001
+ return await this.describeDomainAttackEventsWithOptions(request, runtime);
31748
33002
  }
31749
33003
 
31750
33004
  /**
31751
- * Queries the number of request packets received by the destination ports of the attacked IP address that is protected by Anti-DDoS Proxy.
33005
+ * 查询域名业务带宽流量
31752
33006
  *
31753
- * @param request - DescribeDestinationPortEventRequest
33007
+ * @param request - DescribeDomainBpsRequest
31754
33008
  * @param runtime - runtime options for this request RuntimeOptions
31755
- * @returns DescribeDestinationPortEventResponse
33009
+ * @returns DescribeDomainBpsResponse
31756
33010
  */
31757
- async describeDestinationPortEventWithOptions(request: DescribeDestinationPortEventRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDestinationPortEventResponse> {
33011
+ async describeDomainBpsWithOptions(request: DescribeDomainBpsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDomainBpsResponse> {
31758
33012
  Util.validateModel(request);
31759
33013
  let query = { };
31760
- if (!Util.isUnset(request.eventType)) {
31761
- query["EventType"] = request.eventType;
33014
+ if (!Util.isUnset(request.domain)) {
33015
+ query["Domain"] = request.domain;
31762
33016
  }
31763
33017
 
31764
- if (!Util.isUnset(request.ip)) {
31765
- query["Ip"] = request.ip;
33018
+ if (!Util.isUnset(request.endTime)) {
33019
+ query["EndTime"] = request.endTime;
31766
33020
  }
31767
33021
 
31768
- if (!Util.isUnset(request.range)) {
31769
- query["Range"] = request.range;
33022
+ if (!Util.isUnset(request.interval)) {
33023
+ query["Interval"] = request.interval;
31770
33024
  }
31771
33025
 
31772
33026
  if (!Util.isUnset(request.region)) {
@@ -31781,7 +33035,7 @@ export default class Client extends OpenApi {
31781
33035
  query: OpenApiUtil.query(query),
31782
33036
  });
31783
33037
  let params = new $OpenApi.Params({
31784
- action: "DescribeDestinationPortEvent",
33038
+ action: "DescribeDomainBps",
31785
33039
  version: "2020-01-01",
31786
33040
  protocol: "HTTPS",
31787
33041
  pathname: "/",
@@ -31791,28 +33045,28 @@ export default class Client extends OpenApi {
31791
33045
  reqBodyType: "formData",
31792
33046
  bodyType: "json",
31793
33047
  });
31794
- return $tea.cast<DescribeDestinationPortEventResponse>(await this.callApi(params, req, runtime), new DescribeDestinationPortEventResponse({}));
33048
+ return $tea.cast<DescribeDomainBpsResponse>(await this.callApi(params, req, runtime), new DescribeDomainBpsResponse({}));
31795
33049
  }
31796
33050
 
31797
33051
  /**
31798
- * Queries the number of request packets received by the destination ports of the attacked IP address that is protected by Anti-DDoS Proxy.
33052
+ * 查询域名业务带宽流量
31799
33053
  *
31800
- * @param request - DescribeDestinationPortEventRequest
31801
- * @returns DescribeDestinationPortEventResponse
33054
+ * @param request - DescribeDomainBpsRequest
33055
+ * @returns DescribeDomainBpsResponse
31802
33056
  */
31803
- async describeDestinationPortEvent(request: DescribeDestinationPortEventRequest): Promise<DescribeDestinationPortEventResponse> {
33057
+ async describeDomainBps(request: DescribeDomainBpsRequest): Promise<DescribeDomainBpsResponse> {
31804
33058
  let runtime = new $Util.RuntimeOptions({ });
31805
- return await this.describeDestinationPortEventWithOptions(request, runtime);
33059
+ return await this.describeDomainBpsWithOptions(request, runtime);
31806
33060
  }
31807
33061
 
31808
33062
  /**
31809
- * Queries the attack events launched against a website.
33063
+ * 查询HTTP2指纹
31810
33064
  *
31811
- * @param request - DescribeDomainAttackEventsRequest
33065
+ * @param request - DescribeDomainH2FingerprintRequest
31812
33066
  * @param runtime - runtime options for this request RuntimeOptions
31813
- * @returns DescribeDomainAttackEventsResponse
33067
+ * @returns DescribeDomainH2FingerprintResponse
31814
33068
  */
31815
- async describeDomainAttackEventsWithOptions(request: DescribeDomainAttackEventsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDomainAttackEventsResponse> {
33069
+ async describeDomainH2FingerprintWithOptions(request: DescribeDomainH2FingerprintRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDomainH2FingerprintResponse> {
31816
33070
  Util.validateModel(request);
31817
33071
  let query = { };
31818
33072
  if (!Util.isUnset(request.domain)) {
@@ -31823,16 +33077,8 @@ export default class Client extends OpenApi {
31823
33077
  query["EndTime"] = request.endTime;
31824
33078
  }
31825
33079
 
31826
- if (!Util.isUnset(request.pageNumber)) {
31827
- query["PageNumber"] = request.pageNumber;
31828
- }
31829
-
31830
- if (!Util.isUnset(request.pageSize)) {
31831
- query["PageSize"] = request.pageSize;
31832
- }
31833
-
31834
- if (!Util.isUnset(request.resourceGroupId)) {
31835
- query["ResourceGroupId"] = request.resourceGroupId;
33080
+ if (!Util.isUnset(request.limit)) {
33081
+ query["Limit"] = request.limit;
31836
33082
  }
31837
33083
 
31838
33084
  if (!Util.isUnset(request.startTime)) {
@@ -31843,7 +33089,7 @@ export default class Client extends OpenApi {
31843
33089
  query: OpenApiUtil.query(query),
31844
33090
  });
31845
33091
  let params = new $OpenApi.Params({
31846
- action: "DescribeDomainAttackEvents",
33092
+ action: "DescribeDomainH2Fingerprint",
31847
33093
  version: "2020-01-01",
31848
33094
  protocol: "HTTPS",
31849
33095
  pathname: "/",
@@ -31853,18 +33099,18 @@ export default class Client extends OpenApi {
31853
33099
  reqBodyType: "formData",
31854
33100
  bodyType: "json",
31855
33101
  });
31856
- return $tea.cast<DescribeDomainAttackEventsResponse>(await this.callApi(params, req, runtime), new DescribeDomainAttackEventsResponse({}));
33102
+ return $tea.cast<DescribeDomainH2FingerprintResponse>(await this.callApi(params, req, runtime), new DescribeDomainH2FingerprintResponse({}));
31857
33103
  }
31858
33104
 
31859
33105
  /**
31860
- * Queries the attack events launched against a website.
33106
+ * 查询HTTP2指纹
31861
33107
  *
31862
- * @param request - DescribeDomainAttackEventsRequest
31863
- * @returns DescribeDomainAttackEventsResponse
33108
+ * @param request - DescribeDomainH2FingerprintRequest
33109
+ * @returns DescribeDomainH2FingerprintResponse
31864
33110
  */
31865
- async describeDomainAttackEvents(request: DescribeDomainAttackEventsRequest): Promise<DescribeDomainAttackEventsResponse> {
33111
+ async describeDomainH2Fingerprint(request: DescribeDomainH2FingerprintRequest): Promise<DescribeDomainH2FingerprintResponse> {
31866
33112
  let runtime = new $Util.RuntimeOptions({ });
31867
- return await this.describeDomainAttackEventsWithOptions(request, runtime);
33113
+ return await this.describeDomainH2FingerprintWithOptions(request, runtime);
31868
33114
  }
31869
33115
 
31870
33116
  /**
@@ -32257,6 +33503,242 @@ export default class Client extends OpenApi {
32257
33503
  return await this.describeDomainTopAttackListWithOptions(request, runtime);
32258
33504
  }
32259
33505
 
33506
+ /**
33507
+ * 查询域名 top fingerprint
33508
+ *
33509
+ * @param request - DescribeDomainTopFingerprintRequest
33510
+ * @param runtime - runtime options for this request RuntimeOptions
33511
+ * @returns DescribeDomainTopFingerprintResponse
33512
+ */
33513
+ async describeDomainTopFingerprintWithOptions(request: DescribeDomainTopFingerprintRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDomainTopFingerprintResponse> {
33514
+ Util.validateModel(request);
33515
+ let query = { };
33516
+ if (!Util.isUnset(request.domain)) {
33517
+ query["Domain"] = request.domain;
33518
+ }
33519
+
33520
+ if (!Util.isUnset(request.endTime)) {
33521
+ query["EndTime"] = request.endTime;
33522
+ }
33523
+
33524
+ if (!Util.isUnset(request.interval)) {
33525
+ query["Interval"] = request.interval;
33526
+ }
33527
+
33528
+ if (!Util.isUnset(request.limit)) {
33529
+ query["Limit"] = request.limit;
33530
+ }
33531
+
33532
+ if (!Util.isUnset(request.region)) {
33533
+ query["Region"] = request.region;
33534
+ }
33535
+
33536
+ if (!Util.isUnset(request.startTime)) {
33537
+ query["StartTime"] = request.startTime;
33538
+ }
33539
+
33540
+ let req = new $OpenApi.OpenApiRequest({
33541
+ query: OpenApiUtil.query(query),
33542
+ });
33543
+ let params = new $OpenApi.Params({
33544
+ action: "DescribeDomainTopFingerprint",
33545
+ version: "2020-01-01",
33546
+ protocol: "HTTPS",
33547
+ pathname: "/",
33548
+ method: "POST",
33549
+ authType: "AK",
33550
+ style: "RPC",
33551
+ reqBodyType: "formData",
33552
+ bodyType: "json",
33553
+ });
33554
+ return $tea.cast<DescribeDomainTopFingerprintResponse>(await this.callApi(params, req, runtime), new DescribeDomainTopFingerprintResponse({}));
33555
+ }
33556
+
33557
+ /**
33558
+ * 查询域名 top fingerprint
33559
+ *
33560
+ * @param request - DescribeDomainTopFingerprintRequest
33561
+ * @returns DescribeDomainTopFingerprintResponse
33562
+ */
33563
+ async describeDomainTopFingerprint(request: DescribeDomainTopFingerprintRequest): Promise<DescribeDomainTopFingerprintResponse> {
33564
+ let runtime = new $Util.RuntimeOptions({ });
33565
+ return await this.describeDomainTopFingerprintWithOptions(request, runtime);
33566
+ }
33567
+
33568
+ /**
33569
+ * 查询域名 top HttpMethod
33570
+ *
33571
+ * @param request - DescribeDomainTopHttpMethodRequest
33572
+ * @param runtime - runtime options for this request RuntimeOptions
33573
+ * @returns DescribeDomainTopHttpMethodResponse
33574
+ */
33575
+ async describeDomainTopHttpMethodWithOptions(request: DescribeDomainTopHttpMethodRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDomainTopHttpMethodResponse> {
33576
+ Util.validateModel(request);
33577
+ let query = { };
33578
+ if (!Util.isUnset(request.domain)) {
33579
+ query["Domain"] = request.domain;
33580
+ }
33581
+
33582
+ if (!Util.isUnset(request.endTime)) {
33583
+ query["EndTime"] = request.endTime;
33584
+ }
33585
+
33586
+ if (!Util.isUnset(request.limit)) {
33587
+ query["Limit"] = request.limit;
33588
+ }
33589
+
33590
+ if (!Util.isUnset(request.region)) {
33591
+ query["Region"] = request.region;
33592
+ }
33593
+
33594
+ if (!Util.isUnset(request.startTime)) {
33595
+ query["StartTime"] = request.startTime;
33596
+ }
33597
+
33598
+ let req = new $OpenApi.OpenApiRequest({
33599
+ query: OpenApiUtil.query(query),
33600
+ });
33601
+ let params = new $OpenApi.Params({
33602
+ action: "DescribeDomainTopHttpMethod",
33603
+ version: "2020-01-01",
33604
+ protocol: "HTTPS",
33605
+ pathname: "/",
33606
+ method: "POST",
33607
+ authType: "AK",
33608
+ style: "RPC",
33609
+ reqBodyType: "formData",
33610
+ bodyType: "json",
33611
+ });
33612
+ return $tea.cast<DescribeDomainTopHttpMethodResponse>(await this.callApi(params, req, runtime), new DescribeDomainTopHttpMethodResponse({}));
33613
+ }
33614
+
33615
+ /**
33616
+ * 查询域名 top HttpMethod
33617
+ *
33618
+ * @param request - DescribeDomainTopHttpMethodRequest
33619
+ * @returns DescribeDomainTopHttpMethodResponse
33620
+ */
33621
+ async describeDomainTopHttpMethod(request: DescribeDomainTopHttpMethodRequest): Promise<DescribeDomainTopHttpMethodResponse> {
33622
+ let runtime = new $Util.RuntimeOptions({ });
33623
+ return await this.describeDomainTopHttpMethodWithOptions(request, runtime);
33624
+ }
33625
+
33626
+ /**
33627
+ * 查询域名top referer
33628
+ *
33629
+ * @param request - DescribeDomainTopRefererRequest
33630
+ * @param runtime - runtime options for this request RuntimeOptions
33631
+ * @returns DescribeDomainTopRefererResponse
33632
+ */
33633
+ async describeDomainTopRefererWithOptions(request: DescribeDomainTopRefererRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDomainTopRefererResponse> {
33634
+ Util.validateModel(request);
33635
+ let query = { };
33636
+ if (!Util.isUnset(request.domain)) {
33637
+ query["Domain"] = request.domain;
33638
+ }
33639
+
33640
+ if (!Util.isUnset(request.endTime)) {
33641
+ query["EndTime"] = request.endTime;
33642
+ }
33643
+
33644
+ if (!Util.isUnset(request.limit)) {
33645
+ query["Limit"] = request.limit;
33646
+ }
33647
+
33648
+ if (!Util.isUnset(request.region)) {
33649
+ query["Region"] = request.region;
33650
+ }
33651
+
33652
+ if (!Util.isUnset(request.startTime)) {
33653
+ query["StartTime"] = request.startTime;
33654
+ }
33655
+
33656
+ let req = new $OpenApi.OpenApiRequest({
33657
+ query: OpenApiUtil.query(query),
33658
+ });
33659
+ let params = new $OpenApi.Params({
33660
+ action: "DescribeDomainTopReferer",
33661
+ version: "2020-01-01",
33662
+ protocol: "HTTPS",
33663
+ pathname: "/",
33664
+ method: "POST",
33665
+ authType: "AK",
33666
+ style: "RPC",
33667
+ reqBodyType: "formData",
33668
+ bodyType: "json",
33669
+ });
33670
+ return $tea.cast<DescribeDomainTopRefererResponse>(await this.callApi(params, req, runtime), new DescribeDomainTopRefererResponse({}));
33671
+ }
33672
+
33673
+ /**
33674
+ * 查询域名top referer
33675
+ *
33676
+ * @param request - DescribeDomainTopRefererRequest
33677
+ * @returns DescribeDomainTopRefererResponse
33678
+ */
33679
+ async describeDomainTopReferer(request: DescribeDomainTopRefererRequest): Promise<DescribeDomainTopRefererResponse> {
33680
+ let runtime = new $Util.RuntimeOptions({ });
33681
+ return await this.describeDomainTopRefererWithOptions(request, runtime);
33682
+ }
33683
+
33684
+ /**
33685
+ * 查询top user agent
33686
+ *
33687
+ * @param request - DescribeDomainTopUserAgentRequest
33688
+ * @param runtime - runtime options for this request RuntimeOptions
33689
+ * @returns DescribeDomainTopUserAgentResponse
33690
+ */
33691
+ async describeDomainTopUserAgentWithOptions(request: DescribeDomainTopUserAgentRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDomainTopUserAgentResponse> {
33692
+ Util.validateModel(request);
33693
+ let query = { };
33694
+ if (!Util.isUnset(request.domain)) {
33695
+ query["Domain"] = request.domain;
33696
+ }
33697
+
33698
+ if (!Util.isUnset(request.endTime)) {
33699
+ query["EndTime"] = request.endTime;
33700
+ }
33701
+
33702
+ if (!Util.isUnset(request.limit)) {
33703
+ query["Limit"] = request.limit;
33704
+ }
33705
+
33706
+ if (!Util.isUnset(request.region)) {
33707
+ query["Region"] = request.region;
33708
+ }
33709
+
33710
+ if (!Util.isUnset(request.startTime)) {
33711
+ query["StartTime"] = request.startTime;
33712
+ }
33713
+
33714
+ let req = new $OpenApi.OpenApiRequest({
33715
+ query: OpenApiUtil.query(query),
33716
+ });
33717
+ let params = new $OpenApi.Params({
33718
+ action: "DescribeDomainTopUserAgent",
33719
+ version: "2020-01-01",
33720
+ protocol: "HTTPS",
33721
+ pathname: "/",
33722
+ method: "POST",
33723
+ authType: "AK",
33724
+ style: "RPC",
33725
+ reqBodyType: "formData",
33726
+ bodyType: "json",
33727
+ });
33728
+ return $tea.cast<DescribeDomainTopUserAgentResponse>(await this.callApi(params, req, runtime), new DescribeDomainTopUserAgentResponse({}));
33729
+ }
33730
+
33731
+ /**
33732
+ * 查询top user agent
33733
+ *
33734
+ * @param request - DescribeDomainTopUserAgentRequest
33735
+ * @returns DescribeDomainTopUserAgentResponse
33736
+ */
33737
+ async describeDomainTopUserAgent(request: DescribeDomainTopUserAgentRequest): Promise<DescribeDomainTopUserAgentResponse> {
33738
+ let runtime = new $Util.RuntimeOptions({ });
33739
+ return await this.describeDomainTopUserAgentWithOptions(request, runtime);
33740
+ }
33741
+
32260
33742
  /**
32261
33743
  * Queries the areas and countries from which requests are sent to a website within a specified period of time.
32262
33744
  *
@@ -32528,10 +34010,10 @@ export default class Client extends OpenApi {
32528
34010
  }
32529
34011
 
32530
34012
  /**
32531
- * Queries the available burstable protection bandwidths of an Anti-DDoS Pro instance.
34013
+ * Queries the available burstable protection bandwidths of an Anti-DDoS Proxy (Chinese Mainland) instance.
32532
34014
  *
32533
34015
  * @remarks
32534
- * > This operation is suitable only for Anti-DDoS Pro.
34016
+ * > This operation is suitable only for Anti-DDoS Proxy (Chinese Mainland).
32535
34017
  *
32536
34018
  * @param request - DescribeElasticBandwidthSpecRequest
32537
34019
  * @param runtime - runtime options for this request RuntimeOptions
@@ -32562,10 +34044,10 @@ export default class Client extends OpenApi {
32562
34044
  }
32563
34045
 
32564
34046
  /**
32565
- * Queries the available burstable protection bandwidths of an Anti-DDoS Pro instance.
34047
+ * Queries the available burstable protection bandwidths of an Anti-DDoS Proxy (Chinese Mainland) instance.
32566
34048
  *
32567
34049
  * @remarks
32568
- * > This operation is suitable only for Anti-DDoS Pro.
34050
+ * > This operation is suitable only for Anti-DDoS Proxy (Chinese Mainland).
32569
34051
  *
32570
34052
  * @param request - DescribeElasticBandwidthSpecRequest
32571
34053
  * @returns DescribeElasticBandwidthSpecResponse
@@ -34988,10 +36470,10 @@ export default class Client extends OpenApi {
34988
36470
  }
34989
36471
 
34990
36472
  /**
34991
- * Queries the remaining quota that allows you to use the Diversion from Origin Server policy.
36473
+ * Queries the total number and the remaining number of times that you can enable the near-origin traffic diversion feature.
34992
36474
  *
34993
36475
  * @remarks
34994
- * > This operation is suitable only for Anti-DDoS Pro.
36476
+ * > This operation is suitable only for Anti-DDoS Proxy (Chinese Mainland).
34995
36477
  *
34996
36478
  * @param request - DescribeUnBlockCountRequest
34997
36479
  * @param runtime - runtime options for this request RuntimeOptions
@@ -35022,10 +36504,10 @@ export default class Client extends OpenApi {
35022
36504
  }
35023
36505
 
35024
36506
  /**
35025
- * Queries the remaining quota that allows you to use the Diversion from Origin Server policy.
36507
+ * Queries the total number and the remaining number of times that you can enable the near-origin traffic diversion feature.
35026
36508
  *
35027
36509
  * @remarks
35028
- * > This operation is suitable only for Anti-DDoS Pro.
36510
+ * > This operation is suitable only for Anti-DDoS Proxy (Chinese Mainland).
35029
36511
  *
35030
36512
  * @param request - DescribeUnBlockCountRequest
35031
36513
  * @returns DescribeUnBlockCountResponse
@@ -35684,9 +37166,13 @@ export default class Client extends OpenApi {
35684
37166
  }
35685
37167
 
35686
37168
  /**
35687
- * Indicates whether Allow Access Only from SM Certificates-based Clients is turned on.
35688
- * * 0: no
35689
- * * 1: yes
37169
+ * Query Configuration of Website Business Forwarding Rules.
37170
+ *
37171
+ * @remarks
37172
+ * This interface is used for paginated querying of the configurations of website business forwarding rules you have created, such as forwarding protocol types, source server addresses, HTTPS configurations, IP blacklist configurations, and more.
37173
+ * Before calling this interface, you must have already called [CreateWebRule](~~CreateWebRule~~) to create website business forwarding rules.
37174
+ * ### QPS Limit
37175
+ * The per-user QPS limit for this interface is 50 times/second. Exceeding this limit will result in API calls being throttled, which may impact your business; please use it reasonably.
35690
37176
  *
35691
37177
  * @param request - DescribeWebRulesRequest
35692
37178
  * @param runtime - runtime options for this request RuntimeOptions
@@ -35741,9 +37227,13 @@ export default class Client extends OpenApi {
35741
37227
  }
35742
37228
 
35743
37229
  /**
35744
- * Indicates whether Allow Access Only from SM Certificates-based Clients is turned on.
35745
- * * 0: no
35746
- * * 1: yes
37230
+ * Query Configuration of Website Business Forwarding Rules.
37231
+ *
37232
+ * @remarks
37233
+ * This interface is used for paginated querying of the configurations of website business forwarding rules you have created, such as forwarding protocol types, source server addresses, HTTPS configurations, IP blacklist configurations, and more.
37234
+ * Before calling this interface, you must have already called [CreateWebRule](~~CreateWebRule~~) to create website business forwarding rules.
37235
+ * ### QPS Limit
37236
+ * The per-user QPS limit for this interface is 50 times/second. Exceeding this limit will result in API calls being throttled, which may impact your business; please use it reasonably.
35747
37237
  *
35748
37238
  * @param request - DescribeWebRulesRequest
35749
37239
  * @returns DescribeWebRulesResponse
@@ -36986,7 +38476,7 @@ export default class Client extends OpenApi {
36986
38476
  }
36987
38477
 
36988
38478
  /**
36989
- * Modifies the session persistence settings of a port forwarding rule.
38479
+ * Modifies the session persistence and DDoS mitigation policy settings of a port forwarding rule.
36990
38480
  *
36991
38481
  * @param request - ModifyNetworkRuleAttributeRequest
36992
38482
  * @param runtime - runtime options for this request RuntimeOptions
@@ -37029,7 +38519,7 @@ export default class Client extends OpenApi {
37029
38519
  }
37030
38520
 
37031
38521
  /**
37032
- * Modifies the session persistence settings of a port forwarding rule.
38522
+ * Modifies the session persistence and DDoS mitigation policy settings of a port forwarding rule.
37033
38523
  *
37034
38524
  * @param request - ModifyNetworkRuleAttributeRequest
37035
38525
  * @returns ModifyNetworkRuleAttributeResponse
@@ -38014,7 +39504,7 @@ export default class Client extends OpenApi {
38014
39504
  }
38015
39505
 
38016
39506
  /**
38017
- * Modifies the accurate access control rule of a website.
39507
+ * Creates or modifies an accurate access control rule of a website.
38018
39508
  *
38019
39509
  * @param request - ModifyWebPreciseAccessRuleRequest
38020
39510
  * @param runtime - runtime options for this request RuntimeOptions
@@ -38057,7 +39547,7 @@ export default class Client extends OpenApi {
38057
39547
  }
38058
39548
 
38059
39549
  /**
38060
- * Modifies the accurate access control rule of a website.
39550
+ * Creates or modifies an accurate access control rule of a website.
38061
39551
  *
38062
39552
  * @param request - ModifyWebPreciseAccessRuleRequest
38063
39553
  * @returns ModifyWebPreciseAccessRuleResponse