Queries DDoS network-layer BPS and PPS data for a specified site.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
esa:DescribeDDoSBpsList |
get |
*Site
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| StartTime |
string |
Yes |
Start time of the query range. Format: yyyy-MM-ddTHH:mm:ssZ (ISO 8601, UTC+0). |
2023-05-14T17:00:00Z |
| EndTime |
string |
No |
End time of the query range. Format: yyyy-MM-ddTHH:mm:ssZ (ISO 8601, UTC+0). Must be later than StartTime. Maximum span: 31 days. |
2023-05-18T06:19:42Z |
| SiteId |
integer |
Yes |
Site ID. Call the ListSites operation to obtain this value. |
70966210986912 |
| Coverage |
string |
No |
Protection region. Defaults to global. Valid values:
Valid values:
|
global |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
Request ID. |
156A6B-677B1A-4297B7-9187B7-2B44792 |
| DataInterval |
integer |
Data granularity in seconds. Auto-determined by query range: under 1 hour = 60s, 1 hour to 1 day = 300s, 1 day to 1 week = 1800s, over 1 week = 3600s. |
300 |
| StartTime |
string |
Start time of the returned data. Format: YYYY-MM-DDThh:mm:ssZ (ISO 8601, UTC). |
2023-05-14T17:00:00Z |
| EndTime |
string |
End time of the returned data. Format: yyyy-MM-ddTHH:mm:ssZ (ISO 8601, UTC+0). Must be later than StartTime. Maximum span: 31 days. |
2023-05-18T06:19:42Z |
| DataModule |
array<object> |
Network bandwidth data per time interval. |
|
|
object |
Bandwidth data for a single time interval. |
||
| TotalBps |
integer |
Total bandwidth (bps). |
10000000000 |
| AttackBps |
integer |
Attack bandwidth (bps). |
9000000000 |
| NormalBps |
integer |
Normal traffic bandwidth (bps). |
1000000000 |
| TotalPps |
integer |
Total PPS. |
100000000 |
| AttackPps |
integer |
Attack PPS. |
9000000 |
| NormalPps |
integer |
Normal traffic PPS. |
1000000 |
| TimeStamp |
string |
Timestamp of this data point. Format: yyyy-MM-ddTHH:mm:ssZ (ISO 8601, UTC+0). |
2023-05-14T17:00:00Z |
Examples
Success response
JSON format
{
"RequestId": "156A6B-677B1A-4297B7-9187B7-2B44792",
"DataInterval": 300,
"StartTime": "2023-05-14T17:00:00Z\n",
"EndTime": "2023-05-18T06:19:42Z\n",
"DataModule": [
{
"TotalBps": 10000000000,
"AttackBps": 9000000000,
"NormalBps": 1000000000,
"TotalPps": 100000000,
"AttackPps": 9000000,
"NormalPps": 1000000,
"TimeStamp": "2023-05-14T17:00:00Z"
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | The specified parameter is invalid. | The specified parameter is invalid. |
| 500 | InternalError | Failed to call the service. Try again later or contact technical support. | Failed to call the service. Try again later or contact technical support. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.