All Products
Search
Document Center

ActionTrail:GetInsightsEventsCount

Last Updated:Jun 10, 2026

Mengkueri jumlah Peristiwa Insights untuk akun saat ini.

Coba sekarang

Coba API ini di OpenAPI Explorer tanpa perlu penandatanganan manual. Panggilan yang berhasil akan secara otomatis menghasilkan contoh kode SDK sesuai dengan parameter Anda. Unduh kode tersebut dengan kredensial bawaan yang aman untuk penggunaan lokal.

Test

RAM authorization

Tidak ada otorisasi untuk operasi ini. Jika Anda mengalami masalah saat menjalankan operasi ini, hubungi dukungan teknis.

Parameter permintaan

Parameter

Type

Required

Description

Example

Date

string

No

Tanggal yang akan dikueri. Formatnya adalah yyyy-MM-dd.

2026-01-07

EndTime

string

No

Akhir pengatur waktu yang akan dikueri. Tentukan waktu dalam standar ISO 8601 dengan format yyyy-MM-ddTHH:mm:ssZ. Waktu harus dalam UTC.

Catatan
    • Jika Date, StartTime, dan EndTime semuanya dibiarkan kosong, sistem mengkueri jumlah event dalam 24 jam terakhir.

    • Jika Date ditentukan, parameter StartTime dan EndTime diabaikan. Sistem mengkueri jumlah event pada tanggal yang ditentukan.

    • Jika Date dibiarkan kosong dan baik StartTime maupun EndTime ditentukan, sistem mengkueri jumlah event dalam pengatur waktu yang ditentukan.

2026-01-07T06:00:00Z

StartTime

string

No

Awal pengatur waktu yang akan dikueri. Tentukan waktu dalam standar ISO 8601 dengan format yyyy-MM-ddTHH:mm:ssZ. Waktu harus dalam UTC.

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: IP request events.

  • ApiCallRateInsight: High-risk API call events.

  • ApiErrorRateInsight: API error events.

  • AkInsight: AccessKey pair call events.

  • PolicyChangeInsight: Permission change events.

  • PasswordChangeInsight: Password change events.

  • TrailConcealmentInsight: Trail concealment events.

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 NextToken.

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.