Mengkueri jumlah Peristiwa Insights untuk akun saat ini.
Coba sekarang
Test
RAM authorization
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| Date |
string |
No |
Tanggal yang akan dikueri. Formatnya adalah |
2026-01-07 |
| EndTime |
string |
No |
Akhir pengatur waktu yang akan dikueri. Tentukan waktu dalam standar ISO 8601 dengan format Catatan
|
2026-01-07T06:00:00Z |
| StartTime |
string |
No |
Awal pengatur waktu yang akan dikueri. Tentukan waktu dalam standar ISO 8601 dengan format |
2025-12-01T02:00:00Z |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| Data |
array<object> |
The information about the Insights events. |
|
|
object |
The information about the Insights event. |
||
| Count |
integer |
The number of Insights events. |
3 |
| InsightType |
string |
The type of the Insights event. Valid values:
|
IpInsight |
| RegionId |
string |
The region ID. |
cn-hangzhou |
| NextToken |
string |
The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of |
VjE6bHJlTGoxdm1M**** |
| RequestId |
string |
The request ID. |
4ABAEA6E-C740-5CE2-A003-643E5519**** |
Contoh
Respons sukses
JSONformat
{
"Data": [
{
"Count": 3,
"InsightType": "IpInsight",
"RegionId": "cn-hangzhou"
}
],
"NextToken": "VjE6bHJlTGoxdm1M****",
"RequestId": "4ABAEA6E-C740-5CE2-A003-643E5519****"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidTimeRangeException | The end time must be later than the start time. The time span cannot exceed 30 days. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.