All Products
Search
Document Center

ActionTrail:EnableInsight

Last Updated:Jul 24, 2024

Enables the Insights feature

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
InsightTypestringNo

The type of the Insights event. Valid values:

  • IpInsight: Insights event on IP address
  • ApiCallRateInsight: Insights event on API call rate
  • ApiErrorRateInsight: Insights event on API error rate
IpInsight

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The request ID.

45AA79B7-0240-52AB-B158-3F9A512228ED

Examples

Sample success responses

JSONformat

{
  "RequestId": "45AA79B7-0240-52AB-B158-3F9A512228ED"
}

Error codes

HTTP status codeError codeError message
400InsightTypeNotAvailableThe input insightType is not available

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history