@alicloud/ddoscoo20200101 2.4.4 → 2.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/client.ts CHANGED
@@ -7060,6 +7060,221 @@ export class DescribeDomainAttackEventsResponse extends $tea.Model {
7060
7060
  }
7061
7061
  }
7062
7062
 
7063
+ export class DescribeDomainBpsRequest extends $tea.Model {
7064
+ /**
7065
+ * @example
7066
+ * www.example.com
7067
+ */
7068
+ domain?: string;
7069
+ /**
7070
+ * @remarks
7071
+ * This parameter is required.
7072
+ *
7073
+ * @example
7074
+ * 1722339300
7075
+ */
7076
+ endTime?: number;
7077
+ /**
7078
+ * @remarks
7079
+ * This parameter is required.
7080
+ *
7081
+ * @example
7082
+ * 600
7083
+ */
7084
+ interval?: number;
7085
+ /**
7086
+ * @remarks
7087
+ * This parameter is required.
7088
+ *
7089
+ * @example
7090
+ * cn
7091
+ */
7092
+ region?: string;
7093
+ /**
7094
+ * @remarks
7095
+ * This parameter is required.
7096
+ *
7097
+ * @example
7098
+ * 1719211800
7099
+ */
7100
+ startTime?: number;
7101
+ static names(): { [key: string]: string } {
7102
+ return {
7103
+ domain: 'Domain',
7104
+ endTime: 'EndTime',
7105
+ interval: 'Interval',
7106
+ region: 'Region',
7107
+ startTime: 'StartTime',
7108
+ };
7109
+ }
7110
+
7111
+ static types(): { [key: string]: any } {
7112
+ return {
7113
+ domain: 'string',
7114
+ endTime: 'number',
7115
+ interval: 'number',
7116
+ region: 'string',
7117
+ startTime: 'number',
7118
+ };
7119
+ }
7120
+
7121
+ constructor(map?: { [key: string]: any }) {
7122
+ super(map);
7123
+ }
7124
+ }
7125
+
7126
+ export class DescribeDomainBpsResponseBody extends $tea.Model {
7127
+ domainBps?: DescribeDomainBpsResponseBodyDomainBps[];
7128
+ /**
7129
+ * @example
7130
+ * C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E
7131
+ */
7132
+ requestId?: string;
7133
+ static names(): { [key: string]: string } {
7134
+ return {
7135
+ domainBps: 'DomainBps',
7136
+ requestId: 'RequestId',
7137
+ };
7138
+ }
7139
+
7140
+ static types(): { [key: string]: any } {
7141
+ return {
7142
+ domainBps: { 'type': 'array', 'itemType': DescribeDomainBpsResponseBodyDomainBps },
7143
+ requestId: 'string',
7144
+ };
7145
+ }
7146
+
7147
+ constructor(map?: { [key: string]: any }) {
7148
+ super(map);
7149
+ }
7150
+ }
7151
+
7152
+ export class DescribeDomainBpsResponse extends $tea.Model {
7153
+ headers?: { [key: string]: string };
7154
+ statusCode?: number;
7155
+ body?: DescribeDomainBpsResponseBody;
7156
+ static names(): { [key: string]: string } {
7157
+ return {
7158
+ headers: 'headers',
7159
+ statusCode: 'statusCode',
7160
+ body: 'body',
7161
+ };
7162
+ }
7163
+
7164
+ static types(): { [key: string]: any } {
7165
+ return {
7166
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
7167
+ statusCode: 'number',
7168
+ body: DescribeDomainBpsResponseBody,
7169
+ };
7170
+ }
7171
+
7172
+ constructor(map?: { [key: string]: any }) {
7173
+ super(map);
7174
+ }
7175
+ }
7176
+
7177
+ export class DescribeDomainH2FingerprintRequest extends $tea.Model {
7178
+ /**
7179
+ * @example
7180
+ * example.aliyundoc.com
7181
+ */
7182
+ domain?: string;
7183
+ /**
7184
+ * @example
7185
+ * 1726318200
7186
+ */
7187
+ endTime?: number;
7188
+ /**
7189
+ * @remarks
7190
+ * This parameter is required.
7191
+ *
7192
+ * @example
7193
+ * 20
7194
+ */
7195
+ limit?: number;
7196
+ /**
7197
+ * @remarks
7198
+ * This parameter is required.
7199
+ *
7200
+ * @example
7201
+ * 1716435180
7202
+ */
7203
+ startTime?: number;
7204
+ static names(): { [key: string]: string } {
7205
+ return {
7206
+ domain: 'Domain',
7207
+ endTime: 'EndTime',
7208
+ limit: 'Limit',
7209
+ startTime: 'StartTime',
7210
+ };
7211
+ }
7212
+
7213
+ static types(): { [key: string]: any } {
7214
+ return {
7215
+ domain: 'string',
7216
+ endTime: 'number',
7217
+ limit: 'number',
7218
+ startTime: 'number',
7219
+ };
7220
+ }
7221
+
7222
+ constructor(map?: { [key: string]: any }) {
7223
+ super(map);
7224
+ }
7225
+ }
7226
+
7227
+ export class DescribeDomainH2FingerprintResponseBody extends $tea.Model {
7228
+ domainH2Fp?: DescribeDomainH2FingerprintResponseBodyDomainH2Fp[];
7229
+ /**
7230
+ * @example
7231
+ * 112777CC-2AD6-46FC-A263-00B931406FCD
7232
+ */
7233
+ requestId?: string;
7234
+ static names(): { [key: string]: string } {
7235
+ return {
7236
+ domainH2Fp: 'DomainH2Fp',
7237
+ requestId: 'RequestId',
7238
+ };
7239
+ }
7240
+
7241
+ static types(): { [key: string]: any } {
7242
+ return {
7243
+ domainH2Fp: { 'type': 'array', 'itemType': DescribeDomainH2FingerprintResponseBodyDomainH2Fp },
7244
+ requestId: 'string',
7245
+ };
7246
+ }
7247
+
7248
+ constructor(map?: { [key: string]: any }) {
7249
+ super(map);
7250
+ }
7251
+ }
7252
+
7253
+ export class DescribeDomainH2FingerprintResponse extends $tea.Model {
7254
+ headers?: { [key: string]: string };
7255
+ statusCode?: number;
7256
+ body?: DescribeDomainH2FingerprintResponseBody;
7257
+ static names(): { [key: string]: string } {
7258
+ return {
7259
+ headers: 'headers',
7260
+ statusCode: 'statusCode',
7261
+ body: 'body',
7262
+ };
7263
+ }
7264
+
7265
+ static types(): { [key: string]: any } {
7266
+ return {
7267
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
7268
+ statusCode: 'number',
7269
+ body: DescribeDomainH2FingerprintResponseBody,
7270
+ };
7271
+ }
7272
+
7273
+ constructor(map?: { [key: string]: any }) {
7274
+ super(map);
7275
+ }
7276
+ }
7277
+
7063
7278
  export class DescribeDomainOverviewRequest extends $tea.Model {
7064
7279
  /**
7065
7280
  * @remarks
@@ -7716,46 +7931,545 @@ export class DescribeDomainStatusCodeCountResponseBody extends $tea.Model {
7716
7931
  */
7717
7932
  status504?: number;
7718
7933
  /**
7719
- * @remarks
7720
- * The number of 5xx status codes within the specified period of time.
7721
- *
7934
+ * @remarks
7935
+ * The number of 5xx status codes within the specified period of time.
7936
+ *
7937
+ * @example
7938
+ * 14
7939
+ */
7940
+ status5XX?: number;
7941
+ static names(): { [key: string]: string } {
7942
+ return {
7943
+ requestId: 'RequestId',
7944
+ status200: 'Status200',
7945
+ status2XX: 'Status2XX',
7946
+ status3XX: 'Status3XX',
7947
+ status403: 'Status403',
7948
+ status404: 'Status404',
7949
+ status405: 'Status405',
7950
+ status4XX: 'Status4XX',
7951
+ status501: 'Status501',
7952
+ status502: 'Status502',
7953
+ status503: 'Status503',
7954
+ status504: 'Status504',
7955
+ status5XX: 'Status5XX',
7956
+ };
7957
+ }
7958
+
7959
+ static types(): { [key: string]: any } {
7960
+ return {
7961
+ requestId: 'string',
7962
+ status200: 'number',
7963
+ status2XX: 'number',
7964
+ status3XX: 'number',
7965
+ status403: 'number',
7966
+ status404: 'number',
7967
+ status405: 'number',
7968
+ status4XX: 'number',
7969
+ status501: 'number',
7970
+ status502: 'number',
7971
+ status503: 'number',
7972
+ status504: 'number',
7973
+ status5XX: 'number',
7974
+ };
7975
+ }
7976
+
7977
+ constructor(map?: { [key: string]: any }) {
7978
+ super(map);
7979
+ }
7980
+ }
7981
+
7982
+ export class DescribeDomainStatusCodeCountResponse extends $tea.Model {
7983
+ headers?: { [key: string]: string };
7984
+ statusCode?: number;
7985
+ body?: DescribeDomainStatusCodeCountResponseBody;
7986
+ static names(): { [key: string]: string } {
7987
+ return {
7988
+ headers: 'headers',
7989
+ statusCode: 'statusCode',
7990
+ body: 'body',
7991
+ };
7992
+ }
7993
+
7994
+ static types(): { [key: string]: any } {
7995
+ return {
7996
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
7997
+ statusCode: 'number',
7998
+ body: DescribeDomainStatusCodeCountResponseBody,
7999
+ };
8000
+ }
8001
+
8002
+ constructor(map?: { [key: string]: any }) {
8003
+ super(map);
8004
+ }
8005
+ }
8006
+
8007
+ export class DescribeDomainStatusCodeListRequest extends $tea.Model {
8008
+ /**
8009
+ * @remarks
8010
+ * The domain name of the website. If you do not specify this parameter, the statistics on response status codes of all domain names are queried.
8011
+ *
8012
+ * > 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.
8013
+ *
8014
+ * @example
8015
+ * www.aliyun.com
8016
+ */
8017
+ domain?: string;
8018
+ /**
8019
+ * @remarks
8020
+ * The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.
8021
+ *
8022
+ * > This UNIX timestamp must indicate a point in time that is accurate to the minute.
8023
+ *
8024
+ * @example
8025
+ * 1583683200
8026
+ */
8027
+ endTime?: number;
8028
+ /**
8029
+ * @remarks
8030
+ * The interval for returning data. Unit: seconds.
8031
+ *
8032
+ * This parameter is required.
8033
+ *
8034
+ * @example
8035
+ * 1000
8036
+ */
8037
+ interval?: number;
8038
+ /**
8039
+ * @remarks
8040
+ * The source of the statistics. Valid values:
8041
+ *
8042
+ * * **gf**: Anti-DDoS Pro or Anti-DDoS Premium
8043
+ * * **upstrem**: origin server
8044
+ *
8045
+ * This parameter is required.
8046
+ *
8047
+ * @example
8048
+ * gf
8049
+ */
8050
+ queryType?: string;
8051
+ /**
8052
+ * @remarks
8053
+ * 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.
8054
+ *
8055
+ * @example
8056
+ * default
8057
+ */
8058
+ resourceGroupId?: string;
8059
+ /**
8060
+ * @remarks
8061
+ * The start time of the event. The value is a UNIX timestamp. Unit: seconds.
8062
+ *
8063
+ * > This UNIX timestamp must indicate a point in time that is accurate to the minute.
8064
+ *
8065
+ * This parameter is required.
8066
+ *
8067
+ * @example
8068
+ * 1582992000
8069
+ */
8070
+ startTime?: number;
8071
+ static names(): { [key: string]: string } {
8072
+ return {
8073
+ domain: 'Domain',
8074
+ endTime: 'EndTime',
8075
+ interval: 'Interval',
8076
+ queryType: 'QueryType',
8077
+ resourceGroupId: 'ResourceGroupId',
8078
+ startTime: 'StartTime',
8079
+ };
8080
+ }
8081
+
8082
+ static types(): { [key: string]: any } {
8083
+ return {
8084
+ domain: 'string',
8085
+ endTime: 'number',
8086
+ interval: 'number',
8087
+ queryType: 'string',
8088
+ resourceGroupId: 'string',
8089
+ startTime: 'number',
8090
+ };
8091
+ }
8092
+
8093
+ constructor(map?: { [key: string]: any }) {
8094
+ super(map);
8095
+ }
8096
+ }
8097
+
8098
+ export class DescribeDomainStatusCodeListResponseBody extends $tea.Model {
8099
+ /**
8100
+ * @remarks
8101
+ * The ID of the request.
8102
+ *
8103
+ * @example
8104
+ * 3B63C0DD-8AC5-44B2-95D6-064CA9296B9C
8105
+ */
8106
+ requestId?: string;
8107
+ /**
8108
+ * @remarks
8109
+ * The statistics on response status codes.
8110
+ */
8111
+ statusCodeList?: DescribeDomainStatusCodeListResponseBodyStatusCodeList[];
8112
+ static names(): { [key: string]: string } {
8113
+ return {
8114
+ requestId: 'RequestId',
8115
+ statusCodeList: 'StatusCodeList',
8116
+ };
8117
+ }
8118
+
8119
+ static types(): { [key: string]: any } {
8120
+ return {
8121
+ requestId: 'string',
8122
+ statusCodeList: { 'type': 'array', 'itemType': DescribeDomainStatusCodeListResponseBodyStatusCodeList },
8123
+ };
8124
+ }
8125
+
8126
+ constructor(map?: { [key: string]: any }) {
8127
+ super(map);
8128
+ }
8129
+ }
8130
+
8131
+ export class DescribeDomainStatusCodeListResponse extends $tea.Model {
8132
+ headers?: { [key: string]: string };
8133
+ statusCode?: number;
8134
+ body?: DescribeDomainStatusCodeListResponseBody;
8135
+ static names(): { [key: string]: string } {
8136
+ return {
8137
+ headers: 'headers',
8138
+ statusCode: 'statusCode',
8139
+ body: 'body',
8140
+ };
8141
+ }
8142
+
8143
+ static types(): { [key: string]: any } {
8144
+ return {
8145
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
8146
+ statusCode: 'number',
8147
+ body: DescribeDomainStatusCodeListResponseBody,
8148
+ };
8149
+ }
8150
+
8151
+ constructor(map?: { [key: string]: any }) {
8152
+ super(map);
8153
+ }
8154
+ }
8155
+
8156
+ export class DescribeDomainTopAttackListRequest extends $tea.Model {
8157
+ /**
8158
+ * @remarks
8159
+ * The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.
8160
+ *
8161
+ * > This UNIX timestamp must indicate a point in time that is accurate to the minute.
8162
+ *
8163
+ * This parameter is required.
8164
+ *
8165
+ * @example
8166
+ * 1583683200
8167
+ */
8168
+ endTime?: number;
8169
+ /**
8170
+ * @remarks
8171
+ * 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.
8172
+ *
8173
+ * @example
8174
+ * default
8175
+ */
8176
+ resourceGroupId?: string;
8177
+ /**
8178
+ * @remarks
8179
+ * The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.
8180
+ *
8181
+ * > This UNIX timestamp must indicate a point in time that is accurate to the minute.
8182
+ *
8183
+ * This parameter is required.
8184
+ *
8185
+ * @example
8186
+ * 1582992000
8187
+ */
8188
+ startTime?: number;
8189
+ static names(): { [key: string]: string } {
8190
+ return {
8191
+ endTime: 'EndTime',
8192
+ resourceGroupId: 'ResourceGroupId',
8193
+ startTime: 'StartTime',
8194
+ };
8195
+ }
8196
+
8197
+ static types(): { [key: string]: any } {
8198
+ return {
8199
+ endTime: 'number',
8200
+ resourceGroupId: 'string',
8201
+ startTime: 'number',
8202
+ };
8203
+ }
8204
+
8205
+ constructor(map?: { [key: string]: any }) {
8206
+ super(map);
8207
+ }
8208
+ }
8209
+
8210
+ export class DescribeDomainTopAttackListResponseBody extends $tea.Model {
8211
+ /**
8212
+ * @remarks
8213
+ * The peak QPS of the website.
8214
+ */
8215
+ attackList?: DescribeDomainTopAttackListResponseBodyAttackList[];
8216
+ /**
8217
+ * @remarks
8218
+ * The ID of the request.
8219
+ *
8220
+ * @example
8221
+ * C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E
8222
+ */
8223
+ requestId?: string;
8224
+ static names(): { [key: string]: string } {
8225
+ return {
8226
+ attackList: 'AttackList',
8227
+ requestId: 'RequestId',
8228
+ };
8229
+ }
8230
+
8231
+ static types(): { [key: string]: any } {
8232
+ return {
8233
+ attackList: { 'type': 'array', 'itemType': DescribeDomainTopAttackListResponseBodyAttackList },
8234
+ requestId: 'string',
8235
+ };
8236
+ }
8237
+
8238
+ constructor(map?: { [key: string]: any }) {
8239
+ super(map);
8240
+ }
8241
+ }
8242
+
8243
+ export class DescribeDomainTopAttackListResponse extends $tea.Model {
8244
+ headers?: { [key: string]: string };
8245
+ statusCode?: number;
8246
+ body?: DescribeDomainTopAttackListResponseBody;
8247
+ static names(): { [key: string]: string } {
8248
+ return {
8249
+ headers: 'headers',
8250
+ statusCode: 'statusCode',
8251
+ body: 'body',
8252
+ };
8253
+ }
8254
+
8255
+ static types(): { [key: string]: any } {
8256
+ return {
8257
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
8258
+ statusCode: 'number',
8259
+ body: DescribeDomainTopAttackListResponseBody,
8260
+ };
8261
+ }
8262
+
8263
+ constructor(map?: { [key: string]: any }) {
8264
+ super(map);
8265
+ }
8266
+ }
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
+ /**
7722
8458
  * @example
7723
- * 14
8459
+ * CF33B4C3-196E-4015-AADD-5CAD00057B80
7724
8460
  */
7725
- status5XX?: number;
8461
+ requestId?: string;
7726
8462
  static names(): { [key: string]: string } {
7727
8463
  return {
8464
+ domainTopMethod: 'DomainTopMethod',
7728
8465
  requestId: 'RequestId',
7729
- status200: 'Status200',
7730
- status2XX: 'Status2XX',
7731
- status3XX: 'Status3XX',
7732
- status403: 'Status403',
7733
- status404: 'Status404',
7734
- status405: 'Status405',
7735
- status4XX: 'Status4XX',
7736
- status501: 'Status501',
7737
- status502: 'Status502',
7738
- status503: 'Status503',
7739
- status504: 'Status504',
7740
- status5XX: 'Status5XX',
7741
8466
  };
7742
8467
  }
7743
8468
 
7744
8469
  static types(): { [key: string]: any } {
7745
8470
  return {
8471
+ domainTopMethod: { 'type': 'array', 'itemType': DescribeDomainTopHttpMethodResponseBodyDomainTopMethod },
7746
8472
  requestId: 'string',
7747
- status200: 'number',
7748
- status2XX: 'number',
7749
- status3XX: 'number',
7750
- status403: 'number',
7751
- status404: 'number',
7752
- status405: 'number',
7753
- status4XX: 'number',
7754
- status501: 'number',
7755
- status502: 'number',
7756
- status503: 'number',
7757
- status504: 'number',
7758
- status5XX: 'number',
7759
8473
  };
7760
8474
  }
7761
8475
 
@@ -7764,10 +8478,10 @@ export class DescribeDomainStatusCodeCountResponseBody extends $tea.Model {
7764
8478
  }
7765
8479
  }
7766
8480
 
7767
- export class DescribeDomainStatusCodeCountResponse extends $tea.Model {
8481
+ export class DescribeDomainTopHttpMethodResponse extends $tea.Model {
7768
8482
  headers?: { [key: string]: string };
7769
8483
  statusCode?: number;
7770
- body?: DescribeDomainStatusCodeCountResponseBody;
8484
+ body?: DescribeDomainTopHttpMethodResponseBody;
7771
8485
  static names(): { [key: string]: string } {
7772
8486
  return {
7773
8487
  headers: 'headers',
@@ -7780,7 +8494,7 @@ export class DescribeDomainStatusCodeCountResponse extends $tea.Model {
7780
8494
  return {
7781
8495
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
7782
8496
  statusCode: 'number',
7783
- body: DescribeDomainStatusCodeCountResponseBody,
8497
+ body: DescribeDomainTopHttpMethodResponseBody,
7784
8498
  };
7785
8499
  }
7786
8500
 
@@ -7789,77 +8503,50 @@ export class DescribeDomainStatusCodeCountResponse extends $tea.Model {
7789
8503
  }
7790
8504
  }
7791
8505
 
7792
- export class DescribeDomainStatusCodeListRequest extends $tea.Model {
8506
+ export class DescribeDomainTopRefererRequest extends $tea.Model {
7793
8507
  /**
7794
- * @remarks
7795
- * The domain name of the website. If you do not specify this parameter, the statistics on response status codes of all domain names are queried.
7796
- *
7797
- * > 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.
7798
- *
7799
8508
  * @example
7800
- * www.aliyun.com
8509
+ * example.aliyundoc.com
7801
8510
  */
7802
8511
  domain?: string;
7803
8512
  /**
7804
8513
  * @remarks
7805
- * The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.
7806
- *
7807
- * > This UNIX timestamp must indicate a point in time that is accurate to the minute.
8514
+ * This parameter is required.
7808
8515
  *
7809
8516
  * @example
7810
- * 1583683200
8517
+ * 1721561100
7811
8518
  */
7812
8519
  endTime?: number;
7813
8520
  /**
7814
8521
  * @remarks
7815
- * The interval for returning data. Unit: seconds.
7816
- *
7817
8522
  * This parameter is required.
7818
8523
  *
7819
8524
  * @example
7820
- * 1000
8525
+ * 10
7821
8526
  */
7822
- interval?: number;
8527
+ limit?: number;
7823
8528
  /**
7824
8529
  * @remarks
7825
- * The source of the statistics. Valid values:
7826
- *
7827
- * * **gf**: Anti-DDoS Pro or Anti-DDoS Premium
7828
- * * **upstrem**: origin server
7829
- *
7830
8530
  * This parameter is required.
7831
8531
  *
7832
8532
  * @example
7833
- * gf
7834
- */
7835
- queryType?: string;
7836
- /**
7837
- * @remarks
7838
- * 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.
7839
- *
7840
- * @example
7841
- * default
8533
+ * cn
7842
8534
  */
7843
- resourceGroupId?: string;
8535
+ region?: string;
7844
8536
  /**
7845
8537
  * @remarks
7846
- * The start time of the event. The value is a UNIX timestamp. Unit: seconds.
7847
- *
7848
- * > This UNIX timestamp must indicate a point in time that is accurate to the minute.
7849
- *
7850
8538
  * This parameter is required.
7851
8539
  *
7852
8540
  * @example
7853
- * 1582992000
8541
+ * 1701991920
7854
8542
  */
7855
8543
  startTime?: number;
7856
8544
  static names(): { [key: string]: string } {
7857
8545
  return {
7858
8546
  domain: 'Domain',
7859
8547
  endTime: 'EndTime',
7860
- interval: 'Interval',
7861
- queryType: 'QueryType',
7862
- resourceGroupId: 'ResourceGroupId',
8548
+ limit: 'Limit',
8549
+ region: 'Region',
7863
8550
  startTime: 'StartTime',
7864
8551
  };
7865
8552
  }
@@ -7868,9 +8555,8 @@ export class DescribeDomainStatusCodeListRequest extends $tea.Model {
7868
8555
  return {
7869
8556
  domain: 'string',
7870
8557
  endTime: 'number',
7871
- interval: 'number',
7872
- queryType: 'string',
7873
- resourceGroupId: 'string',
8558
+ limit: 'number',
8559
+ region: 'string',
7874
8560
  startTime: 'number',
7875
8561
  };
7876
8562
  }
@@ -7880,31 +8566,24 @@ export class DescribeDomainStatusCodeListRequest extends $tea.Model {
7880
8566
  }
7881
8567
  }
7882
8568
 
7883
- export class DescribeDomainStatusCodeListResponseBody extends $tea.Model {
8569
+ export class DescribeDomainTopRefererResponseBody extends $tea.Model {
8570
+ domainTopReferer?: DescribeDomainTopRefererResponseBodyDomainTopReferer[];
7884
8571
  /**
7885
- * @remarks
7886
- * The ID of the request.
7887
- *
7888
8572
  * @example
7889
- * 3B63C0DD-8AC5-44B2-95D6-064CA9296B9C
8573
+ * CF33B4C3-196E-4015-AADD-5CAD00057B80
7890
8574
  */
7891
8575
  requestId?: string;
7892
- /**
7893
- * @remarks
7894
- * The statistics on response status codes.
7895
- */
7896
- statusCodeList?: DescribeDomainStatusCodeListResponseBodyStatusCodeList[];
7897
8576
  static names(): { [key: string]: string } {
7898
8577
  return {
8578
+ domainTopReferer: 'DomainTopReferer',
7899
8579
  requestId: 'RequestId',
7900
- statusCodeList: 'StatusCodeList',
7901
8580
  };
7902
8581
  }
7903
8582
 
7904
8583
  static types(): { [key: string]: any } {
7905
8584
  return {
8585
+ domainTopReferer: { 'type': 'array', 'itemType': DescribeDomainTopRefererResponseBodyDomainTopReferer },
7906
8586
  requestId: 'string',
7907
- statusCodeList: { 'type': 'array', 'itemType': DescribeDomainStatusCodeListResponseBodyStatusCodeList },
7908
8587
  };
7909
8588
  }
7910
8589
 
@@ -7913,10 +8592,10 @@ export class DescribeDomainStatusCodeListResponseBody extends $tea.Model {
7913
8592
  }
7914
8593
  }
7915
8594
 
7916
- export class DescribeDomainStatusCodeListResponse extends $tea.Model {
8595
+ export class DescribeDomainTopRefererResponse extends $tea.Model {
7917
8596
  headers?: { [key: string]: string };
7918
8597
  statusCode?: number;
7919
- body?: DescribeDomainStatusCodeListResponseBody;
8598
+ body?: DescribeDomainTopRefererResponseBody;
7920
8599
  static names(): { [key: string]: string } {
7921
8600
  return {
7922
8601
  headers: 'headers',
@@ -7929,7 +8608,7 @@ export class DescribeDomainStatusCodeListResponse extends $tea.Model {
7929
8608
  return {
7930
8609
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
7931
8610
  statusCode: 'number',
7932
- body: DescribeDomainStatusCodeListResponseBody,
8611
+ body: DescribeDomainTopRefererResponseBody,
7933
8612
  };
7934
8613
  }
7935
8614
 
@@ -7938,51 +8617,60 @@ export class DescribeDomainStatusCodeListResponse extends $tea.Model {
7938
8617
  }
7939
8618
  }
7940
8619
 
7941
- export class DescribeDomainTopAttackListRequest extends $tea.Model {
8620
+ export class DescribeDomainTopUserAgentRequest extends $tea.Model {
8621
+ /**
8622
+ * @example
8623
+ * www.example.com
8624
+ */
8625
+ domain?: string;
7942
8626
  /**
7943
8627
  * @remarks
7944
- * The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.
7945
- *
7946
- * > This UNIX timestamp must indicate a point in time that is accurate to the minute.
7947
- *
7948
8628
  * This parameter is required.
7949
8629
  *
7950
8630
  * @example
7951
- * 1583683200
8631
+ * 1708352700
7952
8632
  */
7953
8633
  endTime?: number;
7954
8634
  /**
7955
8635
  * @remarks
7956
- * 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.
8636
+ * This parameter is required.
7957
8637
  *
7958
8638
  * @example
7959
- * default
8639
+ * 20
7960
8640
  */
7961
- resourceGroupId?: string;
8641
+ limit?: number;
7962
8642
  /**
7963
8643
  * @remarks
7964
- * The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.
7965
- *
7966
- * > This UNIX timestamp must indicate a point in time that is accurate to the minute.
8644
+ * This parameter is required.
7967
8645
  *
8646
+ * @example
8647
+ * cn
8648
+ */
8649
+ region?: string;
8650
+ /**
8651
+ * @remarks
7968
8652
  * This parameter is required.
7969
8653
  *
7970
8654
  * @example
7971
- * 1582992000
8655
+ * 1609430400
7972
8656
  */
7973
8657
  startTime?: number;
7974
8658
  static names(): { [key: string]: string } {
7975
8659
  return {
8660
+ domain: 'Domain',
7976
8661
  endTime: 'EndTime',
7977
- resourceGroupId: 'ResourceGroupId',
8662
+ limit: 'Limit',
8663
+ region: 'Region',
7978
8664
  startTime: 'StartTime',
7979
8665
  };
7980
8666
  }
7981
8667
 
7982
8668
  static types(): { [key: string]: any } {
7983
8669
  return {
8670
+ domain: 'string',
7984
8671
  endTime: 'number',
7985
- resourceGroupId: 'string',
8672
+ limit: 'number',
8673
+ region: 'string',
7986
8674
  startTime: 'number',
7987
8675
  };
7988
8676
  }
@@ -7992,30 +8680,23 @@ export class DescribeDomainTopAttackListRequest extends $tea.Model {
7992
8680
  }
7993
8681
  }
7994
8682
 
7995
- export class DescribeDomainTopAttackListResponseBody extends $tea.Model {
7996
- /**
7997
- * @remarks
7998
- * The peak QPS of the website.
7999
- */
8000
- attackList?: DescribeDomainTopAttackListResponseBodyAttackList[];
8683
+ export class DescribeDomainTopUserAgentResponseBody extends $tea.Model {
8684
+ domainTopUa?: DescribeDomainTopUserAgentResponseBodyDomainTopUa[];
8001
8685
  /**
8002
- * @remarks
8003
- * The ID of the request.
8004
- *
8005
8686
  * @example
8006
- * C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E
8687
+ * CF33B4C3-196E-4015-AADD-5CAD00057B80
8007
8688
  */
8008
8689
  requestId?: string;
8009
8690
  static names(): { [key: string]: string } {
8010
8691
  return {
8011
- attackList: 'AttackList',
8692
+ domainTopUa: 'DomainTopUa',
8012
8693
  requestId: 'RequestId',
8013
8694
  };
8014
8695
  }
8015
8696
 
8016
8697
  static types(): { [key: string]: any } {
8017
8698
  return {
8018
- attackList: { 'type': 'array', 'itemType': DescribeDomainTopAttackListResponseBodyAttackList },
8699
+ domainTopUa: { 'type': 'array', 'itemType': DescribeDomainTopUserAgentResponseBodyDomainTopUa },
8019
8700
  requestId: 'string',
8020
8701
  };
8021
8702
  }
@@ -8025,10 +8706,10 @@ export class DescribeDomainTopAttackListResponseBody extends $tea.Model {
8025
8706
  }
8026
8707
  }
8027
8708
 
8028
- export class DescribeDomainTopAttackListResponse extends $tea.Model {
8709
+ export class DescribeDomainTopUserAgentResponse extends $tea.Model {
8029
8710
  headers?: { [key: string]: string };
8030
8711
  statusCode?: number;
8031
- body?: DescribeDomainTopAttackListResponseBody;
8712
+ body?: DescribeDomainTopUserAgentResponseBody;
8032
8713
  static names(): { [key: string]: string } {
8033
8714
  return {
8034
8715
  headers: 'headers',
@@ -8041,7 +8722,7 @@ export class DescribeDomainTopAttackListResponse extends $tea.Model {
8041
8722
  return {
8042
8723
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
8043
8724
  statusCode: 'number',
8044
- body: DescribeDomainTopAttackListResponseBody,
8725
+ body: DescribeDomainTopUserAgentResponseBody,
8045
8726
  };
8046
8727
  }
8047
8728
 
@@ -10163,6 +10844,10 @@ export class DescribeL7RsPolicyResponseBody extends $tea.Model {
10163
10844
  * 9E7F6B2C-03F2-462F-9076-B782CF0DD502
10164
10845
  */
10165
10846
  requestId?: string;
10847
+ /**
10848
+ * @example
10849
+ * 300
10850
+ */
10166
10851
  rsAttrRwTimeoutMax?: number;
10167
10852
  /**
10168
10853
  * @remarks
@@ -11505,7 +12190,7 @@ export class DescribePortCcAttackTopIPResponseBody extends $tea.Model {
11505
12190
  requestId?: string;
11506
12191
  /**
11507
12192
  * @remarks
11508
- * The information about the source IP address of the attack.
12193
+ * The top IP addresses from which most attacks are initiated.
11509
12194
  */
11510
12195
  topIp?: DescribePortCcAttackTopIPResponseBodyTopIp[];
11511
12196
  static names(): { [key: string]: string } {
@@ -14257,7 +14942,7 @@ export class DescribeUnBlockCountRequest extends $tea.Model {
14257
14942
  export class DescribeUnBlockCountResponseBody extends $tea.Model {
14258
14943
  /**
14259
14944
  * @remarks
14260
- * 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.
14261
14946
  *
14262
14947
  * @example
14263
14948
  * 7
@@ -14265,7 +14950,7 @@ export class DescribeUnBlockCountResponseBody extends $tea.Model {
14265
14950
  remainCount?: number;
14266
14951
  /**
14267
14952
  * @remarks
14268
- * The ID of the request.
14953
+ * The request ID.
14269
14954
  *
14270
14955
  * @example
14271
14956
  * C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E
@@ -14273,7 +14958,7 @@ export class DescribeUnBlockCountResponseBody extends $tea.Model {
14273
14958
  requestId?: string;
14274
14959
  /**
14275
14960
  * @remarks
14276
- * 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.
14277
14962
  *
14278
14963
  * @example
14279
14964
  * 10
@@ -15765,7 +16450,7 @@ export class DescribeWebRulesRequest extends $tea.Model {
15765
16450
  instanceIds?: string[];
15766
16451
  /**
15767
16452
  * @remarks
15768
- * When paginating, set the page number of the current page. The default value is 1.
16453
+ * The page number. Default value: **1**.
15769
16454
  *
15770
16455
  * @example
15771
16456
  * 1
@@ -15773,7 +16458,7 @@ export class DescribeWebRulesRequest extends $tea.Model {
15773
16458
  pageNumber?: number;
15774
16459
  /**
15775
16460
  * @remarks
15776
- * When paginating, set the number of forwarding rules per page. The range of values is: 1~10.
16461
+ * The number of entries per page. Valid values: **1** to **10**.
15777
16462
  *
15778
16463
  * @example
15779
16464
  * 10
@@ -17187,9 +17872,9 @@ export class ModifyBlockStatusRequest extends $tea.Model {
17187
17872
  duration?: number;
17188
17873
  /**
17189
17874
  * @remarks
17190
- * The ID of the Anti-DDoS Pro instance to manage.
17875
+ * The ID of the Anti-DDoS Proxy (Chinese Mainland) instance to manage.
17191
17876
  *
17192
- * > 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.
17193
17878
  *
17194
17879
  * This parameter is required.
17195
17880
  *
@@ -18440,12 +19125,12 @@ export class ModifyNetworkRuleAttributeRequest extends $tea.Model {
18440
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.
18441
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.
18442
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.
18443
- * * **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 the source rate limit is enabled. The value 2 indicates that the system determines whether to enable the source rate limit.
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.
18444
19129
  *
18445
19130
  * PayloadLen contains the following fields:
18446
19131
  *
18447
- * * **Min**: the minimum packet length in the DDoS mitigation policy. This field is required and of the integer type. Valid values: 0 to 2000.
18448
- * * **Max**: the maximum packet length in the DDoS mitigation policy. This field is required and of the integer type. Valid values: 0 to 6000.
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.
18449
19134
  *
18450
19135
  * This parameter is required.
18451
19136
  *
@@ -22488,28 +23173,102 @@ export class DescribeDomainAttackEventsResponseBodyDomainAttackEvents extends $t
22488
23173
  */
22489
23174
  maxQps?: number;
22490
23175
  /**
22491
- * @remarks
22492
- * The time when the DDoS attack started. The value is a UNIX timestamp. Unit: seconds.
22493
- *
23176
+ * @remarks
23177
+ * The time when the DDoS attack started. The value is a UNIX timestamp. Unit: seconds.
23178
+ *
23179
+ * @example
23180
+ * 1560312900
23181
+ */
23182
+ startTime?: number;
23183
+ static names(): { [key: string]: string } {
23184
+ return {
23185
+ domain: 'Domain',
23186
+ endTime: 'EndTime',
23187
+ maxQps: 'MaxQps',
23188
+ startTime: 'StartTime',
23189
+ };
23190
+ }
23191
+
23192
+ static types(): { [key: string]: any } {
23193
+ return {
23194
+ domain: 'string',
23195
+ endTime: 'number',
23196
+ maxQps: 'number',
23197
+ startTime: 'number',
23198
+ };
23199
+ }
23200
+
23201
+ constructor(map?: { [key: string]: any }) {
23202
+ super(map);
23203
+ }
23204
+ }
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
+ /**
22494
23255
  * @example
22495
- * 1560312900
23256
+ * 471755
22496
23257
  */
22497
- startTime?: number;
23258
+ pv?: number;
22498
23259
  static names(): { [key: string]: string } {
22499
23260
  return {
22500
23261
  domain: 'Domain',
22501
- endTime: 'EndTime',
22502
- maxQps: 'MaxQps',
22503
- startTime: 'StartTime',
23262
+ h2Fingerprint: 'H2Fingerprint',
23263
+ pv: 'Pv',
22504
23264
  };
22505
23265
  }
22506
23266
 
22507
23267
  static types(): { [key: string]: any } {
22508
23268
  return {
22509
23269
  domain: 'string',
22510
- endTime: 'number',
22511
- maxQps: 'number',
22512
- startTime: 'number',
23270
+ h2Fingerprint: 'string',
23271
+ pv: 'number',
22513
23272
  };
22514
23273
  }
22515
23274
 
@@ -23211,6 +23970,154 @@ export class DescribeDomainTopAttackListResponseBodyAttackList extends $tea.Mode
23211
23970
  }
23212
23971
  }
23213
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
+
23214
24121
  export class DescribeDomainViewSourceCountriesResponseBodySourceCountrys extends $tea.Model {
23215
24122
  /**
23216
24123
  * @remarks
@@ -31966,34 +32873,154 @@ export default class Client extends OpenApi {
31966
32873
  * @remarks
31967
32874
  * > This operation is suitable only for Anti-DDoS Premium.
31968
32875
  *
31969
- * @param request - DescribeDefenseRecordsRequest
31970
- * @returns DescribeDefenseRecordsResponse
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",
32981
+ version: "2020-01-01",
32982
+ protocol: "HTTPS",
32983
+ pathname: "/",
32984
+ method: "POST",
32985
+ authType: "AK",
32986
+ style: "RPC",
32987
+ reqBodyType: "formData",
32988
+ bodyType: "json",
32989
+ });
32990
+ return $tea.cast<DescribeDomainAttackEventsResponse>(await this.callApi(params, req, runtime), new DescribeDomainAttackEventsResponse({}));
32991
+ }
32992
+
32993
+ /**
32994
+ * Queries the attack events launched against a website.
32995
+ *
32996
+ * @param request - DescribeDomainAttackEventsRequest
32997
+ * @returns DescribeDomainAttackEventsResponse
31971
32998
  */
31972
- async describeDefenseRecords(request: DescribeDefenseRecordsRequest): Promise<DescribeDefenseRecordsResponse> {
32999
+ async describeDomainAttackEvents(request: DescribeDomainAttackEventsRequest): Promise<DescribeDomainAttackEventsResponse> {
31973
33000
  let runtime = new $Util.RuntimeOptions({ });
31974
- return await this.describeDefenseRecordsWithOptions(request, runtime);
33001
+ return await this.describeDomainAttackEventsWithOptions(request, runtime);
31975
33002
  }
31976
33003
 
31977
33004
  /**
31978
- * Queries the number of request packets received by the destination ports of the attacked IP address that is protected by Anti-DDoS Proxy.
33005
+ * 查询域名业务带宽流量
31979
33006
  *
31980
- * @param request - DescribeDestinationPortEventRequest
33007
+ * @param request - DescribeDomainBpsRequest
31981
33008
  * @param runtime - runtime options for this request RuntimeOptions
31982
- * @returns DescribeDestinationPortEventResponse
33009
+ * @returns DescribeDomainBpsResponse
31983
33010
  */
31984
- async describeDestinationPortEventWithOptions(request: DescribeDestinationPortEventRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDestinationPortEventResponse> {
33011
+ async describeDomainBpsWithOptions(request: DescribeDomainBpsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDomainBpsResponse> {
31985
33012
  Util.validateModel(request);
31986
33013
  let query = { };
31987
- if (!Util.isUnset(request.eventType)) {
31988
- query["EventType"] = request.eventType;
33014
+ if (!Util.isUnset(request.domain)) {
33015
+ query["Domain"] = request.domain;
31989
33016
  }
31990
33017
 
31991
- if (!Util.isUnset(request.ip)) {
31992
- query["Ip"] = request.ip;
33018
+ if (!Util.isUnset(request.endTime)) {
33019
+ query["EndTime"] = request.endTime;
31993
33020
  }
31994
33021
 
31995
- if (!Util.isUnset(request.range)) {
31996
- query["Range"] = request.range;
33022
+ if (!Util.isUnset(request.interval)) {
33023
+ query["Interval"] = request.interval;
31997
33024
  }
31998
33025
 
31999
33026
  if (!Util.isUnset(request.region)) {
@@ -32008,7 +33035,7 @@ export default class Client extends OpenApi {
32008
33035
  query: OpenApiUtil.query(query),
32009
33036
  });
32010
33037
  let params = new $OpenApi.Params({
32011
- action: "DescribeDestinationPortEvent",
33038
+ action: "DescribeDomainBps",
32012
33039
  version: "2020-01-01",
32013
33040
  protocol: "HTTPS",
32014
33041
  pathname: "/",
@@ -32018,28 +33045,28 @@ export default class Client extends OpenApi {
32018
33045
  reqBodyType: "formData",
32019
33046
  bodyType: "json",
32020
33047
  });
32021
- 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({}));
32022
33049
  }
32023
33050
 
32024
33051
  /**
32025
- * Queries the number of request packets received by the destination ports of the attacked IP address that is protected by Anti-DDoS Proxy.
33052
+ * 查询域名业务带宽流量
32026
33053
  *
32027
- * @param request - DescribeDestinationPortEventRequest
32028
- * @returns DescribeDestinationPortEventResponse
33054
+ * @param request - DescribeDomainBpsRequest
33055
+ * @returns DescribeDomainBpsResponse
32029
33056
  */
32030
- async describeDestinationPortEvent(request: DescribeDestinationPortEventRequest): Promise<DescribeDestinationPortEventResponse> {
33057
+ async describeDomainBps(request: DescribeDomainBpsRequest): Promise<DescribeDomainBpsResponse> {
32031
33058
  let runtime = new $Util.RuntimeOptions({ });
32032
- return await this.describeDestinationPortEventWithOptions(request, runtime);
33059
+ return await this.describeDomainBpsWithOptions(request, runtime);
32033
33060
  }
32034
33061
 
32035
33062
  /**
32036
- * Queries the attack events launched against a website.
33063
+ * 查询HTTP2指纹
32037
33064
  *
32038
- * @param request - DescribeDomainAttackEventsRequest
33065
+ * @param request - DescribeDomainH2FingerprintRequest
32039
33066
  * @param runtime - runtime options for this request RuntimeOptions
32040
- * @returns DescribeDomainAttackEventsResponse
33067
+ * @returns DescribeDomainH2FingerprintResponse
32041
33068
  */
32042
- async describeDomainAttackEventsWithOptions(request: DescribeDomainAttackEventsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDomainAttackEventsResponse> {
33069
+ async describeDomainH2FingerprintWithOptions(request: DescribeDomainH2FingerprintRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDomainH2FingerprintResponse> {
32043
33070
  Util.validateModel(request);
32044
33071
  let query = { };
32045
33072
  if (!Util.isUnset(request.domain)) {
@@ -32050,16 +33077,8 @@ export default class Client extends OpenApi {
32050
33077
  query["EndTime"] = request.endTime;
32051
33078
  }
32052
33079
 
32053
- if (!Util.isUnset(request.pageNumber)) {
32054
- query["PageNumber"] = request.pageNumber;
32055
- }
32056
-
32057
- if (!Util.isUnset(request.pageSize)) {
32058
- query["PageSize"] = request.pageSize;
32059
- }
32060
-
32061
- if (!Util.isUnset(request.resourceGroupId)) {
32062
- query["ResourceGroupId"] = request.resourceGroupId;
33080
+ if (!Util.isUnset(request.limit)) {
33081
+ query["Limit"] = request.limit;
32063
33082
  }
32064
33083
 
32065
33084
  if (!Util.isUnset(request.startTime)) {
@@ -32070,7 +33089,7 @@ export default class Client extends OpenApi {
32070
33089
  query: OpenApiUtil.query(query),
32071
33090
  });
32072
33091
  let params = new $OpenApi.Params({
32073
- action: "DescribeDomainAttackEvents",
33092
+ action: "DescribeDomainH2Fingerprint",
32074
33093
  version: "2020-01-01",
32075
33094
  protocol: "HTTPS",
32076
33095
  pathname: "/",
@@ -32080,18 +33099,18 @@ export default class Client extends OpenApi {
32080
33099
  reqBodyType: "formData",
32081
33100
  bodyType: "json",
32082
33101
  });
32083
- 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({}));
32084
33103
  }
32085
33104
 
32086
33105
  /**
32087
- * Queries the attack events launched against a website.
33106
+ * 查询HTTP2指纹
32088
33107
  *
32089
- * @param request - DescribeDomainAttackEventsRequest
32090
- * @returns DescribeDomainAttackEventsResponse
33108
+ * @param request - DescribeDomainH2FingerprintRequest
33109
+ * @returns DescribeDomainH2FingerprintResponse
32091
33110
  */
32092
- async describeDomainAttackEvents(request: DescribeDomainAttackEventsRequest): Promise<DescribeDomainAttackEventsResponse> {
33111
+ async describeDomainH2Fingerprint(request: DescribeDomainH2FingerprintRequest): Promise<DescribeDomainH2FingerprintResponse> {
32093
33112
  let runtime = new $Util.RuntimeOptions({ });
32094
- return await this.describeDomainAttackEventsWithOptions(request, runtime);
33113
+ return await this.describeDomainH2FingerprintWithOptions(request, runtime);
32095
33114
  }
32096
33115
 
32097
33116
  /**
@@ -32484,6 +33503,242 @@ export default class Client extends OpenApi {
32484
33503
  return await this.describeDomainTopAttackListWithOptions(request, runtime);
32485
33504
  }
32486
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
+
32487
33742
  /**
32488
33743
  * Queries the areas and countries from which requests are sent to a website within a specified period of time.
32489
33744
  *
@@ -32755,10 +34010,10 @@ export default class Client extends OpenApi {
32755
34010
  }
32756
34011
 
32757
34012
  /**
32758
- * 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.
32759
34014
  *
32760
34015
  * @remarks
32761
- * > This operation is suitable only for Anti-DDoS Pro.
34016
+ * > This operation is suitable only for Anti-DDoS Proxy (Chinese Mainland).
32762
34017
  *
32763
34018
  * @param request - DescribeElasticBandwidthSpecRequest
32764
34019
  * @param runtime - runtime options for this request RuntimeOptions
@@ -32789,10 +34044,10 @@ export default class Client extends OpenApi {
32789
34044
  }
32790
34045
 
32791
34046
  /**
32792
- * 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.
32793
34048
  *
32794
34049
  * @remarks
32795
- * > This operation is suitable only for Anti-DDoS Pro.
34050
+ * > This operation is suitable only for Anti-DDoS Proxy (Chinese Mainland).
32796
34051
  *
32797
34052
  * @param request - DescribeElasticBandwidthSpecRequest
32798
34053
  * @returns DescribeElasticBandwidthSpecResponse
@@ -35215,10 +36470,10 @@ export default class Client extends OpenApi {
35215
36470
  }
35216
36471
 
35217
36472
  /**
35218
- * 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.
35219
36474
  *
35220
36475
  * @remarks
35221
- * > This operation is suitable only for Anti-DDoS Pro.
36476
+ * > This operation is suitable only for Anti-DDoS Proxy (Chinese Mainland).
35222
36477
  *
35223
36478
  * @param request - DescribeUnBlockCountRequest
35224
36479
  * @param runtime - runtime options for this request RuntimeOptions
@@ -35249,10 +36504,10 @@ export default class Client extends OpenApi {
35249
36504
  }
35250
36505
 
35251
36506
  /**
35252
- * 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.
35253
36508
  *
35254
36509
  * @remarks
35255
- * > This operation is suitable only for Anti-DDoS Pro.
36510
+ * > This operation is suitable only for Anti-DDoS Proxy (Chinese Mainland).
35256
36511
  *
35257
36512
  * @param request - DescribeUnBlockCountRequest
35258
36513
  * @returns DescribeUnBlockCountResponse